Next Article in Journal
Catalytic Degradation of Tetracycline Hydrochloride by Coupled UV−Peroxydisulfate System: Efficiency, Stability and Mechanism
Next Article in Special Issue
T-S Fuzzy Algorithm Optimized by Genetic Algorithm for Dry Fermentation pH Control
Previous Article in Journal
Residence Time Section Evaluation and Feasibility Studies for One-Column Simulated Moving Bed Processes (1-SMB)
Previous Article in Special Issue
Anti-Overturning Capability and Fuzzy PID Speed Control for Four-Way Shuttle Vehicles in Processed Grain Storage
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Study on a Second-Order Adaptive Sliding-Mode Observer Control Algorithm for the Sensorless Permanent Magnet Synchronous Motor

Faculty of Transportation Engineering, Kunming University of Science and Technology, Kunming 650504, China
*
Author to whom correspondence should be addressed.
Processes 2023, 11(6), 1636; https://doi.org/10.3390/pr11061636
Submission received: 25 April 2023 / Revised: 24 May 2023 / Accepted: 25 May 2023 / Published: 26 May 2023
(This article belongs to the Special Issue Advances in Nonlinear and Stochastic System Control)

Abstract

:
The control of a permanent magnet synchronous motor (PMSM) without a position sensor based on a sliding-mode observer (SMO) algorithm has a serious jitter problem in the process of motor phase tracking. A second-order adaptive sliding-mode observer algorithm was proposed, and the ideas and principles of the second-order sliding-mode observer algorithm based on the super-twisting algorithm were elaborated. In particular, adaptive estimation with the introduction of back-electromotive force (EMF) was investigated, and the Lyapunov stability criterion was used to determine the convergence properties of the algorithm. The results showed that the second-order adaptive sliding-mode observer algorithm had better jitter suppression and a better phase tracking performance than the traditional sliding-mode observer algorithm. The experimental results showed that when the motor velocity was 800 r/min, the velocity error of the second-order adaptive sliding-mode observer algorithm was 0.57 r/min and the position error was 0.018 rad, with accuracy improvements of 93.63% and 58.34%, respectively. When the motor velocity was 1000 r/min, the velocity error of the second-order adaptive sliding-mode observer algorithm was 0.94 r/min and the position error was 0.022 rad, with accuracy improvements of 90.55% and 55.10%, respectively. The jitter of the system was suppressed well, the curve of back-EMF was smoother, and the robustness of the system was high. Therefore, the second-order adaptive sliding-mode observer algorithm is more suitable for the position-sensorless control of a PMSM.

1. Introduction

Energy is an important basis for the stable development of countries around the world and an important guarantee for social progress, so the problem of energy scarcity is gaining more and more attention. Compared with other energy sources, electricity is a reliable and clean energy source that is easy to mechanize and automate. Therefore, in order to meet the requirements of sustainable development, a large number of fields such as industry, agriculture, and automobiles have started to apply motors to provide power, and the requirements for motor control performance have become increasingly high [1,2,3,4,5,6]. Among the many types of motors, the permanent magnet synchronous motor (PMSM) is known for its simplicity, small size, light weight, high power factor, and high efficiency [7,8,9,10]. The accurate acquisition of the motor rotor position and velocity is the key to realize motor control. In practical applications, the position-sensor control of a PMSM often requires mechanical sensors, such as electromagnetic sensors and photoelectric encoders, to provide the velocity and position information of the motor rotor [11,12]. Such mechanical sensors are expensive and susceptible to interference from the external environment, resulting in low reliability, which limits their application in PMSM control systems. Therefore, the control technology of PMSMs without position sensors has become a hot spot for research and development [13,14,15,16].
Currently, the main position-sensorless control algorithms of PMSMs are the high-frequency signal injection method [17,18], the extended Kalman filter method [19,20], the sliding-mode observer (SMO) method [21,22], the model reference adaptive method [23,24], etc. Among them, the high-frequency signal injection method is not sensitive to changes in motor parameters and can accurately estimate the position at zero or low velocity. However, this method requires additional excitation signals, so the circuit structure is complex and difficult to implement. The extended Kalman filter method has a strong adaptive ability and does not depend on the motor parameters, but it requires a lot of experiments to obtain the ideal control effect. The model reference adaptive method has a simple structure and excellent dynamic and static responses, but the estimation accuracy is related to the selected reference model and is easily disturbed by parameter changes. An SMO is a nonlinear observer that requires low model accuracy in the control system. This method is insensitive to parameter changes and external disturbances and is robust and easy to implement in engineering. To summarize, we decided to study the SMO method. However, a sliding-mode observer will cause great jitter in a system and affect the estimation accuracy of the system. The main reason for jitter is that the state variables cannot move strictly according to the ideal sliding mode near the sliding-mode surface due to the symbolic function. Secondly, any actual physical system contains inertia, which leads to a delay between the control action and the state change. In addition, the ideal sliding mode is realized in continuous systems, but in practical applications the control system is established in a discrete system, so there will be some deviation between the two, which will affect the stability of a sliding-mode observer and lead to jitter [25,26]. For this reason, a number of studies have been conducted on how to suppress the jitter of the SMO. Reference [27] proposed the use of a continuous function and a saturation function as control functions instead of the traditional symbolic function, but the system still used a low-pass filter, which caused phase delay and required additional phase compensation, increasing the calibration effort. Reference [28] proposed an algorithm combining a self-adapting complex-coefficient filter (SACCF) and a normalized phase-locked loop (PLL), which could effectively reduce the jitter of a system and had better dynamic performance, but there were still some high-frequency harmonics in the waveform of the back-EMF, leading to a reduction in estimation accuracy. Reference [29] proposed replacing the traditional switching function with a hyperbolic function with an appropriate boundary layer. Although this method reduced the jitter in the system and improved the tracking performance to a certain extent, the parameters were difficult to select and the debugging was too difficult.
A second-order adaptive SMO algorithm was proposed to address the problems of jitter and the low accuracy of the velocity and position estimation. The second-order SMO was designed according to the super-twisting algorithm, and the adaptive estimation of the back-EMF was introduced. Finally, the stability of the system was analyzed using the Lyapunov stability criterion, and the range of values of the parameters at the convergence of the algorithm was also given. The algorithm has the following obvious advantages: it can converge stably, and by hiding the symbolic function in the integral term, it can realize effective jitter suppression. In addition, the back-EMF is estimated by a self-adaptive closed-loop control after feeding back the electronic angular velocity of the motor, which results in a more accurate estimation of the rotor velocity and position. The data analysis results show that the algorithm is a reliable and effective position-sensorless control algorithm for PMSMs that can suppress the jitter caused by the traditional sliding-mode observer symbolic function and improve the accuracy of rotor velocity and rotor position estimation, while the system has high robustness.

2. Physical and Mathematical Model of a PMSM

It is assumed that the stator winding of the PMSM is Y-connected, the windings of the three phases are symmetrically distributed, the axes are 120° apart from each other, and the variation in other parameters in the motor are neglected (resistance and inductance of the windings, etc.). The physical model is shown in Figure 1. The stator windings X1X2, Y1Y2, and Z1Z2 are symmetrically installed in a circular space, with X1, Y1, and Z1 being the first ends of each winding and X2, Y2, and Z2 being the last ends. The first end outflow and the last end inflow are specified as the positive direction of the current. According to the right-hand screw rule, the direction of the magnetic field generated by each winding is specified as the positive direction of the axis of the winding. Then, using these three directions as the reference axes of the spatial coordinate axes, a three-phase stationary coordinate system named A B C is established. The counterclockwise direction is specified as the positive direction of the angle and angular velocity. In Figure 1, the two-phase stationary coordinate system α β is used to fix the α -axis and keep it stationary on the axis of the stator A-phase winding, while the β -axis is 90° ahead compared to the α -axis. The two-phase rotating coordinate system d q consists of the orthogonal d -axis and q -axis. The direction of the d -axis is the direction of the flux linkage of the permanent magnet, and the angle between the d -axis and the A -axis is θ . The coordinate transformation from A B C to α β is a Park transformation, and the transformation from α β to d q is a Clarke transformation. The algorithm proposed in this paper is based on the mathematical model in the α β coordinate system.
In the α β coordinate system, the current equation of the state for a surface-mounted three-phase PMSM is expressed as
d i α d t = R s L s i α + 1 L s u α 1 L s e α d i β d t = R s L s i β + 1 L s u β 1 L s e β
where R s is the resistance of the stator; u α , u β , i α , and i β are the voltage and current of the stator in the α β coordinate system, respectively; and e α and e β are the extended back-EMF, which is expressed using the following relation:
e α = ψ f ω e sin θ e e β = ψ f ω e cos θ e
where ω e and θ e are the electrical angular velocity and the electrical angle of the rotor, respectively, and ψ f is the flux linkage of the permanent magnet.
In addition, the differential equation of Equation (2) is satisfied as follows:
d e α d t = ω e ψ f ω e cos θ e = ω e e β d e β d t = ω e ψ f ω e sin θ e = ω e e α

3. Second-Order Adaptive Sliding-Mode Observer Algorithm

3.1. Design of Second-Order SMO

The super-twisting algorithm is expressed as [30]
x ˙ 1 = k 1 x 1 1 2 s i g n x 1 + x 2 + ρ 1 x ˙ 2 = k 2 s i g n x 1 + ρ 2
where k i is the sliding-mode gain, x i is the state variable of the system, and ρ i is the disturbance term of the system.
The super-twisting algorithm transfers the discontinuous high-frequency switching term k i s i g n x i in traditional sliding-mode control from x i to x ˙ i ; that is, k i s i g n x i no longer directly affects and controls x i but appears in the control law of the super-twisting second-order sliding-mode control in the form of time integration, thereby obtaining continuous control signals.
According to Equation (2), it is seen that the magnitude of the extended back-EMF is related to the angular velocity ( ω e ), the angle ( θ e ), and the flux linkage ( ψ f ), where ψ f is a fixed value; therefore, in order to obtain the velocity and position information of the rotor, the extended back-EMF should be obtained first. According to Equation (1), the sliding-mode observer is designed as follows:
d i ^ α d t = R s L s i ^ α + 1 L s u α 1 L s z α d i ^ β d t = R s L s i ^ β + 1 L s u β 1 L s z β
where z α and z β are the inputs of the sliding-mode observer and i ^ α and i ^ β are the observed values of the current.
Subtract Equation (1) from Equation (5), the error equation for the stator current is obtained:
d i ˜ α d t = R s L s i ˜ α 1 L s z α e α d i ˜ β d t = R s L s i ˜ β 1 L s z β e β
where i ˜ α = i ^ α i α and i ˜ β = i ^ β i β are the observed error of the stator current. Taking the main sliding-mode surface, s = i ˜ α i ˜ β T .
According to the constant reaching law, the sliding-mode control law is designed as:
z α = k α , 1 i ˜ α 1 2 s i g n i ˜ α + η α , 1 η ˙ α , 1 = k α , 2 s i g n i ˜ α z β = k β , 1 i ˜ β 1 2 s i g n i ˜ β + η β , 1 η ˙ β , 1 = k β , 2 s i g n i ˜ β
where k i , j is the sliding-mode observer gain; η ˙ α , 1 and η ˙ β , 1 are the observed values of the auxiliary sliding-mode surface; and s i g n i ˜ α and s i g n i ˜ β are symbolic functions that are satisfied as follows:
s i g n i ˜ α = 1 ,   i ˜ α 0 1 ,   i ˜ α < 0 s i g n i ˜ β = 1 ,   i ˜ β 0 1 ,   i ˜ β < 0
Taking Equation (7) into Equation (6), a new error equation for the stator current is obtained:
d i ˜ α d t = λ α , 1 i ˜ α 1 2 s i g n i ˜ α + η α + ρ α η ˙ α = λ α , 2 s i g n i ˜ α , ρ α = R s L s i ˜ α + 1 L s e α d i ˜ β d t = λ β , 1 i ˜ β 1 2 s i g n i ˜ β + η β + ρ β η ˙ β = λ β , 2 s i g n i ˜ β , ρ β = R s L s i ˜ β + 1 L s e β
where λ α , 1 = k α , 1 L s , λ α , 2 = k α , 2 L s , λ β , 1 = k β , 1 L s , and λ β , 2 = k β , 2 L s . Comparing Equations (4) and (9), ρ α and ρ β are the disturbance terms of the system. For δ 1 , δ 2 0 , ρ α and ρ β are satisfied according to the following relation:
ρ α δ 1 i ˜ α 1 2 ρ β δ 2 i ˜ β 1 2
When the system state reaches the sliding-mode surface, s = 0 , s ˙ = 0 , i.e., i ˜ α = i ˜ β = 0 and d i ˜ α d t = d i ˜ β d t = 0 . Taking them into Equation (6), at this time, z α and z β are equivalent to the extended back-EMF ( e α and e β ) and are expressed as
e α = z α = k α , 1 i ˜ α 1 2 s i g n i ˜ α + k α , 2 s i g n i ˜ α e β = z β = k β , 1 i ˜ β 1 2 s i g n i ˜ β + k β , 2 s i g n i ˜ β
A structural block diagram of the second-order sliding-mode observer algorithm is shown in Figure 2. First, according to Equation (5), the estimated values of the stator current ( i ^ α and i ^ β ) are obtained using the voltage of the stator ( u α and u β ) and the feedback values ( z α and z β ). Then, the difference is subtracted from the actual current values ( i α and i β ) collected by the circuit to obtain the observed error of the stator current ( i ˜ α and i ˜ β ). Finally, according to Equation (11), the observed error of the stator current is further processed to obtain z α and z β and the extended back-EMF ( e α and e β ). Then, z α and z β are fed back to the first step of the algorithm to realize closed-loop control.
The stability of the second-order SMO plays an important role in the application, so the Lyapunov function is adopted to verify the stability and the area of algorithm. The Lyapunov function is set as
V 0 = V α i ˜ α + V β i ˜ β = 2 λ α , 2 i ˜ α + 1 2 η α 2 + 1 2 λ α , 1 i ˜ α 1 2 s i g n i ˜ α η α 2 + 2 λ β , 2 i ˜ β + 1 2 η β 2 + 1 2 λ β , 1 i ˜ β 1 2 s i g n i ˜ β η β 2 = γ α T P α γ α + γ β T P β γ β
where
γ α γ β = i ˜ α 1 2 s i g n i ˜ α i ˜ β 1 2 s i g n i ˜ β   η α η β
P α = 1 2 4 λ α , 2 + λ α , 1 2 λ α , 1 λ α , 1 2
P β = 1 2 4 λ β , 2 + λ β , 1 2 λ β , 1 λ β , 1 2
The derivative of V 0 is given by
V ˙ 0 = 1 i ˜ α 1 2 γ α T Q α γ α 1 i ˜ β 1 2 γ β T Q β γ β
where
Q α = λ α , 1 2 2 λ α , 2 + λ α , 1 2 λ α , 1 λ α , 1 1
Q β = λ β , 1 2 2 λ β , 2 + λ β , 1 2 λ β , 1 λ β , 1 1
In Equation (12), V 0 is continuous, but it is not differentiable when i ˜ α = i ˜ β = 0 . When λ α , 1 , λ α , 2 , λ β , 1 , λ β , 2 > 0 , V 0 is positive and definite and V ˙ 0 is negative and definite. In this case, reference [31] amply demonstrated that a control system tends to stabilize if the disturbance term is globally bounded, i.e., Equation (10) holds, and the sliding-mode gain satisfies the following relation (19):
λ α , 1 > 2 δ 1 λ α , 2 > λ α , 1 5 δ 1 λ α , 1 + 4 δ 1 2 2 λ α , 1 2 δ 1 λ β , 1 > 2 δ 2 λ β , 2 > λ β , 1 5 δ 2 λ β , 1 + 4 δ 2 2 2 λ β , 1 2 δ 2

3.2. Adaptive Estimation of the Back-EMF

In the SMO algorithm, the jitter caused by the high-frequency harmonics is serious. In order to improve the estimation accuracy of the rotor position, reduce the high-frequency harmonics in the back-EMF, and make the back-EMF estimation smoother, a link of the adaptive estimation of the back-EMF is introduced. According to Equation (3), the adaptive law of the back-EMF is designed as
d e ^ α d t = ω ^ e e ^ β n e ˜ α d e ^ β d t = ω ^ e e ^ α n e ˜ β d ω ^ e d t = e ˜ α e ^ β e ^ α e ˜ β
where ω ^ e is the estimated value of the electrical angular velocity; e ^ α and e ^ β are the estimated values of the adaptive link; n is a positive constant; e ˜ α = e ^ α e α ; and e ˜ β = e ^ β e β .
Since the mechanical time constant is much longer than the electrical time constant during the rotation of the motor, the magnitude of the motor velocity can be considered to be constant during an estimated cycle, i.e., d ω e d t = 0 . Accordingly, subtract Equation (3) from Equation (20) to obtain:
d e ˜ α d t = ω ^ e e ^ β n e ˜ α + ω e e β d e ˜ β d t = ω ^ e e ^ α n e ˜ β ω e e α d ω ˜ e d t = e ˜ α e ^ β e ^ α e ˜ β
It is necessary to construct the Lyapunov function to verify the stability of the link of adaptive estimation. The Lyapunov function is constructed as
V 1 = 1 2 e ˜ α 2 + 1 2 e ˜ β 2 + 1 2 ω ˜ e 2
The derivative of V 1 is calculated as follows:
V ˙ 1 = e ˜ α e ˜ ˙ α + e ˜ β e ˜ ˙ β + ω ˜ e ω ˜ ˙ e = n e ˜ α 2 + e ˜ β 2 0
From Equations (22) and (23), a conclusion is reached. V 1 is positive and definite, and V ˙ 1 is negative and definite, which is consistent with Lyapunov’s stability theorem, so the algorithm is stable. Figure 3 below shows a structural block diagram of the link of adaptive estimation.

3.3. Calculation of Rotor Velocity and Position

Since the link of adaptive estimation of the back-EMF is adopted in the algorithm and the low-pass filter is not used, the problem of the phase delay caused by the filter is avoided, so the additional compensation of the electric angular velocity is not necessary. The estimated value of the electric angle ( θ ^ e ) and the estimated value of the electric angular velocity ( ω ^ e ) are calculated according to Equation (2):
θ ^ e = arctan e ^ α e ^ β ω ^ e = e ^ α 2 + e ^ β 2 ψ f
The structure of the designed second-order adaptive sliding-mode observer algorithm is shown in Figure 4.

4. Experiment Verification and Results Analysis

Based on a test bench, the second-order adaptive SMO algorithm was integrated into the basic software of the PMSM control system, whose basic structure block diagram is shown in Figure 5. Since the current on the d -axis did not contribute to the increase in torque, it was possible to set the current on the d -axis to 0 and only control the current on the q -axis in order to make maximum use of the current, i.e., using a method with a reference value of 0 for the i d ( i d * ). The control system contained the closed-loop velocity and the closed-loop current, and the new algorithm was designed to observe the rotor velocity and angle in real time when the motor rotates. The observed velocity ( ω ^ e ) was converted to r/min and differed from the given velocity ( N * ). The difference was calculated by the PI regulator of the closed-loop velocity as the reference current value ( i q * ) for the q -axis. Using the observed angle ( θ ^ e ), the sampled i a , i b , and i c were Clarke-transformed and Park-transformed to obtain i d and i q . Then, i d and i q differed from the reference currents i d * and i q * , respectively. The difference values were sent to the PI regulator to obtain u d and u q . Finally, u α and u β were input directly into the SVPWM module through the inverse Park transformation, and the six PWM signals for inverter control were generated to drive the motor. The main parameters of the PMSM are shown in Table 1.
The working conditions were i d * = 0 ; DC-side voltage: U d c = 311 V ; sliding-mode observer gain: k α , 1 = k β , 1 = 600 and k α , 2 = k β , 2 = 10 ; and the parameters in the adaptive law of the back-EMF: n = 5 × 10 4 .
The working time of the model was 0.15 s. The initial velocity of the motor was set to 800 r/min. Then, the velocity increased abruptly from 800 r/min to 1000 r/min at 0.05 s. The load torque increased from 0 to 5 N·m at 0.10 s.

4.1. Analysis of Rotor Velocity and Rotor Position

Figure 6 and Figure 7 show the results of the rotor velocity and the estimated values for the traditional SMO algorithm and the second-order adaptive SMO algorithm in the given conditions. Figure 8 and Figure 9 show the results of the rotor position and the estimated values for the two algorithms for the given conditions.
From the results, it can be seen that both the traditional SMO algorithm and the second-order adaptive SMO algorithm were able to track the velocity and position of the system well. However, by comparing the characteristics in Figure 6 and Figure 7, it can be clearly seen that the estimated velocity curve of the traditional SMO algorithm was very jittery, while the estimated velocity curve of the second-order adaptive SMO algorithm was smooth, which indicates that the velocity estimation fluctuation of the algorithm was significantly reduced. Expanding Figure 8 and Figure 9 in the vicinity of 0.066 s also clearly showed that the estimated position curve of the traditional SMO algorithm had a lot of perturbations, while the estimated position curve of the second-order adaptive SMO algorithm was very smooth, which indicates that the fluctuation of the position estimate of the algorithm was also significantly reduced. Obviously, the tracking process of the second-order adaptive SMO algorithm is more stable.

4.2. Analysis of Rotor Velocity Error and Rotor Position Error

Figure 10 and Figure 11 show the rotor velocity error results of the traditional SMO algorithm and the second-order adaptive SMO algorithm in the given conditions. Figure 12 and Figure 13 show the rotor position error results of the two algorithms.
From the four figures above, it can be seen that the rotor velocity error of the traditional SMO algorithm was 8.95 r/min and the rotor position error was 0.043 rad at 800 r/min, while in the same case, the rotor velocity error obtained by the second-order adaptive SMO algorithm was 0.57 r/min and the rotor position error was 0.018 rad, with accuracy improvements of 93.63% and 58.34%, respectively. When the rotor velocity increased to 1000 r/min, the rotor velocity error of the traditional SMO algorithm was 9.95 r/min and the rotor position error was 0.049 rad, while the rotor velocity error of the second-order adaptive SMO algorithm in the same case was 0.94 r/min and the rotor position error was 0.022 rad, with accuracy improvements of 90.55% and 55.10%, respectively. The results show that the second-order adaptive SMO algorithm had higher accuracy in estimating the rotor velocity and the rotor position, which effectively weakened the jitter phenomenon of the system.

4.3. Analysis of the Estimated Back-EMF and the Three-Phase Current

Figure 14 and Figure 15 show the results of the estimated back-EMF for the traditional SMO algorithm and the second-order adaptive SMO algorithm in the given conditions. Figure 16 and Figure 17 show the three-phase current results of the two algorithms in the same conditions. Figure 18 and Figure 19 show the fast Fourier transforms (FFTs) of the A-phase current based on the two algorithms.
It can be seen in Figure 14 and Figure 15 that both algorithms were able to estimate the back-EMF effectively and show sine and cosine trends. With the increase in velocity, the back-EMF accurately reflected the performance change characteristics of the motor. However, the amplified waveform shows that the estimated back-EMF waveform of the traditional SMO algorithm had more burrs, while the estimated back-EMF waveform of the second-order adaptive SMO algorithm was very smooth. Comparing Figure 16 and Figure 17, it can be seen that the three-phase current waveform of the second-order adaptive SMO algorithm was smoother than that of the traditional SMO algorithm, especially after the load torque went from 0 to 5 N·m. At this point, the A-phase currents in the two algorithms were taken for fast Fourier transforms (FFTs). As shown in Figure 18 and Figure 19, the second-order adaptive SMO algorithm had fewer higher-order harmonics of the A-phase current, and the total harmonic distortion (THD) was reduced from the 18.08% value obtained by the traditional SMO algorithm to 7.85%. Therefore, the three-phase current of the second-order adaptive SMO algorithm had less distortion and was closer to a sinusoidal waveform. The analysis above shows that the second-order adaptive SMO had less noise in the estimated back-EMF and was more resistant to sudden load changes.

4.4. Stability Analysis under Mismatch of Stator Resistance

In the practical application of a PMSM, the high velocity running of the rotor, the heating of the winding, or a change in the external environment may lead to an increase in the internal temperature of the motor, which will eventually lead to a change in the stator resistance value of the motor. However, the stator resistance value in the given algorithm is pre-set and is not updated in real time. Therefore, a change in stator resistance may affect the stability of the control system, resulting in abnormal operation of the motor. In order to further verify the feasibility and reliability of the second-order adaptive SMO algorithm, it was necessary to analyze the stability of the system when the stator resistance was mismatched. To distinguish this analysis from the analysis above, the motor was set to accelerate from a static start to the target velocity of 1200 r/min, and the stator resistance was changed to 1.5 times the original. Figure 20 and Figure 21 show the rotor velocity and the rotor velocity error of the second-order adaptive SMO algorithm when the stator resistance was 3 Ω. Figure 22 and Figure 23 show the rotor velocity and the rotor velocity error of the second-order adaptive SMO algorithm when the stator resistance was 4.5 Ω.
It can be clearly seen in Figure 20, Figure 21, Figure 22 and Figure 23 that when the stator resistance of the PMSM was 3 Ω, the estimated velocity of the second-order adaptive SMO algorithm could accurately follow the actual value. The motor could run stably around 1200 r/min, and the velocity error was only 1.5 r/min. When the stator resistance was 4.5 Ω (1.5 times the original), the tracking performance of the algorithm was poor in the beginning, and there was a large deviation between the estimated velocity and the actual value. At a certain moment, the maximum deviation could reach about 250 r/min, but around 0.01 s, the motor could also reach 1200 r/min and ran stably, achieving good tracking of the actual velocity. After stabilization, the velocity error was 5.5 r/min. To summarize, although the tracking effect of the latter was not as good as that of the former, the latter could still make the motor run stably, and the velocity error was kept within a reasonable range, so the second-order adaptive SMO algorithm had high robustness.

4.5. Comparison of Results of Different Control Methods

The second-order adaptive SMO algorithm proposed in this paper was compared with other position-sensorless control algorithms in the field of PMSM control to prove the advanced nature of the proposed method. For a target velocity within 1000 r/min, the rotor velocity errors and the rotor position errors of different control methods are shown in Table 2 below. As can be seen in the table, the algorithms can accurately obtain the velocity and position information of a rotor, but compared with the other algorithms, the second-order adaptive SMO algorithm has smaller error and a better control effect.

5. Conclusions

In this paper, a second-order adaptive SMO algorithm was proposed. Through the second-order algorithm, the high-frequency switching term appeared in the observer in the form of an integral. At the same time, the adaptive estimation of back-EMF was introduced, and the back-EMF of the motor was estimated with the participation of the electrical angular velocity. This algorithm can track the phase of a PMSM instead of using mechanical sensors to obtain the rotor position and rotor velocity information of the motor. The following findings were obtained from the above analysis:
(1)
This algorithm effectively weakens the jitter of the traditional SMO algorithm, reduces the velocity error and position error, and improves the velocity and position tracking performance of the system.
(2)
The estimated back-EMF noise is smaller, and there are fewer high-order harmonics of the current after adding load, making this algorithm more resistant to sudden load changes and giving it high robustness.
(3)
Compared with other PMSM position-sensorless control algorithms, the estimation accuracy of rotor velocity and position of the algorithm proposed in this paper is higher.
In summary, the second-order adaptive SMO algorithm has good stability, feasibility, and reliability, which can meet the requirements of a high-precision PMSM position-sensorless control system and make the controlled motor have good performance. However, the research in this paper is only applicable at a medium–high velocity, and the estimation accuracy of the rotor velocity and position is not high enough when the velocity is too low. In future research, the control algorithm of the motor will continue to be optimized. A composite control strategy can be considered, where different control algorithms are adopted at zero–low velocity and at medium–high velocity. In addition, a switching velocity domain can be added in the middle, a weighted method can be used to realize the switching of the two control algorithms, and finally the stable operation of the motor in the full velocity domain can be realized.

Author Contributions

Conceptualization, G.Y. and Z.W.; methodology, Y.X.; software, Y.C.; validation, G.Y., Z.W. and Y.X; formal analysis, Y.C.; investigation, Y.C.; resources, Y.C.; data curation, Y.C.; writing—original draft preparation, Y.C.; writing—review and editing, G.Y.; visualization, Y.C.; supervision, Y.X.; project administration, G.Y.; funding acquisition, G.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under grant 52066008, the development of a domestic electronic control system (ECU) for the China VI diesel engine under grant 202104BN050007, key technology research and development of a methanol/diesel dual fuel engine under grant 202103AA080002, and the research and application of key technologies for extended-range commercial electric vehicles under grant 202102AC080004.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cao, Z.; Mahmoudi, A.; Kahourzade, S.; Soong, W.L. An Overview of Electric Motors for Electric Vehicles. In Proceedings of the 2021 31st Australasian Universities Power Engineering Conference (AUPEC), Perth, Australia, 26–30 September 2021; pp. 1–6. [Google Scholar]
  2. Huang, S.; Ching, T.W.; Li, W.; Deng, B. Overview of Linear Motors for Transportation Applications. In Proceedings of the 2018 IEEE 27th International Symposium on Industrial Electronics (ISIE), Cairns, Australia, 12–15 June 2018; pp. 150–154. [Google Scholar]
  3. Manoharan, S.; Palpandian, P.; Mahalakshmi, B.; Govindarai, V. A Review of Indian Scenario on Energy Conservation in Ceiling Fans Powered by BLDC Motors. In Proceedings of the 2021 Innovations in Power and Advanced Computing Technologies (i-PACT), Kuala Lumpur, Malaysia, 27–29 November 2021; pp. 1–7. [Google Scholar]
  4. Sakunthala, S.; Kiranmayi, R.; Mandadi, P.N. A study on industrial motor drives: Comparison and applications of PMSM and BLDC motor drives. In Proceedings of the 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS), Chennai, India, 1–2 August 2017; pp. 537–540. [Google Scholar]
  5. Varshney, A.; Sharma, U.; Singh, B. A Grid Interactive Sensorless Synchronous Reluctance Motor Drive for Solar Powered Water Pump for Agriculture and Residential Applications. In Proceedings of the 2020 IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES), Jaipur, India, 16–19 December 2020; pp. 1–6. [Google Scholar] [CrossRef]
  6. Wang, Y.; Bianchi, N.; Bolognani, S.; Alberti, L. Synchronous motors for traction applications. In Proceedings of the 2017 International Conference of Electrical and Electronic Technologies for Automotive, Turin, Italy, 15–16 June 2017; pp. 1–8. [Google Scholar]
  7. Wang, H.; Leng, J. Summary on development of permanent magnet synchronous motor. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 9–11 June 2018; pp. 689–693. [Google Scholar]
  8. Li, T.; Sun, X.; Lei, G.; Guo, Y.; Yang, Z.; Zhu, J. Finite-Control-Set Model Predictive Control of Permanent Magnet Synchronous Motor Drive Systems—An Overview. IEEE/CAA J. Automatic. 2022, 9, 2087–2105. [Google Scholar] [CrossRef]
  9. Dandan, Q.; Yanan, J.; Shuyang, Z. The Study of Permanent Magnet Demagnetization in Permanent Magnet Synchronous Motor. In Proceedings of the 2021 IEEE International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), Dalian, China, 27–28 August 2021; pp. 761–764. [Google Scholar]
  10. Loganayaki, A.; Kumar, R.B. Permanent Magnet Synchronous Motor for Electric Vehicle Applications. In Proceedings of the 2019 5th International Conference on Advanced Computing & Communication Systems (ICACCS), Coimbatore, India, 15–16 March 2019; pp. 1064–1069. [Google Scholar]
  11. Sun, X.; Cao, J.; Lei, G.; Guo, Y.; Zhu, J. Speed Sensorless Control for Permanent Magnet Synchronous Motors Based on Finite Position Set. IEEE Trans. Ind. Electron. 2020, 67, 6089–6100. [Google Scholar] [CrossRef]
  12. Huang, J.; Zhu, X.; Li, Y.; Qi, G.; Wu, Y.; He, Y. A New Composite Sensorless Control Strategy for PMSM Used in Electric Vehicle. In Proceedings of the 2022 IEEE Transportation Electrification Conference and Expo, Haining, China, 28–31 October 2022; pp. 1–6. [Google Scholar]
  13. Thiemann, P.; Mantala, C.; Mueller, T.; Strothmann, R.; Zhou, E. PMSM sensorless control with Direct Flux Control for all speeds. In Proceedings of the 3rd IEEE International Symposium on Sensorless Control for Electrical Drives (SLED 2012), Milwaukee, WI, USA, 21–22 September 2012; pp. 1–6. [Google Scholar]
  14. Gao, J.; Liu, J.; Gong, C. A High-efficiency PMSM Sensorless Control Approach Based on MPC Controller. In Proceedings of the IECON 2018—44th Annual Conference of the IEEE Industrial Electronics Society, Washington, DC, USA; 2018; pp. 2171–2176. [Google Scholar]
  15. Lee, H.; Lee, J. Design of Iterative Sliding Mode Observer for Sensorless PMSM Control. IEEE Trans. Control Syst. Technol. 2013, 21, 1394–1399. [Google Scholar] [CrossRef]
  16. Sun, P.; Ge, Q.; Zhang, B.; Wang, X. Sensorless Control Technique of PMSM Based on RLS On-Line Parameter Identification. In Proceedings of the 2018 21st International Conference on Electrical Machines and Systems (ICEMS), Jeju, Republic of Korea, 7–10 October 2018; pp. 1670–1673. [Google Scholar]
  17. Li, H.; Zhang, X.; Xu, C.; Hong, J. Sensorless Control of IPMSM Using Moving-Average-Filter Based PLL on HF Pulsating Signal Injection Method. IEEE Trans. Energy Convers. 2020, 35, 43–52. [Google Scholar] [CrossRef]
  18. Wu, M.; Xuan, X.; Chen, X. Sensorless estimation and simulation of PMSM based on high-frequency signal injection. In Proceedings of the 10th World Congress on Intelligent Control and Automation, Beijing, China, 6–8 July 2012; pp. 3438–3442. [Google Scholar] [CrossRef]
  19. Suman, K.; Mathew, A.T. Speed Control of Permanent Magnet Synchronous Motor Drive System Using PI, PID, SMC and SMC plus PID Controller. In Proceedings of the 2018 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Bangalore, India, 19–22 September 2018; pp. 543–549. [Google Scholar]
  20. Zhang, H.-W.; Jiang, D.; Wang, X.-H.; Wang, M.-R. Direct Torque Sensorless Control of PMSM Based on Dual Extended Kalman Filter. In Proceedings of the 2021 33rd Chinese Control and Decision Conference (CCDC), Kunming, China, 22–24 May 2021; pp. 7499–7504. [Google Scholar]
  21. Xiong, Y.; Wang, A.; Zhang, T. Sensor-Less Complex System Control of PMSM Based on Improved SMO. In Proceedings of the 2021 6th International Conference on Automation, Control and Robotics Engineering (CACRE), Dalian, China, 15–17 July 2021; pp. 228–232. [Google Scholar]
  22. Saadaoui, O.; Khlaief, A.; Abassi, M.; Chaari, A.; Boussak, M. Position sensorless vector control of PMSM drives based on SMO. In Proceedings of the 2015 16th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), Monastir, Tunisia, 21–23 December 2015; pp. 545–550. [Google Scholar]
  23. Badini, S.S.; Verma, V. A Novel MRAS Based Speed Sensorless Vector Controlled PMSM Drive. In Proceedings of the 2019 54th International Universities Power Engineering Conference (UPEC), Bucharest, Romania, 3–6 September 2019; pp. 1–6. [Google Scholar]
  24. Ni, Y.; Shao, D. Research of Improved MRAS Based Sensorless Control of Permanent Magnet Synchronous Motor Considering Parameter Sensitivity. In Proceedings of the 2021 IEEE 4th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China, 18–20 June 2021; pp. 633–638. [Google Scholar] [CrossRef]
  25. Bernardes, T.; Montagner, V.F.; Grundling, H.A.; Pinheiro, H. Discrete-Time Sliding Mode Observer for Sensorless Vector Control of Permanent Magnet Synchronous Machine. IEEE Trans. Ind. Electron. 2014, 61, 1679–1691. [Google Scholar] [CrossRef]
  26. Ding, L.; Li, Y.W.; Zargari, N.R. Discrete-Time SMO Sensorless Control of Current Source Converter-Fed PMSM Drives with Low Switching Frequency. IEEE Trans. Ind. Electron. 2021, 68, 2120–2129. [Google Scholar] [CrossRef]
  27. Jiang, T.; Ni, R.; Gu, S.; Wang, G. A Study on Position Estimation Error in Sensorless Control of PMSM Based on Back EMF Observation Method. In Proceedings of the 2021 24th International Conference on Electrical Machines and Systems (ICEMS), Gyeongju, Republic of Korea, 31 October–3 November 2021; pp. 1999–2003. [Google Scholar]
  28. An, Q.; An, Q.; Liu, X.; Zhang, J.; Bi, K. Improved Sliding Mode Observer for Position Sensorless Control of Permanent Magnet Synchronous Motor. In Proceedings of the 2018 IEEE Transportation Electrification Conference and Expo, Asia-Pacific (ITEC Asia-Pacific), Bangkok, Thailand, 6–9 June 2018; pp. 1–7. [Google Scholar]
  29. Gong, C.; Hu, Y.; Gao, J.; Wang, Y.; Yan, L. An Improved Delay-Suppressed Sliding-Mode Observer for Sensorless Vector-Controlled PMSM. IEEE Trans. Ind. Electron. 2020, 67, 5913–5923. [Google Scholar] [CrossRef]
  30. Davila, J.; Fridman, L.; Levant, A. Second-order sliding-mode observer for mechanical systems. IEEE Trans. Autom. Control 2005, 50, 1785–1789. [Google Scholar] [CrossRef]
  31. Moreno, J.A.; Osorio, M. A Lyapunov approach to second-order sliding mode controllers and observers. In Proceedings of the 2008 47th IEEE Conference on Decision and Control, Cancun, Mexico, 9–11 December 2008; pp. 2856–2861. [Google Scholar] [CrossRef]
  32. Chen, K.; Song, B.; Xiao, Y.; Xu, L. An Improved Sliding Mode Observer for Sensorless Vector Control of PMSM—A Simulation Study. In Proceedings of the 2019 Chinese Automation Congress (CAC), Hangzhou, China, 22–24 November 2019; pp. 1912–1916. [Google Scholar]
  33. Zhang, X.; Jiang, Q. Research on Sensorless Control of PMSM Based on Fuzzy Sliding Mode Observer. In Proceedings of the 2021 IEEE 16th Conference on Industrial Electronics and Applications (ICIEA), Chengdu, China, 1–4 August 2021; pp. 213–218. [Google Scholar]
  34. Li, Z.; Zhao, X.; Wang, Y.; Yue, C.; Jiang, L. Implementation of a PMSM Sensorless Control Method based on PLL back EMF. In Proceedings of the 2021 33rd Chinese Control and Decision Conference (CCDC), Kunming, China, 22–24 May 2021; pp. 4916–4921. [Google Scholar]
  35. Zhou, F.; Yang, J.; Li, B. A Novel Speed Observer Based on Parameter-optimized MRAS for PMSMs. In Proceedings of the 2008 IEEE International Conference on Networking, Sensing and Control, Sanya, China, 6–8 April 2008; pp. 1708–1713. [Google Scholar]
Figure 1. The physical model of a three-phase PMSM.
Figure 1. The physical model of a three-phase PMSM.
Processes 11 01636 g001
Figure 2. Structure diagram of the second-order SMO algorithm.
Figure 2. Structure diagram of the second-order SMO algorithm.
Processes 11 01636 g002
Figure 3. Structure diagram of the link of adaptive estimation of back-EMF.
Figure 3. Structure diagram of the link of adaptive estimation of back-EMF.
Processes 11 01636 g003
Figure 4. Structure diagram of the second-order adaptive SMO algorithm.
Figure 4. Structure diagram of the second-order adaptive SMO algorithm.
Processes 11 01636 g004
Figure 5. Block diagram of the control system.
Figure 5. Block diagram of the control system.
Processes 11 01636 g005
Figure 6. Rotor velocity of traditional SMO algorithm.
Figure 6. Rotor velocity of traditional SMO algorithm.
Processes 11 01636 g006
Figure 7. Rotor velocity of second-order adaptive SMO algorithm.
Figure 7. Rotor velocity of second-order adaptive SMO algorithm.
Processes 11 01636 g007
Figure 8. Rotor position of traditional SMO algorithm.
Figure 8. Rotor position of traditional SMO algorithm.
Processes 11 01636 g008
Figure 9. Rotor position of second-order adaptive SMO algorithm.
Figure 9. Rotor position of second-order adaptive SMO algorithm.
Processes 11 01636 g009
Figure 10. Rotor velocity error of traditional SMO algorithm.
Figure 10. Rotor velocity error of traditional SMO algorithm.
Processes 11 01636 g010
Figure 11. Rotor velocity error of second-order adaptive SMO algorithm.
Figure 11. Rotor velocity error of second-order adaptive SMO algorithm.
Processes 11 01636 g011
Figure 12. Rotor position error of traditional SMO algorithm.
Figure 12. Rotor position error of traditional SMO algorithm.
Processes 11 01636 g012
Figure 13. Rotor position error of second-order adaptive SMO algorithm.
Figure 13. Rotor position error of second-order adaptive SMO algorithm.
Processes 11 01636 g013
Figure 14. Estimated back-EMF of traditional SMO algorithm.
Figure 14. Estimated back-EMF of traditional SMO algorithm.
Processes 11 01636 g014
Figure 15. Estimated back-EMF of second-order adaptive SMO algorithm.
Figure 15. Estimated back-EMF of second-order adaptive SMO algorithm.
Processes 11 01636 g015
Figure 16. Three-phase current of traditional SMO algorithm.
Figure 16. Three-phase current of traditional SMO algorithm.
Processes 11 01636 g016
Figure 17. Three-phase current of second-order adaptive SMO algorithm.
Figure 17. Three-phase current of second-order adaptive SMO algorithm.
Processes 11 01636 g017
Figure 18. The FFT of the A-phase current based on the traditional SMO algorithm.
Figure 18. The FFT of the A-phase current based on the traditional SMO algorithm.
Processes 11 01636 g018
Figure 19. The FFT of the A-phase current based on the second-order adaptive SMO algorithm.
Figure 19. The FFT of the A-phase current based on the second-order adaptive SMO algorithm.
Processes 11 01636 g019
Figure 20. Rotor velocity of second-order adaptive SMO algorithm (Rs = 3 Ω).
Figure 20. Rotor velocity of second-order adaptive SMO algorithm (Rs = 3 Ω).
Processes 11 01636 g020
Figure 21. Rotor velocity error of second-order adaptive SMO algorithm (Rs = 3 Ω).
Figure 21. Rotor velocity error of second-order adaptive SMO algorithm (Rs = 3 Ω).
Processes 11 01636 g021
Figure 22. Rotor velocity of second-order adaptive SMO algorithm (Rs = 4.5 Ω).
Figure 22. Rotor velocity of second-order adaptive SMO algorithm (Rs = 4.5 Ω).
Processes 11 01636 g022
Figure 23. Rotor velocity error of second-order adaptive SMO algorithm (Rs = 4.5 Ω).
Figure 23. Rotor velocity error of second-order adaptive SMO algorithm (Rs = 4.5 Ω).
Processes 11 01636 g023
Table 1. Main parameters of PMSM.
Table 1. Main parameters of PMSM.
ParametersValues
Stator resistance (Rs/Ω)3
Stator inductance (Ls/H)0.01
Permanent magnet flux linkage (ψf/(Wb))0.175
Moment of inertia (J/(kg·m^2))0.001
Number of pole pairs 4
Rated power (Pn/kW)1.2
Table 2. Comparison of different position-sensorless algorithms.
Table 2. Comparison of different position-sensorless algorithms.
Data SourceAlgorithmRotor Velocity Error (r/min)Rotor Position Error (rad)
Reference [32] An improved SMO based on tanh(x)10.05
Reference [33]Fuzzy SMO2-
Reference [34]Sensorless control based on PLL50.087
Reference [35]A novel MRAS algorithm1.5-
This paperTraditional SMO9.950.049
This paperSecond-order adaptive SMO0.940.022
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yao, G.; Cheng, Y.; Wang, Z.; Xiao, Y. Study on a Second-Order Adaptive Sliding-Mode Observer Control Algorithm for the Sensorless Permanent Magnet Synchronous Motor. Processes 2023, 11, 1636. https://doi.org/10.3390/pr11061636

AMA Style

Yao G, Cheng Y, Wang Z, Xiao Y. Study on a Second-Order Adaptive Sliding-Mode Observer Control Algorithm for the Sensorless Permanent Magnet Synchronous Motor. Processes. 2023; 11(6):1636. https://doi.org/10.3390/pr11061636

Chicago/Turabian Style

Yao, Guozhong, Yuanpeng Cheng, Zhengjiang Wang, and Yuhan Xiao. 2023. "Study on a Second-Order Adaptive Sliding-Mode Observer Control Algorithm for the Sensorless Permanent Magnet Synchronous Motor" Processes 11, no. 6: 1636. https://doi.org/10.3390/pr11061636

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop