Next Article in Journal
Numerical Analysis of Composite Wind Turbine Blade Dynamics Under Shutdown Fault Scenarios
Next Article in Special Issue
A Three-Module Grouped XRAM Topology for Electromagnetic Railgun Drive: Topology Comparison, Parameter Optimization, and Mechanism Verification
Previous Article in Journal
Simulation and Performance Analysis of a Plateau-Adapted Five-Bed Portable Vacuum Pressure Swing Adsorption Oxygen Production System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Super-Twisting-Based Online Learning in High-Order Neural Networks for Robust Backstepping Control of DC Motors Under Uncertainty

by
Ivan R. Urbina Leos
1,
Jesus A. Medrano Hermosillo
1,*,
Abraham E. Rodriguez Mata
1,
Francisco R. Lopez-Estrada
2,*,
Oscar J. Suarez
3 and
Alma Alejandra Luna-Gómez
4
1
División de Estudios de Posgrado e Investigación (DEPI), Tecnológico Nacional de México/IT Chihuahua, Chihuahua 31200, Mexico
2
TURIX—Dynamics Diagnosis and Control Group, Tecnológico Nacional de México/IT Tuxtla Gutiérrez, Tuxtla Gutiérrez 29050, Mexico
3
Ingeniería Mecatrónica, Facultad de Ingenierías y Arquitectura, Universidad de Pamplona, Norte de Santander 543058, Colombia
4
Facultad de Estudios Superiores Cuautitlán Campo 4, Universidad Nacional Autónoma de México (UNAM), Cuautitlán Izcalli 54714, Mexico
*
Authors to whom correspondence should be addressed.
Processes 2026, 14(6), 1019; https://doi.org/10.3390/pr14061019
Submission received: 20 January 2026 / Revised: 14 March 2026 / Accepted: 18 March 2026 / Published: 22 March 2026
(This article belongs to the Special Issue Advances in Electrical Drive Control Methodologies)

Abstract

This paper addresses the speed control problem of a DC motor in the presence of nonlinearities, disturbances, and unmodeled dynamics by proposing a neural backstepping control scheme based on a Recurrent High-Order Neural Network (RHONN). The proposed RHONN serves as an online approximator to compensate for uncertain nonlinear dynamics in a PD-based backstepping controller, enabling the system to handle disturbances, modeling errors, and unmodeled dynamics. Instead of relying on the traditional Extended Kalman Filter (EKF) for RHONN weight adaptation, the neural parameters are updated online using a Super-Twisting Algorithm (STA). As a result, the proposed STA-based learning law provides a simpler and robust covariance-free adaptation mechanism with practical finite-time convergence properties, making it suitable for real-time embedded implementations. The proposed method was evaluated through numerical simulations and implemented on an embedded microcontroller to assess its real-time performance. Simulation results show reductions between 0.04% and 2.04% in steady-state and integral error metrics compared with a tuned PD controller, and improvements up to 25.66% and 23.82% over LQR and MPC in the IMSE index. Experimental results demonstrate good tracking performance, robustness under varying load conditions, and low computational requirements, confirming the practical feasibility.

1. Introduction

In the context of electromobility, the literature identifies Permanent Magnet Synchronous Motors (PMSMs) and Brushless DC (BLDC) motors as two of the most widely used technologies in modern electric propulsion systems. PMSMs are widely adopted in electric vehicles due to their high efficiency, high torque density, and excellent dynamic performance, which make them suitable for high-performance traction applications [1]. Similarly, BLDC motors have gained significant attention due to their relatively simple electronic commutation, reduced maintenance requirements, and high efficiency, making them particularly attractive for applications such as electric bicycles, drones, and compact electric mobility platforms [2]. As a result, both PMSMs and BLDC motors are widely used in contemporary electric mobility systems. Despite the widespread adoption of these technologies, conventional direct-current (DC) motors remain a practical and cost-effective solution for micromobility systems, including electric scooters, small robotic platforms, and educational test benches. Their relatively simple structure, straightforward control strategy, and reduced implementation costs make them attractive for applications where simplicity and affordability are key design considerations [3]. Nevertheless, achieving high-performance control of DC drives remains challenging. The presence of nonlinearities, parameter variations, and external disturbances can degrade control accuracy and may compromise closed-loop stability. Classical control strategies, particularly proportional–integral (PI) and proportional–integral–derivative (PID) controllers, have been widely employed for speed regulation due to their simplicity and ease of implementation. However, their robustness under load variations and sensor noise is often limited [4,5].
To address these limitations, robust control techniques such as Sliding Mode Control (SMC) have been proposed because of their strong disturbance rejection capability and finite-time convergence properties [6]. Nevertheless, the practical implementation of SMC frequently suffers from the well-known chattering phenomenon. To reduce chattering while preserving robustness, higher-order sliding mode control (HOSMC) techniques have been introduced. These approaches significantly reduce the high-frequency switching present in classical SMC while maintaining robustness properties [7]. However, the design of these controllers typically requires accurate knowledge of the system dynamics. To overcome modeling uncertainties, adaptive modeling and system identification techniques have been explored. Artificial intelligence methods such as neural networks and deep learning have demonstrated strong nonlinear approximation capabilities [8,9]. However, deep neural models often require significant computational resources, which limits their applicability in embedded systems with constrained hardware [10].
Given the aforementioned challenges, this work considers a Recurrent High-Order Neural Network (RHONN) as an adaptive model, owing to its strong nonlinear approximation capabilities and relatively low computational complexity compared with deep learning architectures [11]. However, RHONNs are typically trained using the Extended Kalman Filter (EKF), whose implementation requires multiple matrix operations and covariance updates. These computations significantly increase the computational burden, limiting their suitability for real-time applications on resource-constrained embedded platforms [12]. To overcome this limitation, this work proposes an alternative training mechanism for the RHONN based on the Super-Twisting Algorithm (STA). The STA preserves the robustness and fast convergence properties characteristic of sliding-mode-based adaptation while avoiding the high computational complexity associated with EKF-based training [13]. Consequently, the proposed approach enables the development of a robust adaptive control framework suitable for real-time implementation in embedded systems with limited computational resources.
Hence, this paper follows this direction by proposing a control architecture in which an RHONN (defined in [14]) is employed as an adaptive compensator for a PD-based backstepping controller, with online weight adaptation driven by a STA (defined in [15]). The proposed scheme aims to combine the robustness and finite-time properties of sliding-mode learning with the approximation capabilities of RHONNs while maintaining low computational complexity and minimal tuning requirements, making it suitable for real-time embedded implementations. For a clearer visualization of the proposed scheme, Figure 1 presents the overall system block diagram, where the complete algorithm used for the motor speed control can be observed.

2. Literature Review

The evolution of robust and intelligent control methodologies has led to the development of hybrid schemes that integrate high-order sliding-mode control with adaptive neural modeling. Among these approaches, the STA, a second-order sliding-mode technique, has attracted significant attention for its ability to suppress chattering while preserving finite-time convergence and robustness in the presence of parameter variations [16]. Nevertheless, the practical effectiveness of the STA control law is strongly influenced by appropriate gain tuning and the availability of reliable system models, requirements that are often difficult to satisfy in real-world applications [17,18]. To mitigate these limitations, recent research has focused on integrating artificial intelligence techniques within the STA control structure. Neural network-assisted Super-Twisting controllers have been successfully applied to DC motors, wind energy conversion systems, and autonomous vehicles, demonstrating enhanced disturbance rejection, reduced time delay, and smoother control actions [18,19]. In such schemes, system uncertainties are adaptively estimated, and dynamic variations are compensated through shallow and radial-basis neural networks, enabling operation under unknown or time-varying parameters. Moreover, the development of Super-Twisting Zeroing Neural Networks (ST-ZNNs) has further bridged sliding-mode control and neural computation, providing finite-time convergence and global robustness in applications such as robotic manipulators [20]. In parallel with these advances, RHONNs have emerged as an effective framework for identifying nonlinear and time-delayed systems [21]. The inclusion of high-order feedback terms and internal dynamic layers in RHONNs enables the representation of complex temporal dependencies, thereby improving approximation accuracy [22]. Online learning and real-time parameter adaptation in these networks have traditionally been achieved using the EKF [23]. Additionally, discrete-time training strategies based on the Super-Twisting differentiator have been shown to allow neural networks to update their weights without explicit derivative computation, yielding faster convergence and improved numerical stability compared to conventional gradient-based methods [24].
The combination of robust sliding-mode laws with adaptive neural learning mechanisms offers a promising pathway toward intelligent control architectures capable of addressing modeling uncertainties and external disturbances. Neural–robust control schemes have been shown to exhibit Lyapunov-stable behavior and effective uncertainty rejection in applications such as leader–follower systems and vehicular dynamics [12,25]. Concurrently, recent findings on super-convergence phenomena in deep learning suggest that rapid and stable adaptation can be achieved under large learning rates, reinforcing the feasibility of neural-based approaches for real-time embedded implementations [26]. Motivated by these considerations, this work proposes and experimentally validates a continuous hybrid control architecture for DC motor drives. The approach integrates a PD-based backstepping controller with an online-trained RHONN acting as an adaptive compensator, whose weights are updated in real time using a Super-Twisting learning law. The resulting cascaded structure aims to enhance trajectory tracking accuracy, disturbance rejection capability, and control smoothness. To the best of the authors’ knowledge, this is the first reported implementation of a continuous hybrid RHONN-based control scheme in which the STA not only replaces but also outperforms the EKF as the learning mechanism in DC motor applications. In the proposed configuration, the STA serves as an online weight adaptation. This substitution enables finite-time convergence and effective noise attenuation without explicit covariance estimation. The complete system is implemented in real time on an embedded microcontroller, demonstrating the feasibility, robustness, and superior performance of the proposed intelligent high-order control strategy under variable load and uncertainty conditions.

3. Mathematical Background

3.1. RHONN Model

As previously mentioned, several control strategies have explored the use of high-order neural networks as alternatives to conventional linear controllers due to their adaptability and relatively low computational cost compared with traditional deep learning techniques. For example, works such as [23,27] report effective control schemes that employ adaptive approaches based on RHONNs to address nonlinear dynamics and uncertainties in electromechanical systems. These studies show that RHONNs can approximate unknown system dynamics, handle situations in which plant parameters are uncertain or partially known, and compensate for external disturbances. Owing to these characteristics, RHONNs have become an attractive alternative for modeling and control of systems exhibiting nonlinear behavior and uncertainties. Additionally, recent studies have highlighted the relevance of advanced learning mechanisms for improving neural network performance in control and estimation tasks. In particular, Kalman filtering-based training methods have shown significant advantages for neural network learning due to their capability to provide efficient online parameter estimation and fast convergence properties [28].
These approaches enable neural networks to adapt their parameters in real time while maintaining robustness against noise and modeling uncertainties, making them particularly suitable for adaptive control applications. However, although the Extended Kalman Filter (EKF) has shown effective performance for neural network training, its implementation can become computationally demanding for systems with a large number of states or parameters. In particular, EKF-based learning requires matrix inversions and covariance updates whose computational complexity typically scales as O ( n 3 ) , which can limit its practical implementation in real-time applications on low-cost embedded hardware. For this reason, alternative learning mechanisms with reduced computational burden are desirable. In this context, the Super-Twisting Algorithm (STA), a second-order sliding mode technique, emerges as a viable alternative for neural network training. The STA provides finite-time convergence and strong robustness properties while avoiding the intensive matrix operations required by EKF-based approaches. Consequently, STA-based learning schemes are particularly suitable for adaptive control implementations in low-cost hardware platforms and real-time embedded systems. Based on this motivation, the dynamic model of the RHONN architecture is described next. Figure 2 illustrates a general continuous-time RHONN (inspired by the discrete-time formulation presented in [14]), which can be described by the following:
x ^ ˙ i ( t ) = a i x ^ i ( t ) + w i T z i ( x ^ ( t ) , u ( t ) ) , i = 1 , , n
where x ^ ˙ i ( t ) is the time derivative of the i-th neuron’s state, a i > 0 is a positive constant representing the neuron’s decay rate, x ^ i denotes the neuron state, L i is the number of high-order connections, I 1 , I 2 , , I L i is the family of unordered subsets of 1 , 2 , , n + m , n is the state dimension, m is the number of external inputs, w i is the online-updated weight vector, and u ( t ) is the external input vector. On the other hand, the vector z i ( x ^ ( t ) , u ( t ) ) is computed as follows:
z i ( x ^ ( t ) , u ( t ) ) = z i 1 z i 2 z i L i = j I 1 ξ i j d i j ( 1 ) j I 2 ξ i j d i j ( 2 ) j I L i ξ i j d i j ( L i )
such that d i j ( l ) (for l = 1 , , L i ) are non-negative integers and ξ i is defined as:
ξ i = ξ i 1 ξ i n ξ i n + 1 ξ i n + m = S ( x ^ 1 ) S ( x ^ n ) u 1 u m
In the previous equation, the activation function S ( · ) used is the hyperbolic tangent function, defined as:
S ( ζ ) = tanh ( ζ )
where ζ is any real-valued variable.

3.2. Neural Back-Stepping Controller Design

Adaptive control strategies for estimating uncertain parameters and, in some cases, performing system identification were discussed previously. However, before introducing the adaptation mechanism, it is first necessary to establish a control law capable of guaranteeing accurate speed tracking of the DC motor. For this purpose, the backstepping technique is adopted. Backstepping provides a systematic framework for controller design in nonlinear systems and allows stability to be guaranteed through the construction of suitable Lyapunov functions. In addition, it offers several advantages over other nonlinear control strategies reported in the literature, particularly its recursive design procedure and its ability to handle nonlinearities and parametric uncertainties in a structured manner.
Another important feature of backstepping is that it can be naturally combined with other control techniques in order to enhance robustness or improve disturbance–rejection performance. For instance, neural-based robust control strategies have demonstrated effective performance in nonlinear and uncertain systems such as leader–follower mobile-agent systems [25]. Similarly, the integration of nonlinear control with neural and sliding-mode techniques has shown promising results in power electronic systems for electric vehicle applications [29]. Within this framework, the class of nonlinear systems considered in this work can be represented as follows. Consider the following nonlinear, perturbed, and uncertain plant:
x ˙ i ( t ) = f i ( x i ( t ) ) + g i ( x i ( t ) ) x i + 1 ( t ) + d i ( t ) , i = 1 , , r 1 x ˙ r ( t ) = f r ( x r ( t ) ) + g r ( x r ( t ) ) u ( t ) + d r ( t ) y ( t ) = x 1 ( t )
In the strict-feedback structure described in (5), the control input u ( t ) influences the output y ( t ) = x 1 ( t ) only after propagating through the internal state dynamics x 2 ( t ) , , x r ( t ) . Consequently, the relative degree of the system is r. Because the input u ( t ) does not explicitly appear in x ˙ 1 ( t ) , a direct control design based solely on x ˙ 1 ( t ) is not possible. Therefore, the output must be differentiated until the control input becomes explicitly visible in the system dynamics. Thus, the first derivative of the output is given by:
y ˙ ( t ) = x ˙ 1 ( t ) = f 1 ( x 1 ( t ) ) + g 1 ( x 1 , t ) x 2 ( t ) + d 1 ( t )
Since u ( t ) does not appear in (6), the differentiation process must be continued. By repeatedly applying the chain rule and substituting the system dynamics from (5), it follows that the control input appears only in the r-th derivative of the output:
y ( r ) ( t ) = F ( x ( t ) ) + G ( x ( t ) ) u ( t ) + d ˜ ( t )
where x ( t ) = [ x 1 ( t ) , , x r ( t ) ] T is the state vector. The function F ( x ( t ) ) represents the nonlinear drift dynamics involving the functions f i ( · ) , while d ˜ ( t ) groups disturbances and their derivatives. The term G ( x ( t ) ) corresponds to the decoupling gain, defined as:
G ( x ( t ) ) = i = 1 r 1 g i ( x i ( t ) ) g r ( x r ( t ) )
The input–output model in (7) explicitly reveals how the control signal affects the output dynamics. The control objective is therefore to design u ( t ) such that the system output y ( t ) accurately tracks a desired trajectory y d ( t ) . To implement the backstepping design, a recursive set of tracking errors is introduced. The first error variable corresponds to the output tracking error:
e 1 ( t ) = y ( t ) y d ( t ) = x 1 ( t ) y d ( t )
Subsequently, a sequence of virtual error variables is defined. Each error e i ( t ) measures the difference between the state x i ( t ) and a stabilizing virtual control input u i 1 v ( t ) :
e 2 ( t ) = x 2 ( t ) u 1 v ( t ) e 3 ( t ) = x 3 ( t ) u 2 v ( t ) e r ( t ) = x r ( t ) u r 1 v ( t )
to illustrate the recursive design procedure, the dynamics of e 1 ( t ) are computed as:
e ˙ 1 ( t ) = x ˙ 1 ( t ) y ˙ d ( t ) = f 1 ( x 1 , t ) + g 1 ( x 1 , t ) x 2 ( t ) + d 1 ( t ) y ˙ d ( t )
by introducing the relation x 2 = e 2 + α 1 , the expression becomes:
e ˙ 1 = f 1 ( x 1 , t ) + g 1 ( x 1 , t ) ( e 2 + α 1 ) + d 1 ( t ) y ˙ d ( t )
Hence, the virtual control u 1 v ( t ) is then designed to cancel the nonlinear terms and impose the desired error dynamics e ˙ 1 ( t ) = c 1 e 1 ( t ) with c 1 > 0 . This yields the ideal virtual control
u 1 v * ( t ) = 1 g 1 ( x 1 , t ) c 1 e 1 ( t ) f 1 ( x 1 , t ) d 1 ( t ) + y ˙ d ( t )
The same procedure is recursively applied for e 2 ( t ) , , e r ( t ) . At each step i, a virtual control u i v * ( t ) is designed to stabilize the subsystem ( e 1 , , e i ) . The final step yields the ideal control input u ( t ) . However, these ideal control laws can only be implemented if the exact system model f i ( · ) , g i ( · ) and the disturbances d i ( t ) are perfectly known. In practical applications, these quantities are typically unknown or affected by uncertainties [30]. To overcome this limitation, the unknown nonlinear functions involved in the ideal control laws are approximated using Neural Networks (NNs). In particular, the ideal controls u i v * ( t ) and u * ( t ) can be interpreted as unknown smooth nonlinear functions ϕ j ( t ) of measurable states (e.g., x i ( t ) , y d ( t ) , y ˙ d ( t ) , etc.). These functions can therefore be represented using universal approximators such as Recurrent High-Order Neural Networks (RHONNs), leading to the following representation:
u i * ( X i ) = W i * T Z i ( X i ) + ϵ i , i = 1 , , r 1 u * ( X r ) = W r * T Z r ( X r ) + ϵ r
where W j * denotes the ideal (unknown) constant weight vector, Z j ( X j ) represents the vector of neuron activation functions (regressors), and X j is the input vector to the neural network (e.g., X 1 = [ x 1 , y d , y ˙ d ] T , X 2 = [ x 1 , x 2 , y d , y ˙ d , y ¨ d ] T , etc.). The term ϵ j denotes the minimal function approximation error. Since the ideal weights W j * are unknown, the control laws are implemented using their online estimates W ^ j ( t ) , which leads to the following neural-based control structure:
u i v ( t ) = W ^ i T ( t ) Z i ( X i ( t ) ) , i = 1 , , r 1 u ( t ) = W ^ r T ( t ) Z r ( X r ( t ) )

3.3. Super-Twisting Learning Algorithm

Traditionally, neural networks used in adaptive control are trained online using gradient-based learning rules or optimization techniques such as the Extended Kalman Filter. Although these approaches have been successfully applied in many applications, they typically guarantee only asymptotic convergence and may suffer from sensitivity to disturbances, modeling uncertainties, and unmodeled dynamics. To address these limitations, the neural network in this work is trained online using a robust adaptation law derived from the Super-Twisting Algorithm (STA). By incorporating second-order sliding-mode principles into the learning process, the proposed STA-based scheme provides practical finite-time convergence of the identification error while enhancing robustness against disturbances and uncertainties.
For each neural network channel i, the objective is to adjust the weight vector W ^ i R L i so that the corresponding identification error is driven to a small neighborhood of zero. To this end, the sliding variable is defined as the instantaneous identification error:
s i ( t ) e i ( t )
Based on this definition, the learning law incorporates a corrective term ν s t , i ( t ) constructed from second-order sliding-mode principles. Its dynamics are given by:
ν s t , i ( t ) = k 1 , i | s i ( t ) | 1 / 2 sign ( s i ( t ) ) + v i ( t ) v ˙ i ( t ) = k 2 , i sign ( s i ( t ) )
where k 1 , i and k 2 , i are positive design gains selected to ensure stable error convergence. In this framework, ν s t , i ( t ) acts as a robust injection term that corrects the adaptation process and drives the system trajectories toward the sliding manifold associated with the identification error.

3.3.1. Weight Update and Implementation

To prevent parameter drift and maintain bounded adaptation under persistent perturbations, the weight update law combines the STA injection term with a leakage factor, also known as σ -modification. The resulting continuous-time adaptation law is:
W ^ ˙ i ( t ) = Γ i Z i ( χ ( t ) ) ν s t , i ( t ) σ i W ^ i ( t )
where Γ i = Γ i > 0 R L i × L i is the learning gain matrix that determines the adaptation rate, Z i ( χ ( t ) ) is the regressor vector, and σ i > 0 is a small leakage coefficient introduced to improve robustness and avoid unbounded growth of the estimated parameters.
Remark 1.
If explicit bounds on the weights are required, the leakage term σ i W ^ i ( t ) in (18) can be replaced by a projection operator Proj ( W ^ i , · ) in order to enforce constrained parameter estimates.
For embedded implementation, the continuous-time dynamics in (17) and (18) are discretized using the Euler forward method with sampling period T s . This allows the Super-Twisting auxiliary variable and the neural weights to be updated iteratively at each control instant, making the algorithm suitable for real-time microcontroller-based implementation.

3.3.2. RHONN Predictor and Identification Error Dynamics

To formalize the learning dynamics, let x ( t ) R n denote the plant state vector to be identified, either measured or estimated, and let x ^ ( t ) R n be its RHONN-based prediction. For each channel i { 1 , , n } , the RHONN predictor is written as:
x ^ ˙ i ( t ) = a i x ^ i ( t ) + W ^ i ( t ) Z i ( χ ( t ) )
where a i > 0 , W ^ i ( t ) R L i is the adaptive weight vector, and Z i ( χ ( t ) ) R L i is the regressor built from knowable signals χ ( t ) ; for example, χ = [ x ^ , u ] . The corresponding identification error is defined as:
e i ( t ) x i ( t ) x ^ i ( t ) , e ( t ) = [ e 1 , , e n ]
The following assumption establishes a standard decomposition of the plant dynamics for each identification channel.
Assumption 1.
For each channel, the plant dynamics can be expressed in the standard “linear-in-parameters + residual” form.
x ˙ i ( t ) = f i ( χ ( t ) ) + W i * Z i ( χ ( t ) ) + Δ i ( t )
where f i ( χ ( t ) ) is an unknown smooth drift term and Δ i ( t ) groups approximation residuals, external disturbances, and unmodeled dynamics. This representation is less restrictive than assuming a fully known plant structure while still being suitable for robust adaptive identification. Thus, subtracting the predictor model (19) from the plant representation (21) gives the following error dynamics:
e ˙ i ( t ) = f i ( χ ( t ) ) + a i x ^ i ( t ) a i x i ( t ) + W ˜ i ( t ) Z i ( χ ( t ) ) + Δ i ( t )
using the relation e i = x i x ^ i , this expression can be rewritten as:
e ˙ i ( t ) = a i e i ( t ) + W ˜ i ( t ) Z i ( χ ( t ) ) + f i ( χ ( t ) ) + Δ i ( t ) Δ ¯ i ( t )
where W ˜ i ( t ) W i * W ^ i ( t ) is the weight estimation error and Δ ¯ i ( t ) represents the lumped residual perturbation affecting the i-th identification channel. To analyze the convergence properties of the proposed learning scheme and establish the stability of the identification error dynamics, it is necessary to introduce a set of standard assumptions regarding the regressor signals and the residual perturbations. These assumptions are commonly adopted in high-order sliding-mode learning and adaptive identification analysis.
Assumption 2.
The regressor is bounded: Z i ( χ ( t ) )   Z ¯ i for all t 0 .
Assumption 3.
The total residual perturbation Δ ¯ i ( t ) is bounded and has a bounded derivative:
| Δ ¯ i ( t ) | Δ ¯ i , | Δ ¯ ˙ i ( t ) | d ¯ i , t 0
Remark 2.
Assumption 3 is consistent with STA theory since boundedness of Δ ¯ ˙ i ( t ) is required to establish practical finite-time convergence.

3.4. Finite-Time Property of the STA Subsystem

Lemma 1
(Practical finite-time convergence of the STA subsystem). Consider the perturbed super-twisting subsystem:
s ˙ i ( t ) = k 1 , i | s i ( t ) | 1 / 2 sign s i ( t ) + v i ( t ) + Δ i ( t ) v ˙ i ( t ) = k 2 , i sign s i ( t )
where the perturbation satisfies, for all t 0 ,
| Δ i ( t ) | Δ ¯ i , | Δ ˙ i ( t ) | d ¯ i
Then, there exist gains k 1 , i , k 2 , i > 0 such that the trajectory ( s i ( t ) , v i ( t ) ) reaches in finite time a compact set:
S i ( s i , v i ) : | s i | ρ i , | v i | η i
with ρ i , η i > 0 depending on ( Δ ¯ i , d ¯ i ) and on ( k 1 , i , k 2 , i ) . In particular, s i ( t ) reaches in finite time the neighborhood:
Ω i { s i : | s i | ρ i }
Moreover, in the ideal case Δ i ( t ) 0 , the origin ( s i , v i ) = ( 0 , 0 ) is reached in finite time.
Proof. 
Fix i and omit the subscript to simplify notation. Define the auxiliary variable:
x 1 s , x 2 v + Δ ( t )
using (25), the dynamics become:
x ˙ 1 = x 2 k 1 | x 1 | 1 / 2 sign ( x 1 ) x ˙ 2 = k 2 sign ( x 1 ) + Δ ˙ ( t )
by (26), the additive term Δ ˙ ( t ) is bounded by d ¯ .
  • Step 1: Unperturbed finite-time convergence. Consider first the ideal case Δ ˙ ( t ) 0 . The system (27) is homogeneous with respect to the dilation:
    ( x 1 , x 2 ) ( λ 2 x 1 , λ x 2 )
    of negative degree. Therefore, the origin is finite-time stable. In particular, there exists a continuous, positive definite Lyapunov function V ( x 1 , x 2 ) and constants c 1 , c 2 > 0 such that, along solutions of (27) with Δ ˙ 0 :
    V ˙ c 1 V 1 / 2
    which implies finite-time convergence of ( x 1 , x 2 ) to the origin; hence, ( s , v ) ( 0 , 0 ) in finite time.
  • Step 2: Practical finite-time convergence under bounded Δ ˙ . When Δ ˙ ( t ) is nonzero but bounded, the same Lyapunov function yields an estimate of the following form:
    V ˙ c 1 V 1 / 2 + c 2 | Δ ˙ ( t ) | c 1 V 1 / 2 + c 2 d ¯
    Hence, for all V > c 2 c 1 d ¯ 2 , we have V ˙ < 0 . Therefore, all trajectories enter the compact set in finite time:
    V ( x 1 , x 2 ) : V ( x 1 , x 2 ) c 2 c 1 d ¯ 2
    Since V is positive definite and radially unbounded, there exist ρ , η > 0 (depending on d ¯ , k 1 , k 2 ) such that:
    V { ( x 1 , x 2 ) : | x 1 | ρ , | x 2 | η }
    Returning to original variables, | s | = | x 1 | and | v |   | x 2 |   +   | Δ | η + Δ ¯ , which proves that ( s , v ) reaches in finite time a compact set of the claimed form.
  • Step 3: Gain selection. The constants c 1 , c 2 depend on k 1 , k 2 . Increasing k 1 , k 2 increases the decay rate and reduces the steady neighborhood size; thus, one can choose k 1 , k 2 such that the resulting ρ , η meet a prescribed practical bound.

3.5. Boundedness and Practical Convergence of the Learning Loop

Proposition 1
(Bounded weights and practical convergence of the identification error). Under Assumption 2 and Assumption 3, the learning dynamics given by (17), (18), and (23) satisfy:
1.
The adaptive weights W ^ i ( t ) are uniformly bounded for all t 0 .
2.
The identification error e i ( t ) is ultimately bounded and reaches a compact set
Ω i { e i :   | e i |   ρ i }
where ρ i depends on ( Δ ¯ i , d ¯ i ) , the gains ( k 1 , i , k 2 , i ) , and σ i .
Proof. 
Let s i = e i . From (23),
s ˙ i = a i s i + W ˜ i Z i ( χ ) + Δ ¯ i ( t )
Consider the Lyapunov function candidate
V i ( t ) = 1 2 W ˜ i Γ i 1 W ˜ i + c i | s i |
where c i R + to satisfy the conditions of the Lyapunov candidate function. Using W ˜ ˙ i = W ^ ˙ i and (18),
d d t 1 2 W ˜ i Γ i 1 W ˜ i = W ˜ i Z i ( χ ) ν s t , i ( t ) + σ i W ˜ i Γ i 1 W ^ i
moreover, for s i 0 , d d t | s i | = sign ( s i ) s ˙ i . Therefore,
V ˙ i = W ˜ i Z i ν s t , i + c i sign ( s i ) a i s i + W ˜ i Z i + Δ ¯ i + σ i W ˜ i Γ i 1 W ^ i
The leakage cross-term is bounded via Cauchy–Schwarz and Young’s inequality as σ i W ˜ i Γ i 1 W ^ i σ i 2 Γ i 1 / 2 W ˜ i 2 + σ i 2 Γ i 1 / 2 W ^ i 2 , which prevents weight drift and yields uniform ultimate boundedness. Finally, the lemma provides a practical finite-time attenuation mechanism for the STA subsystem, which, together with the leakage term, implies boundedness of W ^ i ( t ) and the convergence of s i ( t ) to Ω i . □
Remark 3.
The result is practical: exact convergence e i ( t ) 0 can only be claimed in the ideal case Δ ¯ i ( t ) 0 with negligible approximation residuals.

3.6. Discrete-Time Implementation (Embedded Real-Time)

For real-time implementation with sampling period T s , (17) and (18) are discretized using the forward Euler:
v i [ k + 1 ] = v i [ k ] T s k 2 , i ψ ( s i [ k ] ) ν s t , i [ k ] = k 1 , i | s i [ k ] | 1 / 2 ψ ( s i [ k ] ) + v i [ k ] W ^ i [ k + 1 ] = ( 1 σ i T s ) W ^ i [ k ] + T s Γ i Z i ( χ [ k ] ) ν s t , i [ k ]
where ψ ( · ) is a smooth sign substitute. A typical choice is ψ ( s ) = sat ( s / ϕ ) with ϕ > 0 , satisfying | ψ ( s ) | 1 and ψ ( s ) = ψ ( s ) .
Remark 4.
The use of ψ ( · ) is recommended to mitigate quantization effects and measurement noise, improving robustness in fixed-point embedded implementations.

3.7. Standing Assumptions (Outer-Loop Analysis)

Before presenting the stability analysis of the outer-loop controller, a set of standard standing assumptions is introduced. These assumptions establish the regularity conditions of the strict-feedback system, the smoothness of the reference trajectory, and the boundedness properties required for the neural learning layer. Under these conditions, the closed-loop tracking error dynamics can be properly analyzed using Lyapunov arguments.
Assumption 4
(Strict-feedback regularity and non-singularity). Consider the strict-feedback plant described by Equation (5). The functions f i ( · ) and g i ( · ) exhibit local behavior The Lipschitz condition is satisfied on an open domain D R r , which encompasses the closed-loop trajectories. Furthermore, there are established constants g ̲ i , g ¯ i > 0 such that:
0 < g ̲ i | g i ( x i ) | g ¯ i , x D , i = 1 , , r
Assumption 5
(Bounded reference and derivatives). The reference y d ( t ) is r times differentiable and y d ( k ) ( t ) is bounded for k = 0 , 1 , , r .
Assumption 6
(Learning-layer finite-time bounded residual (used, not re-proved)). Let the RHONN approximators generate u ^ i * ( X i ) = W ^ i ( t ) Z i ( X i ) as estimates of the ideal (backstepping) functions u i * ( X i ) = W i * Z i ( X i ) + ϵ i ( X i ) , i = 1 , , r . Assume the previously analyzed ST learning law guarantees the existence of a finite time T L > 0 and known constants ϑ ¯ i > 0 such that, for all t T L :
| ϑ i ( t ) | ϑ ¯ i , i = 1 , , r
where ϑ i ( t ) aggregates NN approximation errors ϵ i ( · ) , disturbances/unmodeled dynamics, and the residual identification/weight mismatch after the learning transient.
Remark 5.
Assumption 6 is the only point where ST finite-time (practical) learning is used in the outer-loop analysis. No additional learning proof is required in this section.

3.8. Outer-Loop Controller and Error Dynamics

The backstepping error coordinates are defined as follows (as in (9) and (10)):
e 1 ( t ) = x 1 ( t ) y d , ( t ) e i ( t ) = x i ( t ) u i 1 v ( t ) , i = 2 , , r
where u i 1 v denotes the implemented virtual control. The practical neural backstepping laws are selected as
u i v ( t ) = u ^ i * ( X i ( t ) ) c i e i ( t ) , i = 1 , , r 1
and the actual input as
u ( t ) = u ^ r * ( X r ( t ) ) c r e r ( t )
with c i > 0 . Based on standard backstepping algebra (nominal couplings canceled by design), the tracking-error dynamics admit the nearest-neighbor triangular form
e ˙ 1 ( t ) = c 1 e 1 ( t ) + β 1 ( t ) e 2 + ϑ 1 ( t ) e ˙ i ( t ) = c i e i ( t ) + β i ( t ) e i + 1 β i 1 ( t ) e i 1 + ϑ i ( t ) , i = 2 , , r 1 e ˙ r ( t ) = c r e r ( t ) β r 1 ( t ) e r 1 + ϑ r ( t )
where β i ( t ) is induced by strict-feedback gains and coordinate transformations. Based on Assumption 4, there exist known constants β ¯ i > 0 such that
| β i ( t ) | β ¯ i , t 0 , i = 1 , , r 1
Remark 6.
The learning layer affects (38) only through the additive residual ϑ ( t ) , which is uniformly bounded for t T L by Assumption 6.

3.8.1. Auxiliary Coercivity Lemma

Lemma 2
(Uniform positive definiteness of the backstepping interconnection form). Let Q ( t ) R r × r be the symmetric tridiagonal matrix with diagonal entries c i and off-diagonal entries β i ( t ) / 2 , i = 1 , , r 1 . If there exists δ > 0 such that
c 1 1 2 β ¯ 1 + δ , c i 1 2 ( β ¯ i 1 + β ¯ i ) + δ , i = 2 , , r 1 , c r 1 2 β ¯ r 1 + δ
then Q ( t ) δ I uniformly for all t 0 .
Proof. 
For each row i, the sum of absolute off-diagonal terms is bounded by 1 2 ( β ¯ i 1 + β ¯ i ) (with β ¯ 0 = β ¯ r = 0 ). Condition (40) implies strict diagonal dominance of Q ( t ) δ I . Since Q ( t ) is symmetric, Gershgorin’s theorem yields λ min ( Q ( t ) ) δ uniformly in t. □

3.8.2. ISS/UUB of the Tracking Errors

Theorem 1
(Main theoretical result: ISS and UUB of the outer-loop tracking errors). Suppose Assumptions 4–6 hold. Choose c i > 0 such that (40) holds for some δ > 0 . Define ϑ ¯ i = 1 r ϑ ¯ i 2 . Then, for all t T L , the solution of (38) satisfies the ISS estimate
e ( t ) e δ ( t T L ) e ( T L ) + 1 e δ ( t T L ) ϑ ¯ δ
Consequently, e ( t ) is uniformly ultimately bounded and enters the ball
Ω e e R r : e ϑ ¯ δ
in finite time. In the ideal case ϑ ( t ) 0 , the origin is exponentially stable and e ( t ) 0 exponentially.
Proof. 
Consider V ( e ) = 1 2 e e . For t T L , differentiating V along (38) gives
V ˙ = i = 1 r c i e i 2 + i = 1 r 1 β i ( t ) e i e i + 1 + e ϑ ( t )
Introduce
Q ( t ) = c 1 β 1 ( t ) / 2 0 0 β 1 ( t ) / 2 c 2 β 2 ( t ) / 2 0 β 2 ( t ) / 2 0 c r 1 β r 1 ( t ) / 2 0 0 β r 1 ( t ) / 2 c r
so that
i = 1 r c i e i 2 + i = 1 r 1 β i ( t ) e i e i + 1 = e Q ( t ) e
Hence,
V ˙ e Q ( t ) e + e ϑ ( t )
Based on Lemma 2, Q ( t ) δ I , so e Q ( t ) e δ e 2 = 2 δ V . Moreover, based on Assumption 6, ϑ ( t ) ϑ ¯ for t T L . Thus,
V ˙ 2 δ V + 2 V ϑ ¯
let w ( t ) 2 V ( t ) = e ( t ) . For w ( t ) > 0 ,
w ˙ = V ˙ w δ w + ϑ ¯ , t T L
Solving the scalar comparison inequality yields (41). The UUB claim follows by letting t . If ϑ ¯ = 0 , then w ˙ δ w , and exponential convergence follows. □
Remark 7
(Strict Two-Layer Interpretation). Following the finite transient period T L , the ST learning loop ensures that the residual ϑ ( t ) remains uniformly bounded. The outer-loop backstepping error dynamics exhibit Input-to-State Stability (ISS) with respect to this residual, yielding a tunable ultimate bound of e ϑ ¯ / δ . Consequently, a reduced learning mismatch (smaller ϑ ¯ ) and/or an increased stability margin δ (achieved through larger c i ) results in a more constrained tracking neighborhood.
To provide a clearer graphical representation of the proposed control strategy, the flowchart shown in Figure 3 illustrates the complete algorithm employed for the DC motor speed regulation. This diagram summarizes the sequence of operations required for the implementation of the control scheme, including the computation of the control input, the neural adaptation mechanism, and the update of the system states.
The flowchart is constructed based on the theoretical developments presented throughout this section, particularly the stability analysis derived from the Lyapunov framework. In this sense, each step of the algorithm directly follows from the mathematical formulation and guarantees that the adaptive learning law and control input preserve the stability properties demonstrated in the Lyapunov-based proof. Therefore, the diagram provides an intuitive and structured overview of the implementation procedure, allowing readers to easily translate the theoretical results into a practical algorithm suitable for real-time applications. Furthermore, for reproducibility and implementation purposes, readers are encouraged to consult the Data Availability Statement section at the end of this article, where a link to the resources and code used in this work is provided.

3.9. Model of Permanent Magnet Direct Current Motor

To validate our RHONN backstepping technique, we apply it to a DC drive. To derive the dynamic model from the equivalent circuit illustrated in Figure 4, Kirchhoff’s voltage law is utilized for the electrical subsystem, while the mechanical dynamics are established through the application of Newton’s law of motion. The resulting continuous-time state-space representation is given in (42), where descriptions of each parameter are summarized in Table 1. This formulation is consistent with commonly adopted DC motor models reported in the literature, such as the one presented in [31,32].
[ i ˙ ( t ) ω ˙ ( t ) ] = R L K e L K t J B J [ i ( t ) ω ( t ) ] + [ 1 L 0 ] u ( t )

3.10. DC Drive Controller Design

The state-space defined in (42) must be rewritten to a set of differential equations, considering unknown perturbations d i ( t ) (such as parametric disturbances, torque inputs, etc.) to apply the controller shown in Section 3.2:
ω ˙ = K t J i ( t ) B J ω ( t ) + d 1 ( t )
i ˙ = R L i ( t ) K e L ω ( t ) + 1 L u ( t ) + d 2 ( t )
all terms are rearranged into packing functions of the following states:
ω ˙ = f 1 ( i , ω , d 1 , t ) + b 1 i
i ˙ = f 2 ( ω , i , d 2 , t ) + b 2 u ( t )
The set of functions and terms f 1 , f 2 , b 1 , b 2 are approximated by two RHONNs. Then, starting from the tracking error:
e 1 ( t ) = ω d ( t ) ω ( t )
after the error derivative is obtained, the following result is achieved:
e 1 ˙ ( t ) = ω d ˙ ( t ) ω ˙ ( t )
The following stable error dynamic is proposed to ensure convergence of the tracking error:
e 1 ˙ ( t ) = α e 1 ( t )
Equating (48) and (49) and substituting the identified dynamics with the RHONN model in (45) yields:
α e 1 ( t ) = ω d ˙ ( t ) f 1 ( i , ω , d 1 , t ) + b 1 ( t ) i ( t )
From this, the first virtual control u 1 * ( t ) is obtained. This virtual control can also be interpreted as the current that forces the DC drive to follow a mechanical speed reference; therefore, we redefine it as i d :
i d ( t ) = f 1 ( i , ω , d 1 , t ) ω ˙ ( t ) α e 1 ( t ) b 1 ( t )
Then, a robust PD controller acting on i d and canceling the dynamics of (46) is used with the following structure:
u ( t ) = K p e 2 ( t ) + K d e 2 ( t ) f 2 ( ω , i , d 2 , t ) b 2 ( t )
where:
e 2 ( t ) = i d ( t ) i ( t )
Based on the RHONN structure defined in (1) and considering the system dynamics given in (45), the following neuron structure is proposed to approximate the angular speed dynamics:
ω ˙ * = w 11 tanh ( ω ) + w 12 tanh 2 ( ω ) + w 13 tanh 3 ( ω ) + w 14 tanh 4 ( ω ) + w 15 i
where
  • f 1 = w 11 tanh ( ω ) + w 12 tanh 2 ( ω ) + w 13 tanh 3 ( ω ) + w 14 tanh 4 ( ω ) ,
  • b 1 = w 15 ,
  • w 1 , n denotes the synaptic weights of the first neuron.
For the current dynamics described in (46), the following RHONN representation is used:
i ˙ * = w 21 tanh ( ω ) + w 22 tanh ( i ) + w 23 tanh 2 ( ω ) + w 24 tanh 2 ( i ) + w 25 tanh ( ω ) tanh ( i ) + w 26 tanh 2 ( ω ) tanh 2 ( i ) + w 27 v ( t )
where
  • f 2 = w 21 tanh ( ω ) + w 22 tanh ( i ) + w 23 tanh 2 ( ω ) + w 24 tanh 2 ( i ) + w 25 tanh ( ω ) tanh ( i ) + w 26 tanh 2 ( ω ) tanh 2 ( i ) ,
  • b 2 = w 27 ,
  • w 2 , m denotes the synaptic weights of the second neuron.

4. Materials and Methods

4.1. Simulation Environment

The simulation results were obtained using the MATLAB R2021A/Simulink environment. The control strategy was implemented using standard Simulink blocks and MATLAB Function blocks for custom algorithms. The DC motor plant was modeled using the DC Motor block from the Simscape Electrical library, configured with the electromechanical parameters detailed in Table 2. The parameters used in the simulation correspond to the real DC motor plant presented in Table 3. The armature resistance and inductance were measured experimentally using laboratory instrumentation; the nominal current was taken from the datasheet; and the inertia and back-EMF constants were estimated based on the motor dimensions.
The Proportional–Derivative (PD) controllers were tuned based on the nominal plant model utilizing the Simulink PID Tuner app to achieve a robust response. The resulting tuning parameters were determined as K p 7.4373 , K d 0.0016 , with a derivative filter coefficient of N 709.51 . To evaluate the controller’s performance under realistic conditions, a non-linear friction model was introduced into the mechanical system. This disturbance was applied to the Simscape mechanical rotational port via a MATLAB Function block. The total friction torque, τ f , incorporates viscous friction, Coulomb friction, and a non-linear term to approximate Stribeck effects, governed by:
τ f = B v ω + T c sign ( ω ) + T n l tanh ( k ω )
where ω represents the angular velocity.

4.2. Real-Time Implementation Setup

The experimental validation was conducted using a low-cost hardware-in-the-loop (HIL) configuration. The control algorithm was directly deployed from Simulink to the microcontroller using the Simulink Support Package for Arduino Hardware, ensuring a seamless transition from simulation to real-time execution. The specific hardware components utilized in the experimental setup are summarized in Table 4.

5. Results

The results are organized into two main experimental stages. The first stage focuses on simulation-based validation and comparative analysis among several control strategies, including neural back-stepping, a tuned Proportional–Derivative (PD) controller, Linear Quadratic Regulator (LQR), Multi-Layer Perceptron (MLP), Model Predictive Controller (MPC), and the proposed RHONN controller. The second stage evaluates the real-time implementation of the RHONN controller on the physical system.

5.1. Simulation

During the simulation stage, all controllers were evaluated under identical operating conditions to ensure a fair comparison (controller parameters are described in Table 5) with the main objective of achieving accurate reference tracking while minimizing the tracking error and improving overall dynamic performance. As shown in Figure 5, all evaluated control strategies are capable of following the desired reference; however, clear differences can be observed in terms of transient response, overshoot, and steady-state accuracy. In particular, the RHONN controller exhibits a smoother behavior and consistently reduced tracking error throughout the entire simulation interval. To better illustrate the transient behavior, a 1-s zoom of the reference tracking is shown in Figure 6, where the superior dynamic response of the RHONN controller becomes more evident, achieving faster convergence and reduced oscillations compared to conventional controllers. In contrast, the PD and LQR controllers exhibit larger deviations during rapid reference changes, whereas the MLP and MPC controllers exhibit slower adaptation to the reference signal. A quantitative performance comparison is provided in Figure 7, where standard error-based performance indices are evaluated, including the Integral of Time-weighted Absolute Error (ITAE) [33], Integral of Time-weighted Squared Error (ITSE) [34], Integral of Absolute Error (IAE) [33], Integral of Squared Error (ISE) [34], and Integral of Mean Squared Error (IMSE), which are commonly used to assess both transient and steady-state behavior in control systems. As illustrated in Figure 7, the RHONN controller consistently achieves the lowest values across all evaluated indices, indicating a significant reduction in both error magnitude and error duration compared to the PD controller and the remaining strategies, with particularly noticeable improvements in time-weighted metrics such as ITAE and ITSE. Overall, these simulation results demonstrate that the proposed RHONN-based control strategy outperforms both classical and intelligent controllers in terms of reference tracking accuracy, transient response, and robustness, thereby validating its effectiveness and motivating its implementation and evaluation under real-time experimental conditions, as discussed in the following subsection.
Table 6 summarizes the quantitative performance metrics obtained for each evaluated controller, including ITAE, ITSE, IAE, ISE, and IMSE, together with their corresponding relative reductions with respect to the proposed RHONN controller. The table provides a comprehensive numerical comparison that complements the graphical results presented in Figure 7. As observed, the RHONN controller achieves the lowest absolute values for all considered performance indices, confirming its superior tracking accuracy and dynamic response. Classical controllers such as PD exhibit only marginal degradation relative to RHONN, whereas optimal and predictive approaches, namely LQR and MPC, show a noticeable increase in error-related metrics, particularly in time-weighted and squared-error indices. The MLP-based controller shows the largest performance degradation, especially in the IAE metric, indicating reduced robustness and poorer steady-state behavior. Overall, the relative reduction values reported in Table 6 clearly demonstrate that the RHONN controller consistently outperforms the remaining control strategies across all evaluation criteria.

5.2. Real Time

During the real-time experimental stage, the proposed RHONN controller was implemented on a physical test platform in order to evaluate its performance under practical operating conditions. The complete proposed algorithm was implemented on an Arduino Uno microcontroller, which performed real-time computation of the control law and online adaptation of the RHONN parameters. The experimental system consisted of a 12 V brushed DC motor rated at 0.8 A, equipped with an incremental encoder to measure the shaft speed. The encoder signal was acquired by the Arduino to estimate the motor speed in real time, which was then used as feedback for the controller. The control signal generated by the proposed algorithm was produced as a PWM signal from the Arduino and subsequently amplified using an L298N motor driver module. This driver stage allowed the low-power PWM signal generated by the microcontroller to provide sufficient voltage and current to drive the motor, acting as the power interface between the controller and the plant. The hardware platform and main components of the experimental setup are summarized in Table 4, and an image of the setup is shown in Figure 8.
In the experiments, the Arduino executed the complete control algorithm in real time, including the RHONN-based plant identification and the backstepping controller described in the previous sections. The microcontroller processed encoder measurements to estimate motor speed, updated the RHONN parameters online to identify plant dynamics, and computed the control action applied to the motor via the PWM signal. The control algorithm was implemented using a sampling time of T s = 0.0005 s, which corresponds to the minimum sampling period allowed by the Arduino–Simulink communication library used for the embedded implementation. For monitoring purposes, the Arduino continuously transmitted the measured signals, including the motor speed and control input, to a host computer through serial communication. These signals were used only for visualization and analysis and were displayed in MATLAB, which served as a graphical interface for observing the experimental responses.
The experimental tests were conducted to evaluate the real-time performance of the proposed control scheme under practical operating conditions and to analyze its behavior when implemented on embedded hardware. Figure 9 shows the reference tracking performance obtained in the real-time experiment. It can be observed that the RHONN-based plant identification, combined with the backstepping controller, accurately tracks the desired reference while maintaining stable system operation. Compared with the simulation results, a slight degradation in tracking accuracy was observed; however, the overall dynamic behavior remained consistent. This difference is mainly attributed to practical factors present in the physical system, such as sensor noise, nonlinearities introduced by the motor driver, and computational delays associated with the embedded implementation.
A one-second zoom of the tracking response, shown in Figure 10, provides a closer view of the transient behavior. In this interval, a slight increase in tracking error and small oscillations are observed during rapid reference variations. Nevertheless, the controller maintains fast convergence and satisfactory transient performance, indicating adequate robustness under practical operating conditions. As previously observed, the proposed control scheme achieves satisfactory reference tracking and stable operation in real-time conditions. However, to provide a more objective comparison between the real-time implementation and simulation results, a quantitative evaluation is conducted using commonly adopted performance metrics reported in the literature. A quantitative comparison between the simulation and real-time execution is shown in Figure 11, where several standard performance indices are evaluated, including ITAE, ITSE, IAE, ISE, and IMSE. As expected, these error metrics showed slightly higher values in the real-time experiment than in the simulation, confirming minor performance degradation. Nevertheless, the increase remained moderate, indicating that the proposed control scheme preserves most of its performance when transferred from simulation to the physical system.
Additionally, the identification capability of the RHONN is analyzed in Figure 12 and Figure 13, which illustrate the convergence of the estimated angular-speed and armature-current dynamics, respectively. In both cases, the RHONN can identify the system behavior in real time, producing dynamics that closely match those observed in the simulation. Overall, the real-time experimental results confirm the practical feasibility of the proposed RHONN controller. Despite real-world disturbances and hardware constraints, the controller maintains stable reference tracking and reliable dynamic identification, demonstrating its suitability for real-time motor control applications.

6. Discussion

The results presented in this paper validate the effectiveness of the proposed continuous hybrid control scheme, which integrates an RHONN with a STA learning law. The primary objective was to address the limitations of conventional control strategies in DC drives, specifically regarding robustness against nonlinear friction and parameter uncertainty, while maintaining a computational footprint low enough for embedded implementation.

6.1. Performance Analysis vs. Conventional and Optimal Strategies

The simulation results (Table 5) clearly demonstrate that the RHONN-based controller outperforms classical linear controllers (PD) and optimal strategies (LQR, MPC) across all evaluated metrics. The linear controllers exhibited performance degradation under the non-linear Stribeck friction model introduced in the plant. This is an expected limitation, as fixed-gain linear controllers cannot naturally compensate for state-dependent nonlinearities without high-gain feedback, which often amplifies noise. Furthermore, while the Model Predictive Controller (MPC) provided competitive results [35], it relies heavily on an accurate mathematical model of the system. In the presence of unmodeled dynamics—such as the complex friction added in the simulation—the MPC’s predictive capability diminishes. In contrast, the RHONN controller demonstrated superior adaptability. The structural plasticity of the High-Order Neural Network allowed it to capture these unmodeled dynamics online, effectively acting as a dynamic compensator. This is evidenced by the 23.82 % reduction in the Integral of Mean Squared Error (IMSE) compared to the MPC. Additionally, the RHONN outperformed the static Multi-Layer Perceptron (MLP), confirming that recurrent connections and high-order terms are essential for capturing temporal dependencies and the dynamic behavior of electromechanical systems.

6.2. The Role of Super-Twisting Learning

A key contribution of this work is the replacement of the conventional Extended Kalman Filter (EKF) with a Super-Twisting Algorithm (STA) for neural network training. Although the EKF is a powerful estimator, its implementation requires covariance matrix updates, resulting in a computational complexity on the order of O ( L 2 ) or O ( L 3 ) , where L denotes the number of neural weights. Such computational requirements often limit its applicability in high-frequency learning scenarios, particularly when using low-cost microcontrollers or embedded platforms.
In contrast, the proposed STA-based learning law significantly reduces the computational burden to O ( L ) while preserving strong robustness properties. The theoretical analysis presented in Section 3.7 demonstrates that the proposed learning scheme guarantees finite-time convergence of the identification error to a bounded compact set. This theoretical result is supported by the experimental findings. In particular, the identification results for angular speed ( ω ) and armature current (i), shown in Figure 12 and Figure 13, exhibit fast convergence and stable behavior, avoiding the numerical instabilities often encountered in gradient-based methods under noisy conditions. Furthermore, the STA operates as a robust differentiator, attenuating measurement noise while driving the neural weights toward the optimal manifold defined by the system error dynamics.

6.3. Real-Time Feasibility and Hardware Constraints

The successful deployment of the algorithm on an Arduino Uno (ATmega328P) serves as a strong proof of concept for the “Green AI” and efficient computing paradigm. Most modern neural control strategies require DSPs or FPGAs. By demonstrating that a robust adaptive neural controller can run on an 8-bit, 16 MHz microcontroller with limited RAM (2 KB), this work opens pathways for deploying intelligent control in cost-sensitive industrial applications. Comparing the simulation and real-time results (Figure 10), a slight increase in error metrics (ITAE, ITSE) was observed in the physical implementation. This degradation is attributed to physical phenomena not fully captured in the simulation, such as sensor quantization noise, discrete-time sampling delays ( T s ), and H-bridge dead-time effects. However, the system maintained stability and high tracking accuracy, validating the robustness of the STA-driven weight adaptation against real-world uncertainties.
Although the proposed algorithm demonstrates significant improvements in adaptability and performance compared to conventional approaches and several modern learning-based techniques, certain practical considerations must still be acknowledged for specific applications. For instance, advanced drive functionalities such as four-quadrant operation may require additional implementation considerations, particularly when the control algorithm is deployed on hardware platforms with limited computational resources.
In contrast, traditional controllers such as PD or PID remain attractive in some industrial environments due to their extremely low computational cost and minimal programming complexity, often requiring only a few lines of code. Nevertheless, the proposed approach remains a practical alternative, especially given that the processing capabilities of modern embedded systems have significantly improved while hardware costs have continued to decrease. These technological advances make it increasingly feasible to implement more sophisticated adaptive and intelligent control strategies in real-world applications. Furthermore, the results presented in this work demonstrate that the proposed RHONN–STA framework can already operate successfully on low-cost embedded hardware. Future work will therefore focus on extending the proposed framework to include more advanced motor-drive features, including four-quadrant operation, improved low-speed performance, and the integration of protection mechanisms, such as overcurrent management, to enhance industrial applicability.

6.4. Limitations

Despite promising results, the proposed scheme relies on properly tuned Super-Twisting gains ( k 1 , k 2 ). While the STA is robust, improper gain selection can lead to chattering in the weight updates, which may propagate to the control signal. Although the σ -modification in the update law helps mitigate parameter drift, an adaptive gain-tuning mechanism could further improve ease of deployment.

7. Conclusions and Future Work

This paper presented a novel robust control scheme for DC motor drives, integrating a PD-based backstepping controller with an online-trained RHONN. A primary contribution of this research was the implementation of a STA for real-time weight adaptation in the neural network, effectively replacing the computationally intensive EKF typically used in these applications.
Simulation results demonstrated that the proposed RHONN-STA architecture successfully serves as a dynamic compensator, accurately identifying and mitigating nonlinearities and unmodeled dynamics, including complex Stribeck friction. The proposed method consistently outperformed classical linear controllers (PD), optimal and predictive strategies (LQR, MPC), and shallow static neural networks (MLP) across standard error metrics. Notably, it achieved significant reductions in the Integral of Mean Squared Error (IMSE) and time-weighted indices, demonstrating superior transient and steady-state performance.
Furthermore, the practical feasibility of the proposed approach was validated through real-time experimental deployment on a low-cost, resource-constrained 8-bit microcontroller. Despite physical hardware limitations, sensor quantization noise, and discrete-time sampling delays, the STA-driven learning law maintained high tracking accuracy, fast convergence, and robust stability. This experimental validation confirms that advanced, high-order intelligent control algorithms can be efficiently executed in real-time without relying on expensive, high-end DSPs. Future research will focus on extending this adaptive control architecture to multivariable, heavily cross-coupled systems, such as Permanent Magnet Synchronous Motors (PMSMs) and Induction Motors. Additionally, the integration of variable-gain Super-Twisting algorithms will be investigated to further optimize the trade-off between convergence speed and chattering mitigation for high-precision electromechanical applications.
Future research will focus on two main directions: first, extending this architecture to multivariable systems such as Permanent Magnet Synchronous Motors (PMSMs) and Induction Motors, where cross-coupling effects are more significant; and second, investigating the implementation of variable-gain Super-Twisting algorithms to eliminate the trade-off between convergence speed and chattering reduction, further optimizing the controller for high-precision robotic applications.

Author Contributions

Conceptualization, I.R.U.L. and F.R.L.-E.; methodology, I.R.U.L. and J.A.M.H.; software, I.R.U.L. and A.E.R.M.; validation, I.R.U.L., O.J.S. and A.A.L.-G.; formal analysis, I.R.U.L. and F.R.L.-E.; investigation, I.R.U.L., J.A.M.H. and A.E.R.M.; resources, F.R.L.-E. and A.A.L.-G.; data curation, I.R.U.L. and O.J.S.; writing—original draft preparation, I.R.U.L.; writing—review and editing, J.A.M.H., F.R.L.-E. and O.J.S.; visualization, I.R.U.L. and A.E.R.M.; supervision, F.R.L.-E.; project administration, F.R.L.-E.; funding acquisition, F.R.L.-E. and A.A.L.-G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Tecnológico Nacional de México under the program Proyectos de Investigación Científica, Humanistíca, Desarrollo Tecnológico a Innovación, and the international network Red Internacional de Control y Cómputo Aplicado. The authors also gratefully acknowledge the financial support provided by the Government of the State of Chihuahua and the Instituto de Innovación y Competitividad through the FECTI project C02-IBA//035. The authors also thank the Tecnológico Nacional de México and Universidad de Pamplona for the financial support provided for research projects.

Data Availability Statement

The data and simulation models supporting the findings of this study are publicly available in the following GitHub repository: https://github.com/ivanurbina/super-twisting-online-rhonn-dc-motor-control.git (accessed on 16 January 2026). The repository contains the MATLAB/Simulink models, control algorithms, and scripts used to generate and analyze the results reported in this paper.

Acknowledgments

The authors gratefully acknowledge the infrastructure and technical facilities provided by the Tecnológico Nacional de México, Campus Chihuahua, especially the Laboratory of Electromobility and Automatic Control, which supported the experimental development of this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DCDirect Current
PMDCPermanent Magnet Direct Current
BLDCBrushless Direct Current
PMSMPermanent Magnet Synchronous Motor
PIDProportional–Integral–Derivative
SMCSliding Mode Control
STSuper-Twisting
STASuper-Twisting Algorithm
RHONNRecurrent High-Order Neural Network
NNNeural Network
EKFExtended Kalman Filter
ISSInput-to-State Stability
UUBUniformly Ultimately Bounded
HILHardware-in-the-Loop
LQRLinear Quadratic Regulator
MPCModel Predictive Control
MLPMulti-Layer Perceptron
ITAEIntegral of Time-weighted Absolute Error
ITSEIntegral of Time-weighted Squared Error
IAEIntegral of Absolute Error
ISEIntegral of Squared Error
IMSE      Integral of Mean Squared Error

References

  1. Shao, L.; Hartavi, A.; Tavernini, D.; Sorniotti, A.; Cheng, M. Design Approaches and Control Strategies for Energy-Efficient Electric Machines for Electric Vehicles—A Review. IEEE Access 2020, 8, 116900–116913. [Google Scholar] [CrossRef]
  2. Şen, M.; Mutluer, M. A Review of BLDC Motors: Types, Application, Failure Modes and Detection. Energies 2025, 18, 6402. [Google Scholar] [CrossRef]
  3. Megrini, M.; Gaga, A.; Mehdaoui, Y. Review of electric vehicle traction motors, control systems, and various implementation cards. J. Oper. Autom. Power Eng. 2025, 13, 238–247. [Google Scholar]
  4. Alfaro, V.; Vilanova, R. PID control: Resilience with respect to controller implementation. Front. Control Eng. 2022, 3, 1061830. [Google Scholar] [CrossRef]
  5. Afifa, R.; Ali, S.; Pervaiz, M.; Iqbal, J. Adaptive backstepping integral sliding mode control of a mimo separately excited DC motor. Robotics 2023, 12, 105. [Google Scholar] [CrossRef]
  6. Murtaza, G.; Bhatti, A. Control of DC motors using sliding mode. In Proceedings of the 9th International Bhurban Conference on Applied Sciences & Technology (IBCAST); IEEE: New York, NY, USA, 2012; pp. 37–42. [Google Scholar] [CrossRef]
  7. Mohammed, A.; Al-Shamaa, N.; Al-Dujaili, A.Q. Super-Twisting sliding mode control of permanent magnet DC motor. In Proceedings of the 18th International Colloquium on Signal Processing & Applications (CSPA); IEEE: New York, NY, USA, 2022; pp. 347–352. [Google Scholar] [CrossRef]
  8. Alejandro-Sanjines, U.; Maisincho-Jivaja, A.; Asanza, V.; Lorente-Leyva, L.; Peluffo-Ordóñez, D. Adaptive PI controller based on a reinforcement learning algorithm for speed control of a DC motor. Biomimetics 2023, 8, 434. [Google Scholar] [CrossRef]
  9. Zhang, S.; Wallscheid, O.; Porrmann, M. Machine learning for the control and monitoring of electric machine drives: Advances and trends. IEEE Open J. Ind. Appl. 2023, 4, 188–214. [Google Scholar] [CrossRef]
  10. Salzmann, T.; Kaufmann, E.; Arrizabalaga, J.; Pavone, M.; Scaramuzza, D.; Ryll, M. Real-time neural MPC: Deep learning model predictive control for quadrotors and agile robotic platforms. IEEE Robot. Autom. Lett. 2023, 8, 2397–2404. [Google Scholar] [CrossRef]
  11. Quintero-Manríquez, E.; Sanchez, E.; Antonio-Toledo, M.; Muñoz, F. Neural control of an induction motor with regenerative braking as electric vehicle architecture. Eng. Appl. Artif. Intell. 2021, 104, 104275. [Google Scholar] [CrossRef]
  12. Chen, H.; Zhang, J.; Lv, C. RHONN Modelling-Enabled Nonlinear Predictive Control for Lateral Dynamics Stabilization of an In-Wheel Motor Driven Vehicle. IEEE Trans. Veh. Technol. 2022, 71, 8296–8308. [Google Scholar] [CrossRef]
  13. El-Sousy, F.; Amin, M.; Mohammed, O. Robust Adaptive Neural Network Tracking Control With Optimized Super-Twisting Sliding-Mode Technique for Induction Motor Drive System. IEEE Trans. Ind. Appl. 2022, 58, 4134–4157. [Google Scholar] [CrossRef]
  14. Sanchez, E.; Alanís, A.; Loukianov, A. Discrete-Time High Order Neural Control: Trained with Kalman Filtering. In Studies in Computational Intelligence; Springer: Berlin/Heidelberg, Germany, 2008; Volume 144, pp. 1–206. [Google Scholar] [CrossRef]
  15. Shtessel, Y.; Edwards, C.; Fridman, L.; Levant, A. Sliding Mode Control and Observation; Control Engineering; Springer: New York, NY, USA, 2014. [Google Scholar] [CrossRef]
  16. Djilali, L.; Badillo-Olvera, A.; Yuliana Rios, Y.; López-Beltrán, H.; Saihi, L. Neural High Order Sliding Mode Control for Doubly Fed Induction Generator based Wind Turbines. IEEE Lat. Am. Trans. 2022, 20, 223–232. [Google Scholar] [CrossRef]
  17. Attah, I.; Hussien, S.; Agboola, O.; Inumoh, L.; Ibrahim, H.; Chukwu, M. Neuro-Super Twisting Sliding Mode Control of a Direct Current Motor. In Proceedings of the International Conference on Electrical, Computer and Energy Technologies (ICECET); IEEE: New York, NY, USA, 2021; pp. 1–6. [Google Scholar] [CrossRef]
  18. Kim, H.; Kee, S. Neural Network Approach Super-Twisting Sliding Mode Control for Path-Tracking of Autonomous Vehicles. Electronics 2023, 12, 3635. [Google Scholar] [CrossRef]
  19. Sami, I.; Ullah, S.; Amin, S.; Al-Durra, A.; Ullah, N.; Ro, J. Convergence Enhancement of Super-Twisting Sliding Mode Control Using Artificial Neural Network for DFIG-Based Wind Energy Conversion Systems. IEEE Access 2022, 10, 97625–97641. [Google Scholar] [CrossRef]
  20. Chen, D.; Li, S.; Wu, Q. A Novel Supertwisting Zeroing Neural Network With Application to Mobile Robot Manipulators. IEEE Trans. Neural Netw. Learn. Syst. 2021, 32, 1776–1787. [Google Scholar] [CrossRef]
  21. Rios, J.; Alanis, A.; Arana, N.; Lopez, C. Realtime neural observerbased controller for unknown nonlinear discrete delayed systems. Int. J. Robust Nonlinear Control 2020, 30, 8402–8429. [Google Scholar] [CrossRef]
  22. Charoosaei, F.; Noohi, M.; Sadrossadat, S.; Mirvakili, A.; Na, W.; Feng, F. High-Order Deep Recurrent Neural Network With Hybrid Layers for Modeling Dynamic Behavior of Nonlinear High-Frequency Circuits. IEEE Trans. Microw. Theory Tech. 2022, 70, 5340–5358. [Google Scholar] [CrossRef]
  23. Ramirez, L.; Pech, M.; Anzurez, J.; Tapia, R.; Ríos, J.; Alanís, A. PID Control of a PMDC Motor Identified with RHONN and EKF for Performance Improvement. In Proceedings of the IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC); IEEE: New York, NY, USA, 2024; pp. 1–7. [Google Scholar] [CrossRef]
  24. Rios-Huerta, D.; Alanis, A.; Rios, J.; Arana-Daniel, N. Neural Identifier using Super-Twisting Differentiator Training Algorithm. In Americas Conference on Information Systems; Association for Information Systems (AIS): Atlanta, GA, USA, 2019. [Google Scholar]
  25. Rodriguez-Castellanos, D.; Blas-Valdez, M.; Solis-Perales, G.; Perez-Cisneros, M. Neural Robust Control for a Mobile Agent Leader–Follower System. Appl. Sci. 2024, 14, 5374. [Google Scholar] [CrossRef]
  26. Smith, L.; Topin, N. Super-convergence: Very fast training of neural networks using large learning rates. In Proceedings of the Artificial Intelligence and Machine Learning for Multi-Domain Operations Applications; SPIE: Bellingham, WA, USA, 2019; Volume 11006, pp. 369–386. [Google Scholar] [CrossRef]
  27. Vega, J.; Sanchez, E.; Djilali, L.; Loukianov, A. Neural inverse optimal control of single-phase induction motors. In Proceedings of the 8th International Conference on Control, Decision and Information Technologies (CoDIT); IEEE: New York, NY, USA, 2022; Volume 1, pp. 268–273. [Google Scholar] [CrossRef]
  28. Alanis, A. Exploring Kalman Filtering Applications for Enhancing Artificial Neural Network Learning. Algorithms 2025, 18, 587. [Google Scholar] [CrossRef]
  29. Ruz-Hernandez, J.; Garcia-Hernandez, R.; Ruz Canul, M.; Guerra, J.; Rullan-Lara, J.; Vior-Franco, J. Neural sliding mode control of a buck-boost converter applied to a regenerative braking system for electric vehicles. World Electr. Veh. J. 2024, 15, 48. [Google Scholar] [CrossRef]
  30. Djilali, L.; Suarez, O.; Sanchez, E.; Alanis, A.; Pardo, A. Real-time neural backstepping control for a helicopter prototype. In Proceedings of the IEEE Latin American Conference on Computational Intelligence (LA-CCI); IEEE: New York, NY, USA, 2017; pp. 1–6. [Google Scholar] [CrossRef]
  31. Fazdi, M.; Hsueh, P. Parameters Identification of a Permanent Magnet DC Motor: A Review. Electronics 2023, 12, 2559. [Google Scholar] [CrossRef]
  32. Urbina, I.; Medrano, J.; Rodríguez, A.; López-Estrada, F.; Djilali, L.; Badillo-Olvera, A. Adaptive Real-Time Neural Control of Permanent Magnet DC Motors Under Uncertainty. In Proceedings of the 22nd International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE); IEEE: New York, NY, USA, 2025; pp. 1–6. [Google Scholar] [CrossRef]
  33. Wang, J.; Zhang, Y.; Ren, S.; Wang, H. Parameter Optimization Design of MPC Controller in AUV Motion Control Based on Improved Black-Winged Kite Algorithm. J. Mar. Sci. Eng. 2025, 13, 2018. [Google Scholar] [CrossRef]
  34. Dhanasekaran, B.; Kaliannan, J.; Baskaran, A.; Dey, N.; Tavares, J. Load Frequency Control Assessment of a PSO-PID Controller for a Standalone Multi-Source Power System. Technologies 2023, 11, 22. [Google Scholar] [CrossRef]
  35. Gutiérrez-Urquídez, R.; Valencia-Palomo, G.; Rodríguez-Elias, O.M.; Trujillo, L. Systematic selection of tuning parameters for efficient predictive controllers using a multiobjective evolutionary algorithm. Appl. Soft Comput. 2015, 31, 326–338. [Google Scholar] [CrossRef]
Figure 1. System’s block diagram.
Figure 1. System’s block diagram.
Processes 14 01019 g001
Figure 2. General RHONN architecture.
Figure 2. General RHONN architecture.
Processes 14 01019 g002
Figure 3. Flowchart of the proposed neural control algorithm.
Figure 3. Flowchart of the proposed neural control algorithm.
Processes 14 01019 g003
Figure 4. DC drive equivalent circuit.
Figure 4. DC drive equivalent circuit.
Processes 14 01019 g004
Figure 5. Reference tracking performance comparison between RHONN, PD, LQR, MLP, and MPC controllers.
Figure 5. Reference tracking performance comparison between RHONN, PD, LQR, MLP, and MPC controllers.
Processes 14 01019 g005
Figure 6. One-second zoom of the reference tracking response.
Figure 6. One-second zoom of the reference tracking response.
Processes 14 01019 g006
Figure 7. Performance metric comparisons between RHONN and PD, LQR, MLP, and MPC controllers: (a) ITAE, (b) ITSE, (c) IAE, (d) ISE, (e) IMSE.
Figure 7. Performance metric comparisons between RHONN and PD, LQR, MLP, and MPC controllers: (a) ITAE, (b) ITSE, (c) IAE, (d) ISE, (e) IMSE.
Processes 14 01019 g007
Figure 8. Experimental setup of the real-time hardware platform used to validate the proposed controller.
Figure 8. Experimental setup of the real-time hardware platform used to validate the proposed controller.
Processes 14 01019 g008
Figure 9. Real-time speed reference tracking performance.
Figure 9. Real-time speed reference tracking performance.
Processes 14 01019 g009
Figure 10. One-second zoom of the reference tracking response.
Figure 10. One-second zoom of the reference tracking response.
Processes 14 01019 g010
Figure 11. Performance metric comparisons between the RHONN model and its real-time implementation: (a) ITAE, (b) ITSE, (c) IAE, (d) ISE, (e) IMSE.
Figure 11. Performance metric comparisons between the RHONN model and its real-time implementation: (a) ITAE, (b) ITSE, (c) IAE, (d) ISE, (e) IMSE.
Processes 14 01019 g011
Figure 12. Angular speed dynamic convergence comparison.
Figure 12. Angular speed dynamic convergence comparison.
Processes 14 01019 g012
Figure 13. Armature current dynamic convergence comparison.
Figure 13. Armature current dynamic convergence comparison.
Processes 14 01019 g013
Table 1. Parameters of the DC drive model.
Table 1. Parameters of the DC drive model.
SymbolDescriptionUnit
RArmature resistance Ω
LArmature inductanceH
K t Torque constantN·m/A
K b Back EMF constantV·s/rad
JRotor inertiakg·m2
BViscous friction coefficientN·m·s/rad
i ( t ) Armature currentA
ω ( t ) Angular speedrad/s
Table 2. Parameters of the DC drive Simscape block.
Table 2. Parameters of the DC drive Simscape block.
SymbolDescriptionValue
R a Armature resistance 6.2 Ω
L a Armature inductance 0.5 mH
K b Back-EMF constant 0.04943 V s rad 1
JRotor inertia 1 × 10 4 kg m 2
I n o m Rated armature current 0.8 A
Table 3. Parameters of the non-linear friction model.
Table 3. Parameters of the non-linear friction model.
SymbolDescriptionValue
B v Viscous friction coefficient 5 × 10 5 N m s rad 1
T c Coulomb friction torque 5 × 10 4 N m
T n l Non-linear friction torque 2.5 × 10 4 N m
kSmoothing gain 100 s rad 1
Table 4. Experimental hardware platform.
Table 4. Experimental hardware platform.
ComponentDescriptionDetails (Manufacturer/Version/Reference)
MicrocontrollerArduino Uno (ATmega328P, 16 MHz)Arduino SA, Ivrea, Italy
Motor DriverL298N dual H-bridge driverSTMicroelectronics, Geneva, Switzerland
DC Motor12 V brushed DC motor, 0.8 A nominal currentGeneric manufacturer
Speed SensorIncremental encoder mounted on motor shaftGeneric manufacturer
Control SignalPWM generated by Arduino UnoFirmware via Arduino IDE (2.3.7)
CommunicationSerial communication between Arduino and PCUSB serial protocol
Data Processing SoftwareMATLAB for signal acquisition and visualizationMathWorks, Natick, MA, USA; Version R2021A
Table 5. Summary of implemented controllers.
Table 5. Summary of implemented controllers.
ControllerDescriptionValue
MLPA one-hidden-layer feedforward neural network with online adaptation (backpropagation-like update using the sign of the plant gradient and normalization for stability). The network output was scaled and saturated within the range [ 0 , 12 ] . Additionally, the training process was carried out in MATLAB using its optimization algorithms to facilitate parameter adjustment of the model.Hidden neurons: N = 10
Activation: tanh ( · )
Learning rate: η = 0.1
Output scaling: u = 6 ( tanh ( z 2 ) + 1 ) , saturates to [ 0 , 12 ]
Weight init: W 1 , W 2 0.1 · N ( 0 , 1 )
Normalization factor in updates: 1 + a 1 a 1
MPCA finite-horizon predictive controller based on an online-identified scalar model (Self-Tuning Regulator) was employed. The parameters a and b were estimated using the Recursive Least Squares (RLS) algorithm, while a Riccati recursion was used to compute the control gain over the prediction horizon. Additionally, the parameter identification and training procedures were carried out in Matlab using its optimization algorithms to facilitate parameter adjustment.Prediction horizon: N = 10
Cost weights: Q = 1.0 , R = 0.01
RLS forgetting factor: λ = 0.97
Control limits: u min = 0.1 , u max = 0.9
LQRAdaptive discrete LQR (Self-Tuning Regulator). The system dynamics were identified online using the Recursive Least Squares (RLS) algorithm through the scalar model e ( k + 1 ) = a ^ e ( k ) + b ^ u ( k ) . Based on these estimated parameters, an iterative solution of the algebraic Riccati equation was employed to compute the LQR gain, approximating the infinite-horizon optimal control law. Additionally, the parameter identification and training procedures were carried out in Matlab using its optimization algorithms to facilitate parameter adjustment.Model form: e k + 1 = a ^ e k + b ^ u k
Cost weights: Q = 1.0 , R = 0.01
RLS forgetting factor: λ = 0.97
Riccati iterations: N r i c c = 20
PDThe control action was computed using proportional and derivative terms to regulate the system’s response and reduce the tracking error. Additionally, the controller parameters were tuned and validated using Matlab and its optimization tools.Proportional gain: K p = 7.4373
Derivative gain: K d = 0.0016
Table 6. Performance metrics and relative reduction for each controller.
Table 6. Performance metrics and relative reduction for each controller.
ControllerITAEITSEIAEISEIMSE
Val Red. Val Red. Val Red. Val Red. Val Red.
RHONN136.60261510.29188.2012.55
PD138.20−1.17%2616−0.04%10.50−2.04%188.40−0.11%12.56−0.08%
LQR152.50−11.64%3273−25.16%11.36−10.40%236.50−25.66%15.76−25.58%
MPC152.60−11.71%3225−23.33%11.47−11.47%233.10−23.86%15.54−23.82%
MLP174.60−27.82%2695−3.06%15.68−52.38%195.90−4.09%13.06−4.06%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Urbina Leos, I.R.; Medrano Hermosillo, J.A.; Rodriguez Mata, A.E.; Lopez-Estrada, F.R.; Suarez, O.J.; Luna-Gómez, A.A. Super-Twisting-Based Online Learning in High-Order Neural Networks for Robust Backstepping Control of DC Motors Under Uncertainty. Processes 2026, 14, 1019. https://doi.org/10.3390/pr14061019

AMA Style

Urbina Leos IR, Medrano Hermosillo JA, Rodriguez Mata AE, Lopez-Estrada FR, Suarez OJ, Luna-Gómez AA. Super-Twisting-Based Online Learning in High-Order Neural Networks for Robust Backstepping Control of DC Motors Under Uncertainty. Processes. 2026; 14(6):1019. https://doi.org/10.3390/pr14061019

Chicago/Turabian Style

Urbina Leos, Ivan R., Jesus A. Medrano Hermosillo, Abraham E. Rodriguez Mata, Francisco R. Lopez-Estrada, Oscar J. Suarez, and Alma Alejandra Luna-Gómez. 2026. "Super-Twisting-Based Online Learning in High-Order Neural Networks for Robust Backstepping Control of DC Motors Under Uncertainty" Processes 14, no. 6: 1019. https://doi.org/10.3390/pr14061019

APA Style

Urbina Leos, I. R., Medrano Hermosillo, J. A., Rodriguez Mata, A. E., Lopez-Estrada, F. R., Suarez, O. J., & Luna-Gómez, A. A. (2026). Super-Twisting-Based Online Learning in High-Order Neural Networks for Robust Backstepping Control of DC Motors Under Uncertainty. Processes, 14(6), 1019. https://doi.org/10.3390/pr14061019

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

Article Metrics

Back to TopTop