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.

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 [912] 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 [1315]. 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]:where is the pole pairs; is the rotor flux linkage; is the speed; is the viscosity friction coefficient; is the moment of inertia; is the load torque; and 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:where is the reference speed of the motor; ; and .

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]:where is the sliding mode variable and and are the sliding mode control switching gain.

Derivation of equation (2) is obtained, and combining with equation (1), we obtain the following:

Combined with equations (3) and (4), we obtain the following:

Thus, the design control law can be obtained as follows:

Thus, the reference current of the q axis can be obtained as follows:

As shown in equation (7), chattering will occur in the system due to a discontinuous term in the reference current. Secondly, the reaching speed, chattering, and robustness of the system are all related to the value of and . The larger and 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:

The derivative of can be obtained as follows:

Combined with equations (1), (4), and (6), we can getwhere both are normal numbers and is always greater than 0, so . 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]:where is the sliding mode variable; is the disturbance term; and are sliding mode gain coefficients; and () is the switching function.

From equation (11), it can be seen that the proportional term 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:where is a linear term and .

The sliding surface is selected as follows:

Derivation of equation (13) gives

Combined with equations (1) and (14), the output of the controller is as follows:

Combined with equations (12) and (15), the output of the controller is as follows:

3.3. System Stability Analysis

Lemma 1. (see [21]). For equation (11), if and , then and satisfy the following values:

Then, equation (11) can converge to the origin in finite time.

Theorem 1. For equation (16), if and , then , , and satisfy the following values:

Then, equation (16) can converge to the origin in finite time.

Let be , use variable substitution:

Thus, equation (19) can be rewritten as follows:

For equation (16), the quasi-quadratic Lyapunov function [22] is selected as follows:where ; is a real symmetric positive definite matrix; take

According to equation (19), is a radially unbounded continuous positive definite function and is differentiable everywhere except for the set . The derivative of along the system trajectory can be obtained as follows:where , , , and .

Obviously, and are scalars, and it can be seen from the expansion calculation of and that and are also scalars, and according to equation (22), can be seen, so

Let be and according to the inequality

From equation (25), we can know

According to Theorem 1, suppose the perturbation term is Lipschitz continuous, and , .

Combining and , we obtain

Let be , we obtain

Combining equations (23) to (28), it can be concluded thatwhere .

Obviously, for equation (29), when Q is a positive definite matrix, we obtain

Thus, the Lyapunov function of the system shown in equation (16) satisfies the stability conditions in the Lyapunov stability theory of , which is radially unbounded and .

By further expanding and calculating Q, we can get

If , then ; 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

Since , and in the existing system, there must be , and equation (32) can be transformed into the following:

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 term is introduced into the proportional term of the super twisting algorithm, so long as is guaranteed, the system’s stability will not be affected. At the same time, when the system state of the linear term is close to the sliding mode surface, that is, , reaches 0, the proportional term becomes the square root reaching law , and there is still the problem of low reaching speed. In order to solve this problem, the adaptive term is introduced in this paper, and equation (16) becomeswhere is the adaptive term, , .

When the system state is close to the sliding mode surface, i.e., , then and the proportional term becomes , which is obviously from the perspective of reaching speed. When the system state is far away from the sliding mode surface, i.e., , then and the proportional term becomes , which is obviously 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 Figure 1. SPMSM parameters used for simulation are shown in Table 1.

In 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 Figure 2. Among them, NSTA-SMC parameters designed in this paper are , , , and ; PI parameter is and ; SMC1 parameter is , , and ; SMC2 parameter is , , and ; STA-SMC parameter is and .

Figure 2 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 . 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 . 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.

From Figures 8 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.

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.

Data Availability

The data used to was support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest related to the article.

Acknowledgments

This work was supported by Jilin Science and Technology Development Plan Project (20200403133SF).