1. Introduction
Permanent Magnet Synchronous Motors (PMSMs) are widely used due to their small size, simple structure, and fast dynamic response. However, in practical operation, unknown dynamic friction, system uncertainties, and external disturbances affect system performance, causing inconveniences in actual production, normal operation of electric vehicles, etc. Traditional PI control features simple methodology and fast response but performs poorly in the face of unknown external disturbances and internal parameter perturbations [
1]. Therefore, scholars have proposed adaptive control [
2], robust control [
3], fuzzy control [
4], model predictive control [
5], etc. Sliding Mode Control (SMC) is widely applied in PMSM control due to its good transient performance and strong robustness [
6].
Traditional SMC cannot guarantee finite-time convergence, while Fast Terminal Sliding Mode Control (FTSMC) ensures finite-time convergence of the system [
7]. However, since FTSMC introduces nonlinear terms in the approaching stage, the control quantity may grow unboundedly when the system state approaches the equilibrium point, leading to singular point problems [
8]. References have designed a sliding surface with state-dependent variable exponential coefficients to avoid the singular phenomenon in terminal sliding mode control and achieve fixed-time convergence of the PMSM drive system [
9]. Furthermore, in the field of multi-agent cooperative control (e.g., islanded microgrids), researchers have achieved convergence performance independent of initial states by designing a fully distributed fixed-time control strategy with dual-power nonlinear terms and adaptive gain adjustment [
10], and this method provides a reference for optimizing fixed-time sliding mode control of PMSM. Reference [
11] puts forward a continuous fast TSMC, which shows strong robustness to external disturbances and features fast response performance. In [
12], building on TSMC, develops a fast TSMC with a linear variable term incorporated, which is applied to the motion control of robotic manipulators. Nevertheless, the presence of the sign function causes chattering in the system. In [
13], the arctangent function replaces the sign function, effectively reducing chattering. The integral non-singular fast terminal sliding surface designed in reference [
14] combines an adaptive function, using the smoothing property of integral operation to avoid the singular phenomenon caused by the denominator being zero when the error approaches zero in the traditional terminal sliding surface. However, its first-order system structure inherently cannot completely eliminate the chattering caused by high-frequency switching.
Chattering in SMC affects system control accuracy. Thus, scholars have proposed various chattering suppression methods, including reaching laws [
15,
16,
17], boundary layer methods [
18], and disturbance observer methods [
19]. The chattering problem in SMC arises from the high-frequency switching of the sliding surface due to insufficient convergence of the system trajectory under the influence of the reaching law. Traditional reaching laws often slow down the system convergence rate while suppressing chattering. To address this, ref. [
20] constructs a hierarchical gain adjustment mechanism: high-gain power terms are used for fast approaching in the early stage of the approaching phase, and low-gain continuous functions are switched when the system state enters a preset neighborhood. On this basis, reference [
21] proposes a time-varying gain adaptive framework, whose core innovation lies in designing a gain adjustment function related to the state. This function dynamically adjusts the switching term coefficient based on the exponential decay characteristics of the tracking error to achieve collaborative optimization of the approaching speed and chattering intensity. The novel reaching law designed in reference [
22] introduces a composite function containing all system state variables on the basis of the traditional exponential reaching law to suppress SMC chattering and improve the approaching speed, and combines an inverse calculation anti-saturation method to avoid integral saturation. However, its calculation is too complex, and parameter tuning is difficult.
Traditional SMCs have obvious limitations in PMSM control: conventional linear sliding modes struggle to achieve finite-time convergence with slow dynamic responses; traditional terminal sliding modes are prone to singularity issues, leading to unbounded control quantities; meanwhile, they suffer from insufficient steady-state accuracy, significant chattering, and weak robustness against sudden load changes and parameter perturbations. To address the above issues, this paper proposes an improved fast terminal sliding mode surface design based on a novel adaptive control law. A nonlinear term and an integral feedback mechanism are incorporated into the sliding mode surface to eliminate steady-state errors. In addition, compared with traditional control laws, the novel adaptive control law proposed in this paper utilizes a state-dependent gain adjustment function and a nonlinear damping term to enhance system robustness while suppressing sliding mode chattering. A Lyapunov function is employed to conduct rigorous analysis on system stability. Moreover, simulation studies are carried out via the MATLAB/Simulink platform, and the results are compared with those of the SMC-TRL, SMC-[7], and ITFSMC-TRL methods to verify the effectiveness of the proposed control strategy in terms of dynamic response, disturbance rejection capability, and steady-state accuracy.
2. System Description
This chapter introduces the mathematical model in the dq reference frame. To derive the model, the following assumptions are made:
The spatial magnetic field is sinusoidally distributed;
Stator core saturation is neglected;
Iron losses are neglected.
Motor parameter perturbations are considered in the subsequent disturbance model (Equation (2)). Based on the above assumptions, the mathematical equations of the PMSM are expressed as follows [
18,
23,
24,
25].
where
denotes the d-axis voltage component of the stator, and
represents the q-axis voltage component of the stator.
stands for the d-axis current component of the stator, while
indicates the q-axis current component of the stator.
refers to the d-axis inductance of the stator winding, with
corresponding to the q-axis inductance of the stator winding.
is the electrical angular velocity;
denotes the damping coefficient; and
represents the electromagnetic torque.
stands for the moment of inertia,
indicates the load torque, and
is the mechanical angular velocity.
refers to the permanent magnet flux linkage,
denotes the stator resistance, and
represents the number of pole pairs.
When the motor undergoes parameter perturbations, including fluctuations in stator resistance, shifts in stator inductance, and permanent magnet demagnetization faults, Equation (1) ceases to be valid; instead, the mathematical formulations of the PMSM can be expressed as [
26]
where
represents the d-axis voltage disturbance in complex operating scenarios, while
denotes the q-axis voltage disturbance under complex operational conditions.
stands for the electromagnetic torque disturbance in complex operating environments, and
refers to the disturbance arising from changes in the moment of inertia
and damping coefficient
. Through the combination of Equations (1) and (2), the subsequent result can be derived [
27]:
3. Design Speed Loop IFITSMC Controller
3.1. Design of IFTSM Surface
Define the state error
where
is the given rotational speed. To achieve finite-time fast convergence of the system states, the sliding surface is designed as
where
, which enhances the control effect under small errors and helps improve the steady-state accuracy.
.
In the sliding surface, the proportional term and derivative term provide system stiffness and damping, respectively, dominating the dynamic response process to ensure rapid error convergence and stability. The nonlinear term leverages the strong gain characteristic of relative to the linear term under small errors (), enhancing the convergence capability for tiny errors and improving steady-state accuracy. The integral term accumulates errors, eliminates steady-state errors, and enhances the steady-state performance of the system.
Theorem 1. For the sliding surface, the error convergence timecan be expressed as
where
is the initial absolute error. Proof of Theorem 1. In the transient analysis, the derivative of the integral term , has a negligible impact on the transient process. Therefore, the sliding surface is simplified as:
When , at this time , and the equation is
Separate the variables and integrate
Let , then . Substituting this into the equation yields
When , let , the equation is
Similarly, integrating gives
Due to the symmetry of the error sign, , so the convergence time is given by Equation (6).
The proof of Theorem 1 is completed. □
By designing the reaching law, the dynamic performance of the system is improved. The reaching law designed by applying TRL (Terminal Reaching Law) can be expressed as
where
are positive gain coefficients, the derivative of Equation (5) is expressed as
Combining Equations (3), (13) and (14),
Design the IFSM surface as shown in
Figure 1.
3.2. NARL Design
In the traditional reaching law, the linear term increases the system convergence speed, but it also introduces a large control law that causes system overshoot and affects control accuracy. Therefore, this paper proposes a novel adaptive law, which adjusts the magnitude of the control input according to the system error to improve control accuracy. The NARL is designed as
In Equation (16), the nonlinear switching term sgn utilizes an adaptive gain positively correlated with the error . In the large-error phase, it dominates the control through a strong switching gain to accelerate the transient convergence of the system; in the small-error phase, decays with , effectively avoiding the chattering problem of traditional sliding mode control and ensuring steady-state accuracy. The linear term provides basic stability support, collaborating with the decayed nonlinear switching term in the small-error domain to dominate the smooth convergence of the sliding surface , guaranteeing the system′s steady-state control capability. The nonlinear damping term sgn further enhances the control robustness: when the sliding surface fluctuates significantly, provides strong damping to suppress drastic system changes; when the sliding surface approaches zero, the damping effect weakens, forming a nonlinear adjustment mechanism to improve the smoothness of the convergence process. The denominator of the adaptive gain approaches as increases, achieving dual adaptive adjustment of the error and the sliding surface state.
Theorem 2. The reaching time of the NARL proposed in this paper is as follows:
where when ,
.
Proof of Theorem 2. When (where (), the equation is simplified as:
When , , thus , and the equation becomes: . Let , then
Integrating from to by separating variables,
Solving gives
When (), let , then
Since and , when , . Thus: .
Let , then
Integrate from to .
Solving gives
The proof is completed. □
Combining Equations (3), (14) and (16), we obtain
To ensure that the system can reach the sliding surface and converge regardless of the initial state, a Lyapunov function is chosen.
Differentiating Equation (25) yields
Since
and
, for
, it follows that
So is strictly negative definite. When , , satisfying the equilibrium condition.
The overall design block diagram is shown in
Figure 2.
4. Experimental Analysis
For comparative purposes, we developed an experimental platform centered on the STM32F407IGT6 microcontroller, as illustrated in
Figure 3. The performance of the proposed controller was compared with SMC-TRL, IFSMC-TRL and SMC-[7]. The vector control system employs Space Vector Pulse Width Modulation (SVPWM).
The sliding mode surface and reaching law used in Reference [
7] are shown in Formulas (30) and (31).
To verify the proposed algorithm, the experiment involves the no-load starting of the motor, with its rotational speed increasing from 0 rpm to 600 rpm. A load torque of 1 N·m is applied at 20 s, and the rotational speed is increased to 1000 rpm at 40 s. The 1 N·m load torque is removed at 60 s, and finally, the rotational speed is reduced to 500 rpm at 80 s. The experimental results are shown in
Figure 4 and
Figure 5. The parameters of the experimental motor are shown in
Table 1, and the parameters involved in different control methods are shown in
Table 2.
In the no-load startup phase, as shown in
Figure 4a, the fastest response speed and the smoothest speed rising curve exhibited by IFTSMC-NARL essentially stem from the synergistic effect of its improved fast terminal sliding mode (IFTSM) surface and the novel adaptive reaching law (NARL). The nonlinear term introduced in IFTSM provides strong gain characteristics when the error is large, and in conjunction with the integral feedback mechanism, it accelerates error convergence. Meanwhile, the state-dependent gain adjustment function of NARL promotes the system to quickly approach the sliding mode surface through high-gain switching terms in the large error stage, avoiding the dynamic fluctuations of the traditional SMC-[7] caused by its reliance on fractional-order integral terms, as well as the response delay of SMC-TRL due to the fixed-gain reaching law being unable to match the dynamic changes of errors.
When a 1 N·m load disturbance is applied, as shown in
Figure 4b, IFTSMC-NARL has the smallest speed fluctuation and the fastest recovery speed, which benefits from the adaptive adjustment capability of NARL: when a sudden load change causes an increase in error, its gain function dynamically increases with |e|, enhancing the disturbance rejection strength, while the nonlinear damping term of IFTSM quickly suppresses error diffusion. Compared with SMC-TRL, which struggles to cope with sudden disturbances due to fixed gains, and IFTSMC-TRL, which exhibits larger fluctuations due to the lack of adaptive gain adjustment, it fully demonstrates the robustness advantage of the proposed algorithm in disturbance suppression.
In the process of increasing the rotational speed to 1000 rpm, as shown in
Figure 4c, the high-precision tracking performance of IFTSMC-NARL originates from the continuous elimination of steady-state errors by the integral term in the IFTSM sliding surface, as well as the gain attenuation mechanism of NARL in the error reduction stage. When the system approaches the target speed,
weakens high-frequency switching as |e| decreases, avoiding the persistent oscillation of SMC-[7] caused by insufficient design of nonlinear terms and overcoming the defect of insufficient adjustment accuracy of the linear reaching law of SMC-TRL in the small error domain. In the high-speed operation stage after load removal, as shown in
Figure 4d, the fluctuation amplitude of only 2 rpm further verifies the strong convergence capability of IFTSM for tiny errors: the gain enhancement effect of the nonlinear term |e|
α1 when the error approaches zero, combined with the nonlinear damping term of NARL to suppress high-frequency chattering of the sliding surface, keeps the system stable.
In the process of reducing the rotational speed to 500 rpm, as shown in
Figure 4e, the smooth decay characteristic of IFTSMC-NARL benefits from the nonlinear damping adjustment of the
term in NARL: when speed changes cause fluctuations in the sliding surface, this damping term strengthens with the increase of
, suppressing drastic changes. In contrast, traditional methods such as SMC-[7] lead to oscillations due to the lack of such dynamic damping, and SMC-TRL suffers from adjustment lag due to the fixed gain of the reaching law. Finally, in the steady-state operation, as shown in
Figure 4f, the minimum chattering phenomenon of IFTSMC-NARL is exactly the comprehensive result of NARL achieving the dynamic balance of the switching term with “strong gain for large errors and weak gain for small errors” through the state-dependent gain adjustment function, and the integral term of IFTSM eliminating static errors, which effectively reduces the energy loss and the risk of mechanical wear during motor operation.
To more intuitively quantify the performance differences among various control strategies, the test results of key indicators in the above experimental process are summarized in
Table 3. This table conducts a quantitative comparison of SMC-[7], SMC-TRL, IFTSMC-TRL, and the proposed IFTSMC-NARL algorithm from three dimensions: response time during no-load startup, speed fluctuation amplitude after load disturbance, and chattering amplitude during steady-state operation. It further verifies the improvement effect of the improved mechanism in the theoretical design on the system′s dynamic performance and robustness. The data shows that the proposed algorithm performs optimally in all indicators, which is consistent with the qualitative analysis conclusions based on experimental phenomena above, fully demonstrating the effectiveness of the collaborative design of the IFTSM sliding mode surface and the NARL reaching law.
Figure 5 illustrates the dynamic response characteristics of the q-axis current
under different control strategies, and its variation law is highly consistent with the speed regulation performance. In the no-load startup phase (
Figure 5a), the
of IFTSMC-NARL can quickly increase to provide sufficient starting torque. Meanwhile, due to the adaptive gain adjustment of NARL, it avoids the current fluctuations of SMC-[7] and the response delay of SMC-TRL, showing fast and smooth characteristics. When the load is applied (
Figure 5b),
needs to increase in time to compensate for the load torque. By virtue of the nonlinear damping term of IFTSM and the dynamic gain adjustment of NARL, IFTSMC-NARL achieves accurate and small-fluctuation regulation of the current, which is superior to the excessive impact or slow response caused by fixed gains in other methods.
In the processes of speed increase (
Figure 5c) and load removal (
Figure 5d), the variation of
in IFTSMC-NARL always matches the speed target, with smooth transitions and no continuous oscillations. This benefits from the elimination of steady-state errors by the integral term and the strong convergence capability of the nonlinear term for tiny errors. In the speed reduction phase (
Figure 5e), the attenuation of its
is smooth, avoiding the oscillation phenomenon of SMC-[7]. During steady-state operation (
Figure 5f), the chattering amplitude of
in IFTSMC-NARL is the smallest, further verifying the suppression effect of NARL on high-frequency switching. It indicates that the proposed algorithm also has significant advantages in current stability control, which echoes the excellent performance of speed regulation.
5. Conclusions
Under complex operating scenarios where PMSM drive systems are subject to internal and external disturbances as well as parameter uncertainties, this paper presents a control strategy integrating IFTSM and NARL. Via comparative simulation studies against SMC-TRL, SMC-[7], and IFTSMC-TRL, the following specific outcomes are achieved:
The multi-modal collaborative design of the improved fast terminal sliding mode surface successfully overcomes the performance bottleneck of traditional terminal sliding mode. This sliding mode surface strengthens the ability to adjust gains in the small error domain through nonlinear terms and offsets steady-state errors via an integral feedback mechanism. It not only retains the finite-time convergence property but also addresses the singularity problem of traditional terminal sliding mode when the error approaches zero. Unlike the sliding mode surface design of SMC-[7], which relies on fractional-order integral terms, the proposed method aligns more accurately with the dynamic change process of errors from large to small by virtue of the collaboration between nonlinear terms and integral terms. It also enhances the convergence capability for tiny errors and improves the system′s adaptability to dynamic characteristics under parameter perturbation scenarios.
The novel adaptive reaching law attains a dynamic equilibrium between convergence speed and chattering suppression. By means of collaboration between a state-dependent gain adjustment function and a nonlinear damping term, NARL speeds up the convergence to the sliding mode surface with strong gain in the large error stage. It also adaptively reduces gains in the small error stage to weaken high-frequency switching. This overcomes the drawbacks of TRL, where high gain worsens chattering and low gain slows down convergence.
The overall control performance is superior under complex operating conditions. Benefiting from the synergistic effect of IFTSM and NARL, the proposed strategy performs well in speed tracking accuracy and chattering attenuation, offering more stable dynamic performance for high-precision servo control.
For future work, on one hand, we will explore the extension of the proposed sliding mode control framework to fixed-time convergence designs, aiming to reduce dependence on initial state information and enhance robustness in dynamic scenarios with abrupt parameter variations, which could further broaden its applicability in PMSM drive systems. On the other hand, we will investigate the integration of the current control strategy with intelligent optimization algorithms (e.g., adaptive particle swarm optimization) to realize self-tuning of key parameters, and validate its performance in multi-motor coordinated control scenarios to meet more complex industrial application requirements.