Abstract
This article focuses on realizing the chaos control of a permanent magnet synchronous motor by combining a pseudo-linear inverse system of the permanent magnet synchronous motor and synthetical sliding mode control. First, the permanent magnet synchronous motor dimensionless nonlinear mathematical model is established, and its chaos is analyzed by the Lyapunov exponent method. The permanent magnet synchronous motor parameter range when chaos appears is obtained. Then, the inverse system decoupling method is used to analyze the reversibility of the permanent magnet synchronous motor system, and the permanent magnet synchronous motor inverse system is obtained, which is compounded with the original system into a pseudo-linear inverse system that consists of two independent subsystems, including a first-order d-axis current system and a second-order rotational speed system, to decouple the permanent magnet synchronous motor system. Third, the first-order d-axis subsystem is controlled by sliding mode control with a hyperbolic tangent function as the switching function, and the second-order speed subsystem is controlled by super-twisting sliding mode control with a hyperbolic tangent function as the switching function, which is called the synthetical sliding mode control. The permanent magnet synchronous motor pseudo-linear inverse system is controlled by using the synthetical sliding mode to realize the chaos control of the permanent magnet synchronous motor. Finally, three kinds of permanent magnet synchronous motor chaos control systems are established in MATLAB/Simulink software, and the experimental tests are implemented. The results show that the proposed permanent magnet synchronous motor chaos control system has good performance, which can effectively eliminate chattering in sliding mode control and control chaos in the permanent magnet synchronous motor system.
Keywords
1. Introduction
Compared with conventional motors, the permanent magnet synchronous motor (PMSM) has many advantages, such as a high energy density, high torque inertia ratio, high reliability, and low torque ripple, which make it increasingly more widely used in the automotive, aerospace, precision processing industries, and other fields (Zhang et al., 2015). However, the PMSM is a multivariable and strongly coupled nonlinear system. When its parameters change in a certain range because of mechanical wear, modeling errors, or measurement errors, chaos will occur. Chaos is a very special nonlinear dynamic characteristic, which is sensitive to the initial conditions, and the motion trajectory is irregular and unpredictable (Huang et al., 2011). Therefore, the output of the PMSM will exhibit torque and speed fluctuations. Nevertheless, in most cases, chaos will adversely affect motor control performance, which is undesirable. Therefore, to improve the control performance of the motor, the chaos control of the motor has become a popular research topic.
Currently, the main methods that are successfully used to realize the chaos control of the PMSM are feedback control (Hu et al., 2015, 2016), adaptive control (Aguilar-Mejía et al., 2016; Wang et al., 2014), backstepping control (Liu et al., 2016; Singh et al., 2018), and sliding mode control (SMC) (Merzoug et al., 2012), but these methods have some shortcomings in controlling the PMSM chaos. When the control target is not an equilibrium point or an unstable periodic orbit, the effect of the feedback control will be affected. In addition, the time delay value of the feedback control is difficult to determine. Although the adaptive control has a better control effect when the system parameters change, the effect of the adaptive control will be greatly weakened when the external disturbance is large. The backstepping control has a better control effect on the system parameter uncertainty, particularly for uncertain systems that do not satisfy the switching conditions. However, the shortcoming is that the structure of the controller is more complex, which will produce many differential terms, result in “differential explosion”, and make the operation of the controller slow and the computational burden large. The SMC is an effective robust nonlinear control technology, which can ensure that the systems have good stability and robustness. However, because of the use of discontinuous high-speed switching functions in SMC, chattering will appear. The existence of chattering may initiate the system unmodeled high-order motion, which may cause the system high-frequency oscillation and may even destabilize the system in severe cases. In recent years, high-order SMC (Devdutt, 2019; Matraji et al., 2018) has been widely used, which has the advantages of producing a fast response, being insensitive to parameter changes and disturbances, not requiring online system identification, providing simple physical implementation, and eliminating chattering in traditional SMC.
In addition, the motor dynamic and static performances are affected by the coupling characteristics of the stator current and rotating speed (Chen et al., 2018; Yong et al., 2018), which have seldom been considered in the research of the chaos control of the PMSM. Although the state feedback decoupling method is used to decouple the linear synchronous motor in the reference (Cai et al., 2018), the design of the chaos control controller based on the backstepping method is more complex. The inverse system is used to decouple the PMSM, and the pseudo-linear system, which is composed of an inverse system and the original system, is controlled by using the proportional-integral-derivative method (Zhao et al., 2012). The controller design is simple, but the control effect can still be improved. The PMSM is also decoupled by using the inverse system (Liu et al., 2017), and the pseudo-linear system is controlled by the traditional SMC. The control effect is improved, but there is chattering in the SMC system.
To overcome the shortcomings of the PMSM chaos control, a PMSM nonlinear mathematical model is established, and its chaos is analyzed by using the Lyapunov exponent and bifurcation diagram. The main contributions of the article are listed as follows: (1) aiming at the coupling characteristics of the PMSM stator current and rotating speed, the PMSM is decoupled into two independent pseudo-linear systems including a first-order d-axis current and a second-order rotating speed using the inverse system decoupling method, which makes the input and output of the PMSM system realize the linear decoupling and (2) the PMSM chaos control is realized by using the synthetical sliding mode method, which includes the SMC for the first-order d-axis current subsystem and the super-twisting sliding mode control (S-TSMC) for the second-order rotating speed subsystem. Simultaneously, the hyperbolic tangent function replaces the switching function to further eliminate chattering in the traditional SMC to improve the effect of the chaos control. Generally, the main novelty and superiority of the proposed control method are to decouple the stator current and rotating speed of the PMSM, implement high-order SMC in the PMSM speed loop, adopt the hyperbolic tangent function as the switching function to further eliminate the chattering in traditional SMC, and finally achieve a better chaos control of the PMSM.
The rest of the article is structured as follows. Section 2 includes the establishment of the PMSM nonlinear mathematical model and chaos analysis. The PMSM chaos control based on the inverse system decoupling and synthetical sliding mode is carried out in Section 3. In Sections 4 and 5, the numerical simulation and experimental analyses are, respectively, performed to verify the proposed chaos control algorithm, and the concluding remarks are presented in Section 6.
2. PMSM nonlinear mathematical model and chaos analysis
2.1. PMSM nonlinear mathematical model
In this article, the PMSM model with a uniform air gap (L
q
= L
d
) is the object of study. The PMSM mathematical model in the d–q coordinate system is expressed as follows
In equation (1),
To facilitate the PMSM chaos analysis, the affine and time scale transformations are performed as follows
In equation (2),
2.2. Chaos analysis
The affine and time scale transformations are linear transformations, so the original characteristics of the system will not change. For the convenience of the chaos analysis, the working condition of the sudden power failure of the PMSM under the no-load operation is considered, that is the system inputs
The state variables can be set as
According to equation (4), the PMSM system is a complex nonlinear system, and there is a coupling relationship between the current and the rotating speed. For a nonlinear system, chaos may occur when its parameters or external excitations change in a certain range. The Lyapunov exponential method is an important method to judge the chaos phenomenon, which represents the exponential convergence or divergence speed of the two adjacent trajectories of the system.
Equation (4) can be written as follows
Then, the Lyapunov exponent of system (5) can be deduced as follows (Chen et al., 2019).
Assume that the initial conditions of two neighboring trajectories are
By omitting the second-order terms from the above two equations, we obtain the linearized equations of system (5)
Let the fundamental solution matrix of equation (8) be
Similarly
By definition
According to the definition of the Lyapunov exponent, when the limit,
Substituting equation (12) into (10) gives
When
From (14), when the system operation time t is large, then
To make the deduction process generic, assume that there are
Then, the volume of the system after time t of the operation is expressed as
Consequently
Let
For the dissipation systems, equation (18) holds
At least one Lyapunov exponent of the chaos system is positive, that is it is stretched in one or more directions, but the volume of the entire system is contracted. Therefore, to judge whether a nonlinear system will enter a chaotic state, we must only determine whether the maximum Lyapunov exponent is positive or negative. When the maximum Lyapunov exponent is less than zero, the distance between the neighboring trajectories will converge with time, and chaos will not occur. On the contrary, chaos will occur.
In this article, the Lyapunov exponent method is used to analyze the chaos of system (4), and the chaotic attractor and bifurcation diagram are used to verify the analysis results.
As observed in Figure 1(a), when the system parameter γ is greater than 11.6, the corresponding maximum Lyapunov exponential value begins to be greater than zero. Therefore, chaos will occur in the system. Figure 1(b) shows that when the system parameter γ is greater than 11.6, state x
3
begins to discontinuously change with the change in γ, that is it will start to abruptly change, which also indicates that chaos appears in the system. The chaotic attractor is one of the important characteristics of chaos. From Figure 1(c), we observe that the structure of the chaotic attractor does not continuously change with system parameter γ. During the process of parameter change, the entire structure of the chaotic attractor abruptly changes, which indicates that the system state irregularly and nonperiodically changes with time, that is chaos appears. This simulation further proves that chaos appears in the PMSM system when the parameter changes. (a) Maximum Lyapunov exponential diagram, (b) the bifurcation diagram of state x
3
, and (c) the chaotic attractor that corresponds to the system parameter γ = 17.
3. PMSM chaos control based on the inverse system decoupling and synthetical sliding mode
To realize the chaos control of the PMSM, a method including the inverse system decoupling and synthetical sliding mode is proposed in this article and shown in Figure 2. First, the reversibility of the PMSM mathematical model is analyzed, and a pseudo-linear inverse system including a first-order d-axis current subsystem and a second-order speed subsystem is established. Then, the first-order d-axis current subsystem is controlled by the SMC, and the second-order speed subsystem is controlled by the S-TSMC. Similarly, to improve the PMSM control performance, the switching function in the SMC is replaced by the hyperbolic tangent function. Chaos control block diagram based on the inverse system decoupling and synthetical sliding mode.
3.1. Inverse system decoupling of the PMSM
The PMSM mathematical model clearly shows that the stator current and rotating speed have coupling characteristics, which will adversely affect the motor dynamic and static characteristics, and they need to be decoupled. In this article, the PMSM is decoupled by using the inverse system method.
Equation (3) can be written in the form of the state equation as follows
Taking the derivative of the output
Because the first-order derivative of output
Thus,
Taking the derivative of output
From equation (22), its first-order derivative does not include input
Because the second-order derivative of output
Because
In summary, the relative order of the PMSM dimensionless system is
From equations (20) and (23), the output can be expressed as follows
Equation (25) can be written as
By substituting equation (26) into (19), using variable substitution, and replacing the variables
By connecting the original system expressed by equation (3) with its inverse system in equation (27), a physically implementable pseudo-linear system can be constructed, as shown in Figure 3. Therefore, the control problem of the original system is transformed into the control problem of the pseudo-linear system. Pseudo-linear system.
In this article, a synthetical SMC is applied to control the pseudo-linear system. The purpose of the design of the synthetical SMC system is to suppress the chaos phenomenon of the PMSM and make the motor have better dynamic performance. Therefore, the sliding mode controllers are designed for the d-axis current subsystem and rotating speed subsystem to realize the PMSM chaos control based on the inverse system decoupling and synthetical sliding mode.
3.2. Sliding mode controller design of the d-axis current subsystem
To control the d-axis current subsystem,
To satisfy the sliding condition, the control law can be designed as follows
Under the control law shown in equation (29), the Lyapunov function expressed as equation (30) is established to prove that the system state can converge to the sliding surface in finite time
Taking the derivative of equation (3) and combining it with equation (29), we obtain
From equation (31), when
3.3. Super-twisting sliding mode controller design of the rotating speed subsystem
When controlling the rotating speed subsystem,
The PMSM rotating speed controller can be designed as follows
To make all trajectories of the system converge to zero in finite time, which is proven by constructing the Lyapunov function as shown in equation (33)
The Lyapunov function is rewritten in the quadratic form as follows
Because
Taking the derivative of equation (34) yields
If
Combining equations (35) and (36), we obtain the following equations
The following differential equations are solved
The solution is
According to the comparison principle, when
Similarly, the switching function in equation (32) is replaced with the hyperbolic tangent function to further improve the control effect of the S-TSMC.
4. Simulation analysis
To verify the proposed chaos control algorithm based on the inverse system decoupling and synthetical sliding mode, the PMSM system model shown in equation (1) is established by using MATLAB/Simulink software. Three kinds of chaos controllers are designed: SMC of the noninverse system decoupling, synthetical sliding mode I with inverse system decoupling (the switching function is used to switch), and synthetical sliding mode II with inverse system decoupling (the hyperbolic tangent function is used to switch). A comparative analysis of the simulation is performed to verify the validity of the proposed control algorithm.
The initial values of the state in the simulation are
The expected rotating speed of the motor is set as shown in Figure 4, which is a square wave signal, the period is 5 s, the duty cycle is 50%, the maximum rotating speed is 500 r/min, and the minimum value is 0 r/min. It is used to simulate the sudden change in the motor rotating speed from one stable operation state to another. During the simulation, the PMSM system chaos control is not performed in the first 5 s, so the motor is in a chaotic state. The chaos control is applied to the PMSM system after the 5th s. As shown in Figure 5, the PMSM chaos can be suppressed by the three kinds of chaos control methods, so that the PMSM can remove the chaos. However, it can be seen that synthetical sliding mode II with inverse system decoupling has the shortest trajectory, which indicates that the overshoot is the smallest. Therefore, Figure 5 shows that synthetical sliding mode II with inverse system decoupling is obviously better than the other two kinds of chaos control methods. Expected rotating speed. Control effect of the three chaos control methods on the permanent magnet synchronous motor.

Figures 6 and 7 shows that in the first 5 s, the d-axis and q-axis currents of the PMSM greatly fluctuate and are in a chaotic state. When the chaos control is applied to the PMSM system after the 5th s, although the three kinds of chaos control methods can make the PMSM break away from the chaos, the current fluctuation and overshoot of the SMC of noninverse system decoupling are the largest in the process of reaching the stable operation state, and after reaching the stable state, the current value still fluctuates slightly near the stable value. Nevertheless, among the three kinds of chaos control methods, synthetical SMC II with inverse system decoupling has the smallest overshoot. When the motor current reaches a stable state, the current value also has the slightest fluctuations. The results show that synthetical SMC II with inverse system decoupling has a better control effect than the other two kinds of chaos control methods. D-axis current variation curves of the permanent magnet synchronous motor under the three kinds of chaos control methods. Q-axis current variation curves of the permanent magnet synchronous motor under the three kinds of chaos control methods.

Figures 8 and 9 shows that in the first five seconds, the PMSM rotating speed fluctuates, and it cannot track the expected rotating speed. Its operation is in a chaotic state, which is not conducive to the application of the PMSM. When the chaos control is applied to the PMSM system after the 5th s, all three kinds of chaos control methods can make the PMSM rotating speed track the expected rotating speed. However, the synthetical SMC II with inverse system decoupling has the smallest overshoot and the slightest fluctuation after reaching a stable value, which indicates that synthetical SMC II with inverse system decoupling has an obvious chaotic suppression effect compared with that of the other two kinds of chaos control methods and can effectively separate the PMSM from the chaotic state. Permanent magnet synchronous motor rotating speed curves under the three kinds of chaos control methods. Permanent magnet synchronous motor rotating speed deviation curves under the three kinds of chaos control methods.

5. Experimental analysis
To further verify the practical effect of the chaos control algorithm proposed in this article, the motor test platform shown in Figure 10 is built. The motor test platform includes a motor-driven test box, an upper monitor, a PMSM, and a loading motor. The control circuit and driving circuit are integrated in the motor driving experiment box. The main control chip TMS320F28335 DSP provides the SVPWM signal, and the driving circuit drives the PMSM to realize the driving control of the PMSM. Permanent magnet synchronous motor test platform.
Similar to the simulation, three kinds of chaos controllers are designed in the experiment: SMC of noninverse system decoupling, synthetical sliding mode I with inverse system decoupling, and synthetical sliding mode II with inverse system decoupling. The expected rotating speed of the motor is shown in Figure 4. The experimental conditions are consistent with the simulation, and the experimental results are shown in Figures 11–14. D-axis current experiment variation curves of the permanent magnet synchronous motor under the three kinds of chaos control methods. Q-axis current experiment variation curves of the permanent magnet synchronous motor under the three kinds of chaos control methods. Permanent magnet synchronous motor rotating speed experiment curves under the three kinds of chaos control methods. Permanent magnet synchronous motor rotating speed experiment deviation curves under the three kinds of chaos control methods.



As seen from Figures 11 and 12, when the chaos control is applied to the PMSM system after the 5th s, although the three kinds of chaos control methods can effectively control the PMSM, the current fluctuation and overshoot of the SMC of noninverse system decoupling are the largest in the process of reaching the stable operation state, and after reaching the stable state, the current value still slightly fluctuates near the stable value. Synthetic SMC II with inverse system decoupling has the smallest overshoot. When the motor current reaches the stable state, the current value also has the slightest fluctuations. Therefore, the experimental results are consistent with the simulation results, which show that synthetical SMC II with inverse system decoupling has a better control effect than the other two kinds of chaos control methods. The results of Figures 13–14 are also consistent with the simulation results, which also show that synthetical SMC II with inverse system decoupling has an obvious control effect and can effectively control the PMSM compared with the other two kinds of chaos control.
6. Conclusion
Aiming at the chaos phenomenon in the operation of the PMSM, first, the PMSM nonlinear model is established, and the chaos analysis is performed using the Lyapunov exponent method. The analysis reveals that when the motor parameters are in a certain range, chaos will occur in the operation of the motor and be manifested by the sharp fluctuation of the torque and speed. To control the chaos of the PMSM, the reversibility of the PMSM model is analyzed, and a pseudo-linear inverse system, which includes a first-order d-axis current subsystem and a second-order rotating speed subsystem, is established to decouple the PMSM. Then, synthetical SMC II with inverse system decoupling is proposed to control the chaos of the PMSM, where the d-axis current is controlled by the SMC, and the rotating speed is controlled by the S-TSMC, both of which use the hyperbolic tangent function to switch. Finally, the simulation analysis and experiment analysis are performed, which indicate that synthetical SMC II with inverse system decoupling has a good control effect on the chaos of the PMSM compared with the another two control methods.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This project was supported by the National Natural Science Foundation of China (Grant No. 51605003 and 51575001), the Anhui Science and Technology Project (Grant No. 1604a0902158), and the introduction of talents science research foundation of Anhui Polytechnic University (Grant No. 2016YQQ002). In addition, I am very grateful to my wife and children for their selfless support in my work and life.
