Figures
Abstract
This paper proposes a novel nonlinear autoregressive with exogenous input-based adaptive recursive least squares model-free predictive control (NARX-ARLS-MFPC) strategy for permanent magnet synchronous motor (PMSM) drives. The core challenge addressed is the performance degradation of conventional model predictive control (MPC) under inevitable motor parameter mismatches. The proposed method integrates the NARX model with an ARLS algorithm featuring a variable forgetting factor to dynamically track system changes. Comprehensive simulation studies validate the superior robustness of the strategy. Under significant inductance and flux linkage mismatches, the proposed method reduces current total harmonic distortion (THD) by 28.3% and 12.3% compared to conventional finite-control-set model predictive control (FCS-MPC) and a baseline control method, respectively. It maintains stable performance under moderate sensor noise with appropriate tuning. During load transients combined with resistance and inductance mismatches, it achieves THD reductions of 24.1% and 15.7% versus the two benchmark methods, respectively. Statistical analysis under parameter perturbations confirms its overall superior performance across key dynamic and steady-state metrics. The results demonstrate that the synergistic integration of the nonlinear model and adaptive identification effectively suppresses current harmonics caused by model inaccuracies while enhancing dynamic performance.
Citation: Shi X (2026) Model-free predictive control for PMSM based on a nonlinear autoregressive exogenous model and an adaptive recursive least squares algorithm. PLoS One 21(7): e0354803. https://doi.org/10.1371/journal.pone.0354803
Editor: Rajesh Kumar, National Institute of Technology, India (Institute of National Importance), INDIA
Received: December 17, 2025; Accepted: July 11, 2026; Published: July 27, 2026
Copyright: © 2026 Xiaolei Shi. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the manuscript and its Supporting information files.
Funding: This work was supported by the University Fundamental Research Project of the Liaoning Provincial Department of Education (No. LJ212410169022), awarded to Xiaolei Shi.
Competing interests: The authors have declared that no competing interests exist.
1. Introduction
PMSMs are widely used in modern industrial systems due to their high power density, efficiency, and reliability. Consequently, optimizing PMSM control strategies has attracted significant research interest [1–4]. To achieve high-performance control of PMSMs, various advanced control paradigms have been developed, such as sliding mode control, fuzzy control, robust control, finite-time control, and MPC [5]. Among various strategies, MPC has been widely adopted for power inverters due to its fast dynamic response, precise transient control, and superior handling of nonlinear constraints [6–10]. However, the performance of MPC is highly dependent on model accuracy. In practice, parameter mismatches and model uncertainties—caused by manufacturing tolerances, thermal variations, or unmodeled dynamics—can substantially degrade control performance and robustness [11]. To address this limitation, model-free predictive control (MFPC) techniques, which build predictive models directly from operational data rather than physical parameters, have gained attention. Prominent data-driven approaches include: lookup-table-based schemes, which map voltage vectors to current deviations [12]; methods employing an ultra-local model for system dynamics [13–15]; frameworks integrating autoregressive with exogenous input (ARX) models [16–18]; and neural-network-based schemes, which utilize reinforcement learning to achieve high-accuracy predictions [19,20]. A comparative analysis of these state-of-the-art model structures is detailed in Table 1.
As shown in Table 1, recent MFPC methods have made significant progress in improving parametric robustness. A recent review [21] systematically summarizes the research progress of distributed model predictive control in unmanned aerial vehicles and vehicle platoon systems and points out that robustness under model uncertainty is still a key challenge for practical applications. Indeed, the analysis of these categories reveals that existing methods still face several common challenges: (i) a trade-off between nonlinear dynamic characterization and computational burden: for instance, ultra-local models aggregate nonlinearities into a single term, potentially losing dynamic details; neural network models impose a heavy computational burden; and (ii) limitations in adaptability and theoretical foundation under complex conditions, as some methods lack rigorous analysis frameworks for time-varying dynamics.
Among data-driven MFPC approaches, the ARX model has been successfully integrated into MFPC, as evidenced by studies such as [16–18], enhancing robustness through online parameter identification via RLS. Although effective, conventional ARX-based methods rely on a linear model structure, which inherently limits their capacity to accurately capture the nonlinear, coupled, and time-varying dynamics of PMSMs.
Unlike recent ARX-based MFPC approaches [16–18] which rely on linear ARX models, the proposed NARX-ARLS-MFPC method combines nonlinear regression with adaptive forgetting and Lyapunov-guaranteed stability, as demonstrated in Sections 3 and 4. This integration enables precise modeling of PMSM nonlinearities while ensuring robust convergence, directly addressing the limitations of prior schemes.
The proposed strategy addresses this by integrating a NARX model for nonlinear dynamic representation with an ARLS algorithm that utilizes an adaptive forgetting factor for online identification. This co-design ensures an effective trade-off between modeling accuracy and computational efficiency. Simulations under various disturbances—including parameter mismatches, variable noise levels, and sudden load changes—confirm that the NARX-ARLS-MFPC method outperforms comparative approaches, demonstrating enhanced robustness, reduced current THD, and lower steady-state error.
The main contributions of this study are summarized as follows:
- A nonlinear dynamic modeling framework: a NARX model incorporating the nonlinear coupling terms of electrical angular velocity and rotor angular position is constructed. This model provides a more accurate representation of PMSM dynamics compared to linear ARX structures.
- An ARLS algorithm with an adaptively tuned forgetting factor is employed for online identification. Furthermore, the closed-loop stability of the entire system under this scheme is analyzed and proven using Lyapunov stability theory.
- Comprehensive validation of robustness is conducted. The proposed data-driven solution is validated to maintain robust performance under a wide range of complex conditions, including severe parameter mismatches (resistance, inductance, and flux linkage), variable noise levels, and simultaneous load transients with parameter perturbations, demonstrating superior performance.
2. Mathematical model and system identification
2.1. Mathematical model of PMSM
For a surface-mounted permanent magnet synchronous motor, the mathematical model in the two-phase α-β stationary coordinate frame is described by the following complex-vector equation [20]:
where the subscript ‘s’ denotes quantities in the stator reference frame (i.e., the α or β axis). Here, Ls is the stator inductance, us is the stator voltage vector, Rs is the stator resistance, and is is the stator current vector. The rotor flux linkage vector is given by Ψr = Ψfejθe, where Ψf is the permanent magnet flux linkage, and θe is the electrical angular position. The electrical angular velocity ωe is defined as ωe = dθe/dt.
Applying a first-order discretization of Eq (1) yields the predicted current at (k + 1)th time instant:
where Tsc is the sampling period. Although this model enables straightforward prediction, its accuracy is highly sensitive to the precise knowledge of parameters Ls, Rs, and Ψf, which are subject to variation and uncertainty in practice. This sensitivity to parametric uncertainty motivates the strategy developed in the following section.
2.2. ARX model
In the α-β stationary coordinate system, the input-output relationship of an unknown system can be represented using the ARX structure as follows [6]:
where and
are the estimated stator currents at the k-th sampling instant; uα(k) and uβ(k) are the inverter output voltages. The expressions for Aα, Aβ, Bαα, Bαβ, Bβα, and Bββ are as follows:
where the superscript i of the polynomials Ai(z-1) and Bij(z-1) denotes the axis (α or β) of the modeled current, and j denotes the axis (α or β) of the external input voltage. For simplicity, the orders of all Ai(z-1) polynomials are set to nA and the orders of Bij(z-1) polynomials are set to nB. For instance, when nA = 3, nB = 2, the unknown parameter vectors to be identified in Eq (3) and Eq (4) form the vectors ηα(k)∈ℝ7×1 and ηβ(k)∈ℝ7×1:
Their corresponding regression vectors φα(k)∈ℝ7×1 and φβ(k)∈ℝ7×1, composed of the historical input and output data, are given by:
The RLS algorithm is then employed to estimate the parameter vectors ηα(k) and ηβ(k).
2.3. RLS parameter estimation
The parameter estimation process based on the RLS algorithm is described below, taking the α-axis as an example. The cost function J(k) based on the least-squares criterion is given as follows:
where λ (0 < λ ≤ 1) is the forgetting factor. The summation collects the squared errors between the measured current iα(l) and the model prediction φαT(l)ηα(k-1) over all past sampling instants l = 1, 2, …, k. The RLS algorithm that minimizes J(k) is given by the following recursive equations:
Here, Pα(k) is the covariance matrix, Gα(k) is the gain matrix, and the current estimation error eα(k) is expressed as:
3. MFPC method based on NARX and ARLS
3.1. NARX model
To better capture the nonlinear characteristics of PMSM, particularly the back-EMF effects, specific nonlinear terms involving the electrical angular speed and the rotor angular position are incorporated into the regression vector. This enhancement, along with a simplification to reduce model order, leads to the following compact NARX regression vectors:
where φα(k)∈ℝ3×1, φβ(k)∈ℝ3×1.
The corresponding unknown parameter vectors to be identified are:
with ηα(k)∈ℝ3×1 and ηβ(k)∈ℝ3×1. Consequently, the estimated current based on the NARX model in the α-β stationary reference frame is formulated as:
the parameter vectors ηα(k) and ηβ(k) are updated online using the ARLS algorithm.
3.2. ARLS with an adaptive forgetting factor
The traditional RLS algorithm employs a fixed forgetting factor λ, which poses a fundamental trade-off between steady-state accuracy and dynamic response speed. To address this, an adaptive forgetting factor mechanism is designed. The factor λ(k) is adjusted online according to the estimation error:
where 0 < λmin < λbase ≤ 1. Here, e(k) represents the current estimation error defined in Eq (9), and Δe(k) quantifies the recent fluctuation level of the error, calculated as the mean absolute difference over a window of N past samples. The parameters δ1 and δ2 are predefined thresholds. This design ensures an exponential adaptation of λ(k) between λbase and λmin.
When a sudden load change occurs, the estimation error e(k) and its fluctuation Δe(k) increase. This causes the forgetting factor λ(k) to decrease rapidly toward λmin, thereby accelerating the discounting of past data and enabling fast parameter tracking. Conversely, during steady-state operation, Δe(k) approaches zero, allowing λ(k) to return to λbase. In this regime, a large λ(k) increases the effective memory horizon, thereby utilizing more historical data to suppress noise and improve estimation accuracy. The schematic diagram of the ARLS algorithm is shown in Fig 1.
3.3. Design of MFPC control law
The control objective is to minimize the current tracking error. The corresponding cost function is defined as:
where iα*(k + 1) and iβ*(k + 1) are the reference currents for the – and
-axis, respectively.
The predicted currents are obtained from the following NARX model:
In each control period, the cost function g is evaluated for all candidate voltage vectors listed in Table 2. The voltage vector that minimizes g is selected as the optimal control action and applied to the inverter. The overall control flowchart and system block diagram of the proposed NARX-ARLS-MFPC strategy are shown in Fig 2 and Fig 3, respectively.
3.4. Stability analysis
Consider the following candidate Lyapunov function:
where eα(k) and eβ(k) are the current tracking errors defined as:
From Eq (16), it is clear that V(k) ≥ 0 for all k, and V(k) = 0 if and only if eα(k) = eβ(k) = 0.
Supposing the current prediction error is
where the prediction error is defined as the deviation between model predictions and actual outputs:
Assumption 1. The NARX model identified online by the ARLS algorithm provides a sufficiently accurate one-step-ahead prediction of the stator currents. We assume there exists a positive constant ε > 0 such that for all time step k:
This assumption is a widely adopted premise in robust and adaptive control, grounded in the inherently bounded nature of physical quantities in the system: in a practical PMSM drive, the supply voltages, load torques, and rotor dynamics are all subject to physical limits. Consequently, the lumped disturbance, which aggregates unmodeled dynamics, parameter uncertainties, and external disturbances, is physically bounded. Crucially, it is the existence of a finite bound—rather than knowledge of its exact magnitude—that matters for the analysis. This boundedness condition then provides the basis for the subsequent Lyapunov-based stability analysis, where it is shown that the closed-loop system remains uniformly ultimately bounded for any admissible disturbance respecting this bound. Hence
The control voltage is selected by minimizing the sum of squared prediction errors in the following equation.
The selection ensures that the resulting prediction errors do not exceed the current tracking errors, as expressed in Eq (23).
The voltage vector selected by Eq (23) achieves local optimality in terms of the predicted tracking error based on the current adaptive NARX model. Although transient model inaccuracies can degrade instantaneous performance, the integrated ARLS estimator ensures rapid model convergence, enabling the predictive controller to recover optimal performance swiftly. The forward difference of the Lyapunov function is:
From Eq (19), we obtain:
Summing the squares:
Combining Eq (23) and Eq (26) yields:
For any real numbers a,b, we have −2ab≤2|a||b|. Therefore:
From Eq (27) and Eq (28), we obtain:
Applying the Cauchy-Schwarz inequality:
From the control law and Assumption 1, we obtain:
From Eq (29), Eq (30), and Eq (31), we obtain:
Substituting Eq (31) into ΔV(k):
From Eq (16) and Eq (33), we obtain:
Provided the model prediction error is bounded (ε < ∞) and the increment of the Lyapunov function satisfies Eq (34), the system’s tracking error energy V(k) is guaranteed to be bounded. Consequently, the closed-loop system is uniformly ultimately bounded. In the ideal case of an accurate prediction model (ε = 0), it follows that ΔV(k) ≤ 0, which implies the system is Lyapunov stable.
3.5. Analysis of computational complexity and real-time feasibility
The practical implementation of the proposed NARX-ARLS-MFPC necessitates an analysis of its computational cost and real-time feasibility, which are critical for deployment on embedded processors in drive systems.
The computational load within each control cycle stems from two sequential stages: online parameter identification and optimal vector selection. The identification employs the ARLS algorithm to update two independent 3-dimensional parameter vectors ηα(k) and ηβ(k). The dominant cost is the update of a 3 × 3 covariance matrix Pα(k) and Pβ(k), involving matrix-vector multiplications and an outer product, with a fixed complexity of O(n2) where n = 3. Subsequently, the control law adopts FCS-MPC strategy, evaluating the cost function Eq (14) for all 8 candidate voltage vectors listed in Table 2. For each vector, this requires one-step current prediction using Eq (15), constituting a few scalar multiplications and additions. While the FCS scheme necessitates evaluating all 8 vectors, the operations for each are independent and lightweight compared to the matrix update.
Covariance matrix update size: the core of the ARLS identification is the recursive update of a 3 × 3 symmetric covariance matrix for each axis. The algorithm operates on this fixed, small-dimensional matrix.
Feasibility at typical PMSM control frequencies (e.g., 10–20 kHz): the complete control cycle comprises fixed, non-iterative operations with a predictable worst-case execution time. The most computationally intensive task is the 3 × 3 matrix update, a routine efficiently handled by the arithmetic units of modern motor control DSPs (e.g., TI C2000 series). Empirical measurements within the MATLAB/Simulink simulation environment confirm that the core 3 × 3 matrix update requires approximately 0.25 µs per call. This simulated execution time demonstrates the fundamental computational efficiency of the algorithm and strongly indicates its real-time feasibility for implementation on embedded processors. In this study, the complete algorithm was successfully executed within a stringent 10 µs (100 kHz) simulation cycle, which is significantly shorter than 50–100 µs (10–20 kHz) cycle typical of industrial drives. This confirms that the proposed method possesses ample time margin for real-time implementation on common hardware. The choice of the compact third-order NARX model is pivotal to this feasibility, achieving an effective balance between model expressiveness and computational tractability.
4. Simulation results and discussion
4.1. Simulation and implementation details
The comparative performance presented in subsections 4.2, 4.3 and 4.4 were generated using a simulation model developed in MATLAB/Simulink 2018b. The FCS-MPC is implemented to directly output the optimal inverter switching states without a carrier-based modulation stage. For the performance evaluation in subsections 4.2, 4.3.1 and 4.4, the rotor speed and position are assumed to be measured by ideal sensors. The analysis of robustness under variable noise levels is presented separately in subsection 4.3.2. All critical parameters for the motor and the control algorithms are provided in Table 3, ensuring the reproducibility of the presented simulations.
4.2. Model selection and comparison
To determine the optimal model for the NARX-ARLS-MFPC, three different model structures are evaluated and compared. The mathematical formulations of the evaluated models are listed in Table 4.
The comparative analysis employs four key performance indicators—RMS current tracking errors (both iα and iβ), switching frequency, and THD—to comprehensively assess each model’s capabilities. Table 5 presents the performance comparison of the three models across four rotor speeds: 150 r/min (10% of rated speed), 750 r/min (50%), 1500 r/min (100%), and 1800 r/min (120%).
Based on the performance comparison in Table 5, Model 3 is identified as the optimal structure as it achieves the best overall performance across the wide speed range. It consistently delivers the lowest RMS current tracking errors at all operating speeds, for example, maintaining the iα error between 0.012 A and 0.039 A and the iβ error between 0.005 A and 0.007 A. Furthermore, it generally provides the best harmonic performance, with THD values between 7.58% and 8.09%. This performance consistently outperforms both the simpler Model 1 and the more complex Model 2, especially at medium to high speeds. Although Model 3 operates at a marginally higher switching frequency, the substantial and consistent improvements in tracking precision and waveform quality across the entire operating range justify this minor increase. Therefore, Model 3 provides the most effective representation of the system dynamics for the proposed NARX-ARLS-MFPC strategy.
4.3. Performance under inductance and flux mismatches
4.3.1. Case 1: without noise.
The control strategies utilize the nominal motor parameters Rs, Ls, and Ψf. To simulate parameter mismatches, the actual motor parameters in the simulation are set to different values Rsa, Lsa, and Ψfa. This subsection evaluates robustness under inductance and flux linkage mismatch conditions.
Fig 4 shows the three-phase current responses under FCS-MPC, NARX-RLS-MFPC, and the proposed NARX-ARLS-MFPC controls, given mismatches of Lsa/Ls = 0.4 and Ψfa/Ψf = 0.4. The corresponding current THD values are presented in Fig 5.
(a) FCS-MPC, (b) NARX-RLS-MFPC, (c) NARX-ARLS-MFPC.
As shown in Figs 4 and 5, the current quality of the FCS-MPC strategy deteriorates due to the parameter mismatches, exhibiting substantial ripples with an average THD of 10.55%. In contrast, the average THD values for NARX-RLS-MFPC and NARX-ARLS-MFPC are 8.60% and 7.56%, respectively. Therefore, compared to FCS-MPC and the baseline NARX-RLS-MFPC, the THD of the proposed NARX-ARLS-MFPC method is reduced by 28.3% and 12.3%, respectively, demonstrating its superior robustness.
4.3.2. Case 2: parameter sensitivity analysis with simulated sensor noise.
To further evaluate the robustness of the proposed controller against practical measurement imperfections, a noise sensitivity study is conducted. Additive white Gaussian noise with different standard deviations (σ = 0.05, 0.1, 0.5) is superimposed on the measured αβ axes current signals. The performance of the proposed NARX-ARLS-MFPC under various noise levels and different internal parameter sets is summarized in Table 6.
For parameter Sets 1–5, the system maintains stable convergence with a THD below 8.5% across noise levels up to σ = 0.1. Set 6 maintains convergence but exhibits significantly higher THD of 11.47%−16.16%, indicating greater noise sensitivity. In contrast, Sets 7 and 8 diverge completely, demonstrating that excessively small innovation thresholds (δ1, δ2) when operating at the lower bound of effective memory length critically compromise robustness. Therefore, appropriate parameter tuning is essential for reliable operation amidst sensor noise.
The sensitivity analysis above elucidates the distinct roles of the two key parameter classes. First, the thresholds δ1 and δ2 serve as robustness gatekeepers, preventing the model from being updated with noise-corrupted data. The divergence of Sets 7 and 8 demonstrates that if the thresholds are set too small, even minor noise is mistaken for a genuine system change, triggering destructive adaptation. Therefore, δ1 and δ2 must be set above the expected noise amplitude to ensure stability. Second, the effective memory horizon of the algorithm, governed by the data window length N and the minimum forgetting factor λmin, determines the trade-off between tracking agility and steady-state precision. Set 6, with a relatively small N and low λmin, maintains convergence but exhibits degraded THD. This indicates a shortened effective memory, which increases noise susceptibility and degrades accuracy. Conversely, the superior performance of Sets 1–5 across various noise levels is attributable to a sufficiently long effective memory (achieved by a larger N or a higher λmin), which provides filtering and ensures precision.
Based on these insights, practical tuning guidelines are derived: 1) Set δ1 and δ2 conservatively based on the estimated sensor noise level to guarantee robustness; 2) Select N and λmin to provide a sufficient effective memory for noise attenuation, which is critical for high-precision applications. The results identify a stable and well-performing parameter region (Sets 1–5) and distinguish it from the sensitive regions (Sets 6–8). These findings and guidelines establish a principled basis for parameter selection that ensures robustness and noise immunity. These findings empirically validate that within the mapped stable parameter region, the closed-loop behavior aligns with the uniformly ultimately bounded guarantee derived from the Lyapunov framework, thereby confirming that the heuristic tuning rules operate within the theoretically sound margin.
4.4. Performance under load transient and R-L parameter mismatches
4.4.1. Case 1: without parameter perturbations.
The system operates under a load torque that steps from 2 N·m to 4 N·m at 0.2 s, with parameter mismatch conditions set to Rsa/Rs = 2 and Lsa/Ls = 0.5. The three-phase current responses under the FCS-MPC, NARX-RLS-MFPC, and the proposed NARX-ARLS-MFPC strategies are shown in Fig 6. The evolution of the variable forgetting factor λ(k) during this load-torque step is presented in Fig 7. The current THD was measured over one cycle following the load step, as illustrated in Fig 8.
(a) FCS-MPC, (b) NARX-RLS-MFPC, (c) NARX-ARLS-MFPC.
As shown in Fig 8, the THD values are 10.64% for FCS-MPC, 9.58% for NARX-RLS-MFPC, and 8.08% for NARX-ARLS-MFPC. Compared to the FCS-MPC and NARX-RLS-MFPC strategies, the proposed method reduces the THD by 24.1% and 15.7%, respectively.
4.4.2. Case 2: with parameter perturbations.
To evaluate the robustness and statistical performance of the proposed and comparative control strategies under parameter uncertainties, a simulation study with 30 independent runs was conducted. In each run, the actual motor parameters were subject to both systematic mismatches and stochastic perturbations: the inductance was set to 0.5 times its rated value with a ± 20% uniformly distributed random variation, and the resistance was set to 2.0 times its rated value with a ± 20% variation of the same type. Key performance metrics—including settling time, overshoot, RMS current tracking error, torque ripple, average switching frequency, and current THD—were recorded for each run. Table 7 presents the mean and standard deviation for each metric, providing a statistically sound comparison of the algorithms’ performance under uncertainty.
- Ablation study on algorithmic components
To validate the contribution of each key component, an ablation study is conducted by comparing four strategies: the conventional FCS-MPC, the ARX-ARLS-MFPC which employs a linear model with adaptive forgetting, the NARX-RLS-MFPC which uses a nonlinear model with fixed forgetting, and the proposed NARX-ARLS-MFPC.
As shown in Table 7, compared to the linear ARX-ARLS-MFPC, the NARX-RLS-MFPC demonstrates the benefit of the nonlinear model by reducing the current THD and improving current tracking accuracy. Conversely, the ARX-ARLS-MFPC exhibits a marginally faster settling time, highlighting a trade-off in transient response. The proposed NARX-ARLS-MFPC, integrating both components, surpasses all other variants. It achieves the best overall performance, including the shortest settling time of 0.1536 s, the lowest overshoot of 1.56%, the lowest torque ripple of 0.905 N·m, and the lowest current THD of 6.90%, with significantly reduced standard deviations. This confirms that the synergistic integration of the nonlinear NARX model and the adaptive recursive least-squares algorithm provides enhanced robustness and superior capability in handling model mismatches and disturbances.
- Comparison with the ESO-based ultra-local model method
To further contextualize the performance of the proposed method within contemporary research, it was benchmarked against a recent advanced model-free strategy: the extended sliding mode observer-based ultra-local model method [14].
As evidenced in Table 7, the proposed NARX-ARLS-MFPC demonstrates comprehensive advantages. It exhibits superior dynamic performance, featuring a faster settling time of 0.1536 s compared to 0.1962 s, and a lower overshoot of 1.56% compared to 3.43%. Furthermore, it delivers enhanced steady-state quality, reflected in lower torque ripple and current THD, as well as a significantly higher switching efficiency of approximately 15.254 kHz versus 36.697 kHz.
The presented simulation results demonstrate that the proposed NARX-ARLS-MFPC method, through its synergistic combination of adaptive parameter identification and nonlinear dynamic modeling, effectively suppresses current distortion caused by model mismatch and improves current quality under dynamic load conditions.
4.5. Discussion
The performance improvements of the proposed NARX-ARLS-MFPC stem from its two key features. First, the adaptive forgetting factor λ(k) enhances robustness against parameter mismatch. The key mechanism is a closed-loop adjustment: when a sudden load step introduces model error, the prediction innovation increases. This triggers an automatic decrease in λ(k) in Fig 7, which shortens the algorithm’s effective memory window and accelerates parameter updates to correct the model. Once the parameters converge to the new condition, λ(k) rises, strengthening memory and noise immunity. This dynamic balance between learning speed and estimation stability underpins the consistent tracking performance under varying conditions, as evidenced in Fig 6. Second, the inclusion of nonlinear NARX terms is critical for accuracy at high speeds, where the back-EMF introduces a speed‑dependent nonlinearity. The NARX model explicitly includes cross-terms that directly mirror physical coupling. By doing so, the predictor inherently accounts for the back-EMF effect, leading to more accurate current predictions. This explains the significantly reduced prediction error and improved torque control accuracy of the proposed method at high speeds.
The performance of the proposed method is subject to several practical limits. First, at extremely low rotational speeds, the back-EMF amplitude diminishes sharply, resulting in insufficient persistent excitation for the ARLS identifier. Consequently, online parameter adaptation loses asymptotic convergence, and the identifier cannot accurately track slow time-varying parameter deviations. It should be emphasized that insufficient persistent excitation only deteriorates parameter convergence and control transient performance, rather than jeopardizing closed-loop stability. The Lyapunov stability proof underlying Inequality (23) only requires the overall estimation error to be bounded, not asymptotic convergence of parameters. For the ARLS with a forgetting factor, its classical uniformly ultimate boundedness property [22] guarantees that the parameter estimation error remains bounded even under inadequate persistent excitation, provided that the regression signals stay bounded. Owing to the linearly parameterized prediction model, bounded parameter estimation error directly leads to bounded one-step-ahead prediction error, which ensures that Assumption 1 remains satisfied throughout low-speed operation. Therefore, the stability conclusion derived from Inequality (23) remains valid over the entire low-speed region. Second, under extreme measurement noise, the innovation sequence can be corrupted, misleading the adaptation law. Finally, during rapid speed reversals, the plant dynamics change abruptly. A transient dip may occur before model re-adaptation.
Regarding hardware implementation, the proposed method features moderate computational load. Its core overhead lies in the ARLS covariance matrix update with O(n2) complexity and a limited number of regressors, which can be readily accommodated by common low-cost 32-bit fixed-point DSPs and ARM microcontrollers. The fixed-point C implementation eliminates dependence on floating-point units and further cuts hardware cost, making the scheme suitable for cost-sensitive industrial drive scenarios. In terms of scalability, the data-driven nature of the proposed method gives it inherent potential to be extended to PMSMs of different power ratings and operating conditions.
The next immediate step is to experimentally validate the proposed scheme on a physical PMSM drive testbed. This experimental phase will focus on three key practical directions: (1) obtaining empirical execution-time benchmarks by deploying the fixed-point C implementation of the algorithm on a low-cost real-time embedded platform; (2) investigating practical implementation issues, including performance under actual sensor noise, computational resource constraints, and the effects of inverter non-idealities; (3) verifying the scalability of the proposed data-driven framework across PMSMs of different power ratings and typical operating regimes including flux weakening, heavy load saturation, and low-speed high-torque scenarios. The findings from this experimental work will provide a comprehensive assessment of the method’s efficacy in a real-world system.
5. Conclusion
This paper has developed and validated a NARX-ARLS-MFPC method for PMSMs. The core of this method is the synergistic integration of a nonlinear NARX model, which accurately captures the motor’s complex dynamics, and an adaptive ARLS identifier with a variable forgetting factor, which enables real-time tracking of time-varying parameters. This integration fundamentally eliminates the dependency on precise prior knowledge of physical motor parameters. Extensive simulations have demonstrated that the proposed method robustly mitigates performance degradation caused by model mismatches. It significantly suppresses current distortion and improves current quality under a wide range of challenges, including severe parameter mismatches, sensor noise, and dynamic load transients, thereby demonstrating its superior robustness and control performance.
Supporting information
S1 File. MATLAB codes for NARX model and ARLS algorithm, simulation raw data, and schematic diagram of the PMSM control structure.
https://doi.org/10.1371/journal.pone.0354803.s001
(ZIP)
References
- 1. Zhang X, Liu Z, Zhang P, Zhang Y. Model predictive current control for PMSM drives based on nonparametric prediction model. IEEE Trans Transp Electrific. 2024;10(1):711–9.
- 2. Zhu Z, Wei X, Zhang Z, Han R, Wu Y, Gong Y, et al. Torque-ripple-mitigated model-free predictive current control with extended control set for PMSMs. IEEE Trans Magn. 2024;60(9):1–6.
- 3. Sun X, Su Z, Lei G, Cai Y, Yao M. Adaptive model-free predictive current control for SPMSM drives with optimal virtual vector modulation. IEEE/ASME Trans Mechatron. 2024;29(4):2569–78.
- 4. Wei Y, Young H, Ke D, Wang F, Qi H, Rodríguez J. Model-free predictive control using sinusoidal generalized universal model for PMSM drives. IEEE Trans Ind Electron. 2024;71(11):13720–31.
- 5. Chen L, Jin Z, Shao K, Wang H, Wang G, Iu HH-C, et al. Sensorless fixed-time sliding mode control of PMSM based on barrier function adaptive super-twisting observer. IEEE Trans Power Electron. 2024;39(3):3037–51.
- 6. Rodriguez J, Heydari R, Rafiee Z, Young HA, Flores-Bahamonde F, Shahparasti M. Model-free predictive current control of a voltage source inverter. IEEE Access. 2020;8:211104–14.
- 7. Wang S, Fan H, Zhao J. Model-free predictive current control of DTP-PMSM based on ultra-local model considering back EMF harmonics. IEEE J Emerg Sel Topics Power Electron. 2025;13(1):553–63.
- 8. Yuan X, Zhang S, Zhang C. Improved model predictive current control for SPMSM drives with parameter mismatch. IEEE Trans Ind Electron. 2020;67(2):852–62.
- 9. Wei Y, Ke D, Yu X, Wang F, Rodríguez J. Adaptive inertia observer-based model-free predictive current control for PMSM driving system of electric vehicles. IEEE Trans on Ind Applicat. 2024;60(4):6252–62.
- 10. Zafra E, Vazquez S, Geyer T, Aguilera RP, Franquelo LG. Long prediction horizon FCS-MPC for power converters and drives. IEEE Open J Ind Electron Soc. 2023;4:159–75.
- 11. Bramerdorfer G, Lei G, Cavagnino A, Zhang Y, Sykulski J, Lowther DA. More robust and reliable optimized energy conversion facilitated through electric machines, power electronics and drives, and their control: state-of-the-art and trends. IEEE Trans Energy Convers. 2020;35(4):1997–2012.
- 12. Ipoum-Ngome PG, Mon-Nzongo DL, Flesch RCC, Tang J, Jin T, Wang M, et al. Multiobjective model-free predictive control for motor drives and grid-connected applications: operating with unbalanced multilevel cascaded H-bridge inverters. IEEE Trans Power Electron. 2023;38(3):3014–28.
- 13. Wang F, Wei Y, Young H, Ke D, Yu X, Rodríguez J. Low-stagnation model-free predictive current control of PMSM drives. IEEE Trans Ind Electron. 2025;72(7):6719–30.
- 14. Zhang Y, Jin J, Huang L. Model-free predictive current control of PMSM drives based on extended state observer using ultralocal model. IEEE Trans Ind Electron. 2021;68(2):993–1003.
- 15. Liu Z, Huang X, Hu Q, Yang G, Wang Y, Shen J. Model-free predictive current control of PMSM using modified extended state observer. IEEE Trans Power Electron. 2025;40(1):679–90.
- 16. Li H, Shao J, Liu Z. Incremental model predictive current control for PMSM with online compensation for parameter mismatch. IEEE Trans Energy Convers. 2023;38(2):1050–9.
- 17. Bermudez M, Arahal MR, Duran MJ, Gonzalez-Prieto I. Model predictive control of six-phase electric drives including ARX disturbance estimator. IEEE Trans Ind Electron. 2021;68(1):81–91.
- 18. Cartes B, Burgos P, Cifuentes CA, Young H, Wei Y, Rojas CA, et al. Design method for polynomial orders in ARX-based model-free predictive controllers. IEEE J Emerg Sel Topics Power Electron. 2025;13(1):604–14.
- 19. Mesai Ahmed H, Jlassi I, Marques Cardoso AJ, Bentaallah A. Model-free predictive current control of synchronous reluctance motors based on a recurrent neural network. IEEE Trans Ind Electron. 2022;69(11):10984–92.
- 20. Tan N, Yu P, Zhong Z, Ni F. A new noise-tolerant dual-neural-network scheme for robust kinematic control of robotic arms with unknown models. IEEE/CAA J Autom Sinica. 2022;9(10):1778–91.
- 21. Peng Y, Yan H, Rao K, Yang P, Lv Y. Distributed model predictive control for unmanned aerial vehicles and vehicle platoon systems: a review. Intelligence Robotics. 2024;4(3):293–317.
- 22. Goodwin G, Ramadge P, Caines P. Discrete-time multivariable adaptive control. IEEE Trans Automat Contr. 1980;25(3):449–56.