Next Article in Journal
Word-Based Systolic Processor for Field Multiplication and Squaring Suitable for Cryptographic Processors in Resource-Constrained IoT Systems
Previous Article in Journal
Simplified Swarm Optimization for the Heterogeneous Fleet Vehicle Routing Problem with Time-Varying Continuous Speed Function
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nonsingular Terminal Sliding Mode Control of PMSM Based on Improved Exponential Reaching Law

1
School of Electrical and Electronic Engineering, Changchun University of Technology, Changchun 130000, China
2
State Key Laboratory of Automobile Simulation and Control, Jilin University, Changchun 130000, China
*
Author to whom correspondence should be addressed.
Submission received: 12 May 2021 / Revised: 13 July 2021 / Accepted: 22 July 2021 / Published: 24 July 2021
(This article belongs to the Section Systems & Control Engineering)

Abstract

:
When a permanent magnet synchronous motor runs at low speed, the inverter will output discontinuous current and generate torque ripple; when the motor is runs at high speed, a large amount of stator harmonic current generates, which affects its speed following ability and torque stability. To ensure the fast and smooth switching of a permanent magnet synchronous motor in the full speed domain, this paper proposes the nonsingular terminal sliding mode control of PMSM speed control based on the improved exponential reaching law. Firstly, the improved exponential reaching law is composed of the state variables and power terms of the sliding mode surface functions. The reaching law function is designed in sections to balance the fast dynamic response of the system and chattering control. Secondly, an improved exponential reaching law based on the sliding mode control strategy of the PMSM speed loop is proposed. By designing the initial value of the integral term in the nonsingular terminal sliding mode surface function, the initial state of the system is located on the sliding mode surface. The integral sliding mode surface is used to reduce the system steady-state error, while the proposed sliding mode reaching law is used to increase the arrival speed and suppress system chattering, ultimately affecting modeling error problems, complex working conditions, and uncertainty factors. This paper proposes a sliding mode observer based on an improved exponential reaching law to compensate for the disturbances. Lyapunov stability theory can prove that this system can make the speed tracking error converge to zero in finite time. Hardware-in-the-loop experiments were used to validate the effectiveness of the proposed method.

1. Introduction

The traditional motor drive mode is that of a motor plus a reducer. The existence of the reducer not only increases the overall energy consumption of the transmission system, but also reduces the stability and reliability of the transmission system. PMSMs have the advantages of small torque ripple, high efficiency, simple structure, small size, etc., so they are widely used in direct drive systems [1,2,3,4]. A direct drive system can reduce the intermediate links of the transmission system (such as reducers, coupling, etc.), and “near zero transmission” can be achieved. However, because a direct drive system does not have a transmission mechanism, disturbance on the load side will affect the stability of the PMSM speed control system. In addition, because the PMSM is a complex system of nonlinear, strong coupling, and multivariable systems, it also has problems such as modeling errors, complex operating conditions, and uncertain factors. The control performance and reliability of the PMSM will directly affect the stable operation of the entire system. Therefore, a PMSM need a robust control strategy to improve the anti-disturbance ability of the motor.
At present, to make PMSM suitable for various and complicated applications, higher requirements have bene put forward for its speed regulation system. The common control algorithms include fuzzy control [5,6], predictive control [7,8], adaptive control [9,10,11], and sliding mode control [12,13,14,15], etc. In [5], the researchers designed a fuzzy logic speed controller which not only improved the ability to suppress torque pulsation but also improved the dynamic quality of the speed control system. In [7], the researchers proposed a continuous control set sliding mode predictive control for a PMSM speed control system. In [8], the researchers proposed a model prediction method to overcome the limitations of the motion control of an unconstrained PMSM. In [10], the researchers adopted adaptive fault-tolerant control to ensure the normal operation of the actuator when it failed. In [11], the researchers proposed a combination of neural networks and adaptive control for the application of improved speed following. In [11,12,13,14,15,16], the researchers proposed that integral sliding mode control [12], fuzzy sliding mode control [13], terminal sliding mode control [14,15], and backstepping sliding mode control [16], respectively, all can be used for the speed control of a PMSM. In [12], the researchers proposed a memorial and memory-based integral sliding mode control and applied it to motor control. In [13], the researchers proposed a robust fuzzy neural network sliding mode control method for the control of permanent magnet linear motors. In [14], the researchers proposed a terminal sliding mode control that was applied to uncertain dynamic systems, but their systems suffered from singularity problems. Therefore, in [17], the researchers designed a nonsingular terminal sliding mode control to solve the singularity problems of the system, and it was analyzed, inferred, and proven in detail. In [18], the researchers proposed an adaptive second-order nonsingular terminal sliding mode method which was applied to the trajectory tracking of autonomous underwater vehicles. Compared to other control methods, the sliding mode of the system was designed independently, so it is not affected by parameter disturbances or external disturbances. The NTSM has the advantages of fast dynamic response, finite time convergence, and high steady-state accuracy, so it is widely used in the field of high precision control.
However, the superior performance of sliding mode control is traded for high-frequency chattering, which is directly associated with the switching function contained in the reaching law. Different approaches had been developed to suppress chattering, such as the higher-order sliding mode [19,20], adaptive algorithms [21,22], the researchers prposed disturbance observers [23,24,25] and reaching law methods [26,27,28,29]. In [19,20], the researchers proposed a high-order sliding mode control strategy and gave a detailed overview. The discontinuous control in the higher-order sliding mode control is hidden in its higher-order derivatives, which effectively suppress chattering. But this control structure is complicated. In [22], the researchers proposed an adaptive algorithm acting on the parameter estimation of the sliding mode and provided a parametric fitting mechanism to learn the dynamic properties of the system, which made the system reach speed. In [23], the researchers proposed a control method that not only effectively improved the incompatibility between rapidity and stability, but also solved the problem that the constant rate reaching law cannot satisfy both rapidity and low chattering in the sliding mode observer. In [24,25], the researchers proposed an extended state observer to observe lumped disturbances, and the estimated disturbances were introduced into feedforward compensation technology to improve the robustness of the system. Uncertainty disturbances are the main source of chattering in sliding mode control, which can be solved by using an observer. The reaching law method is simple to design, easy to implement, and widely used. In [26], Weibing Gao proposed the reaching law and analyzed it in the three modes of sliding, arriving, and steady-state. The most applied is the exponential reaching law. This reaching law not only shortens the arrival time but also reduces the speed of the moving point when it reaches the switching surface. In [27,28], the researchers proposed a new reaching law takes the sliding mode surface as the research mechanism and designed different functions to make the exponential function adapt to changes to the sliding mode surface and state. In [29], the researchers proposed a power reaching law for electronic throttle control in automobiles. The power reaching law uses the property of exponential functions to accelerate the speed of the approach in different stages. In addition, there are other methods to suppress system chattering, such as the neural networks were used for the online approximation of interference to reduce the gain of switching items [30], multi-objective optimization of sliding modes [31], etc.
Aiming at PMSM starting speed overshoot, sudden speed changes are caused by the slow dynamic response and other problems. In this paper, an improved exponential reaching law was proposed based on [27], which is used to improve the transient response time and anti-disturbance performance of a PMSM speed regulation system. A speed controller was designed using an improved exponential reaching law. When the uncertainties in the system could not be measured, a sliding mode observer was proposed to achieve the estimation of disturbances. The other parts of this paper are organized as follows: in Section 2, an improved exponential reaching law is designed. Section 3 presents the mathematical model of the PMSM with uncertainty disturbance and designs the speed controller using an improved exponential reaching law. In Section 4, the SMO is designed using the improved exponential reaching law. Section 5 compares the proposed method with simulations. Section 6 concludes with a summary.

2. Improved Exponential Reaching Law Design

2.1. Commonly Used Sliding Mode Reaching Law

The sliding mode structure means that the system is forced to follow a certain trajectory of modal motion by purposeful and constant changes according to the current state of the system. The advantages of sliding mode control include insignificant parameter changes, external disturbance changes, fast response of the system, and simple implementation. However, the disadvantage is that the state variable cannot always move along the prescribed track. The chattering phenomenon is caused by repeated traversal on the sliding mode surface. Therefore, the reaching law method is proposed to suppress chattering, and the exponential reaching law is as follow [26]:
s ˙ = k s ε sgn ( s ) ,   ε > 0 , k > 0
where s is the sliding mode surface, sgn ( ) is the signum function, and ε , k , m are the system parameters.
In (1), when s > 0 , it can be obtained that
d s d t = k s ε
and the reaching time can be calculated by integrating (1) from 0 to t , with s ( t ) = 0
t * = 1 k { ln [ s ( 0 ) + ε k ] ln ε k }
The exponential approach rate method is widely used. However, although the accessibility problem can be solved by adding the constant velocity term ε sgn ( s ) , the exponential arrival law of the velocity to the sliding mode surface is determined by the value of the design parameter k . Therefore, it is important to balance arrival speed and suppress chattering. The chattering phenomenon and slow reaching speed in the traditional sliding mode approach law are discussed. At present, in [32], the researchers combined the exponential reaching law and single power reaching law to propose a fast power reaching law which shortens the approach time and makes the approaching process smoother, but the chattering phenomenon still exists. In [33], the researchers proposed the double-power combination function reaching law, which improved the convergence speed in the interval and avoided chattering. The reaching law of [33] is as follows:
s ˙ = k 1 f a l ( s , a , δ ) k 2 | s | b sgn ( s )
where a = 1 + γ , b = 1 γ , δ = 1 , 0 < γ < 1 , f a l ( s , a , δ ) = { | s | a sgn ( s ) , | s | > δ s δ 1 a , | s | δ .
Although the f a l function has a piecewise characteristic, the reaching law of the double-power combination function is faster than the traditional law of reaching, but the second term of the function term has a slower convergence rate than the first term. The convergence of the two terms of the function differs greatly, and the law of reaching cannot have the ability to adapt.

2.2. Proposed Improved Exponential Reaching Law

Based on the above analysis, this paper proposes a segmented rate adjustment sliding mode reaching law, which performs segmented rate adjustment to increase the rate of the system.
In this paper, a segmented rate adjustment sliding mode reaching law is designed as:
{ s ˙ = ε | x | a sgn ( s ) k H ( s ) s , H ( s ) = | s | b · sgn ( | s | 1 | s | + 1 ) lim t | x | = 0 ,   ε > 0 ,   k > 0 ,   1 > a > 0 ,   1 > b > 0 .
where x is the state variable of the system.
When s < ( | s | + 1 ) 1 , s > ( | s | + 1 ) 1 , s ˙ = ε | x | a sgn ( s ) k | s | b s . Among them, ε | x | a sgn ( s ) is the variable speed reaching law, and k | s | b s is the variable index reaching law. This means that when the system approaches the sliding mode surface, the reaching law rate increases and the chattering is suppressed. When ( | s | + 1 ) 1 < s < ( | s | + 1 ) 1 , s ˙ = ε | x | a sgn ( s ) k | s | b s . Among them, the variable index reaching law is k | s | b s . Moreover, k | s | b s > k | s | b s , which increases the arrival speed. It realizes the function of adaptive adjustment according to different stages in the process of system approach, greatly improves the reaching speed of the system, and has the characteristics of global finite time convergence.
Theorem 1.
For the sliding mode reaching law (5), the system state s converges to the equilibrium zero under its action.
Proof. 
According to Equation (5), we can get:
s s ˙ = ε | x | a s 2 k H ( s ) s 2 0
if s = 0 , there is s s ˙ = 0 .
According to the existence and reachability conditions of the continuous system sliding mode, if s s ˙ 0 is satisfied, the reaching law exists, and the equilibrium point s = 0 , s ˙ = 0 can be reached. □
Theorem 2.
For Equation (5), suppose the initial state of s is s ( 0 ) , then the state s converges to 0 within the finite time t , and the upper limit of t is [ t 1 + t 2 ] .
Where t 1 = ( ε | x | a ) 1 arctan ( k s ( 0 ) / ε | x | ) , t 2 = s ( 0 ) ( ε | x | a ) 1 .
Proof. 
When s < ( | s | + 1 ) 1 , s > ( | s | + 1 ) 1 , Equation (5) can be expressed as:
d s d t 1 = ε | x | a k s b + 1 d t 1 = ( ε | x | a k s b + 1 ) 1 d s
When s ( t 1 ) = 0 , it can be seen that the system will reach the sliding mode surface in finite time by integrating Equation (7) from t = 0 to t = t 1 :
0 t 1 d t 1 = 0 t 1 ( ε | x | a ) 1 [ 1 + ( k s ( 0 ) b + 1 / ε | x | a ) ] 1 d s
Because ε > 0 ,   k > 0 ,   1 > b > 0 , a = 2 in Equation (8), it can be rewritten as:
0 t 1 d t 1 0 t 1 ( ε | x | a ) 1 [ 1 + ( k s ( 0 ) / ε | x | ) 2 ] 1 d s t 1 ( ε | x | a ) 1 arctan ( k s ( 0 ) / ε | x | )
When ( | s | + 1 ) 1 < s < ( | s | + 1 ) 1 , Equation (5) can be expressed as:
d s d t 2 = ε | x | a k s b 1 d t 2 = ( ε | x | a k s b 1 ) 1 d s
When s ( t 2 ) = 0 , it can be seen that the system will reach the sliding mode surface in finite time by integrating (10) from t = 0 to t = t 2 :
0 t 2 d t 2 = 0 t 2 ( ε | x | a k s ( 0 ) b 1 ) 1 d s
Because 1 > b > 0 in Equation (11), it can be rewritten as:
0 t 2 d t 2 ( ε | x | a ) 1 d s ,   t 2 s ( 0 ) ( ε | x | a ) 1
Therefore, when the initial state is not in the sliding mode surface, i.e., s ( 0 ) 0 , the time taken for the initial state to reach the sliding mode surface is:
t = t 1 + t 2 ( ε | x | a ) 1 arctan ( k s ( 0 ) / ε | x | ) + s ( 0 ) ( ε | x | a ) 1
In summary, the convergence time of the reaching law (5) is less than [ t 1 + t 2 ] . □

2.3. Discrete Form of NSMRL

In engineering applications, real-time computer control is a discrete control system. From the perspective of discrete analysis, when s is close to 0, the discrete form of NSMRL is given, and the performance of the exponential reaching law in the discrete state is compared. In a discrete system, the sliding mode surface function is designed as follows:
s ( k ) = C x ( k )
where C = [ c 1 c n ] , c n = 1 .
Next, the switching band surrounding the switching surface is represented as follows:
S Δ = { x R n | Δ < s ( x ) = c x < + Δ }
If s is close to 0, the improved exponential reaching law proposed by Equation (5) can be simplified to s ˙ ε | x | a sgn ( s ) , and the discrete expression is as follows:
s ( n + 1 ) s ( n ) = ε T | x | α sgn ( s ( n ) )
where T represents the sampling period.
Assuming that the system gradually reaches the sliding surface in a finite time, this indicates that the system will reach the sliding surface in two situations s ( n ) = 0 + or s ( n ) = 0 , then the equation of the next period can be obtained with s ( n ) = 0 +
s ( n + 1 ) = ε T | x | α
Similarly, when s ( n ) = 0 , Equation (16) can be expressed as:
s ( n + 1 ) = ε T | x | α
Through Equations (17) and (18), the thickness ξ of the discrete improved exponential reaching law for (16) is:
ξ = 2 ε T | x | α
Then, the switch thickness ξ 1 of the traditional sliding mode reaching law is expressed as:
ξ 1 = 2 ε 1 T
Combining Figure 1, it can be seen that the improved exponential sliding mode reaching law, due to the introduction of the power of the state variable, enables the system to stably reach the origin and cause smaller chattering.
On the other hand, for the PMSM speed regulation system, the speed of the motor follows its ideal value rapidly and stably, which is an important performance index of the control system. In this paper, the speed error x is directly used in the design of the reaching speed of the sliding mode, and it can accelerate the rate of the system state variable reaching the sliding mode surface and reduce chattering.

2.4. Simulation Analysis

To verify the dynamic properties of the proposed sliding mode reaching law (5), the second-order nonlinear system is established as follows:
{ x ˙ 1 = x 2 x ˙ 2 = 20 x 2 + 130 u ( t ) + 10 sin ( π t )
The sliding mode surface function s is described as follows:
s = c x 1 + x 2
where c > 0 satisfies system stability.
The derivative of the sliding mode surface is obtained as follows:
s ˙ = c x ˙ 1 + x ˙ 2 = c x 2 20 x 2 + 130 u ( t ) + sin ( π t )
Using the reaching law in (5) and substituting it into (23), the control input of (21) can be obtained as follows:
u ( t ) = 1 130 [ 20 x 2 + c x 2 + ε | x | a sgn ( s ) + k H ( s ) s + 10 sin ( π t ) ]
To verify the dynamic performance of the NSMRL, the ESMRL and the reaching law in [27] were selected for comparison experiments, where k > 0 , δ > 0 and 1 > ε > 0 , and the controller parameters were a = 0.3 , b = 0.4 , c = 15 , ε = 10 , and k = 20 , δ = 10 . The initial state of the system [ x 10 , x 20 ] = [ 2 , 2 ] .
Figure 2a–c shows the performance comparison among NSMRL, ESMRL, and [27]. We can conclude that NSMRL has the advantages of fast arrival speed and smooth controller output.

3. NSMRL Design for PMSM Speed Controller

3.1. PMSM Mathematical Model

In a rotor synchronous coordinate system, time-varying parameters such as voltage and permanent magnet chain are transformed into nontime-varying parameters, and the following equations can be established according to the basic characteristics of the motor [34]:
{ u d = R i d + L d d i d d t p w L q i q u q = R i q + L q d i q d t + p w ( L d i d + ψ f )
where u d , u q are the voltages of the d q -axes, i d , i q are the stator current, L d , L q are the inductance of the stator, p is the number of poles pairs, and ψ f the flux linkage.
The torque equation of PMSM is:
T e = 3 2 p [ ψ f i q + ( L d L q ) i d i q ]
The motion equation of PMSM is:
J d w d t = T e B w T L
where T e is the torque, T L is the load torque of the motor, J is the moment of inertia, and B is the viscous damping coefficient.
And (25) can be rewritten as:
d i q d t = 1 L q ( R i q p w L d i d p w ψ f + u q )
Combining (25) and (26) can be written as:
d w d t = 3 p 2 J [ ψ f i q + ( L d L q ) i d i q ] 1 J B w 1 J T L
For surface-mounted motors L d = L q , and considering parameters and external disturbances, (29) can be rewritten as:
d w d t = ( 3 p ψ f 2 J + Δ a ) i q ( B J + Δ b ) w ( 1 J + Δ c ) T L + Δ d
where Δ a , Δ b , Δ c , Δ d are external disturbances.
Selecting the parameter g ( t ) , the expression is as follows:
g ( t ) = 3 p ψ f 2 J Δ a i q Δ b w Δ c ( T L + Δ d )
Because the motor variables are bounded, the total system disturbance g ( t ) satisfies the following equation:
| g ( t ) | l r
where l r is the limit value of the total system disturbance.
Therefore, (30) can be rewritten as:
d w d t = 3 p ψ f 2 J i q B J w 1 J g ( t )
Taking the system state variable:
{ x 1 = w * w x 2 = w ˙ * w ˙
where w * is the reference speed, and w is the actual speed.
Substituting (33) into (34), the expression of the equation of the PMSM is obtained when the effect of parameter uncertainty is considered:
x 2 = x ˙ 1 = w ˙ * w ˙ = w ˙ * 3 p ψ f 2 J i q + B J w + 1 J g ( t )

3.2. NSMRL for PMSM Speed Controller

To avoid the singularity problems of TSM, a nonsingular integral type terminal sliding mode surface was selected in this paper [35]:
s = x 1 + α x 1 p q d t
where 0 < α , 1 < p / q < 2 .
Then, the derivative of (36) is:
s ˙ = x ˙ 1 + α x 1 p q
Substituting the NSMRL (5) into (37), we obtain
ε | x | a sgn ( s ) k H ( s ) s = w ˙ * 3 p ψ f 2 J i q + B J w + 1 J g ( t ) + α x 1 p q
Obtain the control amount i q :
i q = 2 J 3 p ψ f [ w ˙ * + ε | x | a sgn ( s ) + k H ( s ) s + B J w + 1 J g ( t ) + α x 1 p q ]
Because of the unmeasurable speed and disturbances, (38) can be rewritten as:
i q = 2 J 3 p ψ f [ w ˙ * + ε | x | a sgn ( s ) + k H ( s ) s + B J w ^ + 1 J g ^ ( t ) + α x 1 p q ]

4. The Sliding Mode Observer Based on NSMRL

4.1. Design of the SMO

Because of the uncertainty of parameters, external disturbances, and other factors, the SMO is designed. In the PMSM vector control, the load torque variation can be regarded as constant during the control cycle because the control cycle is short, and the load disturbance changes slowly compared with the current and speed, i.e., T ˙ L = 0 .
Choosing the speed w and the system disturbance g ( t ) as the state variables, torque T e as the system input, and w as the system output, the SMO equations can be described as:
[ w ˙ g ˙ ( t ) ] = [ B J 1 J 0 0 ] [ w g ( t ) ] + [ 1 J 0 ] T e
The speed and system disturbances are the observation objects, so (40) can be written as:
[ w ^ ˙ g ^ ˙ ( t ) ] = [ B J 1 J 0 0 ] [ w ^ g ^ ( t ) ] + [ 1 J 0 ] T e + [ z 1 0 0 z 2 ] [ η e w η e g ]
where w ^ and g ^ ( t ) are estimated values, z1 and z2 are the observer gain, and [ η e w η e g ] T are the sliding mode rate of the SMO.
Define the observation error of the observer:
[ e w e g ] = [ w w ^ g ( t ) g ^ ( t ) ]
The integral sliding mode surface is selected for the SMO:
s 1 = [ s w s g ] = [ e w + β 1 e w d t e g + β 2 e g d t ]
The sliding mode rate of the SMO is designed:
[ η e w η e g ] = [ e w z 1 s w ( B J s w + β 1 s w + B J s ) + ε | x | a sgn ( s ) e g z 2 s g ( 1 J s w + β 2 s g + 1 J s ) + ε | x | a sgn ( s ) ]

4.2. Stability Analysis

To verify that the sliding mode observer (41) and sliding mode control strategy (5) can effectively estimate the system error and achieve fast tracking of the ideal speed, the Lyapunov stability function can be described as:
V = V 1 + V 2
where V 1 = 1 2 s 2 , V 2 = 1 2 s 1 2 .
Then, the derivative of V 1 is:
V ˙ 1 = s s ˙ = s ( x ˙ 1 + α x 1 p q ) = s [ w ˙ * 3 p ψ f 2 J i q + B J w + 1 J g ( t ) + α x 1 p q ]
Substituting (39) into (46):
V ˙ 1 = s [ w ˙ * w ˙ * ε | x | a sgn ( s ) k H ( s ) s B J w ^ 1 J g ^ ( t ) α x 1 p q + B J w + 1 J g ( t ) + α x 1 p q ] = s ( ε | x | a sgn ( s ) k H ( s ) s ) + B J s e w + 1 J s e g = ε | x | a | s | k H ( s ) s 2 + B J s e w + 1 J s e g B J s e w + 1 J s e g
Then, the derivative of V 2 is:
V ˙ 2 = s 1 T s ˙ 1 = [ s w s g ] [ e ˙ w + β 1 e w e ˙ g + β 2 e g ] = [ s w s g ] [ w ˙ w ^ ˙ + β 1 e w g ˙ g ^ ˙ + β 2 e g ]
Assuming that g is a slow-varying signal ( g ˙ = 0 ), (41) can be rewritten as:
[ w ^ ˙ g ^ ˙ ( t ) ] = [ B J w ^ 1 J g ^ ( t ) + T e J + z 1 η e w z 2 η e g ]
Substituting (49) into (48):
V 2 = [ s w s g ] [ w ˙ w ^ ˙ + β 1 e w g ^ ˙ + β 2 e g ] = [ s w s g ] [ w ˙ + B J w ^ + 1 J g ^ ( t ) + 1 J T e + z 1 η e w + β 1 e w z 2 η e g + β 2 e g ]
Substituting (33) and (26) into (49):
V ˙ 2 = s w ( 3 p ψ f 2 J i q B J w 1 J g ( t ) + B J w ^ + 1 J g ^ ( t ) 3 p ψ f 2 J i q z 1 η e w + β 1 e w ) + s g ( z 2 η e g + β 2 e g ) = s w ( B J e w 1 J e g z 1 η e w + β 1 e w ) + s g ( z 2 η e g + β 2 e g ) = B J e w s w 1 J e g s w z 1 η e w s w + β 1 e w s w z 2 η e g s g + β 2 e g s g = e w ( B J s w + β 1 s w ) z 1 η e w s w + e g ( 1 J s w + β 2 s g ) z 2 η e g s g
Combining (44), (46), and (50), we can obtain that V ˙ = V ˙ 1 + V ˙ 2 0 .
From Lyapunov’s stability theorem, V ˙ 0 ensures the stability of the designed SMO in terms of tracking error and achieves reaching in finite time to achieve the ideal speed.

5. Experimental Validation

To verify the effectiveness of the method proposed in this paper, an xPC-Target-based hardware-in-the-loop testbed was built as shown in Figure 3. The testbed includes two industrial control machines, motors, and controllers. One of the IPCs was used as the host PC and equipped with the PMSM control algorithm. The Simulink model was compiled into real-time operational C code and downloaded to the target PC. Another IPC was used as the xPC target PC, running DOS-dependent xPC real-time cores to execute RTW-compiled real-time C code. The two PCs connected and communicated through TCP/IP, and the developer downloaded the Simulink model to the target PC through the host PC. The two PCs could monitor/debug the operation of the target P in real time. The important parameters of the PMSM are given in Table 1, and the controller section parameter selection was β 1 = β 2 = 20 , α = 15 ,   ε = 10 , k = 20 ,   a = 0.3 ,   b = 0.4 , z 1 = z 2 = 2.3 , and p = 5 ,   q = 3 .
The block diagram of the PMSM speed regulation system is shown in Figure 4a. The working principle of block diagram Figure 4a is as follows: Firstly, through Clarke and Park transformation of the PMSM stator, the three-phase AC ia, ib, ic, the id excitation current and the iq torque current were obtained.
Secondly, the double closed-loop system structure was used to control the speed of PMSM. The inner loop is a current loop, and PI control can eliminate the current error of the d–q axis and improve current tracking performance. By adjusting the PI controller parameters, the motor can meet the demand of rapid current response under different working conditions. The outer loop is a speed loop, and it is easily affected by load and parameter perturbation in the actual operation of the motor.
Therefore, this paper proposes an improved exponential reaching law based on the sliding mode control strategy of the PMSM speed loop to achieve speed following at start-up, given speed, and load changes.
Finally, after the current loop was adjusted, the voltage command in the d–q axis was obtained. The SVPWM space voltage vector synthesis method was used to control the motor.
The block diagram of the speed control structure is shown in Figure 4b. The state variable of the speed control system is the speed error, i.e., x 1 = w * w . The first half is the calculation of the sliding mode surface function s, and the second half is the improved exponential reaching law. This part constitutes the speed control.

5.1. Start Process

The start speed performance of the PMSM under different reaching laws was compared in detail. The reference speed was 2500 r/min, and the torque responses under PI, NSMRL, ESMRL, and [27] during the start transient process are shown in Figure 4a,b.
It can be concluded from Figure 5a,b that the start-up transient process NSMRL [27], and PI had 0.2%, 0.4%, and 2% overshoot, respectively. Moreover, the settling process of the speed response under NSMRL, ESMRL, PI, and [27] was 0.025 s, 0.06 s, 0.15 s, and 0.055 s, respectively. The speed response under Method 1 was 58.3%, 83.3%, and 54.5% faster than those of the ESMRL, PI, and [27]. Figure 4b shows that the torque chattering phenomenon under NSMRL was smaller than those of ESMRL, PI, and [27].
Furthermore, Figure 6a,b show the reference speed of 1500 r/min and torque responses, respectively.
It can be concluded from Figure 6a,b that the start-up transient process of PI, NSMRL, ESMRL, and [27] had 17.3%, 0.16%, 14.7%, and 2.4% overshoot, respectively. NSMRL had a small fluctuation but still reached the reference speed without overshoot. The speed chattering phenomenon under NSMRL+SMO was smaller than that of ESMRL, PI, or [27]. Furthermore, Figure 6b shows that the torque chattering phenomenon under NSMRL was smaller than that of ESMRL, PI, and [27]. The comparison data are listed in Table 2.

5.2. Loading Process

The speed performance of the PMSM under PI, NSMRL, ESMRL, and [27] were compared under loading conditions. The speed and torque responses were taken with a load of 20 Nm at a reference speed of 2500 r/min, as shown in Figure 7a,b.
It can be concluded from Figure 7a that because of the selection of the high speed of 2500 r/min and the large load of 20 Nm, both PI and ESMRL were unable to recover the reference speed after loading. In addition, as seen in Figure 7a, the speed dropped under NSMRL and [27] to 90 r/min and 240 r/min, respectively. Furthermore, the settling transient process of the speed responses at the loading point under NSMRL and [27] were 0.13 s and 0.37 s, respectively.
Moreover, Figure 8a,b show the load of 10 Nm at the speed of 1500 r/min responses.
It can be concluded from Figure 8a that the speed fluctuation range under PI, NSMRL, ESMRL, and [27] was ±0.1 r/min, ±1 r/min, ±1.5 r/min, and ±0.3 r/min, respectively. Figure 8b shows that the speed drops under NSMRL, EMERL, PI, and [27] were 33 r/min, 190 r/min, 95 r/min, and 75 r/min, respectively. Therefore, the NSMRL had a small steady-state error range and low torque chattering. For more visual analysis, the comparison data are listed in Table 3.

5.3. Variable Acceleration or Loading Process

The speed performances of the PMSM under PI, NSMRL, ESMRL, and [27] were compared under variable acceleration and loading responses. The speed was from 2000 r/min to 2500 r/min, and the torque was from 15 Nm to 20 Nm, as shown in Figure 9a,b.
It can be concluded from Figure 9a that the start-up transient process of NSMRL and [27] had 0.1% and 1.3% overshoot, respectively. In addition, when accelerating from 0.4 s to 2500 r/min, although there was a slight fluctuation in the speed of the NSMRL, the system could ensure that the motor reached the reference speed quickly, while the ESMRL and [27] could not reach the reference speed.
Furthermore, Figure 9b shows that the torque chattering phenomenon under NSMRL was smaller than that of ESMRL, and [27].

5.4. Speed Process under Parameter Change

The speed performance of the PMSM under four control methods with 0.5 J and 2 J parameter changes under a load of 10 Nm are shown in Figure 10a,b.
It can be concluded from Figure 10a that the speed drop under NSMRL, EMERL, PI, and [27] was 41 r/min, 206 r/min, 130 r/min, and 100 r/min, respectively. Although the speed fluctuation based on NSMRL was not the smallest at a steady-state, this method has a small speed drop and rapid recovery at a 0.5 J inertia mismatch. Furthermore, Figure 10b show that the speed drop under NSMRL, EMERL, PI, and [27] was 20 r/min, 133 r/min, 82 r/min, and 110 r/min, respectively. The comparison data are listed in Table 4.

6. Conclusions

In this paper, nonsingular terminal sliding mode control of a PMSM based on an improved exponential reaching law was proposed to solve the problems of large overshooting speed, large torque pulsation at low speed, and slow dynamic response caused by sudden change of speed and load. Firstly, the improved exponential reaching law was applied to a nonlinear system, and the validity of the reaching law was verified by quantitative analysis from three aspects, trajectory motion of the sliding mode phase, the convergence process of the state variables, and the output curve. Secondly, an improved exponential reaching law-based PMSM speed loop sliding mode control strategy was proposed to realize speed following when upstart and speed load changed. Finally, considering the effects of uncertainty factors such as speed and disturbances under different working conditions, a SMO was designed using an improved exponential reaching law. The hardwire-in-loop experiment verifies that, compared with other methods, the SMO can realize no overshoot start, small torque pulsation at low speed, improved dynamic response when the speed changed, small load speed drop when the motor operated, and small torque pulsation when the torque changed. Therefore, this control strategy helps to improve the speed control quality and suppress torque pulsation.

Author Contributions

Conceptualization, C.J. and N.Z.; methodology, Q.W.; software, Q.W.; validation, Q.W., Z.L. and N.Z.; formal analysis, N.Z.; investigation, H.D.; resources, C.J.; data curation, N.Z.; writing—original draft preparation, Q.W.; writing—review and editing, N.Z. and C.J.; funding acquisition, C.J., H.D. and N.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Haitao Ding of the National Natural Science Foundation of China, grant number U1864206, Niaona Zhang of the National Natural Science Foundation of China, grant number 2017YFB0103600 and 2017YFB0103700, Changhong Jiang of the Science and Technology Development Plan of Jilin Province, grant number 20200403037SF.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Institutional Review Board (or Ethics Committee) of Changchun University of Technology.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study. Written informed consent has been obtained from the patient(s) to publish this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Feng, G.; Lai, C.; Li, W.; Li, Z.; Kar, N.C. Efficient Permanent Magnet Temperature Modeling and Estimation for Dual Three-Phase PMSM Considering Inverter Nonlinearity. IEEE Trans. Power Electron. 2020, 35, 7328–7340. [Google Scholar] [CrossRef]
  2. Li, X.; Zhang, L.; Ying, H.; Huang, S.; Zhang, Q. Study of suppression of vibration and noise of PMSM for electric vehicles. IET Electr. Power Appl. 2020, 14, 1274–1282. [Google Scholar] [CrossRef]
  3. da Cunha, G.; Rossa, A.J.; Alves, J.A.; Cardoso, E. Control of Permanent Magnet Synchronous Machines for Subsea Applications. IEEE Trans. Ind. Appl. 2018, 54, 1899–1905. [Google Scholar] [CrossRef]
  4. Liu, X.; Chen, H.; Zhao, J.; Belahcen, A. Research on the Performances and Parameters of Interior PMSM Used for Electric Vehicles. IEEE Trans. Ind. Electron. 2016, 63, 3533–3545. [Google Scholar] [CrossRef]
  5. Wang, C.; Zhu, Z.Q. Fuzzy Logic Speed Control of Permanent Magnet Synchronous Machine and Feedback Voltage Ripple Reduction in Flux-Weakening Operation Region. IEEE Trans. Ind. Appl. 2020, 56, 1505–1517. [Google Scholar] [CrossRef]
  6. Mani, P.; Rajan, R.; Shanmugam, L.; Joo, Y.H. Adaptive Fractional Fuzzy Integral Sliding Mode Control for PMSM Model. IEEE Trans. Fuzzy Syst. 2019, 27, 1674–1686. [Google Scholar] [CrossRef]
  7. He, L.; Wang, F.; Ke, D. FPGA-Based Sliding-Mode Predictive Control for PMSM Speed Regulation System Using an Adaptive Ultralocal Model. IEEE Trans. Power Electron. 2021, 36, 5784–5793. [Google Scholar] [CrossRef]
  8. Tarczewski, T.; Grzesiak, L.M. Constrained State Feedback Speed Control of PMSM Based on Model Predictive Approach. IEEE Trans. Ind. Electron. 2016, 63, 3867–3875. [Google Scholar] [CrossRef]
  9. Nguyen, A.T.; Rafaq, M.S.; Choi, H.H.; Jung, J. A Model Reference Adaptive Control Based Speed Controller for a Surface-Mounted Permanent Magnet Synchronous Motor Drive. IEEE Trans. Ind. Electron. 2018, 65, 9399–9409. [Google Scholar] [CrossRef]
  10. Li, D.; Li, P.; Cai, W.; Song, Y.; Chen, H. Adaptive Fault-Tolerant Control of Wind Turbines with Guaranteed Transient Performance Considering Active Power Control of Wind Farms. IEEE Trans. Ind. Electron. 2018, 65, 3275–3285. [Google Scholar] [CrossRef]
  11. Chaoui, H.; Khayamy, M.; Okoye, O. Adaptive RBF Network Based Direct Voltage Control for Interior PMSM Based Vehicles. IEEE Trans. Veh. Technol. 2018, 67, 5740–5749. [Google Scholar] [CrossRef]
  12. Zhang, J.; Liu, X.; Xia, Y.; Zuo, Z.; Wang, Y. Disturbance Observer-Based Integral Sliding-Mode Control for Systems With Mismatched Disturbances. IEEE Trans. Ind. Electron. 2016, 63, 7040–7048. [Google Scholar] [CrossRef]
  13. Lin, F.; Shen, P. Robust Fuzzy Neural Network Sliding-Mode Control for Two-Axis Motion Control System. IEEE Trans. Ind. Electron. 2006, 53, 1209–1225. [Google Scholar] [CrossRef]
  14. Wu, Y.; Yu, X.; Man, Z. Terminal sliding mode control design for uncertain dynamic systems. Syst. Control. Lett. 1998, 34, 281–287. [Google Scholar] [CrossRef]
  15. Mu, C.; He, H. Dynamic Behavior of Terminal Sliding Mode Control. IEEE Trans. Ind. Electron. 2018, 65, 3480–3490. [Google Scholar] [CrossRef]
  16. Shieh, H.-J.; Shyu, K.-K. Nonlinear sliding-mode torque control with adaptive backstepping approach for induction motor drive. IEEE Trans. Ind. Electron. 1999, 46, 380–389. [Google Scholar] [CrossRef]
  17. Feng, Y.; Yu, X.; Man, Z. Non-singular terminal sliding mode control of rigid manipulators. Automatica 2002, 38, 2159–2167. [Google Scholar] [CrossRef]
  18. Qiao, L.; Zhang, W. Adaptive Second-Order Fast Nonsingular Terminal Sliding Mode Tracking Control for Fully Actuated Autonomous Underwater Vehicles. IEEE J. Ocean. Eng. 2019, 44, 363–385. [Google Scholar] [CrossRef]
  19. Li, P.; Yu, X.; Zhang, Y. The Design of Quasi-Optimal Higher Order Sliding Mode Control via Disturbance Observer and Switching-Gain Adaptation. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 4817–4827. [Google Scholar] [CrossRef]
  20. Yin, Y.; Liu, J.; Sánchez, J.A.; Wu, L.; Vazquez, S.; Leon, J.I.; Franquelo, L.G. Observer-Based Adaptive Sliding Mode Control of NPC Converters: An RBF Neural Network Approach. IEEE Trans. Power Electron. 2019, 34, 3831–3841. [Google Scholar] [CrossRef]
  21. Van, M.; Mavrovouniotis, M.; Ge, S.S. An Adaptive Backstepping Nonsingular Fast Terminal Sliding Mode Control for Robust Fault Tolerant Control of Robot Manipulators. IEEE Trans. Syst. Man Cybern. Syst. 2019, 49, 1448–1458. [Google Scholar] [CrossRef] [Green Version]
  22. Bartoszewicz, A.; Leśniewski, P. New Switching and Nonswitching Type Reaching Laws for SMC of Discrete Time Systems IEEE Trans. Control. Syst. Technol. 2016, 24, 670–677. [Google Scholar] [CrossRef]
  23. Zhang, Y.; Yin, Z.; Zhang, Y.; Liu, J.; Tong, X. A Novel Sliding Mode Observer with Optimized Constant Rate Reaching Law for Sensorless Control of Induction Motor. IEEE Trans. Ind. Electron. 2020, 67, 5867–5878. [Google Scholar] [CrossRef]
  24. Junejo, A.K.; Xu, W.; Mu, C.; Ismail, M.M.; Liu, Y. Adaptive Speed Control of PMSM Drive System Based a New Sliding-Mode Reaching Law. IEEE Trans. Power Electron. 2020, 35, 12110–12121. [Google Scholar] [CrossRef]
  25. Li, X.; Xu, W.; Ye, C.; Boldea, I. Comparative Study of Transversal-Flux Permanent-Magnetic Linear Oscillatory Machines for Compressor. IEEE Trans. Ind. Electron. 2018, 65, 7437–7446. [Google Scholar] [CrossRef]
  26. Gao, W.; Hung, J.C. Variable structure control of nonlinear systems: A new approach. IEEE Trans. Ind. Electron. 1993, 40, 45–55. [Google Scholar] [CrossRef]
  27. Wang, Y.; Feng, Y.; Zhang, X.; Liang, J. A New Reaching Law for Antidisturbance Sliding-Mode Control of PMSM Speed Regulation System. IEEE Trans. Power Electron. 2020, 35, 4117–4126. [Google Scholar] [CrossRef]
  28. Zhang, X.; Sun, L.; Zhao, K.; Sun, L. Nonlinear Speed Control for PMSM System Using Sliding-Mode Control and Disturbance Compensation Techniques. IEEE Trans. Power Electron. 2013, 28, 1358–1365. [Google Scholar] [CrossRef]
  29. Wang, H.; Shi, L.; Man, Z.; Zheng, J.; Li, S.; Yu, M.; Jiang, C.; Kong, H.; Cao, Z. Continuous Fast Nonsingular Terminal Sliding Mode Control of Automotive Electronic Throttle Systems Using Finite-Time Exact Observer. IEEE Trans. Ind. Electron. 2018, 65, 7160–7172. [Google Scholar] [CrossRef]
  30. Sun, T.; Cheng, L.; Wang, W.; Pan, Y. Semiglobal exponential control of Euler–Lagrange systems using a sliding-mode disturbance observer. Automatica 2020, 112, 108677. [Google Scholar] [CrossRef]
  31. Benamor, A.; Boukadida, W.; Messaoud, H. Genetic algorithm-based multi-objective design of optimal discrete sliding mode approach for trajectory tracking of nonlinear systems. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2019, 233, 5237–5252. [Google Scholar] [CrossRef]
  32. Li, H.; Cai, Y. Sliding mode control with double power reaching law. Control. Decis. 2016, 31, 498–502. [Google Scholar]
  33. Liao, Y.; Yang, Y.; Wang, Y. Novel double power combination function reaching law for sliding mode control. J. Natl. Univ. Def. Technol. 2017, 39, 105–110. [Google Scholar]
  34. Xu, Q. Piezoelectric Nanopositioning Control Using Second-Order Discrete-Time Terminal Sliding-Mode Strategy. IEEE Trans. Ind. Electron. 2015, 62, 7738–7748. [Google Scholar] [CrossRef]
  35. Li, S.; Zhou, M.; Yu, X. Design and Implementation of Terminal Sliding Mode Control Method for PMSM Speed Regulation System. IEEE Trans. Ind. Inform. 2013, 9, 1879–1891. [Google Scholar] [CrossRef]
Figure 1. Comparison of the state trajectories of the two reaching laws. (a) exponential reaching law state trajectories. (b) NSMRL state trajectories.
Figure 1. Comparison of the state trajectories of the two reaching laws. (a) exponential reaching law state trajectories. (b) NSMRL state trajectories.
Electronics 10 01776 g001
Figure 2. Performance comparison of NSMRL, ESMRL, and [27]. (a) Phase trajectory. (b) Position error reaching rate. (c) Controller output.
Figure 2. Performance comparison of NSMRL, ESMRL, and [27]. (a) Phase trajectory. (b) Position error reaching rate. (c) Controller output.
Electronics 10 01776 g002
Figure 3. The xPC-Target based hardware in the loop.
Figure 3. The xPC-Target based hardware in the loop.
Electronics 10 01776 g003
Figure 4. (a) Block diagram of the PMSM speed regulation system. (b) Block diagram of the speed control structure.
Figure 4. (a) Block diagram of the PMSM speed regulation system. (b) Block diagram of the speed control structure.
Electronics 10 01776 g004
Figure 5. The speed and torque responses under four control methods with no load in 2500 r/min. (a) Speed. (b) Torque.
Figure 5. The speed and torque responses under four control methods with no load in 2500 r/min. (a) Speed. (b) Torque.
Electronics 10 01776 g005
Figure 6. The speed and torque responses under four control methods with no load in 2500 r/min. (a) Speed. (b) Torque.
Figure 6. The speed and torque responses under four control methods with no load in 2500 r/min. (a) Speed. (b) Torque.
Electronics 10 01776 g006
Figure 7. The speed and torque responses under four control methods with the load of 20 Nm in 2500 r/min. (a) Speed. (b) Torque.
Figure 7. The speed and torque responses under four control methods with the load of 20 Nm in 2500 r/min. (a) Speed. (b) Torque.
Electronics 10 01776 g007
Figure 8. The speed responses under four control methods with the load of 20 Nm in 1500 r/min. (a) Amplification of the overshoot. (b) Amplification of the speed drop.
Figure 8. The speed responses under four control methods with the load of 20 Nm in 1500 r/min. (a) Amplification of the overshoot. (b) Amplification of the speed drop.
Electronics 10 01776 g008
Figure 9. The variable acceleration and loading responses under three control methods. (a) Acceleration. (b) Torque.
Figure 9. The variable acceleration and loading responses under three control methods. (a) Acceleration. (b) Torque.
Electronics 10 01776 g009
Figure 10. The speed responses under four control methods with the load of 10 Nm. (a) 0.5 J. (b) 2 J.
Figure 10. The speed responses under four control methods with the load of 10 Nm. (a) 0.5 J. (b) 2 J.
Electronics 10 01776 g010
Table 1. Parameters of the motor.
Table 1. Parameters of the motor.
Parameter and UnitValue
DC power Vdc/V311
Stator phase resistance R2.875
Inductances Ld = Lq/mH8.5
Rotational inertia J/kg·m20.001
Flux linkage of permanent magnets ψ f /Wb0.175
Viscous friction coefficient B/N·m·s0.008
Table 2. The Speed Performance Comparison.
Table 2. The Speed Performance Comparison.
Control Method2500 r/min1500 r/min
Steady Speed (r/min)Settelling Time (s)OvershootSettelling Time (s)
NSMRL25000.0250.16%0.02
ESMRL24800.0614.7%0.17
PI24800.1517.3%0.08
Ref. [27]25000.0552.4%0.022
Table 3. Speed Performance Comparison.
Table 3. Speed Performance Comparison.
Control MethodNSMRLESMRLPIRef. [27]
Settelling Time at Load (s)0.040.230.40.08
Vibration error (r/min)±0.1±1±1.5±0.3
Speed Drop (r/min)331909575
Table 4. Speed Performance Comparison.
Table 4. Speed Performance Comparison.
Control Method0.5 J2 J
Speed Drop (r/min)Vibration Error (r/min)Speed Drop (r/min)Vibration Error (r/min)
NSMRL41±1.920±0.4
ESMRL206±2.8133±2
PI130±4.382±1.5
Ref. [27]100±1110±1
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jiang, C.; Wang, Q.; Li, Z.; Zhang, N.; Ding, H. Nonsingular Terminal Sliding Mode Control of PMSM Based on Improved Exponential Reaching Law. Electronics 2021, 10, 1776. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10151776

AMA Style

Jiang C, Wang Q, Li Z, Zhang N, Ding H. Nonsingular Terminal Sliding Mode Control of PMSM Based on Improved Exponential Reaching Law. Electronics. 2021; 10(15):1776. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10151776

Chicago/Turabian Style

Jiang, Changhong, Qiming Wang, Zonghao Li, Niaona Zhang, and Haitao Ding. 2021. "Nonsingular Terminal Sliding Mode Control of PMSM Based on Improved Exponential Reaching Law" Electronics 10, no. 15: 1776. https://0-doi-org.brum.beds.ac.uk/10.3390/electronics10151776

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