기본 정보
- 저자
- DOI
- 10.1109/access.2025.3568589
- 저널
- IEEE Access
- 발행년도
- 2025
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 4
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2025.3568589
- 토픽
- Gear and Bearing Dynamics Analysis
- OpenAlex ID
- W4410226684
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 61,781자
본문 펼치기
섹션 본문 134문단 · 42,509자
(제목 없음)
1Torque prediction is crucial for the control and safe operation of electric motors.Compared to offline methods, online identification methods can adapt to dynamic changes and individual variations in motor characteristics in real time, but they face challenges such as rank deficiency and the failure of physical equations.Data-driven methods, which do not rely on specific mathematical models, are better suited to address these issues.However, the lack of torque feedback during actual motor operation can render supervised learning ineffective.This paper proposes a method that combines offline learning and online updates using Physics-Informed Neural Networks (PINNs).The method enables online learning of motor parameters through real-time data and constructs a torque output model to support more efficient and safe online systems.Compared to least-squares methods based on physical formulas, the PINN approach demonstrates greater accuracy and dynamic adaptability in real-time testing.Experimental results in a data set from a physical test bench with a torque output range of ±260 N•m demonstrate that the proposed PINN method achieves an MAE of 0.7745 N•m and an RMSE of 1.6393 N•m.The method also converges in seconds in new environments, highlighting its robustness and practical applicability.
I. INTRODUCTION
2Permanent Magnet Synchronous Motors (PMSMs) are extensively applied in robotics, servo systems, and electric vehicles [1].Their appeal stems from high reliability, power density, controllability, and minimal maintenance costs [2].However, advanced techniques, such as torque control [3], sensorless control [4], and fault diagnosis [5], demand precise motor models.The establishment and dynamic updating of such models remain challenging, especially under varying operating conditions.PMSM modeling methods are broadly classified into offline and online approaches [6], depending on whether parameter estimation is performed during system operation.These methods typically include physics-based parameter identification and data-driven techniques.
3The associate editor coordinating the review of this manuscript and approving it for publication was Qinfen Lu .
A. OFFLINE MODELING METHODS
4Offline modeling methods are among the most prevalent approaches for motor modeling.These methods construct models based on experimental data to identify system dynamics and relationships, such as torque-current and fluxcurrent characteristics.Common techniques include leastsquares regression based on physical models [7], lookup tables [8], [9], and supervised learning-based neural network models [10].For instance, resistance parameters can be identified by injecting a linearly increasing current into the d-axis and performing linear regression [11], while inductance parameters can be determined by injecting DC and sinusoidal AC signals [12].These approaches effectively leverage experimental data and are relatively mature.
5In recent years, data-driven methods have garnered significant attention for offline modeling [13].Unlike physics-based approaches, data-driven methods bypass physical model assumptions or domain-specific knowledge, employing deep learning neural networks to directly learn motor characteristics from large-scale experimental data [14], [15], [16].This capability makes them particularly adapt at capturing nonlinear or complex system behaviors.However, their performance heavily depends on the quality and quantity of the training data.
6Despite their strengths in accurately characterizing static properties of motors under known conditions, offline modeling methods face notable limitations.The modeling process often requires extensive experimental data, which is timeconsuming to collect and process.Furthermore, static models struggle to adapt to dynamic environmental changes, such as temperature, humidity, or operational cycles [17].For example, motor aging, temperature variations [18], or production tolerances [19] can degrade model accuracy, leading to significant estimation errors.Moreover, offline methods lack the ability to adjust model parameters in real time during long-term motor operation, rendering them unsuitable for dynamic working conditions.
B. ONLINE MODELING METHODS
7Online modeling methods enable real-time updates of motor models, allowing them to adapt to environmental changes and adjustments to dynamic motor state.Common approaches include the Kalman filter [20] and recursive least squares (RLS) [21], [22], which primarily estimate physical parameters such as L d , L q , stator resistance R s , and flux linkage ψ p .Nevertheless, online modeling methods face two significant challenges: model inaccuracy and rank deficiency.
8Model inaccuracy arises from the complex coupling relationships among PMSM parameters and nonlinear effects [44], such as magnetic saturation and cross-coupling.For instance, Liu et al. [45] demonstrated that two-way magneto-mechanical coupling and nonuniform spline clearance can significantly degrade torque prediction accuracy.Rank deficiency, on the other hand, occurs when the number of equations in the voltage model is insufficient to uniquely determine all required parameters [23].This issue is often mitigated by fixing certain parameters, such as setting the rotor flux linkage λ r to a nominal value, but these remain dependent on specific assumptions, limiting their generalizability in real-time applications.
9Despite these advancements, conventional methods still suffer from computational inefficiencies and limited estimation accuracy.To address these challenges, advanced methods have been explored.High-frequency signal injection and recursive least squares techniques have been employed for real-time identification of resistance [37], flux linkage, and inductance [21], [22].Additionally, studies have integrated motor operating states with experimental data, using parameter sensitivity analysis to enhance identification precision [25] and improve high-frequency injection noise characterization [4].Despite these advancements, conventional methods still suffer from computational inefficiencies and limited estimation accuracy.Data-driven methods, particularly those based on deep learning, have emerged as promising alternatives to address the challenges of model inaccuracy and rank deficiency.In the context of PMSM systems, convolutional neural networks have shown strong potential for improving fault diagnosis and adaptive modeling [27].In parallel, deep reinforcement learning has been effectively applied to adaptive control problems, demonstrating its promise for realtime PMSM parameter estimation [41].Physics-informed neural networks (PINNs), in particular, have demonstrated improved computational efficiency and accuracy in systemlevel simulations [38].Recent advances have also introduced robust uncertainty quantification techniques for PINNs, effectively addressing noise in both inputs and outputs and thereby increasing their reliability in practical scenarios [39].Furthermore, incorporating weighted loss functions in PINNs has proven effective in improving stability and prediction accuracy under dynamic and uncertain environments [40].The application of PINNs in control system modeling is also gaining momentum, with several studies exploring their effectiveness in PMSM-related dynamics and control [42], [43].
10Despite these advances, data-driven approaches still face practical challenges.A major limitation is the reliance on labeled data-particularly torque measurements-which are often unavailable in real-time industrial settings, making conventional supervised learning approaches infeasible.To circumvent this, some studies have attempted to predict intermediate variables, such as inverter nonlinear voltage [24] or flux linkage using tailored loss functions [26], [28].However, these methods often depend on restrictive assumptions, which may not hold under varying operating conditions.Therefore, developing an accurate and generalizable online modeling framework that avoids direct dependence on torque labels, while still fully leveraging the representational power of neural networks, remains an open and critical research challenge.
C. MAIN CONTRIBUTIONS
11This paper proposes a data-driven online torque prediction method based on PINNs, as illustrated in Fig. 1.The method achieves real-time torque prediction by learning motor physical parameters and incorporating physical information, such as motor equations, into the neural network framework.The main contributions of this work are as follows:
121) Physics-Informed Learning: By embedding physical principles into the neural network, the proposed method overcomes the challenges of supervised learning, particularly the lack of real-time feedback, enabling effective online learning without the need for manual model adjustments.2) Enhanced Physical Interpretability: Outputting motor parameters instead of direct torque predictions enables higher interpretability, efficient torque control, and safety threshold prediction.It also allows This approach maximizes the utilization of offline data and ensures high initial model accuracy while enabling continuous improvement through online updates.
II. FUNDAMENTAL THEORIES IN PMSM MODELING A. PMSM MATHEMATICAL MODEL
13The mathematical modeling of PMSM dynamics forms the foundation for motor control and performance analysis.
14To simplify analysis, coordinate transformations and linearized models are commonly employed.
1) COORDINATE TRANSFORMATIONS
15The three-phase abc currents are transformed into the stationary αβ frame using the Clarke transformation (Eq.1), and further into the rotating dq frame via the Park transformation (Eq.2).These transformations facilitate the representation of motor dynamics in a simplified reference frame.
162) LINEARIZED PMSM MODEL Assuming low magnetic saturation, the linearized PMSM model describes the relationship between stator voltage, flux linkage, and currents.The dynamic state-space equations (Eq. 3) and the torque equation (Eq.4) capture the key behaviors:
17)
18Offline parameter identification estimates motor parameters (R s , L d , L q , m ) by discretizing the voltage equations and applying least squares estimation (Eq.5).This approach minimizes the error between observed and predicted voltages to achieve high accuracy under static conditions.
19Although offline methods are effective for static environments, they lack adaptability under dynamic conditions, emphasizing the need for online learning methods.
C. ONLINE PARAMETER IDENTIFICATION METHOD
20In the proposed online identification method, the nonlinear PMSM model considering magnetic saturation is employed.By discretizing the electrical equations, the voltage difference equations are derived to perform parameter identification.Real-time estimation of motor parameters is achieved using RLS regression.The following describes the key steps of this method:
1) DISCRETE VOLTAGE EQUATIONS
21Based on the electrical equations of PMSM, the voltage difference equations are expressed as [29]: (6) 196798 VOLUME 13, 2025 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
22where key parameters are defined as follows:
23• i dq [k]: d-axis and q-axis current components;
24• i dq [k + 1]: variation of current components;
25• L dq : inductance matrix;
26• R s : stator resistance; • T s : sampling time;
27• u dq [k]: d-axis and q-axis voltage components;
28• ω[k]: rotor angular velocity;
29• ψ dq : flux linkage vector;
30• T dq αβ and I : coordinate transformation matrix and identity matrix, respectively.
2) RECURSIVE LEAST SQUARES ESTIMATION
31The RLS algorithm is used to estimate θ d and θ q by minimizing the cumulative squared error between the observed and predicted current variations:
32where e[k] is the error term.The parameter update rule is defined as:
33with the gain matrix K [k] computed as:
34Here, P[k] is the covariance matrix, λ is the forgetting factor, and ξ [k] is the regression vector.This method ensures efficient real-time parameter updates while maintaining numerical stability.
3) ALGORITHM OVERVIEW
35The complete online identification process is outlined in Algorithm 1.
36Algorithm 1 Online RLS Parameter Identification 1: Input: Forgetting factor λ, initial parameters θ dq [0], covariance matrix P[0] 2: while System is operational do
37Compute gain matrix:
38Update parameters:
39Update covariance matrix:
409: end while
D. OFFLINE SUPERVISED LEARNING-BASED MODELING
41The offline modeling process utilizes a supervised learning framework [30], relying on a dataset with torque feedback.The inputs include d-axis current (i d ), q-axis current (i q ), daxis voltage (u d ), q-axis voltage (u q ), and rotor speed (ω), while the output is the torque (T e ).The objective is to train a predictive model capable of estimating the torque based on the input conditions.The workflow is illustrated in Fig. 2.
1) MODEL REPRESENTATION
42The predictive model is represented as:
43where x = [i d , i q , u d , u q , ω] represents the input features, w are the model parameters, and Te is the predicted torque.For a deep learning model, f (•) is typically a neural network.
2) LOSS FUNCTION AND OPTIMIZATION
44The model parameters w are optimized by minimizing the mean squared error (MSE) loss function:
45where N is the total number of training samples,
46e is the ground truth torque for the i-th sample, and T (i) e is the corresponding predicted torque.The model parameters are updated using gradient descent:
47where η is the learning rate.
3) WORKFLOW
48The offline modeling process consists of the following stages:
4) ADVANTAGES AND LIMITATIONS
49Offline supervised learning-based methods excel at capturing static nonlinear relationships in high-quality datasets.However, they face limitations in adapting to dynamic environmental changes and rely heavily on the availability of labeled data.
III. PROPOSED PINN METHOD
50The proposed method integrates physical laws into the neural network's training process by embedding governing equations directly into the loss function [31].Specifically, in this study, the fundamental voltage and torque equations of the PMSM are used as constraints to enhance the neural network's parameter learning and prediction capabilities.
A. EMBEDDING MOTOR EQUATIONS IN THE NETWORK
51The most innovative aspect of the proposed method is the embedding of the motor's physical equations into the network.This is achieved by incorporating the PMSM voltage and torque equations directly into the loss function.
52In the online learning phase, where torque feedback is unavailable, the network relies on voltage residuals to compute the loss and update the parameters.This loss function directly incorporates the motor's governing equations, ensuring that the network's predictions remain consistent with the physics of the system.The embedding of physical laws into the learning process not only enhances the model's prediction accuracy but also improves its physical interpretability, making the model's behavior easier to understand and validate against physical expectations.
B. NETWORK ARCHITECTURE AND STRUCTURE
53The network architecture is designed to balance the stability of physical parameters and the adaptability of dynamic parameters.As shown in Figure 4, the architecture consists of shared layers for stable parameters, which are learned during offline training, and independent output towers for dynamic parameters, which are updated during online learning.This design enables the model to efficiently adapt to real-time changes in operating conditions, while maintaining consistency with physical laws.During the initial phase of profile changes in online updates, prediction errors tend to be larger.To address this, we designed the architecture with shared layers to capture the stable aspects and independent output towers to handle dynamic parameters such as q-axis inductance and flux linkage.This structure allows the model to adapt more effectively during transitions between different operating conditions by enabling faster convergence and reducing errors during profile changes.
C. OFFLINE-ONLINE COMBINED TRAINING AND MULTI-LABEL STRATEGY
54The training process is divided into two phases: offline pretraining and online updates.In the offline phase, we pretrain the model using long-term data to initialize the model's weights.After the pretraining, the model is ready for online operation.During online updates, the pretrained model and hyperparameters are loaded, and the model is updated based on real-time, filtered data.The model is then used to make predictions while continuously adapting to the new incoming data.
55A key component of this approach is the multi-label training strategy.In the offline phase, we use torque feedback as the primary training label, while in the online phase, we combine voltage residuals as additional labels.This allows the model to better generalize by leveraging both labeled (offline) and unlabeled (online) data.The use of multiple labels enhances the model's robustness, allowing it to handle situations where torque feedback is unavailable during online operation.
1) OFFLINE LEARNING
56In the offline phase, torque feedback (T e ) is available.The network is trained to minimize the residuals of the motor's physical equations while simultaneously fitting the experimental data.The loss function is defined as:
572) ONLINE LEARNING
58In the online phase, direct torque feedback is unavailable.
59Voltage residuals are used to compute the loss and update the network in real time:
60To ensure stable and accurate real-time updates, several considerations are essential.The update interval (w in ) must strike a balance between real-time performance and computational cost, ensuring timely updates without overloading the system.Input filtering is applied to mitigate noise in the input signals, enhancing model stability and reducing the impact of measurement errors.Additionally, using recent historical data for mini-batch training improves model robustness and helps smooth abrupt transitions, enabling the model to adapt effectively to dynamic operating conditions.
D. ONLINE LEARNING ALGORITHM
61The pseudocode for the online PINN learning process is provided in algorithm 2.
62The proposed PINN framework effectively combines physical principles and data-driven learning to enhance parameter prediction and torque estimation.Its ability to adapt to real-time data while maintaining consistency with physical laws makes it a robust solution for online motor modeling.
IV. EXPERIMENTATION
63In this section, we present the experimental setup and evaluation of the proposed online PINN method for torque prediction.The main objective is to demonstrate the effectiveness of the PINN approach in real-time dynamic conditions and its advantages over traditional methods.The experiments were conducted using a computing system equipped with an NVIDIA RTX 4070Ti GPU and CUDA 12.3 for parallel computation.
A. EXPERIMENTAL DATASET
64The experimental dataset used in this study originates from a publicly available source [32], which includes output Compute voltage residuals:
65Compute loss:
66Update model parameters using gradient descent:
67Evaluate model performance on the most recent w in samples 9:
68Retain the model with the best performance in the validation window 10: end while torque measurements under various operating conditions.The dataset contains variables such as currents (i d , i q ), voltages (u d , u q ), and rotor speed (ω r ), as detailed in Table 1.All data were preprocessed to remove noise and normalized to ensure consistency across operating conditions.The dataset comprises 72 operating conditions sampled at 2 Hz, spanning a total of 184 hours.It is divided into three subsets for comprehensive evaluation: • Online Testing Dataset: Comprising the remaining 32 operating conditions, this subset is reserved for simulating real-world scenarios and evaluates the model's generalization capabilities.The separation of offline and online datasets is designed to reflect real-world deployment, where the model is trained on historical data and tested on unseen conditions with intentional distribution shifts.
B. OFFLINE TORQUE PREDICTION VALIDATION
69The proposed offline prediction methods were evaluated using the test bench dataset to validate their effectiveness.We compared two approaches: the least squares method and a neural network-based supervised learning method.
70Using the RLS method, we identified four key motor parameters for torque prediction.However, this method struggles under nonlinear or high-load conditions, resulting in significant prediction errors.In contrast, the neural networkbased method demonstrated superior performance across most operating conditions.
71The FNN architecture demonstrated superior torque prediction accuracy (MAE = 0.77N•m, Table 2), attributable to two synergistic factors:
72• Architectural Suitability: The feedforward structure's simplicity (vs.RNN/CNN) provides inherent noise robustness [46], crucial for handling sensor measurement uncertainties in the raw torque signals.
73• Systematic Optimization: Through Optuna's Bayesian optimization framework [47], we automated hyperparameter tuning with 100 trial iterations, converging to configurations balancing model capacity and regularization (Table 3).This combination of deliberate architecture selection and data-driven optimization establishes a rigorous baseline for evaluating our PINN enhancements.
C. ONLINE MODELING USING RLS
74The least squares method predicts torque by updating motor parameters in real time using voltage and current measurements.This method was evaluated under dynamic and steady operating conditions to assess its effectiveness for online torque prediction.
75The method exhibited significant prediction errors, especially under dynamic conditions with rapidly changing loads, where current and voltage signals approached zero.Numerical instability due to noise amplification further exacerbated the issue, leading to parameter divergence.
76To address these challenges, the following strategies were implemented:
77• Thresholding Small Signals: Parameter updates were suspended when the amplitude of current or voltage signals fell below predefined thresholds to avoid noise amplification.Specifically, the threshold was set as 1% of the signal mean (Threshold = 0.01 × Mean), calculated based on the standard deviation of the signals.This approach effectively prevents error accumulation under low signal amplitudes while ensuring updates occur within the normal signal range.
78196802 VOLUME 13, 2025 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
79• Smoothing Filters: The Savitzky-Golay filter was applied to smooth current signals and improve the stability of derivative calculations.The filter was configured with a window length of 11 and a polynomial order of 3.This setup effectively reduces noise while preserving the dynamic characteristics of the signals, enhancing the model's adaptability to rapidly changing conditions.
80• Forgetting Factor: A forgetting factor (λ = 0.98) was used during recursive updates to gradually reduce the influence of historical data on current model updates.
81The choice of λ was based on experimental validation: excessively large values reduce adaptability to new data, while overly small values may cause parameter oscillations.The selected value of 0.98 strikes a good balance between stability and adaptability.Figure 7 illustrates the improved performance, with reduced errors during steady-state conditions.However, larger errors persisted at the initial stages of operating condition transitions.
D. PERFORMANCE EVALUATION OF THE PINN METHOD
82The proposed online PINN method integrates physical constraints within the neural network to predict motor torque, implementing the theoretical framework of parameter separation.Initial experiments with FNN architectures showed poor convergence (MAE >3.2 N•m) during operating condition transitions due to unconstrained parameter updates.To address this, our multi-task architecture materializes this construct through shared layers and dynamic output towers, which balance stability and adaptability in real-time applications.
83The training process is divided into offline pretraining and online updates.In the offline phase, long-term data are used to initialize the model's weights.Our experiments revealed that using only torque feedback during offline pretraining yielded better performance, as it directly utilizes torque as the target value for loss calculation, which is more effective for training regression models.Additionally, the training process incorporates a multi-label strategy, combining offline torque feedback with voltage residuals to enhance prediction accuracy.This approach ensures that the model leverages the advantages of both supervised learning during offline training and physics-informed constraints during online updates, resulting in improved generalization and adaptability in dynamic conditions.
84Meanwhile, hyperparameters such as learning rate and batch size were optimized using Optuna, which are listed in Table 4.In the online learning phase, we perform an update every Update Interval data points.Each time, we use the most recent History data points to train the model for multiple epochs.The model selection process is based on performance evaluation using the latest Update Interval samples, ensuring that the best-performing model in this validation window is retained for future predictions.Furthermore, we analyze the effect of two key hyperparameters, the size of the Update History window and the interval of the update, on both the model accuracy and the training time.As shown in Figure 9, increasing the History window size generally leads to a lower MAE, as more historical data provides better generalization.Similarly, a shorter UpdateIntervalWin allows more frequent model updates, improving adaptation to system changes.However, excessively high update frequencies can lead to model instability, causing larger maximum errors.This instability arises because frequent updates may amplify noise or overfit to transient fluctuations in the data.These findings highlight the inherent trade-offs between model performance and computational cost.
85While more data and frequent updates enhance accuracy, we must consider computational feasibility, particularly in real-time embedded deployment.If the training time per update exceeds the update interval itself, real-time execution becomes infeasible.In our selected configuration (HistoryWin = 128, UpdateIntervalWin = 16), the model completes 3 training epochs in approximately 1 second, which corresponds to two sampling intervals.This tradeoff is acceptable, ensuring both real-time performance and high prediction accuracy.To address the potential instability caused by excessively high update frequencies, we have added relevant discussions in the experimental section, emphasizing the need to balance real-time performance and accuracy in practical applications.
86Table 6 compares the advantages, disadvantages, and applicable scenarios of different torque prediction methods.The PINN Online method demonstrates significant advantages in accuracy and dynamic adaptability, making it the best choice for real-time prediction tasks under complex dynamic conditions.In contrast, Offline RLS and Online RLS methods, while computationally efficient, exhibit lower prediction accuracy under complex conditions and are more suitable for simpler scenarios.The Offline DL method excels in static conditions but lacks the adaptability required for real-time applications.Overall, the PINN Online method strikes a good balance between real-time performance and accuracy, making it the optimal choice for challenging dynamic environments.
V. DISCUSSION A. PERFORMANCE ANALYSIS
87The proposed PINN approach demonstrated high accuracy and fast convergence in online torque prediction.As shown in the experimental results, PINN significantly reduced prediction errors during dynamic operating condition transitions compared to RLS-based methods.By integrating physical principles with data-driven techniques, PINN effectively captured dynamic motor parameter variations, providing a robust solution in scenarios where torque sensors are unavailable.
88A notable limitation of the PINN method is the higher maximum error during the initial phase of operating condition transitions, caused by significant changes in motor characteristics and the time required for the online model to adapt.This sensitivity highlights the need for improved online update mechanisms.Potential solutions include predictive adjustments for condition changes, incorporating historical data to enhance stability [33], or leveraging a hybrid offlineonline strategy where the offline-trained model provides outputs during transition phases to mitigate initial errors [34], [35].
89While PINN excels in torque prediction, the identification of individual motor parameters remains challenging.For instance, certain parameters, such as stator resistance (R s ), may deviate from their true values.Incorporating R s as a known parameter in the loss function can improve the accuracy of other parameter estimates.A modified loss function is proposed: (17) This approach mitigates initial prediction errors caused by incorrect parameter estimates during online updates.For offline methods, larger datasets generally improve performance by reducing overfitting and enhancing generalization.This is particularly beneficial for deep learning models, which rely heavily on diverse and extensive training data to capture complex system behaviors.However, for the proposed online PINN method, the impact of larger datasets is less pronounced.While larger datasets slightly improve the initial offline-trained model, the improvement is marginal during online updates.In some cases, larger datasets can even lead to increased maximum errors during online prediction due to overfitting to the offline data, which reduces the model's adaptability to real-time changes.The convergence time constant τ is derived from exponential fitting of the error decay envelope e(t) = e 0 exp(−t/τ ) during the post-disturbance phase.This accelerated adaptation originates from two inherent advantages of our architecture: the dual-pathway design creates separated gradient manifoldsshared layers preserve stable electromagnetic relationships through frozen weights, while independent towers enable focused adaptation of dynamic parameters.Additionally, the physical loss component ∥∇L physics ∥ provides geometrically constrained update directions.
C. ADAPTABILITY TO SUDDEN OPERATING CHANGES
90However, there are certain extreme scenarios where the PINN method does not perform as well during the early stages of transitions.In scenarios with extremely high transition frequencies, the complex network structure of PINN requires more computational resources and time for online updates.This can lead to update delays, preventing the model from adjusting weights in time and reducing its adaptability.Furthermore, while the physical constraints enhance the model's generalization ability, they may limit flexibility under extreme transition conditions, causing the update direction to deviate from the optimal path.Additionally, larger initial errors during transitions can amplify subsequent update deviations, slowing down the model's convergence.
91Overall, while the PINN method demonstrates superior performance in most abrupt transition scenarios, RLS, with its simpler recursive formula and lower computational complexity, can respond more quickly under high-frequency transitions.These findings highlight the trade-offs between model complexity, computational efficiency, and adaptability in dynamic environments.Future work could explore strategies to mitigate these limitations, such as predictive adjustments for condition changes or hybrid offline-online strategies to improve initial response during transitions.
D. REAL-TIME COMPUTATIONAL OVERHEAD
92In embedded systems, computational efficiency is critical for real-time deployment.We compared the inference time of different methods on our experimental platform, including raw implementations, ONNX-based deployment, and ONNX-optimized versions, as illustrated in Figure 11.
93From the results, we observe that RLS Online is the fastest method, with an average inference time of 0.565 ms, benefiting from its simple recursive formulation.For the PINN Online method, inference time is naturally higher at 3.121 ms, given its more complex physics-informed architecture.Deploying the PINN model with ONNX reduces the execution time to 2.28 ms (27% faster), while further ONNX optimization brings it down to 1.59 ms (49% faster).These improvements demonstrate the effectiveness of ONNX acceleration, particularly for deep learning models deployed on resource-constrained hardware.It is important to note that while ONNX deployment and optimization significantly accelerate inference, PINN's online updates still require PyTorch-based weight updates.Converting the updated model to ONNX and re-optimizing it after every online update could introduce additional overhead, making it potentially slower than directly using PyTorch in some cases.
94To further evaluate real-time feasibility, we deployed the models on an NVIDIA Jetson Orin NX platform.Compared to the 4070Ti testbed, the inference time significantly increased due to the limited computational resources of embedded hardware.As shown in Table 8, the FNN ONNX Optimized model achieves the lowest inference time, while PINN Online remains computationally intensive, making real-time deployment challenging.Even after ONNX optimization, PINN ONNX Optimized still takes 16.12 ms, which may be unsuitable for high-frequency control loops.
95In practical deployment scenarios, selecting an appropriate update interval is crucial to balancing adaptation capability and computational cost.A longer update interval reduces the computational burden while maintaining sufficient adaptability.Additionally, controlling the history window size ensures that model updates are efficient without excessive overhead.When frequent adaptation is unnecessary, an offline-trained FNN model, such as the ONNX Optimized version with an inference time of 11.16 ms, provides a good trade-off between computational efficiency and prediction accuracy.
VI. CONCLUSION AND FUTURE WORK
96This paper presents a PINN framework for real-time motor torque prediction, establishing a novel dual-phase learning paradigm that synergizes offline pre-training with online adaptation.Three key advancements emerge from our experimental validation: First, the achieved 0.7745 N•m MAE (0.3% of full-scale torque) establishes new precision benchmarks for enhanced-precision torque control and online torque monitoring.Second, experimental measurements indicate convergence within 3 seconds during abrupt condition transitions, demonstrating enhanced dynamic adaptability that fulfills industrial real-time control requirements.Third, our dual-pathway architecture-integrating physical constraints with data-driven updates-provides a principled solution to the stability-plasticity dilemma in online learning systems.These technical merits translate to practical values in peak torque prediction and fault diagnosis, particularly for electric vehicles experiencing rapid load variations.
97Despite these advancements, challenges remain in accurately identifying motor parameters like stator resistance and flux linkage, as well as improving adaptability to rapid system changes.Additionally, this study is limited by the lack of experimental validation for scenarios involving significant parameter drift or motor aging, as the publicly available datasets used in our experiments do not include such conditions.While the proposed online PINN method is theoretically capable of adapting to changing system dynamics through real-time updates, its practical effectiveness under these conditions remains unverified.
98Future work will focus on addressing these challenges through advanced optimization techniques, extending multitask learning, and developing scalable strategies to reduce computational costs, enabling real-time deployment in complex motor control systems.Furthermore, real-world deployment constraints, such as limited computational resources on embedded systems, require careful consideration of update frequency and historical data size to balance real-time performance and computational efficiency.
APPENDIX DETAILED MATHEMATICAL DERIVATIONS
99This section provides the detailed mathematical derivations and models omitted from the main text for brevity.These include the cross-saturation model and the step-by-step linear regression derivation for offline parameter identification.
A. PMSM MODEL CONSIDERING CROSS-SATURATION
100Under high magnetic saturation, the motor's inductance and flux linkage become functions of the currents i d and i q , leading to a nonlinear model.The voltage and flux linkage equations are expressed as: (u d − ψ φ (i d , i q )ω) − i α iq = R s L q (i d , i q ) (u q − ψ φ (i d , i q )ω) − i β (18)
1012) FLUX LINKAGE EQUATIONS (CONSIDERING SATURATION EFFECTS) ψd = L d (i d , i q )i d + L q (i d , i q ) sin(θ)i q ψq = L d (i d , i q )i q − L q (i d , i q ) cos(θ)i d (
B. STEP-BY-STEP LINEAR REGRESSION DERIVATION
102To facilitate parameter identification, the voltage equations in the dq-axis were discretized into a linear regression model.The process is detailed below:
103196806 VOLUME 13, 2025 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
2) LINEARIZED MODEL FOR PARAMETER IDENTIFICATION
104The linearized regression model is expressed as:
105−ω e i q 0 θ V q = i q ω e i d di q dt ω e θ
106where θ = [R s , L d , L q , m ] T represents the unknown parameter vector.
C. STATISTICAL VALIDATION
107The Kolmogorov-Smirnov (KS) test quantifies distribution similarity between datasets, where D < 0.045 indicates statistical equivalence (α = 0.05).As shown in
FIGURE 1 .
108FIGURE 1. Overview of the process: data collection, model training, and controller implementation, highlighting offline initialization and online updates with a multi-label training strategy.
FIGURE 2 .
109FIGURE 2. Simplified scheme of the offline modeling process.
FIGURE 3 .
110FIGURE 3. PINN framework integrating physical equations and data-driven learning.
FIGURE 4 .
111FIGURE 4. Network architecture of the proposed PINN method, with stabilized parameters (purple) and dynamically updated parameters (pink).
Algorithm 2
112Online PINN Learning Algorithm 1: Input: Pre-trained model weights, learning rate η, historical data (optional), update interval w in , history window size w hist 2: while System is operational do 3: Perform mini-batch training on historical data 4:Collect real-time data: i dq , u dq , ω 5:
•
113Offline Training Dataset: Includes data from the first 40 operating conditions, with each condition split into training (60%) and validation (40%) subsets.The division into training and validation subsets is based on ensuring a balanced representation of operating conditions to prevent overfitting and to evaluate generalization performance.
Figure 5
114Figure 5 visualizes the dataset division, while Figure 6 provides speed-torque heatmaps illustrating the distribution of operating conditions across the three subsets.Distributional consistency was verified via Kolmogorov-Smirnov tests (Appendix D), with all D-statistics below the 0.045 critical threshold for training-validation comparisons.Intentional distribution shifts in testing data (max D=0.217) emulate realworld generalization challenges.
FIGURE 5 .
115FIGURE 5. Dataset split: training (red), validation (green), and online testing (blue) datasets.
FIGURE 6 .
116FIGURE 6. Speed-torque heatmaps showing the distribution and variability across the full dataset, training, validation, and online testing subsets.
FIGURE 7 .
117FIGURE 7. Improved least squares method performance for online torque prediction, with vertical dashed lines indicating operating condition transitions.
118The experimental results demonstrate the superior performance of the proposed PINN framework compared to baseline methods.As summarized in Table5, the PINN method achieved the lowest mean absolute error (MAE = 0.77 N•m) and root mean square error (RMSE = 1.64 N•m) on the online testing dataset, along with a 31% reduction in maximum error (59.08 N•m vs. 85.42N•m in Online RLS).These quantitative improvements translate to critical operational benefits: The sub-1 N•m MAE ensures accurate torque monitoring for overload prevention during sudden load changes, directly enhancing system safety.Combined with the reduced RMSE, this precision enables more efficient current control by minimizing unnecessary corrections from torque estimation errors.
FIGURE 8 .
119FIGURE 8. Comparison of MSE and RMSE for different methods on the online testing dataset, highlighting the superior performance of the proposed PINN method (red).
FIGURE 9 .TABLE 6 .
120FIGURE 9. Effect of update interval and history window length on model performance.TABLE 6. Torque prediction methods: comparison of advantages and disadvantages.
121B. ROBUSTNESS TO LIMITED OFFLINE DATAThe robustness of PINN was evaluated under reduced offline training data.Results demonstrate that PINN maintains strong performance during online updates, achieving minimal performance degradation compared to offline deep learning (DL) methods.
FIGURE 10 .
122FIGURE 10.Transient performance comparison during condition changes, showing faster steady-state achievement by PINN (red) compared to RLS (blue).Sudden operating condition changes rigorously test the stability and adaptability of online systems.As shown in Figure10, both methods exhibit initial prediction errors during transitions, but PINN achieves 47% faster convergence (τ = 2.8 s vs. 5.1 s for LS) through targeted parameter updates.The convergence time constant τ is derived from exponential fitting of the error decay envelope e(t) = e 0 exp(−t/τ ) during the post-disturbance phase.This accelerated adaptation originates from two inherent advantages of our architecture: the dual-pathway design creates separated gradient manifoldsshared layers preserve stable electromagnetic relationships through frozen weights, while independent towers enable focused adaptation of dynamic parameters.Additionally, the physical loss component ∥∇L physics ∥ provides geometrically constrained update directions.However, there are certain extreme scenarios where the PINN method does not perform as well during the early stages of transitions.In scenarios with extremely high transition frequencies, the complex network structure of PINN requires more computational resources and time for online updates.This can lead to update delays, preventing the model from adjusting weights in time and reducing its adaptability.
FIGURE 11 .
123FIGURE 11.Prediction time comparison across different methods.
124i d , i q )
TABLE 1 .
125Dataset variables and descriptions.
TABLE 2 .
126Performance comparison of network architectures.
TABLE 3 .
127Optimal FNN hyperparameters.
TABLE 4 .
128PINN hyperparameters for online and offline training.
TABLE 5 .
129Performance metrics comparison across methods.
Table 7
130highlights that PINN exhibits smaller performance drops in MAE, RMSE, and Max Error than offline DL, showcasing its adaptability to limited offline data scenarios.
TABLE 7 .
131Performance and drop% on online test dataset with limited offline data.
TABLE 8 .
132Inference time comparison on NVIDIA Jetson Orin.
Table 9
133, the training-validation comparisons exhibit D < 0.024 across all variables, ensuring reliable model validation.The intentionally higher test set D-values (0.177 − 0.218) simulate realworld distribution shifts while maintaining critical operating region overlaps.
TABLE 9 .
134Kolmogorov-Smirnov test: dataset distribution results.
참고문헌
참고문헌 정보가 없습니다.