Abstract
Parameter variation caused by manufacturing tolerances and thermal drift makes PMSM fault-severity estimation difficult, because motor-level offsets and fault effects are coupled in the d–q model. This paper proposes a channel-selective BO-Fusion-PINN for parameter-generalized fault diagnosis. A healthy reference window is first used to estimate motor-parameter deviations through an integral least-squares observer, avoiding neural extrapolation of these offsets. A diagnostic window is then processed by a physics-informed LSTM branch and a data-driven LSTM branch, and Bayesian optimization assigns separate fusion weights to stator-resistance degradation and permanent-magnet flux weakening. Experiments over parameter out-of-distribution buckets and non-ideal simulation settings show that the fused estimator consistently improves on either branch alone. The method is especially effective in the flux channel and remains competitive with high-capacity data baselines while preserving physical interpretability. The primary scientific contribution is an identifiability-guided fusion rule that assigns physics and data trust to each fault channel according to its statistical observability rather than through a single global weight; in practical terms, this yields a compact and interpretable estimator that transfers across the parameter-tolerance band of a machine class and can, in principle, support controlled end-of-line screening and scheduled diagnostic assessment under a matched-window acquisition protocol.
1. Introduction
1.1. Background
Permanent-magnet synchronous motors (PMSMs) are used in many applications, such as electric vehicles, industrial servo mechanisms, and high-performance electromechanical drives, due to their high power density, fast dynamic performance, and high efficiency. The reliability of the motor is important for the safety of the system and the availability of the system for operation, so fault diagnosis is an important problem in contemporary motor-drive technology. Common failure modes of the PMSM include inter-turn winding short circuits, rotor eccentricity, bearing-related disturbances, anomalies on the inverter side, and permanent magnet demagnetization. Several review articles and fault investigations have shown that signals such as voltage, current, rotational speed, and vibration carry abundant characteristic information suitable for detecting these faults [1,2]. More recent approaches based on data-driven techniques process such signals to obtain learned features or health indicators; for example, methods that leverage current-signal imaging and deep feature extraction improve diagnostic robustness for motors with different power ratings [3].
In practice, however, diagnosis degrades once the motor under test is not among those seen during training. This is usually treated as a domain-shift problem, and transfer learning and domain generalization have been applied to reduce the resulting performance drop [4,5]. Most such work, though, targets shifts in load, speed, sensor type, or target-domain availability. Parameter variation in PMSMs is a distinct and more structured case: manufacturing tolerances, thermal effects, gradual magnetic-material degradation, and machine-to-machine differences alter the stator resistance, the winding inductances, and the flux linkage themselves. Because these intrinsic parameters enter the same d–q equations as the faults, a model can perform well on the training motors yet be unable to tell, on an unseen motor, a genuine fault from a mere parameter offset.
We study fault-severity estimation under such out-of-distribution (OOD) parameter shifts for two mechanisms that enter the d–q equations differently: stator-resistance deterioration and permanent-magnet flux reduction. The core difficulty is their multiplicative coupling with the motor offset—the observed resistance is the product of the baseline resistance and the fault severity, and the effective flux behaves analogously—so a single operating interval cannot, by itself, separate natural parameter variation from fault progression. The two channels are also unequally observable: flux weakening is strongly excited by the speed-dependent back-EMF and is easy to identify, whereas resistance change is weakly observable and easily confused with inductance variation. This asymmetry is what makes a single unified estimator poorly matched to the underlying physics.
1.2. Motivation
This observation motivates the central design principle of this work: the estimator should not decide globally whether physics or data is better, but should assign trust according to the identifiability of each fault channel. We therefore treat parameter observation, sequence-based severity estimation, and branch fusion as separate tasks. The healthy reference window is used to anchor the motor-specific offsets; the physics-informed branch is expected to be most useful where the d–q equations provide a well-conditioned signal, especially for flux weakening; and the data-driven branch is allowed to dominate where the physical inverse problem is statistically weak, especially for resistance degradation. In this sense, the proposed method is not a simple combination of PINN, LSTM, and BO, but an identifiability-guided fusion framework for parameter-generalized PMSM fault diagnosis.
Physics-informed neural networks (PINNs) provide an intuitive way to incorporate well-established governing equations into the learning process [6]. Recurrent architectures such as long short-term memory networks (LSTMs) are also well suited to processing sequential electrical-signal data [7], and attention mechanisms can further help focus on the important points in a temporal sequence [8]. Nevertheless, simply adding a physics-based residual term to a neural network does not resolve the ambiguity between parameters and faults, and a sequence model trained solely on data may exploit statistical patterns in the training set but lacks a dedicated mechanism to guarantee stability under out-of-distribution (OOD) shifts in the parameters. In our methodology, we therefore combine deterministic parameter observation, physics-informed sequence modeling, data-driven sequence modeling, and an interpretable fusion strategy. We use a lightweight outer-loop search—Bayesian optimization [9], which in this low-dimensional two-weight setting agrees with an exhaustive grid—to select validation-based channel-specific fusion weights, thereby avoiding an additional neural fusion module that could overfit the validation set.
Specifically, we propose a channel-selective BO-Fusion-PINN architecture: a healthy reference window anchors the motor-level parameter offsets through an integral least-squares observer, a physics-informed LSTM branch and a lighter attentive-LSTM data branch estimate the severity in parallel from the paired signals, and channel-wise Bayesian optimization fuses them so that the resistance channel leans on the data branch while the flux channel retains the more identifiable physics-informed estimate.
The contributions of this work are as follows. First, we formulate PMSM fault-severity regression under out-of-distribution motor-parameter variation as an identifiability problem and show that paired healthy and diagnostic windows resolve the structural ambiguity between motor-specific parameter deviations and fault levels under the matched-window multiplicative formulation considered here. Second, we develop a deterministic integral least-squares parameter observer that estimates the motor-level deviations from the healthy reference window, thereby avoiding the need for a neural network to extrapolate nuisance parameters outside the training population. Third, we use Fisher-information and Cramér–Rao analyses to characterize the asymmetric identifiability of the resistance and magnetic-flux channels and, on this basis, adopt independent channel-wise fusion coefficients selected by Bayesian optimization rather than a single global weight. Finally, we test the proposed system across multiple parameter-OOD levels, a non-saturation realism bundle, saturation-boundary stress tests, strong data-driven and physics-informed baselines, a statistical-significance assessment, coupled-fault tests, and a fusion study with SASEN as a performance upper bound.
Recent PINN-based fault-diagnosis studies primarily incorporate governing equations into the neural training objective or use a PINN to inversely identify fault-related physical parameters [10,11,12]. The central novelty of the present work is therefore not the mere addition of a d–q residual to a recurrent network. Instead, the paired healthy and diagnostic windows and the deterministic integral least-squares observer first separate motor-specific parameter offsets from fault severity. Fisher-information and Cramér–Rao analyses then characterize the unequal statistical reliability of the resistance and flux channels, motivating channel-selective trust in the physics-informed and data-driven branches. The actual trust coefficients are subsequently estimated independently for each channel by Bayesian optimization on the validation set. Thus, identifiability analysis determines the fusion structure and expected trust direction, whereas BO determines how much each branch is trusted in practice.
2. Materials and Methods
2.1. Physics-Informed Recurrent Modeling
The electrical behavior of a surface-mounted permanent-magnet synchronous motor can be described in the rotating d–q reference frame as
Here, and denote the d- and q-axis voltages; and are the corresponding currents; is the electrical angular velocity; and , , , and represent the stator resistance, the two axis inductances, and the permanent-magnet flux linkage. These equations connect the measured electrical signals with the physical parameters that describe the motor condition.
Long short-term memory (LSTM) networks retain information through gated recurrent states and are therefore suitable for sequences of voltage, current, and speed [7]. A physics-aware recurrent model adds a residual derived from the d–q equations to this temporal representation. Its general training objective is
where measures the error in the estimated fault severities and penalizes inconsistency with the motor model. This follows the usual physics-informed learning idea [6], while retaining supervised learning for quantities that cannot be obtained from the residual alone. In the present framework, however, the physics term is not used as a uniform regularizer. Its gradient is routed by axis and fault channel, as described in Section 3.
2.2. Integral Least-Squares Parameter Observation
Evaluating the d–q residuals in differential form requires the current derivatives, and numerical differentiation can amplify even small measurement noise. We therefore integrate the voltage equations over the observation window. This removes the derivative terms while preserving the parameter dependence of the model, giving
Evaluating the two integral relations at successive time instants and stacking the d- and q-axis observations gives an overdetermined linear regression problem,
Consequently, a weighted least-squares estimate can be formulated as
Here, W balances the contributions of the two axes and provides numerical stabilization. Least-squares and prediction-error methods are standard tools for PMSM parameter identification [13,14], but the integral form is particularly useful here for two reasons. First, integration attenuates high-frequency noise rather than amplifying it. Second, the parameters are solved from the measured equations for each motor, so the neural network is not asked to extrapolate a nuisance-parameter mapping learned from the training population.
The observer is applied to a healthy reference window, which allows the motor-level offsets to be estimated before fault severity is inferred. This separation is important because a natural parameter offset and a fault can enter the same effective resistance or flux term. The observer assumes that the parameters remain approximately constant within one window. Strong state-dependent effects, especially magnetic saturation, violate that assumption and are treated as a model boundary in Section 5.
2.3. Attentive LSTM Data Modeling
The data-driven branch uses an LSTM encoder followed by one-dimensional temporal attention pooling. Let be the hidden state at time step t. A two-layer additive scoring network assigns an attention score to each state and normalizes the scores [15],
which are then used to form the pooled sequence representation,
The model therefore does not have to rely only on the final recurrent state; it can place more weight on transient or information-rich portions of the electrical record.
This operation is different from Transformer self-attention [8]. It does not construct a full matrix of pairwise interactions between time steps. Instead, each LSTM state is scored independently and the weighted sequence is pooled with complexity for a sequence of length T. We use this lightweight design because the observation windows are fixed and short, and because the purpose of the deployable branch is to study the complementarity between physics-based and data-driven estimation rather than to maximize network capacity. A higher-capacity Transformer model is still evaluated later as a strong baseline and as a possible replacement branch.
2.4. Channel-Wise BO-Selected Linear Fusion
The physics-informed and data-driven branches do not have to be equally reliable on both fault channels. For a fixed channel , their predictions are therefore combined by a channel-specific convex weight. Bayesian optimization is used only to select this coefficient; the fusion itself is a deterministic linear combination and does not involve Bayesian model averaging, a posterior distribution, or predictive-uncertainty weighting. The channel-wise fusion is written as
Using separate coefficients keeps the interpretation simple. A larger means that channel c relies more heavily on the physics-informed branch, whereas a smaller value shifts more weight to the data branch. Both branch networks are trained first and then frozen. The fusion coefficients are selected on a separate in-distribution validation set and are fixed before any out-of-distribution evaluation, so the test sets do not enter model selection.
The outer-loop search uses a Gaussian-process surrogate with a Matérn-5/2 kernel and Expected Improvement [9]. In the present two-dimensional problem, BO is not computationally necessary: the grid reported later gives nearby weights and indistinguishable validation MAE at the grid resolution. We retain the BO formulation because the same framework can be reused for future operating-regime-specific or input-conditioned weights, where a dense grid would become expensive. This possible extension should not be read as a computational advantage demonstrated by the current two-weight experiment.
A trainable neural gate is another possible extension, but it would introduce additional parameters, require more validation data, and make the source of each channel estimate less transparent. For the current study, the fixed channel-wise weights provide the intended balance between interpretability and branch complementarity.
3. Proposed Channel-Selective BO-Fusion-PINN Framework
3.1. Problem Formulation
The proposed methodology estimates two continuous fault-severity levels from a pair of aligned windows of the electrical signal. We acquire a reference window, representative of healthy operation, , and a diagnostic window, , from the same motor under the same operating excitation. Both windows therefore share the same motor-specific parameter variation, while the fault-related effects are present only in . At every time step, the data consist of the d–q axis voltages, the d–q axis currents, and the electrical rotational speed:
The nuisance-parameter vector and the diagnostic target are defined as
Here, , , , and are the motor-level deviations from the nominal parameter values, while and are the stator-resistance degradation and the permanent-magnet flux weakening, respectively. The effective parameters used in the d–q equations follow a multiplicative fault representation,
Under these matched-window assumptions, the shared motor-specific offset is separated from the diagnostic-window deterioration term. This formulation describes a controlled diagnostic protocol—for example end-of-line screening or scheduled maintenance, where both windows are obtained from the same motor under matched excitation and calibration—rather than arbitrary online monitoring. Significant changes in load, temperature, controller state, sensor calibration bias, or temporal alignment between the two windows may be absorbed into the estimated severity and are failure modes of the present method that would require explicit nuisance-state modeling, temperature compensation, alignment, or online re-anchoring.
The design contains two parallel estimation branches. The upper branch, which uses physical knowledge, first obtains from the reference signal through an integral least-squares observer. It is then combined with the same synchronized temporal features to predict the degradation indicator . In the lower branch, based on an Attention-LSTM network, the same synchronized input windows are processed, and the mapping to severity is obtained without an explicit motor model. The final step uses Bayesian optimization to obtain different fusion weights for each fault channel. Figure 1 shows the processing of the synchronized windows, the two estimation branches, and the integration of channel-specific Bayesian optimization.
Figure 1.
Paired-window data flow and channel-wise BO fusion framework.
Figure 2 reports the implementation-level architecture used for the two-branch estimator. Both branches use the paired sequence, while the physics branch additionally receives the deterministic LS parameter feature and the data branch uses temporal attention without physical constraints.
Figure 2.
Implementation-level architecture of the proposed two-branch estimator.
3.2. Deterministic Integral-LS Parameter Observer
The reference window is healthy by construction, so both fault severities are set to zero and its effective parameters contain only motor-level offsets. At each sampling instant, cumulative terms are formed from by left-rectangle summation over all 300 points. Using , the q- and d-axis regression blocks are then assembled as
with and . Because the q-axis voltage is usually dominated by the back-EMF term, the d-axis block is rescaled before the two axes are stacked and solved as
where balances the two axes and provides numerical stabilization; column normalization affects only the conditioning and is undone after solving. In the implementation, the d-axis rows are multiplied by , where and the q-axis is the unit-weight reference. Each column of A is divided by its Euclidean norm, with the denominator floored at , and the scaling is undone after the solve. The ridge coefficient is , and the normal equations are solved directly rather than with a pseudoinverse. An estimate whose normalized offset exceeds in any parameter is treated as diverged and replaced by the corresponding batch median; the final offset vector is clipped componentwise to . These safeguards are numerical controls for the observer and are not learned by the network.
The estimated parameters are converted into normalized offsets,
The resulting is deterministic and detached from gradient flow. Under the linear constant-parameter model and full-rank excitation, the least-squares covariance is governed by the observed design matrix and the noise level, rather than by the distance between the test motor and the neural training population. This statement applies to the parameter observer only. It does not guarantee the accuracy of the downstream neural severity estimator, and it no longer applies when strong state-dependent saturation invalidates the constant-parameter model.
3.3. LSTM Branch with Physics Integration
The physics-informed branch receives the channel-wise concatenation of the reference and diagnostic windows. A single-layer LSTM encodes the paired sequence, and its final hidden state is concatenated with the detached least-squares estimate before the severity head produces the two fault estimates,
The explicit feature tells the severity network which motor is being evaluated. During training, the predicted severities are inserted into the multiplicative parameter model of Equation (13), and the corresponding resistance and flux values are used in the integral d–q residuals for the diagnostic window,
A uniform residual would allow the strong flux term in the q-axis equation to dominate the resistance gradient. The loss therefore uses axis-channel gradient routing. The q-axis residual constrains only, while is stop-gradiented when is evaluated. The d-axis equation contains no permanent-magnet flux term and is used to constrain . If and denote the mean squared q- and d-axis residuals, respectively, is taken proportional to and proportional to , so that the two residual contributions are placed on comparable scales. The branch objective is
Here, is the supervised severity loss and controls the contribution of the physical term. remains detached, so the residual shapes the severity network without changing the deterministic observer. The main flux-channel benefit of this branch comes from the reference-aided LS parameter feature. The ODE residual adds a smaller channel-specific correction while the constant-parameter model is valid; it should not be expected to improve both fault channels equally, and it can become harmful once saturation changes the governing relation.
3.4. Attentive Data Branch
For a fair comparison, the data branch receives the same paired raw windows as the physics branch. After channel-wise concatenation, an LSTM produces hidden states over time, and a two-layer additive scoring network assigns the temporal weights used to form the pooled representation,
The severity estimate and its corresponding supervised loss function are defined as
This branch receives no d–q residual, no feature, and no explicit motor parameter. It is therefore a purely statistical estimator with the same raw-input budget as the physics branch. Temporal attention allows it to emphasize transient events and operating changes that may carry resistance-related information. The pooling operation is and does not build the full pairwise attention matrix used by a Transformer. The lightweight design is chosen for the deployable branch, not because it is assumed to be the strongest possible data model. A Transformer-class model is evaluated later as a higher-capacity benchmark and as a possible replacement branch.
3.5. Channel-Wise Bayesian Optimization Fusion and Optimization Protocol
Let the predictions of the two frozen branches be and . For each channel , the final estimate is obtained from a convex combination,
The two coefficients are chosen independently because the two channels differ in physical observability and in the branch-specific error of the resistance and the flux. Each branch network is trained separately on the training set before fusion; after training, the parameters of these networks are fixed. We then use BO to minimize the mean absolute error evaluated on a separate in-distribution validation set,
The BO procedure uses a Gaussian-process surrogate model with a Matérn-5/2 kernel and an Expected-Improvement acquisition function [9]. After the optimization, the values of and are fixed and used unchanged for all out-of-distribution (OOD) test buckets. It should be noted that the test sets are never queried by the BO algorithm. This strict separation between the validation and testing phases ensures that there is no data leakage, so the learned coefficients can be regarded as a level of trust in each selected channel on the validation set rather than tuned post hoc on the test data.
3.6. Identifiability Analysis and Theoretical Fusion Rationale
The reference window serves a purpose beyond simply extending the input; it resolves an a priori structural ambiguity. If only the diagnostic window is used, the resistance equation pins down only the combined effective term . For any given constant c, there is an infinite set of offset-severity pairs that lie on
and produce an identical effective resistance. The same kind of ambiguity occurs for the flux channel, where . Within the window, the fault severity is zero, so the least-squares observer can first fix the offset parameter , after which the diagnostic network estimates the severity parameter . Under full-rank excitation, this two-step approach changes the problem from a structurally non-identifiable one into an identifiable one.
Structural identifiability does not by itself imply precise estimation. To see the statistical difficulty of estimating the resistance parameter, consider the linear observation model on the d-axis, , where the noise n has a Gaussian distribution, . Let denote the column of A corresponding to the resistance parameter, and let be the part of that is orthogonal to the subspace spanned by the columns corresponding to the inductance parameters. Standard Fisher-information and Cramér–Rao arguments [16] give
The lower bound increases as the resistance column becomes increasingly close to the subspace spanned by the inductance columns. Therefore, the resistance parameter can be structurally identifiable yet still statistically ill-conditioned: much of its signal energy may be explained by inductance-related regressors, leaving very little independent Fisher information. This is the precise meaning of weak identifiability for the resistance parameter in this study; it does not mean that there is no information about resistance at all, or that every estimator is bound to fail.
For the flux channel, the regression variable is the integrated electrical speed, and the corresponding bound is defined analogously as
The column obtained by integrating the speed has a large back-EMF lever arm and is therefore more easily separated from columns affected by the currents. The theory thus predicts a lower unbiased-estimation bound for than for . The Cramér–Rao bound applies only to unbiased estimators; a data-driven model can trade bias for lower variance and can therefore achieve performance below this unbiased limit. This explains why the statistically more difficult resistance channel can benefit from a data-driven part even when the physical equations remain correct.
Finally, channel-wise fusion ultimately follows from minimum-mean-square-error estimation. Let and be the error terms of the physics-based and data-driven branches for one channel, with second moments and and cross-moment . The linear weighting coefficient that minimizes the mean squared error is then given by
Because these moments are channel-specific, the optimal weights for the resistance and the flux are in general not equal. On the same optimization set and objective, a single global is a restricted special case and therefore cannot attain a lower objective value than the independently optimized channel-wise weights. Combining this result with the Cramér–Rao lower bound (CRLB) analysis gives the main theoretical result of this framework: the weakly identifiable resistance channel should place more trust in the data-driven estimator, whereas the strongly identifiable flux channel should place more trust in the physics-informed estimator. In Section 4, we test this proposition by examining the measured branch errors, the weights found by Bayesian optimization, the signal-to-noise ratio, the gradient-alignment study, and the comparison with other methods.
Figure 3 places the individual components in their execution order. Unlike Figure 1, which emphasizes data flow, this diagram separates the main inference path from the optional model-adequacy analysis. A matched healthy–diagnostic pair is acquired first. The integral least-squares observer estimates from the healthy window in Stage 1; the physics and data branches then estimate the two severities in parallel in Stages 2a and 2b. Channel-wise BO selects and on the validation split and freezes them before testing in Stage 3, after which the two branch predictions are combined channel by channel in Stage 4.
Figure 3.
End-to-end diagnosis procedure: reference-window parameter observation (Stage 1), the parallel physics and data branches (Stages 2a/2b), channel-wise Bayesian-optimization fusion (Stages 3–4), and an optional offline d–q residual diagnostic that indicates a possible physics-model mismatch (saturation regime); no calibrated online gate is implemented in the present study.
The residual check shown beside the main path is an optional offline diagnostic, not an implemented runtime gate. An elevated d–q residual may indicate that the constant-parameter assumption is no longer adequate. Because this residual is computed in simulation with the true motor parameters, it is used only to characterize the model-validity boundary. The present study does not define a calibrated online threshold or switch automatically to another branch. A practical warning mechanism based on estimated parameters remains future work.
4. Results and Discussion
4.1. Simulation Dataset and Evaluation Protocol
A virtual-motor population was generated under controlled conditions in MATLAB R2024a (The MathWorks, Inc., Natick, MA, USA) in order to separate parameter generalization from ordinary operating-condition shift. Each data sample contains one reference window from the healthy state and one diagnostic window with a fault, and both windows come from the same motor unit. Each window contains 300 time-aligned data points for the variables at an interval of 0.1 milliseconds. The motor-level offset values are shared by the paired windows, whereas the severity levels of the resistance and flux faults are drawn independently for the diagnostic window. For 80% of the samples the fault severity is chosen in , and for the remaining 20% it is drawn from ; in addition, each channel has a 10% probability of being assigned a zero value. In this way, the dataset contains examples of minor faults, severe faults, single-channel faults, and simultaneous multi-channel faults, while the parameter-out-of-distribution protocol is preserved. The data partitions come from completely separate motor groups: each motor provides exactly five operating windows, and no motor appears in more than one subset for training, validation, or testing.
The five original test pools were each generated by sampling every motor parameter uniformly in , so they form nested intervals rather than disjoint shells. To report a strictly out-of-distribution error, we merge the five pools and assign each test sample exactly once to a disjoint shell according to its realized maximum relative parameter offset ; therefore no in-distribution sample contributes to the reported Mid, Far, Xtm, or Ext result. This reassignment yields shell sizes of 555, 570, 600, 500, and 275 samples for the ID, Mid, Far, Xtm, and Ext shells, respectively. All main results in this section use these disjoint shells and the ten training seeds 42–51.
The settings in Table 1 follow from the structure of the problem rather than from an exhaustive search, which keeps the pipeline reproducible. The 300-sample window at a ms step spans 30 ms, long enough to cover several electrical cycles so that the integral least-squares observer is driven by a well-excited regression, while remaining a short diagnostic acquisition window. Each branch uses a single-layer LSTM—followed on the data side by additive attention pooling—because the window is short and of fixed length; adding recurrent depth or width mainly increases the parameter count and the risk of overfitting the in-distribution motors. The combined deployable two-branch model contains parameters, with the physics and data branches of individually comparable size, so that the physics–data comparison reflects inductive bias rather than capacity. Optimization uses Adam with a cosine-annealed learning rate and a batch size of 32, and the physics weight is introduced through a 20-epoch warm-up so that the data term settles before the d–q residual is enforced. Instead of seed-dependent early stopping, we use a fixed budget of 120 epochs, which is adequate because the validation loss of both branches has plateaued well before that point and a fixed budget keeps the ten seeds directly comparable. For the fusion stage, the two channel weights are selected on the ideal validation split; because this is a low-dimensional problem, a Bayesian-optimization outer loop (Matérn- Gaussian-process surrogate, Expected-Improvement acquisition, 30 evaluations from 8 initial points, with the random state set per training seed) and an exhaustive grid search return nearly identical weights and indistinguishable validation MAE at the grid resolution, as quantified in Section 4.2. The optimization is run independently for each of the ten seeds, and the reported deployable weights , are the across-seed means. The selected weights are frozen before any out-of-distribution test. All learning components were implemented in Python 3.12.3 with PyTorch 2.8.0 (CUDA 12.8), and the channel-wise Bayesian optimization used scikit-optimize 0.10.2; supporting numerical, statistical, and plotting routines used NumPy 2.3.2, SciPy 1.18.0 (paired t-tests), scikit-learn 1.9.0, pandas 3.0.5, and Matplotlib 3.10.5. All training and evaluation were performed on an NVIDIA GeForce RTX 5090 GPU (NVIDIA Corporation, Santa Clara, CA, USA; 32 GB, driver 580.105.08).
Table 1.
Principal simulation and training settings.
For full reproducibility we record the remaining implementation details. All channels are expressed per unit as , , and with the bases of Table 1 (redefined per nameplate in the cross-rating study). The supervised term is the per-channel mean absolute error of Equation (21) with unit channel weights, and the physics axis weights are recomputed per mini-batch from the current mean squared residuals inside a stop-gradient (with a floor on the denominators), so that and the two axes stay scale-balanced. The load profile is realized as an open-loop q-axis voltage surrogate that modulates the torque-producing current ; the simulator contains no mechanical torque model or closed-loop PI controller. Optimization uses Adam with the default PyTorch moments and no weight decay; gradient clipping is applied to the physics branch () and to SASEN () but not to the Attention-LSTM, and each epoch reshuffles the training set. The channel-wise grid verification uses (step ), and the v15+SASEN upper bound is selected on the same grid at , .
The clean ideal dataset is accompanied by a short, non-saturated realism package instead of a long list of separate disturbances. The package combines measurement errors, 12-bit digital quantization, the 5th, 7th, 11th, and 13th inverter harmonics in abc-phase coordinates, an 8% cross-coupling inductance, and a 625-ohm core-loss resistive path, while the effect of magnetic saturation is deliberately excluded. It serves as the main robustness test for the non-ideal case, because these elements add signal and structural fidelity without introducing state-dependent variation in the d- and q-axis inductances. The saturation-only datasets and those with full structural stress are retained as boundary cases in Section 4.4. For this non-saturation evaluation (Section 4.4), all branch checkpoints are trained only on the ideal dataset and the validation-selected fusion weights are frozen before direct evaluation on the realism bundle; no non-ideal training or validation labels are used, so the comparison is a genuine zero-shot transfer from the ideal plant.
Figure 4 gives an overview of the simulation framework and of the procedure used to generate the synchronized data windows.
Figure 4.
Virtual-motor simulation topology and paired data-generation protocol. The drive is an averaged d–q voltage excitation with analytically injected inverter harmonics, not a switching-level PWM converter. The motor-population box lists the original nested generation pools (), which are pooled and reassigned to disjoint shells for the main results.
4.2. Parameter-OOD Generalization and Branch Complementarity
Table 2 reports the ideal-data experiment, in which all models are trained only within the range and evaluated without adaptation on the disjoint out-of-distribution shells up to . Re-bucketing the test population into disjoint shells raises the reported error at the largest shifts relative to the earlier nested intervals—most visibly in the Ext shell—which confirms that the nested intervals understated the extrapolation difficulty. The deployable fusion is nonetheless consistently better than either of its internal branches: at the Far shell it reaches an MAE of (95% CI ), against for the physics branch and for the attentive data branch, and at the Ext shell it retains versus and . The high-capacity SASEN adaptation [17] is the stronger standalone total-MAE baseline across all shells (Far , Ext ); the proposed estimator is instead a compact and interpretable channel-selective design whose advantage is concentrated in the flux channel, as the decomposition below shows. Figure 5 shows the same total-MAE progression with the far-shell R and flux decomposition.
Table 2.
Main results under disjoint -shell parameter-OOD buckets on the ideal dataset (ten-seed mean ± standard deviation; each test sample assigned once by its realized ). Shells: ID , Mid , Far , Xtm , Ext .
Figure 5.
Parameter-OOD total MAE across the disjoint shells and the far-shell per-channel decomposition (ten-seed means).
The far-shell decomposition explains why the aggregate branch errors are close. On the physics branch attains an MAE of against for the data branch—a reduction—whereas on the two branches are comparable, with the data branch marginally better ( versus ). Selecting the channel weights on the validation split gives and , so the fusion leans on the physics branch for flux while sharing the ill-conditioned resistance channel; the fused far-shell errors are on and on . This channel specialization is the main empirical observation: the benefit comes from routing each channel to the branch whose inductive bias matches its information structure, not from averaging two broadly similar models.
Two design choices are examined directly. First, the fusion stage is a low-dimensional problem: a exhaustive grid over selects , nearly identical to the Bayesian-optimization solution and with indistinguishable validation MAE (≈) at the grid resolution, whereas constraining the two channels to a single global weight yields and a higher validation MAE (≈). Bayesian optimization is therefore not required to solve the present two-weight problem; it is retained only as a transparent outer-loop selector that extends to future higher-dimensional or input-conditioned weighting, and the contribution is the channel-wise trust structure rather than the optimizer. As a test-only diagnostic, per-shell oracle weights lower the MAE by at most relative to the fixed validation-selected weights, so the validation-selected weights lie close to the per-shell optima; the oracle weights are not used in reporting, since that would use test-set information, and out-of-distribution optimality is not claimed to hold in general. Second, an auxiliary three-seed ablation confirms the value of deterministic parameter observation: removing the least-squares parameter feature increases the ID/Mid/Far MAE from to , whereas replacing it with the ground-truth improves it only marginally (), so the deterministic observer already supplies most of the available physical information. Figure 6 depicts the resulting channel-wise branch selection across the shells.
Figure 6.
Channel-wise fusion mechanism across the disjoint shells (ten-seed means): the fused estimate follows the physics branch on the well-observed flux channel and shares the ill-conditioned resistance channel with the data branch. In the flux panel the fused and physics curves partially overlap because .
To make the sample-level evaluation more transparent, Figure 7 reports the sample-level behaviour underlying Table 2 using the identical checkpoints and fusion weights (, ), over the ten seeds and the disjoint shells, without any additional training. Panels (a1)–(a4) show the predicted-versus-true scatter [(a1),(a3)] and the residual distributions [(a2),(a4)] of the fused estimate for the resistance and flux channels across all five shells. The resistance residuals widen progressively with the parameter shift, whereas the flux residuals stay tightly concentrated at zero, the sample-level counterpart of the asymmetric channel identifiability analysed in Section 3. Panels (b1)–(b2) show one representative Far-shell sample (, load-step profile): the paired healthy reference and faulty diagnostic current windows, annotated with its true severity and the fused prediction , illustrating the input structure that the paired-window protocol provides to the estimator. Panel (c) reports the fusion MAE of the ten individual seeds per shell instead of only their mean; the seed-to-seed spread stays small at every shift level. Panel (d) decomposes the far-shell predictions into the two branches: the physics branch stays close to the diagonal on while the data branch is tighter on , so their errors are complementary rather than redundant, which is exactly the property that the channel-wise fusion exploits.
Figure 7.
Sample-level evaluation details of the deployable fusion on the ideal dataset, using the identical checkpoints and fusion weights as Table 2 (, ; ten seeds; disjoint shells). (a1,a3) Predicted-versus-true scatter for and ; (a2,a4) the corresponding residual distributions, across the five shells. (b1,b2) Paired healthy-reference and faulty-diagnostic current windows (, ) of a representative Far-shell sample (, load-step profile), annotated with its true and predicted severities. (c) Per-seed fusion MAE for the ten seeds in each shell; bars give the ten-seed mean. (d) Branch complementarity at the Far shell: per-sample predictions of the physics branch (circles) and the data branch (crosses) for (red) and (blue). Scatter points are subsampled for visualization; all metrics use the full shell populations. Panels are arranged by column: (a1,a2), (a3,a4), (b1,b2), and (c,d).
4.3. Empirical Analysis of Resistance-Channel Identifiability
The resistance-channel difficulty is not simply a low signal-to-noise problem. The fault-induced current fluctuation is about 75 times the standard deviation of the measurement noise, so the raw signals do contain measurable resistance information. The difficulty appears when that information is separated through the d–q regression. Across the tested range, the normalized sensitivity to flux variation is 5.12–5.44 times the sensitivity to resistance variation. After the resistance regression column is projected against the subspace spanned by the inductance columns, only 2.1–3.9% of its magnitude remains orthogonal. The resulting d-axis design matrix is therefore close to singular: the median condition number ranges from to , and the 90th percentile exceeds .
The Cramér–Rao analysis in Section 3 gives lower bounds on the standard deviation of of 0.099, 0.083, and 0.069 for the ID, far, and ext subsets. The physical-inversion estimates remain above these unbiased bounds but are of the same order. This does not prevent a learned regressor from achieving a smaller MAE, because a learned model may accept bias and shrinkage rather than remain unbiased. It explains why a higher-capacity data model can outperform direct physical inversion on resistance without contradicting the bound. Broadening the training range reduces the far-interval resistance error by 15.4%, but it does not remove the poor conditioning of the underlying physical inverse problem. These identifiability diagnostics are summarized in Table 3.
Table 3.
Quantitative evidence for asymmetric channel identifiability. Interval-based mechanism diagnostic; not a disjoint-shell result.
The gradient diagnostics show how this information structure interacts with a model trained only within the parameter range; they are not themselves a proof of intrinsic non-identifiability. In the representative run, the cosine similarity of the data gradient for is 0.93, 0.89, and 0.93 for the ID, mid, and far conditions, while the physics gradient gives 0.58, 0.72, and 0.38. The pattern reverses for : the physics-gradient cosines are 0.84, 0.80, and 0.66, compared with 0.47, 0.62, and 0.50 for the data gradient.
When the samples are grouped into 5%-wide motor-offset bins, the resistance-physics cosine falls to 0.367 and the resistance MAE reaches 0.1171 for . The fine bins are used only for the unstable resistance channel; the more stable flux diagnostics remain at the ID, mid, and far points. Because wider training improves the far resistance error and the gradient cosine varies across seeds, this binned decline should be read as a combination of extrapolation and optimization instability superimposed on the Fisher-information limitation. The supportable conclusion is that reference anchoring makes the problem structurally identifiable, but the resistance channel remains statistically ill-conditioned rather than fundamentally impossible to learn. Figure 8 gathers these identifiability assessments.
Figure 8.
Identifiability diagnostics explaining the resistance-channel limitation. Interval-based mechanism diagnostic; not a disjoint-shell result.
4.4. Robustness Assessment Against Non-Saturation Realistic Disturbance Set and Saturation Boundary
To prevent the robustness analysis from becoming a list of fragmented variations, the non-ideal evaluations are combined into a well-structured comparison of the baseline dataset with a realistic disturbance bundle that excludes magnetic saturation. The disturbances included in this bundle are measurement noise, the effect of analog-to-digital converter quantization, inverter harmonic distortion, cross-coupling phenomena, and iron losses, but not saturation. We verified through simulation that these perturbations are present: the residual voltage computed from the ideal model lies between 1.792 and 1.905 V across operating points. At the same time, the multi-window integral least-squares observer remains accurate, with maximum median and mean parameter-estimation errors of 0.69% and 0.87% and a maximum 90th-percentile error of 1.83%. Therefore, this disturbance set evaluates practical non-idealities that do not invalidate the constant-parameter assumption of the d–q reference frame.
The model-side findings agree with the observer verification (Table 4). Under the zero-shot transfer, the deployable-fusion error barely moves across the five shells: at the Far shell it changes from to , a paired increase of only ( CI ), while the fixed weights and are held constant. The physics branch behaves similarly (Far shell ). At the tested intensities the non-saturation realism therefore does not alter the established division of labor—the data branch is still preferred for R and the physics branch for flux—although this evidence is confined to the specific simulated bundle and does not by itself establish transfer to real machines.
Table 4.
Zero-shot transfer from ideal-trained checkpoints to the non-saturation realism bundle under disjoint shells (ten-seed mean). Branch models are trained on the ideal training set and the fusion weights are selected on the ideal validation set; both are then frozen before non-ideal evaluation. Both rows of each estimator are evaluated on the identical realism-bundle population (the ideal row removes the disturbances), so the per-shell change is a matched pairing and absolute values differ slightly from Table 2.
Saturation is therefore discussed as a separate element that does not belong to the non-saturation set. A moderate level of saturation makes the inductance state-dependent and raises the normalized mismatch indicator (Table 5) from for the non-saturation bundle to —roughly a fourfold increase relative to the non-saturation bundle and about eightfold relative to the ideal baseline. In the original interval-based boundary test (not re-bucketed into shells), this raises the physics-branch far MAE from 0.0562 to 0.0809.
Table 5.
Normalized physics-model mismatch indicator across conditions. It uses the instantaneous d–q voltage residuals and (units of volts; distinct from the integral training residuals of Equation (18)), forming the residual RMS and the dimensionless ratio . All four conditions use the same fixed set of 60 healthy reference-window sample IDs (the first 60 of the ideal test split, chosen before condition comparison), the true motor parameters, and central-difference derivatives; is the arithmetic mean over those 60 ideal-condition windows.
Fusion mitigates this negative effect, lowering the MAE of the saturated case to 0.0613, but it does not make the approach fully immune to a wrong physical model. The full structural combination follows the same trend, yielding a v15 far MAE of 0.0763 and a fusion far MAE of 0.0569, indicating that saturation governs the observed boundary. This distinction matters: disturbances, quantization, harmonics, cross-coupling, and iron losses are all tolerable at the considered intensities, whereas saturation sets the operational boundary for the constant-parameter observer. Because the data branch is purely data-driven and does not enforce the constant-parameter d–q equations, it is less directly exposed to this structural mismatch. The vulnerable component under saturation is therefore the strongly physics-constrained PINN branch, while fusion mitigates the effect by reducing reliance on the damaged physical component.
4.5. Generalization Suite: Motor Ratings, Unseen Operating Conditions, and an Independent Population
To add the broader generalization evidence requested by the reviewer, we examine three factors that are not varied in the main experiment. Unless a row is marked retrained, the model is trained on the base machine and applied without adaptation, with the fusion weights fixed at the base-machine values (, ); in the retrained rows the weights are selected again on the validation split of the new setting (, ). These studies are supplementary breadth checks. They use the original three-seed, interval-based protocol, are reported descriptively, and are neither reassigned to the disjoint shells nor expanded to the ten seeds used in Section 4.2.
The first study changes the absolute machine rating (Table 6). A model trained on the base machine is applied to a higher-power (, 8 mH, Wb) and a lower-power (, 3 mH, Wb) machine, while the observer is re-anchored to the corresponding nameplate values. Zero-shot transfer between ratings is limited: the total MAE rises to about – for all methods, including SASEN. This suggests that the learned mapping and per-unit normalization remain tied to the training rating rather than identifying a failure unique to the proposed fusion. Re-fitting the framework on each rating restores performance closer to that of the base machine, with far-interval MAE of for the large rating and for the small rating. The generalization claim of this paper is therefore restricted to the parameter-tolerance band within a machine class; a different absolute rating still requires re-fitting.
Table 6.
Cross-rating generalization (proposed fusion; three-seed mean MAE; supplementary auxiliary study under the original interval-based protocol, not the disjoint-shell main protocol. Zero-shot rows use the base-machine weights /; retrained rows re-fit on each rating).
The second study evaluates unseen operating conditions (Table 7). The voltage-step profile is withheld entirely during training and then used for leave-one-profile-out testing. We also introduce two profiles that are absent from training: a compound speed-and-load step and a sinusoidal-speed profile. All three are evaluated without adaptation. The proposed fusion degrades only mildly, and the far-interval errors on the two new profiles, –, are comparable to the far result under the original operating-profile protocol. These results provide preliminary descriptive evidence for robustness to the tested operating-condition shifts, rather than a general guarantee over arbitrary operating regimes.
Table 7.
Unseen operating conditions (proposed fusion; three-seed mean; supplementary auxiliary study under the original interval-based protocol, not the disjoint-shell main protocol).
The third study uses an independently generated, motor-disjoint population created with a separate random seed and the non-saturation realism bundle of Section 4.4 (Table 8). Under this auxiliary three-seed interval protocol, the proposed fusion maintains performance across the offset ranges and gives a far-interval MAE of . This is the closest feasible proxy to an independent dataset available in the present study, because no public corpus provides paired healthy and diagnostic windows under controlled motor-parameter shifts. It is still produced by the same simulation framework and should not be presented as an independently formulated high-fidelity plant or as hardware validation.
Table 8.
Independently generated motor-disjoint population (seed-999 realism bundle, produced within the same simulation framework; three-seed mean; supplementary auxiliary study under the original interval-based protocol, not the disjoint-shell main protocol). This is not an independently formulated high-fidelity plant or a hardware dataset.
4.6. Comparison with Published Baselines and Statistical Tests
The competing methods are evaluated under representative conditions chosen to address the main architectural questions, rather than through an exhaustive study of every possible variant. In the reported auxiliary comparisons, Demag-PINN is weaker than the proposed fusion, while SASEN remains a strong high-capacity data-driven benchmark. Table 9 and Table 10 use the original common interval protocol with three seeds. They are included for breadth, are not reassigned to the disjoint shells, and are therefore not numerically interchangeable with the ten-seed main results in Table 2. The weights used in these auxiliary tables, and , belong to the earlier protocols and are not the final deployable weights .
Table 9.
Far-bucket total MAE on compact representative conditions. Descriptive values under the original interval protocol (three seeds), not the disjoint-shell main protocol; used for boundary-condition comparison rather than inferential significance claims, as paired per-seed source results were not retained.
Table 10.
Recent-method comparison at the far () interval bucket (auxiliary architecture comparison; three-seed mean ± std; single GPU; , ). This is the original interval-based protocol, not the disjoint -shell main result; absolute values are therefore not directly comparable to Table 2. Dashes mark the single-branch physics (v15) and Attention-LSTM data models, whose individual parameter counts are reported in Figure 2 and the main text.
SASEN has a slightly lower total MAE in the representative far interval because its larger self-attention model captures the weak resistance-channel cues more effectively. The total metric, however, hides a clear channel difference. On the ideal far dataset, the resistance MAE is 0.0707 for SASEN and 0.0842 for the proposed fusion, whereas the flux MAE is 0.0233 for SASEN and 0.0158 for the proposed fusion, a 32.4% reduction in the flux-channel error. The physics branch is not designed to outperform every data-driven model on resistance; its role is to supply identifiable flux information and an interpretable model-mismatch signature.
To broaden the comparison, we also evaluate a canonical Transformer encoder, a Temporal Convolutional Network (TCN) [18], a multi-scale CNN–BiLSTM [19], and a PINN-Transformer. The PINN-Transformer keeps the integral-LS parameter feature and the axis-routed physical residual, but replaces the LSTM backbone with a Transformer. All models in this auxiliary architecture comparison use the same three seeds, motor-disjoint splits, MAE metric, and single-GPU setting under the original interval protocol. Recent PMSM work using temporal convolutions with attention and parametric-ReLU activations [20] further motivates the inclusion of the TCN family. Table 10 reports the far bucket with per-channel errors and parameter counts.
Two points are visible in Table 10. First, the channel-wise division of labor persists across architectures. The physics-informed models give the lowest flux errors— for the PINN-Transformer, for the deployable fusion, and for the Physics-LSTM—while the purely data-driven models lie between and . On the statistically ill-conditioned resistance channel, the higher-capacity data and attention models are stronger. This is the pattern anticipated by the identifiability analysis in Section 3. Second, the PINN-Transformer gives the best total and flux errors in this auxiliary comparison. This suggests that the physical constraint is not tied to an LSTM backbone and can benefit from a stronger sequence model, consistent with the v15+SASEN upper bound of Table 11. The high-capacity models obtain a lower total MAE mainly by improving resistance. The deployable fusion remains the smaller, more interpretable configuration and retains its flux-channel advantage, but it should not be described as the best overall model.
Table 11.
Ten-seed descriptive paired comparisons on disjoint shells and the v15+SASEN replacement-branch upper-bound study (weights , ). Values are mean ± standard deviation over seeds 42–51; the two p-columns are paired t-tests over the ten matched seeds for v15+SASEN versus SASEN and versus the deployable fusion, reported as descriptive repeated-run evidence rather than definitive large-sample inference.
Across the disjoint shells, SASEN remains the stronger standalone total-MAE baseline, whereas the deployable fusion stays better than either internal branch and keeps the physics-guided flux advantage. Replacing the lightweight data branch with SASEN (the v15+SASEN upper bound, weights , ) lowers the Far-shell MAE to , against for standalone SASEN and for the deployable fusion. Over the ten matched seeds the paired difference of v15+SASEN versus SASEN is negative in every shell with , and v15+SASEN versus the deployable fusion is significant in every shell (). The paired-difference intervals for v15+SASEN—SASEN exclude zero in every shell (ID , Mid , Far , Xtm , Ext ), as do those for v15+SASEN—deployable (ID , Mid , Far , Xtm , Ext ). Because even ten seeds provide limited inferential power, these p-values are reported as descriptive repeated-run checks rather than definitive hypothesis tests. The replacement-branch experiment tests whether the channel-selective fusion principle remains useful when the lightweight data branch is replaced by a stronger model; it is an upper bound, not the deployable configuration. Figure 9 shows the total error and per-channel complementarity.
Figure 9.
Ten-seed disjoint-shell SASEN replacement study (in the panels, PINN(v15) = Physics-LSTM and Attn = Attention-LSTM). The v15+SASEN model uses , and is an upper-bound, non-deployable replacement-branch configuration; the deployable fusion is v15 + Attention-LSTM.
4.7. Coupled Faults, Optimization Scalability, and Practical Cost
We also constructed a dedicated coupled-fault bucket in which both and lie in for every sample. Across the ten seeds, the fusion model obtains MAE on the resistance channel and on the flux channel, giving a combined MAE of (Table 12). The corresponding total MAEs are for the physics branch and for the Attention-LSTM.
Table 12.
Coupled-fault channel results. All values are the ten-seed mean ± standard deviation; the Total MAE is the mean of the two channel means and its seed-level standard deviation is now reported.
The flux error remains close to that observed on the independently sampled ID data. Within this tested range, a simultaneous resistance fault therefore does not materially disrupt the axis-routed flux constraint. The lower total error relative to the standard ID bucket should not be interpreted as evidence that coupled faults are generally easier. This bucket excludes both near-zero severities and the most severe cases, and consequently covers a narrower intermediate range.
In the present two-weight fusion approach, a full grid and BO produce nearby solutions, and respectively, with indistinguishable validation MAE at the grid resolution, so BO is not required in this two-dimensional case; it is retained only because the same outer loop extends to future higher-dimensional or per-bucket weighting, where exhaustive grids become impractical—a scaling calculation shows that a ten-dimensional five-point grid would already require evaluations. We did not run such a high-dimensional configuration here, and we therefore do not claim BO as a computational advantage of the present method.
Finally, the deployable two-branch model has 45,445 parameters and processes each sample in 4.06 milliseconds under the present mixed CPU/MPS (Metal Performance Shaders) implementation, whereas SASEN on MPS uses 86,498 parameters and 0.81 milliseconds per sample. The reported latency figures are not normalized for hardware differences, because the deterministic linear solve was forced to run on the CPU by the experimental software stack; these figures support feasibility but do not constitute a claim of superior speed.
We quantify the computational cost more fully on a single NVIDIA RTX 5090. Training is inexpensive: at 120 epochs each branch converges in roughly 70–120 s per seed (Attention-LSTM s, physics branch s), and the recent Transformer, TCN, CNN–BiLSTM, and PINN-Transformer baselines train in 106–192 s per seed, so the complete ten-seed run of the deployable branches and the comparison models (training and prediction export, excluding the outer-loop weight search) finishes in about 40 minutes on a single GPU. The memory footprint is modest: peak GPU usage is about GB and every model has fewer than parameters (about 40–93 k), so their size is compatible with future deployment on commodity and embedded hardware. For real-time operation, the diagnostic window spans ms, whereas per-sample inference is at most about ms for all evaluated models on the GPU (and ms for the deployable model under the mixed CPU/MPS stack, dominated by the CPU-forced least-squares solve); inference is thus well within one window, which establishes computational feasibility relative to the 30 ms acquisition window—closed-loop embedded integration remains to be validated. Latencies measured on different hardware stacks are not directly comparable and are reported only to establish feasibility.
Taken together, the experimental results confirm the expected division of labor. Parameter observation removes the motor-offset ambiguity; the physics-based part provides a stable, accurate flux direction; the data-driven branch handles the resistance channel that is hard to identify; and BO exposes rather than hides their differing reliability. The residual error is also understandable physically: when strong saturation makes the constant-parameter model inapplicable, the physics component degrades, and fusion can only reduce, not remove, the mismatch.
4.8. Practical Implications for Manufacturing Quality Control
The framework is also relevant to how motors may eventually be screened after production. Manufacturing tolerances, magnet-material variation, and thermal history leave each unit slightly different from its nominal design. If an inspection method cannot distinguish this unit-to-unit spread from actual degradation, it risks rejecting healthy motors or accepting faulty ones. The reference-window observer addresses this ambiguity before severity is estimated: it converts the unit-level offsets into a deterministic motor-specific description and leaves the network to estimate only the degradation . Within the simulated machine class and the tested tolerance band, the same trained model can therefore accommodate unit-to-unit parameter variation without per-unit retraining. This may help future end-of-line criteria remain less sensitive to normal manufacturing spread, but the present study does not validate a production pass/fail threshold.
The estimated offsets may also be useful outside the immediate diagnosis. records how the stator resistance, the d- and q-axis inductances, and the magnet flux linkage of a unit differ from the nominal design. If these quantities were tracked across a production batch with standard statistical process-control tools, they could reveal gradual shifts such as weakening magnets or a widening resistance distribution. The offline residual analysis in Section 4.4 adds a separate indication of when the constant-parameter assumption becomes doubtful in simulation. It is a model-adequacy diagnostic, not a deployed quality gate.
The computational burden is modest. The observer is a single linear solve, and the two neural branches together contain 45,445 parameters. The current mixed CPU/MPS implementation processes a window in about 4 ms on the reported workstation. These figures motivate future evaluation on embedded inspection hardware, but they are not production-line latency measurements. Using the d–q structure may also reduce dependence on large labeled fault datasets, which are costly to collect in manufacturing. All of these practical implications remain simulation-based; deployment would still require sim-to-real validation and the domain-adaptation steps discussed in Section 5.
5. Limitations and Future Work
This work should be read as a controlled parameter-generalization study rather than as hardware validation. The virtual-motor design isolates motor-parameter shift, prevents leakage between motor instances, and tests where the adopted physical model remains useful under measurement noise, harmonic distortion, iron loss, cross-coupling, and magnetic saturation. It therefore provides controlled mechanistic evidence, but it does not include dynamometer measurements or an independently formulated finite-element or hardware-in-the-loop plant. Random measurement noise and ADC quantization are modeled. Persistent sensor bias, calibration error, inverter dead time, thermal drift, closed-loop controller dynamics, and mismatch between the reference and diagnostic windows are not. The last item is the matched-window failure mode identified in Section 3 and would require explicit nuisance-state modeling, alignment, or online re-anchoring.
A next step is therefore a sim-to-real or machine-to-machine study using a small set of annotated windows from the target machine and a formal domain-adaptation procedure, as suggested in the fault-diagnosis transfer-learning literature [21]. Until such evidence is available, the present results should not be interpreted as real-machine generalization.
The second limitation is an information boundary rather than only a lack of data. The paired reference window removes the structural ambiguity between motor offsets and fault severity, but the resistance channel remains statistically ill-conditioned. The measured values, condition numbers, and Cramér–Rao lower bounds show why: resistance is supported by a weak independent component of the Fisher information, while flux has a much larger back-EMF lever arm. Increasing the PINN penalty alone cannot create missing resistance information. More promising directions include richer excitation, a temperature-dependent resistance model, wider but still motor-disjoint training domains, and a stronger data branch for resistance. The v15+SASEN upper-bound result supports this interpretation by reducing the auxiliary far-interval error, while the selected flux weight still places most trust in the physics branch.
The third limitation comes from the constant-parameter d–q model. The non-saturation disturbance bundle is tolerated at the tested intensities, but moderate saturation makes the inductance state dependent and invalidates the ordinary differential equation (ODE) residual used by the physics-informed branch. This agrees with the broader observation that a soft physical constraint can become misleading when the imposed equation no longer represents the local system behavior [22]. The appropriate remedy is not simply to retune . Possible alternatives include a saturation-aware residual, an energy-based or precomputed lookup-table inductance model, or an adaptive physical loss whose influence is reduced only after a residual threshold has been calibrated empirically. No such online threshold is implemented in the current work.
The fusion layer is intentionally simple: it uses two globally fixed but channel-specific coefficients, one for resistance and one for flux. This makes the result easy to interpret, but it cannot adapt its trust from one sample to another. The same outer-loop idea could be extended to operating-regime-specific weights, and an input-conditioned could depend on operating state, residual indicators, estimated parameter deviation, or predictive uncertainty. Adaptive balancing of the data and physics losses is another possible way to reduce sensitivity to ; recent PINN work shows that multi-objective loss weighting can be important for stable training [23]. Any extension should retain motor-disjoint partitioning so that improved flexibility does not introduce leakage into the generalization evaluation.
Finally, the present fault model is deliberately limited to stator-resistance increase and magnet-flux reduction in a surface permanent-magnet synchronous motor (SPMSM), for which the d- and q-axis inductances are equal. The coupled-fault experiment indicates that simultaneous resistance and flux anomalies do not invalidate the proposed axis-based fusion within the tested setting. The study does not yet cover transient or abrupt faults, non-monotonic degradation, the geometry of inter-turn short circuits, rotor eccentricity, bearing defects, or the saliency effects of an interior permanent-magnet synchronous motor (IPMSM). These cases should not be treated as simple additions to the current dataset. Each new fault type changes the relevant regression variables, the excitation needed for identification, and the channel in which the physical model remains informative; extending the framework therefore requires a corresponding identifiability analysis.
6. Conclusions
This study develops a channel-selective physics–data fusion framework for PMSM fault-severity estimation under motor-parameter variation. The method separates motor-level offsets from fault-related changes instead of asking one neural network to learn both effects at once. An integral least-squares observer first estimates the healthy motor offsets from the reference window. The diagnostic window is then processed by parallel physics-informed and data-driven branches, whose outputs are combined with channel-specific weights.
The theoretical and empirical results point to a clear division of labor. The paired reference window removes the structural ambiguity between motor variation and fault severity, but it does not make the two fault channels equally easy to estimate. The resistance channel remains statistically ill-conditioned, whereas the flux channel is better supported by the d–q equations. In line with this analysis, the LS parameter features provide most of the useful physical information. The ODE loss adds a small, systematic correction to the flux estimate while the constant-parameter model is valid, but becomes harmful under moderate saturation. The optimized fusion therefore assigns more data-driven trust to resistance and more physics-informed trust to flux; a single global weight performs worse on the validation objective.
Under the stricter disjoint-shell evaluation, the deployable fusion remains better than either of its own internal branches and preserves a physics-guided advantage on the flux channel. Its overall error stays close to, but does not surpass, the strongest high-capacity self-attention baseline. It also outperforms the adapted Demag-PINN under the evaluated protocol. The saturation study should be read as an offline model-mismatch signature in simulation, not as a validated online gate. The main conclusion is therefore not that a PINN alone solves parameter-OOD diagnosis, but that identifiability analysis can indicate where physics is reliable, where data should carry more of the estimate, and how the two sources should be combined without concealing their limits.
Author Contributions
Conceptualization, X.C. and R.D.; methodology, X.C.; software, X.C., J.B. and S.Z.; validation, X.C., J.B. and S.Z.; formal analysis, X.C.; investigation, X.C., J.B. and S.Z.; resources, R.D.; data curation, J.B. and S.Z.; writing—original draft preparation, X.C.; writing—review and editing, X.C. and R.D.; visualization, X.C. and S.Z.; supervision, R.D.; project administration, R.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original data presented in the study are openly available in Zenodo at https://doi.org/10.5281/zenodo.21449983.
Acknowledgments
The authors acknowledge the International Campus, Zhejiang University, for providing the academic environment that supported this study.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| PMSM | Permanent-magnet synchronous motor |
| SPMSM | Surface permanent-magnet synchronous motor |
| IPMSM | Interior permanent-magnet synchronous motor |
| PINN | Physics-informed neural network |
| LSTM | Long short-term memory |
| BO | Bayesian optimization |
| LS | Least squares |
| OOD | Out-of-distribution |
| MAE | Mean absolute error |
| CRLB | Cramér–Rao lower bound |
| ODE | Ordinary differential equation |
| GP-EI | Gaussian-process Expected-Improvement |
| back-EMF | Back electromotive force |
References
- Choi, S.; Haque, M.S.; Tarek, M.T.B.; Mulpuri, V.; Duan, Y.; Das, S.; Garg, V.; Ionel, D.M.; Masrur, M.A.; Mirafzal, B.; et al. Fault Diagnosis Techniques for Permanent Magnet AC Machine and Drives—A Review of Current State of the Art. IEEE Trans. Transp. Electrif. 2018, 4, 444–463. [Google Scholar] [CrossRef] [Scilit]
- Ben Hadj, N.; Krichen, M.; Neji, R. Finite elements and signal processing analysis of eccentricity and demagnetization faults in PMSM drivetrains: Approach for diagnosis. arXiv 2020, arXiv:2011.04353. [Google Scholar]
- Jung, W.; Yun, S.-H.; Lim, Y.-S.; Cheong, S.; Bae, J.; Park, Y.-H. Fault Diagnosis of Inter-turn Short Circuit in Permanent Magnet Synchronous Motors with Current Signal Imaging and Unsupervised Learning. arXiv 2022, arXiv:2206.07651. [Google Scholar]
- Zhao, Z.; Zhang, Q.; Yu, X.; Sun, C.; Wang, S.; Yan, R.; Chen, X. Applications of Unsupervised Deep Transfer Learning to Intelligent Fault Diagnosis: A Survey and Comparative Study. arXiv 2019, arXiv:1912.12528. [Google Scholar]
- Xia, P.; Huang, Y.; Qin, C.; Liu, C. Multi-modal cross-domain mixed fusion model with dual disentanglement for fault diagnosis under unseen working conditions. arXiv 2025, arXiv:2512.24679. [Google Scholar]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef] [Scilit]
- Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. In Advances in Neural Information Processing Systems; Curran Associates: Red Hook, NY, USA, 2017. [Google Scholar]
- Snoek, J.; Larochelle, H.; Adams, R.P. Practical Bayesian Optimization of Machine Learning Algorithms. In Advances in Neural Information Processing Systems; Curran Associates: Red Hook, NY, USA, 2012. [Google Scholar]
- Mazaheri-Tehrani, E.; Faiz, J.; Garaei, S.; Kalhor, A.; Lai, C. Physics-Informed Neural Network Approach to Diagnosing Uniform Demagnetization Faults in Permanent Magnet Synchronous Machines. IEEE Access 2025, 13, 190933–190946. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Zhou, Z.; Xu, W.; Sun, C.; Yan, R. Physics informed neural networks for fault severity identification of axial piston pumps. J. Manuf. Syst. 2023, 71, 421–437. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Cheng, W.; Xing, J.; Chen, X.; Zhao, Z.; Zhang, R.; Huang, Q.; Lu, J.; Zhou, H.; Zheng, W.X.; et al. Physics-informed neural network for system identification of rotors. IFAC-PapersOnLine 2024, 58, 307–312. [Google Scholar] [CrossRef] [Scilit]
- Jebai, A.K.; Malrait, F.; Martin, P.; Rouchon, P. Estimation of Saturation of Permanent-Magnet Synchronous Motors Through an Energy-Based Model. arXiv 2011, arXiv:1103.2923. [Google Scholar]
- Perera, A.; Nilsen, R. Recursive Prediction Error Gradient-Based Algorithms and Framework to Identify PMSM Parameters Online. arXiv 2022, arXiv:2209.05094. [Google Scholar]
- Bahdanau, D.; Cho, K.; Bengio, Y. Neural Machine Translation by Jointly Learning to Align and Translate. In Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Kay, S.M. Fundamentals of Statistical Signal Processing, Volume I: Estimation Theory; Prentice Hall: Upper Saddle River, NJ, USA, 1993. [Google Scholar]
- Lee, H.; Jeong, H.; Kim, S.; Kim, S.W. Severity Estimation for Interturn Short-Circuit and Demagnetization Faults through Self-Attention Network. Sensors 2022, 22, 4639. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bai, S.; Kolter, J.Z.; Koltun, V. An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling. arXiv 2018, arXiv:1803.01271. [Google Scholar] [CrossRef] [Scilit]
- Yan, G.; Hu, Y. Inter-turn short circuit and demagnetization fault diagnosis of ship PMSM based on multiscale residual dilated CNN and BiLSTM. Meas. Sci. Technol. 2024, 35, 046105. [Google Scholar] [CrossRef] [Scilit]
- Wu, N.; Zhang, Y.; Meng, Y.; Bai, X. Inter-Turn Short Circuit Fault Diagnosis in PMSM Using a Temporal Convolutional Network with Attention Mechanism and Parametric ReLU. In Proceedings of the 2025 2nd International Conference on Electrical Power Systems and Intelligent Control (EPSIC), Qingdao, China, 15–17 August 2025; IEEE: Piscataway, NJ, USA, 2025; pp. 94–98. [Google Scholar] [CrossRef] [Scilit]
- Wang, Q.; Michau, G.; Fink, O. Domain Adaptive Transfer Learning for Fault Diagnosis. arXiv 2019, arXiv:1905.06004. [Google Scholar] [CrossRef] [Scilit]
- Krishnapriyan, A.S.; Gholami, A.; Zhe, S.; Kirby, R.M.; Mahoney, M.W. Characterizing Possible Failure Modes in Physics-Informed Neural Networks. arXiv 2021, arXiv:2109.01050. [Google Scholar] [CrossRef] [Scilit]
- Bischof, R.; Kraus, M. Multi-Objective Loss Balancing for Physics-Informed Deep Learning. arXiv 2021, arXiv:2110.09813. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.








