1. Introduction
The energy conversion sector has played a pivotal role in the global energy transition, particularly through renewable energy systems and electric vehicle charging stations, where power electronic converters (PECs) have become the industry standard. Despite their critical importance, power conversion systems are among the most failure-prone assets in industrial environments [
1,
2]. Their susceptibility to operational and environmental stresses over time leads to gradual degradation and eventual failure [
3,
4]. After surviving the initial break-in period, the failure rate typically stabilizes at an approximately constant level until the PEC begins to wear out. However, unexpected overloads may occur during this period and are the main causes of random failures. In contrast, the primary causes of long-term failures are repeated thermal stresses followed by mechanical vibrations, which can cause components to reach the end of their lifetime before the product’s expected service life. Critical parts such as power semiconductors, capacitors, electromechanical devices, and magnetic components therefore require robust design and testing to minimize failures [
5]. Additionally, real-time monitoring of these components can help predict potential failures and improve long-term reliability. In this context, the concept of condition monitoring (CM) has emerged. CM in power electronics refers to the continuous assessment of the health and performance of components and systems to detect signs of degradation, wear, or impending failure. In general, CM methods can be divided into direct and indirect approaches [
6]. Direct CM relies on physical sensors in direct contact with the system or component being monitored. For power modules, CM techniques are mainly classified into forward-voltage-based [
7,
8], threshold-voltage-based [
9], switching-time-based [
10], and temperature-based [
11]. For capacitors, additional current or voltage sensors are usually required [
12,
13]. However, sensor-based CM increases both the cost and complexity of the system due to the additional hardware, which can itself reduce overall reliability. Moreover, most existing CM circuits and sensors are designed for specific components and cannot be easily generalized, limiting the applicability of these methods. Furthermore, degradation of a single power device or component affects the response of the entire power conversion system and, in practical maintenance strategies, a failure in one component often leads to replacement of the entire converter or assembly. Therefore, monitoring the health status of the entire power conversion system is crucial. This goal can be addressed through system identification techniques [
14]. Parameter identification can be performed indirectly using algorithms such as recursive least squares [
15] or Kalman filter [
16]. However, when the number of unknown parameters exceeds the number of available equations, these algorithms may fail to provide feasible solutions. This limitation has motivated the recent adoption of the digital twin (DT) concept in the modelling and reliability assessment of power conversion systems. A DT is a high-fidelity digital replica of a particular power system (PS), capable of real-time online monitoring of the health status of one or more components by exploiting data from sensors already present in the PS and processing them using advanced optimization algorithms [
17]. In recent years, numerous studies on DTs for estimating degradation parameters in power electronics have been published, employing a wide range of optimization algorithms [
18,
19,
20,
21,
22]. However, metaheuristic optimization algorithms are iterative in nature, which makes parameter estimation time-consuming and, as the number of unknown parameters increases, the identification accuracy tends to deteriorate. For this reason, neural networks (NNs) are emerging as a promising solution for parameter estimation in power conversion systems.
The DT of a three-phase AC–DC boost rectifier was implemented in [
23] to estimate the RL line impedance using NNs. In [
24], the capacitance of a DC-link capacitor in a back-to-back converter was estimated using an artificial neural network (ANN) architecture that takes as inputs only the RMS value of the input current and the voltage ripple of the DC-link voltage. The identification of all the parameters of a buck converter was achieved in [
25], where time- and frequency-domain features were extracted from current and voltage signals to train a backpropagation (BP) ANN. Despite the promising results reported in [
25], validation based solely on simulation data is not sufficient to fully validate an NN-based method. Experimental validation was presented in [
26] for the identification of the on-state resistance of a MOSFET and the capacitance and equivalent series resistance of the output capacitor in a DC–DC buck converter. In particular, the proposed ANN method consists of two networks: ANN1, used to identify the MOSFET on-state resistance, and ANN2, used to estimate the capacitor capacitance and series resistance, thereby reducing the overall parameter estimation error. In [
27], a monitoring method for degradation parameters of a DC–DC boost converter was developed using an NN and compared with a particle swarm optimization (PSO)-based health monitoring technique, demonstrating improved relative accuracy in parameter estimation. In [
28], an ANN technique for estimating the parameters of a three-phase voltage source converter (VSC) has been implemented using as inputs the harmonics of the currents and voltage waveforms. Similarly to [
27], also in [
28] an ANN technique was implemented to estimate the parameters of a three-phase voltage source converter (VSC) using as inputs the harmonics of the current and voltage waveforms. Similarly to [
27] the parameters estimated with ANN in [
28] were compared to those obtained with a PSO algorithm, showing a reduction in the percentage error of about 10%.
NNs have also been applied to parameter estimation in electrical drives. In [
29], an approach for online estimation of stator and rotor resistances in induction motors was proposed, enabling sensorless speed control in indirect vector-controlled drives using ANNs. Likewise, ref. [
30] describes the hardware implementation of an NN-based estimator for the speed of the load machine in a drive system with elastic coupling, using a reconfigurable field-programmable gate array (FPGA).
Although these NN-based approaches demonstrate promising parameter estimation capabilities, they are typically designed as standalone estimators that map measured signals to unknown parameters. In most cases, the neural network is not structured as a real-time digital replica of the physical system, but rather as a regression tool operating independently from a digital representation of the converter or drive. Consequently, these methods do not fully exploit the digital twin paradigm, which requires a synchronized virtual model continuously updated using real-time measurements. To further clarify the distinction between conventional NN-based parameter estimation methods and the proposed approach,
Table 1 summarizes the main differences between the two frameworks.
In this work, a neural real-time digital twin is defined as a data-driven digital replica of the power conversion system that operates synchronously with the physical plant and continuously updates its internal parameters using measured signals available in the controller. Unlike conventional NN-based parameter estimation methods, the proposed neural digital twin:
- (i)
Represents the complete PMSG rectifier system rather than a single component;
- (ii)
Performs simultaneous estimation of multiple degradation-sensitive parameters belonging to both the electrical drive and the power converter;
- (iii)
Operates in real time within the embedded controller;
- (iv)
Designed for condition monitoring purposes, enabling continuous tracking of parameter evolution during operation.
This formulation moves beyond conventional NN-based estimators by embedding the neural model within a real-time digital twin framework, where the GRU network acts as a real-time digital model (RTDM) of the system. The neural digital twin is therefore capable of providing continuous parameter updates, supporting health monitoring and predictive maintenance without requiring additional sensors or intrusive excitation signals. Although neural network–based parameter estimation methods reported in the literature show promising results, they are typically implemented as standalone regression tools that map measured signals to unknown parameters. In most cases, the neural model is not structured as a real-time digital replica of the physical system and does not operate synchronously with the plant. In contrast, the proposed approach embeds the GRU network within a neural real-time digital twin framework. The model represents the complete PMSG rectifier system and simultaneously estimates multiple degradation sensitive parameters, including stator resistance, synchronous inductance, and DC-link capacitance. Moreover, the digital twin operates in real time on the embedded controller using only measurements already available within the system, making it suitable for condition-monitoring applications. These features distinguish the proposed method from conventional neural network–based parameter estimation approaches.
Despite these advances, no prior work has demonstrated a NN-based digital twin that is simultaneously real-time, embedded, system-level, and experimentally validated under both balanced/unbalanced conditions and temperature variations for PMSG-based offshore wind power conversion systems.
The main contributions of the paper are the following:
A neural real-time digital twin based on a GRU network is proposed for PMSG-based power conversion systems.
Online estimation of stator resistance, synchronous inductance, and DC-link capacitance is achieved without additional sensors.
The method is validated under wide parameter variations, balanced/unbalanced conditions, and different operating temperatures.
The GRU model is deployed on an embedded controller using LabVIEW Real-Time, enabling true real-time execution.
Experimental results demonstrate low RMSE and MPE, confirming suitability for condition monitoring and predictive maintenance in offshore wind applications.
3. Parameters Identification Using Neural Networks
A type of neural network specialized for processing grid-like data, such as images, is the Convolutional Neural Network (CNN). CNNs use convolutional layers to extract features from the input data, making them particularly powerful for computer vision tasks such as image classification and object detection [
31]. Recurrent Neural Networks (RNNs), on the other hand, are more effective for dynamic, time-dependent processes [
32]. They are specifically designed for sequential data, such as time series or text. RNNs include recurrent connections that form cycles, allowing them to retain information over time. In particular, they can be configured to allow bidirectional information flow. In other words, while in Feed-Forward Neural Networks (FFNNs) the propagation of signals occurs only in the forward direction, from the inputs to the outputs, in RNNs this propagation can also occur from a subsequent layer to a previous one, between neurons within the same layer, or even from a neuron back to itself [
33,
34]. The most well-known variants of RNNs are Long Short-Term Memory (LSTM) networks and Gated Recurrent Units (GRUs), which address issues such as vanishing gradients and improve long-term memory retention. As mentioned previously, the NN selected in this work is the GRU. A GRU-based NN is a type of RNN that has gained popularity due to its relatively simple architecture. It is a recurrent network that uses the output values at a given time step as inputs for the next one, thus creating feedback and a correlation between past and future values, as shown in
Figure 4.
As illustrated in the figure, the GRU NN is composed of: a reset gate
, which determines how much of the previous hidden state
to forget; an update gate
, which decides how much of the new candidate activation
will be used to update the hidden state
; the candidate activation
, representing the potential new hidden state and incorporating the influence of the reset gate; and the actual hidden state
, which is a combination of the hidden state at the previous time step
and the candidate activation. The defining equations are given in (13), where
is the sigmoid activation function,
is the hyperbolic tangent,
,
, and
are the weight matrices between the input
and the reset gate, update gate, and candidate activation, respectively;
,
, and
are the weight matrices between the hidden state
and the reset gate, update gate, and candidate activation, respectively; and
,
, and
are the corresponding bias terms. The dot symbol denotes the element-wise product.
Finally, the output layer is represented by the linear equation in (14), where
is the weight matrix between the hidden layer output and the network output
, and
is the bias term of the output layer.
Thanks to its internal gating mechanisms, a GRU has the additional capability of learning patterns in the input sequence and storing relevant information in memory. The gates control the flow of information, retaining important information over long sequences and discarding irrelevant data. In this way, GRUs, like LSTMs, are specifically designed to mitigate the vanishing gradient problem that affects traditional RNNs. Moreover, GRUs have a simpler structure than LSTMs, with fewer parameters to train, which can result in faster training times and reduced computational cost. However, GRUs lack an explicit output gate, which is present in LSTMs and can be beneficial for certain tasks where controlling the output flow is crucial. In the present application, an RNN was required because of the sequence-to-one regression nature of the problem; however, explicit control of the output flow is not a key requirement. For this reason, a GRU-based NN architecture has been selected for this study. The GRU architecture was selected as a compromise between modeling capability and computational complexity. Compared to LSTM networks, GRUs require fewer parameters while maintaining the ability to capture temporal dependencies, which is particularly important for real-time embedded implementation. Transformer-based architectures were also considered; however, they typically require larger datasets and higher computational resources, making them less suitable for real-time execution on embedded controllers. Since the input sequences are relatively short and the system dynamics can be effectively captured using recurrent architectures, the GRU network represents an appropriate trade-off between estimation accuracy and computational efficiency.
NNs are increasingly being applied to estimate parameters in power electronic converters. As stated in the previous chapters, traditional methods for parameter estimation often require complex mathematical modelling and analysis. However, NNs offer an alternative approach that can handle non-linear dynamics and time-varying behaviour without the need for explicit mathematical models. This makes NNs suitable for complex and real-time applications.
In this paper, the real-time estimation of the inductances of the L-type filter of the AC–DC converter and the DC-link capacitance is carried out using a GRU-based NN. The final architecture of the NN, illustrated in
Figure 5, consists of a single hidden layer composed of 64 neurons. The NN is trained on data obtained first from simulations and later from measurements of the HIL emulation of the converter. The number of hidden neurons was selected through empirical hyperparameter tuning. Networks with 16, 32, 64, and 128 neurons were tested. The configuration with 64 neurons provided the best trade-off between estimation accuracy and computational cost for real-time implementation. The training dataset was generated from Typhoon HIL simulations and consists of 41 multivariate time-series sequences, each including seven input channels (
,
,
, THD
ia, THD
ib, THD
ic, and V
dc). The dataset was randomly split into 32 training samples, 5 validation samples, and 4 test samples. The GRU network was trained in MATLAB using the Adam optimizer for 5000 epochs, with a mini-batch size of 32 and an initial learning rate of 0.00025. These quantities were selected because they are directly influenced by variations in the passive parameters to be estimated and are therefore highly sensitive indicators of changes in the inductances and the DC-link capacitance. In particular, the current waveforms and their harmonic content reflect the dynamic response of the AC-side filter, while the DC-link voltage profile is tightly coupled to the energy storage behavior of the capacitor. As a result, this combination of routinely measured signals provides the NN with the most informative and physically meaningful features for distinguishing different parameter conditions, without requiring additional sensors or intrusive excitation signals. Once trained, the NN is deployed online in the system, where it continuously estimates the parameters as new input data are fed into the network. To conclude, the GRU NN architecture has been implemented on the microprocessor of the control board using the LabVIEW programming language. The computational time and cost of the NN-based parameter estimation algorithm are analysed in order to demonstrate the feasibility and applicability of the proposed method.
4. Experimental Results
As previously mentioned, the training was carried out in the MATLAB environment using a dataset obtained from the AC–DC converter emulated in a Typhoon HIL 606. The inductances were randomly varied between 400 µH and 1.2 mH, and the capacitance between 0.1 mF and 2 mF. Training, validation and testing were performed using both balanced and unbalanced inductance values in order to evaluate the estimation performance under different conditions.
The predicted values were compared with the expected ones by means of the scatter plots shown in
Figure 6. In particular, the red dotted line represents the reference line where the predicted values should ideally lie in order to match the target values. The blue dots represent the parameters predicted by the NN (
x-axis) versus the corresponding target values (
y-axis).
Figure 6a shows the inductance
La,
Figure 6b the inductance
Lb,
Figure 6c the inductance
Lc, and in
Figure 6d the capacitance
Cdc. As can be seen, some outliers are present, meaning that the predicted value does not coincide with the expected one and therefore lies far from the red dotted line. Despite this, most of the test samples follow the reference line closely. Hence, it can be concluded that the proposed passive-parameter estimation method is promising.
Table 2 reports the RMSE and MPE for each parameter.
To further evaluate the estimation performance, additional metrics such as the mean absolute error (MAE) and the coefficient of determination (R
2) were computed, as shown in
Table 2. The MAE provides the average absolute deviation between predicted and measured values, while the R
2 coefficient evaluates the goodness of fit of the model. The obtained results show very low estimation errors for all parameters. In particular, the MAE values remain on the order of 10
−5 for all estimated quantities, while the MPE is below 1% for all inductances and below 0.1% for the DC-link capacitance. Furthermore, the coefficient of determination is close to unity for all parameters (R
2 ≥ 0.97), indicating excellent agreement between predicted and measured values. These results, together with the scatter plots in
Figure 6, confirm that the proposed neural real-time digital twin provides highly accurate parameter estimation. The tight clustering of the data around the 1:1 reference line further demonstrates the strong correlation between predicted and measured values and the robustness of the proposed method.
To further validate the proposed method for parameter identification of the boost rectifier, an experimental setup was built.
Figure 7 shows the experimental test rig used to validate the proposed algorithm. From the figure, the PMSM directly coupled to the generator, the three-phase boost rectifier, the control board and the adapter board can be identified. The main parameters of the PMSM are reported in
Table 3.
The converter consists of a three-phase power stage mounted on an air-extruded heat sink. On top of each heat sink, there is a Semikron-Danfoss three-phase power module (Skiip-26ACM12V17, 1200 V, 72 A) with SiC MOSFET devices, the gate-drive circuits, three current sensors (LEM LAH50-P), one DC-side voltage sensor (LEM LV20-P), and four TDK film capacitors. The control structure, data acquisition and buffering were implemented on the FPGA of the PED-Board
® controller using the LabVIEW environment. This implementation enables real-time analysis by transmitting data directly to the on-board microprocessor, where the closed-form representation of the ANN has been implemented using LabVIEW Real-Time, as illustrated in
Figure 8.
The input data are first sampled using a dedicated trigger. The sampling process is automatically stopped after two fundamental periods, and the sampled data are stored in the variable “NNData”. This variable is provided as an input to the “GRU NN” subVI, together with the weights and biases obtained in MATLAB during the training process.
Figure 9 shows the implementation of the closed-form equations in (14) inside the “GRU NN” subVI in LabVIEW Real-Time.
As can be observed, the “GRU NN” subVI returns the updated hidden state, which is then used in the output fully connected layer implemented in the “FC” subVI to obtain the NN output value.
Figure 10 shows the current waveforms
(yellow),
(green),
(magenta) and the DC-link voltage
(red) at steady state when the machine speed is equal to 2500 rpm. Under these conditions, the current peak is 30 A and the peak of the electromotive force is 287 V.
Figure 11 shows the estimated and measured synchronous resistances, inductances and DC-bus capacitance when the temperature is close to 25 °C. As can be seen, the proposed algorithm is able to estimate the system parameters.
Figure 12 illustrates the estimated and measured synchronous resistances, inductances and DC-bus capacitance when the temperature is close to 50 °C. The operating temperature was measured with a sensor placed inside the machine stator winding. An HP 4192A-LF Impedance Analyzer was used to characterize the stator windings, measuring the phase inductances without electrical load, while a multimeter was used to estimate the on-state resistance. The inductance associated with the direct axis under operating conditions was then measured.
To determine this inductance, the d-axis of the rotor must be aligned with phase a of the stator winding. A simple way to achieve this alignment is through single-phase excitation, where the stator current generates a non-rotating magnetic field, whose axis coincides with the physical axis of phase a. To evaluate the inductance associated with the quadrature axis, the q-axis of the rotor must instead be aligned with the physical axis of phase a. In a three-phase system, this configuration is obtained by connecting two phases in series, resulting in a stator flux that is in quadrature (90°) with respect to the physical a-axis.
The test was performed by first aligning the rotor with one or more phases, depending on whether the direct or quadrature inductance was to be measured, and then supplying them with a voltage whose frequency and RMS value were controlled via a modulation coefficient using an inverter. By employing a current probe and an oscilloscope, the current waveform was recorded. Finally, the impedance of the excited phase was evaluated by relating the phase excitation voltage to the RMS current value. The resistance of each phase was determined using the volt–ampere method: by measuring the current flowing through the stator winding and the voltage across it, the resistance was obtained using Ohm’s law. Consequently, the phase inductance was estimated as the difference between the measured impedance and the measured resistance.
To better assess the performance of the proposed neural real-time digital twin, the estimation accuracy was evaluated over a wide parameter variation range. To this end, additional inductors of 380 μH and 760 μH were connected in series with each phase of the machine. Moreover, additional capacitors of 1 μF and 2 μF were inserted into the DC-link. These modifications allowed testing the estimator under significant parameter variations representative of component aging and degradation.
Figure 13 shows the measured and estimated phase resistances, inductances, and DC-link capacitance at 50 °C for two different operating conditions: (a) L
A = L
B = L
C = 800 μH and C
dc = 2 μF, and (b) L
A = L
B = L
C = 1180 μH and C
dc = 3 μF. As can be observed, the estimated parameters closely follow the measured values in both cases, confirming the capability of the proposed neural digital twin to track large parameter variations. The estimation error remains very small across all parameters. For the phase resistances, the maximum deviation is below 1%, while for the inductances the error remains below 0.8%. The DC-link capacitance estimation shows an error below 0.5% even under large capacitance variation. Considering the wide variation range introduced in the experimental setup, these results confirm the high accuracy and robustness of the proposed method. These results indicate that the proposed neural digital twin remains accurate under varying operating conditions, which emulate the dynamic load behavior typical of wind energy conversion systems. To further validate the robustness of the proposed method under asymmetric operating conditions, an additional test was performed by introducing phase inductance unbalance. In this case, the installed inductances were set to L
A = L
B = 800 μH and L
C = 420 μH. The corresponding measured and estimated parameters at 50 °C are shown in
Figure 14. As can be observed, the neural real-time digital twin is able to correctly estimate the different inductance values for each phase, demonstrating its capability to operate under unbalanced load conditions. The estimation accuracy remains high even in the presence of significant phase asymmetry, confirming the robustness of the proposed approach in realistic operating scenarios.
These results also demonstrate that the neural real-time digital twin is able to correctly track parameter changes caused by hardware modifications, which emulate degradation phenomena occurring in real applications. Moreover, the estimation remains stable under temperature variations, as previously shown in
Figure 11 and
Figure 12, where the estimated parameters follow the measured values with minimal deviation. Another important performance metric is the capability of the proposed method to simultaneously estimate multiple parameters. Unlike conventional NN-based estimators that focus on a single component, the proposed approach identifies stator resistance, synchronous inductance, and DC-link capacitance within a unified framework. This multi-parameter estimation capability is particularly relevant for condition monitoring applications, where degradation may affect different components simultaneously. Finally, compared to state-of-the-art NN-based estimators reported in [
24,
25,
26,
27,
28,
29,
30], as shown in
Table 4. The proposed method provides competitive estimation accuracy while enabling real-time embedded execution and system-level monitoring. The combination of multi-parameter estimation, real-time implementation, and low estimation error highlights the effectiveness of the proposed neural real-time digital twin for condition monitoring of power conversion systems.
5. Conclusions
This paper has presented an enhanced neural real-time digital twin for a PMSG-based power conversion system intended for offshore wind applications. The DT is built around a GRU neural network that estimates in real time the PMSG phase resistance and synchronous inductance, as well as the DC-link capacitance of a three-phase boost rectifier. Unlike traditional model-based identification techniques, the proposed approach leverages only routinely measured electrical quantities and does not require additional sensors or intrusive test procedures. The GRU network was first trained and validated using a Typhoon HIL 606 emulator of the AC–DC conversion stage, where the inductances and capacitance were randomly varied over wide ranges and both balanced and unbalanced conditions were considered. Scatter-plot analysis and numerical indicators (RMSE and MPE) showed that the predicted parameters closely follow their reference values, with most samples lying near the ideal 1:1 line and mean percentage errors below 1% for all quantities. These results confirm the capability of the proposed NN-based RTDM to capture the nonlinear and time-varying behaviour of the system.
To further validate the method, an experimental test rig was developed including a PMSG, a three-phase boost rectifier with SiC devices, and a PED-Board® controller. The GRU closed-form equations were implemented on the controller using LabVIEW Real-Time, enabling embedded execution with limited computational resources. Experimental measurements at different operating temperatures (around 25 °C and 50 °C) confirmed that the DT correctly tracks the evolution of the synchronous resistances, inductances, and DC-link capacitance, demonstrating robustness with respect to thermal variations and practical operating conditions.
Overall, the results indicate that the proposed GRU-based digital twin is an effective and computationally efficient tool for online parameter identification in power electronic converters and electrical drives. By providing accurate real-time estimates of key degradation-sensitive parameters, it lays the groundwork for advanced condition monitoring and predictive maintenance strategies in offshore wind power conversion systems. Future research will focus on extending the proposed neural real-time digital twin toward fault detection capabilities by identifying specific component degradations in the PMSG and power converter. Moreover, the integration of the digital twin with predictive maintenance strategies will be investigated, enabling the estimation of degradation trends and supporting remaining useful life prediction and maintenance scheduling in offshore wind applications.