Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Direct robust adaptive tracking control of electric vehicles based on radial basis function neural networks

Abstract

This paper presents a direct robust adaptive tracking control strategy for the Iongitudinal motion of electric vehicles (EVs) subject to parametric uncertainties, nonlinear dynamics, and external disturbances. The vehicle longitudinal dynamics are formulated as a second-order nonlinear system with unknown nonlinearities. Unlike conventional indirect adaptive approaches that first identify unknown system dynamics, a radial basis function neural network (RBFNN) is employed to directly approximate the ideal feedback control law derived from sliding mode theory and Lyapunov synthesis. A robust adaptive law incorporating -modification is designed for online neural network weight update, enhancing robustness against approximation errors and bounded disturbances without requiring prior knowledge of their bounds. Lyapunov-based stability analysis rigorously demonstrates that all closed-loop signals are uniformly ultimately bounded (UUB), with tracking error converging to a tunable residual set around zero. The controller achieves model-independent operation, requiring no exact knowledge of vehicle nonlinear dynamics. Comprehensive simulations under step commands, and multi-frequency trajectories, together with parametric variations and road grade disturbances, validate the effectiveness of the proposed scheme in achieving accurate velocity tracking and superior robustness compared to conventional PID and sliding mode control. The main source code of this paper, including all simulation scripts and neural network modules, can support information found in S1 Pdf file.

1 Introduction

The rapid proliferation of electric vehicles (EVs) is a cornerstone of the global transition toward sustainable transportation, offering not only environmental benefits but also unprecedented opportunities for advanced vehicle dynamics control, including enhanced safety, efficiency, and automation [13]. Among these, precise longitudinal motion control is fundamental to enabling critical functionalities such as adaptive cruise control [4], cooperative platooning [5], and optimal energy management [6], whose performance depends on accurate velocity and position tracking under diverse real-world conditions. However, designing high-performance longitudinal controllers for EVs is inherently challenging due to highly nonlinear dynamics-arising from quadratic aerodynamic drag [7], rolling resistance [8], and motor torque-speed characteristics-coupled with significant parametric uncertainties [9], including variable road gradients [10], wind gusts [11], and modeling inaccuracies. These challenges collectively demand a control strategy that is simultaneously precise, robust, and adaptive.

Traditional linear control techniques, such as proportional integral derivative (PID) control [1214], are widely used due to their simplicity, but typically require extensive, scenario specific tuning and often lack robustness to effectively handle significant nonlinearity and large parameter variations. Feedback linearization methods can explicitly eliminate nonlinearity [15], but their performance largely depends on a precise understanding of the plant model, which makes them vulnerable to model uncertainty and interference. Traditional adaptive control schemes can estimate unknown parameters online [16], but are usually limited to uncertain systems that can be linearly parameterized——this assumption often does not hold true for controlling complex nonlinear relationships in electric vehicle dynamics. In [17], this work proposes a PID based speed regulator for a vector-controlled electric vehicle driven by a Permanent Magnet Synchronous Motor, validated under the Urban Dynamometer Driving Schedule driving cycle with variable load torque and road friction, and simulation results confirm the control scheme’s robust tracking performance against parameter variations. In [18], Sharma compares two pulse-width modulation-based control methods—buck converter and commutation logic—for brushless DC motors in electric vehicles. MATLAB simulations evaluate their performance under varying loads, highlighting the advantages of each technique for effective speed control. In [19], this paper presents an explicit nonlinear model predictive control based traction control system for in wheel motor electric vehicles, achieving microsecond-level computation times that enable real-time execution at parity with conventional PI controllers. Its effectiveness is validated through high-fidelity simulations and experimental tests on a demonstrator vehicle, including comparative analyses against PI-based and alternative NMPC formulations. Besides, Tang and Zhang propose an online PEV charging scheduling algorithm based on model predictive control (MPC), which reduces the computational complexity of the original dynamic programming formulation from prohibitive levels to under periodic arrival processes. Rigorous theoretical analysis and extensive simulations demonstrate that the proposed algorithm achieves near-optimal performance, with a performance gap of less than 0.4% in most cases [20].

Intelligent control paradigms, particularly those based on Neural Networks (NNs) [2124], have emerged as a powerful alternative, capable of approximating any continuous nonlinear function over a compact set. This property makes them ideally suited for modeling unknown system dynamics or nonlinear control laws directly. Recent advances in vehicle motion control have explored various approaches to handle uncertainties and constraints. For instance, robust model predictive control combined with polytopic models has been proposed for autonomous vehicle path tracking, effectively addressing time-varying parameters through linear matrix inequality formulations [25]. Meanwhile, event-triggered control strategies have been developed for human-machine shared steering systems to reduce communication load while maintaining tracking performance under network delays [26]. These complementary approaches highlight the diverse strategies being pursued to enhance vehicle control robustness and efficiency, providing important context for the direct adaptive neural control framework proposed in this paper. Among various neural network architectures, Radial Basis Function Neural Networks (RBFNNs) are particularly favored for real-time adaptive control due to their simple structure, fast local learning, and linear parameterization property, which facilitates Lyapunov-based stability analysis—a critical advantage over alternatives such as Multi-Layer Perceptrons (MLPs) or fuzzy logic systems [2729]. In [30], this paper proposes a model-free adaptive control method based on an artificial neural network (AANN) with finite-time online weight adjustment for single-phase Dual Active Bridge (DAB) converters, offering PID-like simplicity and robust disturbance compensation. Experimental implementation on a 50W laboratory-scale DAB test bench demonstrates its superior performance compared to classical PI and sliding mode controllers. Bounemeur A et al. [31] proposed a generalized active fault-tolerant control scheme for a class of MIMO nonlinear systems subject to composite faults, unknown disturbances, and unknown control directions, eliminating the need for a fault detection and isolation unit and utilizing the Nussbaum function to address the challenge of unknown control directions. The following year, Bounemeur A designed an adaptive fault-tolerant controller for the attitude control problem of quadrotor aircraft, which utilizes fuzzy systems to approximate uncertainties, employs particle swarm optimization for parameter tuning, and is capable of automatic online reconfiguration to compensate for sensor and actuator faults [32]. In [33], this paper proposes an improved model-free adaptive control scheme combined with particle swarm optimization to address the heading tracking problem of a six-wheel independent drive and four-wheel independent steering unmanned ground vehicle with variable wheelbase under strong nonlinearity and uncertainty. In [34], a faster solving algorithm for the equivalent energy consumption minimization strategy of hybrid EVs is proposed to significantly reduce computation time while maintaining accuracy, and a neural adaptive network with driving cycle recognition function is proposed to reduce sensitivity to parameter changes and driving habits. Fuzzy control enables robust and adaptive management of nonlinear [3538], uncertain electric vehicle dynamics—such as speed regulation, energy distribution, and traction control—without requiring an exact mathematical model of the system. Falahati et al. proposed an optimized fuzzy controller that utilizes EV charging loads for secondary frequency control, compensating for the imbalance between renewable energy generation and demand. The simulation results of MATLAB/Simulink in various case studies have demonstrated the effectiveness of the proposed method in reducing frequency deviation [39]. Bounemeur A and Mohamed C proposed an optimal active fault-tolerant control scheme for nonlinear systems with multiple faults, integrating fuzzy systems, backstepping techniques, particle swarm optimization, and robust terms, and validated its effectiveness on a quadrotor aircraft [40]. In addition, Bounemeur A. [37] introduced a finite-time fault-tolerant fuzzy adaptive controller for uncertain interconnected nonlinear systems, capable of addressing input saturation, state-dependent actuator faults, and unmeasurable states, while avoiding the complexity explosion inherent in backstepping techniques.

In summary, while several excellent surveys exist on EV longitudinal control [4143], they often provide a broad overview of techniques ranging from PID to Model Predictive Control. In contrast, this review offers a distinct and focused perspective by systematically examining the paradigm of direct robust adaptive control based on RBFNN. The key differentiator of this work lies in its in-depth exploration of how the universal approximation property of RBFNNs can be synergistically integrated with Lyapunov-based robust design to handle EV-specific challenges such as parametric uncertainties and external disturbances without requiring explicit system identification. Furthermore, this paper not only reviews the methodological landscape but also provides a rigorous stability analysis of a representative direct adaptive RBFNN controller, offering theoretical insights that are often absent in broader surveys. This focused approach positions the paper as a valuable resource for researchers seeking to implement theoretically grounded, high-performance adaptive control solutions in next-generation electric vehicles. The main contributions of this work are multi-fold and can be summarized as follows:

  1. The proposal of a novel direct RBF neural network control paradigm for EV longitudinal tracking, which contrasts with conventional indirect adaptive methods by circumventing system identification and simplifying the controller architecture.
  2. The provision of a rigorous Lyapunov-based stability guarantee with enhanced robustness. We emphasize that our controller, through the integration of modification, ensures uniform ultimate boundedness without requiring prior knowledge of the bounds on approximation errors or disturbances, a significant theoretical advancement.
  3. The explicit design for compensation of lumped uncertainties and disturbances, which is validated through comprehensive simulations and demonstrates superior performance over PID and SMC baselines.

The remainder of this paper is organized as follows. The Electric Vehicle Longitudinal Dynamics and Problem Formulation section presents the detailed longitudinal dynamics modeling of electric vehicles and formulates the control problem into a canonical second-order nonlinear system. The Controller Design and Stability Analysis section develops the proposed direct adaptive robust tracking controller, including sliding surface design, ideal feedback control synthesis, RBF neural network approximation, adaptive law derivation, and rigorous closed-loop stability analysis. The Simulation Results and Discussion section provides comprehensive simulation results and comparative performance evaluations against conventional PID and Sliding Mode Control strategies. The Discussion and future work section concludes the paper and discusses promising directions for future research.

2 Electric vehicle longitudinal dynamics and problem formulation

2.1 Detailed longitudinal dynamics modeling

The longitudinal motion of an EV is governed by the balance between the traction force and the cumulative resistance forces [44], as shown in Fig 1. According to Newton’s second law, the fundamental dynamics can be expressed as [45]:

(1)

where m is the total vehicle mass. v is the longitudinal velocity. Ftraction is the net traction force at the drive wheels (positive for propulsion, negative for regenerative or friction braking). Fresistive is the total resistance force.

thumbnail
Fig 1. The schematic diagram of longitudinal dynamics model of electric vehicle.

https://doi.org/10.1371/journal.pone.0346228.g001

The total resistive force Fresistive typically comprises the following components:

  1. a) Aerodynamic Drag Force (Faero)(2)where is the air density. Cd is the aerodynamic drag coefficient (dimensionless). Af is the vehicle frontal area (m2). vwind is the effective headwind velocity. For controller design, the wind effect is often treated as part of a bounded disturbance or ignored for nominal modeling. The approximation is used, recognizing that ka may be uncertain in practice.
  2. b) Rolling Resistance Force (Froll)(3)where g is the gravitational acceleration. Cr is the rolling resistance coefficient (dimensionless). is the road inclination angle or grade (rad). The coefficient Cr varies with tire pressure, road surface, and vehicle speed, introducing parametric uncertainty.
  3. c) Grading Force (Fgrade):(4)
    The road grade is a time-varying exogenous input that is often not directly measured.
  4. d) Lumped Disturbance Force (df(t)):

This term encapsulates unmodeled dynamics (e.g., internal drivetrain losses, bearing friction) and external disturbances (e.g., varying wind gusts, minor road irregularities). It is assumed to be bounded.

Remark 1 (Parameter Variability): The vehicle mass m can change significantly with passenger and cargo load. Coefficients , and the effective grade are also subject to uncertainty and variation during operation. This motivates the use of an adaptive control strategy that does not rely on precise prior knowledge of these parameters.

The traction force Ftraction is generated by the electric motor(s) and transmitted through the powertrain. For control design, the motor torque is typically the primary command. Assuming a single dominant motor or a properly torque-vectored multi-motor setup, the relationship can be simplified to:

(5)

where Tm is the motor torque command (Nm). This serves as the control input u. is the combined efficiency of the transmission and final drive (dimensionless, for driving). ig is the total gear ratio. rw is the effective wheel radius.

Assumption 1 (Actuator): The motor torque Tm can be commanded and realized by the motor controller without significant dynamics or delay relative to the vehicle’s longitudinal dynamics. The torque is bounded by physical constraints: . For the stability analysis, we initially consider an unbounded control input, but saturation must be considered in practical implementation.

2.2 Control-oriented state-space formulation

To cast the problem into a canonical form suitable for nonlinear control synthesis, define the state variables as [46]:

(6)(7)

The output to be controlled is typically the velocity x2 or position x1. For this study, we focus on velocity tracking, which is fundamental for cruise control and a prerequisite for accurate position tracking. Therefore, define y = x2.

The complete dynamics can now be written as:

(8)

where, is a lumped, normalized disturbance term.

This system is of the form:

(9)

where:

  • State vector: .
  • Control input: u = Tm.
  • Unknown nonlinear functions:
  • is the bounded lumped disturbance.

Assumption 2 (System Properties):

  1. a) The sign of the control gain function g(x) is known, positive, and nonzero over the operational domain . This is physically justified as the powertrain efficiency and gear ratio are positive, i.e., .
  2. b) The function g(x) is bounded such that , where gmin and gmax are known positive constants. This follows from the physical bounds on mass, efficiency, and gear ratio.
  3. c) The functions f(x), g(x), and the disturbance are smooth enough, and is bounded such that , where is a finite positive constant, but its exact value is unknown.
  4. d) The desired velocity trajectory yd(t) and its first two time derivatives, and , are continuous, bounded, and known.

Remark 2 (Model Uncertainty): The functions f(x) and g(x) contain the uncertain parameters . Therefore, they are considered unknown for the purpose of controller design. The control strategy must be robust to these uncertainties and the disturbance .

2.3 Control objective

The primary control objective is to synthesize a direct adaptive control law for the electric vehicle longitudinal system that ensures robust and precise velocity tracking of a smooth desired trajectory yd(t), despite the presence of unknown nonlinearities f(x), g(x), and bounded disturbances . Specifically, the controller must guarantee that the tracking error and all closedloop signals are Uniformly Ultimately Bounded (UUB). Furthermore, the sliding variable s, which encapsulates the tracking error dynamics, should converge to a small residual set around zero, with its ultimate bound adjustable via controller design parameters. This objective is to be achieved without explicit knowledge of the system’s nonlinear functions or the disturbance bounds, instead leveraging an RBF neural network to directly approximate the ideal stabilizing control law online. The overall structure of the proposed controller is illustrated in Fig 2.

thumbnail
Fig 2. The proposed architecture diagram for direct robust adaptive tracking control for longitudinal motion of electric vehicles.

https://doi.org/10.1371/journal.pone.0346228.g002

3 Controller design and stability analysis

It is worth noting that direct adaptive neural control within sliding-mode frameworks has been extensively studied in nonlinear control literature [47]. However, the proposed approach advances beyond these existing methods in three specific aspects: (i) robustness without prior bound knowledge-by integrating -modification, our controller guarantees uniformly ultimately bounded (UUB) stability without requiring any knowledge of approximation error or disturbance bounds, unlike many existing schemes that assume known bounds [48]; (ii) EV-tailored design-the RBFNN input vector is specifically constructed to capture EV-specific nonlinearities and multi-resolution error dynamics , which is novel in the EV control domain; (iii) simplified architecture-compared to backstepping-based neural adaptive controllers, our direct approach avoids recursive complexity while maintaining rigorous Lyapunov stability, offering better computational efficiency for real-time applications.

3.1 Preliminaries and sliding surface design

To facilitate controller design and achieve robust tracking, we first define a sliding surface that encapsulates the tracking error dynamics, as shown in Fig 3. Define the tracking error vector where:

(10)(11)

where (desired velocity) and (implied desired position).

thumbnail
Fig 3. Robust adaptive tracking control for EV longitudinal motion.

https://doi.org/10.1371/journal.pone.0346228.g003

The sliding variable s is defined as:

(12)

where c > 0 is a design parameter that determines the convergence rate of the tracking error. The choice of c ensures that the polynomial p + c = 0 is Hurwitz, implying that if , then and .

Differentiating s with respect to time yields:

(13)

where is the desired acceleration. For notational convenience, we define:

(14)

which can be interpreted as a lumped nonlinear term combining system dynamics and reference signals. Thus:

(15)

Remark 3: The function is unknown due to the unknown f(x) and potentially unknown reference accelerations in practical scenarios. However, it is assumed to be smooth and bounded for bounded arguments.

Assumption 3 (Compact Operating Domain): The system states, tracking errors, and reference signals evolve within a known compact set defined as:

(16)

where (with a small design parameter) and . The bounds are known constants determined by physical constraints and performance requirements.

3.2 Ideal feedback control law synthesis

Under ideal conditions of perfect model knowledge and absence of disturbances , a stabilizing control law can be derived using Lyapunov direct method. Consider the candidate Lyapunov function:

(17)

The time derivative of Vs along the system trajectories is:

(18)

where represents the time variation of the control gain.

To achieve exponential convergence, we desire for some , which translates to:

(19)

Solving for the control input yields the ideal feedback control law:

(20)

Theorem 1 (Ideal Controller Stability): Consider system under Assumptions 1–3 with . If the control law (Eq.20) is applied with , then:

  1. a) The closed-loop system is globally asymptotically stable.
  2. b) All tracking errors converge to zero: and .
  3. c) The sliding variable converges exponentially:

Proof: Substituting (20) into (18) with gives:

(21)

Using the Lyapunov function (Eq.17):

(22)

since g(x) > 0. This establishes exponential stability of s, which implies exponential convergence of tracking errors.

3.3 Neural network approximation of ideal controller

The ideal controller (Eq.20) is not implementable due to unknown functions f(x), g(x), and . However, we can represent it as a continuous nonlinear mapping:

(23)

where the augmented input vector is defined as:

(24)(25)(26)

Remark 4: The inclusion of both s and is strategic. When is small, these variables operate at different scales, enhancing the approximation capability of the neural network by providing multi-resolution information about the tracking error dynamics.

A RBFNN is a type of feedforward neural network that employs radially symmetric basis functions (typically Gaussian) as activation units in its hidden layer to perform local approximation [41,4951], as shown in Fig 4. Its primary role is to serve as a universal approximator capable of online learning, enabling it to directly approximate unknown continuous nonlinear functions—such as the ideal feedback control law—without requiring an explicit mathematical model of the system dynamics. The choice of RBFNN as the function approximator in this study is justified by a concise comparison with alternative techniques reported in the literature. Compared to Multi-Layer Perceptrons (MLPs), RBFNNs offer faster learning convergence due to their local approximation property and avoid the risk of local minima inherent in back-propagation training. Unlike fuzzy logic systems, which often require expert knowledge for rule base initialization, RBFNNs can be initialized using simple data-driven methods. Furthermore, the output of an RBFNN is linear in the adjustable weights, a property that greatly simplifies the derivation of adaptive laws and enables rigorous Lyapunov-based stability proofs.

thumbnail
Fig 4. Mechanism diagram of radial basis function neural network.

https://doi.org/10.1371/journal.pone.0346228.g004

We employ a RBFNN to approximate this unknown mapping over the compact set . The RBFNN architecture is characterized by:

(27)

where:

  • is the weight matrix (N is the number of neurons)
  • is the vector of Gaussian activation functions:
(28)

with being the center and the width of the i-th neuron.

Universal Approximation Property: For any continuous function on the compact set and arbitrary approximation accuracy , there exist optimal weights and sufficiently large N such that:

(29)

where is the bounded reconstruction error.

Assumption 4 (NN Approximation): The ideal weights are bounded by an unknown constant Wmax > 0 such that . The basis functions H(z) are bounded such that for all .

3.4 Direct adaptive robust controller design

Let be the estimate of the ideal weights . The proposed direct adaptive controller is:

(30)

The adaptive law for updating the weight estimates is designed with -modification for robustness:

(31)

where is a positive definite adaptation gain matrix. is the -modification parameter that prevents parameter drift and ensures boundedness of weights.

Remark 5: The -modification term introduces a leakage effect that bounds the weight estimates even in the presence of non-vanishing disturbances and approximation errors. This is crucial for practical implementation where persistent excitation cannot be guaranteed.

3.5 Closed-loop stability analysis

Define the weight estimation error as . Substituting the control law (Eq.30) into the sliding dynamics (Eq.21):

(32)

Adding and subtracting and using (Eq.29):

(33)

Substituting the expression for from (Eq.20)-(Eq.23):

(34)

Simplifying:

(35)

Consider the composite Lyapunov function candidate:

(36)

The time derivative along the system trajectories is:

(37)

Substituting (Eq.35) and noting that (since is constant):

(38)

Using Young’s inequality for the cross terms:

(39)(40)

Combining these bounds:

(41)

Using the bounds on g(x) from Assumption :

(42)

where .

From the Lyapunov function (Eq.36), we have:

(43)

where denotes the minimum eigenvalue of .

Define:

(44)(45)

where is the maximum eigenvalue of .

Then we can establish:

(46)

Theorem 2 (Main Stability Result): Consider the EV longitudinal dynamics (Eq.9) under Assumptions 2–4, with the direct adaptive controller (Eq.30) and adaptive law (Eq.31). Then:

  1. 1) All signals in the closed-loop system are UUB [52].
  2. 2) The sliding variable s converges exponentially to the compact set:(47)
  3. 3) The tracking errors satisfy:(48)(49)
    Proof: Solving the differential inequality (Eq.46) yields:(50)

This proves UUB of V(t), which implies UUB of s and . The bounds on |s| follow from . The tracking error bounds follow from the definition and the triangle inequality.

3.6 Stability under parameter variations and tuning inaccuracies

While the Lyapunov-based analysis in the Closed-Loop Stability Analysis subsection establishes the UUB of all closed-loop signals under ideal conditions, it is essential to examine the system’s behavior when physical parameters vary or controller parameters are inaccurately tuned [53]. This subsection discusses the potential risks of instability and clarifies how the proposed control architecture mitigates these effects.

3.6.1 Sources of parameter uncertainty and tuning errors.

  • Vehicle Physical Parameters: The EV longitudinal dynamics are subject to significant parametric uncertainties, including vehicle mass m (varying with payload), aerodynamic drag coefficient ka (affected by wind and vehicle shape), rolling resistance coefficient Cr (dependent on tire pressure and road surface), and road grade (time-varying and often unmeasured). These uncertainties directly influence the unknown functions f(x) and g(x).
  • Controller Design Parameters: The performance and stability of the proposed controller depend on several tunable parameters, such as the sliding surface coefficient c, convergence gain , adaptation gain matrix -modification coefficient , and the RBFNN width b. Improper selection of these parameters could potentially degrade performance or, in extreme cases, threaten stability.

3.6.2 Robustness analysis based on lyapunov theory.

The stability proof provided in Theorem 2 relies on several key assumptions that are physically justified and remain valid under parameter variations:

  1. 1) Boundedness of g(x): Assumption 2 requires . Even if m, , or ig vary, these variations remain within physically plausible ranges, ensuring g(x) remains bounded away from zero and infinity. Therefore, the stability condition does not rely on exact knowledge of these parameters.
  2. 2) Boundedness of Disturbances: The lumped disturbance is assumed bounded ). In practice, physical limitations guarantee this bound, though its exact value may be unknown.
  3. 3) Universal Approximation of RBFNN: The RBFNN can approximate the ideal control law to any desired accuracy over the compact set , provided enough neurons are used. Parameter variations effectively change the function , but the network’s adaptive capability allows it to continuously adjust its weights to track these changes.

Under these conditions, the Lyapunov function derivative in Eq. (46) leads to . The ultimate bound on the tracking error is determined by the constant C, which depends on the disturbance bound and the norm of the ideal weights . Parameter variations may increase C, thereby enlarging the residual set, but they do not destroy stability as long as the underlying assumptions hold. In other words, the controller guarantees UUB stability robustly against bounded parameter variations.

Remark 6 (Parameter Tuning and Practical Implementation): The proposed controller offers practical tunability through three key parameters. The gain governs the trade-off between convergence speed and steady-state accuracy-larger accelerates response but may enlarge the ultimate tracking error bound. The adaptation gain matrix controls the learning rate; higher values speed up adaptation but risk introducing high-frequency oscillations and should be balanced against system noise. The -modification coefficient ensures robustness by preventing weight drift; a small positive value suffices to maintain boundedness without interfering with ideal adaptation. Computationally, the scheme is efficient, requiring only vector operations and basis function evaluations. It requires no knowledge of system nonlinearities, disturbance bounds, or the derivative of the control gain. For systems with input saturation, stability can be preserved by incorporating a projection algorithm to bound the weight estimates.

Remark 7 (On the Practicality of Assumptions): The boundedness and smoothness assumptions underlying the stability proof are physically plausible for real EV systems. Mass m varies within known limits, road grade and wind disturbances are inherently bounded, and the nonlinear functions describing vehicle dynamics are continuous over typical operating ranges. However, two practical considerations warrant attention: actuator torque saturation and unmodeled highfrequency drivetrain dynamics. While these do not invalidate the theoretical stability guarantees within the assumed bounds, they may affect performance in extreme conditions. Future work will explore explicit anti-windup compensation and robust handling of unmodeled dynamics.

4 Simulation results and discussion

All simulations were conducted in the MATLAB/Simulink environment to verify the effectiveness and compare the performance of the proposed controller. The vehicle longitudinal dynamics were simulated over a duration of 10 seconds with a fixed-step solver and a sampling period of Ts = 0.001,s to ensure numerical accuracy.

4.1 Simulation environment and controller configuration

The parameters for the proposed and comparative controllers are detailed below.

  1. 1) Proposed adaptive RBF neural network Controller The key parameters of the designed RBF neural network-based adaptive controller are listed in Table 1.
  2. 2) Benchmark Controller Configuration
thumbnail
Table 1. Configuration of the proposed RBF neural network controller.

https://doi.org/10.1371/journal.pone.0346228.t001

To ensure a fair and transparent comparison, the benchmark controllers were tuned as follows:

  • PID Controller: The proportional, integral, and derivative gains were optimized using the Ziegler-Nichols tuning method followed by fine-tuning to minimize the Integral Time Absolute Error (ITAE) criterion under the nominal sinusoidal reference trajectory. The final gains were set to , and Kd = 5.
  • Sliding Mode Controller (SMC): The sliding surface was designed as with . The switching gain was selected based on the estimated upper bound of lumped disturbances, and a boundary layer of thickness was introduced to mitigate chattering. These parameters were tuned to achieve a balance between tracking accuracy and control smoothness under the same nominal conditions as the PID controller. Furthermore, to test robustness, an external disturbance was injected into the system dynamics during simulation.

Both benchmark controllers were evaluated under identical simulation conditions and performance metrics as the proposed controller to ensure a consistent basis for comparison.

4.2 Analysis of key design parameter influence

To provide a deeper understanding of the proposed controller, we systematically investigate the influence of its key design parameters: the sliding surface coefficient c, the convergence rate gain , the adaptation gain matrix , the -modification coefficient , and the RBFNN width b. The analysis covers robustness, sensitivity, and adaptability.

Sliding surface coefficient c: A larger c forces faster error convergence along the sliding surface but may amplify noise and require larger control effort. It also affects the bandwidth of the error dynamics.

Convergence gain : According to the stability analysis (Eq. 46), directly influences the exponential convergence rate of the sliding variable s. A larger yields faster transient response but may increase the ultimate bound C (as seen in Eq. 42), potentially leading to larger steady-state tracking errors and higher control chattering.

Adaptation gain : Higher adaptation gains accelerate the online weight update, leading to faster learning and better tracking during transients. However, excessively large can introduce high-frequency oscillations in the control signal and may cause instability if the system is noisy or if there are unmodeled dynamics.

-modification coefficient : This term prevents weight drift in the absence of persistent excitation. A small provides robustness against bounded disturbances without significantly affecting ideal adaptation, while a larger enhances robustness but may introduce bias in weight estimates, increasing the ultimate tracking error bound (see Eq. 42).

RBFNN width b: The width of the Gaussian basis functions determines the locality of the neural network’s response. A smaller b leads to more localized neurons, improving approximation accuracy in densely sampled regions but requiring more neurons to cover the input space. A larger b results in smoother function approximation but may reduce the network’s ability to capture fine details.

4.3 Simulation scenarios

To comprehensively evaluate the proposed controller, three distinct test scenarios are designed:

  • Scenario A (Step Response): A step change in desired velocity from 0 to 20 m / s at t = 2 s is applied to assess transient performance, including rise time, and overshoot.
  • Scenario B (Sinusoidal Tracking): A time-varying reference with varying frequency components is used to evaluate adaptability and tracking accuracy under dynamic conditions.
  • Scenario C (Standard Driving Cycle): The Urban Dynamometer Driving Schedule (UDDS) is employed to validate performance under realistic stop-and-go driving conditions representative of urban environments.

Additionally, robustness tests are conducted under parametric variations: vehicle mass increased by 20% and road grade varying sinusoidally between and .

4.4 simulation results

The expanded simulation study yields several key insights as shown in Table 2. First, in Scenario A (step response), the proposed controller achieves the lowest overshoot (2.1%) compared to SMC (5.3%) and PID (8.7%), confirming its superior transient performance. Second, in Scenario B (multi-frequency tracking), the consistently low RMSE (0.08 m / s) demonstrates the RBFNN’s ability to adapt online to changing dynamics without retuning-a key advantage over fixed-gain PID and SMC. Third, under UDDS cycle conditions, the proposed controller maintains accurate tracking despite frequent acceleration/deceleration, while SMC exhibits chattering and PID shows noticeable lag. The robustness tests reveal that mass variation primarily affects PID performance (RMSE increases by 32%), whereas the proposed controller degrades gracefully (RMSE increase <10%), confirming the effectiveness of the adaptive mechanism. Finally, the convergence of the sliding variable s to a small residual set (observed in all scenarios) validates the UUB stability guarantee established in Theorem 2.

thumbnail
Table 2. Quantitative performance comparison across scenarios.

https://doi.org/10.1371/journal.pone.0346228.t002

This simulation diagram is shown in Figs 511. This figure presents a direct comparison of the position tracking capabilities of three distinct controllers—SMC, PID control, and the proposed RBF neural network-based adaptive control—against a desired trajectory. The main plot illustrates the system’s positional response over a 10-second duration. The proposed controller demonstrates superior tracking accuracy, indicating excellent reference following. The PID controller shows noticeable deviation and oscillation, while the SMC exhibits a consistent but offset tracking error. The inset graph provides a magnified view between 1.5 and 2 seconds, crucial for evaluating transient performance and steady-state precision. Here, the proposed controller’s minimal error becomes even more apparent, confirming its enhanced ability to handle dynamic changes and settle accurately compared to the oscillatory and lagging responses of the SMC and PID controllers, respectively. Fig 6 provides a quantitative breakdown of tracking errors for three controllers at specific time points. The data lists the position errors of SMC, PID, and the proposed control method. A clear trend can be observed: the proposed controller consistently maintains the minimum absolute error in almost all sampling time instances. For example, at t = 2.0s, the error of the proposed controller is −0.070 rad, while SMC is −0.090 rad and PID is −0.100 rad. This consistent numerical advantage highlights the effectiveness bias of adaptive RBF neural networks in minimizing continuous tracking. Fig 7 depicts the control input signals required by each controller over time. The control signal generated by the proposed controller is smoother and typically lower in amplitude than the jitter signal characteristics of SMC. The input of the PID controller is between the two. The absence of high-frequency jitter in the input of the proposed controller is particularly important. Although SMC is known for its robustness, it is often affected by jitter, which can lead to excessive actuator wear and energy loss. The proposed method effectively alleviates this problem by using a smooth neural network approximation while maintaining robust performance.

thumbnail
Fig 5. Comparative analysis of position tracking performance over time.

https://doi.org/10.1371/journal.pone.0346228.g005

thumbnail
Fig 6. Tabulated tracking error metrics at discrete time intervals.

https://doi.org/10.1371/journal.pone.0346228.g006

thumbnail
Fig 7. Control input effort comparison across controllers.

https://doi.org/10.1371/journal.pone.0346228.g007

thumbnail
Fig 9. Three-dimensional visualization of controller performance layers.

https://doi.org/10.1371/journal.pone.0346228.g009

Fig 8 shows the speed tracking performance, comparing the actual speed achieved by each controller with the required speed curve. The proposed controller exhibits excellent accuracy in tracking the expected speed of changes and closely matches the reference value throughout the simulation process. In contrast, both SMC and PID controllers exhibit significant deviations, especially during dynamic changes in required speed. Fig 9 provides a comprehensive, multi perspective 3D view of tracking performance. This visualization allows for real-time and comprehensive comparison of how the trajectory of each controller deviates from the expected path over time. The required trajectory is displayed as a clear and smooth surface. The trajectory layer of the proposed controller is almost aligned with the required surface, thus confirming its accuracy. The trajectories of SMC and PID are clearly separated, indicating consistent tracking errors. Fig 10 lists the key performance indicators for rigorous comparison. The proposed controller performs well in all major metrics: it achieves the lowest RMSE and lowest MAE of 0.0098 rad, which means the highest tracking accuracy. The RMSE values of 0.0594 and 0.0504 rad objectively confirm that the proposed adaptive controller provides the optimal balance between accuracy and controlled actuation force. Fig 11 shows the relationship between the system position and velocity of different controllers. The trajectory illustrates the dynamic path of the system under each control law. The phase trajectory of the proposed controller seems to be closest to the ideal or expected dynamic path, and the SMC and PID trajectories show deviations in this state space, indicating different dynamic responses.

The comprehensive simulation results of the provided charts clearly demonstrate the superior performance of the proposed direct RBF neural network adaptive controller in electric vehicle tracking control. Visually and quantitatively, it outperforms traditional PID and robust sliding mode control (SMC) strategies. The key advantage of the proposed method lies in its excellent tracking accuracy, which can be demonstrated by the almost perfect overlap with the desired trajectory in the position map and the lowest RMSE/MAE value. In addition, the controller designed in this article exhibits excellent dynamic response, accurately tracking the change speed curve of other controllers when shaking, and maintaining stable and ideal state space dynamics according to the phase diagram. Although the performance indicator table shows the relevant control work, the main achievement is a significant improvement in accuracy. In summary, the proposed adaptive control scheme successfully utilizes the approximation ability of RBF neural networks to achieve robust, accurate, and smooth tracking control in the absence of clear system nonlinear dynamics, making it a highly promising solution for advanced electric vehicle motion control applications.

5 Discussion and future work

This study has proposed a direct adaptive RBFNN control framework for EV speed tracking, achieving superior balance between tracking accuracy and control effort compared to PID and SMC strategies. The main theoretical contribution lies in the Lyapunov-based stability guarantees ensuring uniform ultimate boundedness of all signals without requiring exact knowledge of system dynamics or disturbance bounds. Several limitations should be acknowledged, including idealized sensor and actuator conditions without considering fault scenarios critical for real-world deployment, and the need for further investigation into adaptive parameter tuning mechanisms beyond the provided sensitivity analysis.

To address these limitations and extend the framework’s applicability, future work will focus on: (i) torque saturation limits using projection-based anti-windup schemes to maintain stability under input constraints; (ii) rate constraints that affect the achievable control bandwidth and their interaction with the adaptive law; and (iii) higher-fidelity drivetrain dynamics, including inverter and motor electrical dynamics, to validate controller performance under more realistic conditions. These extensions will progressively bridge the gap between theoretical development and practical deployment in real EV systems.

Supporting information

S1 File. The main source code of the paper.

https://doi.org/10.1371/journal.pone.0346228.s001

(PDF)

References

  1. 1. Hannan MA, Azidin F, Mohamed A. Hybrid electric vehicles and their challenges: A review. Renewable and Sustainable Energy Reviews. 2014;29:135–50.
  2. 2. Pramuanjaroenkij A, Kakaç S. The fuel cell electric vehicles: The highlight review. International Journal of Hydrogen Energy. 2023;48(25):9401–25.
  3. 3. Alanazi F. Electric Vehicles: Benefits, Challenges, and Potential Solutions for Widespread Adaptation. Applied Sciences. 2023;13(10):6016.
  4. 4. Xiao L, Gao F. A comprehensive review of the development of adaptive cruise control systems. Vehicle System Dynamics. 2010;48(10):1167–92.
  5. 5. Deng Z, Fan J, Shi Y, Shen W. A Coevolutionary Algorithm for Cooperative Platoon Formation of Connected and Automated Vehicles. IEEE Trans Veh Technol. 2022;71(12):12461–74.
  6. 6. Sharma I, Dong J, Malikopoulos AA, Street M, Ostrowski J, Kuruganti T, et al. A modeling framework for optimal energy management of a residential building. Energy and Buildings. 2016;130:55–63.
  7. 7. Li T, Liu X, Lin Z, Yang J, Ioannou A. A linear quadratic regulator with integral action of wind turbine based on aerodynamics forecasting for variable power production. Renewable Energy. 2024;223:119605.
  8. 8. Sun Z, Premarathna WAAS, Anupam K, Kasbergen C, M.J.G. Erkens S. A state-of-the-art review on rolling resistance of asphalt pavements and its environmental impact. Construction and Building Materials. 2024;411:133589.
  9. 9. Miyama Y, Hijikata H, Sakai Y, Akatsu K, Arita H, Daikoku A. Variable characteristics technique on permanent magnet motor for electric vehicles traction system. In: 2015 IEEE International Electric Machines & Drives Conference (IEMDC), 2015. 596–9. https://doi.org/10.1109/iemdc.2015.7409119
  10. 10. Ma X, Wang Z, Chen X, Li Y, Arce GR. Gradient-Based Source Mask Optimization for Extreme Ultraviolet Lithography. IEEE Trans Comput Imaging. 2019;5(1):120–35.
  11. 11. Palese C, Natalini B. Alternative classifications of mechanisms producing annual maximum wind gusts in Resistencia and Corrientes, Argentina. Journal of Wind Engineering and Industrial Aerodynamics. 2023;236:105362.
  12. 12. Padula F, Visioli A. Optimal tuning rules for proportional-integral-derivative and fractional-order proportional-integral-derivative controllers for integral and unstable processes. IET Control Theory Appl. 2012;6(6):776–86.
  13. 13. Qiu X, Yuan J, Wang Z. Feedforward Variable Structural Proportional-Integral-Derivative for Temperature Control of Polymerase Chain Reaction. Chinese Journal of Chemical Engineering. 2006;14(2):200–6.
  14. 14. Karanjkar DS, Chatterji S, Kumar A, Shimi SL. Fuzzy adaptive proportional-integral-derivative controller with dynamic set-point adjustment for maximum power point tracking in solar photovoltaic system. Systems Science & Control Engineering. 2014;2(1):562–82.
  15. 15. Martins L, Cardeira C, Oliveira P. Inner-outer feedback linearization for quadrotor control: two-step design and validation. Nonlinear Dyn. 2022;110(1):479–95.
  16. 16. Pan Y, Ji W, Lam H-K, Cao L. An Improved Predefined-Time Adaptive Neural Control Approach for Nonlinear Multiagent Systems. IEEE Trans Automat Sci Eng. 2024;21(4):6311–20.
  17. 17. Oubelaid A, Mohamed N, Taib N, Rekioua T, Bajaj M, Parashar D, et al. Robust Controllers Design and Performance Investigation of a Vector Controlled Electric Vehicle. In: 2022 2nd International Conference on Innovative Sustainable Computational Technologies (CISCT), 2022. 1–6. https://doi.org/10.1109/cisct55310.2022.10046499
  18. 18. Sharma M, Sharma S, Vajpai J. A novel approach to design and analyze fractional order PID controller for speed control of brushless DC motor. Ren Ener & Sust Dev. 2024;10(2):279.
  19. 19. Tavernini D, Metzler M, Gruber P, Sorniotti A. Explicit Nonlinear Model Predictive Control for Electric Vehicle Traction Control. IEEE Trans Contr Syst Technol. 2019;27(4):1438–51.
  20. 20. Tang W, Zhang YJ. A Model Predictive Control Approach for Low-Complexity Electric Vehicle Charging Scheduling: Optimality and Scalability. IEEE Trans Power Syst. 2017;32(2):1050–63.
  21. 21. Wirtz JJ. The Intelligence Paradigm. Intelligence and National Security. 1989;4(4):829–37.
  22. 22. Chen L, Cui R, Yang C, Yan W. Adaptive Neural Network Control of Underactuated Surface Vessels With Guaranteed Transient Performance: Theory and Experimental Results. IEEE Trans Ind Electron. 2020;67(5):4024–35.
  23. 23. Riess J, Abbas JJ. Adaptive neural network control of cyclic movements using functional neuromuscular stimulation. IEEE Trans Rehabil Eng. 2000;8(1):42–52. pmid:10779107
  24. 24. Zhang Y, Zhao D, Sun J, Zou G, Li W. Adaptive Convolutional Neural Network and Its Application in Face Recognition. Neural Process Lett. 2015;43(2):389–99.
  25. 25. Liang J, Tian Q, Feng J, Pi D, Yin G. A Polytopic Model-Based Robust Predictive Control Scheme for Path Tracking of Autonomous Vehicles. IEEE Trans Intell Veh. 2024;9(2):3928–39.
  26. 26. Liang J, Lu Y, Wang F, Feng J, Pi D, Yin G, et al. ETS-Based Human–Machine Robust Shared Control Design Considering the Network Delays. IEEE Trans Automat Sci Eng. 2025;22:17501–11.
  27. 27. Er MJ, Wu S, Lu J, Toh HL. Face recognition with radial basis function (RBF) neural networks. IEEE Trans Neural Netw. 2002;13(3):697–710. pmid:18244466
  28. 28. Lian R-J. Adaptive Self-Organizing Fuzzy Sliding-Mode Radial Basis-Function Neural-Network Controller for Robotic Systems. IEEE Trans Ind Electron. 2014;61(3):1493–503.
  29. 29. Karayiannis NB, Randolph-Gips MM. On the construction and training of reformulated radial basis function neural networks. IEEE Trans Neural Netw. 2003;14(4):835–46. pmid:18238063
  30. 30. Farooq Z, Zaman T, Khan MA, Nasimullah, Muyeen SM, Ibeas A. Artificial Neural Network Based Adaptive Control of Single Phase Dual Active Bridge With Finite Time Disturbance Compensation. IEEE Access. 2019;7:112229–39.
  31. 31. Bounemeur A, Chemachema M. General fuzzy adaptive fault-tolerant control based on Nussbaum-type function with additive and multiplicative sensor and state-dependent actuator faults. Fuzzy Sets and Systems. 2023;468:108616.
  32. 32. Bounemeur A, Chemachema M. Optimal adaptive fuzzy fault-tolerant control applied on a quadrotor attitude stabilization based on particle swarm optimization. Proceedings of the Institution of Mechanical Engineers, Part I: Journal of Systems and Control Engineering. 2023;238(4):704–19.
  33. 33. Jiang Y, Xu X, Zhang L. Heading tracking of 6WID/4WIS unmanned ground vehicles with variable wheelbase based on model free adaptive control. Mechanical Systems and Signal Processing. 2021;159:107715.
  34. 34. Gurkaynak Y, Khaligh A, Emadi A. In: 2010 IEEE Vehicle Power and Propulsion Conference, 2010. 1–6.
  35. 35. Sun P, Song X, Song S, Stojanovic V. Composite adaptive finite‐time fuzzy control for switched nonlinear systems with preassigned performance. Adaptive Control & Signal. 2022;37(3):771–89.
  36. 36. Pan Y, Wu Y, Lam H-K. Security-Based Fuzzy Control for Nonlinear Networked Control Systems With DoS Attacks via a Resilient Event-Triggered Scheme. IEEE Trans Fuzzy Syst. 2022;30(10):4359–68.
  37. 37. Bounemeur A, Chemachema M. Finite-time output-feedback fault tolerant adaptive fuzzy control framework for a class of MIMO saturated nonlinear systems. International Journal of Systems Science. 2024;56(4):733–52.
  38. 38. Li Y, Yuan M, Chadli M, Wang Z-P, Zhao D. Unknown Input Functional Observer Design for Discrete-Time Interval Type-2 Takagi–Sugeno Fuzzy Systems. IEEE Trans Fuzzy Syst. 2022;30(11):4690–701.
  39. 39. Falahati S, Taher SA, Shahidehpour M. Grid Secondary Frequency Control by Optimized Fuzzy Control of Electric Vehicles. IEEE Trans Smart Grid. 2018;9(6):5613–21.
  40. 40. Abdelhamid B, Mohamed C. Robust Fuzzy Adaptive Fault‐Tolerant Control for a Class of Second‐Order Nonlinear Systems. Adaptive Control & Signal. 2024;39(1):15–30.
  41. 41. Rabie OBJ, Selvarajan S, Hasanin T, Alshareef AM, Yogesh CK, Uddin M. A novel IoT intrusion detection framework using Decisive Red Fox optimization and descriptive back propagated radial basis function models. Sci Rep. 2024;14(1):386. pmid:38172185
  42. 42. Bhat VS, Kumar V, Dayanand N, Shettigar A, Nikhitha. Comparative study of PID control algorithms for an electric vehicle. In: AIP Conference Proceedings, 2020. 080001. https://doi.org/10.1063/5.0006827
  43. 43. Kadhim NN, Abood LH, Mohammed YA. Design an Optimal Fractional Order PID Controller for Speed Control of Electric Vehicle. JESA. 2023;56(5):735–41.
  44. 44. Alyakhni A, Boulon L, Vinassa J-M, Briat O. A Comprehensive Review on Energy Management Strategies for Electric Vehicles Considering Degradation Using Aging Models. IEEE Access. 2021;9:143922–40.
  45. 45. Maaruf M, El-Ferik S. Neural learning fault-tolerant control of fuel cell–battery–ultracapacitor-based hybrid electric vehicle. Journal of Energy Storage. 2024;98:112892.
  46. 46. Liu Z, Chu X, Mao S, Ding P, Cheng S, Lei J, et al. Robust dynamic event-triggered sliding mode control for lateral dynamics of intelligent electric vehicle. Sci Rep. 2025;15(1):23837. pmid:40610553
  47. 47. Fei J, Lu C. Adaptive Sliding Mode Control of Dynamic Systems Using Double Loop Recurrent Neural Network Structure. IEEE Trans Neural Netw Learn Syst. 2018;29(4):1275–86. pmid:28287991
  48. 48. Barron AR. Approximation and estimation bounds for artificial neural networks. Mach Learn. 1994;14(1):115–33.
  49. 49. Kapnopoulos A, Kazakidis C, Alexandridis A. Quadrotor trajectory tracking based on backstepping control and radial basis function neural networks. Results in Control and Optimization. 2024;14:100335.
  50. 50. Uma UU, Nmadu D, Ugwuanyi N, Ogah OE, Eli-Chukwu N, Eheduru M, et al. Adaptive overcurrent protection scheme coordination in presence of distributed generation using radial basis neural network. Prot Control Mod Power Syst. 2023;8(1).
  51. 51. Lin X, Xu R, Yao W, Gao Y, Sun G, Liu J, et al. Observer-Based Prescribed Performance Speed Control for PMSMs: A Data-Driven RBF Neural Network Approach. IEEE Trans Ind Inf. 2024;20(5):7502–12.
  52. 52. Zhu Z, Zhao H, Sun H, Shao K. Diffeomorphism-Based Robust Bounded Control for Permanent Magnet Linear Synchronous Motor With Bounded Input and Position Constraints. IEEE Trans Ind Inf. 2023;19(4):5387–99.
  53. 53. Azhdari M, Binazadeh T. Uniformly ultimately bounded tracking control of sandwich systems with nonsymmetric sandwiched dead-zone nonlinearity and input saturation constraint. Journal of Vibration and Control. 2021;28(9–10):1109–25.