Previous Article in Journal
Dual-Band, Dual-Mode, Circularly Polarized Fully Woven Textile Antenna for Simultaneous Wireless Information and Power Transfer in Wearable Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection

1
School of Mechanical and Electrical Engineering, Suqian University, Suqian 223800, China
2
Jiangsu Engineering Research Center of Key Technology for Intelligent Manufacturing Equipment, Suqian 223800, China
3
Engineering Research Center for Metallurgical Automation and Measurement Technology of Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(1), 28; https://doi.org/10.3390/s26010028 (registering DOI)
Submission received: 4 November 2025 / Revised: 13 December 2025 / Accepted: 17 December 2025 / Published: 19 December 2025
(This article belongs to the Section Industrial Sensors)

Highlights

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.
What are the implications of the main findings?
  • The establishment of the voltage compensation mathematical model facilitates the compensation of harmonic currents and enables real-time tracking of harmonic components.
  • A sixth-order quasi-proportional resonant (QPR) controller, operating in parallel with the proportional-integral (PI) controller, can further suppress additional harmonics of the relevant order introduced during the compensation process.

Abstract

To address the torque ripple and speed fluctuation issues in high-frequency square-wave injection-based sensorless control of interior permanent magnet synchronous motors (IPMSM) caused by low-order stator current harmonics (primarily the fifth and seventh), this paper proposes a harmonic voltage compensation strategy based on a sixth-order quasi-proportional resonant (QPR) controller, which effectively suppresses these specific harmonic disturbances. The proposed method, building upon conventional high-frequency square-wave injection, introduces a harmonic current extraction technique based on multiple synchronous reference frame transformations to separate the fifth and seventh harmonic components accurately; then, according to the established harmonic voltage compensation equation, generates targeted compensation voltage commands; finally, further precisely suppresses the corresponding harmonic currents through a sixth-order QPR controller connected in parallel with the current proportional-integral (PI) controller. This paper comprehensively establishes the mathematical models for harmonic extraction and voltage compensation, and conducts a detailed analysis of the parameter design of the sixth-order QPR controller. Simulation results demonstrate that the proposed strategy can significantly suppress stator current distortion, effectively reduce torque and speed ripples, and substantially improve rotor position estimation accuracy, thereby verifying the superiority of the novel harmonic-suppression-based sensorless control strategy.

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
u d u q = R s + p L d ω e L q ω e L d R s + p L q i d i q + 0 ω e ψ f
where p is the differential operator, L d and L q are the stator inductances, i d and i q are the stator currents and voltages, R s is the stator resistance, ω e is the electrical angular velocity, ψ f 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 d -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 U h _ i n injected into the d -axis of the estimated coordinate system can be expressed as
u d _ h j ^ u q _ h j ^ = ( 1 ) n U h _ i n 0
where u d _ h j ^ and u q _ h j ^ represent the HF voltage components injected in the estimated rotating coordinate system, the superscript j ^ and subscript h represent the estimated coordinate system and HF injection quantity, n 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
p i d _ h i q _ h = 1 L d 0 0 1 L q u d _ h u q _ h
where i d _ h , i q _ h , u d _ h , and u q _ h are the HF current and voltage components in the d q -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
p i α _ h i β _ h = T ( θ e ) 1 L d 0 0 1 L q T 1 ( θ ˜ e ) u d _ h j ^ u q _ h j ^
where i α _ h and i β _ h are the HF currents in the α β -axis system, T is the coordinate transformation matrix, θ ˜ e = θ ^ e θ e 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
Δ i α _ h Δ i β _ h = u d _ h j ^ T h L d L q L cos θ ^ e Δ L cos ( θ e + θ ˜ e ) L sin ( θ ^ e ) Δ L sin ( θ e + θ ˜ e )
where T h is the injected HF square-wave signal period, L = ( L d + L q ) / 2 is the average inductance, Δ L = ( L d L q ) / 2 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
i α _ h c i β _ h c = s i g n ( u d _ h j ^ ) T h u d _ h j ^ L d L q L cos θ ^ e Δ L cos ( θ e + θ ˜ e ) L sin θ ^ e Δ L sin ( θ e + θ ˜ e )
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
i α _ h c sin θ ^ e i β _ h c cos θ ^ e = sin ( θ ^ e θ e ) θ ˜ e
where i α _ h c and i β _ h c 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
θ ^ e θ e = k p _ p l l s + k i _ p l l s 2 + k p _ p l l s + k i _ p l l
where k p _ p l l = 2 ξ ω n , k i _ p l l = ω n 2 , ω n 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
i a = I 1 th cos ( ω e t + θ 1 ) + I 5 th cos ( ω 5 t h t + θ 5 ) + I 7 th cos ( 7 ω 7 t h t + θ 7 ) i b = I 1 th cos ( ω e t + θ 1 2 π 3 ) + I 5 th cos ( ω 5 t h t + θ 5 + 2 π 3 ) + I 7 th cos ( ω 7 t h t + θ 7 2 π 3 ) i c = I 1 th cos ( ω e t + θ 1 + 2 π 3 ) + I 5 th cos ( ω 5 t h t + θ 5 2 π 3 ) + I 7 th cos ( ω 7 t h t + θ 7 + 2 π 3 )
where I 1 th , I 5 th , and I 7 th are the amplitudes of the fundamental, 5th, and 7th current harmonics; θ 1 , θ 5 , and θ 7 are the initial phases of the fundamental, 5th, and 7th current harmonics; and ω 5 t h = 5 ω e and ω 7 t h = 7 ω e 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
i ^ d q l ( k + 1 ) = i ^ d q ( k + 1 ) + i ^ d q ( k ) 2
Thus, the current equation in the estimated d q -axis containing the 5th and 7th stator current harmonics is obtained
i ^ d l = I 1 th cos θ 1 + I 5 th cos ( 6 ω ^ e t + θ 5 ) + I 7 th cos ( 6 ω ^ e t + θ 7 ) i ^ q l = I 1 th sin θ 1 + I 5 th sin ( 6 ω ^ e t + θ 5 ) + I 7 th sin ( 6 ω ^ e t + θ 7 )
After transformation to the estimated d q -axis, the angular frequencies of the 5th and 7th stator current harmonics become 6 ω ^ e and 6 ω ^ e , respectively.
From Equation (11) combined with Equation (1), the estimated d q -axis voltage error model containing the 5th and 7th stator current harmonics is obtained
Δ u d l = ( 6 ω ^ e L d ω ^ e L q ) I 5 th sin ( 6 ω ^ e t + θ 5 ) + R s I 5 th cos ( 6 ω ^ e t + θ 5 ) ( 6 ω ^ e L d + ω ^ e L q ) I 7 th sin ( 6 ω ^ e t + θ 7 ) + R s I 7 th cos ( 6 ω ^ e t + θ 7 ) Δ u q l = ( ω ^ e L q 6 ω ^ e L d ) I 5 th cos ( 6 ω ^ e t + θ 5 ) + R s I 5 th sin ( 6 ω ^ e t + θ 5 ) + ( 6 ω ^ e L q + ω ^ e L d ) I 7 th cos ( 6 ω ^ e t + θ 7 ) + R s I 7 th sin ( 6 ω ^ e t + θ 7 )
where Δ u d l and Δ u q l are the error voltages in the estimated d q -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 d q -axis to DC components for extraction and subsequent voltage compensation, the currents in the estimated d q -axis are transformed to the 5th and 7th d q -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
T d q d q 5 t h = cos 6 ω ^ e t sin 6 ω ^ e t sin 6 ω ^ e t cos 6 ω ^ e t
T d q d q 7 t h = cos 6 ω ^ e c t sin 6 ω ^ e t sin 6 ω ^ e t cos 6 ω ^ e t
where T d q d q 5 t h and T d q d q 7 t h are the coordinate transformation matrices, respectively.
By transforming through Equations (13) and (14) to the 5th and 7th d q -axis systems, the following harmonic currents can be obtained
i ^ d 5 = I 1 th cos ( 6 ω ^ e t + θ 1 ) + I 7 th cos ( 12 ω ^ e t + θ 7 )   + I 5 th cos θ 5 i ^ q 5 = I 1 th sin ( 6 ω ^ e t + θ 1 ) + I 7 th sin ( 12 ω ^ e t + θ 7 )   + I 5 th sin θ 5
i ^ d 7 = I 1 th cos ( 6 ω ^ e t θ 1 ) + I 5 th cos ( 12 ω ^ e t + θ 5 )   + I 7 th cos θ 7 i ^ q 7 = I 1 th sin ( 6 ω ^ e t θ 1 ) I 5 th sin ( 12 ω ^ e t + θ 5 )   + I 7 th sin θ 7
where i ^ d 5 and i ^ q 5 are the d -and q -axis currents in the 5th d q -axis system, and i ^ d 7 and i ^ q 7 are the d -and q -axis currents in the 7th d q -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 d q -axis systems, while the fundamental and non-corresponding order harmonics become AC components with corresponding angular velocities of 6 ω ^ e and 12 ω ^ e , 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 d q -axis systems after low-pass filtering are as follows
i ^ d 5 _ d c = I 5 th cos θ 5 i ^ q 5 _ d c = I 5 th sin θ 5
i ^ d 7 _ d c = I 7 th cos θ 7 i ^ q 7 _ d c = I 7 th sin θ 7
where i ^ d 5 _ d c and i ^ q 5 _ d c are the DC components in the 5th d q -axis system, and i ^ d 7 _ d c and i ^ q 7 _ d c are the DC components in the 7th d q -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 d q -axis system are transformed to the 5th and 7th d q -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 d q -axis system can be obtained by processing the voltage error equation in the estimated d q -axis system, as follows
Δ u d 5 = R s [ I 5 t h cos θ 5 + I 7 t h cos ( 12 ω ^ e t + θ 7 ) ] ω ^ e L q [ I 5 t h sin θ 5 + I 7 t h sin ( 12 ω ^ e t + θ 7 ) ] + 6 ω ^ e L q [ I 5 t h sin θ 5 I 7 t h sin ( 12 ω ^ e t + θ 7 ) ] Δ u q 5 = R s [ I 5 t h sin θ 5 + I 7 t h sin ( 12 ω ^ e t + θ 7 ) ] + ω ^ e L q [ I 5 t h cos θ 5 + I 7 t h cos ( 12 ω ^ e t + θ 7 ) ] + 6 ω ^ e L q [ I 5 t h cos θ 5 I 7 t h cos ( 12 ω ^ e t + θ 7 ) ]
where Δ u d 5 and Δ u q 5 are the error voltages in the 5th d q -axis system.
According to Equation (19), by eliminating the I 7 t h cos ( 12 ω ^ e t + θ 7 ) and I 7 t h sin ( 12 ω ^ e t + θ 7 ) terms of the 5th order error harmonic voltage, the harmonic voltage compensation equation can be constructed as
u ^ d 5 = R s i ^ d 5 _ d c ω ^ e L q i ^ q 5 _ d c + 6 ω ^ e L d i ^ q 5 _ d c u ^ q 5 = R s i ^ q 5 _ d c + ω ^ e L q i ^ d 5 _ d c 6 ω ^ e L d i ^ d 5 _ d c
The voltage compensation section block diagram is shown in Figure 2. The estimated d q -axis currents with the HF response current removed are transformed to the corresponding order d q -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 d q -axis system via multi-coordinate system inverse transformation, and then d q -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 I 1 th cos ( 6 ω ^ e t + θ 1 ) constitutes a significantly larger proportion than other AC harmonics and operates at a lower frequency than the 7th harmonic component I 7 th cos ( 12 ω ^ e t + θ 7 ) , the extracted current harmonics containing the fundamental AC component can be expressed as
i ^ d 5 _ d c h = I 5 th cos θ 5 + I 1 th cos ( 6 ω ^ e t + θ 1 ) i ^ q 5 _ d c h = I 5 th sin θ 5 + I 1 th sin ( 6 ω ^ e t + θ 1 )
Equation (21) reveals that the AC components introduced into the fifth-order d q -axis are I 1 th cos ( 6 ω ^ e t + θ 1 ) and I 1 th sin ( 6 ω ^ e t + θ 1 ) . By analysing these two terms alone, the voltage fluctuations introduced in the subsequent voltage compensation strategy are shown in Equation (22)
Δ u ^ d 5 _ h = R s I 1 th cos ( 6 ω ^ e t + θ 1 ) ω ^ e L q I 1 th sin ( 6 ω ^ e t + θ 1 ) + 6 ω ^ e L d I 1 th sin ( 6 ω ^ e t + θ 1 ) Δ u ^ q 5 _ h = R s I 1 th sin ( 6 ω ^ e t + θ 1 ) + ω ^ e L q I 1 th cos ( 6 ω ^ e t + θ 1 ) 6 ω ^ e L d I 1 th cos ( 6 ω ^ e t + θ 1 )
It can be observed that the voltage fluctuations induced by the fundamental component contain a sixth-order current harmonic with angular velocity 6 ω ^ e . Subsequently, converting Δ u ^ d 5 _ h and Δ u ^ q 5 _ h to the estimated d q -axis system reveals that the sixth-order current harmonic 6 n ( n = 1 , 2 , 3 ) persists even after voltage compensation, manifesting as a seventh-order stator current harmonic 6 n ± 1 . 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 6 ω ^ e .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 K P W M to 1 and merging the delay section with the inverter section, the open-loop transfer function of the current loop is expressed as follows
G ( s ) = [ G P I ( s ) + G 6 Q P R ( s ) ] 1 ( 1.5 T s s + 1 ) ( L d s + R s )
where G 6 Q P R ( s ) represents the transfer function of the 6th-order QPR controller, K P W M denotes the inverter gain, and T s denotes the open-loop period. Here, t d = T s 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 k p 6 _ Q P R , k i 6 _ Q P R , and ω c . 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 ω ^ e = ( 80 π / 3 ) rad/s.
When the parameter k p 6 _ Q P R is set to 1, 5, and 8, respectively, as shown in Figure 5a, the resonance peak at the resonant frequency 6 ω ^ e is increased, thereby effectively suppressing the 6th-order current harmonic. Consequently, the parameter k p 6 _ Q P R cannot be eliminated. However, increasing its value does not significantly enhance harmonic suppression, so k p 6 _ Q P R should not be set excessively high.
As shown in Figure 5b,c, the corresponding Bode plots for parameters k i 6 _ Q P R and ω c are depicted. When the value of parameter k i 6 _ Q P R increases, the resonance peak at the frequency suppression point rises significantly, thereby reducing steady-state error. Parameter ω c 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: k p 6 _ Q P R = 5, k i 6 _ Q P R = 400, and ω c = 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, i ^ d 5 _ d c and i ^ q 5 _ d c , 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, i ^ d 7 _ d c and i ^ q 7 _ d c 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, i ^ d 5 _ d c and i ^ d 7 _ d c decrease by 0.1 A and 0.05 A, respectively, whereas i ^ q 5 _ d c and i ^ q 7 _ d c 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.

Author Contributions

Methodology, A.S., Z.F. and B.N.; software, B.H.; validation, A.S., Z.F. and B.N.; writing—original draft preparation, A.S. and Z.F.; writing—review and editing, B.H. and B.N. 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

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
IPMSMinterior permanent magnet synchronous motor
HFSWIhigh-frequency square-wave injection
QPRquasi-proportional resonant
HFhigh-frequency
EMFelectromotive force
HPFhigh-pass filter
LPFlow-pass filter
PWMpulse width modulation
DCdirect current
ACalternating current
PIproportional-integral
MTPAmaximum torque per ampere
FFTfast Fourier transform
THDtotal harmonic distortion

References

  1. Yan, H.; Wang, W.; Xu, Y.; Zou, J. Position Sensorless Control for PMSM Drives with Single Current Sensor. IEEE Trans. Ind. Electron. 2023, 70, 178–188. [Google Scholar] [CrossRef]
  2. Zuo, 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. 2024, 10, 6928–6939. [Google Scholar] [CrossRef]
  3. Volpato 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 IPMSMs. IEEE Trans. Transp. Electrif. 2024, 10, 1335–1346. [Google Scholar] [CrossRef]
  4. Yoo, J.; Kim, H.-S.; Sul, S.-K. MTPA Tracking Control of Sensorless IPMSM Based on Square-Wave Voltage Signal Injection. IEEE Trans. Power Electron. 2022, 37, 12525–12537. [Google Scholar] [CrossRef]
  5. Zhou, 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. 2023, 38, 14438–14449. [Google Scholar] [CrossRef]
  6. Kim, 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. 2023, 38, 3180–3190. [Google Scholar] [CrossRef]
  7. Lu, J.; Hu, Y.; Zhang, X.; Wang, Z.; Liu, J.; Gan, C. High-Frequency Voltage Injection Sensorless Control Technique for IPMSMs Fed by a Three-Phase Four-Switch Inverter With a Single Current Sensor. IEEE ASME Trans. Mechatron. 2018, 23, 758–768. [Google Scholar] [CrossRef]
  8. Xu, Z.; Zhang, J.; Xiong, J.; Wu, Y.; Cheng, M. An Improved High-Frequency Voltage Injection Method for Interturn Short-Circuit Fault Detection in PMSMs. IEEE Trans. Transp. Electrif. 2023, 9, 3228–3239. [Google Scholar] [CrossRef]
  9. Tap, A.; Akgul, K.; Ergenc, A.F.; Yilmaz, M.; Ergene, L.T. A Lean Approach to Zero and Low-Speed Sensorless Control of PMaSynRMs. IEEE Access 2023, 11, 35406–135422. [Google Scholar] [CrossRef]
  10. Wang, D.; Xu, S.; Li, Y.; Wang, B.; Wang, X.; Nie, J.; Wang, X. Sensorless Control Impact on Electromagnetic Vibrations and Acoustic Noises in Interior Permanent Magnet Synchronous Machines. IEEE Trans. Transp. Electrif. 2025, 11, 416–425. [Google Scholar] [CrossRef]
  11. Wang, Z.; Gao, C.; Gu, M.; Cheng, M. A Novel Vector Magnetic Circuit Based Position Observer for IPMSM Drives Using High-Frequency Signal Injection. IEEE Trans. Power Electron. 2024, 39, 1333–1342. [Google Scholar] [CrossRef]
  12. Luo, X.; Tang, Q.; Shen, A.; Zhang, Q. PMSM Sensorless Control by Injecting HF Pulsating Carrier Signal Into Estimated Fixed-Frequency Rotating Reference Frame. IEEE Trans. Ind. Electron. 2016, 63, 2294–2303. [Google Scholar] [CrossRef]
  13. Ding, H.; Tang, X.; Li, J.; Liu, G. Time delay compensation strategy for PMSM sensorless control based on high-frequency square-wave signal injection. Electr. Eng. 2025, 107, 11949–11958. [Google Scholar] [CrossRef]
  14. Xu, P.L.; Zhu, Z.Q. Novel Square-Wave Signal Injection Method Using Zero-Sequence Voltage for Sensorless Control of PMSM Drives. IEEE Trans. Ind. Electron. 2016, 63, 7444–7454. [Google Scholar] [CrossRef]
  15. Hwang, I.; Kwon, Y.-C.; Sul, S.-K. Enhanced Dynamic Operation of Heavily Saturated IPMSM in Signal-Injection Sensorless Control With Ancillary Reference Frame. IEEE Trans. Power Electron. 2023, 38, 5726–5741. [Google Scholar] [CrossRef]
  16. Zhang, Y.; Yin, Z.; Liu, J.; Zhang, R.; Sun, X. IPMSM Sensorless Control Using High-Frequency Voltage Injection Method With Random Switching Frequency for Audible Noise Improvement. IEEE Trans. Ind. Electron. 2020, 67, 6019–6030. [Google Scholar] [CrossRef]
  17. Wang, G.; Zhou, H.; Zhao, N.; Li, C.; Xu, D. Sensorless Control of IPMSM Drives Using a Pseudo-Random Phase-Switching Fixed-Frequency Signal Injection Scheme. IEEE Trans. Ind. Electron. 2018, 65, 7660–7671. [Google Scholar] [CrossRef]
  18. Wang, G.; Xiao, D.; Zhang, G.; Li, C.; Zhang, X.; Xu, D. Sensorless Control Scheme of IPMSMs Using HF Orthogonal Square-Wave Voltage Injection Into a Stationary Reference Frame. IEEE Trans. Power Electron. 2019, 34, 2573–2584. [Google Scholar] [CrossRef]
  19. Kim, D.; Kwon, Y.-C.; Sul, S.-K.; Kim, J.-H.; Yu, R.-S. Suppression of Injection Voltage Disturbance for High-Frequency Square-Wave Injection Sensorless Drive With Regulation of Induced High-Frequency Current Ripple. IEEE Trans. Ind. Appl. 2016, 52, 302–312. [Google Scholar] [CrossRef]
  20. Yin, Z.; Zhang, Y.; Cao, X.; Yuan, D.; Liu, J. Estimated position error suppression using novel PLL for IPMSM sensorless drives based on fullorder SMO. IEEE Trans. Power Electron. 2022, 37, 4463–4474. [Google Scholar] [CrossRef]
  21. Wu, X.; Huang, S.; Liu, K.; Lu, K.; Hu, Y.; Pan, W.; Peng, X. Enhanced position sensorless control using bilinear recursive least squares adaptive filter for interior permanent magnet synchronous motor. IEEE Trans. Power Electron. 2020, 35, 681–698. [Google Scholar] [CrossRef]
  22. Li, Y.; Yin, Z.; Zhang, Y.; Gao, Y.; Liu, J.; Zhang, P. A Harmonic Suppression Strategy Based on Adaptive Synchronous Rotating Frame Transformation for Improving the Estimation Accuracy of Sensorless Drivers With Small Capacitors. IEEE Trans. Power Electron. 2024, 39, 3521–3532. [Google Scholar] [CrossRef]
Figure 1. Decoupling of position error signal in delta operation.
Figure 1. Decoupling of position error signal in delta operation.
Sensors 26 00028 g001
Figure 2. Block diagram of harmonic current extraction and voltage compensation section.
Figure 2. Block diagram of harmonic current extraction and voltage compensation section.
Sensors 26 00028 g002
Figure 3. Schematic of the estimated rotational coordinate system for 5th and 7th harmonics.
Figure 3. Schematic of the estimated rotational coordinate system for 5th and 7th harmonics.
Sensors 26 00028 g003
Figure 4. Transfer function of the current loop based on 6th QPR control.
Figure 4. Transfer function of the current loop based on 6th QPR control.
Sensors 26 00028 g004
Figure 5. Bode plot of the current open-loop transfer function based on 6th QPR under different parameters.
Figure 5. Bode plot of the current open-loop transfer function based on 6th QPR under different parameters.
Sensors 26 00028 g005aSensors 26 00028 g005b
Figure 6. Block diagram of the proposed harmonic suppression strategy.
Figure 6. Block diagram of the proposed harmonic suppression strategy.
Sensors 26 00028 g006
Figure 7. Proposed harmonic suppression strategy.
Figure 7. Proposed harmonic suppression strategy.
Sensors 26 00028 g007
Figure 8. Experimental waveforms of the traditional HFSWI strategy at a given speed of 100 r/min and load torque of 7 N·m.
Figure 8. Experimental waveforms of the traditional HFSWI strategy at a given speed of 100 r/min and load torque of 7 N·m.
Sensors 26 00028 g008
Figure 9. Experimental waveforms of the proposed strategy at a given speed of 100 r/min and load torque of 7 N·m.
Figure 9. Experimental waveforms of the proposed strategy at a given speed of 100 r/min and load torque of 7 N·m.
Sensors 26 00028 g009
Figure 10. Experimental waveforms of the traditional HFSWI strategy at a given speed of 60 r/min and load torque of 5 N·m.
Figure 10. Experimental waveforms of the traditional HFSWI strategy at a given speed of 60 r/min and load torque of 5 N·m.
Sensors 26 00028 g010
Figure 11. Experimental waveforms of the proposed strategy at a given speed of 60 r/min and load torque of 5 N·m.
Figure 11. Experimental waveforms of the proposed strategy at a given speed of 60 r/min and load torque of 5 N·m.
Sensors 26 00028 g011
Figure 12. Speed and torque fluctuations of the traditional method and the proposed strategy at a given speed of 100 r/min and load torque of 5 N·m.
Figure 12. Speed and torque fluctuations of the traditional method and the proposed strategy at a given speed of 100 r/min and load torque of 5 N·m.
Sensors 26 00028 g012
Figure 13. Rotor position error under a load torque of 5 N·m and a reference speed of 60 r/min.
Figure 13. Rotor position error under a load torque of 5 N·m and a reference speed of 60 r/min.
Sensors 26 00028 g013
Table 1. Parameters of permanent magnet synchronous motor.
Table 1. Parameters of permanent magnet synchronous motor.
IPMSM ParametersValue
Rated speed/(r·min−1)1500
Stator resistance/Ω0.958
Moment of inertia/(kg·m2)0.003
d -axis inductance/mH5.25
q -axis inductance/mH12
Permanent magnet flux linkage/Wb0.1827
Number of pole pairs4
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.

Share and Cite

MDPI and ACS Style

Song, A.; Feng, Z.; Huang, B.; Ning, B. A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection. Sensors 2026, 26, 28. https://doi.org/10.3390/s26010028

AMA Style

Song A, Feng Z, Huang B, Ning B. A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection. Sensors. 2026; 26(1):28. https://doi.org/10.3390/s26010028

Chicago/Turabian Style

Song, Anran, Zilong Feng, Bo Huang, and Bowen Ning. 2026. "A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection" Sensors 26, no. 1: 28. https://doi.org/10.3390/s26010028

APA Style

Song, A., Feng, Z., Huang, B., & Ning, B. (2026). A Sensorless Rotor Position Detection Method for Permanent Synchronous Motors Based on High-Frequency Square Wave Voltage Signal Injection. Sensors, 26(1), 28. https://doi.org/10.3390/s26010028

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop