A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection
Anran Song, Zilong Feng, Bo Huang, Bowen Ning

TL;DR
This paper introduces a new sensorless control method for permanent magnet synchronous motors that reduces speed and torque fluctuations using a high-frequency signal and a specialized controller.
Contribution
A novel harmonic suppression strategy using a sixth-order QPR controller to improve sensorless control of PMSM.
Findings
The proposed method significantly reduces stator current distortion and torque/ speed ripples.
The sixth-order QPR controller effectively suppresses fifth and seventh harmonic disturbances.
Simulation results confirm improved rotor position estimation accuracy.
Abstract
What are the main findings? A sensorless control strategy for permanent magnet synchronous motors (PMSM) based on high-frequency square-wave injection with multi-coordinate transformation voltage harmonic suppression using a sixth-order quasi-proportional resonant (QPR) controller is proposed, which exhibits superior harmonic interference rejection performance and significantly reduced speed and torque fluctuations.The multi-coordinate transformation architecture can effectively extract the AC components of stator current harmonics by converting them into DC components. A sensorless control strategy for permanent magnet synchronous motors (PMSM) based on high-frequency square-wave injection with multi-coordinate transformation voltage harmonic suppression using a sixth-order quasi-proportional resonant (QPR) controller is proposed, which exhibits superior harmonic interference…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
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 14Peer 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 · Wind Turbine Control Systems · Machine Fault Diagnosis Techniques
1. Introduction
In recent years, interior permanent magnet synchronous motors (IPMSM) have garnered significant attention from researchers due to their high efficiency, high power factor, and excellent dynamic performance [1,2]. To reduce costs and enhance system fault tolerance, sensorless control has become a research focus and has been applied in fields such as electric vehicles and air-conditioning compressors [3,4].
Sensorless control techniques for IPMSM are primarily categorized into zero-to-low speed and medium-to-high speed regimes [5]. In the zero-to-low speed regime, the low signal-to-noise ratio of back electromotive force (EMF) necessitates the injection of high-frequency (HF) voltage signals to induce HF currents containing rotor position information. The rotor position angle is subsequently extracted through position demodulation for feedback. Based on the type of injected signal, these techniques can be divided into rotating sinusoidal HF injection [6,7,8,9], pulsating sinusoidal HF injection [10,11,12], and pulsating square-wave HF injection [13,14,15,16,17].
Rotating sinusoidal and pulsating sinusoidal HF injection methods inject HF voltage signals into the stationary or rotating reference frame. Typically, a high-pass filter (HPF) is used to extract the HF induced current, followed by a low-pass filter (LPF) to mitigate the impact of residual HF components on the extracted position information. However, the use of filters introduces phase delays, which degrade the performance of the current control loop [18]. In contrast, the pulsating square-wave HF injection method allows the injection frequency to be set to one-quarter of the sampling frequency or as high as the pulse width modulation (PWM) carrier frequency, eliminating the need for HPF and LPF.
In the pulsating square-wave injection strategy, high injection frequencies, inverter nonlinearities, slot effects, and magnetic saturation can lead to current harmonics, which affect the stability and estimation accuracy of the strategy. Therefore, suppressing stator current harmonics is essential. Reference [19] provides a detailed analysis of the impact of inverter nonlinearities on injected voltage, induced current, and position estimation errors, proposing a method to mitigate these effects by adjusting the HF current ripple. In the medium-to-high speed regime, the back-EMF signal containing rotor position information in sliding mode observers is affected by direct current (DC)-link voltage fluctuations, introducing harmonics that distort rotor position estimation. In [20], from the perspective that the back electromotive force signal containing rotor position information in the sliding mode observer for the medium-high speed region is affected by voltage fluctuations of the DC-link, thereby introducing harmonics that cause distortion in rotor position error, the harmonics introduced by the DC-link are effectively suppressed by using a complex band-pass filter instead of a traditional LPF. Similarly, Reference [21] uses a BRLS adaptive filter to suppress the fifth and seventh voltage harmonics in the back-EMF. Reference [22] proposes a voltage harmonic suppression strategy based on adaptive synchronous rotating frame transformation, injecting voltage compensation into the driver to suppress current harmonics in the corresponding reference frame. While these methods achieve some success in suppressing current harmonics, they face two main issues: one is their applicability primarily to sensorless methods based on back-EMF for rotor position estimation, and the other is the failure to account for additional alternating current (AC) harmonic components introduced by the fundamental wave in harmonic voltage compensation.
To reduce high-order stator current harmonics, this paper proposes a harmonic extraction and voltage compensation strategy for IPMSM with pulsating square-wave high-frequency injection, based on sixth-order QPR control. By transforming the rotating coordinate system to the fifth and seventh rotating reference frames, the corresponding harmonic currents are extracted using a low-pass filter. Harmonic voltages are then compensated, and a proportional resonant controller is employed to suppress the additional harmonics introduced.
2. Rotor Position Extraction Based on High-Frequency Square-Wave Voltage Injection
2.1. Square-Wave Injection Position Estimation Without Filter
The voltage mathematical model of an interior permanent magnet synchronous motor in the rotating coordinate system is
where is the differential operator, and are the stator inductances, and are the stator currents and voltages, is the stator resistance, is the electrical angular velocity, is the permanent magnet flux linkage.
The traditional high-frequency square-wave voltage signal injection strategy injects a square-wave voltage proportional to the PWM period into the -axis of the rotating coordinate system to excite the HF response current containing rotor position information, and obtains effective rotor position information through subsequent signal processing and position observer steps.
The high-frequency square-wave signal with amplitude injected into the -axis of the estimated coordinate system can be expressed as
where and represent the HF voltage components injected in the estimated rotating coordinate system, the superscript and subscript represent the estimated coordinate system and HF injection quantity, represents the sampling number.
When the motor operates in the zero-low-speed range, the fundamental frequency component generated by the permanent magnet flux linkage is much smaller than the injected HF component. Thus, the terms related to the stator impedance and fundamental frequency can be ignored, and Equation (1) can be simplified as
where , , , and are the HF current and voltage components in the -axis.
The extraction of rotor position requires obtaining the HF response current in the stationary axis system, which can be obtained through rotor position coordinate transformation
where and are the HF currents in the -axis system, is the coordinate transformation matrix, is the estimated rotor position error.
By further deriving from Equation (4), the differential of the HF response current in the -axis system, after simplification, yields the HF current variation over two consecutive periods
where is the injected HF square-wave signal period, is the average inductance, is the half-difference inductance.
2.2. Rotor Position Signal Extraction
The envelope of the HF current variation in the stationary -axis is extracted using the sign function of the injected square-wave voltage as follows
The HF current in the estimated -axis is normalized to process the two envelope functions, as illustrated in Figure 1. Subsequently, the phase-locked loop method of summing sine and cosine functions is used to demodulate the position error signal, then
where and are the normalized envelope functions.
Therefore, the transfer function of the proportional-integral (PI) phase-locked loop structure as the position observer can be expressed as
where , , is the desired bandwidth of the phase-locked loop, is the damping ratio.
3. Analysis of Predictive Current Harmonic Suppression Based on Multiple Coordinate Systems
3.1. Stator Current Harmonic Analysis
Typically, the IPMSM stator employs a three-phase winding configuration, distributed with a 120° phase difference. It does not contain 3rd, 9th, 15th, etc., or even-order stator current harmonics. Due to the nonlinear characteristics of the inverter, motor slot effects, and other factors, a large number of low-order current harmonics are generated, causing current distortion and thereby increasing torque and speed pulsations. Among them, the 5th and 7th stator current harmonics are dominant. Thus, the three-phase winding stator currents can be expressed as
where , , and are the amplitudes of the fundamental, 5th, and 7th current harmonics; , , and are the initial phases of the fundamental, 5th, and 7th current harmonics; and and are the angular frequencies of the 5th and 7th harmonics, respectively.
Since the injected HF voltage signal introduces an HF current component into the fundamental current waveform, and considering the periodicity of the square-wave injection along with its frequency being significantly higher than the fundamental frequency, the fundamental component can be approximated algebraically. Accordingly, the fundamental signal containing harmonics is processed by
Thus, the current equation in the estimated -axis containing the 5th and 7th stator current harmonics is obtained
After transformation to the estimated -axis, the angular frequencies of the 5th and 7th stator current harmonics become and , respectively.
From Equation (11) combined with Equation (1), the estimated -axis voltage error model containing the 5th and 7th stator current harmonics is obtained
where and are the error voltages in the estimated -axis system with the fundamental current component removed.
3.2. Current Harmonic Extraction
The current harmonic extraction strategy is shown in Figure 2. To convert the harmonic AC components in the estimated -axis to DC components for extraction and subsequent voltage compensation, the currents in the estimated -axis are transformed to the 5th and 7th -axis systems, respectively. The relationships between different order rotating coordinate systems are shown in Figure 3. The transformation matrices for the 5th and 7th axis systems are as follows
where and are the coordinate transformation matrices, respectively.
By transforming through Equations (13) and (14) to the 5th and 7th -axis systems, the following harmonic currents can be obtained
where and are the -and -axis currents in the 5th -axis system, and and are the -and -axis currents in the 7th -axis system.
After coordinate transformation, the AC components corresponding to the 5th and 7th harmonics are converted to DC components in the corresponding 5th and 7th -axis systems, while the fundamental and non-corresponding order harmonics become AC components with corresponding angular velocities of and , respectively. An LPF is used to filter out the HF AC components, obtaining the harmonic DC components in the corresponding axis systems for subsequent voltage transformation and harmonic compensation operations.
The corresponding currents in the 5th and 7th -axis systems after low-pass filtering are as follows
where and are the DC components in the 5th -axis system, and and are the DC components in the 7th -axis system.
3.3. Voltage Compensation Based on Multi-Coordinate System Current Harmonic Extraction
To compensate for the extracted harmonic currents of the two orders, the currents in the estimated -axis system are transformed to the 5th and 7th -axis systems. To simplify the analysis, only the 5th harmonic voltage compensation is taken as an example below; the 7th harmonic compensation follows similarly. The error voltage equation in the 5th -axis system can be obtained by processing the voltage error equation in the estimated -axis system, as follows
where and are the error voltages in the 5th -axis system.
According to Equation (19), by eliminating the and terms of the 5th order error harmonic voltage, the harmonic voltage compensation equation can be constructed as
The voltage compensation section block diagram is shown in Figure 2. The estimated -axis currents with the HF response current removed are transformed to the corresponding order -axis systems via multi-coordinate system transformation matrix. These currents are then filtered through an LPF to eliminate other order AC HF components while retaining the corresponding order DC components. The extracted harmonic DC components are converted to voltages using the constructed harmonic voltage compensation strategy. Finally, they are inversely transformed back to the estimated -axis system via multi-coordinate system inverse transformation, and then -axis voltage compensation is performed.
4. Multi-Coordinate-System Predictive Current Harmonic Voltage Compensation Strategy Based on Sixth-Order Quasi-Proportional Resonant Control
4.1. Current Loop Control Based on Sixth-Order Quasi-Proportional Resonant Control
The fifth-order stator current harmonic is taken as an example to analyze the harmonic suppression mechanism during the processes of harmonic current extraction and voltage compensation. During the extraction of fifth- and seventh-order current harmonics, a first-order LPF is typically employed. To ensure a broad speed regulation range and mitigate the delay introduced by the LPF, its cutoff frequency is not set excessively low. As the fundamental component constitutes a significantly larger proportion than other AC harmonics and operates at a lower frequency than the 7th harmonic component , the extracted current harmonics containing the fundamental AC component can be expressed as
Equation (21) reveals that the AC components introduced into the fifth-order -axis are and . By analysing these two terms alone, the voltage fluctuations introduced in the subsequent voltage compensation strategy are shown in Equation (22)
It can be observed that the voltage fluctuations induced by the fundamental component contain a sixth-order current harmonic with angular velocity . Subsequently, converting and to the estimated -axis system reveals that the sixth-order current harmonic persists even after voltage compensation, manifesting as a seventh-order stator current harmonic . To further suppress the 5th and 7th stator current harmonics, a control scheme employing a QPR controller in parallel with the current loop PI controller was adopted. The QPR controller suppresses the 5th and 7th stator current harmonics, while the PI controller continues to serve as the closed-loop control for the current inner loop. The resonance frequency of the QPR controller is set to .The block diagram of the current loop transfer function based on the sixth-order QPR controller is shown in Figure 4.
Based on the current loop transfer function block diagram, setting to 1 and merging the delay section with the inverter section, the open-loop transfer function of the current loop is expressed as follows
where represents the transfer function of the 6th-order QPR controller, denotes the inverter gain, and denotes the open-loop period. Here, denotes the delay introduced by sampling and computation.
4.2. Parameter Tuning Analysis of the Quasi-Proportional Resonant Controller
The current-loop transfer function block diagram in Figure 4 clearly demonstrates that the design of the sixth-order QPR controller primarily depends on , , and . Consequently, parameter design for the proportional resonance controller is particularly crucial. By analysing the Bode plot through variable control methods, the values for the sixth-order QPR controller parameters in this study were determined. Given a speed of 200r/min then rad/s.
When the parameter is set to 1, 5, and 8, respectively, as shown in Figure 5a, the resonance peak at the resonant frequency is increased, thereby effectively suppressing the 6th-order current harmonic. Consequently, the parameter cannot be eliminated. However, increasing its value does not significantly enhance harmonic suppression, so should not be set excessively high.
As shown in Figure 5b,c, the corresponding Bode plots for parameters and are depicted. When the value of parameter increases, the resonance peak at the frequency suppression point rises significantly, thereby reducing steady-state error. Parameter primarily influences the bandwidth at the resonance frequency; if too small, it cannot adequately suppress harmonics under varying rotational speeds. After comprehensive consideration, the values selected for this study are: = 5, = 400, and = 15.
5. Simulation Results and Analysis
The block diagram of the proposed sensorless control strategy for harmonic current extraction and voltage compensation based on the sixth-order QPR controller is shown in Figure 6. To validate the effectiveness of the proposed harmonic suppression strategy for square-wave injection sensorless control, as well as its improvement in torque and speed fluctuation, simulation experiments were conducted in MATLAB/Simulink. The parameters of the IPMSM are listed in Table 1. The simulation adopts the maximum torque per ampere (MTPA) control method to effectively improve the inverter’s efficiency. The dead-time is set to 5 μs, the injected signal frequency is 5 kHz, and the amplitude is 40 V.
Figure 7 illustrates the HF response current waveform and the normalized orthogonal signal extracted under the proposed harmonic suppression strategy based on the sixth-order QPR controller for HFSWI in a permanent magnet synchronous motor (PMSM) sensorless control, at a given speed (100 r/min) and load (5 N·m) condition. The HF response current containing rotor position information is extracted directly, without requiring an HPF, as shown in Figure 7a. Additionally, the normalized orthogonal signal in Figure 7b is relatively smooth, facilitating subsequent signal processing.
The traditional HFSWI strategy is compared with the proposed harmonic suppression method based on the sixth-order QPR controller, as shown in Figure 8 and Figure 9, respectively. As shown in Figure 8a and Figure 9a, the phase current distortion with the proposed method is considerably lower than that with the conventional method, resulting in reduced harmonic current content. Comparing Figure 8b,c with Figure 9b,c, the DC components of the harmonic currents in the respective coordinate systems, and , are approximately 0.2 A and −0.15 A for the traditional strategy, and approximately 0.1 A and −0.05 A for the proposed strategy; similarly, and are approximately 0.25 A and −0.15 A for the traditional strategy, and approximately 0.1 A and −0.05 A for the proposed strategy. This indicates a reduction and stabilization in the DC components of the harmonic currents in each coordinate system. Through Fast Fourier Transform (FFT) and quantitative analysis of the fifth- and seventh-order stator current harmonics relative to the fundamental wave, with the horizontal axis representing harmonic order and the vertical axis representing the percentage of the fundamental wave, it can be seen from Figure 8d and Figure 9d that the proposed strategy reduces the fifth-order harmonic component by 2.2143% and the seventh-order harmonic component by 1.243%, with a total harmonic distortion (THD) reduction of 2.25%. This validates the effectiveness of the proposed strategy in suppressing fifth- and seventh-order stator current harmonics, effectively reducing these harmonics and enhancing the overall system stability.
Further verification is conducted on the harmonic suppression effectiveness of the proposed strategy at lower speeds and under different load conditions, as well as the resulting phase current distortion, as shown in Figure 10 and Figure 11. With the improved strategy, and decrease by 0.1 A and 0.05 A, respectively, whereas and increase by 0.05 A and 0.05 A respectively. The percentage contents of the fifth- and seventh-order harmonics are reduced by 2.5521% and 0.9969%, respectively. These results effectively validate the superiority of the proposed harmonic suppression strategy under various operating conditions.
Subsequently, the fluctuations in speed and torque under the conditions of a given speed (100 r/min) and load torque (5 N·m) are analysed for both the conventional method and the proposed strategy, as shown in Figure 12. Comparing the actual speed fluctuations and torque fluctuations, respectively, the maximum speed fluctuation of the proposed strategy decreased by 3.2 r/min compared to the conventional strategy, while the minimum value increased by 2.1 r/min. Torque fluctuations were reduced overall by 0.8 N·m compared to the conventional strategy. This effectively demonstrates that attenuating the 5th and 7th stator current harmonics yields significant improvements in speed and torque fluctuations, achieving higher speed and torque control accuracy.
As illustrated in Figure 13, the rotor position error waveform under a load torque of 5 N·m and a reference speed of 60 r/min exhibits positive and negative deviations within 0.06 rad. This confirms that the proposed strategy achieves high rotor position estimation accuracy.
6. Conclusions
This paper proposes a harmonic extraction and voltage compensation method based on a sixth-order proportional resonant controller for the sensorless control system of HFSWI in IPMSM. The method performs mathematical analysis on the introduced fundamental AC component and suppresses it using a proportional resonant controller, effectively reducing the content of fifth- and seventh-order stator current harmonics in the fundamental wave. The open-loop transfer function of the current loop is analyzed using Bode plots to determine the control parameters of the sixth-order proportional resonant controller. Simulation experiments conducted in MATLAB/Simulink, through comparisons of phase currents, harmonic currents, and FFT analysis, demonstrate that the proposed strategy achieves effective harmonic suppression, enhancing system stability. Finally, comparisons of actual speed and torque between the traditional method and the proposed strategy show that the proposed harmonic suppression strategy effectively reduces speed fluctuations and torque ripples.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Yan H. Wang W. Xu Y. Zou J. Position Sensorless Control for PMSM Drives with Single Current Sensor IEEE Trans. Ind. Electron.20237017818810.1109/TIE.2022.3148748 · doi ↗
- 2Zuo Y. Lai C. Galkina A. Großbichler M. Iyer L.V. Adaptive Current Observer Design for Single Current Sensor Control in PMSM Drives IEEE Trans. Transp. Electrif.2024106928693910.1109/TTE.2023.3343378 · doi ↗
- 3Volpato Filho C.J. Fang G. Scalcon F.P. Vieira R.P. Nahid-Mobarakeh B. Study on QEMF Model and Adaptive Full-Order Observer Design for Universal Sensorless Control of IPMS Ms IEEE Trans. Transp. Electrif.2024101335134610.1109/TTE.2023.3276953 · doi ↗
- 4Yoo J. Kim H.-S. Sul S.-K. MTPA Tracking Control of Sensorless IPMSM Based on Square-Wave Voltage Signal Injection IEEE Trans. Power Electron.202237125251253710.1109/TPEL.2022.3179241 · doi ↗
- 5Zhou S. Zhang Z. Li H. Li Z. Xing Q. Liu X. Wang F. Rodriguez J. A Robust Encoderless Control for PMSM Drives: A Revised Hybrid Active Flux-Based Technique IEEE Trans. Power Electron.202338144381444910.1109/TPEL.2023.3307447 · doi ↗
- 6Kim M.-W. Lee J. Biswas M. Park J.-W. New Acoustic Noise Reduction Method for Signal-Injection-Based IPMSM Sensorless Drive IEEE Trans. Power Electron.2023383180319010.1109/TPEL.2022.3226205 · doi ↗
- 7Lu J. Hu Y. Zhang X. Wang Z. Liu J. Gan C. High-Frequency Voltage Injection Sensorless Control Technique for IPMS Ms Fed by a Three-Phase Four-Switch Inverter With a Single Current Sensor IEEE ASME Trans. Mechatron.20182375876810.1109/TMECH.2018.2803772 · doi ↗
- 8Xu Z. Zhang J. Xiong J. Wu Y. Cheng M. An Improved High-Frequency Voltage Injection Method for Interturn Short-Circuit Fault Detection in PMS Ms IEEE Trans. Transp. Electrif.202393228323910.1109/TTE.2022.3225686 · doi ↗
