# SPMSM Sliding Mode Control Based on the New Super Twisting Algorithm

Authors: Lei Zhang; Jing Bai; Jing Wu
Journal: Complexity
 (2021)

---

## Abstract

To achieve the high-performance control of the surface-mounted permanent magnet synchronous motor (SPMSM) speed control system, this paper proposes a high-order sliding mode control strategy based on a new super twisting algorithm (NSTA). This strategy introduces an adaptive term in its proportional term based on the original super twisting algorithm, which solves low reaching speed and poor antidisturbance ability due to the square root calculation of proportional term in the original super twisting algorithm. The simulation results show that the proposed strategy can effectively improve the system’s response speed and antidisturbance and greatly suppress the chattering phenomenon of traditional sliding mode control.


---

## Body

## 1. Introduction

Surface-mounted permanent magnet synchronous motors are widely used in aerospace, numerical control systems, wind power generation, and new energy electric vehicle drive systems due to their high efficiency and small size [1, 2]. However, it is a nonlinear, strong coupling, multivariable complex object. Although a traditional PI controller can meet the control requirements within a certain range, it cannot meet the requirements of high-performance control when system parameters change or are affected by external uncertainties.To solve the problems caused by traditional PI control, scholars from all over the world have conducted much research, and some modern control theory achievements have been successfully applied to the speed control system of SPMSM, such as adaptive control, fuzzy control, neural network, active disturbance rejection control, and sliding mode control. Among them, sliding mode control is widely used because of its robustness, fast dynamic response, and easy implementation [3]. Although the traditional sliding mode control improves the robustness of the system, when the sliding mode control is applied to the actual system, due to the time delay and space lag of the switch, the error of the state detection, and other factors, it is easy to cause the system chattering phenomenon and reduce the dynamic quality of the system [4]. Therefore, how to suppress chattering is the key to the application of sliding mode control.Chinese scholar Gao proposed a sliding mode control strategy based on the reaching law in 1996, which effectively improved the system’s dynamic quality and reduced the sliding mode chattering to a certain extent [5]. The authors in literature [6] proposed a sliding mode control strategy based on exponential reaching law and Sigmoid function, which effectively suppressed sliding mode chattering. However, due to the introduction of the Sigmoid function, the convergence speed and stability of the system are reduced to a certain extent, and the exponential reaching law has contradictory problems between sliding mode chattering and reaching speed and robustness. The authors in literature [7, 8] designed a sliding mode control strategy based on integral sliding mode surface, which introduces the integration of state variables into the conventional sliding mode surface, which can effectively eliminate the steady-state error of speed and torque and accelerate the system response speed and at the same time it has strong robustness to load disturbance. However, the introduction of integral sliding mode surface is easy to produce integral saturation, which leads to large overshoot, which affects the quality of system control. The authors in literature [9–12] proposed a terminal sliding mode control strategy that improves the convergence of the system so that the system state converges to a given trajectory within finite time, but there is a singularity problem. Therefore, nonsingular terminal sliding mode control is proposed. It directly avoids controlling the singular area from the sliding mode design and retains the finite-time convergence characteristics of the terminal sliding mode. However, when the system state is far from the equilibrium point, its convergence time is relatively long and the dynamic characteristics worsen [13–15]. The author in literature [16] proposed a second-order sliding mode control: a super twisting algorithm composed of an integral and proportional term. The proportional term plays a role in reaching speed. When the moving point reaches the sliding mode surface, the integral term makes the system trajectory move around the origin to ensure the continuity of the output control signal and thus reduce the chattering phenomenon in the sliding mode control. In literature [17], the super twisting algorithm was applied to the SPMSM speed regulation system and compared with the sliding mode control based on exponential reaching law. It was found that the algorithm effectively solved the problem of the contradiction between chattering, reaching speed, and antidisturbance ability in the traditional sliding mode control under the premise of suppressing sliding mode chattering. However, the determination of the gain of this algorithm requires that the disturbance term is differentiable and bounded. In practical applications, this bound is difficult to determine. In order to ensure the convergence of the system, an excessively large gain value is often selected, which may cause serious system chattering—even crash. Therefore, the authors in literature [18] proposed a PMSM speed control system based on the adaptive super spiral algorithm, which effectively solved the problem of overestimating the gain of the existing algorithm and improved the system’s stability. However, none of the above strategies consider insufficient reaching speed and poor antidisturbance ability of the super twisting algorithm because its proportional term is the square root calculation [19, 20].In order to solve the above problems, this paper proposes a sliding mode control strategy based on a new super twisting algorithm. This strategy introduces an adaptive term in its proportional term based on the original super twisting algorithm, which solves low reaching speed and poor antidisturbance ability due to the square root calculation of proportional term in the original super twisting algorithm. On the premise of ensuring that the system chattering is not increased, the dynamic quality of the SPMSM speed control system is improved.


## 2. The Motor Motion Equation of SPMSM

In this paper, the SPMSM is taken as the research object, and its motion equation can be expressed as follows [1]:(1)dωdt=3pnψf2iq−βJω−TLJ,where pn is the pole pairs; ψf is the rotor flux linkage; ω is the speed; β is the viscosity friction coefficient; J is the moment of inertia; TL is the load torque; and iq is the q-axis current.


## 3. Sliding Mode Speed Controller Design

### 3.1. Sliding Mode Controller Based on Exponential Reaching Law

The linear sliding surface is as follows:(2)s=cx1+x2,where ω∗ is the reference speed of the motor; x1=ω∗−ω; and x2=x˙1=−ω˙.In recent years, the sliding mode algorithm based on the reaching law has been widely used in SPMSM speed controller design because it can guarantee the dynamic quality of the reaching motion.The exponential reaching law is as follows [13]:(3)s˙=−εsigns−qs,where s is the sliding mode variable and ε and q are the sliding mode control switching gain.Derivation of equation (2) is obtained, and combining with equation (1), we obtain the following:(4)s˙=cx˙1+x˙2=cx2+x˙2=−c3pnψf2Jiq−βJω−TLJ−3pnψf2Ji˙q−βJω˙=cx2−3pnψf2Ji˙q−βJx2=c−βJx2−3pnψf2Ji˙q.Combined with equations (3) and (4), we obtain the following:(5)c−βJx2−3pnψf2Ji˙q=−εsigns−qs.Thus, the design control law can be obtained as follows:(6)i˙q=2J3pnψfc−βJx2+εsigns+qs.Thus, the reference current of theq axis can be obtained as follows:(7)iq∗=2J3pnψf∫0tc−βJx2+εsigns+qsdτ.As shown in equation (7), chattering will occur in the system due to a discontinuous term εsigns in the reference current. Secondly, the reaching speed, chattering, and robustness of the system are all related to the value of ε and q. The larger ε and q are, the stronger the robustness and the faster the reaching are, but the chattering will also be more significant. Therefore, there is a contradiction between system chattering and reaching speed and robustness.The Lyapunov function is defined as follows:(8)V=12s2.The derivative ofV can be obtained as follows:(9)V˙=ss˙.Combined with equations (1), (4), and (6), we can get(10)V˙=ss˙=sc−BJx2−3pnψf2Ji˙q=s−εsigns−qs=−εsignss+qs2,where both are normal numbers and εsignss+qs2 is always greater than 0, so V˙<0. According to the Lyapunov stability criterion, the SMC speed controller based on the exponential reaching law is stable.


### 3.2. Speed Controller Design Based on NSTA-SMC

The high-order sliding mode algorithm provides a solution for the contradiction between system chattering and reaching speed. Unlike other high-order sliding mode algorithms, the super twisting algorithm does not need to derive the sliding mode surface so that the sliding mode surface and its derivative can be stabilized to zero simultaneously, avoiding that the introduction of noise control law design is simple. So, its general expression is as follows [14]:(11)u=−αs1/2signs+u1,u˙1=−βsigns+φ˙,where s is the sliding mode variable; φ is the disturbance term; α and β are sliding mode gain coefficients; and sign() is the switching function.From equation (11), it can be seen that the proportional term αs1/2signs plays a role in improving the reaching speed of the algorithm, but its sliding mode surface is calculated by square root, and the gain of the scale term directly affects the reaching speed and antidisturbance ability of the algorithm. In order to improve the antidisturbance ability and reaching speed of the algorithm, a new super twisting algorithm is proposed in this paper, namely:(12)u=−αs1/2signs−ks+u1,u˙1=−βsigns+φ˙,where ks is a linear term and k>0.The sliding surface is selected as follows:(13)s=x=ω∗−ω.Derivation of equation (13) gives(14)s˙=x˙=−ω˙.Combined with equations (1) and (14), the output of the controller is as follows:(15)s˙=−ω˙=−3pnψf2Jiq+BJω+TLJ.Combined with equations (12) and (15), the output of the controller is as follows:(16)iq∗=2J3pnψfBJω+TLJ+αs1/2signs+ks+∫βsignsdt.


### 3.3. System Stability Analysis

Lemma 1.
(see [21]). For equation (11), if φ˙≤δ and δ>0, then α and β satisfy the following values:(17)α>2,β>α3+4α−8δ2α4α−8.Then, equation (11) can converge to the origin in finite time.Theorem 1.
For equation (16), if 2φ˙≤δ and δ>0, then α, β, and k satisfy the following values:(18)α>2,β>α+kz11/224α+kz11/2−8+δ24α,k>0.Then, equation (16) can converge to the origin in finite time.Let beB/Jω+TL/J=φ, use variable substitution:(19)z1=s,z2=−∫βsignz1dt+φ.Thus, equation (19) can be rewritten as follows:(20)z˙1=−αz11/2signz1−kz1+z2,z˙2=−βsignz1+φ˙.For equation (16), the quasi-quadratic Lyapunov function [22] is selected as follows:(21)Vz1,z2=ζTΠζ,where ζT=ζ1,ζ2=z11/2signz1,z2; Π is a real symmetric positive definite matrix; take(22)Π=4β+α+kz11/22−α+kz11/2−α+kz11/22.According to equation (19), Vz1,z2 is a radially unbounded continuous positive definite function and Vz1,z2 is differentiable everywhere except for the set z1=0. The derivative of Vz1,z2 along the system trajectory can be obtained as follows:(23)V˙z1,z2=ξ˙TΠξ+ξTΠξ˙=121ξ1ξTATΠξ+ξTΠAξ+ρBTΠξ+ρξTΠB,where A=−α+kz11/21−2β0, B=01, ρ=2z11/2, and φ˙˜=2ξ1φ˙.Obviously,ρ=2z11/2 and φ˙˜=2ξ1φ˙ are scalars, and it can be seen from the expansion calculation of BTΠξ and ξTΠB that BTΠξ and ξTΠB are also scalars, and according to equation (22), Π=ΠT can be seen, so(24)BTΠξ=BTΠξT=ξTΠTBTT=ξTΠB.Let bem=BTΠξ=ξTΠB and m2=ξTΠBBTΠξ according to the inequality(25)m−ρ2=m2−2mρ+ρ2≥0,∀m,ρ∈R.From equation (25), we can know(26)ξTΠBBTΠξ≥ρξTΠB+ρBTΠξ−ρ2.According to Theorem1, suppose the perturbation term φ is Lipschitz continuous, and 2φ˙≤δ, δ>0.Combiningρ=2z11/2 and φ˙˜=2ξ1φ˙, we obtain(27)δ2ξ12−ρ2≥0.Let beC=10, we obtain(28)δ2ξ12=δ2ξTCTCξ.Combining equations (23) to (28), it can be concluded that(29)V˙z1,z2≤121ξ1ξTATΠξ+ξTΠAξ+ρBTΠξ+ρξTΠB+δ2ξ12−ρ2≤121ξ1ξTATΠξ+ξTΠAξ+δ2ξTCTCξ+ξTΠBBTΠξ=121ξ1ξTATΠ+ΠA+δ2CTC+ΠBBTΠξ=−121ξ1ξTQξ,where Q=−ATΠ+ΠA+δ2CTC+ΠBBTΠ.Obviously, for equation (29), when Q is a positive definite matrix, we obtain(30)V˙z1,z2=−121ξ1ξTQξ<0.Thus, the Lyapunov functionVz of the system shown in equation (16) satisfies the stability conditions in the Lyapunov stability theory of V>0, which is radially unbounded and V˙<0.By further expanding and calculatingQ, we can get(31)Q=−ATΠ+ΠA+δ2CTC+ΠBBTΠ=2α+kz11/23−α+kz11/22+4βα+kz11/2−δ22α+kz11/2−2α+kz11/222α+kz11/2−2α+kz11/222α+kz11/2−4.IfQ>0, then V˙<0; according to Schur’s complement lemma [23], it can be deduced that a sufficient and necessary condition for Q to be a positive definite matrix is(32)α+kz11/2>2,β>α+kz11/23+δ2α+kz11/2−2δ24α+kz11/2α+kz11/2−2.Sincek>0, and in the existing system, there must be ω∗−ωmax1/2≥z11/2≥0, and equation (32) can be transformed into the following:(33)α>0,β>α+kz11/224α+kz11/2−8+δ24α,k>0.The proof is completed.


### 3.4. The  Influence of Linear Term on the Stability and Reaching Speed of the System

According to the above proof process, the linear termks is introduced into the proportional term of the super twisting algorithm, so long as k>0 is guaranteed, the system’s stability will not be affected. At the same time, when the system state of the linear term ks is close to the sliding mode surface, that is, s<1, ks reaches 0, the proportional term becomes the square root reaching law αs1/2signs, and there is still the problem of low reaching speed. In order to solve this problem, the adaptive term ksb⋅signs−1s is introduced in this paper, and equation (16) becomes(34)iq∗=2J3pnψfBJω+TLJ+αs1/2signs+ksb⋅signs−1s+∫βsignsdt,where ksb⋅signs−1s is the adaptive term, k>0, 0<b<1.When the system state is close to the sliding mode surface, i.e.,s<1, then signs−1=−1 and the proportional term becomes αs1/2signs+ks−bs, which is obviously αs1/2signs+ks−bs≫αs1/2signs from the perspective of reaching speed. When the system state is far away from the sliding mode surface, i.e., s>1, then signs−1=1 and the proportional term becomes αs1/2signs+ksbs, which is obviously αs1/2signs+ksbs≫αs1/2signs from the perspective of reaching speed.


## 3.1. Sliding Mode Controller Based on Exponential Reaching Law

The linear sliding surface is as follows:(2)s=cx1+x2,where ω∗ is the reference speed of the motor; x1=ω∗−ω; and x2=x˙1=−ω˙.In recent years, the sliding mode algorithm based on the reaching law has been widely used in SPMSM speed controller design because it can guarantee the dynamic quality of the reaching motion.The exponential reaching law is as follows [13]:(3)s˙=−εsigns−qs,where s is the sliding mode variable and ε and q are the sliding mode control switching gain.Derivation of equation (2) is obtained, and combining with equation (1), we obtain the following:(4)s˙=cx˙1+x˙2=cx2+x˙2=−c3pnψf2Jiq−βJω−TLJ−3pnψf2Ji˙q−βJω˙=cx2−3pnψf2Ji˙q−βJx2=c−βJx2−3pnψf2Ji˙q.Combined with equations (3) and (4), we obtain the following:(5)c−βJx2−3pnψf2Ji˙q=−εsigns−qs.Thus, the design control law can be obtained as follows:(6)i˙q=2J3pnψfc−βJx2+εsigns+qs.Thus, the reference current of theq axis can be obtained as follows:(7)iq∗=2J3pnψf∫0tc−βJx2+εsigns+qsdτ.As shown in equation (7), chattering will occur in the system due to a discontinuous term εsigns in the reference current. Secondly, the reaching speed, chattering, and robustness of the system are all related to the value of ε and q. The larger ε and q are, the stronger the robustness and the faster the reaching are, but the chattering will also be more significant. Therefore, there is a contradiction between system chattering and reaching speed and robustness.The Lyapunov function is defined as follows:(8)V=12s2.The derivative ofV can be obtained as follows:(9)V˙=ss˙.Combined with equations (1), (4), and (6), we can get(10)V˙=ss˙=sc−BJx2−3pnψf2Ji˙q=s−εsigns−qs=−εsignss+qs2,where both are normal numbers and εsignss+qs2 is always greater than 0, so V˙<0. According to the Lyapunov stability criterion, the SMC speed controller based on the exponential reaching law is stable.


## 3.2. Speed Controller Design Based on NSTA-SMC

The high-order sliding mode algorithm provides a solution for the contradiction between system chattering and reaching speed. Unlike other high-order sliding mode algorithms, the super twisting algorithm does not need to derive the sliding mode surface so that the sliding mode surface and its derivative can be stabilized to zero simultaneously, avoiding that the introduction of noise control law design is simple. So, its general expression is as follows [14]:(11)u=−αs1/2signs+u1,u˙1=−βsigns+φ˙,where s is the sliding mode variable; φ is the disturbance term; α and β are sliding mode gain coefficients; and sign() is the switching function.From equation (11), it can be seen that the proportional term αs1/2signs plays a role in improving the reaching speed of the algorithm, but its sliding mode surface is calculated by square root, and the gain of the scale term directly affects the reaching speed and antidisturbance ability of the algorithm. In order to improve the antidisturbance ability and reaching speed of the algorithm, a new super twisting algorithm is proposed in this paper, namely:(12)u=−αs1/2signs−ks+u1,u˙1=−βsigns+φ˙,where ks is a linear term and k>0.The sliding surface is selected as follows:(13)s=x=ω∗−ω.Derivation of equation (13) gives(14)s˙=x˙=−ω˙.Combined with equations (1) and (14), the output of the controller is as follows:(15)s˙=−ω˙=−3pnψf2Jiq+BJω+TLJ.Combined with equations (12) and (15), the output of the controller is as follows:(16)iq∗=2J3pnψfBJω+TLJ+αs1/2signs+ks+∫βsignsdt.


## 3.3. System Stability Analysis

Lemma 1.
(see [21]). For equation (11), if φ˙≤δ and δ>0, then α and β satisfy the following values:(17)α>2,β>α3+4α−8δ2α4α−8.Then, equation (11) can converge to the origin in finite time.Theorem 1.
For equation (16), if 2φ˙≤δ and δ>0, then α, β, and k satisfy the following values:(18)α>2,β>α+kz11/224α+kz11/2−8+δ24α,k>0.Then, equation (16) can converge to the origin in finite time.Let beB/Jω+TL/J=φ, use variable substitution:(19)z1=s,z2=−∫βsignz1dt+φ.Thus, equation (19) can be rewritten as follows:(20)z˙1=−αz11/2signz1−kz1+z2,z˙2=−βsignz1+φ˙.For equation (16), the quasi-quadratic Lyapunov function [22] is selected as follows:(21)Vz1,z2=ζTΠζ,where ζT=ζ1,ζ2=z11/2signz1,z2; Π is a real symmetric positive definite matrix; take(22)Π=4β+α+kz11/22−α+kz11/2−α+kz11/22.According to equation (19), Vz1,z2 is a radially unbounded continuous positive definite function and Vz1,z2 is differentiable everywhere except for the set z1=0. The derivative of Vz1,z2 along the system trajectory can be obtained as follows:(23)V˙z1,z2=ξ˙TΠξ+ξTΠξ˙=121ξ1ξTATΠξ+ξTΠAξ+ρBTΠξ+ρξTΠB,where A=−α+kz11/21−2β0, B=01, ρ=2z11/2, and φ˙˜=2ξ1φ˙.Obviously,ρ=2z11/2 and φ˙˜=2ξ1φ˙ are scalars, and it can be seen from the expansion calculation of BTΠξ and ξTΠB that BTΠξ and ξTΠB are also scalars, and according to equation (22), Π=ΠT can be seen, so(24)BTΠξ=BTΠξT=ξTΠTBTT=ξTΠB.Let bem=BTΠξ=ξTΠB and m2=ξTΠBBTΠξ according to the inequality(25)m−ρ2=m2−2mρ+ρ2≥0,∀m,ρ∈R.From equation (25), we can know(26)ξTΠBBTΠξ≥ρξTΠB+ρBTΠξ−ρ2.According to Theorem1, suppose the perturbation term φ is Lipschitz continuous, and 2φ˙≤δ, δ>0.Combiningρ=2z11/2 and φ˙˜=2ξ1φ˙, we obtain(27)δ2ξ12−ρ2≥0.Let beC=10, we obtain(28)δ2ξ12=δ2ξTCTCξ.Combining equations (23) to (28), it can be concluded that(29)V˙z1,z2≤121ξ1ξTATΠξ+ξTΠAξ+ρBTΠξ+ρξTΠB+δ2ξ12−ρ2≤121ξ1ξTATΠξ+ξTΠAξ+δ2ξTCTCξ+ξTΠBBTΠξ=121ξ1ξTATΠ+ΠA+δ2CTC+ΠBBTΠξ=−121ξ1ξTQξ,where Q=−ATΠ+ΠA+δ2CTC+ΠBBTΠ.Obviously, for equation (29), when Q is a positive definite matrix, we obtain(30)V˙z1,z2=−121ξ1ξTQξ<0.Thus, the Lyapunov functionVz of the system shown in equation (16) satisfies the stability conditions in the Lyapunov stability theory of V>0, which is radially unbounded and V˙<0.By further expanding and calculatingQ, we can get(31)Q=−ATΠ+ΠA+δ2CTC+ΠBBTΠ=2α+kz11/23−α+kz11/22+4βα+kz11/2−δ22α+kz11/2−2α+kz11/222α+kz11/2−2α+kz11/222α+kz11/2−4.IfQ>0, then V˙<0; according to Schur’s complement lemma [23], it can be deduced that a sufficient and necessary condition for Q to be a positive definite matrix is(32)α+kz11/2>2,β>α+kz11/23+δ2α+kz11/2−2δ24α+kz11/2α+kz11/2−2.Sincek>0, and in the existing system, there must be ω∗−ωmax1/2≥z11/2≥0, and equation (32) can be transformed into the following:(33)α>0,β>α+kz11/224α+kz11/2−8+δ24α,k>0.The proof is completed.


## 3.4. The  Influence of Linear Term on the Stability and Reaching Speed of the System

According to the above proof process, the linear termks is introduced into the proportional term of the super twisting algorithm, so long as k>0 is guaranteed, the system’s stability will not be affected. At the same time, when the system state of the linear term ks is close to the sliding mode surface, that is, s<1, ks reaches 0, the proportional term becomes the square root reaching law αs1/2signs, and there is still the problem of low reaching speed. In order to solve this problem, the adaptive term ksb⋅signs−1s is introduced in this paper, and equation (16) becomes(34)iq∗=2J3pnψfBJω+TLJ+αs1/2signs+ksb⋅signs−1s+∫βsignsdt,where ksb⋅signs−1s is the adaptive term, k>0, 0<b<1.When the system state is close to the sliding mode surface, i.e.,s<1, then signs−1=−1 and the proportional term becomes αs1/2signs+ks−bs, which is obviously αs1/2signs+ks−bs≫αs1/2signs from the perspective of reaching speed. When the system state is far away from the sliding mode surface, i.e., s>1, then signs−1=1 and the proportional term becomes αs1/2signs+ksbs, which is obviously αs1/2signs+ksbs≫αs1/2signs from the perspective of reaching speed.


## 4. Simulation Research

In order to verify the antidisturbance ability and chattering suppression ability of the strategy proposed in this paper, a simulation model was built in Matlab/Simulink according to Figure1. SPMSM parameters used for simulation are shown in Table 1.Figure 1
SPMSM speed regulation system based on NSTA-SMC.Table 1
SPMSM parameters.
ParametersValuesStator resistanceRs2.875ΩPole-pairs number4Magnetic fluxψf0.175 WbD-axis induction Ld8.5e − 3HQ-axis induction Lq8.5e − 3HDamping factorB0DC bus voltageV311 VRotational inertiaJ0.003 kg·m2In order to prove the effectiveness of the proposed new super twisting algorithm, NSTA-SMC, STA-SMC, the sliding mode control based on the exponential reaching law (SMC), and PI control performance are compared and simulated. The premise is that the above four methods of current loop using PI controller and the parameters are the same. The simulation results are shown in Figure2. Among them, NSTA-SMC parameters designed in this paper are α=1500, β=60000, k=600, and b=0.5; PI parameter is kp=0.1 and ki=3; SMC1 parameter is ε=500000, c=60, and q=300; SMC2 parameter is ε=800000, c=60, and q=300; STA-SMC parameter is α=1500 and β=60000.Figure 2
Speed response diagram.Figure2 shows the system adopts no-load start mode, and the given speed is 1000 rpm. From Figure 3 and Table 2, compared with PI, SMC1, SMC2, and STA-SMC, NSTA-SMC has the smallest starting overshoot, shortest regulation time, and fastest response speed. At 0.2 s, the load changes to 10 N·m. Figure 4 and Table 2 show that when the load changes suddenly, the PI speed drop is the largest and the regulation time is the longest. Compared with PI, the speed drop of SMC1 and SMC2 is smaller, and their size is closely related to the size of controller parameters ε and q. Compared with STA-SMC, the speed drop of NSTA-SMC with the introduction of the adaptive term is 51.9% less than that of STA-SMC and it can quickly recover to a given speed, which effectively solves the problem of low reaching speed of the original super twisting algorithm and further improves the antidisturbance ability of the system. At 0.4 s, the speed suddenly rises to 1200 rpm. From Figure 5 and Table 2, when the speed changes suddenly, the PI overshoot is the largest and the regulation time is the longest; although SMC1 and SMC2 have no overshoot, the regulation time is much longer than that of STA-SMC and NSTA-SMC. At 0.6 s, the load of 10 N·m is removed. From Figure 6 and Table 2, compared with PI, SMC1, SMC2, and STA-SMC, NSTA-SMC has the slightest change in speed and quickly recovers to a given speed, with good antidisturbance ability. From Figure 7 and Table 2, when the speed is 1200 rpm, the steady-state error of PI speed is the largest, and the control quality is poor. The system chattering of SMC1 and SMC2 is closely related to the size of the controller parameters ε and q. Compared with SMC, NSTA-SMC effectively suppresses sliding mode chattering and effectively solves the contradiction between the reaching speed of SMC and system chattering. Compared with STA-SMC, NSTA-SMC improves the system’s response speed and antidisturbance ability without increasing the system chattering and further improving the system’s dynamic quality.Figure 3
Enlargement of local speed (a).Table 2
SPMSM system performance.
ResultPISMC1SMC2STA-SMCNSTA-SMCUnitResponse time0.180.12150.12150.02250.01175sRegulation time 10.180.10.10.060.06sRegulation time 20.180.0950.0950.030.03sRegulation time 30.180.090.090.0570.057sStart overshoot127.5132.5533.6510.75rpmLoad overshoot9261.7548.8244.721.5rpmSpeed change overshoot33.5002.61.76rpmUnload overshoot825240.639.417.4rpmSpeed tracking error0.630.280.440.2350.135rpmFigure 4
Enlargement of local speed (b).Figure 5
Enlargement of local speed (c).Figure 6
Enlargement of local speed (d).Figure 7
Enlargement of local speed (e).From Figures8 and 9, compared with PI, SMC1, SMC2, and STA-SMC, the control strategy proposed in this paper has the fastest torque response speed and smaller torque fluctuation. When dealing with external disturbance, it takes the least time to restore to the original torque and has the best dynamic response performance.Figure 8
Torque response diagram.Figure 9
Enlargement of local torque response.
(a)(b)(c)(d)


## 5. Conclusion

(1)
Compared with STA-SMC, NSTA-SMC with adaptive term effectively solves the problem of low reaching speed and poor antidisturbance ability caused by the square root calculation of proportional term in the original super twisting algorithm without increasing system chattering and improves the dynamic following performance of the system.(2)
Compared with the SMC based on the exponential reaching law, the NSTA-SMC effectively solves the contradictory problems between sliding mode chattering and reaching speed and antidisturbance ability under the premise of suppressing chattering and further improving the system control quality.(3)
Compared with PI, NSTA-SMC effectively improves the PI control excessive overshoot and poor antidisturbance ability and improves the dynamic and static quality of the system.(4)
At the same time, how to ensure the optimal sliding mode gain of the new super twisting algorithm has become the research focus to further improve the system performance.



---

*Source: 2886789-2021-07-31.xml*