Next Article in Journal
Facial Action Unit Recognition by Prior and Adaptive Attention
Previous Article in Journal
A 280 GHz 30 GHz Bandwidth Cascaded Amplifier Using Flexible Interstage Matching Strategy in 130 nm SiGe Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Control Method of Sensorless Permanent Magnet Synchronous Motor Based on Super-Twisting Sliding Mode Algorithm

1
College of Mechanical and Electrical Engineering, Qingdao University, Qingdao 266071, China
2
Power Integration and Energy Storage Systems Engineering Technology Center (Qingdao), Qingdao 266071, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(19), 3046; https://doi.org/10.3390/electronics11193046
Submission received: 23 August 2022 / Revised: 17 September 2022 / Accepted: 22 September 2022 / Published: 24 September 2022

Abstract

:
To solve the problem of the sensorless control method of a permanent magnet synchronous motor, based on the study of a mathematical model for a permanent magnet synchronous motor and model adaptation theory, a reference model equation and adjustable model equation are derived according to the stator current equation. The correctness of the selected linear compensator matrix is strictly proved. Then, Popov’s super-stability theory is used to derive the speed adaptive law and prove its asymptotic stability. Based on the voltage closed-loop feedback MTPA weak magnetic control strategy, a simulation model of a MRAS control system based on stator current is built and combined with the principle of MRAS. Aiming to investigate the problem that the PI adaptive law in the traditional MRAS algorithm is not robust, super-twisting sliding mode control is introduced to replace the PI adaptive law. The observer based on STSM−MRAS is designed. The simulation model of the MRAS control system based on the super-twisting sliding mode is established. Under certain working conditions, the STSM−MRAS algorithm and the traditional MRAS algorithm are simulated and compared. The results show that the STSM−MRAS algorithm can improve the steady-state performance and robustness of a sensorless control system.

1. Introduction

Permanent magnet synchronous machines (PMSM) are widely used in various industries due to their high power density and reliable performance [1]. Especially in the field of new energy [2,3], PMSMs are widely used because of their low environmental pollution [4]. PMSMs are more stable than DC motors in performance and are more efficient than asynchronous motors [5]. Therefore, in order to improve the performance of PMSMs, more advanced control technologies should be adopted [6]. The model reference adaptive system (MRAS) takes the motor body as the reference model, the stator current equation is taken as an adjustable model, and the estimated speed is taken as an adjustable parameter [7]. The parameters such as the estimated speed can be obtained by calculating the difference between the actual parameters and the estimated parameters, and then inputting the error into the PI regulator [8,9]. However, because the traditional MRAS algorithm is not robust, when the motor load is disturbed, the estimation accuracy of the MRAS algorithm will be affected [10]. Therefore, the sliding mode control is introduced to replace the PI adaptive law in the MRAS algorithm [11,12], which improves its robustness [13,14].
In [15], a novel switching linear feedback sliding mode controller (SLF-SMC) design method is proposed. Simulation and implementation studies under different operating conditions, such as speed range and inertia variation, show that the dynamic performance of sensorless field orientation control (SFOC) with MRAS-SMC is higher than that with MRAS-PI. In [16], two types of speed, torque and flux estimators are introduced. A sliding mode observer (SMO) and a model reference adaptive system (MRAS) type estimator are applied to sensorless direct torque control of a space vector modulation algorithm (DTC-SVM) driven by an induction motor (IM). This solves the problem of obtaining motor parameters without sensors. In [17], a new predictive model reference adaptive system (MRAS) velocity estimator is proposed. This eliminates the proportional integral (PI) controller used in the adaptive mechanism of the traditional MRAS estimator. In [18], a novel predictive MRAS rotor velocity estimator for sensorless IM drive is proposed. Compared with the traditional PI controller, this estimator improves the algorithm and reduces the computation.
This paper first studies the principle and basic structure of MRAS. The reference model equation and adjustable model equation are derived according to the stator current equation [19,20,21,22]. Based on Popov’s super-stability theory, a speed adaptive law is designed and its asymptotic stability is proved. The simulation experiments under different working conditions were carried out on the Matlab/Simulink platform. The feasibility and accuracy of the MRAS algorithm are verified [23]. In order to solve the problem that the PI adaptive law in the traditional MRAS algorithm is not robust [24], super-twisting sliding mode control is introduced to replace the PI adaptive law [25]. The super-twisting sliding mode MRAS observer is designed and its stability is analyzed. Under certain working conditions, the super-twisting sliding mode MRAS algorithm and the traditional MRAS algorithm are simulated and compared [26].

2. Mathematical Model of PMSM

The stator voltage equation of PMSM in the two-phase rotating coordinate system is [27]:
{ u d = R i d + L d d d t i d ω e L q i q u q = R i q + L q d d t i q + ω e ( L d i d + ψ f )
u d and u q are the direct and quadrature components of space voltage vector. i d and i q are the direct and quadrature components of space current vector. ψ d and ψ q are the direct and quadrature components of space flux vector. R is the phase resistance of the stator winding and ω e is the electrical angular velocity.
The direct axis and cross axis components of the flux are [28]:
{ ψ d = L d i d + ψ f ψ q = L q i q
L d and L q are direct axis and quadrature axis synchronization inductors; ψ f is the magnetic field of the fundamental wave excited by the permanent magnet. The voltage equivalent circuit in the synchronous rotating coordinate system d-q can be obtained [29], as shown in Figure 1.
The electromagnetic torque equation and the motion equation under the synchronous rotating coordinate system d-q are:
T e = 3 2 p n i q [ i d ( L d L q ) + ψ f ]
J p n d d t ω e = T e T L B p n ω e

3. MRAS Based on Stator Current

The identification idea of MRAS is to take the parameters to be identified as adjustable parameters [30]. The expression containing parameters to be identified is regarded as the adjustable model, and the expression without unknown parameters is regarded as the reference model. We want the physical meaning of x and x ^ to be the same. Subtract x ^ from x to get the generalized error e. The suitable adaptive law is designed to adjust the parameters to be identified in the tunable model, so that the generalized error e can approach zero. In this way, the output of the system is asymptotically stable, and the accurate identification of system parameters is finally realized. The parallel type MRAS is widely used, and the parallel type structure is selected as the research object in this paper. Figure 2 shows the structure diagram of the parallel type.

3.1. Reference Model and Adjustable Model

For the PMSM, the current equation in the synchronous rotating coordinate system is [31]:
{ d d t i d = R L d i d + ω e L q L d i q + 1 L d u d d d t i q = R L q i q ω e L d L q i d ψ f L q ω e + 1 L q u q
To obtain the adjustable model, change the above formula to:
{ d d t ( i d + ψ f L d ) = R L d ( i d + ψ f L d ) + ω e L q L d i q + 1 L d ( u d + R L d ψ f ) d d t i q = R L q i q ω e L d L q ( i d + ψ f L d ) + 1 L q u q
{ i d = i d + ψ f L d i q = i q u d = u d + R L d ψ f u q = u q
Equation (7) is written as a space state expression of the form:
d d t i = A i + B u
i = [ i d i q ] , u = [ u d u q ] , A = [ R L d ω e L q L d ω e L d L q R L q ] , B = [ 1 L d 0 0 1 L q ]
When (8) is expressed as an estimated value, we can obtain:
d d t i ^ = A ^ i ^ + B u
i ^ = [ i ^ d i ^ q ] , A ^ = [ R L d ω ^ e L q L d ω ^ e L d L q R L q ]
Since matrix A and A ^ contains rotor speed information, Equation (9) can be used as an adjustable model, Equation (5) as a reference model, and ωe as an adjustable parameter.

3.2. Design of Reference Adaptive Law

By defining the generalized error e = i i ^ and subtracting Equations (8) and (9), we can get:
d d t [ e d e q ] = [ R L d ω e L q L d ω e L d L q R L q ] [ e d e q ] J ( ω ^ e ω e ) [ i ^ d i ^ q ]
e d = i d i ^ d , e q = i q i ^ q , J = [ 0 L q L d L d L q 0 ]
d d t e = A e W
Equation (11) can be written as an equation of state:
{ e ˙ = A e W V = C e
Figure 3 shows a standard feedback system obtained according to Equation (12). In the figure, the matrix C is a linear compensator, and the forward channel in the dashed box in the upper half is a linear time-invariant system. Since the relationship between output V and feedback W cannot be completely determined, it can be represented by a nonlinear time-varying feedback channel [32], as shown in the dashed box at the bottom of Figure 3.
According to Popov’s super-stability theory, the following two conditions must be met to make the system asymptotically stable [33]:
1.
Transfer function matrix G ( s ) = C ( s I A ) 1 of linear time-invariant forward channel is strictly positive real matrix;
2.
The nonlinear time-varying feedback channel satisfies Popov’s integral inequality and γ 0 2 is any finite positive number.
η ( 0 , t 1 ) = 0 t 1 V T W d t γ 0 2 ( t 1 0 )
{ x ˙ ( t ) = A x ( t ) + B u ( t ) y ( t ) = C x ( t ) + D u ( t )
According to the positive real lemma, the necessary and sufficient condition for the transfer function matrix A of the state equation of linear time-invariant system to be G ( s ) = D + C ( s I A ) 1 B strictly positive real matrix is the existence of symmetric positive definite matrix P and real matrix K, L, positive real number λ , or symmetric positive definite matrix Q which satisfies the condition:
{ x ˙ ( t ) = A x ( t ) + B u ( t ) y ( t ) = C x ( t ) + D u ( t )
Since B = I and D = 0, Equation (15) can be reduced to:
{ P A + A T P = Q P = C
Firstly, C is taken as the identity matrix. According to Equation (16), matrix P and matrix A are equal and symmetric positive definite matrices. Then, matrix A and matrix P are substituted into Equation (16) to obtain:
Q = ( P A + A T P ) = [ 2 R L d ω e ( L d L q L q L d ) ω e ( L d L q L q L d ) 2 R L q ]
Therefore, the first order major subequation of matrix Q is 2 R L d > 0 , and the second order major subequation of matrix Q is:
| Q | = 4 R 2 L d L q ω e 2 ( L d 2 L q 2 L d L q ) 2   = ( 2 R L d L q + ω e | L d 2 L q 2 | L d L q ) ( 2 R L d L q ω e | L d 2 L q 2 | L d L q )
For Equation (18), since the built-in permanent magnet synchronous motor is used in this paper, it is necessary to let:
2 R L d L q ω e L q 2 L d 2 L d L q > 0
According to Equation (19), the positivity of matrix Q is related to the inductance components Ld and Lq of the d-q axis and the electrical angular velocity ωe. Therefore, the matrix G(s) cannot always be guaranteed to be a strictly positive real matrix, so it is necessary to select matrix C again.
C = [ L d L q 0 0 L q L d ]
Equation (16), P = C, is also a symmetric positive definite matrix. By substituting matrix A and the new matrix P into Equation (16), we can get:
Q = ( P A + A T P ) = [ 2 R L q 0 0 2 R L d ]
Clearly Q is a symmetric positive definite matrix. Therefore, for the built-in PMSM, when the linear compensator matrix C is chosen as Equation (20), the transfer function matrix G(s) of the linear time-invariant forward channel is a strictly positive real matrix.
The adaptive law in the nonlinear time-varying feedback channel must be designed such that the nonlinear feedback channel satisfies inequality (13). Substituting V = Ce and W into Equation (13), we can get:
η ( 0 , t 1 ) = 0 t 1 e T C J ( ω ^ e ω e ) i ^ d t γ 0 2 , t 1 0
According to the proportional integral form of the model reference adaptive system, ω ^ e is expressed as:
ω ^ e = 0 t F 1 ( v , t , τ ) d τ + F 2 ( v , t ) + ω ^ e ( 0 )
where ω ^ e ( 0 ) is the initial value of the estimated rotational speed. Substituting Equation (23) into Equation (22):
η ( 0 , t 1 ) = η 1 ( 0 , t 1 ) + η 2 ( 0 , t 1 )
To make η ( 0 , t 1 ) γ 0 2 , you can separate them:
η 1 ( 0 , t 1 ) = 0 t 1 [ 0 t F 1 ( v , t , τ ) d τ + ω ^ e ( 0 ) ω e ] e T C J i ^ d t γ 1 2
η 2 ( 0 , t 1 ) = 0 t 1 F 2 ( v , t ) e T C J i ^ d t γ 2 2
where γ 1 2 and γ 2 2 are any finite positive numbers. For inequality (25), construct a function f(t) that satisfies:
{ K i f ( t ) = 0 t F 1 ( v , t , τ ) d τ + ω ^ e ( 0 ) ω e d f ( t ) d t = e T C J i ^
Substituting Equation (27) into Equation (25), we can get:
η 1 ( 0 , t 1 ) = 0 t 1 d f ( t ) d t K i f ( t ) d t = K i 2 [ f 2 ( t ) f 2 ( 0 ) ] 1 2 K i f 2 ( 0 ) γ 1 2
Take the derivative of the first expression in Equation (27), and then according to the second equation in Equation (27), we can obtain:
F 1 ( v , t , τ ) = K i e T C J i ^ ( K i > 0 )
If the integrand function in Equation (26) is positive, then the inequality must be true, so take:
F 2 ( v , t ) = K p e T C J i ^ ( K p > 0 )
Substituting Equation (30) into Equation (26), it can be obtained:
η 2 ( 0 , t 1 ) = 0 t 1 K p ( e T C J i ^ ) 2 d t 0 γ 2 2
So η ( 0 , t 1 ) γ 0 2 is proved. Substituting F 1 ( v , t , τ ) and F 2 ( v , t ) into Equation (23), the rotational speed estimation formula can be obtained as:
ω ^ e = 0 t K i e T C J i ^ d τ + K p e T C J i ^ + ω ^ e ( 0 )
e = [ i d i ^ d i q i ^ q ] , C = [ L d L q 0 0 L q L d ] , J = [ 0 L q L d - L d L q 0 ] , i ^ = [ i ^ d i ^ q ]
ω ^ e = K i 0 t ( i d i ^ q i ^ d i q ) d τ + K p ( i d i ^ q i ^ d i q ) + ω ^ e ( 0 )
Substituting Equation (7) into Equation (33), the final rotational speed estimation formula is:
ω ^ e = ( K i s + K p ) [ i d i ^ q i ^ d i q ψ f L d ( i q i ^ q ) ] + ω ^ e ( 0 )
By integrating Equation (34), the estimated value of rotor position can be obtained as:
θ ^ e = ω ^ e d τ
The block diagram of the model reference adaptive rotor position and speed estimation system based on stator current is shown in Figure 4.
The reference model receives the estimated electrical Angle θ ^ e from the adaptive law and outputs the parameters of the three-phase current iabc and voltage uabc through the calculation of the reference model Equation (6). Through coordinate transformation, the three-phase parameters in the natural coordinate system are converted to the DC parameters in the rotating coordinate system [34]. At the same time, according to the estimated speed 1 transmitted by the adaptive law and the voltage value ud and uq transmitted by the reference model, the adjustable model outputs the estimated ac-axis current i ^ d and i ^ q through the operation of the adjustable model Equation (8), and then transmits the AC-axis current i ^ d and i ^ q to the adaptive law. The adaptive law receives the actual ac-axis current id, iq and the estimated AC-axis current i ^ d and i ^ q from the reference model, calculates the estimated rotor speed ω ^ e through the speed estimation Equation (34) of the adaptive law, and transmits it to the reference model. The estimated rotor speed ω ^ e outputs the estimated rotor position Angle θ ^ e through integral operation, which is transferred to the reference model, so as to realize the sensorless closed-loop control of the motor system [35].

3.3. Simulation of MRAS Control System Based on Stator Current

On the basis of the MTPA magnetically weak control strategy with voltage closed-loop feedback and combined with the MRAS principle, the block diagram of MRAS control system based on stator current is designed, as shown in Figure 5.
The simulation model of the MRAS control system based on stator current is built in a Matlab/Simulink environment, as shown in Figure 5. The motor parameters used in the simulation are shown in Table 1.
According to the simulation requirements, the MRAS simulation module is built, as shown in Figure 6, which includes the reference model module, the adjustable model module and the adaptive law module.

4. Super-Twisting Sliding Mode Control

4.1. Design of Observer

To solve the problem that the PI adaptive law in the traditional MRAS is not strong, a new super-twisting sliding mode control (STSMC) is proposed to replace the PI adaptive law in the traditional MRAS. This algorithm is a further improvement of the traditional MRAS algorithm. The basic form of this control is:
{ x ˙ 1 = k 1 | x 1 | 1 2 sgn ( x 1 ) + x 2 x ˙ 2 = k 2 sgn ( x 1 )
where x1 and x2 are state variables; x ˙ 2 is the derivative of the corresponding variable; k1 and k2 are sliding mode gains; sgn() is the sign function. The sign function sgn() is a discontinuous function, and its existence leads to a chattering problem in sliding mode control. However, it can be seen from Equation (36) that STSMC is essentially a second-order sliding mode. Adding the continuous term before sgn() and putting sgn() into the higher-order derivative can alleviate the chattering problem of the traditional sliding mode to a certain extent. At the same time, STSMC also has good robustness. Combined with the adaptive law in Equation (34), the sliding mode surface is constructed as follows:
s = i d i ^ q i ^ d i q ψ f L d ( i q i ^ q )
Combining Equations (5) and (9), the derivative of Equation (37) can be obtained as follows:
s ˙ = i ˙ d i ^ q + i d i ^ ˙ q i ^ ˙ d i q i ^ d i ˙ q ψ f L d ( i ˙ q i ^ ˙ q )   = ( ω e ω ^ e ) [ L d L q i d i ^ d + L q L d i q i ^ q + ψ f L q ( i d + i ^ d ) + ψ f 2 L d L q ] +   ( R L d + R L q ) ( i ^ d i q i d i ^ q ) + u q L q ( i d i ^ d ) + ( R ψ f L d L q u d L d ) ( i q i ^ q )
According to the basic idea of sliding mode variable structure control, when the system enters sliding mode, namely the sliding surface, the equivalent velocity expression can be drawn as:
ω e q = ω e + ( R L d + R L q ) ( i ^ d i q i d i ^ q ) + u q L q ( i d i ^ d ) + ( R ψ f L d L q u d L d ) ( i q i ^ q ) L d L q i d i ^ d + L q L d i q i ^ q + ψ f L q ( i d + i ^ d ) + ψ f 2 L d L q
From the above equation, it can be seen that when the estimated current converges on the reference current, the equivalent speed converges on the actual real speed. According to the selected sliding mode surface S and the equivalent velocity, the super spiral sliding mode control is used to design the speed observer, and the velocity estimation expression is:
ω ^ e = k 1 | s | 1 2 sgn ( s ) + t 0 k 2 sgn ( s ) d t + ω ^ e ( 0 )
By integrating the equation, the estimated value of rotor position can be obtained as follows:
θ ^ e = ω ^ e d τ
The block diagram of the model reference adaptive rotor position and speed estimation system based on super-twisting sliding mode is shown in Figure 7.

4.2. Analysis of Stability

According to Lyapunov stability theorem, the state vector is chosen as:
Z = [ Z 1 Z 2 ] T = [ | x 1 | 1 2 sgn ( x 1 ) x 2 ] T
where Z 1 and Z 2 are selected state variables. It can be seen from Equation (42) that if we show that the state variables Z 1 and Z 2 converge to 0 in finite time, then x 1 and x 2 also converge to 0 in finite time. This proves that the system state can reach the sliding mode surface and converge to 0 in finite time. Taking the time derivative of the state vector Z is:
Z ˙ = [ 1 2 | x 1 | 1 2 x ˙ 1 x ˙ 2 ] = 1 | x 1 | 1 2 F Z
F = [ k 1 2 1 2 k 2 0 ]
To construct the Lyapunov function:
V ( Z ) = Z T N Z
N = 1 2 [ k 1 2 + 4 k 2 k 1 k 1 2 ]
Taking the derivative of time with respect to V ( Z ) is:
V ˙ ( Z ) = Z ˙ T N Z + Z T N Z ˙
V ˙ ( Z ) = 1 | x 1 | 1 2 Z T F T N Z + 1 | x 1 | 1 2 Z T N F Z   = 1 | x 1 | 1 2 Z T ( F T N + N F ) Z   = 1 | x 1 | 1 2 Z T M Z
Substituting F = [ k 1 2 1 2 k 2 0 ] and N = 1 2 [ k 1 2 + 4 k 2 k 1 k 1 2 ] into the expression of matrix M, we can get:
M = k 1 2 [ k 1 2 + 2 k 2 k 1 k 1 1 ]
When the sliding mode gain k1, k2 > 0, the matrices N and M are symmetric positive definite matrices. When the matrix V ˙ ( Z ) is negative definite, the system is asymptotically stable at the equilibrium point (origin).

4.3. Simulation of STSM−MRAS Control System

On the basis of the MRAS control system based on stator current, super-twisting sliding mode control is introduced to replace the PI adaptive law. The block diagram of the MRAS control system based on super spiral sliding mode is designed, as shown in Figure 8. According to the system block diagram shown in Figure 8, a simulation model of the MRAS control system based on super spiral sliding mode is built, as shown in Figure 9. At the same time, simulation experiments are carried out.

5. Discussion

In order to verify the performance of the proposed super-twisting sliding mode model reference adaptation (STSM−MRAS) algorithm, simulation experiments are compared with the traditional MRAS algorithm. The initial running speed of the motor is set as 1000 r/min by simulation. The initial load torque of the motor belt is 10 N∙m. When the simulation model is carried out to 0.5 s, the speed of the motor is suddenly changed to 3500 r/min. Figure 10 shows the simulation waveform of motor speed when speed mutation occurs. Figure 11 shows the simulation waveform of motor speed error under speed mutation. It can be seen from Figure 10 that the motor speed response curves of the traditional MRAS algorithm and the STSM−MRAS algorithm are basically the same in the case of speed mutation.
It can be seen from Figure 11 that in the process of motor startup, the error between the actual speed and the estimated speed of the traditional MRAS algorithm is 46 r/min at most. The maximum speed error of STSM−MRAS algorithm is 33 r/min. Then the motor enters the stable running state. The speed error of the traditional MRAS algorithm converges to zero in 0.075 time. The speed error of STSM−MRAS algorithm converges to zero in 0.055 s. In the motor speed from 1000 r/min to 3500 r/min transition process, the maximum speed error of the traditional MRAS algorithm is 40 r/min. The maximum speed error of STSM−MRAS algorithm is 32 r/min. Then the motor enters the stable running state again. The speed error of the traditional MRAS algorithm converges to zero in 0.62 s. The speed error of TSM-MRAS algorithm converges to zero in 0.61 s.
As can be seen from Figure 12, in the case of sudden changes in speed, the rotor position simulation curves of traditional MRAS algorithm and STSM−MRAS algorithm are basically consistent. The estimated rotor position of the motor can always track the actual rotor position.
As can be seen from Figure 13, in the process of motor startup, the mechanical angle error between the actual rotor position and the estimated rotor position of the traditional MRAS algorithm is 0.036 rad. The maximum mechanical angle error of STSM−MRAS algorithm is 0.011 rad. Then the motor enters the stable running state. The rotor position error of the traditional MRAS algorithm converges to zero in 0.08 time. The time for the rotor position error of STSM−MRAS algorithm to converge to zero is 0.06 s. In the motor speed from 1000 r/min to 3500 r/min transition process, the mechanical angle error of the traditional MRAS algorithm is 0.037 rad. The maximum mechanical angle error of the STSM−MRAS algorithm is 0.023 rad. Then the motor enters the stable running state again. The rotor position error of the traditional MRAS algorithm converges to zero in 0.62 s. The time for the rotor position error of STSM−MRAS algorithm to converge to zero is 0.61 s.
The following experiments are designed to further verify the stability of the algorithm. The initial running speed of the motor is set as 1000 r/min by simulation, and the initial load torque of the motor belt is 10 N∙m. When the simulation model is carried out to 0.5 s, the load torque of the motor is changed to 20 N∙m. Figure 14 shows the simulation waveform of motor speed when the motor load torque changes abruptly. Figure 15 shows the simulation waveform of motor speed error when the motor load torque changes abruptly. Figure 16 shows the rotor position simulation waveform when the motor load torque changes abruptly. Figure 17 shows the simulation waveform of rotor position error when the motor load torque changes abruptly.
As can be seen in Figure 14, in the case of torque mutation in constant torque area, the estimated speed of the motor by the two algorithms can always track the actual speed. When the load torque is suddenly changed at 0.5 s, the motor speed of the traditional MRAS algorithm has a drop of about 70 r/min. The motor speed of STSM−MRAS algorithm drops at 65 r/min.
As can be seen in Figure 15, in the process of motor startup, the error between the actual speed and the estimated speed of the traditional MRAS algorithm is 46 r/min. The maximum speed error of STSM−MRAS algorithm is 33 r/min. When the motor enters the stable running state, the speed error of the traditional MRAS algorithm converges to zero in 0.075 s. The speed error of STSM−MRAS algorithm converges to zero in 0.055 s. When the load torque of the motor is changed from 10 N∙m to 20 N∙m in 0.5 s, the maximum speed error of the traditional MRAS algorithm is 18 r/min. The maximum speed error of the STSM−MRAS algorithm is 13 r/min. When the motor enters the stable running state again, the speed error of the traditional MRAS algorithm converges to zero in 0.56 s. The speed error of STSM−MRAS algorithm converges to zero in 0.53 s. This means that the STSM−MRAS algorithm has better robustness than the traditional MRAS algorithm.
As can be seen in Figure 16, in the case of torque mutation in constant torque area, the rotor position simulation curves of the two algorithms are basically the same. The estimated rotor position of the motor can always track the actual rotor position.
As can be seen in Figure 17, in the process of motor startup, the mechanical angle error between the actual rotor position and the estimated rotor position of the traditional MRAS algorithm is 0.036 rad. The maximum mechanical angle error of the STSM−MRAS algorithm is 0.011 rad. When the motor enters the stable running state, the rotor position error of the traditional MRAS algorithm converges to zero in 0.08 s. The time for the rotor position error of STSM−MRAS algorithm to converge to zero is 0.06 s. When the load torque of the motor is changed from 10 N∙m to 20 N∙m in 0.5 s, the maximum mechanical angle error of the traditional MRAS algorithm is 0.0065 rad. The maximum mechanical angle error of STSM−MRAS algorithm is 0.0023 rad. When the motor enters the stable running state again, the rotor position error of the traditional MRAS algorithm converges to zero in 0.56 s. The time for the rotor position error of STSM−MRAS algorithm to converge to zero is 0.53 s.
Compared with the traditional MRAS algorithm, the STSM−MRAS algorithm can reduce the fluctuation of rotor speed and position estimation errors, and make the speed and position estimation errors converge to zero faster under the condition of motor speed mutation and load torque mutation. This shows that the STSM−MRAS algorithm has better steady-state performance.
In the actual running process of PMSM, its parameters will change with changes in the working environment. In particular, the influence of temperature, magnetic field and other factors on inductance parameters is very obvious. The normal operation of PMSM is affected. To verify the robustness of the proposed STSM−MRAS algorithm to the motor parameters after perturbation, the inductance L is set to 120% of the nominal value of the motor, the initial operating speed of the motor is set as 1000 r/min, and the initial load torque of the motor belt is 10 N∙m. When the simulation model is carried out to 0.5 s, the speed of the motor is suddenly changed to 3500 r/min. Figure 18 and Figure 19 show the speed response curves of the two algorithms. Figure 20 and Figure 21 show the torque response curves of the two algorithms.
As can be seen in Figure 18 and Figure 19, under the same working conditions, due to the change of PMSM inductance parameters, the STSM−MRAS algorithm still has a small overshoot after startup and speed change and can quickly reach the given speed value. It reaches the stable state faster than the traditional MRAS algorithm. As can be seen in Figure 20 and Figure 21, when the inductance parameters of PMSM are perturbed, in the case of motor start and speed mutation, then compared with the traditional MRAS algorithm, the STSM−MRAS algorithm has a smaller overshoot and is relatively fast in reaching the stable state. In conclusion, the STSM−MRAS algorithm has better robustness than the traditional MRAS algorithm.

6. Conclusions

In this paper, the position and speed estimation method of the MRAS rotor based on stator current is analyzed theoretically. The reference model equation and adjustable model equation are derived according to the stator current equation. The correctness of the selected linear compensator matrix is strictly proved. Based on Popov’s super stability theory, the speed adaptive law is derived and its asymptotic stability is proved. Based on the voltage closed-loop feedback MTPA weak magnetic control system and the principle of MRAS, a simulation model of MRAS control based on stator current is built. Aiming to solve the problem that the PI adaptive law in the traditional MRAS algorithm is not robust, super-twisting sliding mode control is introduced to replace the PI adaptive law. The MRAS observer based on super-twisting sliding mode is designed and the asymptotic stability of the system is proved according to Lyapunov function. Under certain working conditions, the STSM−MRAS algorithm and the traditional MRAS algorithm are simulated and compared. The results show that the STSM−MRAS algorithm can improve the steady-state performance and robustness of sensorless control system. The disadvantage of the STSM−MRAS algorithm is that it is complicated in principle and is difficult to apply in engineering practice. In the future, we hope to improve this algorithm and simplify the principle, so that the application level of the algorithm can be more extensive. Unfortunately, the paper only carried out simulation verification on the simulation platform without experimental verification. The next step is to carry out experimental verification through the platform test.

Author Contributions

Conceptualization, H.Q. and H.Z.; methodology, H.Q.; software, H.Q.; validation, H.Q., L.M. and T.M.; formal analysis, L.M.; investigation, Z.Z.; resources, H.Z.; data curation, Z.Z.; writing—original draft preparation, H.Q.; writing—review and editing, H.Q.; visualization, T.M.; supervision, L.M.; project administration, H.Z.; funding acquisition, Z.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hezzi, A.; Bensalem, Y.; Ben Elghali, S.; Naceur Abdelkrim, M. Sliding Mode Observer based sensorless control of five phase PMSM in electric vehicle. In Proceedings of the 2019 19th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), Sousse, Tunisia, 24–26 March 2019. [Google Scholar]
  2. Zhao, K.; Yin, T.; Zhang, C.; He, J.; Li, X.; Chen, Y.; Zhou, R.; Leng, A. Robust Model-Free Nonsingular Terminal Sliding Mode Control for PMSM Demagnetization Fault. IEEE Access 2019, 7, 15737–15748. [Google Scholar] [CrossRef]
  3. Gu, D.; Yao, Y.; Zhang, D.M.; Cui, Y.B.; Zeng, F.Q. Matlab/Simulink Based Modeling and Simulation of Fuzzy PI Control for PMSM. Procedia Comput. Sci. 2020, 166, 195–199. [Google Scholar] [CrossRef]
  4. Sarsembayev, B.; Suleimenov, K.; Do, T.D. High Order Disturbance Observer Based PI-PI Control System With Tracking Anti-Windup Technique for Improvement of Transient Performance of PMSM. IEEE Access 2021, 9, 66323–66334. [Google Scholar] [CrossRef]
  5. Guo, Q.; Pan, T.; Liu, J.; Chen, S. Explicit model predictive control of permanent magnet synchronous motors based on multi-point linearization. Trans. Inst. Meas. Control 2021, 43, 2872–2881. [Google Scholar] [CrossRef]
  6. Wang, Y.; Yu, H.; Che, Z.; Wang, Y.; Liu, Y. The Direct Speed Control of Pmsm Based on Terminal Sliding Mode and Finite Time Observer. Processes 2019, 7, 624. [Google Scholar] [CrossRef]
  7. Li, L.; Xiao, J.; Zhao, Y.; Liu, K.; Peng, X.; Luan, H.; Li, K. Robust position anti-interference control for PMSM servo system with uncertain disturbance. CES Trans. Electr. Mach. Syst. 2020, 4, 151–160. [Google Scholar] [CrossRef]
  8. Nicola, M.; Nicola, C.-I. Sensorless Fractional Order Control of PMSM Based on Synergetic and Sliding Mode Controllers. Electronics 2020, 9, 1494. [Google Scholar] [CrossRef]
  9. Gao, X.; Sun, B.; Hu, X.; Zhu, K. Echo State Network for Extended State Observer and Sliding Mode Control of Vehicle Drive Motor with Unknown Hysteresis Nonlinearity. Math. Probl. Eng. 2020, 2020, 2534038. [Google Scholar] [CrossRef]
  10. Liu, K.; Hou, C.; Hua, W. A Novel Inertia Identification Method and Its Application in PI Controllers of PMSM Drives. IEEE Access 2019, 7, 13445–13454. [Google Scholar] [CrossRef]
  11. Zhao, Y.; Liu, X.; Zhang, Q. Predictive Speed-Control Algorithm Based on a Novel Extended-State Observer for PMSM Drives. Appl. Sci. 2019, 9, 2575. [Google Scholar] [CrossRef] [Green Version]
  12. Xu, W.; Jiang, Y.; Mu, C.; Blaabjerg, F. Improved Nonlinear Flux Observer-Based Second-Order SOIFO for PMSM Sensorless Control. IEEE Trans. Power Electron. 2018, 34, 565–579. [Google Scholar] [CrossRef]
  13. Gao, P.; Zhang, G.; Lv, X. Model-Free Control Using Improved Smoothing Extended State Observer and Super-Twisting Nonlinear Sliding Mode Control for PMSM Drives. Energies 2021, 14, 922. [Google Scholar] [CrossRef]
  14. Gao, P.; Zhang, G.; Lv, X. Model-Free Hybrid Control with Intelligent Proportional Integral and Super-Twisting Sliding Mode Control of PMSM Drives. Electronics 2020, 9, 1427. [Google Scholar] [CrossRef]
  15. Quynh, N.V. The Fuzzy PI Controller for PMSM’s Speed to Track the Standard Model. Math. Probl. Eng. 2020, 2020, 1698213. [Google Scholar] [CrossRef]
  16. Fnaiech, M.; Guzinski, J.; Trabelsi, M.; Kouzou, A.; Benbouzid, M.; Luksza, K. MRAS-Based Switching Linear Feedback Strategy for Sensorless Speed Control of Induction Motor Drives. Energies 2021, 14, 3083. [Google Scholar] [CrossRef]
  17. Dybkowski, M.; Orlowska-Kowalska, T.; Tarchała, G. Sensorless Traction Drive System with Sliding Mode and MRASCC Estimators using Direct Torque Control. Automatika 2013, 54, 329–336. [Google Scholar] [CrossRef]
  18. Zbede, Y.B.; Gadoue, S.M.; Atkinson, D.J. Model Predictive MRAS Estimator for Sensorless Induction Motor Drives. IEEE Trans. Ind. Electron. 2016, 63, 3511–3521. [Google Scholar] [CrossRef]
  19. Asfu, W.T. Stator Current-Based Model Reference Adaptive Control for Sensorless Speed Control of the Induction Motor. J. Control Sci. Eng. 2020, 2020, 8954704. [Google Scholar] [CrossRef]
  20. Zhou, K.; Ai, M.; Sun, Y.; Wu, X.; Li, R. PMSM Vector Control Strategy Based on Active Disturbance Rejection Controller. Energies 2019, 12, 3827. [Google Scholar] [CrossRef]
  21. Tian, Y.; Chai, Y.; Feng, L. Simultaneous Load Disturbance Estimation and Speed Control for Permanent Magnet Synchronous Motors in Full Speed Range. Appl. Sci. 2020, 10, 9006. [Google Scholar] [CrossRef]
  22. Qu, L.; Qiao, W.; Qu, L. An Enhanced Linear Active Disturbance Rejection Rotor Position Sensorless Control for Permanent Magnet Synchronous Motors. IEEE Trans. Power Electron. 2019, 35, 6175–6184. [Google Scholar] [CrossRef]
  23. Choi, K.; Kim, Y.; Kima, K.-S.; Kimb, S.-K. Using the Stator Current Ripple Model for Real-Time Estimation of Full Parameters of a Permanent Magnet Synchronous Motor. IEEE Access 2019, 7, 33369–33379. [Google Scholar] [CrossRef]
  24. Rui, Z.; Xinhong, X.; Lianbo, C.; Shifeng, G.; Yanhui, Z.; Daoqi, L.; Wei, F. Design of PI Controller for PMSM using Chaos Particle Swarm Optimization Algorithm. IOP Conf. Ser. Mater. Sci. Eng. 2020, 717, 012021. [Google Scholar] [CrossRef]
  25. Shao, M.; Deng, Y.; Li, H.; Liu, J.; Fei, Q. Sliding Mode Observer-Based Parameter Identification and Disturbance Compensation for Optimizing the Mode Predictive Control of PMSM. Energies 2019, 12, 1857. [Google Scholar] [CrossRef]
  26. Wang, A.; Wei, S. Sliding Mode Control for Permanent Magnet Synchronous Motor Drive Based on an Improved Exponential Reaching Law. IEEE Access 2019, 7, 146866–146875. [Google Scholar] [CrossRef]
  27. Yiguang, C.; Chenghan, L.; Zhenmao, B.; Xiaobin, Z. Modified Super-Twisting Algorithm with an Anti-Windup Coefficient Adopted in PMSM Speed Loop Control. Energy Procedia 2019, 158, 2637–2642. [Google Scholar] [CrossRef]
  28. Toloue, S.F.; Kamali, S.H.; Moallem, M. Multivariable sliding-mode extremum seeking PI tuning for current control of a PMSM. IET Electr. Power Appl. 2020, 14, 348–356. [Google Scholar] [CrossRef]
  29. Zhang, M.; Xiao, F.; Shao, R.; Deng, Z. Robust Fault Detection for Permanent-Magnet Synchronous Motor via Adaptive Sliding-Mode Observer. Math. Probl. Eng. 2020, 2020, 9360939. [Google Scholar] [CrossRef]
  30. Gao, P.; Lv, X.; Ouyang, H.; Mei, L.; Zhang, G. A Novel Model-Free Intelligent Proportional-Integral Supertwisting Nonlinear Fractional-Order Sliding Mode Control of PMSM Speed Regulation System. Complexity 2020, 2020, 8405453. [Google Scholar] [CrossRef]
  31. Zhao, K.; Yin, T.; Zhang, C.; Li, X.; Chen, Y.; Li, T.; He, J. Sliding mode-based velocity and torque controllers for permanent magnet synchronous motor drives system. J. Eng. 2019, 2019, 8604–8608. [Google Scholar] [CrossRef]
  32. Guoqing, Z.; Xinhong, X.; Yousheng, Z.; Yanhui, Z.; Lianbo, C.; Xinyu, W.; Wei, F. Research on Position Sensorless Control of PMSM Based on Improved SMO. IOP Conf. Ser. Mater. Sci. Eng. 2019, 533, 012019. [Google Scholar] [CrossRef]
  33. Urbanski, K.; Janiszewski, D. Sensorless Control of the Permanent Magnet Synchronous Motor. Sensors 2019, 19, 3546. [Google Scholar] [CrossRef] [PubMed]
  34. Jiang, J.; Zhou, X. A robust and fast sliding mode controller for position tracking control of permanent magnetic synchronous motor. E3S Web Conf. 2019, 95, 03002. [Google Scholar] [CrossRef]
  35. Zaihidee, F.M.; Mekhilef, S.; Mubin, M. Robust Speed Control of PMSM Using Sliding Mode Control (SMC)—A Review. Energies 2019, 12, 1669. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Equivalent winding diagram of PMSM in d-q coordinate system. (a) d axis equivalent circuit. (b) q axis equivalent circuit.
Figure 1. Equivalent winding diagram of PMSM in d-q coordinate system. (a) d axis equivalent circuit. (b) q axis equivalent circuit.
Electronics 11 03046 g001
Figure 2. Basic structure of model reference adaptive control system.
Figure 2. Basic structure of model reference adaptive control system.
Electronics 11 03046 g002
Figure 3. Structure diagram of equivalent nonlinear feedback system.
Figure 3. Structure diagram of equivalent nonlinear feedback system.
Electronics 11 03046 g003
Figure 4. Block diagram of MRAS rotor position and speed estimation system.
Figure 4. Block diagram of MRAS rotor position and speed estimation system.
Electronics 11 03046 g004
Figure 5. Block diagram of MRAS control system based on stator current.
Figure 5. Block diagram of MRAS control system based on stator current.
Electronics 11 03046 g005
Figure 6. Simulation model of MRAS control system based on stator current.
Figure 6. Simulation model of MRAS control system based on stator current.
Electronics 11 03046 g006
Figure 7. Block diagram of rotor position and speed estimation system.
Figure 7. Block diagram of rotor position and speed estimation system.
Electronics 11 03046 g007
Figure 8. Block diagram of STSM−MRAS control system.
Figure 8. Block diagram of STSM−MRAS control system.
Electronics 11 03046 g008
Figure 9. Simulation model of STSM−MRAS control system.
Figure 9. Simulation model of STSM−MRAS control system.
Electronics 11 03046 g009
Figure 10. Simulation waveform of motor speed when speed mutation occurs. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 10. Simulation waveform of motor speed when speed mutation occurs. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g010
Figure 11. Simulation waveform of motor speed error with speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 11. Simulation waveform of motor speed error with speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g011
Figure 12. Simulation waveform of rotor position under speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 12. Simulation waveform of rotor position under speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g012
Figure 13. Simulation waveform of rotor position error with speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 13. Simulation waveform of rotor position error with speed mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g013
Figure 14. Simulation waveform of motor speed under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 14. Simulation waveform of motor speed under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g014
Figure 15. Simulation waveform of motor speed error under load torque mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 15. Simulation waveform of motor speed error under load torque mutation. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g015
Figure 16. Simulation waveform of rotor position under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 16. Simulation waveform of rotor position under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g016
Figure 17. Simulation waveform of rotor position error under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Figure 17. Simulation waveform of rotor position error under sudden change of load torque. (a) Traditional MRAS algorithm. (b) STSM−MRAS algorithm.
Electronics 11 03046 g017
Figure 18. Speed response curve of MRAS algorithm.
Figure 18. Speed response curve of MRAS algorithm.
Electronics 11 03046 g018
Figure 19. Speed response curve of STSM−MRAS algorithm.
Figure 19. Speed response curve of STSM−MRAS algorithm.
Electronics 11 03046 g019
Figure 20. Torque response curve of MRAS algorithm.
Figure 20. Torque response curve of MRAS algorithm.
Electronics 11 03046 g020
Figure 21. Torque response curve of STSM−MRAS algorithm.
Figure 21. Torque response curve of STSM−MRAS algorithm.
Electronics 11 03046 g021
Table 1. IPMSM parameters.
Table 1. IPMSM parameters.
Parameter (Unit)Value
stator resistance R0.958
d axis inductance Ld/mH5.25
q axis inductance Lq/mH12
number of pole-pairs P4
magnet flux linkage ψ f /Wb0.1827
moment of Inertia J/(kg∙m2)0.003
damping factor B/(N∙s∙m−1)0.008
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Qiu, H.; Zhang, H.; Min, L.; Ma, T.; Zhang, Z. Adaptive Control Method of Sensorless Permanent Magnet Synchronous Motor Based on Super-Twisting Sliding Mode Algorithm. Electronics 2022, 11, 3046. https://doi.org/10.3390/electronics11193046

AMA Style

Qiu H, Zhang H, Min L, Ma T, Zhang Z. Adaptive Control Method of Sensorless Permanent Magnet Synchronous Motor Based on Super-Twisting Sliding Mode Algorithm. Electronics. 2022; 11(19):3046. https://doi.org/10.3390/electronics11193046

Chicago/Turabian Style

Qiu, Haonan, Hongxin Zhang, Lei Min, Tianbowen Ma, and Zhen Zhang. 2022. "Adaptive Control Method of Sensorless Permanent Magnet Synchronous Motor Based on Super-Twisting Sliding Mode Algorithm" Electronics 11, no. 19: 3046. https://doi.org/10.3390/electronics11193046

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