Abstract

In order to improve the performance of external disturbance rejection of permanent magnet synchronous motor (PMSM) in speed control, sliding mode control with extended state observer is adopted in this paper. First, an exponential function-based sliding mode reaching law (ESMRL) is developed. The ESMRL can dynamically adapt to the variations of the controlled system, which decrease the reaching time in reaching stage and void chattering in sliding motion stage while maintaining high tracking accuracy of the servo system. Then, an extended state observer (ESO) is introduced to the controller to simultaneously estimate external disturbance and compensate the uncertainties. Simulation results demonstrate that the proposed method has better suppression of chattering effect and disturbance rejection ability while ensuring dynamic performance.

1. Introduction

Permanent magnet synchronous motor (PMSM) has many excellent features such as high efficiency, low noise, high power density, and friendly maintenance [1]. Due to these advantages, PMSM has been widely used in the industry such as aviation, vehicles, robotics, and power converters [2]. During the operation of PMSM, the change of load and moment of inertia has great impact on the system performance. High performance servo system requires no overshoot, fast transient response, and no steady-state error and is robust to the change of parameters and disturbance. Conventional control method such as PI control scheme has been widely used for its simple structure and easy implementation. However, in case of parameter variations and unavoidable external disturbances, it is difficult to achieve satisfactory performance with PI control algorithm [3].

Therefore, many scholars concentrate on the robustness of the servo system and have developed lots of nonlinear control methods, for example, active-disturbance rejection controller (ADRC) [4], sliding mode control [57], predictive control [8], fuzzy control [9, 10], intelligent control [11], backstepping control [12, 13], and observer-based control [14].

The sliding mode control has been widely and successfully used in PMSM servo system [1517] because of its easy implementation, fast response, and robustness for external disturbance and internal parameter variations. Usually, a conventional first-order sliding mode control is used in the design of the servo control system, which would cause chattering phenomenon because of high-frequency switching control. Therefore, the suppression of chattering becomes more and more important in sliding mode control and scholars have focused on the method to counteract the chattering in the past decades. Bound layer was introduced by using a saturation function instead of the switching control around the sliding surface [18]. A disturbance observer was used to compensate the disturbance and significantly avoid the chattering [19]. In [20], second-order or high order sliding mode control was applied to reduce the chattering. In [21], Gao and Hung proposed some reaching laws to reduce or even eliminate chattering. However, the gain rapidly decreases in these reaching laws because of the variation of sliding surface function, which reduces the robustness of the control system near the sliding surface and also increases the reaching time.

In this paper, a sliding mode reaching law based on exponential term function, which adapts to the variations of the system states and sliding mode surface, is proposed. Moreover, the reaching law is able to deal with the reaching time/chattering dilemma. Based on the new reaching law, a sliding mode controller for PMSM speed control is developed. Furthermore, in order to improve the disturbance rejection performance of the system, extended state observer (ESO) is adopted to estimate the external disturbance, which is employed for feedforward compensation of the control law. Thus, a composite control strategy combining ESMRL and a feedforward compensation part based on ESO, called ESMRL + ESO strategy, is proposed. The simulation results prove that the proposed scheme has achieved a better performance with shorter settling time, no overshoot, high accuracy, and robustness.

The paper is organized as follows. The model description of the PMSM drive system and some background are given in Section 2. The proposed improved sliding mode reaching law (ESMRL) and its stability analysis are presented in Section 3. Then, an introduction of ESO and ESMRL + ESO strategy is given in Section 4. Finally, simulation results are demonstrated in Section 5 and concluding remarks are given in Section 6.

2. Preliminary

2.1. Modeling of PMSM Drive System

The mathematics mode for the permanent magnet synchronous motor in the rotor rotating reference frame () can be described as follows:where and and and are the - and -axis voltages (volt) and currents, respectively; is the stator resistance; and are the - and -axis stator inductances; and are the - and -axis stator flux linkages; is the equivalent -axis flux linkage; is the angular velocity (rad/s); is the pole-pairs of motor.

The electromagnetic torque equation is presented as

The motor dynamic equation is stated as where is the lumped disturbance, is the moment of inertia, and is the viscous friction coefficient.

By utilizing the vector control method with and substituting (2) into (3), the second-order state equation of PMSM motor can be achieved:

The structure of the PMSM servo system is presented in Figure 1, which consists of a PMSM, a SVPWM voltage source inverter, an encoder, a current controller, three coordinate translators, and a speed controller. The speed controller will be described in detail in the next part.

2.2. Problem Formulation

The most important advantage of SMC is its insensitivity to external disturbance and internal parameter variations once the system reaches the sliding surface. However, chattering is the major drawback which limits the wide implementation of SMC. A complete study of sliding mode reaching laws is presented in [21] that motivates our researches for an improved reaching law which will be introduced in the next section.

In this section, the design method of SMC is briefly introduced. Generally, the design is divided into two steps; the first step is to choose a proper sliding mode surface, and the second step is to design an appropriate control input which forces the system trajectory move on the sliding mode surface.

An SMC system with reaching law is generally described as a second-order nonlinear system as follows:where represents the system state, is the system disturbance, and is invertible and not zero.

The typical sliding mode surface is chosen as follows:

The asymptotic stability of the system can be guaranteed by such sliding mode surface, while the convergence rate is directly related to the value of .

After choosing the sliding surface for the sliding stage, the next step is to choose the control law which will force the trajectory move on the sliding surface. To do so, the control law must satisfy the reaching condition that is described as follows:

Typically, in order to meet the reaching condition (7), the reaching law is chosen as follows:

Substituting (6) into (8) results in

Next, substituting (5) into (9) yields

Then, the control input could be easily obtained as follows according to (10):

Obviously, the discontinuous term in the control input will lead to the chattering phenomenon, and chattering level lies on the value of directly.

From (8), the time required in reaching stage can be derived as follows:

From (12), it can be seen that the reaching speed is also controlled by the value of directly. The value of must be increased in order to get a faster reaching speed and a better robustness, but high gain will lead to the increase of chattering level of the control input. Therefore, an improved reaching law is proposed in order to solve the dilemma in the next section.

3. Design of SMC Speed Controller with ESMRL

3.1. The Description of ESMRL

The new ESMRL in the paper is realized based on the choice of an exponential term which adapts to the variation of the system states and sliding mode surface. The reaching law is given bywhere , , and is the system state.

It is obvious that the stability of the system will not be affected because is always strictly positive. In the new reaching law, it can be found that, with the increase of , converges to the value of which is greater than the value of . This means that the speed is increased in reaching stage and the attraction to the sliding surface would be faster. On the other hand, if decreases, will converge to . It indicates that when the trajectory approaches the sliding surface, gradually decreases to zero in order to suppress the chattering. Therefore, the proposed reaching law in this paper can dynamically adapt to the variations of the system state and sliding surface .

From (13) and (14), it can be obtained that

Let be the reaching time; integrating (15) from zero to with will yield

Because of , the following inequality can be obtained:

From (17) it can be found that if the parameter is properly chosen to satisfy , inequality (17) can be simplified as

Hence, according to inequality (18) and equality (12), the relationship between and can be obtained as follows:

Note that, in the reaching stage , is always negative and is strictly positive, implying that . It means that the proposed new reaching law has improved the reaching speed in the reaching stage with the same gain .

On the other hand, if the sliding mode surface is around zero, then will converge to . Hence, the proposed reaching law in (14) can be simplified as . Then, the discrete expression can be obtained aswhere is the sample period of the system. Assume that the system trajectory reaches the sliding mode surface in a finite time, which means or .

Then, with , the next period equation can be written as follows:

The next period equation with can also be obtained as follows:

Therefore, the sliding mode bandwidth can be acquired as

In the same way, the sliding mode bandwidth of (8) can also be written as

Comparing (23) with (24), we will find that the equal rate reaching law has a constant bandwidth, which means that the system state cannot reach the equilibrium point with equal rate reaching law. It will chatter in the bandwidth . On the other hand, the bandwidth of the proposed reaching law will decrease with the decrease of system state , which means that the equilibrium point will be reached with the proposed reaching law in finite time. Therefore, the chattering phenomenon can be greatly suppressed with the proposed reaching law. The comparison of the state trajectories of two reaching laws is listed in Figure 2.

3.2. Design of Speed Controller Based on ESMRL

In order to accurately track speed reference under the occurrence of uncertainty, the tracking error is defined as . Then, the sliding mode surface can be chosen as

Then, taking the derivative of sliding mode surface will yield

Substituting the new reaching law (13) into (26) yields

Therefore, the control input can be obtained as follows by substituting (4) into (27):where .

As can be seen in (28), the lumped disturbance is included in the control input. In order to compensate it, the extended state observer (ESO) and ESMRL + ESO strategy will be introduced in the next section.

3.3. Simulation Results

In order to verify the effectiveness of the new reaching law, simulations have been made to compare the new reaching law with equal rate reaching law on the PMSM system. The parameters of PMSM are shown in Table 1, and the results are demonstrated in Figures 3 and 4.

In the simulation, the speed reference is  rpm and the lumped disturbances are ignored. The switching gain of the equal rate reaching law is , while the parameters of the new reaching law are , and . The simulation results of the sliding surface are listed in Figure 3, and the results of -axes current are shown in Figure 4. From the results, it can be found that the proposed new reaching law not only increases the reaching speed in reaching stage but also greatly improves the chattering level of the control input compared with equal rate reaching law.

4. ESO-Based Composite Control Strategy

4.1. ESO-Based Controller for PMSM

The lumped disturbances of the PMSM system include external disturbance, for example, variation of friction load torque, and internal disturbances, for example, variations of parameters and unmodeled dynamics [22]. These disturbances will degrade the control performance unless a corresponding feedforward compensation technique is considered to suppress it. In order to solve this, the estimation of disturbances should be obtained. ESO is a conventional state observer that not only observes the system state but also estimates the lumped disturbance by considering it as an extended state. Then, the estimated lumped disturbances are used as a feedforward part to the control law to compensate the lumped disturbances as shown in Figure 5.

From (4) and according to [23], a linear ESO can be constructed as follows:where is the estimation of speed , is the estimation of the lumped disturbance, and is the desired double pole of ESO with .

Therefore, the composite control law based on ESMRL + ESO can be written as

By using this strategy, the disturbance could be estimated and compensated online which will greatly improve the tracking accuracy and robustness of the system.

In order to meet the reaching condition, the Lyapunov function is chosen as

Deriving (31) and substituting (4), (26), and (30) into it will yield

So, the composite control strategy makes the system stable and sliding surface will converge to zero in finite time.

5. Simulation Results

Simulations are implemented to verify the performance of ESO in the estimation of disturbance and to demonstrate the tracking performance based on ESMRL + ESO strategy. The parameters of PMSM are listed in Table 1, and the simulations are established in MATLAB/Simulink. All the parameters of current loop are the same: the proportional gain and the integral gain . The speed loop parameters of PI controller are proportional gain and integral gain . The speed loop parameters of ESMRL + ESO are , and .

First of all, a comparison of step response with speed reference  rpm is carried out between ESMRL + ESO control strategy, traditional SMC controller, and PI controller. The speed response is illustrated in Figure 6. It is obvious that the performance of the ESMRL + ESO control strategy is much better than traditional SMC controller and PI controller, with smaller rising time and settling time. A large overshoot of almost 16% is obtained by PI controller which is unacceptable. To further test the tracking performance of the system in wide speed range, a square wave with  rpm is applied to the system and the response is demonstrated in Figure 7. The figure verifies that the system with ESMRL + ESO control strategy has a better tracking ability than that with traditional SMC controller and PI controller. In order to test the rejection ability of system, a comparison of ESMRL + ESO control strategy with SMC controller, PI controller, and ESMRL controller is made and the external disturbance  N·m is suddenly added into the system at  s and removed at  s. The simulation results are shown in Figure 8. It can be seen that the ESMRL + ESO controller has less fluctuation of speed with a deviation of 2 rpm, while the ESMRL controller and traditional SMC controller have a speed deviation of 4 rpm and 6 rpm, respectively. Besides, the chattering phenomena still exist in the traditional SMC controller. The system with PI controller has a peak speed deviation of 18 rpm and recovers in about 0.5 s. The estimated disturbance is demonstrated in Figure 9; it can be found that ESO can exactly estimate the disturbance. On the other hand, Figure 10 displays the step response with different inertia between PI controller, SMC controller, and ESMRL + ESO controller, respectively. It is obvious that the variation of inertial almost has no effect on the system robustness with SMC controller and ESMRL + ESO controller; it just affects the rising time of the system, while response and overshoot with PI controller will be impacted by the variation of inertial, which will affect the stability of the system.

6. Conclusion

In this paper, sliding mode control technique has been studied and applied to the speed control of PMSM system. In order to suppress the chattering phenomenon and improve tracking performance, an ESMRL based on exponential term function is proposed. Moreover, extended state observer is implemented to estimate the disturbance and compensate it online. Then, a composite strategy ESMRL + ESO is developed to further improve the tracking performance and disturbance rejection ability. The control stability of the system has been proved by Lyapunov stability theory.

Based on the analyses and simulations, it can be concluded that the proposed controller significantly improved the system performance by ensuring the invariance property against disturbance and parameters, fast transient response, and high tracking accuracy.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.