Online Multi-Parameter Identification for PMSM Parameter Monitoring Based on a ZOH Model and Dual-Sampling Strategy
Sidong He, Xuewei Xiang, Hui Li, Shuai Li, Peng Jiang

TL;DR
A new method improves the accuracy of identifying parameters in permanent magnet synchronous motors using advanced discretization and voltage compensation techniques.
Contribution
A novel online multi-parameter identification method for PMSMs using ZOH discretization and dual-sampling strategy with voltage compensation.
Findings
The proposed ZOH discretization reduces model errors, especially at high speeds.
Dual-sampling and d-axis injection overcome rank deficiency in identification matrices.
The method achieves low identification errors for resistance, inductance, and flux linkage under high-speed conditions.
Abstract
The accuracy of online parameter identification for permanent magnet synchronous motors (PMSMs) is constrained by discrete model errors, rank deficiency in the steady-state identification matrix, and voltage deviations resulting from inverter nonlinearities. This paper proposes a multi-parameter identification method acting as a high-precision virtual sensor, based on Zero-Order Hold (ZOH) discretization and an inverter nonlinear voltage compensation scheme utilizing a dual-sampling strategy. First, a discrete model of the PMSM, accounting for rotor position variations within the control period, is established using the ZOH discretization method. Compared with the forward Euler discretization method, this approach effectively minimizes discretization model errors, especially under high-speed operating conditions where rotor position variations are significant. Second, the rank…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17- —Chongqing Natural Science Foundation Innovation and Development Joint Fund
- —National Natural Science Foundation of China
- —Fundamental Research Funds for the Central Universities
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSensorless Control of Electric Motors · Machine Fault Diagnosis Techniques · Electric Motor Design and Analysis
1. Introduction
With the rapid advancement of modern industry and technology, requirements for motor performance have become increasingly stringent. Permanent magnet synchronous motors (PMSMs) have found extensive application in aerospace, industrial automation, power generation, medical equipment, and transportation due to their superior performance characteristics, such as high efficiency, high power density, and excellent dynamic response [1,2]. Common PMSM control strategies, such as vector control, direct torque control (DTC), and model predictive control (MPC), rely heavily on fundamental motor parameters, including resistance, inductance, and permanent magnet flux linkage. However, in practical operation, motor parameters vary continuously with operating conditions such as temperature, magnetic saturation, and loading levels. This parameter mismatch degrades control performance and, in severe cases, may jeopardize closed-loop stability. In particular, apart from stator resistance and inductance, the permanent magnet flux linkage is significantly affected by the magnet’s temperature coefficient and thermal variations. Such variations can lead to flux linkage drift, thereby aggravating parameter mismatch and potentially undermining control performance and closed-loop stability [3,4]. Therefore, the precise online identification of motor parameters is not only essential for controlling system robustness but also serves as a crucial method for real-time condition monitoring and health diagnosis of the motor drive system [5,6].
Online parameter identification is typically based on the discrete mathematical model of the motor, estimating motor parameters in real time by acquiring electrical quantities such as voltage and current combined with algorithmic calculations. However, due to the limited switching frequency of insulated-gate bipolar transistors (IGBTs), the variation of rotor position within a single control period cannot be ignored when the PMSM operates at high speeds [7]. Under these conditions, the coupling between the d and q axes of the motor intensifies, and the error of the discrete motor model obtained based on traditional discretization methods increases significantly. This leads to reduced control accuracy of the current loop, slower dynamic response, and, in severe cases, system instability [8,9]. Therefore, to establish a precise PMSM model, Reference [10] utilized the volt-second equivalence principle combined with the forward Euler method to accurately model the process within a control period. Reference [11] constructed a new discrete prediction model by directly solving differential equations with the aid of an auxiliary coordinate system, which resulted in smaller control errors compared to the traditional Euler discrete model. Reference [12] pointed out that the digital pulse width modulation (PWM) Zero-Order Hold (ZOH) model possesses higher accuracy compared to the time-delay model and the Pade approximation model. Reference [13] established a discrete model considering the dynamic variation of the rotor position within the control period; however, there remains room for improvement regarding the handling of resistive voltage drop nonlinearity under complex operating conditions.
During the steady-state operation of PMSMs, the identification matrix becomes rank-deficient due to the linear dependence of input variables, causing the identified parameters to fail to converge [14]. To address rank deficiency, primary solutions include model reduction, rank augmentation via voltage vector combinations within a switching period, and signal injection. Model reduction strategies typically rely on reducing the number of target parameters or employing stepwise identification. The former relies on the assumption that the unidentified parameters are known and equal to their true values; however, this assumption is rarely satisfied in practice, and parameter coupling can readily lead to error propagation [15,16]. The latter relies on accurate initial values, and deviations in initial values will lead to significant identification errors [17]. Rank augmentation methods based on voltage vector combinations within a switching period face multiple challenges in practical applications: they impose high requirements on the sampling frequency, and due to the limited duration of effective vectors, reliable multiple sampling is difficult to achieve. Meanwhile, vector switching tends to induce current oscillation, further constraining the engineering practicality of this method [18]. Currently, the signal injection method is widely adopted, which includes rotor position signal injection and voltage/current signal injection. Although signal injection can achieve rank augmentation and improve parameter identification accuracy, excessive injection amplitude affects motor performance, generating torque ripple [19,20].
Direct measurement of inverter output voltage is often impractical; thus, the reference voltage is typically used. However, inverter nonlinearities, such as deadtime and voltage drops, introduce deviations that significantly degrade parameter identification accuracy [21,22]. Specifically, inverter nonlinear factors, such as the dead-time effect, IGBT, and the conduction voltage drop of power devices, cause deviations between the actual output voltage and the reference value, thereby severely constraining the accuracy of parameter identification. References [23,24] employed average voltage for parameter identification by judging the current polarity. However, the implementation of this compensation strategy relies on the real-time judgment of current polarity, and the zero-current clamping effect along with the nonlinearity at the current zero-crossing point severely restrict the accuracy of the compensation. Reference [25] proposed an improved dead-time compensation method based on a multiple cascaded extended state observer (MCESO). Although such advanced compensation algorithms can effectively estimate error voltages, they typically impose high requirements on the computational performance of the digital signal processor due to their complex algorithmic structures. Although Reference [26] achieved online look-up table compensation for inverter nonlinear error voltage, its compensation model depends on the accuracy of the offline model establishment and does not fully consider the nonlinear influence of parasitic capacitance on the switching process, leading to limited accuracy under actual operating conditions.
Addressing the aforementioned issues, this paper proposes a multi-parameter online identification scheme for PMSMs based on Zero-Order Hold (ZOH) discretization, which functions as a high-precision soft sensor for monitoring internal motor states. First, based on the digital PWM ZOH model, a discrete model of the PMSM considering the continuous variation of rotor position within the control period is established, laying a foundation for accurate parameter identification. Subsequently, to resolve the rank deficiency of the identification matrix during steady-state operation, a rank augmentation method combining d-axis current small-signal injection and a dual-sampling strategy is proposed. On this basis, the Forgetting Factor Recursive Least Squares (FFRLS) algorithm is introduced to achieve stable online identification of multiple parameters. Finally, to eliminate the voltage error introduced by inverter nonlinearities, the influence mechanisms of the dead-time effect, power device conduction voltage drop, and turn-on delay are analyzed, and a nonlinear voltage compensation strategy adapted for the dual-sampling scheme is proposed. Experimental results demonstrate that the proposed method exhibits significant advantages in parameter identification accuracy and stability under multiple operating conditions.
The main contributions of this paper are summarized as follows:
- A high-precision discrete model considering rotor position variation within the control period is established based on the ZOH principle, which acts as the mathematical core of the virtual sensor to eliminate discretization errors at high speeds.
- A robust identification scheme combining d-axis current injection and a dual-sampling strategy is proposed to solve the rank deficiency problem, ensuring the observability of all electromagnetic parameters.
- An inverter nonlinearity compensation mechanism adapted for dual sampling is developed, which effectively suppresses the adverse effects of dead-time and voltage drops, improving the sensing accuracy of resistance and inductance parameters.
2. Online Multi-Parameter Identification for PMSMs Based on a Zero-Order Hold Discrete Model and Dual-Sampling Strategy
2.1. Zero-Order Hold Model of PMSM Considering Rotor Position Variations
To facilitate model derivation and online parameter identification, the Park transformation is employed to express the PMSM equations from the stationary three-phase abc reference frame in the synchronously rotating d-q frame. In this rotating frame, the steady-state stator voltages and currents become approximately DC quantities, and the inductance matrix becomes independent of the rotor position [27].
For surface-mounted permanent magnet synchronous motors (SPMSMs), where Ld = Lq = L, the mathematical equations in the synchronous rotating d-q reference frame can be expressed in matrix form as follows:
where
The time–space voltage vector trajectory of the PMSM is illustrated in Figure 1, where Tpwm denotes the pulse width modulation (PWM) period. The d-q coordinate system at the k-th instant is defined as d(k) and q(k). The voltage command udq(k) is applied starting from the instant kTpwm. Within one control period, the actual d-q coordinate axes rotate with the rotor position, causing the projection of the voltage vector udq(k) on the d-q axes to vary rather than remain constant. Based on Figure 1, the relationship between the actual voltage and the voltage command within one period can be expressed as
By performing the Zero-Order Hold (ZOH) discretization and simplifying the expressions, the discrete model is obtained as
The specific parameter expansions are given as follows:
where σ = −R/L, and Gij denotes the element in the i-th row and j-th column of matrix Gij. Similarly, Mij and Fij represent the corresponding elements of matrices Mij and Fij, respectively.
To achieve parameter decoupling and reconstruction, and to isolate the resistance, inductance, and flux linkage parameters, a linear regression equation suitable for online identification is derived. After performing a first-order Taylor expansion of the matrix terms in Equation (4), the terms related to the resistance, inductance, and flux linkage can be separated from the voltage equation and treated as unknowns to be identified, while the remaining terms are incorporated into the voltage equation and regarded as known quantities. Furthermore, the known terms are constructed into a regressor vector and the unknown terms are grouped into a parameter vector, thereby enabling online identification of the resistance, inductance, and flux linkage parameters, as shown in Equation (6).
where Δ_d_(k) and Δ_q_(k) are intermediate variables defined as
In the calculation process, M11, M12, F11, and F12 are computed using Equation (5). Thus, a concise and linearly separable PMSM parameter identification model is obtained.
By utilizing the identification method described in the following section, the term 1/L is first obtained. Subsequently, this value is substituted into the expressions for σ and Ψf to calculate the resistance and flux linkage parameters.
2.2. PMSM Parameter Identification Based on Dual Sampling
During the steady-state operation of the motor, the number of observation equations is fewer than the number of parameters to be identified, resulting in a rank-deficient identification system. To address this issue, this paper constructs persistent excitation conditions by injecting a fixed-frequency small sinusoidal current signal into the d-axis, combined with a dual-sampling strategy, thereby resolving the rank deficiency problem in the identification process.
As illustrated in Figure 1, when the PMSM operates at medium to high speeds, the errors of ud and uq within one period become significant. Let the midpoint current and voltage of the k-th PWM period be denoted as idq (k + 1/2) and udq (k + 1/2), and the coefficient matrix formed by them be Ah (k + 1/2). Combined with the sinusoidal signal injection, it is straightforward to prove that Ah (k) and A_h_ (k + 1/2) are linearly independent, thus allowing a unique solution for the coefficient matrix X to be obtained, while simultaneously improving identification accuracy. The motor control timing diagram within one period is shown in Figure 2. Consequently, stacking the two equations within one PWM period can yield a regressor with improved rank property; together with the injected d-axis excitation, the resulting identification matrix can satisfy the full-column-rank condition required for unique parameter estimation.
The values of the midpoint current idq (k + 1/2) and midpoint voltage udq (k + 1/2) can be obtained from Equation (8):
where matrix T is the abc-to-dq transformation matrix based on the angle θ_e_ + δ, and δ = ω_e_(k) × T_pwm_/2. Substituting this into Equation (6) solves the rank deficiency problem.
In practical digital drives, the sampling and actuation chains introduce delays, which may cause an angle mismatch between the reference voltage and the actually applied voltage, as well as between the measured electrical quantities and their ideal sampling instants. In our implementation, such delays are mainly determined by the PWM time base, ADC conversion, and the fixed computation pipeline, and they can be regarded as nearly constant once the hardware and control flow are configured. Specifically, the delay at the start instant is approximately 1.5 Tpwm, and the delay at the midpoint instant is approximately 0.75 Tpwm. Therefore, the delay value can be accurately obtained by theoretical timing analysis and verified by simulation debugging, and then compensated in the angle update and the voltage generation stages. In this work, the proposed dual-sampling scheme is implemented with the above delay compensation, and the following analysis assumes that the control delay has been properly compensated.
Addressing the requirement for real-time identification of system parameters, the Forgetting Factor Recursive Least Squares (FFRLS) algorithm offers an online solution. Through recursive calculation, this algorithm continuously utilizes new data to correct estimation results, ultimately causing the parameter estimates to converge to the true values. This method features a low computational burden and fast convergence speed. The core calculation process of FFRLS can be expressed as
where P is the covariance matrix, λ is the forgetting factor, ak is the input vector for the k-th period, w is the estimated parameter vector for the k-th period, and yk is the output for the k-th period.
3. Nonlinear Voltage Error Analysis and Compensation Strategy
3.1. Nonlinear Modeling and Compensation Strategy Based on Dual Sampling
Influenced by inverter nonlinear characteristics such as the dead-time effect, power switch conduction voltage drop, and switching times, the inverter output voltage often exhibits nonlinear errors. If the command voltage is directly used as the input for the identification model, it will severely degrade the accuracy of online parameter identification. Therefore, establishing a precise inverter nonlinear error model and implementing compensation is crucial.
The three-phase voltage source inverter (custom-built at Chongqing University, Chongqing, China) drive system of the PMSM (Guangzhou CNC Equipment Co., Ltd. (GSK), Guangzhou, China) is illustrated in Figure 3. Here, Vdc represents the DC-bus voltage; p and n denote the positive and negative DC-link terminals, respectively; m denotes the midpoint of the DC-link; o denotes the PMSM neutral point; and the current sign is defined as positive when flowing into the motor.
Taking phase a as an example, the influence of the dead-time effect under the condition of stator current ia > 0 is shown in Figure 4. In the figure, and —represent the drive signals for the upper and lower arms of phase a, respectively; u_an_ denotes the voltage between point a of the bridge arm and point n in Figure 3. The upper arm conducts at instant t1, and the lower arm conducts at instant t2. ton and toff are the turn-on delay and turn-off delay of the IGBT, respectively, while td represents the dead time. Figure 4a displays the switching signal waveforms of phase a under ideal conditions. When ia > 0, to avoid simultaneous conduction of the upper and lower IGBTs, as shown in Figure 4b, the upper switch is not turned on immediately when the lower switch is turned off. During the dead time, the current flows as indicated by the blue arrows in Figure 4, at which point the freewheeling diode of the lower arm begins to conduct. Subsequently, the upper switch conducts at instant t1 + td. Similarly, after the upper arm IGBT turns off at instant t2, the lower arm turns on after a delay of td.
Figure 4c illustrates the actual output voltage waveform of phase a considering the IGBT turn-on/off delays and voltage rise/fall edges. By equivalencing the voltage rise and fall edges in Figure 4c to turn-on/off delays, the equivalent output voltage waveform shown in Figure 4d is obtained. At this time, the actual conduction time of the upper arm is t2 + toff − (t1 + td + ton), whereas the ideal conduction time is t2 − t1. Based on the above analysis, defining the conduction time error as Terr, it can be obtained by the following equation:
When ia < 0, the influence of the dead-time effect is illustrated in Figure 5.
Similarly, by analyzing the scenario where ia < 0, the conduction time error, denoted as Terr, can be derived as
According to the analysis in Reference [28], let the command phase voltage for phase a be and the actual value be uao. Considering the nonlinear effects shown in Figure 4a, the voltage error uaoerr within one period is calculated as
where Vce represents the voltage drop of the IGBT, and Vd represents the forward voltage drop of the freewheeling diode. The auxiliary variable Γ_j_ (j∈{a, b, c}) is a time quantity representing the equivalent conduction-time error of phase j caused by the dead time td, the device turn-on delay ton and turn-off delay toff. Here, t∈(0, Tpwm) denotes the time instant within one PWM period, and the piecewise definition of F_j_ depends on the current polarity ij and the sampling instant t within one PWM period. Sign(·) is the sign function, i.e., sign(i) = 1, if i > 0, and sign(i) = −1 if i < 0. Based on the aforementioned analysis, the voltage errors for phase b and phase c within a single period can be derived in a similar manner. The resulting three-phase error voltages are then transformed into the d-q reference frame to compensate for the voltage references udref and uqref in Equation (6).
Functioning as a software-based calibration for the virtual sensor, this strategy corrects voltage deviations to ensure high-fidelity inputs, effectively preventing error propagation in parameter estimation.
3.2. Processing Mechanism for Current Zero Crossing in Discrete Systems
The calculations for the compensation voltage described above are performed under continuous conditions and do not account for the discretization characteristics of the digital control system. Based on Equation (12), the simulation results of the compensation voltage under different sampling periods are shown in Figure 6. The system with a sampling period of 1 × 10^−7^ s is approximated as a continuous system, while the system with a sampling period of 1 × 10^−4^ s is regarded as the actual discrete control system. Taking the phase a and d-axis compensation voltages as examples, in the continuous system, the compensation voltage exhibits abrupt changes near the zero-current point. Therefore, as highlighted in the boxed regions of Figure 6, the finite sampling period of the digital control system makes it difficult for the discrete implementation to capture the fast current variations within one control period, and sampling errors near the zero-current point further increase the deviation of the calculated compensation voltage. In particular, during the zero-crossing commutation interval, the conduction path switches between the IGBT and the freewheeling diode, causing the compensation terms to change abruptly with current polarity and leaving residual compensation errors. To mitigate this effect, a current-amplitude gate ilim is introduced in the proposed scheme to reduce the influence of zero-crossing samples on online identification.
To mitigate the quantization errors inherent in discrete control systems near zero-crossing points, this paper proposes a robust data selection strategy. This strategy filters out low-confidence data segments where current polarity is ambiguous, ensuring that the FFRLS algorithm operates solely on high-quality excitation signals, thereby enhancing the overall robustness of the identification. Let the amplitude of the three-phase current be imax, which equals the L2 norm of the d-q axis currents. The period of the three-phase current is Tfun, which can be obtained from the electrical angular velocity ωe. Considering the limit case, the phase current waveform and the sampling period timing diagram can be represented as shown in Figure 7. From the figure, ilim can be derived as
When the current magnitude is small around the zero crossing, the measured polarity is easily affected by noise or quantization, which may corrupt the regressor and the FFRLS update. Therefore, the identification update is performed only when the absolute value of the phase current i_x_ (where x = a, b, c) satisfies |i_x_| ≥ ilim; otherwise, the update is skipped to improve robustness.
The overall system control block diagram is shown in Figure 8. The sampled three-phase currents iabc are input into the nonlinear compensation module to calculate the compensation voltage, accounting for time delays, dead-time effects, and voltage drops. The sampled three-phase currents and the compensation voltage undergo coordinate transformation to obtain the d-q axis currents and d-q axis compensation voltages. These are then input into the dual-sampling-based RLS parameter identification block, which utilizes the Zero-Order Hold (ZOH) discretization model. Ultimately, the online identification of the three parameters—resistance, inductance, and permanent magnet flux linkage—is achieved.
4. Experimental Results and Analysis
An experimental platform, illustrated in Figure 9, was established to validate the proposed virtual sensor strategy for online parameter identification. The test rig features a 2.5 kW PMSM with 4 pole pairs as the subject motor. The digital control system was implemented using a TMS320F28377D digital signal processor (DSP, Texas Instruments (TI), Dallas, TX, USA) and was equipped with a 17-bit absolute encoder (built-in, Guangzhou CNC Equipment Co., Ltd. (GSK), Guangzhou, China) to acquire high-precision rotor position and speed information. To simulate various operating conditions, the load system utilizes a second coaxially coupled PMSM, where torque loading is regulated through a general-purpose inverter.
The parameters of the PMSM used in the experiment are listed in Table 1. To obtain the true parameter values for algorithm evaluation, the stator resistance and inductance were measured multiple times using a high-precision LCR meter (UT622E, UNI-T, Dongguan, Guangdong, China), and the average values were reported. Specifically, the line-to-line inductance Lab(θ) was measured between terminals a and b, with terminal c left open while the rotor was slowly rotated. The measured results were averaged over rotor positions, and the stator phase inductance was calculated as L ≈ Lab/2. Since the subject motor is an PMSM where the magnetic circuit is isotropic Ld ≈ Lq, this measured value is adopted as the nominal d-q axis inductance listed in Table 1. The permanent magnet flux linkage parameter was calculated through the back-EMF amplitude and electrical angular velocity measured in a dragging no-load experiment.
As shown in Figure 10, the flowchart of the proposed online identification algorithm is presented. After initialization, in each control period, the system performs dual sampling to acquire the three-phase currents, DC-bus voltage, rotor electrical position, and electrical angular speed. Then, a decision is made on whether to perform the online parameter identification. When the absolute values of all phase currents are greater than the threshold imin the algorithm enter s the nonlinear inverter compensation stage to correct the voltage errors caused by dead time and device nonidealities. The compensated voltages are transformed into the d-q reference frame, and a ZOH-based online identification model is constructed using the dual-sample data. Finally, the parameters are identified online via the FFRLS recursion and the identified results are output. If the gating condition is not satisfied, the update is skipped in the current period, and dual sampling and the threshold check are repeated in the next control period.
To evaluate the computational burden, the proposed routine was implemented on a TMS320F28377D with a 200 MHz system clock, and the execution time was measured using the on-chip TMS320F28377D timer. The measured total execution time of the identification routine is approximately 53 μs. With a PWM frequency of 4 kHz, the corresponding control period is 250 μs, indicating that the proposed identification consumes about 21% of the available computation time per period. Therefore, sufficient computational margin remains for other control tasks, such as current and speed regulation, demonstrating the feasibility of the proposed strategy for real-time implementation.
4.1. Comparative Experiment of Identification Algorithms and Result Analysis
To evaluate the identification accuracy of the proposed method over a wide speed range, comparative experiments were conducted at two representative operating points. A medium–low-speed case of 500 r/min was selected, where the signal amplitude is relatively small and the identification performance is more sensitive to discretization and measurement noise; a typical high-speed case of 2000 r/min was chosen, where the back EMF becomes dominant and the rotor position varies rapidly, making discretization-related errors more evident. At both speeds, the proposed approach was compared with a conventional ZOH-based method and a baseline method without dual sampling.
First, under the medium-high speed condition of 2000 r/min and 4 N·m, three methods were employed for parameter identification to perform a comparative analysis: (1) the proposed method (ZOH + dual-sampling compensation); (2) the ZOH method without compensation; and (3) the forward Euler method based on dual-sampling compensation. During the identification process, the rank deficiency problem was resolved by injecting a sinusoidal current signal with an amplitude of 0.5 A and a frequency of 10 Hz into the d-axis combined with dual sampling. The injection amplitude of 0.5 A was selected based on the experimental study reported in Section 4.2. The injection frequency was set to 10 Hz because an overly low frequency leads to only slight variations in the coefficients of the identification matrix, which may not provide sufficient excitation and can result in rank deficiency. In contrast, an overly high frequency increases current ripple and torque disturbance and reduces the effective number of current samples within one control period, which may introduce waveform distortion. Therefore, 10 Hz was adopted as a compromise.
Figure 11 displays the parameter identification dynamic response and steady-state results under the load condition of 2000 r/min and 4 N·m. In Figure 11, dashed lines represent the offline calibrated true values, while solid lines represent the online identification results. Comparing the identification results of the two schemes reveals that when using the ZOH discretization identification without accounting for compensation, there are large deviations in the identification results. Specifically, the identified stator resistance value is 0.732 Ω, significantly higher than the true value; the inductance and flux linkage are 5.213 mH and 0.1378 Wb, respectively. When the proposed method is used for identification, the identification accuracy is significantly improved. The resistance converges to 0.675 Ω, the inductance to 5.278 mH, and the flux linkage to 0.1385 Wb. The experimental data indicate that under high-speed conditions, nonlinearities easily cause voltage distortion, thereby affecting identification accuracy.
To verify the influence of the discretization model itself on algorithm performance, under the same condition of 2000 r/min and 4 N·m, this paper compared the proposed method with the forward Euler discretization identification method based on dual-sampling compensation. The comparison results are shown in Figure 12. Experimental results demonstrate that although both methods introduce the nonlinear compensation mechanism, the forward Euler method is limited by its discretization accuracy, resulting in significant deviations in identification results: the estimated resistance is 0.912 Ω, and the inductance and flux linkage are 6.498 mH and 0.1261 Wb, respectively, severely deviating from the true values. In contrast, the ZOH discretization strategy adopted in this paper can more accurately describe the discrete characteristics of the system, ensuring that parameters converge near the true values.
Table 2 summarizes the relative error data for the three schemes under the condition of 2000 r/min and 4 N·m. The relative errors of resistance are generally large for all methods; specifically, the error of the proposed method is 5.47%, while that of the forward Euler method reaches 42.50%. This is mainly because the baseline stator resistance of the tested motor is only 0.64 Ω, making the algorithm extremely sensitive to measurement noise and system disturbances, where a small absolute deviation causes a large relative percentage error. Conversely, the identification accuracy of the flux linkage parameter is generally high, with errors controlled within 3%. This is attributed to the back EMF dominating the voltage equation in the medium-high speed operation region; as the speed increases, the signal-to-noise ratio for flux linkage observation significantly enhances.
To verify the applicability and identification accuracy of the proposed method in the medium–low-speed range, experiments were conducted at 500 r/min with a 4 N·m load under low-speed conditions, and the identification performance of different strategies was compared. The identification results are shown in Figure 13. The data indicate that when the proposed method is used, the parameter identification results are highly stable, with resistance converging to 0.673 Ω, and inductance and flux linkage converging to 5.561 mH and 0.1387 Wb, respectively, all extremely close to the offline calibrated values. In contrast, the ZOH method without nonlinear compensation yields a resistance of 0.713 Ω, an inductance of 5.363 mH, and a flux linkage of 0.1381 Wb. Although it converges, a certain degree of systematic bias remains. Comparing these results with the experimental data at 2000 r/min in Figure 11, it is observed that the identification accuracy of both methods improves slightly at 500 r/min. This is primarily because, under low-speed conditions, the ratio of the sampling frequency to the fundamental frequency increases significantly, thereby reducing approximation errors during the discretization process.
At 500 r/min under 4 N·m load conditions, the comparison results between the proposed method and the identification method based on forward Euler discretization with dual-sampling compensation are shown in Figure 14. The identification results of the proposed method are consistent with those described above. However, the resistance identified by the forward Euler method with dual-sampling compensation is 0.528 Ω, the inductance is 4.375 mH, and the flux linkage is 0.1541 Wb. In contrast, the proposed method utilizes a high-precision ZOH discrete model, effectively reducing discretization errors and achieving precise identification of motor parameters.
The identification errors of the above three methods at 500 r/min and 4 N·m are summarized in Table 3. The error distribution reveals that, when comparing the two ZOH schemes, the resistance identification error decreases significantly from 11.41% to 5.16% after adopting the dual-sampling compensation strategy. This directly proves the necessity of dual-sampling compensation for improving identification accuracy in the low-speed region. Furthermore, a lateral comparison of different discretization methods demonstrates that the ZOH model used in this paper is comprehensively superior to the forward Euler method in terms of accuracy. In particular, the inductance error is optimized from as high as −20.45% to 1.11%, fully verifying the significant advantage of the proposed discretization model in enhancing modeling precision.
Synthesizing the experimental results from both the 2000 r/min and 500 r/min conditions, the proposed method exhibits superior identification performance at these representative operating points. By introducing accurate discrete modeling based on ZOH and a voltage compensation strategy based on dual sampling, this method not only ensures the correctness of the theoretical model but also effectively mitigates nonlinear disturbances from the hardware.
4.2. Analysis of the Influence of Different Operating Conditions on Identification Accuracy
To comprehensively evaluate the adaptability and robustness of the proposed parameter identification method under complex operating conditions, this paper further conducted multiple sets of variable conditions. The effects of different motor speeds, load torques, and d-axis injected current amplitudes on the identification accuracy of the proposed method were comparatively analyzed.
First, under a fixed load of 3 N·m and d-axis current injection of 0.5 A, the identification performance was tested during the process of increasing motor speed from 500 r/min to 3000 r/min. The results are summarized in Table 4 and Figure 15.
Experimental data show that as the speed increases, the identification errors of various parameters exhibit different trends. Both resistance and inductance identification errors show an upward trend with increasing speed. At the high-speed point of 3000 r/min, the resistance error reaches a maximum of 9.68%, and the inductance error is 5.74%. The main reason for this phenomenon is that at high speeds, the back-EMF term dominates the terminal voltage, causing the weights of the resistive voltage drop Ri_dq_ and the inductive induced voltage Ldi/dt in the total voltage equation to decrease significantly. Consequently, the observability of these two parameters decreases, leading to a reduction in the identification accuracy of the algorithm. Unlike the former, the identification error of the flux linkage parameter remains below 5% across the entire speed range, with a minimum of only −2.04%. This benefits from the significant increase in back-EMF amplitude at high speeds, which greatly improves the signal-to-noise ratio of the flux linkage information, thereby verifying that the proposed method possesses strong robustness for flux linkage identification over a wide speed regulation range.
To verify the influence of different load torques on identification accuracy, the identification results were tested under the condition of a constant motor speed of 1500 r/min, with the load torque varying from no-load (0 N·m) to full load (5 N·m). The data are summarized in Table 5 and Figure 16.
Through analysis, it is found that when the load varies within the range of 0–5 N·m, the overall fluctuation of parameter identification errors is small, indicating that the proposed method has good adaptability to different load conditions. However, increasing the load still has a positive impact on identification accuracy: the resistance error decreases from 8.59% at no-load to 4.84% at full load, and the inductance error also decreases from −8.10% to −3.12%. This is because the increase in load torque directly leads to an increase in the amplitude of the motor stator current. According to the motor voltage equation, the increase in current significantly strengthens the resistive voltage drop and the inductive induced voltage, thereby improving the accuracy of parameter identification.
To further validate the robustness of the proposed identification method under varying operating conditions, a load torque step experiment is conducted while keeping the speed reference unchanged. At 1500 r/min, when the load torque steps from 2 N·m to 5 N·m, the post transient estimates converge to R = 0.669 Ω, L = 5.338 mH, and ψ = 0.1380 Wb. Relative to the nominal values, the corresponding errors are approximately 4.53%, 2.95%, and 2.82%, indicating that the identification accuracy remains at a low error level. Moreover, the steady-state estimates under this step condition are consistent with those obtained in the steady-load tests. This is because, although the load step causes an abrupt operating point change and thus alters the regressor data sequence, the identification regressor matrix preserves the same rank property as in the injection stage and remains full rank due to the within-period injected excitation, thereby ensuring the identifiability and convergence of the parameter estimates. Consequently, the torque step only induces a brief adjustment in the parameter estimates, after which they stably converge to the same steady level as that in the steady-load tests.
Finally, the influence of the amplitude of the d-axis injection signal on identification performance is analyzed. Under the condition of 1500 r/min, with a fixed injection frequency of 10 Hz, the amplitude of the injected current is gradually increased from 0.5 A to 3 A. The identification results and error distribution are shown in Table 6 and Figure 17.
Through comparative analysis, it is found that by applying an injection signal of only 0.5 A, the system can obtain sufficient persistent excitation to ensure the stable convergence of inductance and flux linkage parameters, with errors controlled within −4.78% and −3.38%, respectively. This strongly proves the effectiveness of the proposed strategy: a weak injection signal combined with the dual-sampling strategy is sufficient to solve the steady-state rank deficiency problem without introducing large-amplitude system disturbances. As the injection amplitude increases, the improvement in the identification accuracy of inductance and flux linkage is limited and exhibits a saturation characteristic. In contrast, the resistance identification error is more sensitive to this change, significantly decreasing from 6.40% to 3.28%. Although a larger current can slightly improve resistance accuracy, the associated risks of additional copper loss and torque ripple cannot be ignored. Therefore, this paper ultimately selects 0.5 A as the optimal injection amplitude, thereby achieving the best trade-off between identification performance and smooth motor operation.
It is noted that temperature variation mainly affects the stator resistance Rs and the PM flux linkage ψf. Since each identification test in this paper is of relatively short duration, the temperature change during a single test is limited. Because the proposed scheme estimates Rs and ψf online, temperature-induced drift would appear as slow changes in the identified parameters; a systematic evaluation under wider temperature variations will be considered in future work.
Synthesizing the above comparative experiments regarding different speeds, load torques, and injection current amplitudes, the parameter identification method proposed in this paper demonstrates excellent identification accuracy and strong robustness under various operating conditions. Experimental results indicate that this method not only maintains high parameter identification accuracy within a wide speed regulation range and the full load region, effectively overcoming model mismatch and inverter nonlinear disturbances, but also requires only a weak injection signal to satisfy the full-rank excitation condition. This minimizes the disturbance to the system while ensuring identification accuracy, thereby achieving the optimal balance between identification precision and operational stability. The aforementioned experimental results strongly verify that this strategy is capable of adapting to complex and changing practical application scenarios, providing reliable parameter support for high-performance permanent magnet synchronous motor control systems.
5. Conclusions
This paper proposes a multi-parameter online identification method for permanent magnet synchronous motors (PMSMs) based on a Zero-Order Hold (ZOH) discrete model, functioning as a high-fidelity virtual sensor. By integrating precise discrete modeling, a dual-sampling strategy, and nonlinear voltage compensation, the system systematically improves its sensing performance. The following conclusions are drawn:
- A high-precision discrete model accounting for rotor position variations is established based on the ZOH method, serving as the mathematical core of the virtual sensor. Compared with traditional approaches, this model effectively minimizes discretization errors, particularly in medium-to-high speed regions.
- A robust identification strategy combining d-axis signal injection and dual sampling is implemented. This solution effectively resolves the rank deficiency problem of the identification matrix, ensuring the observability of electromagnetic parameters for stable real-time monitoring.
- A nonlinear voltage compensation scheme is proposed as a software-based calibration mechanism. By correcting inverter distortions, it significantly enhances sensing accuracy and ensures robust parameter identification across the entire speed range.
In addition, several directions are worth further investigation. Future work will extend the proposed identification algorithm to IPMSMs and saturation conditions, where the inductances vary with current and operating point. Moreover, since the present nonlinear compensation may still suffer from unmodeled dynamics and parameter drift, improving its accuracy and adaptability will be pursued. In addition, the thermal dependence of the PM flux linkage will be systematically evaluated under wider temperature variations, and temperature-aware modeling and compensation will be explored by referring to Refs. [3,4]. Finally, the identification strategy will be integrated with higher-performance control schemes to enable online self-tuning of the control-loop parameters.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ballestín-Bernad V. Kulan M.C. Baker N.J. Domínguez-Navarro J.A. Power Analysis in an SMC-Based Aerospace Transverse Flux Generator for Different Load and Speed Conditions IEEE Trans. Transp. Electrif.2025115700570810.1109/TTE.2024.3488899 · doi ↗
- 2Agoro S. Husain I. Robust Deadbeat Finite-Set Predictive Current Control with Torque Oscillation and Noise Reduction for PMSM Drives IEEE Trans. Ind. Appl.20225836537410.1109/TIA.2021.3130022 · doi ↗
- 3Feng G. Lai C. Kar N.C. Particle-Filter-Based Magnet Flux Linkage Estimation for PMSM Magnet Condition Monitoring Using Harmonics in Machine Speed IEEE Trans. Ind. Inform.2017131280129010.1109/TII.2016.2616331 · doi ↗
- 4Yang C. Song B. Jatskevich J. Zhang H. Lee C.H.T. Normal-Operation-Undisturbed Magnet Flux Linkage Monitoring in PMSM Drives via a Mechanical-Model-Based Dual Time-Scale Approach IEEE Trans. Ind. Inform.2024206266627910.1109/TII.2023.3345471 · doi ↗
- 5Zuo Y. Mei J. Zhang X. Lee C.H.T. Simultaneous Identification of Multiple Mechanical Parameters in a Servo Drive System Using Only One Speed IEEE Trans. Power Electron.20213671672610.1109/TPEL.2020.3000656 · doi ↗
- 6Zhang J. Peng F. Huang Y. Yao Y. Discrete-Time-Model-Based Dynamic Decoupling Active Damping Current Control for CSI-Fed High-Speed PMSM with Low Carrier Ratio IEEE Trans. Power Electron.2024396783680210.1109/TPEL.2024.3372198 · doi ↗
- 7Feng G. Lai C. Kar N.C. A Novel Current Injection-Based Online Parameter Estimation Method for PMS Ms Considering Magnetic Saturation IEEE Trans. Magn.2016521410.1109/TMAG.2016.2525805 · doi ↗
- 8Jarzebowicz L. Errors of a Linear Current Approximation in High-Speed PMSM Drives IEEE Trans. Power Electron.2017328254825710.1109/TPEL.2017.2694450 · doi ↗
