1. Introduction
The permanent magnet synchronous motor (PMSM) has been widely used in modern industrial fields because of its advantages of having a small size, simple design, high efficiency, and high power density, and it is used in many applications such as numerically controlled machine tools, robots, new energy vehicles, and other fields [
1]. In the operation process of PMSM, there are factors such as current coupling, magnetic field saturation, and external or internal unknown interference, which make the motor to become a highly nonlinear system [
2]. Therefore, obtaining high-performance control algorithms has become the key to PMSM applications. In recent years, with the development of modern control theory and power electronics technology, many researchers have developed a large number of PMSM control strategies and control algorithms. The main control strategies are magnetic field directional control (FOC), direct torque control (DTC), maximum torque per ampere (MTPA), etc. The control algorithms are used for the specific implementation to design the controllers in each control strategy. At present, the most widely used control strategy is the FOC, because it can effectively realize the decoupling of the stator current [
3]. After the development and application of the FOC strategy, the main problem that restricts the control performance of PMSM becomes how to solve the impact of the external or internal unknown disturbances. The internal disturbance of PMSM mainly includes motor parameter variation [
4], back electromotive force, and torque ripple [
5], and the external disturbance mainly refers to load torque disturbance [
6].
In order to solve the disturbance problem, researchers have proposed different control algorithms, such as the PID control algorithm, sliding mode control algorithm, backstepping control algorithm, adaptive control algorithm, robust control algorithm, neural network control algorithm, and fuzzy control algorithm [
7,
8,
9,
10,
11,
12]. Among them, the PID control algorithm is the longest and most widely used control algorithm. The control structure of the PID control algorithm is simple and easy to use, and the integral loop itself can suppress special types of disturbances. However, the PID control algorithm is a linear algorithm, and it also has the shortcomings of a linear algorithm, that is, there is a contradiction between the overshoot of the system dynamic response and the settling time [
13]. In addition, the response speed of the traditional PID controller to suppress disturbances is dependent on its parameters, and although there are many tuning algorithms that have improved the performance of traditional PID controllers, it is difficult for traditional PID controllers to ensure zero steady-state error control under time-varying parameter disturbance [
14].
Among the remaining control algorithms listed above, backstepping algorithm and sliding mode algorithm are the control algorithms that researchers pay most attention to [
15]. The backstepping algorithm is widely recognized because it is a control algorithm with self-stabilization and wide relaxation matching conditions. Under the semi-accurate conditions of the PMSM model, the backstepping algorithm is a control algorithm that is closest to the essence of the PMSM motor model. In addition, the q-axis model of the PMSM is a second-order model, and the backstepping method can connect the second-order models like a bridge and ensure that each order state is asymptotically stable in the global scope [
16,
17]. The sliding mode control algorithm has a simple structure, and more importantly, it has a strong disturbance rejection capability [
18]. However, the sliding mode surface of the traditional sliding mode control algorithm is mostly designed as a linear sliding mode surface, which makes the sliding mode control algorithm more sensitive to model mismatch and unknown disturbances [
19]. For the problems of sliding mode control, the current research is generally divided into two categories: The first category mainly uses some classic control design tools, such as using the Riccati inequation method to design a new type of sliding surface [
20], to study the robust stability of various systems under mismatched uncertainties. The sliding mode controller designed based on the above method must require that these model mismatch and unknown disturbances must be bounded by the H
2 norm, that is to say, these unmatched disturbances must belong to the self-decaying disappearance type. Taking PMSM as an example, the load torque and the mismatched parameters disturbance therein may have nonzero steady-state values and thus do not have bounded H
2 norms [
21]. The second method is to add an integral module to the traditional sliding mode controller to construct an integral sliding mode controller [
22]. The design idea of the integral sliding mode control algorithm is to design a high-frequency switching gain to force the state to achieve an integral sliding surface. When matching the unknown disturbance action, the integral action of the sliding surface drives the state to the desired equilibrium state. Compared with the first type of mismatch uncertainty, the integral sliding mode control algorithm has received more attention from researchers because of its simplicity and robustness. Of course, the integral action will often bring some adverse effects to the control system, such as a large overshoot and long transition time [
23]. In [
24,
25], the authors proposed nonsingular integral terminal sliding mode control, which guarantees fast transient convergence both at a distance from and at a close range to the equilibrium point. The above two types of SMC methods use a robust way to suppress the influence of the model mismatch and unknown disturbances, which means that the attenuation of the model mismatch and unknown disturbances is at the expense of the performance of the PMSM servo control system. In addition, the torque jitter of the sliding mode control algorithm itself is still an urgent problem to be solved [
26].
The main research contents of this paper are as follows: Based on Lyapulov’s second stability theory, a backstepping sliding mode controller and a backstepping integral sliding mode controller are designed, and the control performance of the two control algorithms in the face of model mismatch and unknown disturbances is compared. Aiming at the deficiencies of the two types of sliding mode control algorithms, a nonlinear disturbance observer is designed and a backstepping sliding mode composite controller based on the nonlinear disturbance observer is constructed. The design idea is to offset or weaken the negative influence of the model mismatch and unknown disturbances in the PMSM servo system on the dynamic response of the system through the nonlinear disturbance observer.
The second chapter of this paper establishes the basic mathematical model of PMSM and describes the feedback system.
Section 3 designs two types of sliding mode controllers and nonlinear disturbance observers, and proves the stability of the back-step sliding mode composite control system based on nonlinear disturbance observers.
Section 4 gives the simulation experiments.
Section 5 is the conclusion of this article.
2. Mathematical Model of PMSM
It is assumed that the magnetic circuit of the permanent magnet synchronous motor is not saturated, the hysteresis and eddy current loss are ignored, and the distribution of the magnetic field is assumed to be a sinusoidal space. In this case, the ideal mathematical model of the surface mount permanent magnet synchronous motor is expressed in the
d-
q coordinates, as follows [
27]:
where
Rs represents the stator resistance,
ud and
uq presents the stator voltage of the
d-q axis,
id and
iq represents the stator current of the
d-q axis, and
Ld and
Lq represents the synchronous inductance of the
d-q axis. The research object of this article is a surface mount permanent magnet synchronous motor, so
Ld = Lq = L.
np represents the number of pole pairs of the permanent magnet synchronous motor,
ω represents the rotor angular velocity of the motor,
Ψf represents the permanent magnet flux linkage,
TL represents the load torque,
B represents the viscous friction coefficient, and
J represents the rotor inertia.
The block diagram of the permanent magnet synchronous motor servo speed control system is shown in
Figure 1. The entire servo speed control system consists of a permanent magnet synchronous motor with load, a space vector pulse width modulation module (SVPWM), a voltage source inverter, and two controllers based on a field-oriented strategy. Among them, the d-axis controller adopts the
id = 0 control strategy. As this article mainly studies the speed control of permanent magnet synchronous motors, the
d-axis controller is designed as a PI controller, and the PI controller is used to stabilize the
d-axis current. The
q-axis controller is a back-step sliding mode controller. The disturbance observer is used to feed the observed mismatch disturbance to the controller.
3. Control Strategy Description
3.1. Description of the Feedback System
In order to make the mathematical derivation process of the whole article clearer and clearer, rewrite the q-axis state equation in Equation (1) into the following form:
Among them,
and
d(
t) is the aggregate disturbances of the mismatched channels of the PMSM system.
The research goal of this paper is to realize the speed tracking control of PMSM. Therefore, an error tracking control signal (
e) and an error control signal of disturbance (
ed(t)) are defined in this section. The specific forms are as follows:
where
is the observer estimate value of
d(
t) and
x1d represents the desired value of
x. The significance of defining Equations (3) and (4) is that it can ensure that the speed of the PMSM servo control system converges to the desired value in a finite time, and the error estimate converges to the true value. Equation (5) is the state equation of the speed tracking control signal.
Equations (3) and (5) can be solved simultaneously to obtain the
q-axis state equation of the PMSM servo speed control system, as shown in Equation (6).
3.2. Basic Theory of Sliding Mode Controller
In this paper, different sliding mode controllers are designed to realize the speed tracking control of PMSM. In the design process of the controller, the most traditional sliding mode surface is generally designed as a linear sliding mode surface, and its expression is as follows:
where
s represents the sliding mode surface function and
c1 is the parameter of the sliding mode surface, and its value cannot be zero. In order to achieve the strong robustness of the PMSM servo system, and to ensure the study of this paper does not lose generality, this paper selects the constant approximation law, and obtains the state equation of sliding surface as shown in Equation (8):
The control output signal of the design backstepping sliding mode controller is as follows:
where
K is the constant velocity approach rate switching gain parameter.
Combining Equations (6)–(9), the sliding mode surface function is derived as follows:
Equation (10) can be analyzed, if the value of the switching gain parameter of the constant velocity approach rate is greater than ||c1d(t)||, the q-axis sliding mode surface equation of the PMSM can converge to zero in a finite time. However, the prerequisite for this inference is to ensure that the disturbance of the system mismatched channel is bounded. Although this condition makes the sliding mode control algorithm have some limitations, compared with the rest of the nonlinear algorithm, the condition of the bounded disturbance is more in line with the actual operating conditions of the PMSM constraints, which is one of the reasons the sliding mode control is widely used.
The steady-state equation of the speed tracking control signal can be obtained by introducing
s = 0 into Equation (6) as follows:
The analysis of Equation (11) shows that the designed backstepping sliding mode controller can make the speed reach the sliding surface in a limited time, but the equilibrium point calculated by the equation is not the origin, which indicates that the system cannot reach the desired sliding surface. The system will only vibrate near the sliding surface. This inference also proves that the sliding mode control algorithm has a good suppression effect on the disturbance of the matched channel, but is more sensitive to the influence of the disturbance of the unmatched channel.
3.3. Design of Backstepping Integral Sliding Mode Controller
In order to solve the problem that the traditional backstepping sliding mode control algorithm is more sensitive to the disturbance of the unmatched channel, this chapter designs a backstepping integral sliding mode controller. The sliding mode surface is designed as follows:
where
c2 is the parameter of the sliding mode surface, and its value cannot be zero. The state equation of the sliding surface is shown in Equation (13).
Choose the constant approximation law to design the controller, and the control output signal is shown in Equation (14).
Substituting the designed control output signal expression (14) into Equation (6), and at the same time, we can obtain the following Equation:
In the PMSM speed control system, the desired value of the speed is set as a constant, so that Equation (15) can be simplified into Equation (16).
Analyzing Equation (16) can prove that if the disturbance is a parameter that changes very slowly with time, then the equilibrium point of the system will converge to the origin. In other words, the speed of the PMSM will also converge to the sliding surface in a limited time, thereby realizing the tracking control of the speed. The backstepping integral sliding mode controller can effectively eliminate the steady-state bias caused by the system mismatched channel disturbance, and the entire PMSM speed control system has better robustness. However, in addition to the above-mentioned advantageous factors, the addition of the integral mode will greatly increase the adjustment time of the system and bring about a larger overshoot.
3.4. Design of the Disturbance Observer and Compound Controller
In the analysis of the previous section, although the introduction of the integration module in the design of the sliding mode control system can reduce the sensitivity of the system to mismatched channel disturbances, the prerequisite for this control performance is that the disturbance is a slowly varying variable. Therefore, it is difficult to achieve high-performance speed tracking control by relying only on the I-SMC when the system is subject to continuous abrupt disturbances. In this section, a nonlinear disturbance observer is designed to compensate the disturbance, and the specific design process is as follows:
Rewriting Equation (6) as an observation Equation, as shown in Equation (17):
where
z is the observed state quantity. When the system is in a steady state, there is
, and then Equation (17) can be simplified to Equation (18).
The nonlinear disturbance observer is designed as follows:
where
p is the observer state parameter, and
l is the observer gain parameter, whose value is a constant greater than zero. The matrix form of the observer is shown in Equation (20).
The disturbance of the mismatched channel is input into the controller in the form of feedback, and then the NOD-SMC controller is constructed. The control output signal is shown in Equation (21):
3.5. Stability Analysis
The minimum control requirement is to ensure that the system is globally stable for dynamic systems. In this paper, the traditional SMC uses a constant approximation law, which is equivalent to linearizing the system in a local range and achieving global uniformity and bounded stability. This section mainly analyzes the stability of the PMSM control system under the action of the backstepping sliding mode controller based on the nonlinear disturbance observer. The specific analysis process is as follows:
First, explain the state parameters and variables to be used. The new sliding mode face equation of state is shown in Equation (22):
Substituting Equation (21) into Equation (22):
where
Equation (23) can be further simplified to Equation (24).
Then, construct the Lyapunov function of the system as Equation (25) and the derivative function of the
Lyapulov function as Equation (26).
According to
Lyapulov’s second stability theory, if we want to ensure that the PMSM system is globally asymptotically stable, and we must make Equation (25) a positive definite function and Equation (26) is a negative definite function. Solving Equation (26) gives the following:
where
.
Equation (25) can be calculated, such that
,
If the value of
K is greater than
, then Equation (27) can be simplified to the following Equation:
As Equation (25) proves v(t) to be a positive definite function, v(t)1/2 is still a positive definite function. If K takes the appropriate value, then η is a constant greater than zero, so Equation (30) shows that is a negative definite function. In other words, the PMSM servo speed control system based on the nonlinear disturbance observer is globally asymptotically stable.
5. Conclusions
In this paper, a backstepping sliding mode composite controller based on a nonlinear disturbance observer is designed to realize the speed tracking control of the PMSM, and the advantages and disadvantages of the two kinds of sliding mode control algorithms in the face of sudden load disturbance are analyzed. Finally, it is proved that the composite controller designed in this paper can not only improve the disadvantages of the two controllers, but it also has a better dynamic performance.
The simulation and experimental test mainly verifies the speed response waveforms of the three controllers designed under the load torque sudden change, and proves that the sliding mode control is more sensitive to model mismatch and unknown disturbances, and at the same time causes the speed response to produce a steady-state bias. The second aspect proves that the integral module will also bring negative effects on the dynamic response of the system. Overall, the backstepping sliding mode composite controller based on a nonlinear disturbance observer has a smaller steady-state jitter and better dynamic response. The experimental results show that the control strategy is effective at suppressing the influence of model mismatch and unknown disturbances on the system during the operation of PMSM.
The proposed controller in this paper achieves a high performance speed tracking control of PMSM. The disturbance studied in this paper includes parameter perturbations and load torque. However, the effects caused by the parameter perturbations in the short-term experiments are not obvious during the experiments. In the future, further refinement of the disturbance types and more detailed disturbance models need to be established.