1. Introduction
In modern manufacturing, high-end Computer Numerical Control (CNC) machine tools are vital, directly affecting product quality and production efficiency due to their precision and performance [
1]. These machines are commonly employed for precise machining tasks such as high-speed cutting and intricate engraving, which demand exceptional motion control accuracy. For high-end applications, CNC machines must precisely follow complex machining paths, necessitating a high-performance position control system. These demands drive continuous development and innovation in CNC machine tool technology to meet the needs of modern manufacturing. Permanent magnet synchronous motors (PMSMs) are ideal for driving high-end CNC machine tools, given their compact size, fast response, and high efficiency [
2]. Nevertheless, the complexity and variability of actual production processes can affect motor behavior due to internal parameter changes and external load disturbances, making it challenging to ensure position-tracking accuracy and system stability. Therefore, achieving high-position command response tracking control for a PMSM is critical to address the challenges faced by high-end CNC machines.
Currently, various advanced control methods are applied in this field, primarily categorized as follows: active disturbance rejection control [
3,
4], backstepping control [
5], model predictive control [
6], fuzzy control [
7,
8], and sliding mode control (SMC) [
9,
10,
11,
12]. Among these, SMC is extensively utilized in PMSM position tracking control due to its simplicity, fast response, and strong robustness. However, traditional SMC methods using linear sliding surfaces cannot guarantee that tracking errors converge within a finite time. To address this limitation, various improved SMC strategies have been proposed.
Initially, terminal sliding mode control [
13] introduced nonlinear functions into the sliding surface, ensuring that tracking errors converge within a finite time. However, this method suffers from singularity problems and slow convergence. To address these drawbacks, non-singular terminal sliding mode control [
14,
15] and fast terminal sliding mode control [
16] were developed, focusing on optimizing singularity handling and convergence speed, respectively. Nevertheless, these approaches only partially resolved the challenges. Consequently, non-singular fast terminal sliding mode control (NFTSMC) [
17,
18,
19] emerged, comprehensively addressing these challenges. This strategy ensures finite-time convergence of tracking errors and avoids singularities while enhancing the system’s rapidity during the reaching phase. However, nonlinear sliding modes generally converge slower near equilibrium compared to linear ones. Moreover, achieving robustness requires a large switching gain, potentially leading to severe chattering issues. To manage these challenges, observers are commonly used to estimate disturbances for feed-forward compensation, or adaptive laws are integrated. These techniques have been successfully applied to various nonlinear systems such as servo systems and robotic arms. For instance, Liu et al. [
20] introduces a composite speed controller that integrates the modified super-twisting sliding-mode controller with an ESO, significantly improving the disturbance rejection capability in surface-mounted PMSM drives. Similarly, Dang et al. [
21] presents an adaptive SMC strategy combined with an ESO to enhance the speed control performance of PMSM drives, ensuring faster dynamic responses and better robustness against internal and external disturbances. While these approaches effectively address some of the limitations of traditional SMC, such as slow convergence and vulnerability to uncertainties, challenges remain, particularly with NFTSMC. Specifically, the robustness of NFTSMC is mainly effective during the sliding phase, which may limit its performance in more complex or highly dynamic systems.
In servo control systems, transient response characteristics such as maximum overshoot and convergence speed are as critical as steady-state error. Recently, a method called prescribed performance control (PPC) [
22] was proposed. The core idea is to transform the system error using a prescribed performance function, enabling precise control over system performance by managing the reconstructed error. This method allows the system state to respond quickly and accurately according to predefined performance requirements and has found successful applications across diverse fields [
23,
24].
Inspired by previous research, the paper proposes a Linear Extended State Observer (LESO)-based Prescribed Performance Global Non-Singular Fast Terminal Sliding Mode Control (PPGNFTSMC) method for PMSM. This paper makes the following key contributions:
Enhanced Precision: The PPC method is utilized to accelerate the transient response and improve the precision of the PMSM position servo system.
Real-time Disturbance Observation: A LESO is used for real-time disturbance estimation, and the estimated disturbance information is employed by the controller to provide feed-forward compensation to the control input, ensuring strong anti-disturbance capability with a smaller switching gain.
Dual-loop Structure: A dual-loop structure is designed for the position servo system controller. This includes an outer position–speed integrated loop with LESO-based PPGNFTSMC and an inner current loop with a PI controller, thereby enhancing tracking accuracy and adaptability.
Integrated Control Design: A position–speed integrated controller is designed based on the proposed global non-singular fast terminal sliding mode surface (GNFTSMS). The controller incorporates reconstructed error from PPC and disturbance estimates, ensuring a fast global response and strong robustness.
These contributions demonstrate the method’s ability to accelerate transient response, reduce steady-state error, and maintain robust performance under disturbances.
The structure of this paper is as follows:
Section 2 introduces the mathematical model of the PMSM.
Section 3 explains the design process of the controller.
Section 4 presents the experimental results. Finally,
Section 5 highlights the contributions and outlines directions for future work.
2. Model Description
Figure 1 illustrates the structure of the PMSM, assuming an ideal surface-mounted PMSM with the following characteristics: (1) non-saturated magnetic circuit; (2) negligible hysteresis and eddy current losses; and (3) spatially sinusoidal distribution of the three-phase stator windings.
The dynamic model in the d-q coordinate system is given by:
where
and
denote the stator voltage of the d-q axes,
and
denote the stator inductances of the d-q axes,
and
denote the stator current of the d-q axes,
R is the per-phase stator resistance,
p is the number of pole pairs,
w is the mechanical angular speed of the rotor, and
is the rotor flux linkage.
The dynamic model is described as:
where
is the rotor position,
J is the moment of inertia,
is the electromagnetic torque,
is the load torque, and
B is the viscous friction coefficient.
The equation for electromagnetic torque is given as:
To maintain constant flux in a PMSM, the control strategy often sets
. For a surface-mounted PMSM,
, leading to:
However, during actual operation, the servo control system is influenced by uncertainties, including internal parameter variations, external load disturbances, and unmodeled dynamics. Assuming
, where
is the rated value of
J, the dynamic model can be rewritten as:
where
, and
is a nonlinear function that characterizes the dynamics and external disturbances of the system, which is collectively referred to as ’disturbance’. In this study, it is assumed that
d is a slowly varying quantity, as external load disturbances
, parameter variations
, and friction torque
typically change gradually over time in practical systems. Based on this assumption,
can be approximated as zero.
4. Analysis of Experimental Results
In this study, both simulation and experimental tests were conducted to validate the effectiveness and performance of the proposed method. The simulation focused on step signal tracking and step signal tracking under sudden load disturbances. Six comparative control methods were employed: PID, SMC, GNFTSMC, SMC-LESO, GNFTSMC-LESO, and the proposed method. The control laws for each method are as follows:
where
K is the proportional gain for the position controller, and
and
are the proportional and integral gains for the speed controller, respectively.
.
The PMSM parameters and the settings for each controller used in the simulation are listed in
Table 1 and
Table 2. All controller parameters were selected through empirical tuning to balance response time and steady-state accuracy, with the tuning process primarily based on trial and error.
Simulation 1: Step signal tracking with an amplitude of
rad.
Figure 3a,c show the system position tracking and tracking error curves, respectively. Experimental results indicate that traditional PID and SMC control methods exhibit an overshoot and slow response during the dynamic phase, failing to quickly reach a steady state. In contrast, the GNFTSMC method shows an improved response speed but still experiences significant tracking errors in the steady-state phase. On the other hand, the three LESO-based control algorithms demonstrate a notable advantage by slightly accelerating the response speed while maintaining minimal steady-state errors, validating the effectiveness of the real-time disturbance compensation algorithm. Among them, the proposed method has the fastest convergence speed, outperforming the others in both dynamic and steady-state performance, achieving high-precision tracking in a shorter time.
Figure 3e shows the system control input curves. To ensure fairness, the control input is limited to ±30A, and the current controller parameters are consistent across all control methods, specifically:
. The zoomed-in view reveals that PID control results in fewer current oscillations compared to the traditional SMC method, exhibiting better stability, second only to the proposed method. Traditional SMC and GNFTSMC methods, lacking effective suppression, exhibit noticeable current oscillations. The LESO-based control algorithms significantly smooth the control input signal, with SMC-LESO and GNFTSMC-LESO showing better current stability, while the proposed method exhibits the smoothest control current. This highlights its superior ability in suppressing oscillations and improving system stability. The integration of PPC and the observer not only enhances the system dynamic performance but also improves control input smoothness, making the system operation more reliable.
Simulation 2: Step signal tracking with an amplitude of
rad, with a load torque of 0.3
·
applied at 1.5 s.
Figure 3b,d show the system position tracking and tracking error curves, respectively. Experimental results show that LESO-based control methods have significant advantages in both position tracking accuracy and convergence speed, with the proposed method being particularly effective in quickly reaching equilibrium and achieving high-precision tracking. Among all tested methods, the SMC and GNFTSMC methods exhibit smaller transient errors under disturbance but suffer from larger steady-state errors due to their reliance on disturbance upper bound compensation. The PID method, while tracking the desired position well and performing reasonably in disturbance suppression, has a slower convergence speed and fails to promptly reach a steady state. In contrast, LESO-based methods estimate disturbances in real time, leading to faster convergence and smaller steady-state errors. Notably, the proposed method, despite having a larger transient error under step-load disturbance, exhibits the best overall performance, though further optimization is still possible.
Figure 3f shows the system control input curves. For fairness, the control input limit and controller parameters are consistent with those used in step signal tracking. The zoomed-in view indicates that the disturbance causes a jump in the control current. For the SMC and GNFTSMC methods, which use larger switching gains to compensate for disturbances, current oscillations are more noticeable before the disturbance and decrease afterward. The PID, SMC-LESO, and GNFTSMC-LESO methods significantly reduce current oscillations, while the proposed method consistently maintains the smoothest control current, demonstrating its superior ability to suppress current fluctuations and enhance system stability.
To further validate the proposed algorithm, a PMSM experimental platform was constructed, illustrated in
Figure 4. Two 42JSF630AS-1000 PMSMs were selected for safety and performance considerations. These two motors were connected into a pair of drag motors via a coupling and mounting bracket, with one functioning as the driving motor and the other as the load motor. The control and drive components were assembled in a control box, using the Texas Instruments DSP28379D and DRV8305evm (Dallas, TX, USA) to meet the real-time requirements of complex control algorithms and ensure system stability and safety.
The system was connected directly to a computer, allowing for real-time data monitoring and parameter adjustment, as well as enabling the transmission of control commands and reception of feedback data during experiments. This setup facilitates algorithm optimization and performance analysis. The entire system was powered by a 24 V adjustable DC power supply. The relevant parameters of the PMSM used in the experiment are listed in
Table 3.
Four experimental scenarios were designed: step signal tracking, sine wave signal tracking, triangular wave signal tracking, and step signal tracking with a sudden load disturbance. In the step signal tracking experiment, the parameters for all tested methods are presented in
Table 4. For the proposed method and GNFTSMC-LESO method, the parameter settings were identical, while for the GNFTSMC method, the only difference was
. For the remaining experiments, certain parameters were adjusted to ensure fairness in the comparison, keeping all controllers under similar disturbance conditions, as validated in the subsequent analysis. The current controller parameters used in all methods were:
. The control input saturation limit was set to ±3A. The position–velocity loop was sampled at 10 kHz, the current loop at 20 kHz, and the PWM frequency was fixed at 20 kHz.
The experimental tests employed three methods: GNFTSMC, GNFTSMC-LESO, and the proposed method. Based on Equations (
31), (
41), and (
43), it can be observed that each controller contains a time-dependent function. The time is calculated as follows: when the motor is enabled and the system is in closed-loop operation, the value 1 is integrated to serve as the time input to the controller.
Experiment 1: Step signal tracking with an amplitude of
rad, simulating a scenario where rapid position changes are required for point control in CNC machines. The system position tracking curves are shown in
Figure 5a. Overall, all methods track the given position signal effectively, but the proposed method exhibits a faster response time, reaching equilibrium in a shorter time.
Figure 5b shows the position tracking error curves, where the inclusion of the observer significantly improves tracking accuracy, reducing both error and chattering.
Figure 5c shows the system control input curves, demonstrating that the proposed method exhibits superior performance with smaller fluctuations in control current, resulting in a smoother control effect.
Figure 5d shows the disturbance estimation curves. Although the GNFTSMC method does not include an observer for disturbance compensation, the same disturbance estimation analysis was conducted for fairness. The curve indicates that while the observer experiences some error during the initial phase, it quickly stabilizes over time, showing that the observer can accurately estimate disturbances in a short period.
Experiment 2: Sine signal tracking with an amplitude of 1 rad, simulating a scenario where smooth and continuous position changes are required for trajectory control in CNC machines.
Figure 6a,b show the system position tracking and tracking error curves, respectively. Overall, all methods track the given position signal effectively. By comparing the detailed position tracking curves with the tracking error curves, it is evident that the GNFTSMC method shows a relatively small tracking error initially. However, as the tracking error of the proposed method gradually approaches zero, the CNFTSMC method exhibits significant error, which persists throughout the entire process. In contrast, both the GNFTSMC-LESO and proposed methods exhibit slightly larger tracking errors at the initial stage and peak points, while the errors remain small and fluctuate within a narrow range during the rest of the process, further confirming the superiority of the observer-based compensation method.
Figure 6c shows the system control input curves, with the proposed method exhibiting smoother control input and significantly reduced fluctuations in control current.
Figure 6d shows the disturbance estimation curves. Although some disturbances were present in the physical experiment, the disturbance environment was kept as consistent as possible to ensure a fair comparison.
Experiment 3: Triangular wave signal tracking with an amplitude of 1 rad, simulating a scenario where periodic motion or position changes are required for straight-line control operations in CNC machines.
Figure 7a,b show the system position tracking and tracking error curves, respectively. Overall, all methods track the given position signal effectively. By comparing the detailed zoomed-in figures and tracking error curves, it is evident that the proposed method responds more quickly in the initial stage and exhibits smaller tracking errors. Furthermore, this method only shows slightly larger errors at the peak points, with the errors fluctuating close to zero for the rest of the process, reflecting its high tracking accuracy and stability.
Figure 7c shows the system control input curves, with the proposed method exhibiting smoother control input in the initial stage and significantly reduced current fluctuations. In subsequent periods, the control input is comparable to that of the other methods.
Figure 7d shows the disturbance estimation curves. To ensure experimental fairness, the disturbance environment was kept as consistent as possible. The observer in the proposed method can accurately estimate the disturbance and quickly converge to a stable state.
Experiment 4: Step signal tracking with an amplitude of
rad, with a load torque of 0.05
·
applied at 1.36 s.
Figure 8a,b show the system position tracking and tracking error curves, respectively. Overall, all methods track the given position signal effectively. Zooming in on the error curves reveals that the GNFTSMC method, based on upper-bounding disturbance compensation, is least affected by the disturbance. However, this method requires prior knowledge of the disturbance upper bound, which is often hard to obtain accurately in real-world environments. Additionally, it induces significant system chattering, limiting its practical applicability. In contrast, both the GNFTSMC-LESO and proposed methods estimate disturbances in real time using an observer. While they exhibit some tracking errors, these remain within a small range. The proposed method converges faster and is less affected by the disturbance.
Figure 8c shows the system control input curves. It is evident that the proposed method produces smoother control inputs and smaller current fluctuations, which improves the system’s practical performance.
Figure 8d shows the disturbance estimation curves. It is indicated that the observer accurately estimates the disturbance and converges to a stable state in a shorter time, though its convergence speed could be further optimized. Additionally, the maximum position error and settling time under sudden load torque for each method were quantified, as shown in
Table 5, further validating our previous analysis.
To evaluate the proposed method more thoroughly, tracking errors for different signal types were quantified. For step signals, the mean absolute error (MAE) and root mean square error (RMSE) were adopted for evaluation, while for sine and triangular wave signals, the maximum error (MAX), MAE, and RMSE were utilized. These error metrics are defined as follows:
where
is the error at the i-th sampling point.
The quantified tracking error data are shown in
Table 6, indicating that the proposed method demonstrates the smallest tracking errors across all experiments, further confirming its superiority in control accuracy, response speed, and disturbance rejection.
Based on the comparison between the experimental and simulation results, we observed certain discrepancies. To explain these differences, we considered possible causes, focusing on both the method itself and the influence of motor parameters. The motor used in the simulation differs from the actual motor in terms of parameters, especially in the values of the moment of inertia and magnetic flux linkage. Specifically, the magnetic flux linkage used in the simulation is 10 times that of the actual motor, and there is also a significant difference in the moment of inertia. These differences are likely the key factors contributing to the differences between the experimental and simulation results.
Among these factors, the difference in the moment of inertia was found to have the most significant impact, as it directly affects the system dynamic response. Therefore, we chose to focus on adjusting only the moment of inertia in the subsequent experiments. While the difference in magnetic flux linkage might also affect the control performance, its impact on the steady-state performance of the system is relatively limited compared to that of the moment of inertia. As a result, we decided not to adjust the magnetic flux linkage in the experiments. By concentrating on variations in the moment of inertia, we can avoid the potential confounding effects caused by varying multiple factors simultaneously.
To this end, a series of experiments were conducted, keeping all motor parameters except the moment of inertia fixed to the actual motor values. Simulations were carried out with moment of inertia values of
,
, and
. The experimental results, as shown in
Figure 9, indicate that as the moment of inertia increases, the experimental results gradually approach the simulation expectations. This suggests that the proposed method may be more suitable for motors with larger moments of inertia, or may require a specific ratio of magnetic flux linkage to moment of inertia.
We also considered that the use of the sign function in the controller could contribute to the observed deviation between the actual control performance and the simulation results. The nonlinear characteristics introduced by the sign function, particularly in the actual system, may negatively affect the control accuracy. To mitigate the impact of this nonlinearity, we plan to optimize the controller in the future by adopting saturation functions or other smooth functions, which will improve the system robustness and precision. Additionally, we will continue to investigate the impact of the moment of inertia on the performance of the control method and validate its adaptability under different motor parameters.