Abstract

Aiming at the problems of severe chattering and difficulty in low-speed operation of the surface-mounted permanent magnet synchronous motor (SPMSM) sensor-less speed control system based on the traditional sliding mode observer (SMO), this paper proposes a sensor-less control strategy of supertwisting sliding mode observer based on adaptive feedback gain (AFG-STA-SMO). This strategy combines the supertwisting algorithm (STA) with the equivalent feedback principle and designs an adaptive law to compensate for the rotor position error by adjusting the feedback gain coefficient online. Secondly, considering the ripple component in the back electromotive force (back-EMF), the Kalman filter gets a smoother back-EMF signal, further improving the rotor position estimation accuracy. The stability of the system is proved by using the Lyapunov function. Finally, the feasibility and effectiveness of the proposed control strategy are verified by MATLAB/Simulink simulation.

1. Introduction

Surface-mounted permanent magnet synchronous motor has a small size, high power density, high efficiency, low rotor loss, and solid environmental adaptability [14]. It is widely used in the wind power generation system and industrial transmission field. In order to realize high-performance control of permanent magnet synchronous motor, it is necessary to install speed and position sensors such as a photoelectric encoder to get accurate rotor position and speed information. However, installing a photoelectric encoder will increase the system’s cost and require a high operating environment [5]. As a result, various sensor-less techniques have been developed to estimate rotor position and speed over the past few decades.

At present, speed sensor-less control algorithms are mainly divided into two categories: the high-frequency signal injection method, which depends on the motor’s salient spatial characteristics. Accurate rotor position information can be obtained at all speeds, including zero speed, but it is only applicable to the built-in motor with much noise. The second type uses the motor speed parameters (such as the back-EMF) in the motor fundamental excitation mathematical model to estimate the rotor position and speed, which has significant dynamic performance but is only suitable for the operation range of medium and high-speed. The commonly used fundamental back-EMF observation algorithms include SMO [69], model reference adaptive [1011], and extended Kalman filter [12]. SMO has been widely studied because of its simple implementation, insensitivity to parameter changes, and external interference [13]. However, the chattering caused by the sign switching function is an inevitable problem in SMO. Therefore, the low-pass filter (LPF) was introduced to filter the back-EMF. Since the traditional LPF cut-off frequency is fixed, the back-EMF’s ripple component cannot be eliminated, seriously affecting the rotor position’s estimation accuracy [14]. In literature [15], an adaptive filter is proposed to filter out the sliding mode noise, but the causes of the system’s phase delay to a certain extent. The literature [1618] proposed an SMO based on the supertwisting algorithm to observe back-EMF to solve this problem. This method can effectively suppress the chattering phenomenon caused by the switching function, and a good control effect can be obtained in the medium and high-speed range. However, with the decrease of motor speed, the back-EMF gradually decreases, and the observation accuracy also decreases. In order to improve the rotor estimation when the motor runs at low speed, an SMO is based on equivalent feedback proposed in the literature [19]. The observer can feed back on the estimated back-EMF to the stator current observation and calculation to achieve the motor’s low-speed operation. However, the feedback gain coefficient is only selected according to the speed, so the algorithm lacks adaptability. Based on the equivalent feedback sliding mode observer, a feedback gain adaptive algorithm is proposed in the literature [20, 21] to realize the rotor angle compensation at different speeds. However, this method still needs to introduce an LPF and compensate for the rotor position delay, which increases the complexity of the system.

In this paper, an STA-SMO with adaptive feedback gain was proposed by combining the equivalent feedback principle with the supertwisting algorithm. The observer feeds back on the estimated back-EMF to the stator current observation and calculation and designs an adaptive law to realize rotor angle compensation at different speeds, which improves the observer’s low-speed performance and simplifies the selection of sliding mode gain. Simultaneously, the Kalman filter is used to filter out the ripple component in the back-EMF and further improve the sensor-less control precision; the Lyapunov function analyzes the system’s stability.

2. Design of SMO

2.1. Mathematical Model of SPMSM

The mathematical model of surface-mounted PMSM, the-stationary coordinate system, is [22] where , , , , and are - axis voltages, - axis currents, - axis back-EMFs, stator resistance, and stator inductance, respectively. And satisfies where is the flux linkage, is the rotor position angle, and is the rotational speed.

The derivative of equation (2) is obtained:

As shown in equation (3), the back-EMF contains the rotor position and speed information.

2.2. Traditional SMO

In order to obtain the back-EMF, equation (1) is rewritten as follows:

According to equation (4), the traditional SMO can be designed as where is the observed value of stator current, is the control input of the observer, and is the estimated value of the back electromotive force. where is the signum function and is the sliding mode gain coefficient.

From equation (6), it can be seen that there is a discontinuous function in the estimated back-EMF value, which makes the back-EMF contain a large number of sliding mode noise and harmonic components, so it needs to introduce a LPF to filter it. Since the phase and amplitude errors are introduced into the LPF, it must be compensated, which increases the complexity of the system.

In order to further improve the low-speed performance of speed sensor-less control, a SMO based on equivalent feedback electromotive force was proposed in literature [19], as shown in the following equation: where is the feedback gain coefficient and are the equivalent feedback electromotive force values. where is the cut-off frequency of the LPF and is the time constant of the LPF.

When the motor is running at low speed, the SMO based on the equivalent feedback EMF can improve the value of the equivalent feedback EMF by reasonably designing parameter , so as to solve the problem that the response EMF is too small and the rotor position cannot be estimated effectively, and improve the control precision of the system. However, the method still needs to introduce a low-pass filter and conduct behavior compensation.

In order to retain the advantages of the equivalent feedback SMO and avoid using a LPF, a new sliding mode speed sensor-less control method was designed in literature [23]. In this method, a new state observer is designed to observe the equivalent feedback signal , thus avoiding the use of a LPF. However, the design and debugging of the state observer are complicated.

3. Design of AFG-STA-SMO

3.1. Supertwisting Algorithm

The general form of the supertwisting algorithm [17] is as follows: where , , , , , and are state variables, estimation of state variables, the error between estimated and actual state variables, sliding mode gain coefficient, perturbation term, and signum function, respectively.

3.2. AFG-STA-SMO

Since SPMSM high-precision vector control requires accurate motor speed and rotor position information, traditional SMO has parameter perturbation and chattering. This paper combines the principle of equivalent feedback with STA-SMO, and the design is as follows: where is the feedback gain coefficient, are the observation value of the stator currents, are - axis voltages, and are regarded as the perturbation terms, and are the estimated value of back-EMFs, and and are the equivalent feedback electromotive force values.

The difference between equations (4) and (10) can be obtained: where , , , and .

After the state variable of the observer reaches the sliding mode surface and , according to the sliding mode variable structure equivalent principle, we can get

From equation (12), the integral term filters out high-frequency sliding mode noise, so introducing low-pass filters and phase compensation is avoided, and the system algorithm is simplified. It can be seen from equation (12) that the sliding mode gain and feedback gain are proportional to the speed. When the motor is running at high speed, the sliding-mode gain and the feedback gain are larger. When the motor runs at low speed, the sliding-mode gain and the feedback gain are smaller.

3.3. Optimization of AFG-STA-SMO

The derivative of equation (12) is obtained:

Although the harmonic component is effectively filtered by integral operation, the back-EMF’s observed value still contains a ripple component, which will lead to error if used to estimate the rotor position directly. Therefore, the Kalman filter is used in this paper to obtain a smoother back-EMF signal, which further improves the rotor position estimation accuracy.

According to equation (13), the state equation of the Kalman filter is designed as [24] where is the adaptive gain, is the estimated rotational speed, and are the final observed values of back-EMF, , and .

Considering that the adaptive gain coefficient which is too large will cause the system to be unstable and too small will cause the system to converge too slowly, so this paper designs the adaptive gain according to the actual speed of the motor as where and are both normal numbers and represents the actual speed of the motor.

Stability analysis where .

Since the mechanical time constant is much larger than the electrical time constant, it is considered that the speed does not change within an estimation period. which can be obtained from equation (3) and equation (14):

Substitute equation (17) into equation (16) and derive

Therefore, according to the Lyapunov stability criterion, the system with the Kalman filter is stable. The structure schematic diagram of AFG-STA-SMO is shown in Figure 1.

3.4. System Stability Analysis

The Lyapunov function can define as

From equations (19) and (11), it can be obtained that

In order to ensure the convergence of the current-sliding mode observer, must satisfy; then, the sliding mode gain can be obtained as follows: where represents the upper bound.

When the current-sliding mode observer converges, , from equation (11) that

Substitute equation (22) into equation (10) and get

It can be obtained from equations (23) and (3) that

Similarly, the Lyapunov function can be defined as

From equations (25) and (24), the following equation can be obtained:

To ensure the convergence of the current-sliding mode observer, must satisfy; then, the sliding mode gain can be obtained as follows:

Equations (21) and (27) give the stability conditions of the established system.

3.5. Adaptive Law Analysis of Feedback Gain Coefficient

In equation (20), and is always less than 0. A sufficient condition for the existence of equation (20) is constructed as follows:

Since and , it can be deduced that the condition satisfying is as follows: where is the actual speed and is the flux linkage.

From equation (29), it can be seen that the selection of affects the size of the sliding mode gain of . The larger the is, the lower the limit of the effective range of is. Conversely, the smaller the is, the higher the lower limit of the effective range of is.

According to equation (29), where .

According to equation (30), is known, so the feedback gain coefficient can be designed as follows: where is a normal number, which is related to the gain of sliding mode . So meet the following conditions:

In order to select conveniently, is set in this paper.

4. Rotor Position Estimation

Since the sliding mode control is accompanied by high-frequency chattering in the sliding mode, the high-frequency chattering phenomenon will estimate in the back-EMF. The rotor position estimation method based on the arctangent function will introduce this chattering into the division operation; significantly, when the observed value of back-EMF exceeds zero, the rotor error will amplify. Therefore, PLL [25] is adopted in this paper to replace the arctangent function to extract the rotor’s position information, as shown in Figure 2.

Hypothesis , when and is established, according to Figure 2, can get the following relationship:

At this time, the equivalent block diagram of Figure 2 is shown in Figure 3.

According to Figure 3, the transfer function of PLL can be obtained, namely, where , , and determine the bandwidth of the PI regulator.

5. Simulation

According to Figure 4, MATLAB is used to build a simulation model, and the control scheme adopts vector control based on . The motor parameters in the simulation experiment are shown in Table 1.

The control system parameters of SPMSM based on the traditional sliding mode observer are as follows: . The control system parameters of SPMSM based on traditional STA-SMO are as follows: and . The control system parameters of STA-SMO PMSM based on fixed feedback gain are , , and . The control system parameters of PMSM based on AFG-STA-SMO are as follows: , , and .

5.1. Improved AFG-STA-SMO Simulation

When the SPMSM is under sensor-less control, the rotor position and speed signals are hidden in the back-EMF observation value. This paper mainly uses a super spiral sliding mode observer to extract rotor position and speed information from the back-EMF observations. Although this strategy can avoid introducing low-pass filters, it cannot effectively filter the back-EMF ripple component. In order to obtain a smooth back-EMF signal, this article introduces a Kalman filter to filter the back-EMF signal again. The simulation result is shown in Figure 5. To verify the effectiveness of the strategy proposed in this paper, the motor adopts a no-load starting mode with a given speed of 100 r/min. At 0.2 s, the speed is increased to 300 r/min; at 0.4 s, the speed is increased to 1100 r/min. Figure 5 shows the back-EMF response waveforms under two different strategies.

Table 2 shows that the back-EMF fluctuations of the improved strategy proposed in this paper at three different speed stages are 50%, 8%, and 2.5% of the back-EMF fluctuations of the unimproved strategy, respectively.(Ea1: AFG-STA-SMO without Kalman filter; Ea2: AFG-STA-SMO with Kalman filter). By analyzing Figure 5 and the above results, it can be seen that the introduction of the Kalman filter can effectively suppress the ripple component in the back-EMF observation value, thereby obtaining a smoother back-EMF observation signal and further improving the accuracy of the rotor position estimation.

5.2. Verification of Adaptive Feedback Gain Adjustment

In order to verify the validity of the adaptive law proposed in this article, the motor adopts a no-load starting mode with a given speed of 100 r/min. At 0.2 s, the speed is increased to 300 r/min; at 0.4 s, the speed is increased to 1100 r/min.

From Figures 6 and 7 and Table 3, it is shown that the speed errors of AFG-STA-SMO at three different speed stages are 54.26%, 35.45%, and 100% of STA-SMO speed errors with fixed feedback gain (FFG-STA-SMO), respectively.

Figures 810 and Table 3 show that the rotor position errors of AFG-STA-SMO at three different speed stages are 16.28%, 24.32%, and 100% of FFG-STA-SMO rotor position errors, respectively.

From the above results and the simulation diagram analysis, it can be seen that under the action of the fixed feedback gain, when the motor is running at 1000 r/min, the speed error and rotor position error are minimal. As the speed continues to decrease, the speed error and rotor position error are gradually increasing. After introducing adaptive control, the feedback gain is proportional to the speed. During the entire speed change process, the speed errors are less than the speed errors of FFG-STA-SMO; the estimated rotor position and the actual rotor position are the same, enhancing the system stability.

5.3. Medium and High-Speed Verification Analysis

In order to verify the advantages of the control strategy proposed in this paper in medium and high-speed operation, the motor adopts a no-load starting mode, and the given speed is 600 r/min. At 0.1 s, load torque of 4.5 N·m is applied; at 0.2 s, the speed rises to 1000 r/min; at the first variable speed stable operation stage (0.3 s), the load torque changes to 5 N·m; at 0.4 s, the speed is increased to 2000 r/min.

From Figure 11, the application of 4.5 N·m and 5 N·m of load torque in 0.1 s and 0.3 s, respectively, causes a slight speed drop in the actual speed. At this time, the estimated speed is still tracking the actual speed, and there is also a slight speed drop that has proved the feasibility and effectiveness of these three control strategies.

Figure 12 and Table 4 show that the speed errors of AFG-STA-SMO at three different speed stages are 0.429%, 0.556%, and 1.5% of SMO speed errors, respectively. The speed errors of AFG-STA-SMO at three different speed stages are 5%, 8.3%, and 20% of STA-SMO speed errors, respectively.

From the above results and simulation waveform analysis, it can be seen that the speed error of SMO increases with the continuous increase of the speed; the sliding mode chattering is serious, which is not conducive to the system’s stable operation of the system. There is an obvious lag phenomenon in the speed rise of 2000 r/min. Compared with SMO, STA-SMO effectively suppresses sliding mode chattering due to the characteristics of high-order sliding mode and integral operation function and reduces the speed error, thereby avoiding the lag phenomenon caused by introducing low-pass filters. Compared with STA-SMO, the proposed control strategy is based on STA-SMO, and the Kalman filter and adaptive control are introduced to suppress further sliding mode chattering so that the speed error is minimized, and the change of speed error is small when coping with external disturbance.

Table 5 shows that the back-EMF fluctuations of AFG-STA-SMO at three different speed stages are 0.75%, 2.78%, and 0.5% of the back-EMF fluctuations of SMO, respectively. The back-EMF fluctuations of AFG-STA-SMO at three different speed stages are 12.5%, 6.25%, and 4% of the back-EMF fluctuations of STA-SMO, respectively.

Figure 13, Table 5, and the above analysis of the results show that the SMO’s back-EMF has a lag due to the low-pass filter’s introduction, which affects the system’s response speed. However, STA-SMO avoids this phenomenon due to integral operation. Although these two control strategies can effectively filter out the harmonic components, there are many ripple components in the back-EMF value. If they are directly used to estimate the rotor position, they will inevitably cause larger errors. Therefore, the Kalman filter is introduced to perform filtering processing to effectively suppress the back-EMF ripple component, thereby obtaining a smoother back-EMF signal and improving control accuracy.

5.4. Low-Speed Verification Analysis

In order to verify the advantages of the sensor-less algorithm-controlled speed control system in low-speed operation situations, simulation experiments are carried out in low-speed areas. The motor adopts a no-load start mode, and the given speed is 100 r/min. At 0.2 s, the speed suddenly changes to 15 r/min.

Figure 14, Figure 15, and Table 6 show that the speed errors of AFG-STA-SMO at two different speed stages are 0.6534% and 1.1423% of the SMO speed errors, respectively. The speed errors of AFG-STA-SMO at two different speed stages are 5.3125% and 12.5% of STA-SMO speed errors, respectively.

Figures 1619 and Table 6 show that the rotor position errors of AFG-STA-SMO at two different speed stages are 0.53% and 0.75% of SMO rotor position errors, respectively. The rotor position errors of AFG-STA-SMO at two different speed stages are 5.33% and 3% of STA-SMO rotor position errors, respectively.

From the above results and simulation diagram analysis, it can be seen that when the motor runs at low speed, the chattering of SMO speed waveform and rotor estimated position waveform is serious, and the speed error and rotor position error are the largest. When the speed is reduced to 15 r/min, the system almost cannot operate normally. Compared with SMO, STA-SMO suppresses sliding mode chattering to a certain extent due to the characteristics of high-order sliding mode and the function of the integrator. However, the back-EMF is too small when the motor runs at low speed, resulting in rotor position error and speed error deviation. It is not conducive to the stable operation of the system. Compared with STA-SMO, the estimated rotor position of AFG-STA-SMO is basically the same as the actual rotor position due to the introduction of equivalent feedback gain, and the speed error and rotor position error are minimal, thus avoiding the situation that the rotor position error is too large due to the small back-EMF.

6. Conclusion

This paper presents a sensor-less control strategy for STA-SMO with adaptive feedback gain. The adaptive law, which compensates for rotor angle estimation error by adjusting the feedback gain coefficient online, effectively solves the motor’s problems of low-speed operation difficulty and serious sliding mode chattering.

Secondly, the Kalman filter is used to reduce the ripple component in the back-EMF. The smoother back-EMF signal is obtained, and the control precision of the algorithm is further improved.

The whole system realizes the full speed domain operation; the dynamic response is fast and has the strong disturbance resistance when dealing with the external disturbance. In the next step, the author intends to implement the proposed control strategy with high-performance DSP chip in order to improve the operation time extension caused by the increasing complexity of the control system.

Data Availability

The data supporting the findings of this study are available within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research work was supported by the Jilin Science and Technology Development Project 20200403133SF.