Next Article in Journal
QIMO: Q-Learning-Based Adaptive Impairment Margin Optimization in DVB-S2X Satellite Communication
Previous Article in Journal
The Effect of the Equivalent Permittivity Model in Contactless MIMO-GPR Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robust PMSM Speed Control for EV Traction Drives: A FOPSO-Optimized Hybrid Fuzzy Fractional-Order PI Strategy

Department of Electrical Engineering, Graduate School of Engineering Science and Technology, National Yunlin University of Science and Technology, 123 University Road, Section 3, Douliou 64002, Yunlin, Taiwan
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(5), 1461; https://doi.org/10.3390/s26051461
Submission received: 30 January 2026 / Revised: 16 February 2026 / Accepted: 24 February 2026 / Published: 26 February 2026
(This article belongs to the Section Intelligent Sensors)

Abstract

High-performance speed control of Permanent Magnet Synchronous Motor (PMSM) drives in Electric Vehicle (EV) applications faces significant challenges due to inherent nonlinearities, parameter variations, and signal non-idealities such as sensor noise and measurement latency. To address these issues, this paper proposes a robust PI-based Fractional-Order PSO-Fuzzy Weight Controller (PI-FOPSOFWC). The proposed strategy integrates a fractional-order PI (FOPI) core to ensure iso-damping robustness, a fuzzy inference mechanism for online gain scheduling against nonlinear load dynamics, and a novel Fractional-Order Particle Swarm Optimization (FOPSO) algorithm for optimal parameter tuning. A key contribution of this study is the validation of the control strategy within a high-fidelity co-simulation framework coupling MATLAB/Simulink with CarSim 2023, which incorporates realistic vehicle dynamics and time-varying road loads unavailable in conventional simplified simulations. Co-simulation results demonstrate that the proposed controller effectively eliminates overshoot in step responses and maintains stability under significant parameter mismatches ( 2.0 × inertia). Furthermore, under the EPA urban driving cycle, the proposed method reduces the speed tracking Root Mean Square Error (RMSE) by 75.0% compared to the standard PI controller. Computational complexity analysis further confirms the feasibility of the proposed algorithm for real-time implementation in commercial EV traction drives.

1. Introduction

The electrification of the automotive industry has accelerated rapidly in recent years, driven by global initiatives to reduce carbon emissions and reliance on fossil fuels. Among the various electric propulsion technologies, the PMSM has emerged as the preferred choice for EV traction drives due to its superior power density, high efficiency, and high torque-to-inertia ratio compared to induction or switched reluctance motors [1,2].
However, high-performance speed control of PMSM drives in EV applications faces significant challenges. The vehicle traction system is inherently nonlinear and subject to various uncertainties, including parameter variations (e.g., inductance saturation, resistance drift due to temperature), unmodeled dynamics, and complex external load disturbances [3,4]. Furthermore, in practical implementations, signal non-idealities such as sensor measurement noise and communication latency can severely degrade the stability and bandwidth of the closed-loop system, leading to torque ripples and reduced ride comfort.
The classical Proportional–Integral (PI) controller, typically implemented within the Field-Oriented Control (FOC) framework [5,6], remains the industry standard due to its simplicity. However, the fixed-gain PI controller lacks the adaptability to handle the highly nonlinear and time-varying dynamics of an EV powertrain. To address this, various advanced control strategies have been proposed, including sliding mode control, model predictive control, and intelligent control schemes such as neuro-fuzzy and fractional-order adaptive controllers [7]. Recently, an array of advanced robust control and evolutionary optimization techniques—such as variable fractional-order architectures, adaptive fuzzy logic enhancements, and improved particle swarm optimization (PSO) methodologies—have been actively explored to further elevate PMSM drive performance under severe parameter mismatches and complex EV load conditions [8,9,10,11,12,13,14,15,16,17]. Among these, Fractional-Order Control has gained significant attention. By generalizing the integral and differential orders from integers to real numbers, fractional-order controllers (e.g., P I λ D μ ) provide additional degrees of freedom for loop shaping. This grants the system the “iso-damping” property, ensuring that the phase margin remains constant despite gain variations, which provides superior robustness compared to integer-order counterparts [18,19,20].
Despite the theoretical advantages of fractional-order controllers, tuning their parameters ( K p , K i , λ ) is a complex non-convex optimization problem. Metaheuristic algorithms, such as Particle Swarm Optimization (PSO), are widely used for automated tuning [21,22]. However, standard PSO often suffers from premature convergence, particularly in highly nonlinear and non-convex control optimization problems [23]. Moreover, most existing studies validate their control strategies using simplified simulations with constant step loads, which fail to capture the realistic, nonlinear road load dynamics experienced by an actual vehicle.
To bridge these gaps, this paper proposes a robust PI-based Fractional-Order PSO-Fuzzy Weight Controller (PI-FOPSOFWC). This hybrid strategy integrates the robustness of fractional calculus, the adaptability of fuzzy logic, and the global search capability of an enhanced optimization algorithm. Furthermore, to ensure rigorous validation, the system is tested within a high-fidelity co-simulation framework coupling MATLAB/Simulink (R2023b) with CarSim 2023, a specialized vehicle dynamics engine [24].
The main contributions of this paper are summarized as follows:
  • 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.
The remainder of this paper is organized as follows: Section 2 describes the system modeling and co-simulation architecture. Section 3 details the design of the PI-FOPSOFWC. Section 4 presents the optimization algorithms. Section 5 provides the simulation results and discussion, followed by conclusions in Section 6.

2. System Model and Co-Simulation Architecture

This section details the mathematical formulation of the PMSM servo drive and the structural architecture of the proposed closed-loop system, designed for high-performance EV traction applications. To ensure a realistic assessment of sensor performance and control robustness under dynamic road conditions, the system is implemented within a co-simulation framework that integrates the control architecture (MATLAB/Simulink) with high-fidelity vehicle dynamics software (CarSim 2023).
The drive system consists of four major subsystems: (1) the Controller (FOPI + Fuzzy + PSO), (2) the plant (Voltage Source Inverter and PMSM), (3) the Sensor Module providing speed feedback with modeled non-idealities, and (4) the external Vehicle Dynamics Model (CarSim) supplying dynamic road load torques ( T L ). This setup adopts the classical Field-Oriented Control (FOC) principle, which remains a benchmark strategy for EV propulsion systems.

2.1. Drive System Components and Mathematical Model

2.1.1. PI-Based Fractional-Order PSO-Fuzzy Weight Controller (PI-FOPSOFWC)

The PI-FOPSOFWC serves as the central speed controller. The core control structure is derived from the generalized fractional-order P I λ D μ controller proposed by Podlubny [18]. However, in electric vehicle traction drives, the derivative action ( D μ ) is susceptible to high-frequency sensor noise amplification, which can lead to torque ripples and instability. Therefore, this study adopts a Fractional-Order PI (FOPI) configuration by setting the derivative order μ = 0 .
The resulting control law u c ( t ) (corresponding to the reference torque current i q * ) is formulated as:
u c ( t ) = K p ( e , e ˙ ) e ( t ) + K i ( e , e ˙ ) D t λ 0 C e ( t ) ,
where K p and K i are the time-varying proportional and integral gains adjusted by the fuzzy inference mechanism. The term D t λ 0 C denotes the fractional-order integral operator of order λ ( 0 < λ < 2 ). Based on the Caputo definition, the operator is defined as:
D t λ 0 C f ( t ) = 1 Γ ( λ ) 0 t f ( τ ) ( t τ ) 1 λ d τ ,
where Γ ( · ) is the Gamma function. The fractional order λ is treated as a key decision variable within the optimization search space, determined by the FOPSO algorithm (typically converging to λ 1.02 ) to provide additional phase compensation that indirectly compensates for unmodeled nonlinear dynamics.
The controller processes the speed tracking error e ( t ) , which serves as the input to the control law:
e ( t ) = r ( t ) ω m meas ( t ) ,
where r ( t ) represents the target reference speed command, and ω m meas ( t ) is the measured mechanical rotor speed feedback provided by the sensor module.

2.1.2. Voltage Source Inverter (VSI)

The VSI converts DC power from the traction battery into three-phase AC voltages using Space Vector Pulse Width Modulation (SVPWM). To simplify the control design while retaining the essential dynamics, the inverter is modeled as a unity-gain first-order lag system. This control-oriented approximation is widely adopted in EV drive control studies where switching harmonics are not the primary focus, allowing the analysis to concentrate on closed-loop dynamic behavior and robustness. This approximation accounts for the cumulative latency caused by the digital computation and the PWM sample-and-hold effect [25]:
V d q a c t u a l ( s ) = 1 1 + τ s s V d q r e f ( s ) ,
where V d q a c t u a l ( s ) and V d q r e f ( s ) denote the actual and reference voltage vectors in the s-domain. The time constant is approximated as τ s 1.5 T s w 150   μ s (assuming a switching frequency f s w = 10   k H z ), representing the effective delay rather than the minimum on-time.

2.1.3. Permanent Magnet Synchronous Motor (PMSM)

The dynamic equations of the surface-mounted PMSM in the d q rotating reference frame are expressed as:
v d = R s i d + L d d i d d t ω e L q i q , v q = R s i q + L q d i q d t + ω e ( L d i d + ψ f ) ,
where v d and v q are the d- and q-axis stator voltages; i d and i q are the d- and q-axis stator currents; R s represents the stator resistance; L d and L q denote the d- and q-axis inductances; ω e is the electrical angular velocity; and ψ f is the permanent magnet flux linkage.
The electromagnetic torque T e is given by:
T e = 3 2 p ψ f i q + ( L d L q ) i d i q ,
where p denotes the number of pole pairs. The mechanical motion is governed by:
J m d ω m d t + B ω m = T e T L ,
where J m is the rotor inertia, B is the viscous friction coefficient, and T L is the mechanical load torque. By applying the Laplace transform to (7), the rotor speed dynamics in the s-domain can be expressed as:
Ω m ( s ) = T e ( s ) T L ( s ) J m s + B ,
where Ω m ( s ) , T e ( s ) , and T L ( s ) are the Laplace transforms of the rotor speed, electromagnetic torque, and load torque, respectively. This transfer function highlights the low-pass filtering effect of the mechanical inertia on torque disturbances.

2.1.4. Sensor Module

Accurate speed sensing is critical for closed-loop stability. The sensor module provides the measured speed ω m meas ( s ) . To simulate realistic sensor conditions relevant to EV applications, the model accounts for sensor delay ( τ d 20 μs), a filtering time constant ( τ f 2 ms ), and additive Gaussian noise n ( s ) [26]:
Ω m meas ( s ) = e τ d s 1 + τ f s Ω m ( s ) + n ( s ) ,
Explicitly modeling these sensor non-idealities is crucial for validating the robustness of the proposed fractional-order controller, as standard integer-order controllers often degrade in performance under such measurement uncertainties.

2.2. Vehicle Load Model and Co-Simulation Architecture

To validate the proposed controller under realistic EV operating conditions, the system is simulated using a synchronized co-simulation interface between MATLAB/Simulink and CarSim 2023.

2.2.1. CarSim Vehicle Model Configuration

The vehicle dynamics are simulated using the CarSim 2023 software. We utilized the pre-configured “B-Class: Hatchback: Electric RWD” dataset (Figure 1a), which accurately represents the inertial properties, aerodynamics, and powertrain architecture of a typical rear-wheel-drive electric vehicle. The driving scenario is defined by the “Hybrid/Electric: EPA Urban Cycle” procedure, providing a standard testing cycle with frequent stop-and-go dynamics suitable for evaluating servo performance.

2.2.2. Co-Simulation Data Exchange Strategy

The real-time data exchange between the electrical domain (Simulink) and mechanical domain (CarSim) is facilitated by the CarSim S-Function block (vs_sf), as illustrated in Figure 1b. The interaction is implemented as follows:
  • Reference Speed (r(t)): The CarSim driving cycle generates the target vehicle speed, which is converted to the reference motor speed r ( t ) and sent to the PI-FOPSOFWC controller.
  • Speed Feedback ( ω m ): The actual rotor speed ω m 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 ( T L ): 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 T L 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

The overall closed-loop architecture is illustrated in Figure 2. The system adopts a cascaded double-loop structure: an outer speed loop governed by the PI-FOPSOFWC and inner current loops (FOC) ensuring decoupled torque regulation. Field-weakening operation is realized by injecting a negative d-axis current to extend the speed range beyond the base speed, following the classical current vector control principle [27,28].

2.4. Parameter Identification and Model Assumptions

2.4.1. Parameter Identification

To ensure high model fidelity, the key parameter vector θ = [ R s , L d , L q , J m , B ] T is identified using the FOPSO algorithm. The identification process minimizes the identification cost function J i d ( θ ) , defined as the integral squared error between the simulated and reference model speeds:
J i d ( θ ) = 0 T ω m ( t ) ω ^ m ( t , θ ) 2 d t ,
where ω ^ m denotes the estimated speed. Note that the symbol J i d is used here to distinguish the optimization cost from the mechanical inertia J m .

2.4.2. Model Assumptions

The following assumptions are made for the control design: (1) The inverter operates within the linear modulation region; (2) Magnetic saturation and temperature-induced parameter drift are neglected; (3) Ideal field orientation is assumed, with cross-coupling effects fully compensated by the feedforward terms.

3. Controller Design and Implementation

This section presents the design and implementation of the proposed PI-based Fractional-Order PSO-Fuzzy Weight Controller (PI-FOPSOFWC) for PMSM speed regulation. The control strategy systematically integrates three advanced techniques: (1) Fractional-Order PI (FOPI) control [Section 3.1] to enhance loop shaping flexibility and structural robustness; (2) Fuzzy Logic adaptation [Section 3.3] for real-time gain scheduling to compensate for nonlinear parameter variations; and (3) Particle Swarm Optimization (PSO) [Section 3.4] for the offline tuning of baseline parameters. The interplay of these components ensures high-performance tracking under the dynamic constraints of EV traction drives.
The controller operates within the outer speed loop of the FOC structure defined in Section 2.3. The design objective is to regulate the motor speed ω m ( t ) to track the reference r ( t ) with minimal overshoot and settling time, ensuring robustness under the dynamic loads T L generated by the CarSim vehicle model.

3.1. Control Law and Architecture

The control architecture is depicted in Figure 3. The controller generates the torque-producing current reference (which translates to u c ( t ) ) based on the speed error e ( t ) = r ( t ) ω m meas ( t ) . The fuzzy logic mechanism employed in this work follows the classical Mamdani-type inference framework, which has been widely adopted in nonlinear control applications [29]. Fuzzy logic-based speed controllers have demonstrated improved robustness and reduced overshoot in PMSM drives compared to conventional PI regulators [30].
The control law of the adaptive PI-FOPSOFWC is formulated as:
u c ( t ) = K p 0 + α p Δ K p ( e , e ˙ ) e ( t ) + K i 0 + α i Δ K i ( e , e ˙ ) D t λ e ( t ) ,
where K p ( e , e ˙ ) and K i ( e , e ˙ ) are the time-varying proportional and integral gains adjusted by the fuzzy inference mechanism. The term D λ denotes the fractional-order integral operator of order λ ( 0 < λ 1 ).

3.2. Fractional-Order Implementation

The integration order λ is theoretically bounded by 2 to encompass the full range from weak integration ( λ < 1 ) to strong hyper-damping effects ( λ > 1 ). However, in practical EV traction applications, the optimal λ typically converges within the range of [ 0.8 , 1.2 ] to balance steady-state accuracy and phase margin requirements. The transfer function of the FOPI controller is defined as:
G c ( s ) = K p + K i s λ , ( 0 < λ < 2 ) .
Note that the derivative term is omitted to avoid noise amplification in the EV traction drive application, hence only the integration order λ is tuned. This allows for more flexible loop shaping, enhancing robustness against the nonlinear core effects and sensor noise described in Section 2.1.4. In practical digital implementations, fractional-order controllers are commonly approximated using finite-memory discretization techniques to balance accuracy and computational cost [31,32]. The discrete-time implementation of the fractional integral D t λ e ( t ) is realized using the Grünwald-Letnikov (GL) approximation:
D λ e ( t ) T s λ k = 0 L ( 1 ) k λ k e ( t k T s ) ,
where T s = 50   μ s is the sampling period and L = 10 is the truncated memory length. The fractional integration order λ is treated as a decision variable within the optimization search space. In this study, the proposed FOPSO algorithm determines the optimal value to be approximately λ 1.02 . This value provides the necessary phase compensation to mitigate the influence of unmodeled nonlinear dynamics and sensor delays, improving high-frequency noise rejection while maintaining fast transient response.

3.3. Fuzzy Weight Adaptation Mechanism

To compensate for the highly nonlinear load torque T L generated by the vehicle dynamics, a fuzzy inference system is employed to tune K p and K i online.

Fuzzy Rules and Membership Functions

The fuzzy system takes the speed error e ( t ) and its derivative e ˙ ( t ) as inputs and outputs the gain scaling factors Δ K p and Δ K i . The linguistic variables are defined as: {NB, NM, NS, ZO, PS, PM, PB} representing Negative Big to Positive Big. The membership functions are chosen as symmetrical triangles uniformly distributed over the normalized universe of discourse [ 1 , 1 ] , as shown in Figure 4. This normalized, symmetrical distribution, along with the core linguistic rule base, is initially established based on classical control heuristics and domain expertise in PMSM drives [29,30]. Such a standard structural design logically maps the transient tracking error to the required compensation efforts while minimizing the real-time computational burden on the EV’s electronic control unit. Consequently, instead of heuristically tuning the shape of individual membership functions, the adaptation flexibility is governed by the global scaling factors ( α p and α i ). The actual controller gains K p and K i are determined by adding the fuzzy-adjusted dynamic variants to the nominal baseline gains ( K p 0 and K i 0 ). The optimal values for these scaling factors and baseline gains are systematically identified offline using the proposed FOPSO algorithm (detailed in Section 4), thereby eliminating the need for empirical trial-and-error. The detailed specifications of the fuzzy inference system are listed in Table 1. Most importantly, the fuzzy rule base acts as the core decision mechanism. To achieve optimal control performance, separate rule bases are designed for the proportional and integral terms. The complete 7 × 7 rule sets for Δ K p and Δ K i are presented in Table 2.
The adaptation law is defined as:
K p = K p 0 + α p Δ K p , K i = K i 0 + α i Δ K i ,
where K p 0 and K i 0 are the nominal gains, and α p , α i are the scaling factors. Note that these four parameters ( K p 0 , K i 0 , α p , α i ) are treated as constant hyperparameters during the real-time control process, but their optimal values are determined offline via the proposed FOPSO algorithm (detailed in Section 4). The time-varying components are Δ K p and Δ K i , which are dynamically updated by the fuzzy inference mechanism.

3.4. Optimization Strategy and Implementation

The baseline parameters { K p 0 , K i 0 , λ , α p , α i } are optimized simultaneously. The objective is to minimize a multi-objective cost function that penalizes speed tracking error, error rate, and control effort. It is noted that the fractional order λ strongly influences the system’s frequency response; therefore, co-optimizing λ along with the gains ensures that the controller achieves the best structural configuration for the given plant dynamics.
The detailed mathematical formulation of this cost function, denoted as J o p t , and the specific optimization algorithms (PSO and FOPSO) are systematically presented in Section 4.
The complete controller is implemented in MATLAB/Simulink using a fixed-step solver with a sampling period of 50 μs. The PMSM model parameters are obtained from the identification process described in Section 2.4. Furthermore, the EV load torque profile is generated based on the EPA Urban Cycle to ensure realistic validation conditions. The admissible search-space boundaries of the controller parameters, which constrain the optimization process, are summarized in Table 3. The final optimized parameter values obtained using the proposed algorithm are reported in Section 4.

4. Optimization Algorithms

This section details the metaheuristic optimization strategies employed to tune the PI-FOPSOFWC controller. To address the high-dimensional and nonlinear search space of the PMSM drive system, we implement and compare two algorithms: the standard Particle Swarm Optimization (PSO) and its advanced variant, the Fractional-Order Particle Swarm Optimization (FOPSO). Special emphasis is placed on the discrete-time implementation of the fractional-order velocity update, which constitutes the core technical contribution for enhancing global search capability.

4.1. Problem Formulation and Constraints

The optimization objective is to minimize the tracking error and control effort. The global objective function J o p t ( x ) is defined as:
J o p t ( x ) = 0 T w 1 e 2 ( t ) + w 2 e ˙ 2 ( t ) + w 3 u c 2 ( t ) d t ,
where x = [ K p 0 , K i 0 , λ , α p , α i ] T represents the decision vector. The weighting factors are set to w 1 = 0.6 , w 2 = 0.2 , and w 3 = 0.2 . Multi-objective optimization based on evolutionary algorithms has attracted increasing attention for complex control system design problems [33].
To ensure the physical feasibility of the controller parameters, the search space is constrained. For a swarm of N particles, the position of each i-th particle, denoted as x i (where i = 1 , 2 , , N ), must satisfy the lower ( x m i n ) and upper ( x m a x ) boundaries defined in Table 3:
x m i n x i x m a x , i { 1 , , N } .
Note that the subscript i here specifically indexes the particle within the population, distinguishing it from the element indices of the parameter vector.

4.2. Standard Particle Swarm Optimization (PSO)

In standard PSO, a swarm of N particles moves through the search space. The velocity v i , d k + 1 and position x i , d k + 1 of the i-th particle in the d-th dimension at iteration k are updated via:
v i , d k + 1 = w · v i , d k + c 1 r 1 ( p i , d best x i , d k ) + c 2 r 2 ( g d best x i , d k ) ,
x i , d k + 1 = x i , d k + v i , d k + 1 ,
where w is the inertia weight, c 1 , c 2 are acceleration coefficients, and r 1 , r 2 U ( 0 , 1 ) are random values. To prevent divergence, the velocity is clamped to a maximum limit | v i , d | v m a x . The inertia weight w is linearly decreased from 0.9 to 0.5 to balance early exploration and late exploitation [34,35]. Particle swarm optimization has been widely employed for controller parameter tuning in PMSM drive systems due to its simplicity and fast convergence characteristics [36].

4.3. Fractional-Order PSO (FOPSO): Mathematical Implementation

Standard PSO often suffers from premature convergence (trapping in local optima) due to the rapid loss of population diversity. To mitigate this, FOPSO introduces a fractional calculus-based memory mechanism.

4.3.1. Fractional Derivative Definition

Based on the Caputo definition, the fractional derivative of order α ( 0 < α < 1 ) for the velocity term provides a “long-term memory” of past velocities. The conceptual update law modifies the inertia term:
v i , d k + 1 = α · v i , d k + ( 1 α ) · v i , d k 1

4.3.2. Discrete-Time Implementation

While the fractional dynamics are theoretically grounded in the Caputo definition (as discussed in Section 2), its direct computation is computationally expensive. Therefore, for the numerical implementation of the FOPSO algorithm, we utilize the Grünwald-Letnikov (GL) discrete approximation. Under the assumption of a unit time step (h = 1 iteration), the GL definition provides a computationally efficient convolution sum.
The rigorous velocity update equation in FOPSO is defined as:
v i , d k + 1 = r = 0 M ( 1 ) r α r v i , d k r Fractional Memory + c 1 r 1 ( p i , d best x i , d k ) + c 2 r 2 ( g d best x i , d k ) ,
where M is the truncation length (memory depth), set to M = 4. Unlike physical plant modeling where a larger M improves accuracy, in the FOPSO evolutionary process, an excessively long memory limits the particles’ maneuverability toward newly discovered global optima. Empirical trials indicate that M = 4 provides the optimal balance between maintaining population diversity (escaping local minima) and ensuring swift convergence, without introducing excessive historical inertia. The generalized binomial coefficients ( 1 ) r α r can be calculated iteratively to reduce CPU cycles:
c 0 = 1 , c r = 1 1 + α r c r 1 ,
where c r corresponds to the term multiplying the past velocity v k r .
Unlike standard PSO ( α = 1 ) which only considers the immediate velocity v k , FOPSO with α ( 0 , 1 ) incorporates a weighted sum of historical velocities { v k , v k 1 , , v k M } . This “long-term memory” effectively dampens oscillation and allows the particles to traverse local minima, ensuring robust convergence in the complex landscape of the PMSM drive system.

4.4. Offline Tuning Procedure and Implementation

Unlike real-time adaptive control where algorithm parameters might change continuously, the optimization in this study is conducted as an offline tuning process. The objective is to determine the optimal set of controller parameters g b e s t = [ K p 0 * , K i 0 * , λ * , α p * , α i * ] prior to real-time deployment. The procedure is detailed as follows:
  • Initialization: The optimization hyperparameters, including the swarm size N = 30 , maximum iterations k m a x = 100 , 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 ( 0.1 λ 2.0 ), 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 α [ 0.3 , 0.9 ] 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, α = 0.9 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 x i are sent to the Simulink/CarSim environment. A full driving cycle simulation is executed to calculate the cost function J o p t ( x i ) .
  • 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 g b e s t is extracted. These optimized values are then fixed and embedded into the controller memory for online operation.
The complete execution flow is visually summarized in Figure 5.

4.5. Convergence Analysis and Parameter Selection

The optimization was conducted with a population size of N = 30 over 100 iterations. The fractional order was set to α = 0.9 and memory length M = 4, determined empirically to provide the best balance between computational cost and search diversity.
The optimized parameters listed in Table 4 are adopted for the final experimental validation presented in Section 5. FOPSO demonstrates superior convergence, achieving a lower final cost function value ( J m i n = 0.0020 ) compared to standard PSO ( J m i n = 0.0024 ).

5. Simulation and Co-Simulation Results

To validate the effectiveness and robustness of the proposed PI-FOPSOFWC strategy, comprehensive co-simulations were conducted using the integrated MATLAB/Simulink (R2023b) and CarSim 2023 environment established in Section 2. To provide a rigorous and comprehensive comparative analysis, the proposed controller is benchmarked against four distinct control techniques: (1) a Standard PI controller tuned via the Ziegler-Nichols method (serving as the industrial baseline); (2) a PSO-PI controller (representing a highly tuned fixed-gain method); (3) a Fuzzy-PI controller (representing conventional adaptive gain methods without fractional calculus); and (4) a Sliding Mode Control (SMC) (representing a classic nonlinear robust control strategy).

5.1. Performance Indices and System Parameters

Quantitative assessment is performed using three integral error indices: Integral of Absolute Error (IAE), Integral of Squared Error (ISE), and Integral of Time-weighted Absolute Error (ITAE). Additionally, the root mean square error (RMSE) is calculated for driving cycle analysis. The key parameters of the PMSM drive and the target vehicle modeled in CarSim are listed in Table 5.

5.2. Scenario 1: Step Response and Load Disturbance Rejection

The system is subjected to a step speed command from 0 to 1000 rpm at t = 0.1 s. To evaluate disturbance rejection capability, a step load torque ( T L = 50 Nm) is applied at t = 2.0 s.
Figure 6 illustrates the speed response comparison. The zoom-in view highlights the transient performance during startup. It is observed that the standard PI controller (red dashed line) exhibits a significant overshoot of approximately 8.5% and a sluggish settling time. The Fuzzy-PI (green dashed line) improves the response but still shows noticeable overshoot. In contrast, the proposed PI-FOPSOFWC (blue solid line) achieves a rapid rise time with virtually zero overshoot, demonstrating the superior damping characteristic provided by the fractional-order operator. When the load disturbance is applied at t = 2.0 s, the proposed method recovers to the reference speed significantly faster than the benchmarks, validating the effectiveness of the fuzzy gain scheduling mechanism. The detailed quantitative performance metrics for both the nominal step response (Scenario 1) and the robustness test (Scenario 2) are summarized in Table 6. The proposed method consistently achieves the lowest IAE and settling time across all test conditions.
Figure 7 presents the corresponding control effort (torque current command u c ). This analysis is critical for evaluating hardware suitability. As observed, while the Sliding Mode Control (SMC) provides robust speed tracking, it suffers from severe high-frequency oscillation (chattering) in the control command (purple line). In practical EV traction drives, such continuous high-frequency switching would induce massive current ripples, increase acoustic noise, and accelerate the thermal degradation of the inverter’s power switches. Conversely, the proposed PI-FOPSOFWC (blue line) not only achieves the robust disturbance rejection comparable to SMC but completely eliminates the chattering effect. It maintains a smooth and feasible control action, ensuring superior hardware protection and energy efficiency compared to both the oscillating Standard PI and the chattering SMC.

5.3. Scenario 2: Robustness Against Parameter Variations

To test the robustness against parameter uncertainties (e.g., due to payload changes or thermal drift), the simulation was repeated with the motor inertia J m increased by 100% ( 2.0 × J n o m ) and stator resistance R s increased by 50%.
The results in Figure 8 clearly demonstrate the advantage of the fractional-order design. Under these mismatched conditions, the Standard PI controller deteriorates significantly, showing large oscillations and instability. The Fuzzy-PI also exhibits degraded performance. However, the proposed PI-FOPSOFWC maintains a stable and well-damped response, confirming its “iso-damping” property—the ability to maintain a constant phase margin despite gain variations. Robust control strategies are essential in electric drive systems, particularly under sensor imperfections and parameter uncertainties, as widely discussed in the electric drives literature [37]. Disturbance observer-based control techniques have been extensively studied to mitigate the influence of load torque disturbances in motor drive systems [38].

Frequency Domain Analysis and Iso-Damping Property

To further elucidate the stability mechanism, the open-loop frequency response is analyzed in Figure 9. The Standard PI controller (red dashed line) exhibits a rapid phase drop characteristic of integer-order integrators. Consequently, any variation in the system gain (caused by inertia J m or torque constant changes) would significantly shift the gain crossover frequency ω g c , leading to a drastic reduction in the Phase Margin (PM) and inducing oscillatory behavior.
In contrast, the proposed fractional-order controller (blue solid line) is designed to achieve a “flat phase” characteristic around the crossover frequency range ( 10 2 10 3 rad/s). As observed in Figure 9, the phase curve remains relatively constant at approximately 65 , providing a consistent Phase Margin of 65 . This confirms the iso-damping property: even if the operating point shifts or parameters drift, the system’s damping ratio remains constant, ensuring that the transient response (overshoot) remains invariant. This theoretical insight explains the superior robustness observed in the time-domain results of Figure 8.
This theoretical property is further validated by the frequency response analysis shown in Figure 9. The proposed fractional-order controller exhibits a flat phase characteristic around the gain crossover frequency, providing a wider stability margin compared to the rapid phase drop of the integer-order PI.

5.4. Scenario 3: CarSim Co-Simulation (EPA Urban Cycle)

In the final scenario, the system is tested under realistic driving conditions using the EPA Urban Cycle generated by CarSim. This introduces highly nonlinear and time-varying load torques that challenge the controller’s tracking capability.
Figure 10 compares the speed tracking performance. While all controllers follow the reference profile (Figure 10a), the tracking error plot (Figure 10b) reveals substantial differences. The Standard PI and Fuzzy-PI controllers show large tracking errors (up to ± 20 rpm) during acceleration and deceleration phases. The proposed PI-FOPSOFWC keeps the error within a very narrow band ( ± 5 rpm), reducing the tracking error by 75.0% compared to the standard PI benchmark.

5.5. Discussion on Computational Complexity and Real-Time Feasibility

A common concern with advanced control strategies is the computational burden imposed on the embedded microprocessor. To assess the real-time feasibility of the proposed PI-FOPSOFWC, we analyzed the computational complexity in terms of floating-point operations (FLOPs) required per control cycle.
  • 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 O ( N · k m a x · M ) , where N is the swarm size, k m a x 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 ( O ( 1 ) complexity).
  • Online Execution (Fractional-Order PI): The fractional-order integral ( D λ ) in the online control loop is realized using the Grünwald–Letnikov (GL) approximation (Equation (13)) with a finite memory length L = 10 . 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.
Table 7 compares the estimated computational operations. Although the proposed method requires slightly more operations than the Standard PI, the total execution time on a standard automotive DSP (e.g., TI C2000 series running at 200 MHz) is estimated to be less than 5 μs, which is well within the sampling period of T s = 50   μs. This confirms that the proposed strategy is suitable for real-time implementation in commercial EV traction drives.
The statistical distribution of the tracking error is analyzed in Figure 11. The proposed method (blue) presents a sharp, narrow Gaussian distribution centered at zero, whereas the baselines show a much wider spread. This statistical evidence confirms the high precision and reliability of the proposed control strategy in real-world driving scenarios.
The quantitative performance metrics for the CarSim cycle are summarized in Table 8. The proposed controller achieves the lowest RMSE and maximum error, outperforming the Standard PI and Fuzzy-PI methods by a significant margin.

5.6. Sensitivity Analysis of Sensor Non-Idealities

To align with the scope of sensor signal processing and evaluate the robustness of the control strategy against realistic hardware limitations, the sensitivity of the control performance to sensor measurement noise is analyzed. Figure 12 illustrates the degradation of tracking accuracy, quantified by the Root Mean Square Error (RMSE), as the standard deviation ( σ ) of the additive Gaussian noise increases from 0 to 20 rpm.
The Standard PI controller (red line) exhibits a rapid increase in error due to its sensitivity to high-frequency noise components, which are typically amplified by the proportional gain. In contrast, the proposed PI-FOPSOFWC (blue line) demonstrates superior noise tolerance, maintaining a low RMSE even under high-noise conditions ( σ = 20 rpm). This robustness is attributed to the inherent low-pass filtering characteristic of the fractional-order integral operator ( D λ ), making the proposed strategy highly suitable for commercial EV applications utilizing low-cost or noisy speed sensors.

6. Conclusions

This paper proposed a robust speed control strategy for PMSM-driven electric vehicles by integrating a fractional-order PI (FOPI) controller with a fuzzy logic inference mechanism and a hybrid FOPSO optimization algorithm. To overcome the limitations of conventional simplified simulations, the system was validated within a high-fidelity co-simulation framework coupling MATLAB/Simulink with CarSim 2023 dynamics.
The major contributions and findings of this study are summarized as follows:
  • Advanced Control Architecture: By introducing the fractional-order calculus operator ( D λ ), the proposed PI-FOPSOFWC achieves greater flexibility in loop shaping compared to integer-order controllers. The “iso-damping” property ( λ 1.02 ) ensures consistent stability margins (Phase Margin 65 ) even under significant parameter variations ( 2.0 × J m ), 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 ( T s = 50   μs) of commercial EV inverters.
Future work will focus on two directions: (1) implementing the proposed strategy on a Hardware-in-the-Loop (HIL) testbench (e.g., dSPACE or RT-Box) to further validate real-time performance with physical signal latencies; and (2) extending the fuzzy-fractional framework to the current loop ( d q axes) to further suppress torque ripples at low speeds.

Author Contributions

Conceptualization, C.-C.C. and W.-L.M.; methodology, C.-C.C.; software, C.-C.C.; validation, C.-C.C., W.-L.M. and F.-C.T.; formal analysis, C.-C.C.; investigation, C.-C.C.; resources, W.-L.M.; data curation, C.-C.C.; writing—original draft preparation, C.-C.C.; writing—review and editing, F.-C.T.; visualization, C.-C.C.; supervision, W.-L.M.; project administration, W.-L.M.; funding acquisition, W.-L.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. Krishnan, R. Permanent Magnet Synchronous and Brushless DC Motor Drives; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  7. 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]
  8. Li, H.; Guo, Y.; Xu, Q. PMSM Torque Ripple Suppression Method Based on SMA-Optimized ILC. Sensors 2023, 23, 9317. [Google Scholar] [CrossRef]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. Podlubny, I. Fractional-Order Systems and PIλDμ Controllers. IEEE Trans. Autom. Control 1999, 44, 208–214. [Google Scholar] [CrossRef]
  19. 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]
  20. 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]
  21. 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]
  22. Gad, A.G. Particle Swarm Optimization Algorithm and Its Applications: A Systematic Review. Arch. Comput. Methods Eng. 2022, 29, 2531–2561. [Google Scholar] [CrossRef]
  23. 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]
  24. Mechanical Simulation Corporation. CarSim User Manual, Version 2023; Mechanical Simulation Corporation: Ann Arbor, MI, USA, 2023. [Google Scholar]
  25. Holtz, J. Pulsewidth Modulation—A Survey. IEEE Trans. Ind. Electron. 1992, 39, 410–420. [Google Scholar] [CrossRef]
  26. 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]
  27. 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]
  28. Jahns, T.M. Flux-Weakening Regimes of Interior Permanent-Magnet Synchronous Machines. IEEE Trans. Ind. Appl. 2014, 50, 92–102. [Google Scholar]
  29. 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]
  30. 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]
  31. 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]
  32. 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]
  33. 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]
  34. 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]
  35. 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]
  36. 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]
  37. Holtz, J. Sensorless Control of Induction Motor Drives. Proc. IEEE 2002, 90, 1359–1394. [Google Scholar] [CrossRef]
  38. Chen, W.H.; Yang, J. Disturbance Observer-Based Control: Methods and Applications. Control Eng. Pract. 2016, 55, 9–18. [Google Scholar]
Figure 1. Co-simulation environment setup. (a) CarSim 2023 GUI configuration selecting the ‘B-Class Electric RWD’ model and ‘EPA Urban Cycle’. (b) Simulink S-Function interface block (vs_sf) used for real-time data exchange between the control algorithms and the vehicle dynamics model.
Figure 1. Co-simulation environment setup. (a) CarSim 2023 GUI configuration selecting the ‘B-Class Electric RWD’ model and ‘EPA Urban Cycle’. (b) Simulink S-Function interface block (vs_sf) used for real-time data exchange between the control algorithms and the vehicle dynamics model.
Sensors 26 01461 g001
Figure 2. Detailed system control architecture. The Speed Controller generates the torque command T e * , which is converted into current references i d q * by the Reference Generation block (handling MTPA and Field-Weakening). The Current Control block then regulates the motor currents.
Figure 2. Detailed system control architecture. The Speed Controller generates the torque command T e * , which is converted into current references i d q * by the Reference Generation block (handling MTPA and Field-Weakening). The Current Control block then regulates the motor currents.
Sensors 26 01461 g002
Figure 3. Block diagram of the proposed adaptive PI-FOPSOFWC control structure, highlighting the interaction between the fuzzy inference mechanism and the fractional-order PI core.
Figure 3. Block diagram of the proposed adaptive PI-FOPSOFWC control structure, highlighting the interaction between the fuzzy inference mechanism and the fractional-order PI core.
Sensors 26 01461 g003
Figure 4. Definition of symmetrical triangular membership functions for input variables ( e , e ˙ ) and output scaling factors ( Δ K p , Δ K i ). The range is normalized to [ 1 , 1 ] .
Figure 4. Definition of symmetrical triangular membership functions for input variables ( e , e ˙ ) and output scaling factors ( Δ K p , Δ K i ). The range is normalized to [ 1 , 1 ] .
Sensors 26 01461 g004
Figure 5. Flowchart of the multi-objective fractional-order PSO (MO-FOPSO) algorithm. The fractional velocity update enhances global search capability.
Figure 5. Flowchart of the multi-objective fractional-order PSO (MO-FOPSO) algorithm. The fractional velocity update enhances global search capability.
Sensors 26 01461 g005
Figure 6. Co-simulation results for Scenario 1. (a) Speed response comparison under step command and load disturbance. (b) The applied step load torque profile ( T L = 50 Nm at t = 2.0 s). The proposed controller (blue) eliminates overshoot and provides superior disturbance rejection.
Figure 6. Co-simulation results for Scenario 1. (a) Speed response comparison under step command and load disturbance. (b) The applied step load torque profile ( T L = 50 Nm at t = 2.0 s). The proposed controller (blue) eliminates overshoot and provides superior disturbance rejection.
Sensors 26 01461 g006
Figure 7. Control effort comparison. The proposed method achieves high performance with a smoother control signal, reducing mechanical stress and energy loss.
Figure 7. Control effort comparison. The proposed method achieves high performance with a smoother control signal, reducing mechanical stress and energy loss.
Sensors 26 01461 g007
Figure 8. Robustness test under parameter mismatch ( 2.0 × J m ). The proposed controller maintains stability and performance, whereas the baseline controllers exhibit significant oscillations.
Figure 8. Robustness test under parameter mismatch ( 2.0 × J m ). The proposed controller maintains stability and performance, whereas the baseline controllers exhibit significant oscillations.
Sensors 26 01461 g008
Figure 9. Bode phase plot demonstrating the iso-damping property. The flat phase curve of the proposed FOPI ensures robustness against gain variations.
Figure 9. Bode phase plot demonstrating the iso-damping property. The flat phase curve of the proposed FOPI ensures robustness against gain variations.
Sensors 26 01461 g009
Figure 10. Co-simulation results using EPA Urban Cycle. (a) Speed tracking profile showing that all controllers follow the reference, but with varying precision. (b) Instantaneous tracking error comparison, demonstrating that the proposed method significantly reduces peak error compared to Standard PI and Fuzzy PI.
Figure 10. Co-simulation results using EPA Urban Cycle. (a) Speed tracking profile showing that all controllers follow the reference, but with varying precision. (b) Instantaneous tracking error comparison, demonstrating that the proposed method significantly reduces peak error compared to Standard PI and Fuzzy PI.
Sensors 26 01461 g010
Figure 11. Statistical histogram of speed tracking error under EPA cycle (Total data points N = 6000 ). The narrow distribution of the proposed method indicates superior precision compared to the baselines.
Figure 11. Statistical histogram of speed tracking error under EPA cycle (Total data points N = 6000 ). The narrow distribution of the proposed method indicates superior precision compared to the baselines.
Sensors 26 01461 g011
Figure 12. Control performance sensitivity to sensor noise. The plot shows the tracking RMSE trends as the sensor noise standard deviation ( σ ) increases. The proposed PI-FOPSOFWC maintains low tracking error significantly better than the Standard PI, confirming its robustness against measurement noise.
Figure 12. Control performance sensitivity to sensor noise. The plot shows the tracking RMSE trends as the sensor noise standard deviation ( σ ) increases. The proposed PI-FOPSOFWC maintains low tracking error significantly better than the Standard PI, confirming its robustness against measurement noise.
Sensors 26 01461 g012
Table 1. Specifications of the Fuzzy Inference System (FIS).
Table 1. Specifications of the Fuzzy Inference System (FIS).
ItemSpecification
Fuzzy Logic TypeMamdani
InputsError (e), Change of Error ( e ˙ )
OutputScaling Factors ( Δ K p , Δ K i )
Normalization Range [ 1 , 1 ]
Membership FunctionsSymmetrical Triangles
Total Rules7 × 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
Table 2. Fuzzy rule bases for parameter adaptation.
Table 2. Fuzzy rule bases for parameter adaptation.
(a) Rule Base for Δ K p (b) Rule Base for Δ K i
e / e ˙ NBNMNSZOPSPMPB e / e ˙ NBNMNSZOPSPMPB
NBPBPBPMPMPSZOZONBNBNBNMNMNSZOZO
NMPBPBPMPSPSZONSNMNBNBNMNSNSZOZO
NSPMPMPMPSZONSNSNSNBNMNSNSZOPSPS
ZOPMPMPSZONSNMNMZONMNMNSZOPSPMPM
PSPSPSZONSNSNMNMPSNMNSZOPSPSPMPB
PMPSZONSNMNMNMNBPMZOZOPSPSPMPBPB
PBZOZONMNMNMNBNBPBZOZOPSPMPMPBPB
Table 3. Controller parameters and their defined search space boundaries for optimization.
Table 3. Controller parameters and their defined search space boundaries for optimization.
Parameter DescriptionSymbolLower BoundUpper Bound
Proportional Gain (Nominal) K p 0 0100
Integral Gain (Nominal) K i 0 0100
Fractional Order λ 0.12.0
Fuzzy Scaling Factor (P) α p 05.0
Fuzzy Scaling Factor (I) α i 05.0
Table 4. Comparison of optimized parameters and performance metrics between PSO and FOPSO.
Table 4. Comparison of optimized parameters and performance metrics between PSO and FOPSO.
ParameterSymbolStandard PSOFOPSO (Proposed)
Proportional Gain K p 0 2.122.15
Integral Gain K i 0 44.845.2
Fractional Order λ 1.00 (fixed)1.02
Fuzzy Scale (P) α p 0.820.85
Fuzzy Scale (I) α i 0.880.90
Minimum Cost J min 0.00240.0020
Table 5. Detailed specifications and parameters of the PMSM drive system and vehicle model.
Table 5. Detailed specifications and parameters of the PMSM drive system and vehicle model.
ParameterSymbolValue
System Ratings (Specs)
Rated Power P r a t e d 60 kW
Rated Speed n r a t e d 3000 rpm
Max. Torque T m a x 210 Nm
DC Link Voltage V d c 360 V
PWM Frequency f s w 10 kHz
PMSM Model Parameters
Stator Resistance R s 0.2 Ω
d-axis Inductance L d 1.5 mH
q-axis Inductance L q 1.5 mH
Flux Linkage ψ f 0.175 Wb
Rotor Inertia J m 0.008 kg · m 2
Viscous FrictionB 0.001 N · m · s / rad
Pole Pairsp4
Vehicle Parameters (CarSim B-Class)
Total Mass M v 1480 kg
Effective Tire Radius R e f f 0.32 m
Transmission RatioG 8.5
Table 6. Quantitative performance comparison under Step Response (Scenario 1) and Parameter Mismatch (Scenario 2).
Table 6. Quantitative performance comparison under Step Response (Scenario 1) and Parameter Mismatch (Scenario 2).
MetricScenario 1: Nominal ( 1.0 × J m )Scenario 2: Robustness ( 2.0 × J m )
Std. PI PSO-PI Fuzzy PI SMC Proposed Std. PI PSO-PI Fuzzy PI SMC Proposed
Rise Time (ms)152145130105110210195185110115
Overshoot (%)8.5%6.5%4.2%0.5%0%15.4%12.0%8.9%1.0%0.5%
Settling Time (s)0.420.380.310.200.180.850.700.550.250.22
IAE ( 10 3 )22.118.515.43.02.145.238.028.34.03.5
Table 7. Computational complexity comparison per control cycle.
Table 7. Computational complexity comparison per control cycle.
ControllerMultiplicationsAdditionsEst. Execution Time
Standard PI22<0.5 μs
PSO-PI22<0.5 μs
SMC43≈0.8 μs
Fuzzy PI64≈1.5 μs
Proposed PI-FOPSOFWC1614≈3.2 μs
Table 8. Performance comparison under CarSim EPA Urban Cycle.
Table 8. Performance comparison under CarSim EPA Urban Cycle.
MetricStandard PIPSO-PIFuzzy PISMCProposed
RMSE (rpm)14.1411.209.506.803.53
Max Error (rpm)20.0016.5014.2012.005.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.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Chiu, 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 Style

Chiu, 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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop