1. Introduction
Wheeled mobile robots (WMRs) constitute a well-established yet still highly active research platform in autonomous navigation, industrial automation, service robotics, logistics, surveillance, and exploration tasks. Among the available mechanical configurations, differential-drive mobile robots (DDMRs) are widely adopted because of their mechanical simplicity, low cost, maneuverability, and suitability for operation in structured and semi-structured environments. Despite these advantages, accurate trajectory tracking remains a demanding control problem. The difficulty arises from the nonlinear and nonholonomic nature of the system, the coupling between the kinematic and dynamic levels, parametric uncertainty, actuator limitations, external disturbances, wheel–ground interaction effects, and imperfect knowledge of the robot model.
The trajectory-tracking problem consists of designing a control law that forces the robot position and orientation to follow a prescribed reference trajectory while preserving closed-loop stability, acceptable transient behavior, and feasible control inputs. In practical scenarios, these requirements are difficult to satisfy simultaneously because the robot may operate under uncertain or time-varying conditions, including payload variations, friction changes, wheel slip, unmodeled dynamics, bounded disturbances, and actuator-level effects. Therefore, trajectory-tracking controllers for DDMRs should not be evaluated only in terms of nominal tracking-error reduction but also with respect to robustness, adaptability, stability guarantees, tuning complexity, and real-time implementability.
A broad range of nonlinear and intelligent control methodologies has been developed to improve the trajectory-tracking performance of WMRs operating under model uncertainties, disturbances, and nonideal wheel–ground interaction phenomena. Classical nonlinear approaches such as feedback linearization, sliding-mode control, adaptive control, and backstepping have been widely investigated because they explicitly exploit the nonlinear structure of the robot model. Among robust nonlinear methods, sliding-mode control has shown strong disturbance-rejection properties and robustness against parameter variations. For instance, Solea et al. [
1] developed a dynamic sliding-mode controller for a unicycle-type wheeled mobile robot subject to bounded uncertainties in mass and inertia, demonstrating accurate trajectory tracking despite significant parametric variations. However, the practical implementation of sliding-mode mechanisms usually requires careful gain selection and may introduce high-frequency control activity when discontinuous compensation terms are used.
Backstepping has received considerable attention because it provides a systematic Lyapunov-based recursive procedure for constructing stabilizing controllers [
2]. This feature is particularly relevant for mobile robot trajectory tracking, since the control problem can be naturally organized through a hierarchy involving posture errors, reference velocity commands, and dynamic-level control inputs. In this direction, Ahmadi et al. [
3] proposed a state-augmented adaptive backstepping controller that explicitly incorporates actuator dynamics while preserving asymptotic convergence properties. This type of formulation highlights the relevance of dynamic-level backstepping for DDMRs, since purely kinematic controllers may be insufficient when actuator dynamics, inertial effects, and model uncertainties significantly affect the closed-loop response.
Building upon dynamic-level backstepping formulations, several studies have integrated backstepping with robust, sliding-mode, and optimization-based mechanisms. Koubaa et al. [
4] proposed an adaptive sliding-mode dynamic control architecture in which a backstepping-based kinematic controller generates the reference velocity commands, whereas the dynamic controller compensates disturbances and parametric uncertainties through a Lyapunov-based design. Huang and Gao [
5] combined backstepping with a novel sliding-mode surface to improve convergence rate and robustness with respect to conventional control schemes. Likewise, Qiang et al. [
6] developed a cascaded architecture for differential-drive mobile robots, where a backstepping controller regulates the kinematic subsystem and a fractional-order PID controller governs the dynamic subsystem. In that work, the controller parameters are optimized through an improved Grey Wolf Optimization algorithm, obtaining improved IAE and ISE performance indices for complex reference trajectories. These contributions confirm that backstepping is an effective stabilizing backbone; nevertheless, the reported improvements are often achieved by adding sliding-mode terms, fractional-order structures, or metaheuristic optimization layers, which may increase tuning complexity and computational burden.
A complementary line of research has focused on robust and observer-based control strategies for mobile robots subject to slipping, skidding, and external disturbances. Bai et al. [
7] addressed trajectory tracking under slipping and skidding effects, emphasizing that wheel–ground interaction can substantially degrade the validity of nominal robot models. Wang et al. [
8] combined sliding-mode observers with model predictive control for mecanum-wheeled mobile robots, exploiting disturbance estimation and predictive optimization to improve tracking accuracy. Li et al. [
9] proposed an adaptive dual closed-loop controller based on extended-state observers and terminal sliding modes for wheeled mobile robots operating on rough ground. Other recent directions include disturbance-observer-based robust control, prescribed-time control, and data-driven predictive control, which improve disturbance rejection or transient performance under nonideal conditions [
10,
11,
12]. Although these approaches represent important advances in robustness, their implementation may require additional observer layers, stronger assumptions on disturbance bounds, discontinuous control actions, or more elaborate tuning and optimization procedures.
In parallel, neural network-based control has attracted considerable attention because of its capability to approximate unknown nonlinear dynamics and adapt controller parameters online. Rossomando et al. [
13] proposed an adaptive neural dynamic compensator that combines feedback linearization with a radial basis function neural network to learn the discrepancy between nominal and actual robot dynamics. A relevant feature of that approach is that the neural network estimates the residual uncertainty rather than the complete system dynamics, thereby reducing the computational burden. Similarly, Ahmine et al. [
14] developed an adaptive neural kinematic controller based on an ADALINE neural network combined with a backstepping law, where the neural weights are updated online using the Widrow–Hoff learning rule to improve trajectory-tracking performance under disturbances. Other neural network-based approaches have addressed complementary aspects of mobile robot control, including the explicit handling of velocity constraints and indirect Jacobian identification, improving tracking performance without requiring an exact model or exhaustive manual tuning [
15,
16]. These works show that neural compensation can improve robustness and adaptability; however, purely kinematic compensation or indirect neural identification may be insufficient when uncertain dynamic effects, actuator-level behavior, and persistent modeling errors have a dominant influence on the closed-loop response.
More recently, hybrid architectures combining backstepping, neural networks, adaptive control, and intelligent optimization have been investigated for mobile robot trajectory tracking. Hassan and Saleem [
17] proposed a neural network-based adaptive controller integrated with a model reference adaptive control framework to improve tracking in the presence of parameter uncertainties, wheel-slip disturbances, and measurement noise. Dang et al. [
18] designed an adaptive backstepping hierarchical sliding-mode controller using radial basis function neural networks for three-wheeled mobile robots and integrated it with A* global path planning and a Timed Elastic Band local planner for obstacle avoidance. Ha and Than [
19] introduced a neural backstepping adaptive controller in which the neural network adjusts the backstepping parameters online to compensate longitudinal and lateral wheel slip. Arega et al. [
20] combined backstepping with a neural network-based nonlinear PID controller, showing improved tracking accuracy and robustness with respect to conventional PID and nonlinear PID schemes. These studies highlight the potential of neural-enhanced backstepping architectures under uncertain operating conditions. Nevertheless, improved adaptability is frequently obtained at the cost of additional control layers, planning modules, indirect tuning mechanisms, or neural structures that may be less attractive for resource-constrained embedded platforms.
Reinforcement learning-assisted and data-driven control strategies have also expanded the scope of mobile robot trajectory tracking. He et al. [
21] proposed a self-adaptive Double Q-backstepping scheme in which reinforcement learning is used to tune controller parameters under varying operating conditions. Data-driven predictive control based on Koopman-operator modeling has also been explored to improve the representation of nonlinear robot dynamics within a model predictive control framework [
12]. These methods are promising because they can improve adaptability and generalization beyond fixed-gain nonlinear controllers. However, their practical use may involve offline learning requirements, data-dependent modeling, optimization stages, or computationally demanding prediction mechanisms. As discussed in recent studies on mobile robot motion planning and reinforcement learning-based architectures, the increasing incorporation of learning methods into robotic control improves flexibility but also raises concerns regarding stability guarantees, interpretability, real-time feasibility, and implementation complexity [
10].
Recent advances in adaptive learning control further illustrate the increasing interest in combining nonlinear control with learning-based adaptation. Fixed-time hierarchical game-based schemes have been investigated for coordinated unmanned aerial–ground vehicle systems [
22], while behavior-guided adaptive dynamic programming has been proposed for neural learning control under adjustable behavioral objectives [
23]. These developments are relevant because they show the potential of learning mechanisms to improve adaptability in complex nonlinear systems. At the same time, they also reinforce a central practical issue: learning-enhanced controllers must balance adaptability with stability guarantees, architectural simplicity, and computational feasibility. For DDMRs, this balance is particularly important because the controller is often expected to run online on embedded hardware while compensating uncertain nonlinear dynamics.
Lightweight adaptive neural controllers have emerged as a relevant alternative for reducing the gap between adaptability and implementability. Lima et al. [
24] proposed an adaptive neural controller for omnidirectional mobile robots subject to unmodeled dynamics, showing that compact neural approximators can improve tracking accuracy while maintaining feasible computational demands. This direction is particularly important for embedded robotic systems, where the controller must remain sufficiently simple for real-time execution. Nevertheless, neural approximation alone is not sufficient for stability-sensitive trajectory tracking. The neural component must be embedded within a rigorous nonlinear control design capable of guaranteeing bounded closed-loop behavior.
The preceding analysis shows that the state of the art has advanced along two main directions. On the one hand, robust nonlinear and observer-based controllers provide strong stability and disturbance-rejection properties, but they may require additional observers, discontinuous terms, complex tuning procedures, or accurate knowledge of uncertainty bounds. On the other hand, neural, reinforcement learning, adaptive learning, and data-driven controllers improve adaptability and approximation capability, but they may rely on deeper architectures, offline training stages, additional optimization layers, data-dependent modeling, or computational resources that are not always compatible with real-time embedded implementation. Consequently, an open research gap remains in the development of trajectory-tracking controllers for DDMRs that simultaneously provide a rigorous Lyapunov-based stability structure, online compensation of uncertain nonlinear dynamics, low computational complexity, and direct suitability for real-time implementation without trajectory-specific retuning or offline neural training.
Motivated by this gap, this paper proposes a Neural Backstepping control strategy for trajectory tracking of a differential-drive mobile robot. The proposed method combines a dynamic-level backstepping controller with a lightweight single-hidden-layer adaptive neural network. The backstepping component provides the stabilizing structure of the control law, whereas the neural component compensates uncertain nonlinear dynamics through online adaptation. Unlike more computationally intensive learning-based approaches, the proposed neural approximator is intentionally kept compact in order to preserve real-time implementability while maintaining sufficient approximation capability for control purposes.
The main contribution of this work is the integration of a Lyapunov-based dynamic backstepping controller with a compact adaptive neural approximator for uncertain DDMR trajectory tracking. In contrast with robust schemes that rely primarily on observer layers or discontinuous compensation terms, the proposed controller incorporates the neural network output directly into the auxiliary control law associated with the computed-torque structure. In contrast with learning-based approaches that require offline training, deeper architectures, or additional optimization stages, the neural output weights are updated online through an adaptation law derived from the Lyapunov stability analysis. In this manner, the controller is designed to improve trajectory-tracking accuracy, compensate persistent modeling errors, and maintain bounded closed-loop signals in the presence of bounded approximation uncertainties.
The specific contributions of this paper are summarized as follows:
A dynamic-level Neural Backstepping control scheme is formulated for trajectory tracking of a differential-drive mobile robot, combining the recursive stabilizing structure of backstepping with online neural compensation of uncertain nonlinear dynamics.
A lightweight single-hidden-layer adaptive neural network is integrated into the auxiliary computed-torque control law, avoiding deep architectures, offline training stages, and additional optimization layers commonly used in several learning-based controllers.
A Lyapunov-based adaptation law is derived for the neural output weights, ensuring boundedness of the closed-loop signals and uniformly ultimately bounded tracking errors under bounded approximation uncertainties.
The proposed controller is evaluated through numerical simulations using different reference trajectories, and its tracking performance is analyzed in terms of position errors, orientation error, and control response.
The remainder of this paper is organized as follows.
Section 2 presents the kinematic and dynamic models of the differential-drive mobile robot, including the reduced representation used for control design.
Section 3 develops the proposed Neural Backstepping control strategy, the adaptive neural approximator, and the stability analysis.
Section 4 presents the simulation setup, trajectory-tracking results, and discussion of the controller performance. Finally,
Section 5 summarizes the main conclusions and outlines future research directions.
2. Differential-Drive Mobile Robot Model
This section presents the kinematic and dynamic model of the DDMR considered in this work. The model is formulated in terms of the robot pose, the wheel angular velocities, and the admissible velocity subspace imposed by the nonholonomic constraints. This representation is later used to derive the proposed Neural Backstepping controller.
The robot under study, represented in
Figure 1 by a model in the
plane, is a nonholonomic mechanical system consisting of a rigid body (base) with four wheels: two conventional fixed wheels driven by independent electric actuators through DC motors for motion and orientation, and two additional passive wheels that rotate freely, providing stability and support during movement, in a (2,0)-type robot configuration [
25]. The effect of the passive wheels on the dynamics of the DDMR is considered negligible and, therefore, is not taken into account in the mathematical development of this research [
26].
The robot’s pose vector is represented by the triplet
.
Figure 1 illustrates the geometric configuration and the main variables of the differential-drive mobile robot. The coordinates
denote the position of the robot in the inertial reference frame
, while
represents its orientation angle with respect to the
axis. The variables
v and
correspond to the linear and angular velocities of the robot, respectively. The wheel radius is denoted by
R, and
represents the distance between the driving wheels. The angular velocities of the right and left wheels are represented by
and
, respectively. These variables establish the relationship between the wheel motions and the robot kinematics used in the controller design. The parameters of the DDMR model are described in
Table 1.
The local coordinates of the vehicle’s mechanical system can be described in terms of the generalized coordinate vector . The motion of the mechanical system is subject to various constraints that must be satisfied at all times during operation.
These constraints take the form of algebraic relationships between the positions and velocities of the system’s points and are incorporated into the kinematic model of the differential-drive robot.
2.1. Kinematic Model of the DDMR
The kinematic model of the differential robot is referenced to a fixed inertial frame
. The linear (
v) and angular (
) velocities of the robot are determined by the following forward differential kinematic relationship:
The inverse relationship of the previous expressions, in matrix form, is given by the equation that defines the kinematic model of the DDMR, that is,
Assumption 1. For the kinematic analysis of the differential-drive vehicle, the following conditions are assumed: the robot moves over a flat surface free from level and texture irregularities; the motion axes are parallel to the working surface; robot slippage during movement is neglected; and the robot structure is considered completely rigid, and thus, no flexible components are taken into account in the design.
The linear and angular velocities of the DDMR are defined as functions of the angular velocities of each wheel as follows:
The DDMR shown in
Figure 1 presents three kinematic constraints [
27]. The first establishes that lateral slipping is not allowed (no-slip constraint), whereas the remaining two correspond to wheel rotation (pure-rolling constraints). These constraints are described as follows:
where (
and
) represent the angular velocities of the right and left wheels, respectively.
It is worth noting that the kinematic constraints (
5) are linear relationships with the generalized coordinate vector
and can be represented by the expression
where the Pfaffian matrix (annihilator of the generalized velocities) is given by
Likewise, there exists an orthogonal projection (
) of the Pfaffian matrix, whose span is the kernel of
A. The Jacobian defined by
acts as an annihilator of the constraints in (
7) and is composed of a set of linearly independent vector fields distributed within the null space of
.
The relationship between
and
is expressed by
which is a property that will be used to simplify the robot’s dynamics.
For the design of trajectory-tracking and obstacle-avoidance algorithms for small vehicles, considering only kinematics is sufficient. However, when the vehicle’s weight and load capacity are substantial, motion dynamics must be considered.
2.2. The Dynamic Model of the DDMR
The dynamic model of a differential mobile robot describes the motion of the system considering both the internal (endogenous) and external (exogenous) forces acting on it. The internal forces are associated with the actuators and the mechanical interaction between the robot’s components, such as the torques applied by the motors to the wheels and the mass distribution of the system. On the other hand, the external forces include environmental effects such as friction with the surface, slopes along the path, contact forces with obstacles, and other disturbances. Dynamic analysis makes it possible to accurately describe the behavior of the robot, which is essential for the design of robust and efficient controllers, in contrast to kinematics, which only analyzes motion without considering forces (velocities and positions, among others) [
28].
The dynamic model of the DDMR, with
n generalized coordinates
and
m constraints, can be represented as
where
is the positive-definite, symmetric
inertia matrix;
is the centripetal and Coriolis matrix; and
is an
vector that denotes uncertainties and disturbances, including modeling inaccuracies, surface friction, external disturbances, unknown bounded disturbances, unmodeled and unstructured dynamics of actuators, sensors and other electronic devices, integration errors, noise, and operational sampling and physical limitations, where for the analysis presented in this work, it is taken to be equal to zero.
is the input matrix,
is the input vector,
is the matrix associated with the kinematic constraints, and
is the vector of Lagrange multipliers. The dynamic Equation (
10) of the DDMR does not include the gravitational force, since the vehicle is assumed to move only on flat, level surfaces. Equation (
10) has the following properties:
Property 1 (Boundedness). The inertia matrix , the norm of the Coriolis and centrifugal matrix , and the disturbance vector are bounded.
Property 2 (Skew-symmetry). The matrix is skew-symmetric.
Property 3 (Passivity)
. The energy supplied by the control inputs is bounded by the variation in the system’s total energy, yielding These properties are important in the stability analysis of the control system.
2.2.1. Euler–Lagrange Dynamic Modeling
The Euler–Lagrange approach is a fundamental tool in the dynamic formulation of mechanical systems, since it allows the derivation of the equations of motion from energetic considerations of the system. This method, developed by Lagrange, is used to systematically derive the equations of motion by considering the kinetic and potential energies of the given system [
28]. The Lagrange equation can be written as
where
is the Lagrangian function;
T is the kinetic energy and
V the potential energy of the system;
is generalized coordinates;
F is the generalized force vector;
is an
matrix associated with the nonholonomic constraints of the DDMR, where
n is the number of generalized coordinates
and
m the number of constraints; and
is the vector of Lagrange multipliers associated with the constraints.
To develop the dynamic model of the vehicle, the equations that describe the different components of the Lagrange function are established. Since the potential energy is zero due to the motion of the vehicle on a horizontal plane without a slope, it can be stated that
[
27].
The total kinetic energy of the DDMR is the sum of the kinetic energy of the vehicle platform and that of the wheels and actuators.
The kinetic energy of the vehicle platform is
whereas the kinetic energy of the right and left wheels are
where
is the mass of the DDMR without the driving wheels and actuators,
is the mass of each driving wheel (with actuator),
is the moment of inertia of the DDMR with respect to the vertical axis that passes through the center of mass,
is the moment of inertia of each driving wheel with motor with respect to the axis of the wheel, and
is the moment of inertia of each driving wheel with motor with respect to the diameter of the wheel. The coordinates
of the center of mass and the wheels can be obtained in terms of the generalized coordinates as follows:
Adding (
13) and (
14), and substituting (
15), the total kinetic energy of the DDMR can be written as
where
is the total mass of the vehicle and
is the equivalent total inertia. The Lagrangian is given by
, where the potential energy is
since the DDMR operates in the
plane. Solving (
12), the following inertia and Coriolis matrices are obtained:
together with the input matrix
Consequently, the Lagrangian model becomes
The model described by (
20) represents the Lagrangian dynamics of the DDMR moving on a plane, without considering friction in the actuator shaft and the wheels. The latter aspect will be set aside without loss of generality, since both friction effects are endogenous and additive and therefore can be included in future work.
The DDMR model developed is an underactuated model, since it has five generalized coordinates but only two actuators that directly affect the angular velocity of the driving wheels. This characteristic implies that not all state variables can be directly controlled, which represents a significant challenge in the design of control strategies, while at the same time realistically reflecting the physical limitations of the system.
The dynamics of the differential-drive mobile robot (DDMR) defined by (
20) describe the behavior of the system by explicitly considering the nonholonomic constraints through the use of Lagrange multipliers. However, for control and simulation purposes, it is more convenient to rewrite the system within its subspace of admissible solutions, that is, in the set of motions that inherently satisfy the imposed constraints.
2.2.2. Dynamics of the DDMR Within a Solution Subspace
By integrating the system (
20) into its solution space defined by the constraints, it becomes a more suitable representation for control and simulation purposes.
If we define the reduced vector
, which encompasses the linear and angular velocity components of the differential drive mobile robot (DDMR), as
then, to rewrite the system within its subspace of admissible solutions, that is, the set of motions that inherently satisfy the imposed constraints, it is necessary to introduce a matrix
whose columns span the null space of the Pfaffian constraint matrix
, such that
In accordance with the expression of
shown in (
8), it can be verified that it satisfies condition (
22) by computing the transposes of both matrices and performing the corresponding operation.
Therefore, the constrained forward differential kinematics is given by
where
. By differentiating (
23), one obtains the constrained forward acceleration kinematics,
which can be incorporated into the dynamic Equation (
20). Subsequently, by multiplying this equation by
, the dynamic system is projected onto the admissible subspace of motions, explicitly eliminating the Lagrange multipliers
. This operation yields reduced embedded dynamics, expressed solely in terms of the actuated variables contained in the reduced vector
(
21), considering the expressions (
3) and (
4); this is intrinsically compatible with the system constraints.
This reformulation not only reduces the computational complexity of the model but also lays the foundation for the design of control strategies based on the system dynamics, without the need to handle the constraints directly, since these have been absorbed into the structure of the model.
Therefore, by substituting (
23) and (
24) into (
20), multiplying the result by
, and rearranging the terms, the embedded dynamics in reduced form can be obtained as
in which the corresponding terms are given by
The system (
25) expresses the dynamics of the DDMR on the tangent bundle of the manifold defined by
; more precisely, the motion is described as a function of the linear and angular velocity components of the differential drive mobile robot
controlled by the motor torques
.
Hence, there appears to be tangent bundle dynamics of the DDMR over the manifold
, showing the 2-DoF actuated reachable dynamics in terms of input motor torques
of the right and left wheels.
where velocity
, for
, stands for the state and
the control input.
4. Simulation Results and Discussion
This section presents a numerical evaluation of the proposed Neural Backstepping controller for trajectory tracking of a differential-drive mobile robot. Rather than considering a single nominal trajectory, the controller is tested on four reference paths with different geometric and dynamic characteristics: circular, lemniscate, Lissajous, and waypoint-based trajectories. This selection allows the closed-loop response to be analyzed under constant-curvature motion, curvature reversals, multi-frequency oscillatory behavior, and piecewise transitions between waypoints. Therefore, the simulation study is intended to assess not only the tracking accuracy of the proposed controller but also its transient response, control effort, and ability to operate without trajectory-specific retuning.
4.1. Simulation Setup
The simulations were carried out in MATLAB/Simulink R2024a using the reduced dynamic model of the DDMR and the proposed Neural Backstepping control law. The closed-loop scheme integrates the robot dynamics, the trajectory generator, the body-frame tracking-error computation, the adaptive neural approximator, and the torque control input.
All simulations were conducted using a sampling period of
. The initial pose of the robot was set to
The physical parameters of the robot used in the simulations are summarized as follows:
The same controller configuration was used for all evaluated trajectories. The backstepping gains were selected as
and the dynamic feedback gain was defined as
The adaptive neural network was implemented with 10 hidden neurons. The adaptive output-weight matrix satisfies
whereas the fixed hidden-layer matrix is
The hidden-layer basis vector is given by
where
denotes a bipolar sigmoid activation function. The neural network input vector is defined as
where the neural network input vector is composed of the integral tracking errors and a constant bias term. The adaptation gain was selected as
where
is the identity matrix of dimension 10 × 10.
In the simulations, the hidden-layer matrix
was fixed a priori, while only the output-layer weights
were adapted online. Therefore, the role of
is to generate a sufficiently rich nonlinear feature mapping for the adaptive approximation, rather than being adjusted during the learning process. The fixed hidden-layer weights were initialized once from a uniform distribution,
and remained unchanged during each simulation. This bounded initialization range was selected to provide sufficient variation among the bipolar sigmoid basis functions while avoiding excessive activation saturation. Fixing
preserves the linear parameterization of the neural approximator with respect to the output weights, which is required by the proposed adaptation law and the Lyapunov stability analysis. Therefore, only the output-layer matrix
was updated online.
4.2. Sensitivity Analysis of the Number of Hidden Neurons
A sensitivity analysis was performed to determine an appropriate hidden-layer size for the adaptive neural network. Architectures with hidden neurons were evaluated using the four reference trajectories. The robot parameters, initial conditions, sampling time, controller gains, activation function, weight initialization procedure, and adaptation law were kept unchanged. For each architecture, the adaptation gain was defined as , where is the identity matrix of dimension a.
For a network with
a hidden neurons, the dimensions of the fixed hidden-layer matrix and the adaptive output-layer matrix are
Consequently, the number of output weights updated online is
.
Table 2 presents the position RMSE obtained for each trajectory, the average position and orientation RMSE values, and the corresponding number of adaptive output weights.
Increasing the number of hidden neurons from 6 to 10 progressively reduced the tracking errors. The 10-neuron network achieved the lowest position RMSE for each reference trajectory and the lowest average orientation RMSE among all evaluated architectures. Compared with the six-neuron architecture, the average position RMSE decreased from 0.029372 m to 0.024518 m, corresponding to a reduction of approximately 16.5%.
Increasing the hidden-layer size to 12 or 14 neurons did not improve the tracking performance. Relative to the 10-neuron configuration, the average position RMSE increased by approximately 2.0% and 5.1%, respectively, while the number of adaptive output weights increased from 20 to 24 and 28. Therefore, 10 hidden neurons were selected as the best trade-off between nonlinear approximation capability, tracking accuracy, and online adaptation complexity.
4.3. Reference Trajectories and Controller Parameters
Four reference trajectories were considered to evaluate the behavior of the proposed controller. The circular and Lissajous trajectories were selected to assess the transient response when the robot starts away from the desired path. The lemniscate trajectory was considered to evaluate smooth tracking along a continuous closed path. Finally, the waypoint-based trajectory was included to analyze the controller response under piecewise path changes and sharper curvature transitions.
The same controller gains and neural network configuration were used in all cases. This is relevant because no gain retuning was required when changing from smooth closed curves to the waypoint-based path. Therefore, the results provide evidence that the proposed Neural Backstepping strategy can successfully track different reference patterns using a single control configuration.
4.4. Trajectory-Tracking Performance
Figure 4 shows the trajectory-tracking response for the circular reference. Since the robot starts away from the desired path, an initial transient is observed. However, the actual trajectory converges to the circular path and remains close to the reference thereafter. This behavior is also reflected in the position-error response shown in
Figure 5, where the largest deviations occur at the beginning of the simulation and then decrease rapidly. The wheel angular velocities in
Figure 6 show an initial control effort associated with the convergence phase, followed by a stable steady-state response. Similarly, the commanded linear and angular velocities in
Figure 7 and
Figure 8 converge to the desired profiles after the initial adjustment.
For the lemniscate trajectory,
Figure 9 shows that the actual path closely overlaps the desired reference throughout the simulation. Unlike the circular case, the initial pose is closer to the reference path, which reduces the transient mismatch. This is confirmed by the position-error behavior shown in
Figure 10, where the tracking errors remain small throughout the simulation. The wheel angular velocities in
Figure 11 exhibit a smooth periodic behavior consistent with the curvature changes of the lemniscate. The linear and angular control velocities in
Figure 12 and
Figure 13 also show bounded responses without abrupt oscillations.
The Lissajous trajectory imposes a more demanding tracking task due to its varying curvature and crossing pattern. As shown in
Figure 14, the robot initially approaches the desired curve from a different location, producing a transient error similar to that observed in the circular case. After this initial stage, the actual path follows the reference trajectory with good accuracy. The position errors in
Figure 15 decrease rapidly after the initial convergence interval. The wheel angular velocities in
Figure 16 remain bounded and vary according to the periodic changes in the path geometry.
Figure 17 and
Figure 18 show that the control velocities track their desired profiles after the transient stage.
The waypoint-based trajectory represents the most irregular case because the path includes sharper changes in direction. As shown in
Figure 19, the actual trajectory follows the general shape of the reference path, although larger local deviations appear near the curved and transition regions. This behavior is expected because waypoint trajectories impose abrupt changes in curvature compared with smooth analytical curves. The position-error response in
Figure 20 confirms that the tracking error remains present during most of the simulation, particularly around the path transitions. Nevertheless, the error remains bounded. The wheel angular velocities shown in
Figure 21 present larger variations than in the smooth trajectories, reflecting the higher actuation demand imposed by the waypoint path. The corresponding control velocities in
Figure 22 and
Figure 23 also show more pronounced changes, especially during the transition segments.
The quantitative performance of the proposed controller is summarized in
Table 3. The lemniscate trajectory produced the lowest position RMSE, with 0.011373 m, which is consistent with its smooth tracking response and favorable initial condition. The Lissajous trajectory achieved a position RMSE of 0.018842 m, whereas the circular trajectory yielded 0.030857 m due to the larger initial convergence phase. The waypoint-based trajectory produced the largest position RMSE, 0.036999 m, which is expected because of the sharper curvature changes and persistent tracking corrections along the path.
Overall, the proposed controller achieved satisfactory tracking performance in all evaluated cases. The position RMSE remained below m for all trajectories, including the waypoint-based path. These results suggest that the adaptive neural component contributes to maintaining accurate tracking under different reference geometries using the same control gains.
Table 4 summarizes the trajectory-tracking performance of the conventional Backstepping (BS) controller and the proposed Neural Backstepping (BS-NN) controller for four representative reference trajectories. The evaluated metrics are the root mean square errors (RMSE) in Cartesian coordinates (
,
), orientation (
), and overall position (
). The results show that incorporating the adaptive neural network consistently improves tracking for all trajectories: the BS-NN controller yields lower position and orientation errors than the BS controller in every case. The largest gains occur for the waypoint-following trajectory, where position and orientation errors are substantially reduced. This indicates that the adaptive neural compensator effectively mitigates modeling uncertainties and unmodeled nonlinear dynamics, thereby increasing robustness and tracking accuracy.
The last row of
Table 4 reports the percentage improvement of BS-NN over BS, based on position RMSE. The BS-NN controller achieves about 16–18% improvement for smooth trajectories and up to 89% for waypoint following, underscoring its effectiveness under demanding conditions. Overall, the BS-NN controller combines the Lyapunov-based stability of Backstepping with the online approximation capability of neural networks, resulting in improved trajectory-tracking performance across varying operating conditions.
4.5. Discussion
The simulation results show that the proposed Neural Backstepping controller can track smooth and waypoint-based trajectories using a single set of control gains. For the circular and Lissajous paths, the main tracking error occurs during the initial convergence phase because the robot starts away from the desired trajectory. After this transient, the actual trajectory closely follows the reference path. For the lemniscate trajectory, the initial condition is more favorable and the tracking error remains small during the complete simulation. For the waypoint-based path, the tracking error is larger and more persistent due to the sharper curvature transitions; nevertheless, the position RMSE remains below m.
The lowest RMSE was obtained for the lemniscate trajectory, whereas the largest RMSE occurred for the waypoint trajectory. This behavior is consistent with the geometric complexity of the references: smooth continuous paths are easier to track, while waypoint-generated paths require stronger velocity corrections and produce larger transient deviations. The wheel angular velocities and control velocity profiles also confirm this trend. Smooth trajectories generate bounded and regular control responses, whereas the waypoint trajectory produces more pronounced variations in the wheel velocities and commanded angular velocity.
These results indicate that the proposed Neural Backstepping controller provides a favorable balance between tracking accuracy and implementation simplicity. The single-hidden-layer neural approximator avoids the computational burden of deeper architectures while providing online adaptation through the output weights. In addition, the same gain configuration was used for all evaluated trajectories, suggesting that the controller can adapt to different reference geometries without trajectory-specific retuning.
5. Conclusions
This paper presented a Neural Backstepping control strategy for trajectory tracking of a differential-drive mobile robot. The proposed approach combines a dynamic-level backstepping controller with a lightweight single-hidden-layer adaptive neural network. The backstepping component provides a Lyapunov-based stabilizing structure, whereas the neural approximator is incorporated to compensate uncertain nonlinear dynamics through online adaptation.
The stability analysis showed that, under bounded neural approximation errors, all closed-loop signals remain bounded and the velocity tracking error is uniformly ultimately bounded. Therefore, the proposed controller guarantees practical stability under the assumptions considered in this work. This result supports the use of the adaptive neural component as a compensation mechanism within the backstepping control structure.
Simulation results were obtained for four reference trajectories: circular, lemniscate, Lissajous, and waypoint-based paths. The proposed controller achieved satisfactory tracking performance in all cases using the same gain configuration and neural network structure. The lowest position RMSE was obtained for the lemniscate trajectory, whereas the waypoint-based trajectory produced the largest error due to its sharper curvature transitions. Nevertheless, the position RMSE remained below m for all evaluated trajectories, indicating accurate tracking performance and stable closed-loop behavior.
The results suggest that the proposed Neural Backstepping controller provides a suitable balance between tracking accuracy, online adaptation capability, and implementation simplicity. In particular, the use of a single-hidden-layer neural approximator avoids the complexity of deeper learning architectures while preserving the ability to compensate persistent tracking deviations. These conclusions are supported by the Lyapunov-based stability analysis and the simulation results presented in this work. However, experimental validation and robustness assessments under external disturbances and parametric uncertainties remain topics for future investigation.
The main limitation of this work is that the validation was restricted to numerical simulations. Future work will focus on the experimental implementation of the proposed controller on a real differential-drive mobile robot platform. In addition, further studies will investigate explicit robustness evaluations under parametric uncertainties, external disturbances, and actuator limitations, as well as comparative assessments against conventional backstepping and other nonlinear control strategies. These extensions will complement the theoretical developments presented in this work and provide additional insights into the practical performance of the proposed Neural Backstepping framework.