Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy
Abstract
1. Introduction
- A fractional-order PI (FOPI) control architecture is designed to provide the “iso-damping” property, ensuring consistent transient response despite parameter mismatches and sensor non-idealities.
- A fuzzy inference mechanism is integrated to perform online gain scheduling, effectively compensating for nonlinear load variations derived from vehicle dynamics.
- An improved Fractional-Order PSO (FOPSO) algorithm is implemented, utilizing a discrete-time fractional memory term (Grünwald-Letnikov approximation) to enhance population diversity and avoid premature convergence during parameter tuning.
- A realistic co-simulation platform is established using CarSim 2023 and the EPA Urban Cycle. Simulation results demonstrate that the proposed controller reduces the Root Mean Square Error (RMSE) by 75.0% compared to the standard PI benchmark under realistic driving conditions.
2. System Model and Co-Simulation Architecture
2.1. Drive System Components and Mathematical Model
2.1.1. PI-Based Fractional-Order PSO-Fuzzy Weight Controller (PI-FOPSOFWC)
2.1.2. Voltage Source Inverter (VSI)
2.1.3. Permanent Magnet Synchronous Motor (PMSM)
2.1.4. Sensor Module
2.2. Vehicle Load Model and Co-Simulation Architecture
2.2.1. CarSim Vehicle Model Configuration
2.2.2. Co-Simulation Data Exchange Strategy
- Reference Speed (r(t)): The CarSim driving cycle generates the target vehicle speed, which is converted to the reference motor speed and sent to the PI-FOPSOFWC controller.
- Speed Feedback (): The actual rotor speed calculated by the PMSM plant (Equation (7)) is fedback to the CarSim powertrain model via the s-function input ports to update the vehicle state.
- Load Torque Feedback (): CarSim calculates the net load torque at the wheels based on complex vehicle dynamics, including aerodynamic drag, rolling resistance, and road grade. Unlike simplified step-load models often used in literature, the resulting load torque is time-varying and highly nonlinear, providing a rigorous validation environment for the controller’s robustness. This value is exported through the s-function, scaled by the transmission ratio, and fed back to the PMSM model.
2.3. System Architecture and FOC Implementation
2.4. Parameter Identification and Model Assumptions
2.4.1. Parameter Identification
2.4.2. Model Assumptions
3. Controller Design and Implementation
3.1. Control Law and Architecture
3.2. Fractional-Order Implementation
3.3. Fuzzy Weight Adaptation Mechanism
Fuzzy Rules and Membership Functions
3.4. Optimization Strategy and Implementation
4. Optimization Algorithms
4.1. Problem Formulation and Constraints
4.2. Standard Particle Swarm Optimization (PSO)
4.3. Fractional-Order PSO (FOPSO): Mathematical Implementation
4.3.1. Fractional Derivative Definition
4.3.2. Discrete-Time Implementation
4.4. Offline Tuning Procedure and Implementation
- Initialization: The optimization hyperparameters, including the swarm size , maximum iterations , and the fractional order of the optimizer, are pre-configured. It is crucial to distinguish from the controller’s fractional order :
- : A decision variable to be optimized (), determining the structure of the FOPI controller.
- : A fixed hyperparameter of the FOPSO algorithm. In this study, is finally set to 0.9 based on empirical sensitivity analysis. Preliminary trials conducted over the range indicated that values between 0.6 and 0.9 provide a favorable balance between exploration (preventing premature convergence) and exploitation (ensuring convergence stability). Among these, was selected for the final implementation due to its superior convergence consistency and lower final objective value.
- Iterative Co-Simulation: In each iteration, the candidate parameters are sent to the Simulink/CarSim environment. A full driving cycle simulation is executed to calculate the cost function .
- Fractional Velocity Update: The velocity of each particle is updated using the discrete Grünwald-Letnikov approximation derived in Section 4.3.2. The term is applied here to weight the historical velocities, enhancing the global search capability.
- Deployment: Upon convergence, the global best solution is extracted. These optimized values are then fixed and embedded into the controller memory for online operation.
4.5. Convergence Analysis and Parameter Selection
5. Simulation and Co-Simulation Results
5.1. Performance Indices and System Parameters
5.2. Scenario 1: Step Response and Load Disturbance Rejection
5.3. Scenario 2: Robustness Against Parameter Variations
Frequency Domain Analysis and Iso-Damping Property
5.4. Scenario 3: CarSim Co-Simulation (EPA Urban Cycle)
5.5. Discussion on Computational Complexity and Real-Time Feasibility
- Offline Optimization Overhead: The PSO/FOPSO algorithms are executed strictly offline to determine the optimal baseline parameters and fuzzy scaling factors. The time complexity of the FOPSO algorithm is , where N is the swarm size, is the maximum number of iterations, and M is the fractional memory length. Because this iterative optimization and vehicle co-simulation process is performed on a workstation prior to deployment, it requires zero computational resources from the vehicle’s onboard Electronic Control Unit (ECU) during actual operation.
- Online Execution (Fuzzy Inference): The fuzzy inference mechanism is implemented using a simplified look-up table (LUT) approach, requiring minimal CPU cycles ( complexity).
- Online Execution (Fractional-Order PI): The fractional-order integral () in the online control loop is realized using the Grünwald–Letnikov (GL) approximation (Equation (13)) with a finite memory length . This memory length L is distinct from the truncation length M used in the fractional-order PSO algorithm and is selected to ensure sufficient approximation accuracy while maintaining low computational cost. Under this implementation, the fractional integral can be interpreted as a finite impulse response (FIR) filter, requiring only L multiplications and L additions per control step.
5.6. Sensitivity Analysis of Sensor Non-Idealities
6. Conclusions
- Advanced Control Architecture: By introducing the fractional-order calculus operator (), the proposed PI-FOPSOFWC achieves greater flexibility in loop shaping compared to integer-order controllers. The “iso-damping” property () ensures consistent stability margins (Phase Margin ) even under significant parameter variations (), enhancing robustness against parametric variations and unmodeled dynamics.
- Intelligent Optimization: The fractional-order memory term introduced in the FOPSO algorithm prevents premature convergence found in standard PSO. The optimization results demonstrate a 16.7% reduction in the objective cost function value, ensuring optimal baseline gains for the controller.
- Superior Dynamic Performance: In step response tests, the proposed strategy achieved a virtually overshoot-free response (approximately 0% compared to 8.5% for the standard PI controller) and reduced the recovery time under load disturbance by approximately 57% (decreasing from 0.42 s to 0.18 s, as detailed in Table 6). The control effort analysis further confirms that this high dynamic performance is achieved with smoother current commands, which is beneficial for reducing mechanical stress and extending the lifespan of the traction inverter and battery.
- Realistic Drive Cycle Validation: The co-simulation with the EPA Urban Cycle verified the controller’s efficacy under highly nonlinear, time-varying road loads. The proposed method demonstrated exceptional tracking precision, reducing the Root Mean Square Error (RMSE) by 75.0% (from 14.14 rpm to 3.53 rpm) compared to the standard PI benchmark.
- Real-Time Feasibility: Computational complexity analysis indicates that the algorithm requires approximately 3.2 μs per cycle on a standard automotive DSP. This confirms its suitability for real-time implementation within the standard sampling period (μs) of commercial EV inverters.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Husain, I.; Ozpineci, B.; Islam, M.; Gurpinar, E.; Su, G.J.; Yu, W.; Chowdhury, S.; Xue, L.; Rahman, D.; Sahu, R. Electric Drive Technology Trends, Challenges, and Opportunities for Future Electric Vehicles. Proc. IEEE 2021, 109, 1039–1059. [Google Scholar] [CrossRef]
- Yang, Z.; Shang, F.; Brown, I.P.; Krishnamurthy, M. Comparative Study of Interior Permanent Magnet, Induction, and Switched Reluctance Motor Drives for EV and HEV Applications. IEEE Trans. Transp. Electrif. 2015, 1, 245–254. [Google Scholar] [CrossRef]
- Zhu, Z.Q.; Howe, D. Electrical Machines and Drives for Electric, Hybrid, and Fuel Cell Vehicles. Proc. IEEE 2007, 95, 746–765. [Google Scholar] [CrossRef]
- Martinez, C.M.; Hu, X.; Cao, D.; Velenis, E.; Gao, B.; Wellers, M. Energy Management of Plug-In Hybrid Electric Vehicles: An Overview. Energy Convers. Manag. 2016, 115, 136–152. [Google Scholar]
- Blaschke, F. The Principle of Field Orientation as Applied to the New Transvector Closed-Loop Control System for Rotating-Field Machines. Siemens Rev. 1972, 34, 217–220. [Google Scholar]
- Krishnan, R. Permanent Magnet Synchronous and Brushless DC Motor Drives; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
- El-Sousy, F.F.M.; Amin, M.M. Robust Adaptive Fractional-Order Wiener-Type Neuro-Fuzzy Control for PMSM Servo Drive Systems. IEEE Trans. Ind. Electron. 2020, 67, 1782–1795. [Google Scholar]
- Li, H.; Guo, Y.; Xu, Q. PMSM Torque Ripple Suppression Method Based on SMA-Optimized ILC. Sensors 2023, 23, 9317. [Google Scholar] [CrossRef]
- Cheng, X.; Hu, J.; Yu, Y.; Zhou, R.; Yu, Q. Analysis and Compensation of Phase Current Measuring Error Caused by Sensing Resistor in PMSM Application. Sensors 2024, 24, 1538. [Google Scholar] [CrossRef]
- Bai, X.; Huang, W.; Gao, C.; Wu, Y. Sensorless Control of Ultra-High-Speed PMSM via Improved PR and Adaptive Position Observer. Sensors 2025, 25, 1290. [Google Scholar] [CrossRef]
- Hu, Z.; Zhang, Y.; Li, M.; Liao, Y. Speed Optimization Control of a Permanent Magnet Synchronous Motor Based on TD3. Energies 2025, 18, 901. [Google Scholar] [CrossRef]
- Elsonbaty, A.; Enab, Y.; Al-Ammar, E.A.; Al-Sulaiman, F.A. Performance Optimization of a High-Speed Permanent Magnet Synchronous Motor Drive System for Formula Electric Vehicle Application. Sensors 2025, 25, 3156. [Google Scholar] [CrossRef] [PubMed]
- Zheng, Y.; Zhang, X.; Li, M.; Wang, H. A Dynamic Self-Adjusting System for Permanent Magnet Synchronous Motors Using an Improved Super-Twisting Sliding Mode Observer. Sensors 2025, 25, 3623. [Google Scholar]
- Bu, W.; Guo, S.; Fan, Z.; Li, J. Improved Adaptive PI-like Fuzzy Control Strategy of Permanent Magnet Synchronous Motor. Energies 2025, 18, 362. [Google Scholar] [CrossRef]
- Li, M.; Zhang, S.; Chen, Y. Speed Control of Permanent Magnet Synchronous Motor Based on Variable Fractional-Order Fuzzy Sliding Mode Controller. Actuators 2025, 14, 38. [Google Scholar] [CrossRef]
- Zhao, W.; Zhang, H.; Wang, Y.; Li, X. Fixed-Time-Convergent Sliding Mode Control with Sliding Mode Observer for PMSM Speed Regulation. Sensors 2024, 24, 1561. [Google Scholar]
- Wang, X.; Chen, L.; Liu, J. The Improved Particle Swarm Optimization Method: An Efficient Parameter Tuning Method with the Tuning Parameters of a Dual-Motor Active Disturbance Rejection Controller. Sensors 2023, 23, 8605. [Google Scholar] [CrossRef]
- Podlubny, I. Fractional-Order Systems and PIλDμ Controllers. IEEE Trans. Autom. Control 1999, 44, 208–214. [Google Scholar] [CrossRef]
- Monje, C.A.; Chen, Y.Q.; Vinagre, B.M.; Xue, D.; Feliu-Batlle, V. Fractional-Order Systems and Controls: Fundamentals and Applications; Springer: London, UK, 2010. [Google Scholar]
- Dastjerdi, A.A.; Vinagre, B.M.; Chen, Y.Q. Linear Fractional Order Controllers: A Survey in the Frequency Domain. Annu. Rev. Control 2019, 47, 51–70. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhu, J.; Zhao, Z. Parameter Tuning of PMSM Speed Controller Using Particle Swarm Optimization. IEEE Trans. Ind. Electron. 2011, 58, 1342–1352. [Google Scholar]
- Gad, A.G. Particle Swarm Optimization Algorithm and Its Applications: A Systematic Review. Arch. Comput. Methods Eng. 2022, 29, 2531–2561. [Google Scholar] [CrossRef]
- Liu, K.; Zhu, Z.Q. Quantum Genetic Algorithm-Based Parameter Estimation of PMSM Under Variable Speed Control Accounting for System Identifiability and VSI Nonlinearity. IEEE Trans. Ind. Electron. 2015, 62, 2363–2371. [Google Scholar] [CrossRef]
- Mechanical Simulation Corporation. CarSim User Manual, Version 2023; Mechanical Simulation Corporation: Ann Arbor, MI, USA, 2023. [Google Scholar]
- Holtz, J. Pulsewidth Modulation—A Survey. IEEE Trans. Ind. Electron. 1992, 39, 410–420. [Google Scholar] [CrossRef]
- Gan, H.; Cao, Z.; Chen, P.; Luo, Y.; Luo, X. Fractional-Order Electromagnetic Modeling and Identification for PMSM Servo System. ISA Trans. 2024, 147, 527–539. [Google Scholar] [CrossRef]
- Morimoto, S.; Takeda, Y.; Hirasa, T. Expansion of Operating Limits for Permanent Magnet Motor by Current Vector Control Considering Inverter Capacity. IEEE Trans. Ind. Appl. 1990, 26, 866–871. [Google Scholar] [CrossRef]
- Jahns, T.M. Flux-Weakening Regimes of Interior Permanent-Magnet Synchronous Machines. IEEE Trans. Ind. Appl. 2014, 50, 92–102. [Google Scholar]
- Lee, C.C. Fuzzy Logic in Control Systems: Fuzzy Logic Controller—Part II. IEEE Trans. Syst. Man Cybern. 1990, 20, 419–435. [Google Scholar] [CrossRef]
- Uddin, M.N.; Rahman, M.A. Fuzzy Logic-Based Speed Control of an Interior Permanent Magnet Synchronous Motor Drive. IEEE Trans. Ind. Appl. 2013, 49, 1349–1358. [Google Scholar]
- Monje, C.A.; Vinagre, B.M. On the Practical Implementation of Fractional-Order Controllers in Industrial Applications. ISA Trans. 2014, 53, 1311–1318. [Google Scholar]
- Zamani, M.; Karimi, A.; Sadati, S.; Parniani, M. Design of a fractional order PID controller for an AVR system using particle swarm optimization. Control Eng. Pract. 2009, 17, 1380–1387. [Google Scholar] [CrossRef]
- Deb, K.; Agrawal, S.; Pratap, A.; Meyarivan, T. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef]
- Shi, Y.; Eberhart, R. A Modified Particle Swarm Optimizer. In Proceedings of the IEEE International Conference on Evolutionary Computation, Anchorage, AK, USA, 4–9 May 1998; pp. 69–73. [Google Scholar]
- Shi, Y.; Eberhart, R.C. Empirical Study of Particle Swarm Optimization. In Proceedings of the Congress on Evolutionary Computation, Washington, DC, USA, 6–9 July 1999; pp. 1945–1950. [Google Scholar]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
- Holtz, J. Sensorless Control of Induction Motor Drives. Proc. IEEE 2002, 90, 1359–1394. [Google Scholar] [CrossRef]
- Chen, W.H.; Yang, J. Disturbance Observer-Based Control: Methods and Applications. Control Eng. Pract. 2016, 55, 9–18. [Google Scholar]












| Item | Specification |
|---|---|
| Fuzzy Logic Type | Mamdani |
| Inputs | Error (e), Change of Error () |
| Output | Scaling Factors () |
| Normalization Range | |
| Membership Functions | Symmetrical Triangles |
| Total Rules | 7 × 7 = 49 |
| MF Center Points (Normalized) | |
|
NB NM NS ZO PS PM PB −1.0 −0.66 −0.33 0 0.33 0.66 1.0 | |
| (a) Rule Base for | (b) Rule Base for | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NB | NM | NS | ZO | PS | PM | PB | NB | NM | NS | ZO | PS | PM | PB | ||
| NB | PB | PB | PM | PM | PS | ZO | ZO | NB | NB | NB | NM | NM | NS | ZO | ZO |
| NM | PB | PB | PM | PS | PS | ZO | NS | NM | NB | NB | NM | NS | NS | ZO | ZO |
| NS | PM | PM | PM | PS | ZO | NS | NS | NS | NB | NM | NS | NS | ZO | PS | PS |
| ZO | PM | PM | PS | ZO | NS | NM | NM | ZO | NM | NM | NS | ZO | PS | PM | PM |
| PS | PS | PS | ZO | NS | NS | NM | NM | PS | NM | NS | ZO | PS | PS | PM | PB |
| PM | PS | ZO | NS | NM | NM | NM | NB | PM | ZO | ZO | PS | PS | PM | PB | PB |
| PB | ZO | ZO | NM | NM | NM | NB | NB | PB | ZO | ZO | PS | PM | PM | PB | PB |
| Parameter Description | Symbol | Lower Bound | Upper Bound |
|---|---|---|---|
| Proportional Gain (Nominal) | 0 | 100 | |
| Integral Gain (Nominal) | 0 | 100 | |
| Fractional Order | 0.1 | 2.0 | |
| Fuzzy Scaling Factor (P) | 0 | 5.0 | |
| Fuzzy Scaling Factor (I) | 0 | 5.0 |
| Parameter | Symbol | Standard PSO | FOPSO (Proposed) |
|---|---|---|---|
| Proportional Gain | 2.12 | 2.15 | |
| Integral Gain | 44.8 | 45.2 | |
| Fractional Order | 1.00 (fixed) | 1.02 | |
| Fuzzy Scale (P) | 0.82 | 0.85 | |
| Fuzzy Scale (I) | 0.88 | 0.90 | |
| Minimum Cost | 0.0024 | 0.0020 |
| Parameter | Symbol | Value |
|---|---|---|
| System Ratings (Specs) | ||
| Rated Power | ||
| Rated Speed | ||
| Max. Torque | ||
| DC Link Voltage | ||
| PWM Frequency | ||
| PMSM Model Parameters | ||
| Stator Resistance | ||
| d-axis Inductance | ||
| q-axis Inductance | ||
| Flux Linkage | ||
| Rotor Inertia | ||
| Viscous Friction | B | |
| Pole Pairs | p | 4 |
| Vehicle Parameters (CarSim B-Class) | ||
| Total Mass | ||
| Effective Tire Radius | ||
| Transmission Ratio | G | |
| Metric | Scenario 1: Nominal () | Scenario 2: Robustness () | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Std. PI | PSO-PI | Fuzzy PI | SMC | Proposed | Std. PI | PSO-PI | Fuzzy PI | SMC | Proposed | |
| Rise Time (ms) | 152 | 145 | 130 | 105 | 110 | 210 | 195 | 185 | 110 | 115 |
| Overshoot (%) | 8.5% | 6.5% | 4.2% | 0.5% | 0% | 15.4% | 12.0% | 8.9% | 1.0% | 0.5% |
| Settling Time (s) | 0.42 | 0.38 | 0.31 | 0.20 | 0.18 | 0.85 | 0.70 | 0.55 | 0.25 | 0.22 |
| IAE () | 22.1 | 18.5 | 15.4 | 3.0 | 2.1 | 45.2 | 38.0 | 28.3 | 4.0 | 3.5 |
| Controller | Multiplications | Additions | Est. Execution Time |
|---|---|---|---|
| Standard PI | 2 | 2 | <0.5 μs |
| PSO-PI | 2 | 2 | <0.5 μs |
| SMC | 4 | 3 | ≈0.8 μs |
| Fuzzy PI | 6 | 4 | ≈1.5 μs |
| Proposed PI-FOPSOFWC | 16 | 14 | ≈3.2 μs |
| Metric | Standard PI | PSO-PI | Fuzzy PI | SMC | Proposed |
|---|---|---|---|---|---|
| RMSE (rpm) | 14.14 | 11.20 | 9.50 | 6.80 | 3.53 |
| Max Error (rpm) | 20.00 | 16.50 | 14.20 | 12.00 | 5.00 |
| Improvement (%) | - | 20.8% | 32.8% | 51.9% | 75.0% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Chiu, C.-C.; Mao, W.-L.; Tai, F.-C. Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy. Sensors 2026, 26, 1461. https://doi.org/10.3390/s26051461
Chiu C-C, Mao W-L, Tai F-C. Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy. Sensors. 2026; 26(5):1461. https://doi.org/10.3390/s26051461
Chicago/Turabian StyleChiu, Chih-Chung, Wei-Lung Mao, and Feng-Chun Tai. 2026. "Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy" Sensors 26, no. 5: 1461. https://doi.org/10.3390/s26051461
APA StyleChiu, C.-C., Mao, W.-L., & Tai, F.-C. (2026). Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy. Sensors, 26(5), 1461. https://doi.org/10.3390/s26051461

