Next Article in Journal
Fault Prediction of Hydropower Station Based on CNN-LSTM-GAN with Biased Data
Previous Article in Journal
Directions of the Energy Transition in District Heating: Case Study of Poland
Previous Article in Special Issue
Space Vector Modulation Methods with Modified Zero Vector Distribution for Electrical Vehicle Drives with Six-Phase Induction Motor Operating Under Direct Field-Oriented Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid NARX Neural Network with Model-Based Feedback for Predictive Torsional Torque Estimation in Electric Drive with Elastic Connection

1
Faculty of Electrical Engineering, Wrocław University of Science and Technology, 50-370 Wrocław, Poland
2
Instytut Automatyki, Politechnika Łódzka, ul. Stefanowskiego 18, 90-537 Łódź, Poland
*
Author to whom correspondence should be addressed.
Energies 2025, 18(14), 3770; https://doi.org/10.3390/en18143770
Submission received: 22 May 2025 / Revised: 2 July 2025 / Accepted: 11 July 2025 / Published: 16 July 2025
(This article belongs to the Special Issue Drive System and Control Strategy of Electric Vehicle)

Abstract

This paper proposes a hybrid methodology for one-step-ahead torsional torque estimation in an electric drive with an elastic connection. The approach integrates Nonlinear Autoregressive Neural Networks with Exogenous Inputs (NARX NNs) and model-based feedback. The NARX model uses real-time and historical motor speed and torque signals as inputs while leveraging physics-derived torsional torque as a feedback input to refine estimation accuracy and robustness. While model-based methods provide insight into system dynamics, they lack predictive capability—an essential feature for proactive control. Conversely, standalone NARX NNs often suffer from error accumulation and overfitting. The proposed hybrid architecture synergises the adaptive learning of NARX NNs with the fidelity of physics-based feedback, enabling proactive vibration damping. The method was implemented and evaluated on a two-mass drive system using an IP controller and additional torsional torque feedback. Results demonstrate high accuracy and reliability in one-step-ahead torsional torque estimation, enabling effective proactive vibration damping. MATLAB 2024a/Simulink and dSPACE 1103 were used for simulation and hardware-in-the-loop testing.

1. Introduction

Present industrial systems, including emerging electromobility solutions, heavily rely on mechanical transmission systems, which are significant in many fields, such as manufacturing, renewable energy and electric vehicle drivetrains. An example of such a system is the two-mass drive. This drive operates based on a mechanical transmission, where the first mass (the motor) is coupled to the second mass (the load) via a flexible shaft.
In electric vehicles (EVs) and other electromobility applications, where compact, lightweight, and high-efficiency drivetrain designs are paramount, managing the dynamic interaction between motor and load becomes increasingly important. The productivity of such a system depends on the transition time of torque transfer via the shaft. This transition time can be minimised by optimising the control strategy, particularly by increasing the controller gains to improve overall system responsiveness and productivity. However, this improvement comes at the cost of mechanical vibrations, which are inherently excited by shaft flexibility, resonance characteristics, and the dynamic interaction among mechanical components.
These vibrations adversely affect overall system performance by diminishing product quality and accelerating the wear and tear of mechanical components. In extreme cases, they may lead to system failure or reduced passenger comfort (in electromobility applications) due to noticeable vibrations. As a result, recent research has focused heavily on dampening these vibrations to ensure smoother operation and to enhance the productivity of transmission lines [1,2,3,4,5,6,7,8,9,10,11].
In the literature, effective vibration damping is frequently associated with the need for a detailed understanding of the system model or accurate knowledge of plant parameters, particularly the torsional (disturbance) torque. However, directly measuring or estimating this torsional torque is inherently challenging. Various observers, estimators, and filtering techniques have been proposed to address this issue. Nevertheless, achieving robust, accurate, and predictive estimation of the mechanical state variables of the system remains a significant challenge—especially in systems characterised by high nonlinearity, uncertainty, and external disturbances, as commonly seen in applications such as electric vehicles (EVs) with frequent load changes, regenerative braking, and road-induced disturbances.
This issue is even more pronounced in torsional vibration damping, which often relies on additional feedback from torsional torque [2,5,8,12,13,14,15,16,17,18,19,20]. Therefore, developing a robust, accurate, and predictive approach to torsional torque estimation is both essential and challenging, particularly in dual-mass drive systems with flexible coupling, where parameter uncertainties, nonlinearity, and external disturbances must be considered.
Consequently, both industrial experts and academic researchers have investigated various estimation methodologies, which are broadly categorised into four groups in this paper: traditional estimators, filtering techniques, advanced estimators, and intelligent estimators.
The first group includes traditional estimators and observers, with full-state estimators, such as the Luenberger Observer. These observers have been widely employed in dual-mass drive control and vibration damping, particularly in classical studies such as [20,21,22,23,24], which focus on state estimation under the assumption of unchangeable system parameters. These studies highlight the simplicity, computational efficiency, and convergence of full-state observers. However, due to their model-based nature, these methods are inherently sensitive to model uncertainty and parameter variations. This sensitivity results in parameter tuning for each new condition, which is time-consuming and challenging, especially for electric drives with fast dynamics. Furthermore, these types of estimators cannot anticipate future dynamic system behaviour, which is very important for proactive control and vibration damping.
The second group comprises filtering techniques, notably the Kalman Filter (KF), its nonlinear extension, the Extended Kalman Filter (EKF), and the Unscented Kalman Filter (UKF). These methods have been applied to estimate torsional (disturbance) in dual-mass drive systems, as demonstrated in studies such as [25,26,27,28]. These studies show that KF, EKF, and UKF can address nonlinearity by linearising around the current estimate. However, these methods require accurate models and noise assumptions. When model parameters and noise differ from the assumed values, estimation accuracy degrades. As a result, these estimators require expertise in tuning and modelling. Another drawback is their computational intensity, which makes them less suitable for electromobility systems with fast dynamics and tight real-time constraints.
The third group involves advanced estimators, including the Sliding Mode Observer (SMO) and the Disturbance Observer (DOB). In [29,30,31], the SMO is highlighted for using a discontinuous control law to drive the estimation error to zero in finite time, leveraging system nonlinearity to enhance robustness. In a dual-mass drive system, the SMO shows high robustness in high-precision control, as noted in [30]. However, the SMO has limitations. One issue is potential chattering, which increases wear on the physical system. Although higher-order sliding modes can reduce this, they add complexity. Another drawback is that the SMO is reactive, not predictive. It estimates the current states but does not anticipate future behaviour, making it unsuitable for proactive control and vibration-damping applications. Additionally, the SMO is not inherently robust to load parameter changes; its robustness depends on accurate model parameters and well-defined bounds for sliding surface design. Inaccuracies can degrade its effectiveness. Designing the sliding surface, gains, and reaching conditions also requires careful tuning, which can be time-consuming and non-intuitive.
The effectiveness of the DOB in estimating torque disturbance in dual-mass drive systems is demonstrated in [14,15,17,32,33,34,35,36,37]. The DOB estimates disturbances acting on the system, which are then compensated in the control law. When applied to a two-mass drive, the DOB is inherently robust to load parameter changes. Its design relies only on the motor-side parameters, which are most of the time unchanged. The drawback of this observer is that it includes a filter to avoid noise amplification caused by the motor dynamic equation, which involves the first derivative of the motor speed. This filter introduces an estimation delay. Such a delayed response is undesirable, as it leads to estimating and damping torsional oscillations only after they have developed in the system. This observer is also limited in situations where a step-ahead torsional or disturbance torque estimation is important for a proactive response.
Finally, this paper discusses an intelligent estimator, which includes Neural Networks (NNs) and Fuzzy Logic (FL). NN-based state estimators for two-mass drives have been investigated in [38,39,40,41,42,43]. These estimators are well-suited for highly nonlinear systems where accurate modelling is difficult. NNs can adapt to unmodelled nonlinearities in two-mass drive systems and offer predictive capabilities, which are important for anticipating the system’s future dynamic behaviour. This is especially relevant in electromobility, where predictive torque and vibration control can enhance transportation quality, efficiency, and system safety. However, NNs require a large dataset and are computationally intensive. They also face the challenge of balancing model complexity with the risk of overfitting. This trade-off often results in either a computationally intensive model that generalises well or a simpler model that compromises generalisation accuracy.
In [41], FL was applied to estimate mechanical state variables in a two-mass drive. FL is suitable for systems with vague or imprecise data, as it handles uncertainty without requiring a precise mathematical model. However, its performance depends heavily on the accuracy of the rule base and often requires extensive fine-tuning to optimise effectiveness. It is common practice to use NNs to optimise the FL rule base, but this approach inherits the previously discussed drawbacks of NNs.
This paper proposes the application of the Nonlinear Autoregressive model with Exogenous inputs (NARX), implemented using Neural Networks (NNs) with model-based or physics-driven feedback, for one-step-ahead estimation of torsional torque in a two-mass drive. The NARX model operates in open-loop mode, using motor speed (present and past values) and motor torque (present and past values) as input. To improve estimation accuracy during implementation, model-based feedback is incorporated as feedback input. This model-based feedback is derived from the motor’s dynamic equation, which is independent of load parameter changes. However, the direct use of the first derivative of the motor speed in the dynamic equation of the motor amplifies noise. To address this, the derivative term is transformed into an integration-based approach using an Integral-based Disturbance OBserver (IDOB). The IDOB enhances robustness by filtering out high-frequency noise while preserving the dynamics of the system. In general, the proposed method contributes the following nobility to the existing approach:
  • Proactive Prediction: Unlike model-based estimators or observers such as SMO, DOB, Luenberger Observer, and other state observers, the proposed method estimates torsional torque one step ahead. This enables anticipatory control, which reactive observers cannot provide. Anticipatory control is crucial for proactive vibration damping, as it helps to reduce torsional oscillations before they fully develop. This improves the efficiency of the drive and prevents the drive from wear and tear caused by vibration. This capability is essential in applications such as electromobility, where proactive vibration damping can extend drivetrain life, reduce noise, and improve passenger comfort.
  • Inherent Robustness: The design of both the NARX NN and the model-based feedback is independent of the load-side parameters, such as the load inertia and shaft stiffness. As a result, the proposed method is inherently robust to changes in these parameters. This eliminates extensive tuning, critical design adjustments, and the optimisation process, all of which contribute to numerical complexity and make real-time implementation more difficult.
  • Modest Complexity for Implementation: The incorporation of model-based feedback helps the NARX NN to generalise effectively with a simple network structure. Specifically, the proposed method achieves efficient results using just five neurons and one hidden layer. Since the model-based feedback involves only simple mathematical calculations, the proposed method is suitable for real-time implementation.
  • The proposed method is compared with different types of neural network estimators and shows superiority in terms of generalisation under parameter changes and network simplicity.

2. Mathematical Modelling of the Considered Dual-Mass Drive

This paper focuses on a two-mass drive, which is composed of a DC motor (driver), a load, and a flexible shaft that connects the driver and the load. The modelling of such a system is analysed using approaches that balance accuracy with computational complexity. Various models, such as field models, wave models, differential equation-based models, and inertial-free models, are discussed in the literature. As noted in [5], the inertial-free model is one of the most widely used methods for modelling two-mass drives and is adopted in this study. Accordingly, the state equation of the considered system is discussed below.
d d t ω 1 t ω 2 t m s t = 0 0 1 T 1 0 0 1 T 2 1 T c 1 T c 0 ω 1 t ω 2 t m s t + 1 T 1 0 0 m e + 0 1 T 2 0 m L
where ω1 and ω2 are the speeds of the motor and load, respectively, me, ms, and mL are the motor, shaft, and load torques; T1, T2, and Tc are the mechanical time constants of the motor, load, and shaft, respectively.
A schematic diagram of the considered dual-mass system is presented in Figure 1.
The analysed system is characterised by the following parameters: T1 = 203 ms, T2 = 285 ms, and Tc = 2.6 ms. In this study, the nonlinear torsional torque is treated as a disturbance. The motor torque (me) is used as the system’s input control, while the motor speed (ω1) is considered the system output. This setup ensures that the results are applicable to a wide range of electric motors with high-performance torque capabilities. Nonlinear effects (e.g., backlash, mechanical hysteresis, friction) are neglected for simulation purposes.

3. NARX NN

A NARX NN is a specialised Recurrent Neural Network (RNN) designed to model nonlinear dynamic systems. It predicts the current output as a function of the past outputs and previous external inputs, as indicated in Equation (2). This structure can be extended to predict future outputs by incorporating present output and input values, along with their respective delayed versions, as indicated in Equation (3).
y ( k ) = f   ( y ( k 1 ) ,   y ( k 2 ) , , y ( k d y ) ,   u ( k 1 ) , , u ( k d u ) )
y ( k + 1 ) = f   ( y ( k ) , y ( k 1 ) ,   y ( k 2 ) , , y ( k d y ) ,   u ( k ) ,   u ( k 1 ) , , u ( k d u ) )
where y(k) and y(k + 1) represent the system output at discrete time steps k and k + 1, respectively. The function f(·) is a nonlinear mapping function approximated by NARX NN. u(k) is the input vector at a discrete time step k, and d u and d y are the memory lengths for input and output (feedback), respectively, with d u 1 and d y 1 .
In recent years, the application of NARX NN for nonlinear dynamic system estimation has gained significant attention. Several studies have demonstrated the effectiveness of NARX NNs in modelling complex dynamic systems and performing accurate nonlinear estimation. For instance, in [44], a NARX NN was used to estimate the actual harmonic contribution of nonlinear loads into microgrid power systems. The study highlights the reliability and accuracy of the NARX-based approach in capturing nonlinear behaviours within such a system. Similarly, in [45], a NARX NN was employed for a model predictive voltage controller for a boost converter. Additional studies have explored its application in areas such as fault detection, classification, monitoring, diagnosis, and speed estimation [46,47,48]. In [49], a NARX NN was used for online parameter tuning of an intelligent PID system.
In these studies, NARX NNs have been discussed in two main configurations: open-loop (series-parallel) and closed-loop (parallel). In the open-loop structure, the network uses actual output values from previous time steps as feedback during both training and practical implementation. In contrast, the closed-loop structure feeds the network’s own predicted output back into the model as delayed feedback. It has been demonstrated that the open-loop configuration is more stable and accurate where the actual output measurement or reliable calculations are available for feedback.
This paper focuses on the application of NARX NNs in two-mass drive systems, specifically for estimating mechanical state variables such as torsional or disturbance torque. Accurate predictive estimation in this context is vital for improving product quality, proactive vibration damping, and ensuring mechanical stability. The key features of NARX NNs that make them well-suited for this application are described below:
-
Dynamic Memory Structure: NARX NNs use delay buffers to capture time-lagged dependencies, making them suitable for two-mass drives, where rapid interaction between variables such as speed, torque, and load raises the complexity of the system.
-
Nonlinear Modelling Capability: Unlike linear models, NARX NNs can approximate complex nonlinear relationships, enabling more reliable estimation under parameter variations and external disturbances.
-
Training Efficiency: In an open-loop configuration, NARX NNs benefit from actual feedback during training. This reduces error propagation and promotes more stable and robust learning.
-
Flexibility: NARX NNs are robust and adaptable to diverse system architectures and operating conditions, making them effective for parameter estimation, control optimisation, and fault diagnosis of electric drives.

4. Modelling of Hybrid NARX NN with Model-Based Feedback

In this paper, a NARX NN is developed to estimate one-step-ahead torsional torque in a two-mass drive. The network takes the motor torque (me) and motor speed (ω1) along with their corresponding time delays as inputs. A model-based calculated torsional torque (msf) is used as a feedback reference during real-time implementation. Diverse training data are generated through simulations conducted in MATLAB/Simulink, using a calculation period of 5 × 10−4 s (same as in the experiment). The waveforms of the training signals are indicated in Figure 2.
The estimated torsional torque for the given training signals is depicted in Figure 3. As illustrated in Figure 3b, despite the highly chaotic and nonlinear nature of torsional torque, the trained NARX NN achieves an estimation error of approximately 2%. This demonstrates the strong estimation capability of the trained NARX NN and its effectiveness in accurately capturing the system dynamics with minimal error.
The NARX NN configuration incorporates current and previous values of state variables (ω1, me), and feedback (msf). The network consists of five neurons in a single hidden layer and one output neuron.. Numerous tests were carried out to determine the optimal number of layers, neurons, and feedback delays, ensuring a balance between model simplicity, predictive accuracy, and generalisation capability.
The model-based feedback is derived from the dynamic equation of the first mass (the driving motor), expressed as follows:
m s f = m e ω ˙ 1 · T 1
This formulation ensures that the model-based feedback signal depends solely on motor-side parameters, which are typically constant. As a result, the feedback becomes inherently robust against variations in load-side parameters—an essential property for improving estimation accuracy and generalisation capability.
However, calculating the model-based torsional torque involves the first derivative of the motor speed, which tends to amplify high-frequency measurement noise. To mitigate this issue, in many studies, the direct-derivative-based method is replaced by Filtered Derivative Disturbance Observer (FDDOB), as shown in Figure 4a. Although the FDDOB is a widely applicable approach [14,15,17], it poses a challenge in selecting an appropriate filter time constant. This time constant is essential for achieving a suitable trade-off between phase lag and noise amplification.
To address this limitation, an alternative approach is proposed in [5], where the derivative part is replaced with an integrator. This leads to the development of an Integral Disturbance Observer (IDOB), shown in Figure 4b.
For the FDDOB, the filter time constant (tf) is set to 0.01 s, determined through experimental investigation.
According to [5], the characteristic equation of the IDOB shown in Figure 4b is defined as follows:
p s = s 3 + s 2 L 1 T 1 s L 2 T 1 L 3 T 1
By equating this characteristic equation with a standard third-order polynomial design, the observer’s correction factors can be determined as follows:
L 1 = T 1 2 a p + p
L 2 = T 1 2 a p 2 + p 2
L 3 = T 1 p 3
Substituting Equations (6)–(8) into Equation (5) results in the desired polynomial for the IDOB, given by:
p ( s ) = s 2 + 2 a p s + p 2 s + p
Since the IDOB is defined by a third-order polynomial, it is expected to have three poles and no zeros. For each positive value of a and p, the observer has one real pole at negative p (−p) and two complex conjugate poles with real part at negative ap (−ap) and imaginary parts at ± p 2 a p 2 . As shown in Figure 5, all poles lie in the left half-plane, which confirms the stability of the observer for any positive values of a and p. However, selecting appropriate values of a and p is crucial. After performing several simulation tests, the IDOB exhibited optimal performance when a = 1 and p was within the range 60 ≤ p ≤ 120 s−1. To balance the trade-off between fast dynamic response and sensitivity to noise, the value p = 90 s−1 was selected.
After configuring the parameters for both the FDDOB and IDOB, comparative tests were conducted to identify the most effective model-based torsional torque calculation method for use as feedback in the practical implementation of the NARX NN. The evaluation focused on assessing the accuracy and robustness of each method under both noise-free and noisy conditions. The resulting waveforms from FDDOB and IDOB, with and without Gaussian noise, are shown in Figure 6. Based on the results presented in Figure 6a,b, the following conclusions can be drawn:
The FDDOB introduces a noticeable phase lag due to the filtering time constant. Additionally, it shows significant sensitivity to noise. While noise can be reduced by increasing the filtering time constant (tf), this also increases phase lag. Conversely, reducing tf to minimise phase lag leads to greater noise amplification. This inherent trade-off between minimal phase lag and noise sensitivity limits the effectiveness of FDDOB, particularly in applications, such as the proposed method, where high feedback accuracy is essential.
In contrast, the IDOB shows a negligible phase lag and low sensitivity to noise. These properties make it a more favourable and reliable choice for providing model-based feedback in the NARX NN-based one-step-ahead torsional torque estimation framework.
For numerical comparison, the loss function Mean Absolute Error (MAE) is calculated according to Equation (10):
M A E = 1 N n = 1 N m s f a c t ( n ) m s f I D O B / F D D O B ( n )
where n denotes the number of samples.
The obtained results are summarised in Table 1. As can be seen from Table 1, the MAE for the FDDOB is around 2.59 times higher than that of the IDOB under noise-free conditions. With Gaussian noise, the FDDOB’s MAE remains significantly higher, by a factor of around 2.46, compared to the IDOB. These results clearly show the superior performance of IDOB in terms of estimation accuracy. Furthermore, the MAE values for IDOB are notably low, confirming its stability and applicability for the proposed task.
Following the selection of the optimal feedback model, the architecture of the NARX NN is shown in Figure 7, and it is summarised as follows:
  • Input Layer: The exogenous inputs consist of motor speed (ω1) and motor torque (me) at discrete time steps k, k−1, and k−4. Additionally, the model-based feedback signal (msf) is included at steps k and k−1. This delay selection was determined empirically through simulation studies. The complete input vector is defined in Equation (11):
    X k = ω 1 k , ω 1 k 1 , ω 1 k 4 , m e k , m e k 1 , m e k 4 , m s f k , m s f k 1 T
  • Hidden Layer: The hidden layer consists of five neurons, each employing a hyperbolic tangent activation function. The output of the jth neuron is expressed as follows:
    h j k = t a n h   i m w j i 1 x i k + b j 1  
    where m is the number of inputs = 1, 2, …, 8, j is a number of neurons = 1, 2, …, 5, wji (1) are input-to-hidden weights, and bj (1) are biases.
  • Output Layer: The output layer comprises one neuron with a linear activation function, which is applied to estimate one-step-ahead torsional torque mse (k + 1). The corresponding equation is presented in Equation (13):
    m s e k + 1 =   j = 1 5 w j 2 h j k + b 2  
    where j = 1, 2, …, 5 corresponds to the number of hidden neurons, wj(2) are hidden-to-output weights, and b(2) is output bias.
  • Loss function with Regularisation: To protect against overfitting and achieve good generalisation, the loss function combines Mean Squared Error (MSE) and L2 regularisation. This is indicated in Equation (14):
    L = 1 N k = 1 N m s k + 1 m s e k + 1 2                               + λ 2 i , j w j i 1 2 + j w j 2 2 + j b j 1 2 + b 2 2
    where ms (k + 1) and mse (k + 1) are the actual and estimated torsional torques at step time k + 1, respectively, N is the number of training samples, and λ is the regularisation hyperparameter, optimised via Bayesian regularisation with the value of 0.001.

5. Results

5.1. Testing of NARX NN Estimator

5.1.1. Testing in an Open-Loop Structure/Offline Testing

After training the NARX NN, testing is a critical step to evaluate the model’s generalisation capability to new and unseen data, its robustness to variations in input signals, and its resistance against parameter variation in the drive system. Accordingly, the proposed NARX NN was tested for new signals, as shown in Figure 8. In Figure 9, the estimated signals and their corresponding error transients are shown. During the offline test phase, the actual torsional torque—readily available from the simulation—was used as the reference feedback signal. In contrast, during real-time deployment, the model-based torsional torque, calculated using the structure shown in Figure 4b, was used as feedback for the NARX NN.
The NARX NN was tested for a new dataset under a variation in the load time constant. The numerical analysis results are presented in Table 2, based on the equation provided in Equation (15).
M A E = 1 N i N X i X ^ i ,   R M S E = 1 N i N X i X ^ i 2
The minimal prediction error shown in Figure 9 was further confirmed by the numerical results presented in Table 2. In particular, the MAEs increased only by 0.0033, 0.0055, and 0.0016 when the load time constant was varied to twice, three times, and half of the nominal value, respectively. Similarly, the RMSEs increased by 0.0055, 0.0082, and 0.0028 for the same variation. These changes are relatively minor, indicating that the proposed NARX NN shows robustness against variations in load parameters.

5.1.2. Testing of NARX NN in a Closed-Loop Structure

To evaluate the proposed estimator in a closed-loop structure, a two-mass drive system with an IP controller and additional feedback from the estimated torsional torque, as depicted in Figure 10, was used.
The proposed control structure was composed of a two-mass drive, IP controller, model-based feedback (msf), which is shown in Figure 4b, additional feedback with gain k1, and an NARX NN-based torsional torque estimator. In this paper, the pole placement method was used to model the transfer function of the control system with additional feedback from torsional torque, as shown in Equation (16).
G ω 2 s = ω 2 s ω r s = G r s s 2 T 2 T c + 1 s 3 T 2 T c T 1 + s 2 T 2 T c G r s + s T 1 + T 2 1 + k 1 + G r s
The transmittance of the IP controller and the characteristic equation of the whole system with the proposed control structure are given below.
G r s = k p + k i 1 s
where ki and kp are the controller gains.
p s = s 4 + s 3 T 2 T c k p T 1 T 2 T c + s 2 T 2 T c k i + T 1 + T 2 + T 2 k 1 T 1 T 2 T c + s k p T 1 T 2 T c + k i T 1 T 2 T c
The coefficients of the IP controller and the feedback gain are calculated as follows:
k p = 4 ξ ω 3 T 1 T 2 T c
k i = ω 4 T 1 T 2 T c
k 1 = 2 ω 2 + 4 ξ 2 ω 2 T 1 T c ω 4 T 1 T 2 T c 2 T 1 T 2 1
To further evaluate the performance of the proposed NARX NN in a more practical approach, it was integrated into a closed-loop control system in the presence of noise. For the presented two-mass drive system with an IP controller and additional feedback from torsional torque, the prediction capabilities of the NARX NN were tested under the influence of Gaussian noise. The closed-loop transient responses are presented in Figure 11 and Figure 12. Gaussian noise was added to the motor speed signal to represent measurement noise, which is common in real-world applications. As shown in Figure 11a, the presence of the Gaussian noise is visible in the motor speed transient response, and its impact is also reflected in the electromagnetic or motor torque, as presented in Figure 11b. However, there are no visible noises or oscillations in the load speed (Figure 11a), which shows the effectiveness of the proposed control structure.
The actual and estimated torsional torques, along with the corresponding estimation error under variation in the load time constant, are depicted in Figure 12. From the illustrated waveforms, it can be concluded that the NARX NN can predict the torsional torque at a time step k + 1 with minimal noise and no significant degradation in performance as the load time constant varies. This observation is supported by the numerical analysis shown in Table 3.
The estimation error shown in Figure 12 is further confirmed by the numerical results in Table 3. The MAE decreases by only 0.0013 for twice the nominal value of the load time constant, remains unchanged for three times the nominal value, and increases slightly by 0.0046 when the nominal value is reduced by half. Similarly, the RMSE increases by 0.004, 0.0027, and 0.012 for the same variation. These changes are relatively minor, highlighting the strong robustness of the NARX NN against variations in load parameters.
Furthermore, the NARX NN was tested under impulse noise to evaluate its robustness. Two noise levels were considered: (i) low to moderate impulse noise levels (±2% to 5%) and (ii) high-level impulse noise (±7% to 10%). The corresponding results are depicted in Figure 13. As demonstrated in Figure 13a, the NARX NN shows good tolerance to low and moderate impulse disturbances. However, as shown in Figure 13b, it appears sensitive to higher impulse levels. Despite this, the network consistently recovers quickly to its original trajectory after each disturbance, which indicates good generalisation capability of the model. Overall, despite the impulse disturbances, the NARX maintains trajectory stability and returns to accurate tracking.

5.2. Experimental Verification

The simulation results were confirmed through laboratory experiments using a test bench designed for dual-mass systems research. The stand comprised two separately excited DC machines—Komel (Katowice, Poland) PZBb22b driving motor and Komel Poland PZBb22b generator dissipating the generated power to a braking resistor, which serves as the load. The motor has a rated power of 500 W, a rated armature circuit voltage of 220 V, a rated armature circuit current of 3.15 A, and a rated excitation circuit current of 0.254 A. The generator has a rated power of 400 W, a rated armature circuit voltage of 230 V, a rated armature circuit current of 1.74 A, and a rated excitation circuit current of 0.42 A. Both machines have a nominal speed of 1450 rpm. The initial time constants implied directly from the moment of inertia are 0.203 s for the motor and 0.285 s for the generator. The test bench allows for changing the time constant of the loading machine—this was achieved by attaching steel discs of varying thicknesses and weights on the load side. The machines are coupled via an elastic, steel shaft, with a length of 600 mm and a diameter of 5 mm, which has a time constant of 0.0013 s.
The driving motor is powered by an H-bridge power converter and each machine is excited using a diode rectifier. An incremental encoder generating 36,000 pulses per revolution is connected to each machine. The encoder mounted to the driving motor is integrated into the control system, whereas the encoder on the load machine is employed exclusively for data collection to evaluate the performance of the system estimation. The LEM transducer is used to measure the current. The dSPACE 1103 rapid prototyping board, designed for real-time operation, was used for experiments. It is based on a PowerPC processor and a Texas Instruments TMS320F240 DSP microcontroller. The PC software used for defining reference signals, changing controller parameters, taking measurements, and visualising them in real time was dSPACE Control Desk 3.7.3. Embedded software code was generated by a Coder application, directly from the MATLAB Simulink model. The PWM for the H-bridge works at 7 kHz. The sampling of speed and DC drive current was set to 2 kHz.
A schematic diagram of the experimental setup, along with its parameters, is presented in Figure 14.
The experimental test was performed at a reference speed of 0.2 p.u. under varying load time constants. The load time constant was varied using an additional disc on the load side. The nominal load time constant was 0.285 s. In addition, the NARX NN was also tested twice at the nominal load time constant (0.57 s) and three times at the nominal load time constant (0.855 s). The resulting waveforms are shown in Figure 15, and the numerical calculation of the MAE and RMSE is presented in Table 4.
The prediction errors and variation in the errors under variation in load time constant are notably minimal, indicating strong accuracy and generalisation capability of the trained NARX NN. Specifically, the MAE shows no change when the nominal load time constant is doubled and increases only by 0.001 when tripled. Similarly, the RMSE increases by 0.0002 and 0.0009 for the same variation in the load time constant. These values are smaller compared to the results in Table 3. This discrepancy is caused by the presence of measurement noise in the actual signals, in contrast to the simulation setup, where the noise was introduced only in the estimation process and the actual signals were noise-free. Nevertheless, the simulation results are confirmed to be correct by the experiment. The transient responses of the load and motor speeds, as well as the electromagnetic torque for the proposed method, are depicted in Figure 16, further validating the accuracy and effectiveness of the proposed approach.
The NARX NN was also tested under varying load conditions to assess its adaptability. The results are shown in Figure 17a, and the corresponding estimation performance with error bars is depicted in Figure 17b. As observed in Figure 17a, the NARX NN performs accurately and effectively across different load conditions, although it exhibits minor sensitivity to sudden spikes. These anomalies are likely caused by backlash and friction effects, which are consistent with the networks’ previously noted response to impulse disturbances.
To further evaluate the reliability of the NARX NN, a 95% confidence interval (CI) was calculated for each estimation, based on the standard deviation of the residuals. Error bars and shaded regions are used in Figure 17b to visualise the associated uncertainty.
Performance metrics, including the root mean square error (RMSE) and mean absolute error (MAE), were used to quantify estimation accuracy and generate the confidence interval. The results are summarised as follows:
  • RMSE: 0.0081 (95% CI: 0.0076–0.0086)
  • MAE: 0.0049 (95% CI: 0.0048–0.0049)
These findings confirm the statistical robustness and estimation reliability of the proposed approach.
The proposed method is also compared with different neural network estimators developed in previous studies [42,43]. These referenced works were conducted by different researchers using the same dual-mass drive system with the same parameters as considered in this paper. The comparison focuses on generalisation capability and model complexity, as summarised in Table 5 and Table 6, respectively.
The result clearly shows the superiority of the proposed method in both generalisation capability and computational simplicity, which is important for real-time implementation.

6. Conclusions and Future Work

In this paper, a NARX NN with model-based feedback is proposed for one-step-ahead estimation of torsional torque in a two-mass drive system. Estimating torsional torque in advance enables the control system to counteract or damp potential vibrations before they fully develop, thereby protecting the drive from mechanical damage, reducing wear and tear, and improving both product quality and operational stability.
The key findings and contribution of this work are summarised as follows:
-
A NARX NN was trained using motor speed and torque as input signals, with the torsional torque as the target output. During offline simulations, the actual torsional torque (available from the simulation) was used as feedback to train, test, and validate the network. In real-time implementation, the NARX NN operates in an open-loop structure, where a model-based torsional torque is used as feedback instead of the network’s estimation.
-
For strong estimation accuracy and generalisation, the model-based feedback must be robust to measurement noise and parameter variation. To ensure this, a comparative study was conducted between the widely used filtered derivative disturbance observer (FDDOB) and the newly developed integral-based disturbance observer (IDOB). The IDOB demonstrated superior performance and was therefore selected for the proposed approach.
-
The proposed IDOB design is independent of the load parameters, which makes it inherently robust to load parameter changes. This eliminates the need for intensive tuning and parameter adjustment, which is a major drawback in state observers such as Luenberger Observers.
-
Although other model-based estimation methods like SMO, KF, EKF, and UKF could also be considered, the IDOB has a simpler design while maintaining robustness to load parameter changes without requiring additional tuning and complex setups.
-
Given these advantages, the IDOB was used to compute the torsional torque as feedback input to the open-loop NARX NN, forming a hybrid estimator for one-step-ahead torsional torque estimation. The NARX NN uses present and historical values of the motor speed, motor torque, and the calculated torsional torque to perform the estimation.
-
The proposed estimator was tested on a two-mass drive system with an IP controller and additional feedback from the estimated torsional torque. Both simulation and experimental results confirm the proposed estimator’s accuracy, robustness to noise, and adaptability to parameter variation, leading to effective vibration damping and smooth system operation.
-
The generalisation capability and computational efficiency of the proposed method were compared with several existing neural network estimators, including Long Short-Term Memory (LSTM) networks, Convolutional Neural Networks (CNNs), parallel neural networks, and feedforward neural networks trained using the Levenberg–Marquardt algorithm and genetic algorithms. The proposed method showed superior performance in terms of both generalisation and simplicity.
Future works will focus on the following:
-
Enhancing training by experimenting with different activation functions, optimisation algorithms, and noise injections, and performing a more in-depth analysis of the estimator’s performance under variation in disturbance types and levels.
-
Improving damping performance by incorporating additional feedback from the torsional torque derivative. This will increase the quality and reliability of the proposed method for practical implementation.

Author Contributions

Conceptualisation A.H.K. and P.D.; methodology, A.H.K.; software A.H.K.; validation P.D. and R.Z.; formal analysis A.H.K. and P.M.; investigation A.H.K. and P.D.; resources P.D.; data curation, A.H.K. and P.D.; writing—original draft preparation A.H.K. and P.D.; writing—review and editing P.D., R.Z., and P.M.; visualisation, A.H.K.; supervision P.D. and R.Z.; project administration P.D.; funding acquisition P.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The model is described in Section 2 and Section 4 of the paper.

Acknowledgments

During the preparation of this manuscript, the authors used Grammarly v.1.2.155.1657 for language check. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yue, H.; He, H.; Han, M. Study on torsional vibration characteristics and suppression of electric vehicles with dual-motor drive system. J. Frankl. Inst. 2023, 360, 380–402. [Google Scholar] [CrossRef]
  2. Szabat, K.; Orłowska-Kowalska, T. Vibration Suppression in a Two-Mass Drive System Using PI Speed Controller and Additional Feedbacks—Comparative Study. IEEE Trans. Ind. Electron. 2007, 54, 1193–1206. [Google Scholar] [CrossRef]
  3. Liu, X.; Qiu, J.; Kambrath, J.K.; Wang, Y.; Loh, C.P.; Blaabjerg, F. Torsional Vibration Suppression Control for Inverter-Driven Multi-Rotating Mass System Using Non-Ideal Generalised Integrator. IEEE Trans. Power Electron. 2024, 39, 2594–2607. [Google Scholar] [CrossRef]
  4. Dou, J.; Li, Z.; Yao, H.; Ding, M.; Wei, G. Torsional vibration suppression and electromechanical coupling characteristics of electric drive system considering misalignment. Appl. Math. Mech. 2024, 45, 1987–2010. [Google Scholar] [CrossRef]
  5. Derugo, P.; Kahsay, A.H.; Szabat, K.; Shikata, K.; Katsura, S. A Novel PI-Based Control Structure with Additional Feedback from Torsional Torque and Its Derivative for Damping Torsional Vibrations. Energies 2024, 17, 4786. [Google Scholar] [CrossRef]
  6. Zeinali, M.; Zanjani, S.M.; Yaghoubi, S.; Mosavi, A.; Fathollahi, A. Torque control in a two-mass resonant system: Simulation and dynamic analysis. In Proceedings of the 2023 IEEE 17th International Symposium on Applied Computational Intelligence and Informatics (SACI), Timisoara, Romania, 23–26 May 2023; IEEE: Piscataway Township, NJ, USA, 2023; pp. 551–556. [Google Scholar]
  7. Serkies, P.; Szabat, K. Effective damping of the torsional vibrations of the drive system with an elastic joint based on the forced dynamic control algorithms. J. Vib. Control. 2019, 25, 2225–2236. [Google Scholar] [CrossRef]
  8. Li, Q.; Xu, Q.; Wu, R. Low-frequency vibration suppression control in a two-mass system by using a torque feed-forward and disturbance torque observer. J. Power Electron. 2016, 16, 249–258. [Google Scholar] [CrossRef]
  9. Ye, J.; Cui, J.; Chu, Z. Experimental study of vibration suppression for uncertain two-mass torsional system. In Proceedings of the 2016 12th IEEE International Conference on Control and Automation (ICCA), Mauritius, Africa, 8–11 May 2016; IEEE: Piscataway Township, NJ, USA, 2016; pp. 996–1001. [Google Scholar]
  10. Derugo, P.; Szabat, K. Damping of torsional vibrations of two-mass system using adaptive low computational cost fuzzy PID controller. In Proceedings of the 2015 IEEE 11th International Conference on Power Electronics and Drive Systems, Sydney, Australia, 9–12 June 2015; IEEE: Piscataway Township, NJ, USA, 2015; pp. 1162–1165. [Google Scholar]
  11. Yang, M.; Wang, C.; Xu, D.; Zheng, W.; Lang, X. Shaft torque limiting control using shaft torque compensator for two-inertia elastic system with backlash. IEEE/ASME Trans. Mechatron. 2016, 21, 2902–2911. [Google Scholar] [CrossRef]
  12. Liu, X.; Qi, Y.; Tang, Y.; Guan, Y.; Wang, P.; Blaabjerg, F. Unified active damping control algorithm of inverter for LCL resonance and mechanical torsional vibration suppression. IEEE Trans. Ind. Electron. 2021, 69, 6611–6623. [Google Scholar] [CrossRef]
  13. Kaminski, M.; Malarczyk, M. Hardware implementation of neural shaft torque estimator using low-cost microcontroller board. In Proceedings of the 2021 25th International Conference on Methods and Models in Automation and Robotics (MMAR), Międzyzdroje, Poland, 23–28 August 2021; IEEE: Piscataway Township, NJ, USA, 2021; pp. 372–377. [Google Scholar]
  14. Li, W.; Hori, Y. Vibration suppression using single neuron-based PI fuzzy controller and fractional-order disturbance observer. IEEE Trans. Ind. Electron. 2007, 54, 117–126. [Google Scholar] [CrossRef]
  15. Padron, J.; Kawai, Y.; Yokokura, Y.; Ohishi, K.; Miyazaki, T. A Method for Gear Impact Suppression In Torsion Torque Control of Two-Inertia Systems with Backlash. In Proceedings of the 2021 IEEE 30th International Symposium on Industrial Electronics (ISIE), Kyoto, Japan, 20–23 June 2021; IEEE: Piscataway Township, NJ, USA, 2021; pp. 1–6. [Google Scholar]
  16. Saarakkala, S.E.; Hinkkanen, M. State-space speed control of two-mass mechanical systems: Analytical tuning and experimental evaluation. IEEE Trans. Ind. Appl. 2014, 50, 3428–3437. [Google Scholar] [CrossRef]
  17. Niu, Z.; Huang, W.; Zhu, S.; Jia, B.; Zhu, Q.; Lu, X. Controller Design and Shaft Torque Vibration Suppression for Servomechanism With Elasticity. IEEE Trans. Ind. Applications. 2024, 60, 8833–8844. [Google Scholar] [CrossRef]
  18. Wang, C.; Chen, S.; Zhuang, Y.; Pan, J. Limiting Control and Accurate Observation of Transmission Torque and Its Jerk in Elastic Servo Systems. IEEE/ASME Trans. Mechatronics 2024, 1–11. [Google Scholar] [CrossRef]
  19. Zhang, G. Comparison of control schemes for two-inertia system. In Proceedings of the IEEE 1999 International Conference on Power Electronics and Drive Systems, PEDS’99 (Cat. No. 99TH8475), Hong Kong SAR, China, 27–29 July 1999; IEEE: Piscataway Township, NJ, USA, 1999; Volume 1, pp. 573–578. [Google Scholar]
  20. Wang, C.; Zhuang, Y.; Yang, J.; Liu, Y.; Pan, J. Characteristic Analysis and Control Loop Design of Transmission Torque and Jerk for Flexible Joint Servo Systems. IEEE Trans. Power Electron. 2024, 39, 8528–8539. [Google Scholar] [CrossRef]
  21. Ma, Y.; Qin, T.; Li, Y. Nonlinear extended state observer based super-twisting terminal sliding mode synchronous control for parallel drive systems. IEEE/ASME Trans. Mechatron. 2023, 28, 3087–3098. [Google Scholar] [CrossRef]
  22. Wang, C.; Liu, J.; Xin, L.; Li, G.; Pan, J. Design of full-order state observer for two-mass joint servo system based on the fixed gain filter. IEEE Trans. Power Electron. 2022, 37, 10466–10475. [Google Scholar] [CrossRef]
  23. Zhang, Y.; Liu, K.; Zhou, J.; Sang, P.; Wu, H.; Chen, Y. Linear extended state observer based anti-interference robust position tracking control for two-inertia systems with uncertain load disturbance. In Proceedings of the 2022 25th International Conference on Electrical Machines and Systems (ICEMS), Chiang Mai, Thailand, 29 November–2 December 2022; IEEE: Piscataway Township, NJ, USA, 2022; pp. 1–6. [Google Scholar]
  24. Wang, C.; Yang, M.; Zheng, W.; Long, J.; Xu, D. Vibration suppression with shaft torque limitation using explicit MPC-PI switching control in elastic drive systems. IEEE Trans. Ind. Electron. 2015, 62, 6855–6867. [Google Scholar] [CrossRef]
  25. Szabat, K.; Orlowska-Kowalska, T. Performance Improvement of Industrial Drives With Mechanical Elasticity Using Nonlinear Adaptive Kalman Filter. IEEE Trans. Ind. Electron. 2008, 55, 1075–1084. [Google Scholar] [CrossRef]
  26. Mahapatra, S.; Shrivastava, A.; Sahoo, B.; Mohanty, A.R. Estimation of torque variation due to torsional vibration in a rotating system using a kalman filter-based approach. J. Vib. Eng. Technol. 2023, 11, 1939–1950. [Google Scholar] [CrossRef]
  27. Wu, J.; Walker, P.D.; Ruan, J.; Zhang, N. Target torque estimation for gearshift in dual clutch transmission with uncertain parameters. Appl. Math. Model. 2017, 51, 1–20. [Google Scholar] [CrossRef]
  28. Dróżdż, K.; Orłowska-Kowalska, T.; Szabat, K. Application of the modified fuzzy Kalman filter to states estimation of the two-mass system. In Proceedings of the 2015 IEEE International Conference on Industrial Technology (ICIT), Seville, Spain, 17–19 March 2015; IEEE: Piscataway Township, NJ, USA, 2015; pp. 634–639. [Google Scholar]
  29. Lin, C.; Sun, S.; Yi, J.; Walker, P.; Zhang, N. Accelerated adaptive super twisting sliding mode observer-based drive shaft torque estimation for electric vehicle with automated manual transmission. IET Intell. Transp. Syst. 2019, 13, 160–167. [Google Scholar] [CrossRef]
  30. Chang, H.; Lu, S.; Huang, G.; Zheng, S.; Song, B. An extended active resonance suppression scheme based on a dual-layer network for high-performance double-inertia drive system. IEEE Trans. Power Electron. 2023, 38, 13717–13729. [Google Scholar] [CrossRef]
  31. Yang, C.; Song, B.; Xie, Y.; Tang, X. Online parallel estimation of mechanical parameters for PMSM drives via a network of interconnected extended sliding-mode observers. IEEE Trans. Power Electron. 2021, 36, 11818–11834. [Google Scholar] [CrossRef]
  32. Yang, M.; Zheng, W.; Yang, K.; Xu, D. Suppression of mechanical resonance using torque disturbance observer for two-inertia system with backlash. In Proceedings of the 2015 9th International Conference on Power Electronics and ECCE Asia (ICPE-ECCE Asia), Seoul, Republic of Korea, 1–5 June 2015; IEEE: Piscataway Township, NJ, USA, 2015; pp. 1860–1866. [Google Scholar]
  33. Wang, M.; Sun, L.; Yin, W.; Dong, S.; Liu, J. A novel sliding mode control for series elastic actuator torque tracking with an extended disturbance observer. In Proceedings of the 2015 IEEE International Conference on Robotics and Biomimetics (ROBIO), Zhuhai, China, 6–9 December 2015; IEEE: Piscataway Township, NJ, USA, 2015; pp. 2407–2412. [Google Scholar]
  34. Kim, D.H.; Choi, S.B. Extended high-order disturbance observer-based clutch actuator model uncertainty estimation of ball-ramp dual-clutch transmission. IEEE Trans. Control. Syst. Technol. 2022, 31, 1220–1234. [Google Scholar] [CrossRef]
  35. Magnani, G.; Rocco, P.; Bascetta, L.; Rusconi, A. On the use of Torque Disturbance Observers in 2-mass systems with application to a robotic joint. In Proceedings of the 2013 IEEE International Conference on Mechatronics (ICM), Vicenza, Italy, 27 February–1 March 2013; IEEE: Piscataway Township, NJ, USA, 2013; pp. 798–803. [Google Scholar]
  36. Sugiura, K.; Hori, Y. Vibration suppression in 2-and 3-mass system based on the feedback of imperfect derivative of the estimated torsional torque. IEEE Trans. Ind. Electron. 1996, 43, 56–64. [Google Scholar] [CrossRef]
  37. Rahimi, M.; Beiki, A. Efficient modification of the control system in PMSG-based wind turbine for improvement of the wind turbine dynamic response and suppression of torsional oscillations. Int. Trans. Electr. Energy Syst. 2018, 28, e2578. [Google Scholar] [CrossRef]
  38. Orlowska-Kowalska, T.; Szabat, K. Neural-network application for mechanical variables estimation of a two-mass drive system. IEEE Trans. Ind. Electron. 2007, 54, 1352–1364. [Google Scholar] [CrossRef]
  39. Orlowska-Kowalska, T.; Kaminski, M. Application of the OBD method for optimization of neural state variable estimators of the two-mass drive system. Neurocomputing 2009, 72, 3034–3045. [Google Scholar] [CrossRef]
  40. Shang, D.; Li, X.; Yin, M.; Li, F. Dynamic modeling and control for dual-flexible servo system considering two-dimensional deformation based on neural network compensation. Mech. Mach. Theory 2022, 175, 104954. [Google Scholar] [CrossRef]
  41. Kamiński, M.; Szabat, K. Neuro-fuzzy state variables estimators of a two-mass drive system. In Proceedings of the 2015 IEEE International Conference on Industrial Technology (ICIT), Seville, Spain, 17–19 March 2015; IEEE: Piscataway Township, NJ, USA, 2015; pp. 1723–1728. [Google Scholar]
  42. Kaczmarczyk, G.; Stanislawski, R.; Kaminski, M. Deep-Learning Techniques Applied for State-Variables Estimation of Two-Mass System. Energies 2025, 18, 568. [Google Scholar] [CrossRef]
  43. Kamiński, M. Neural estimators of two-mass system optimized using the Levenberg-Marquardt training and genetic algorithm. In Proceedings of the 2016 21st International Conference on Methods and Models in Automation and Robotics (MMAR), Miedzyzdroje, Poland, 29 August–1 September 2016; IEEE: Piscataway Township, NJ, USA, 2016; pp. 559–564. [Google Scholar]
  44. Hatata, A.Y.; Eladawy, M. Prediction of the true harmonic current contribution of nonlinear loads using NARX neural network. Alex. Eng. J. 2018, 57, 1509–1518. [Google Scholar] [CrossRef]
  45. Asvadi-Kermani, O.; Felegari, B.; Momeni, H.; Davari, S.A.; Rodriguez, J. Dynamic neural-based model predictive voltage controller for an interleaved boost converter with adaptive constraint tuning. IEEE Trans. Ind. Electron. 2023, 70, 12739–12751. [Google Scholar] [CrossRef]
  46. Capriglione, D.; Carratù, M.; Pietrosanto, A.; Sommella, P. NARX ANN-based instrument fault detection in motorcycle. Measurement 2018, 117, 304–311. [Google Scholar] [CrossRef]
  47. Araújo, V.G.D.; Bissiriou, A.O.S.; Villanueva, J.M.M.; Villarreal, E.R.L.; Salazar, A.O.; Teixeira, R.D.A.; Fonsêca, D.A.D.M. Monitoring and Diagnosing Faults in Induction Motors’ Three-Phase Systems Using NARX Neural Network. Energies 2024, 17, 4609. [Google Scholar] [CrossRef]
  48. Xia, Y.; Xu, Y.; Gou, B.; Deng, Q. A learning-based method for speed sensor fault diagnosis of induction motor drive systems. IEEE Trans. Instrum. Meas. 2021, 71, 1–10. [Google Scholar] [CrossRef]
  49. Liu, J.; Li, T.; Zhang, Z.; Chen, J. NARX prediction-based parameters online tuning method of intelligent PID system. IEEE Access 2020, 8, 130922–130936. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the dual-mass drive system.
Figure 1. Schematic diagram of the dual-mass drive system.
Energies 18 03770 g001
Figure 2. Transient responses of the training signals in simulation: (a) reference speed, (b) motor speed, (c) load speed, (d) load torque, (e) motor torque, and (f) shaft torque.
Figure 2. Transient responses of the training signals in simulation: (a) reference speed, (b) motor speed, (c) load speed, (d) load torque, (e) motor torque, and (f) shaft torque.
Energies 18 03770 g002
Figure 3. Transient responses of (a) actual (black) vs. estimated (red) torsional torque; (b) estimation error.
Figure 3. Transient responses of (a) actual (black) vs. estimated (red) torsional torque; (b) estimation error.
Energies 18 03770 g003
Figure 4. Block diagram for model-based torsional torque calculation for feedback: (a) FDDOB, (b) IDOB.
Figure 4. Block diagram for model-based torsional torque calculation for feedback: (a) FDDOB, (b) IDOB.
Energies 18 03770 g004
Figure 5. Root locus for the desired polynomial of the IDOB.
Figure 5. Root locus for the desired polynomial of the IDOB.
Energies 18 03770 g005
Figure 6. Transients of torsional torque for model-based, actual (black), IDOB (red) and FDDOB (blue) feedback: (a) without noise, (b) with white Gaussian noise.
Figure 6. Transients of torsional torque for model-based, actual (black), IDOB (red) and FDDOB (blue) feedback: (a) without noise, (b) with white Gaussian noise.
Energies 18 03770 g006
Figure 7. The architecture of the proposed NARX NN model.
Figure 7. The architecture of the proposed NARX NN model.
Energies 18 03770 g007
Figure 8. Transient responses of test signals: (a) reference speed, (b) motor and load speeds, (c) load torque, and (d) motor torque.
Figure 8. Transient responses of test signals: (a) reference speed, (b) motor and load speeds, (c) load torque, and (d) motor torque.
Energies 18 03770 g008
Figure 9. Transient responses of test signals: actual torsional torque, estimated torsional torque, and estimation error for (a) nominal load time constant (T2N), (b) 2∙T2N, (c) 0.5∙T2N, and (d) 3∙T2N—simulation test.
Figure 9. Transient responses of test signals: actual torsional torque, estimated torsional torque, and estimation error for (a) nominal load time constant (T2N), (b) 2∙T2N, (c) 0.5∙T2N, and (d) 3∙T2N—simulation test.
Energies 18 03770 g009
Figure 10. Block diagram of the dual-mass control structure incorporating the proposed estimator.
Figure 10. Block diagram of the dual-mass control structure incorporating the proposed estimator.
Energies 18 03770 g010
Figure 11. Closed-loop transient waveforms with Gaussian noise: (a) motor and load speeds and (b) load and motor torque—simulation test.
Figure 11. Closed-loop transient waveforms with Gaussian noise: (a) motor and load speeds and (b) load and motor torque—simulation test.
Energies 18 03770 g011
Figure 12. Transient responses of closed-loop test signals: actual torsional torque, predicted torsional torque, and prediction error for operation with: (a) nominal load time constant (T2N), (b) 2*T2N, (c) 0.5*T2N, and (d) 3*T2N—simulation test.
Figure 12. Transient responses of closed-loop test signals: actual torsional torque, predicted torsional torque, and prediction error for operation with: (a) nominal load time constant (T2N), (b) 2*T2N, (c) 0.5*T2N, and (d) 3*T2N—simulation test.
Energies 18 03770 g012
Figure 13. Transient responses of closed-loop test signals. Actual torsional torque, estimated torsional torque, and estimation error with (a) low-moderate impulse disturbance and (b) high impulse disturbance—simulation test.
Figure 13. Transient responses of closed-loop test signals. Actual torsional torque, estimated torsional torque, and estimation error with (a) low-moderate impulse disturbance and (b) high impulse disturbance—simulation test.
Energies 18 03770 g013
Figure 14. Schematic diagram of the experimental setup.
Figure 14. Schematic diagram of the experimental setup.
Energies 18 03770 g014
Figure 15. Transient responses of the actual vs. predicted torsional torque and prediction error for (a) nominal load time constant (T2N), (b) 2*T2N, and (c) 3*T2N—experimental test. Red and black colours are overlapping.
Figure 15. Transient responses of the actual vs. predicted torsional torque and prediction error for (a) nominal load time constant (T2N), (b) 2*T2N, and (c) 3*T2N—experimental test. Red and black colours are overlapping.
Energies 18 03770 g015
Figure 16. Transient responses of (a) load and motor speed and (b) electromagnetic (motor) torque—experimental test.
Figure 16. Transient responses of (a) load and motor speed and (b) electromagnetic (motor) torque—experimental test.
Energies 18 03770 g016
Figure 17. Transient responses of torsional torque for 95% confidence interval (CI): (a) actual vs. estimated, (b) actual vs. estimated with error bars.
Figure 17. Transient responses of torsional torque for 95% confidence interval (CI): (a) actual vs. estimated, (b) actual vs. estimated with error bars.
Energies 18 03770 g017
Table 1. MAE comparison of IDOB and FDDOB.
Table 1. MAE comparison of IDOB and FDDOB.
Model-Based Torsional Torque CalculationMAE
Without NoiseWith Noise
IDOB0.01450.0192
FDDOB0.03750.0474
Table 2. MAE and RMSE corresponding to Figure 9 under variation in the load time constant.
Table 2. MAE and RMSE corresponding to Figure 9 under variation in the load time constant.
T2N2*T2N3*T2N0.5*T2N
RMSE0.00980.01500.01800.0070
MAE0.00500.00830.01050.0034
Table 3. MAE and RMSE corresponding to Figure 12 under variation in the load time constant.
Table 3. MAE and RMSE corresponding to Figure 12 under variation in the load time constant.
T2N2*T2N3*T2N0.5*T2N
RMSE0.01940.01540.01670.0070
MAE0.01290.01160.01290.0175
Table 4. MAE and RMSE corresponding to Figure 15 under variation in the load time constant.
Table 4. MAE and RMSE corresponding to Figure 15 under variation in the load time constant.
T2N2 T2N3 T2N
RMSE0.00610.00630.0070
MAE0.00470.00470.0057
Table 5. Comparison of different neural network estimators based on generalisation capability.
Table 5. Comparison of different neural network estimators based on generalisation capability.
Neural Network
Estimator Type
MAE forError Increasing (+) or Decreasing (−) Factor Compared to Nominal Value
Nominal Value of Load Time Constant (T2N)Twice the Nominal Value of Load Time Constant
(2*T2N)
Three Times the Nominal Value of Load Time Constant (3*T2N)Twice the Nominal Value (2*T2N)Three Times the Nominal Value
(3*T2N)
LSTM [42]2.05%N/A9.09%N/A+7.04%
CNN [42]2.02%N/A9.10%N/A+7.08%
Parallel neural network, [42]2.07%N/A8.36%N/A+6.29%
Feed forward NN optimised by Levenberg–Marquardt training and genetic algorithm [43]1.00%2.54%N/A1.54%N/A
Proposed method (NARX NN + model-based feedback)0.47%0.47%0.57%0%0.1%
Table 6. Comparison of different neural network estimators based on complexity.
Table 6. Comparison of different neural network estimators based on complexity.
Neural Network
Estimator Type
Number of InputsNumber of Hidden LayersTotal Number of Hidden/Output Layer NeuronsHidden/Output Layer Activation Function TypeFilter Application
LSTM [1]2485sigmoid and tanh/linearYes
CNN [1]2396sigmoid, and tanh/linearYes
Parallel neural network [1]27117ReLU, sigmoid, and tanh/linearYes
Feed forward NN optimised by Levenberg–Marquardt training and genetic algorithm [2]6212tanh/linearYes, with a 5 ms filter time constant
Proposed method (NARX NN + model-based feedback)516 neurons, and an additional 3 integration, 3 summation, and 3 multiplication operations from the model-based feedback.tanh/linearNo
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

Kahsay, A.H.; Derugo, P.; Majdański, P.; Zawiślak, R. Hybrid NARX Neural Network with Model-Based Feedback for Predictive Torsional Torque Estimation in Electric Drive with Elastic Connection. Energies 2025, 18, 3770. https://doi.org/10.3390/en18143770

AMA Style

Kahsay AH, Derugo P, Majdański P, Zawiślak R. Hybrid NARX Neural Network with Model-Based Feedback for Predictive Torsional Torque Estimation in Electric Drive with Elastic Connection. Energies. 2025; 18(14):3770. https://doi.org/10.3390/en18143770

Chicago/Turabian Style

Kahsay, Amanuel Haftu, Piotr Derugo, Piotr Majdański, and Rafał Zawiślak. 2025. "Hybrid NARX Neural Network with Model-Based Feedback for Predictive Torsional Torque Estimation in Electric Drive with Elastic Connection" Energies 18, no. 14: 3770. https://doi.org/10.3390/en18143770

APA Style

Kahsay, A. H., Derugo, P., Majdański, P., & Zawiślak, R. (2025). Hybrid NARX Neural Network with Model-Based Feedback for Predictive Torsional Torque Estimation in Electric Drive with Elastic Connection. Energies, 18(14), 3770. https://doi.org/10.3390/en18143770

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