1. Introduction
With the increasing shortage of oil resources and increasingly serious environmental problems, new energy vehicles have been rapidly developed around the world. As the core of new energy vehicles, the motor-drive control system provides all the driving force for the vehicle and ensures the power and smoothability of the vehicle during the driving process. Its role is equivalent to that of the traditional car engine, which directly affects the performance of the whole vehicle [
1].
The permanent-magnet brushless direct-current (DC) motor has the advantages of simple structure, strong reliability, wide working-speed range, considerable operating efficiency, etc., and can be used in the drive system of new energy vehicles or other auxiliary equipment [
2,
3,
4]. In the control of permanent-magnet brushless DC motor, the two-phase conduction mode is usually adopted. According to the position of the rotor permanent-magnet magnetic field, the conduction sequence of the three-phase winding is controlled to realize the control of the speed. Therefore, it is very important to detect the rotor position of the permanent-magnet brushless DC motor.
The permanent-magnet brushless-DC-motor rotor-position sensor generally uses three bipolar latched Hall position sensors to detect the rotor magnetic field. It has low cost and reliable operation, and the output is a 3-bit digital signal that is not susceptible to interference. The control system outputs six different three-level combined signals according to the Hall sensor, which can determine the position of the rotor magnetic field. However, this rotor-position detection method is generally not accurate enough. The bipolar Hall position sensor has a hysteresis interval, and the time of the two Hall level-change intervals is inconsistent. On the other hand, there are individual differences between the welding position of the circuit board and the installation position of the motor. Due to the hysteresis characteristics of the Hall position sensor, there is a large inconsistency between the Hall position signal of the forward rotation and the reverse rotation of the motor, so it is necessary to correct and compensate the position signal of the Hall position sensor.
At present, the rotor-position detection methods of the permanent-magnet brushless motor without a position sensor mainly include the back-electromotive-force method (EMF) [
5,
6,
7], the flux-estimation method [
8,
9], the freewheeling switch-device current detection method [
10], the third-harmonic method [
11], and the observer method [
12,
13,
14,
15,
16]. The sensorless-control technology of the brushless DC motor has not yet reached a very mature stage, especially in the initial start-up under the static state. The detected position information of the rotor has a large error, which can easily cause torque pulses, starting current fluctuations, and even out-of-step phenomena in serious cases. In the high-speed state, there will also be a commutation lag or lead deviation, so most of the sensorless-control technology cannot guarantee the stable operation of the motor in the full speed range. Therefore, it is a subject with practical application value to study and improve the compensation correction control method of the Hall sensor.
Research on rotor-position detection technology based on the Hall position sensor mainly includes: the estimation method of rotational speed and position in the Hall sensor [
17], the fault diagnosis and correction method of the Hall sensor [
18], and the design of a fault-tolerant control strategy [
19,
20]. In the literature [
21], an extended finite-state machine for motor operation is established, and then a real-time Hall sensor fault-diagnosis strategy combining the extended finite-state machine (EFSM) and the super-twisting algorithm (STA) speed observers is designed. Finally, a new Hall signal compensation strategy is proposed based on the previous two. The literature [
22] first proposed a simple method to estimate the commutation error in order to solve the problem of bias in both advance and delay commutation cases, and finally compensated the second-half period by estimating the bias of the first-half period in a periodic Hall signal. The literature [
23] proposed a neural-network framework based on convolutional neural network and long short-term memory (CNN-LSTM) and designed the fault-detection and signal-recovery strategy of the Hall sensor by using the sequence output of the Hall sensor for training. The proposed strategy has a high accuracy in predicting faults.
In this paper, the application principle of the Hall sensor to detect the rotor-position and the cause of the error is described. The expressions of the non-commutation phase current in three states are analyzed. The correction idea of the new closed-loop control strategy in the commutation process is explained, and the implementation scheme of the commutation correction strategy is designed. Aiming at the problem that the detection error of the Hall sensor of the brushless DC motor leads to the advance or lag of the commutation, a new method of correcting the commutation signal error is proposed. The 30° electrical-angle position before and after the commutation point is the H point, and the current in the 30° interval around the H point is called the target. A proportional-integral (PI) regulator is designed to correct the phase error of the commutation signal by taking the sum of the tangent slopes of the two points in the left and right symmetrical β (0 < β < 30) electrical angle of the H point as the deviation. Finally, the effectiveness of the strategy is verified by experiments.
3. Phase-Current Analysis in Motor Commutation Process
In this paper, the commutation process from B-C+ to B-A+ is analyzed. PWM chopper control is generally divided into three states: conduction, freewheeling, and commutation. When analyzing the phase current in the commutation process, the three states are divided into two stages: the instantaneous commutation stage and the final conduction stage. The instantaneous commutation stage includes the conduction state and the freewheeling state. When the freewheeling of the off phase is completely reduced to zero, it enters the final conduction stage.
3.1. Analysis of Current Characteristics in Real-Time Commutation
3.1.1. Current Analysis of Instantaneous Commutation Phase during Real-Time Commutation
In the converter phase of real-time commutation,
and
in
Figure 1 are switched on with the continuous current diode
, and the circuit equivalent diagram is shown in
Figure 4.
At this time, the three-phase voltage equation is:
where
,
is the internal resistance of the switching device, and we write
and
in Equation (1), simplified and unified, as
. Since this paper analyzes the sinusoidal counter-electromotive force, the counter-electromotive force equation is as follows:
where
represents the peak value of back-electromotive force,
represents the angular velocity of the motor. The commutation stage is located in the interval of 30° to 90° in
Figure 2. Because the duration of the commutation stage is very short, the value of the three-phase back-electromotive force can be calculated. The back-electromotive force of each winding phase at the beginning of this interval is
,
, and then
, and the Equation (2) is simplified:
Equation (4) is converted to the three-phase-current equation as:
By solving this three-phase-current equation, the solution for the three-phase current is obtained as:
where
represents the interval of 0°–360° in
Figure 2; that is, the time for the motor to rotate one week;
represents the time constant of the motor,
;
represents the magnitude of the initial current of the B and C phases at the beginning of the commutation phase.
After the end of the continuous flow of the C phase, it will decay to zero. At this time, the next stage is started, and the solution is obtained by
:
where
is the duration of freewheeling;
is the current of phase A and phase B at the end of freewheeling; Since the time constant
is very small and close to zero, the freewheeling time
can be ignored. In the calculation and analysis of motor performance, ignoring the transient process of freewheeling usually does not have a significant impact on the results.
3.1.2. Current Analysis of the Final Conduction Phase during Real-Time Commutation
The equivalent circuit diagram of the final conduction stage is shown in
Figure 5:
At this time,
and
are turned on, and the voltage equation is as follows:
According to Equation (3):
In the conduction phase, according to
, combined with Equations (9) and (10), the non-commutation phase-current equation in the conduction phase is obtained as follows:
By solving Equation (11), we can get:
where
represents the impedance angle,
, since the time constant
can be ignored, the attenuation term in Equation (12) decayed quickly, which can be simplified to:
When time
t approaches the final moment of the commutation process, the current of phase B approaches
, so it can be obtained by
:
Similarly, at C+B-conduction, the expression for the non-commutative phase current
is obtained as:
By observing the simplified current waveform formula, it can be found that, due to the influence of sinusoidal back-electromotive force, the steady-state component has a cosine term, which leads to the increase of the impedance angle of the permanent-magnet brushless DC motor when the speed is too large, resulting in the increase of the proportion of the cosine term to the whole current formula. In the actual operation process, the current fluctuation will also increase. On the contrary, when the speed is small, the current fluctuation is small.
3.2. Current Analysis of Phase Commutation Process at Leading and Lagging a Angles
According to the above analysis, in the commutation process, the continuous flow duration of the off phase is quite short, so in the analysis of this section, the continuous flow process is ignored, and only the lead and lag correction of the final conduction stage is analyzed.
Figure 6 shows the actual current waveform obtained by MATLAB simulation after Equation (12) is simplified and the corresponding parameters are brought in. Among them, the three dashed lines represent the three-phase sine wave back electromotive force waveform, and the black solid lines represent the current waveform. By observing the phase-current conduction interval in
Figure 6, it can be found that the current amplitude before and after the 30° and 210° commutation points is equal; that is, take any two symmetric points within the 60° conduction interval about the commutation point, and the slopes of the tangent lines at the two points are negative to each other.
However, in the actual commutation process, due to the existence of winding inductance, the air gap being too large, the impedance angle being too large, and other reasons, the off phase and the on phase will not be synchronized to complete the commutation, and the rotor position will not be synchronized with the current commutation, which will lead and lag commutation.
3.2.1. Analysis of Current Characteristics in Advance Commutation
When leading
, the current is commutated in advance before the rotor reaches the specified position. At this time, the line back-electromotive force
is:
Equations (16) and (9) are combined to obtain the current equation of phase B as follows:
Solving the current equation gives:
Since the time constant
is small and close to zero, Equation (18) can be simplified to:
Figure 7 shows the current waveform of phase B after the advance commutation
angle. It can be observed from the figure that the current amplitude is the largest at the beginning of the conduction interval after the ideal commutation point, and gradually decreases. This is because the current is commutated at the ideal
Angle position of the rotor in advance, resulting in the rotor magnetic field synchronizing with the current commutation in advance when the ideal commutation point arrives. When
, the larger the lead angle, the more obvious the current fluctuation. In addition, in the 60° conduction interval before and after the commutation point, the slope of the tangent line of each point of the current curve gradually increases, and the symmetry is not maintained.
3.2.2. Analysis of Current Characteristics during Hysteresis Commutation
When the lag
, the current has delayed commutation when the rotor has reached the ideal position. At this time, the line back-electromotive force
is:
Similar to the derivation of the current equation in advance commutation, the B-phase current is obtained as follows:
Since the time constant
is small and close to zero, Equation (21) can be simplified to:
Figure 8 shows the current waveform of phase B after the lag-commutation
Angle. It can be observed from the figure that the current amplitude reaches the maximum at the end of the conduction interval before the ideal commutation point, and gradually increases after passing the ideal commutation point. This is because the current lags behind the ideal
Angle rotor position for commutation, resulting in the rotor magnetic field taking some time to synchronize with the current commutation when the ideal commutation point arrives. With the arrival of synchronization between the two, the voltage difference at this time is large, so the amplitude is large. When
, the larger the hysteresis angle, the more obvious the current fluctuation. In addition, in the 60° conduction interval before and after the commutation point, the slope of the tangent line of each point of the current curve gradually decreases, and the symmetry is not maintained.
5. Experimental Verification and Analysis
On the basis of the above analysis, to build an experimental platform, the control circuit board uses TI’s DSP TMS320LF28335 control chip; the experimental platform and control circuit board are shown in
Figure 11.
In the course of the experiment, the software code debugging is used to realize the phenomenon of leading and lagging when the motor is working. However, in the actual operation of the motor, no software is used to control the commutation-point delay, and the general waveform of the motor is lagging due to the delay effect of various system factors. In contrast, the advance commutation is difficult to observe; due to the influence of various factors, such as motor parameter fluctuations and control signal interference, it is difficult to ensure that the control system has enough accuracy and stability to achieve the advance commutation. In this paper, the phase-current waveform of advance commutation is measured by the prototype as much as possible by compensating the existing delay.
Figure 12 and
Figure 13 are the actual signal waveforms of the three-phase current in advance commutation and hysteresis commutation, respectively. It can be seen from
Figure 12 and
Figure 13 that the experimental waveform is consistent with the theoretical analysis: the mean value of the continuous current is the largest at the beginning of the conduction interval after the commutation point, and the mean value of the continuous current in the conduction interval gradually decreases, and the tangent slope at the symmetric two points of H point in each conduction interval is also unequal. When the delay occurs, the mean value of the continuous current reaches the maximum at the end of the conduction interval before the commutation point, and the mean value of the continuous current in the conduction interval gradually increases. Similarly, the slopes of the tangent lines at the symmetric two points about the H point in each conduction interval are also not equal.
Figure 14 shows the measured three-phase-current waveform after adopting the correction control method proposed in this paper. As can be seen from
Figure 14, after the control correction method proposed in this paper is adopted, the phase current in each on–off interval tends to be stable, and the sum of the tangent slopes of the two points at the assumed symmetry around point H is close to zero, close to the current waveform under the ideal state analyzed above, and the position error is significantly compensated.
When the motor speed is close to 2000 r/min, the operation efficiency curves of three commutation conditions under different torques are shown in
Figure 15. When the torque is low, the motor is less affected by the disturbance, so the operation efficiency of the motor is close to that of the motor in advance commutation. When the torque is high, the operation efficiency of the motor decreases obviously under the condition of delayed commutation and advanced commutation. This is because the loss caused by error increases under the condition of high speed, and the operation efficiency of the motor corrected by the compensation strategy is obviously improved. In general, the new closed-loop correction strategy proposed in this paper can reduce the errors in commutation and improve the operation efficiency of the motor.
7. Discussion
According to the diagram analysis of the experimental results, the current waveform in the case of advanced commutation tested in
Figure 12 is not very close to the leading-current waveform in the ideal state analyzed above. In the process of actual debugging code, advance commutation is realized by actively changing the commutation time of the motor. However, due to the hysteresis characteristic of the motor itself and other factors, this part has defects and needs to be further improved.
This paper focuses on the feasibility and generality of the proposed correction method based on current symmetry. The choice of control method and controller can also be varied. First of all, the controller chosen in this paper is a pi regulator. Although the final experiment verifies that the efficiency of the motor has been improved, if it is replaced with a more advanced controller, such as observer control, fuzzy logic, or adaptive control, it can not only advance the mainstream research direction, but also improve the operating efficiency of the motor more significantly. Secondly, in the control method, after the error is described by the Hall position sensor, in the actual control process, the Hall sensor only plays the role of calculating the motor speed, so the method without the position sensor can be selected to participate in the control of the motor. These questions will be the main focus in the next step of this work.