Next Article in Journal
Modelling of Energy Storage System from Photoelectric Conversion in a Phase Change Battery
Previous Article in Journal
Modeling the Effect of Compressive Stress on Hysteresis Loop of Grain-Oriented Electrical Steel
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Permanent Magnet Synchronous Motor Model Extension for High-Frequency Signal Injection-Based Sensorless Magnet Polarity Detection

Vehicle Industry Research Center, Széchenyi István University, H-9026 Győr, Hungary
*
Author to whom correspondence should be addressed.
Energies 2022, 15(3), 1131; https://doi.org/10.3390/en15031131
Submission received: 16 November 2021 / Revised: 22 January 2022 / Accepted: 28 January 2022 / Published: 3 February 2022
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
In this paper, a novel extended permanent magnet synchronous motor model is presented that incorporates a quadratic flux-current function to represent the polarity-dependent saliency. The proposed model enables the design of sensorless polarity detection algorithms required by the initial position detection of permanent magnet synchronous motors. The novelty of the model is that it integrates the polarity-dependent saliency into the traditional machine model and introduces a new machine parameter, the polarity-dependent saliency coefficient, to specify the Hessian matrix of the flux-current function. A measurement method is presented for determination of the elements of the Hessian and the polarity-dependent saliency coefficient. The solution of the model is given for high-frequency sinusoidal pulsating voltage injection. Experimental results show that the proposed extended model accurately predicts the amplitudes and phases of the second harmonics of the motor currents, which are the carriers of the polarity-dependent information. This information enables a current measurement-based polarity detection algorithm using the phase difference between the fundamental and second harmonic of the apparent d-axis current. Both the presented measurement data and the proposed model show that injection in the d-direction is optimal for polarity detection.

1. Introduction

To meet the industrial performance and efficiency requirements, synchronous machines have been adopted in a wide variety of applications ranging from household appliances to industrial robots, electric vehicles and wind power systems [1,2,3]. Permanent magnet synchronous motors (PMSMs) are attractive candidates for high-performance, high-precision and highly dynamic engineering applications because of their high power density, high efficiency and high torque-to-volume ratio [4,5]. The field-oriented control of the PMSM drive requires phase current and rotor position feedback. To start the motor without mechanical alignment, reverse rotation and unwanted oscillations, it is also necessary to determine the initial rotor position including magnet polarity [6].
The operation of a traditional PMSM drive requires a shaft-mounted optical encoder or a resolver to determine the rotor position. However, in many industrial installations, the application of the shaft sensor increases the cost and size of the motor, reduces the reliability and the overall ruggedness of the drive, and limits the application in harsh environments [5,7,8]. Furthermore, many shaft sensors provide the initial rotor position with an inadequate resolution and incremental encoders do not provide it at all. Position-sensorless control schemes allow the elimination of shaft-mounted sensors as well as related electronics and wiring resulting in a more robust and cost-effective PMSM drive system. In addition, employing sensorless algorithms and shaft sensors simultaneously can increase reliability by introducing redundancy in safety critical applications [9,10].

1.1. Sensorless Control Methods for PMSMs

Position-sensorless control methods for PMSMs determine the rotor position in terms of electrical angle without a mechanical shaft sensor usually based on phase current measurements and a suitable machine model. Sensorless control techniques that rely on the fundamental excitation model are capable of providing high-performance control above about 3% of the nominal speed when the back electromotive force (back-EMF) is sufficiently large [11,12,13,14,15]. To extend the sensorless operation range towards zero speed, saliency-based methods have been proposed that rely on inductance variation due to geometrical and saturation effects [16,17]. These techniques exploit the anisotropic properties of PM machines, caused by the saliency of an interior permanent magnet rotor and/or the saturation of the stator and rotor iron cores.
The operation of anisotropy tracking techniques is either based on fundamental pulse-width modulation (PWM) excitation or signal injection. Modulated sinusoidal high-frequency signal injection (HFSI) methods primarily inject a high-frequency carrier signal with a small amplitude using either a rotating space vector in the stationary reference frame or a pulsating space vector in the estimated rotor reference frame [18,19,20]. Square-wave HFSI methods inject modulated or non-modulated, continuous or intermittent signals. Usually, high-frequency signal injection-based methods are capable of tracking both geometric- and saturation-caused anisotropies [12,21].

1.2. Initial Rotor Position Detection Methods

An important part of the sensorless control methods is the zero-speed or initial position detection, which is usually performed over two steps. First, the inductance-based saliency tracker searches for the + d / d axis, then another method detects the polarity of the rotor magnets [12,22,23]. Both steps require high-frequency models which are often derived from the corresponding fundamental frequency models [11].
The most important part of the high-frequency machine models is the saliency model which describes the dependency of the electrical parameters on the rotor position such as self and mutual inductances as well as the non-linearities related to magnetic saturation. In most PMSMs, the dominant saliency is present in the inductances. The a b c and α β self and mutual inductances have a dominant second spatial harmonic in terms of the electrical angle [24], and as a consequence, the L d and L q inductances in the rotor oriented reference frame are different but constant parameters. Although saliency tracking methods can rely on the inductances to identify the + d / d axis, due to their dominant second spatial harmonics, the a b c and α β inductance values at any ϑ and ϑ + 180 electrical rotor positions are equal, therefore, the polarity of the rotor’s magnets cannot be determined based on them. To avoid reverse rotation and unwanted oscillation, another method is needed to determine the magnet polarity before startup.

1.3. Magnet Polarity Detection Techniques

The polarity of the rotor magnets can only be determined based on saliency components that have a significant first spatial harmonic in terms of electrical angle and are spatially aligned with the poles. Such components are produced by magnetic saturation because the + d axis located at the north pole points into the magnetizing direction and the d axis points into the demagnetizing direction. Many papers introduce the injection of short voltage pulses to determine the polarity after identifying the + d / d axis [12,25]. Experimental results show that a voltage pulse in the + d or magnetizing direction has a higher response current than a voltage pulse of the same amplitude and duration in the d or demagnetizing direction, due to the non-linear effects of magnetic saturation [26,27,28]. An alternative polarity detection technique uses q-direction injection to induce a small rotor displacement, however, it is suitable only for the application areas, where a slight initial movement of the rotor can be tolerated [22].
While the dominant saliency can be modeled as a linear relation between the flux-linkages and the current, the polarity-dependent saliency is non-linear with respect to phase currents as a consequence of magnetic saturation. Related papers describe different modelling approaches. Some papers define different L d apparent or fractional inductance values for positive and negative currents that have the opposite values at the north and south poles [25,29,30,31,32]. This approach uses two linear systems of different time-constants and the resulting model is limited to the vicinity of the d-direction. Other papers add certain harmonics (usually a second harmonic) to the time-domain representation of the current vector and develop signal processing methods to extract the polarity information from them [33].
A more general approach is to formulate the flux-current function as a Taylor polynomial of the underlying non-linear relationship. Reference [4] formulates the d-axis flux-linkage ( Ψ d ) as a quadratic function of the d-axis current ( i d ) using the constant, linear, and quadratic terms of the Taylor polynomial. In this approach, the coefficient of the quadratic term (the second derivative of Ψ d with respect to i d ) holds the polarity information. References [34,35] formulate i d as a quadratic polynomial function of Ψ d and the polarity-dependent quantity is the second derivative of i d with respect to Ψ d . Reference [26] expresses L d and L q as quadratic functions of i d and i q , respectively. Here the coefficient of the d-direction linear term is the polarity-dependent quantity. In all of the above-mentioned cases, the polarity-dependent quantity is related to the curvature of the d-direction magnetization curve. Usually the phase resistance is neglected in order to simplify the high-frequency machine model [4,12,35,36,37].

1.4. Contributions

In this paper, we propose a novel extended PMSM model that incorporates a quadratic flux-current function to represent the polarity-dependent saliency. The model is suitable for designing sensorless polarity detection algorithms required for the initial position detection stage of the sensorless control of PMSMs. The model introduces the polarity-dependent saliency coefficient Γ 0 to specify the Hessian matrix of the flux-current function for which a measurement method is presented. The approximate solution of the model is presented for sinusoidal pulsating injection. The model predicts second harmonic generation which is polarity-dependent and therefore enables polarity detection. The measurements were performed on a slotless surface-mounted PMSM that has low saliency. Measurement data are provided for both the parameter identification and second harmonic generation sections.
The main contributions of this paper are:
1.
A novel extended machine model is proposed for PMSMs that integrates the polarity-dependent saliency into the traditional machine model;
2.
The novel machine model explains the mechanism of second harmonic generation;
3.
The approximate solution of the machine model takes into account the phase resistances and predicts more accurately the amplitudes and phases of the second harmonics of the currents, compared to a purely inductive model.

2. Pmsm Model

The mathematical model of a PMSM used in control design can be divided into three main parts: the electrical, the magnetic and the mechanical model. The electrical model is expressed in the form of the phase voltage equations. The magnetic model contains the saliency model and describes the relationship between the flux-linkages, the phase currents and the rotor position. The mechanical model consists of the torque equation of the rotor. In the development of a sensorless method for low and zero speed operation, the first two are more significant.
The complex and matrix forms of the voltage equation in the two-phase α β coordinate system of the stator-oriented reference frame are
u ̲ u α β = R i ̲ i α β + d Ψ ̲ α β d t and u α u β = R i α i β + d d t Ψ α Ψ β ,
where u α and u β are the phase voltages, i α and i β are the phase currents, Ψ α and Ψ β are the flux-linkages in the stator-oriented reference frame, u ̲ u α β , i ̲ i α β and Ψ ̲ Ψ α β are the complex number representations the phase quantities. R is the phase resistance [16].
The complex and matrix forms of the voltage equation in the two-phase d q coordinate system of the rotor-oriented reference frame are
u ̲ u d q = R i ̲ i d q + d Ψ ̲ d q d t + j ω Ψ ̲ Ψ d q and u d u q = R i d i q + d d t Ψ d Ψ q + ω Ψ q Ψ d ,
where u d and u q are the phase voltages, i d and i q are the phase currents, Ψ d and Ψ q are the flux-linkages in the rotor-oriented reference frame, u ̲ u d q , i ̲ i d q and Ψ ̲ Ψ d q are the complex number representations the phase quantities. ω is the electrical angular velocity.
The transformation of the vector quantities from α β to d q is performed by left-side multiplication with the T ̲ ̲ T matrix which is the inverse of the R ̲ ̲ R rotation matrix.
T ̲ ̲ T ϑ = R ̲ ̲ R ϑ = cos ϑ sin ϑ sin ϑ cos ϑ .
The transformation depends on the electrical rotor position ϑ .

2.1. Linearized Flux-Linkage Function

In all of the voltage equation formulations, both the currents and the flux-linkages are unknown variables. To solve the model, more equations are required which can be obtained by formulating the flux-linkages as functions of the currents or vice versa. In the general case, there is a non-linear and hysteretic relationship between the flux-linkages, phase currents and the rotor position of a PMSM, however, the traditional approach is linearization, and the machine models only include the constant and linear terms of the Taylor series expansion.
In the rotor-oriented d q coordinate system, the Taylor series expansion of the flux-linkage function Ψ ̲ Ψ d q ( i ̲ i d q , ϑ ) is performed with respect to the phase current vector i ̲ i d q , around the ( i ̲ i d q = 0 ̲ 0 A , ϑ ) point, which means that no phase currents are present and the electrical rotor position is fixed to ϑ . An important characteristic of the rotor-oriented reference frame is that the rotor position dependency of the coefficients is negligible. The result of the series expansion is
Ψ ̲ Ψ d q ( i ̲ i d q , ϑ ) = Ψ ̲ Ψ d q P M + Ψ ̲ d q i ̲ d q 1 1 0 ̲ 0 A , ϑ i ̲ i d q + higher   order   terms .
The constant term is Ψ ̲ Ψ d q P M = [ Ψ P M , 0 ] T , the flux-linkage produced by the permanent magnets. The coefficients of the linear term form L ̲ ̲ L d q which is the differential or incremental inductance matrix in the d q system. The inductance matrix is the Jacobian of the flux-linkage function
L ̲ ̲ L d q = J ̲ ̲ J 0 ̲ 0 A , ϑ Ψ ̲ Ψ d q = Ψ ̲ d q i ̲ d q 1 1 0 ̲ 0 A , ϑ = L d d L d q L q d L q q ,
where L d d is the d-axis self-inductance, L q q is the q-axis self-inductance. L d q and L q d are the mutual inductances in the d q system which are usually much smaller than the self-inductances and, therefore, are neglected. The higher order terms of (4) are also neglected in the traditional linearized flux-linkage model (6).
Ψ ̲ Ψ d q = Ψ d Ψ q = Ψ P M 0 + L d d 0 0 L q q i d i q = Ψ P M + L d d i d L q q i q

2.2. Disadvantage of the Linearized Flux-Linkage Function at Zero Speed

The voltage equations of the machine (1) and (2) include the time derivatives of the flux-linkages. This means that the flux-linkages only have an effect on the phase currents when their values change. At a standstill, during initial position detection, the rotor position and the flux-linkages of the permanent magnets are constant and only the inductances have a rotor position-dependent effect. However, the inductances in the stator-oriented reference frames, such as the elements of L ̲ ̲ L α β defined by (7), have second spatial harmonics in electrical angles
L ̲ ̲ L α β = T ̲ ̲ T 1 ϑ L ̲ ̲ L d q T ̲ ̲ T ϑ = 1 2 Σ L Δ L cos 2 ϑ Δ L sin 2 ϑ Δ L sin 2 ϑ Σ L + Δ L cos 2 ϑ ,
where Σ L = L d d + L q q and Δ L = L q q L d d [38].
The second spatial harmonics consist of two periods during an electrical revolution, hence inductance-based anisotropy tracking always yields an ambiguity of 180 ° in electrical angle and the linearized flux model (6) is unsuitable for polarity detection [23,39].

3. Novel Quadratic Flux-Linkage Model Extension

We extended the flux-linkage function with the quadratic term of the Taylor series expansion (4) by generalizing the non-linear modeling approaches presented in [4,26,34]. The coefficients of the quadratic term contain the second derivatives of the flux-linkage with respect to the phase currents. The second derivatives correspond to the curvature or convexity of the magnetization curve and are magnet polarity dependent. The second derivatives of the Ψ d and Ψ q phase flux-linkages form their symmetric Hessian matrices denoted by Γ ̲ ̲ Γ d and Γ ̲ ̲ Γ q .
Γ ̲ ̲ Γ d = H ̲ ̲ H 0 ̲ 0 A , ϑ Ψ d = 2 Ψ d i ̲ d q 2 1 1 0 ̲ 0 A , ϑ R 2 × 2 and Γ ̲ ̲ Γ q = H ̲ ̲ H 0 ̲ 0 A , ϑ Ψ q = 2 Ψ q i ̲ d q 2 1 1 0 ̲ 0 A , ϑ R 2 × 2
The coefficient matrix of the quadratic term contains the 2 × 2 Hessians and has 2 × 2 × 2 elements in total, therefore, it appears to be a three-dimensional matrix or a third-order tensor. To avoid the three-dimensional forms and tensor formalism, we decided to combine and flatten the individual Hessians into a 4 × 2 two-dimensional matrix by rearranging the 2 × 2 Hessians of the phase flux-linkages below each other. The combined and flattened Hessian of the three-phase flux-linkage function is
Γ ̲ ̲ Γ d q = H ̲ ̲ H 0 ̲ 0 A , ϑ Ψ ̲ Ψ d q = Γ ̲ ̲ Γ d Γ ̲ ̲ Γ q = Γ d d d Γ d d q Γ d d q Γ d q q Γ q d d Γ q d q Γ q d q Γ q q q R 4 × 2 .
The proposed quadratic approximation of the d q flux-linkage function that incorporates the flattened Hessian is
Ψ d q ( i ̲ i d q , ϑ ) = Ψ ̲ Ψ d q P M + L ̲ ̲ L d q i ̲ i d q + 1 2 I ̲ ̲ I 2 i ̲ i d q T Γ ̲ ̲ Γ d q i ̲ i d q ,
where I ̲ ̲ I 2 is the 2 × 2 identity matrix and ⊗ denotes the Kronecker product. The definition of the Kronecker product as well as calculation I ̲ ̲ I 2 i ̲ i d q T are included in Appendix A.
We developed (11) and (12) to transform the flattened Hessian matrices from d q to α β and vice versa.
Γ ̲ ̲ Γ α β ϑ = I ̲ ̲ I 2 T ̲ ̲ T T ϑ T ̲ ̲ T 1 ϑ I ̲ ̲ I 2 T ̲ ̲ T ϑ Γ ̲ ̲ Γ d q T ̲ ̲ T ϑ
Γ ̲ ̲ Γ d q = I ̲ ̲ I 2 T ̲ ̲ T T 1 ϑ T ̲ ̲ T ϑ I ̲ ̲ I 2 Γ ̲ ̲ Γ α β ϑ T ̲ ̲ T 1 ϑ
The elements of the Hessian matrices are not standard machine parameters. Their values and spatial harmonic content were unknown to us, therefore, we designed a measurement system to determine them.

4. Experimental Drive System and Measurement Environment

We designed and built an experimental PMSM drive and an automated measurement environment around it to identify the rotor position dependence of the inductances (5) and the elements of the Hessian matrices (9) of our test motors.

4.1. Test Motors

We used two Maxon EC4-pole 45 252463 slotless surface-mounted PMSMs as our test motors. Table 1 contains the datasheet parameters and Figure 1 shows the cross-section and the photo of the motors. Important to note, the size of the factory-mounted optical encoder is comparable to the size of the motor itself.

4.2. Measurement Automation

We designed our measurement system to be able to automatically change the rotor position using a stepper motor that has a full step size of 1.8 ° which is equivalent to a resolution of 3.6 ° in terms of electrical angle for our two pole-pair test motors. We used the factory-mounted encoders of 13-bit resolution to correct the position error introduced by the stepper motor.
The drive control was implemented on a National Instruments CompactRIO. The low-level functions, such as the MOSFET control signal generation, current sampling, encoder signal processing and data acquisition, run on the cRIO-9104 FPGA module. The FPGA stores the measured current and rotor position values in the FIFO memory of the cRIO-9014 real-time controller which transmits the acquired current signals to our LabVIEW-based control application.
The terminal and neutral point voltages were measured using a Tektronix MSO 4054B oscilloscope. A CompactDAQ cDAQ-9188 was used as the digital output to control the stepper driver as well as trigger the data acquisition in the FPGA and the oscilloscope. The external triggering ensured the synchronized the operation of the FPGA and the oscilloscope which was required by the parameter identification method we used. We performed the voltage measurement at a higher sampling frequency in order to capture the switching transients and downsampled the voltage data to match the sampling time of the current data.
Our custom-designed and built parts include the three-phase inverter, optical coupling and current measurement circuits. Figure 2 shows a photo of our measurement environment. Figure 3 shows the types of the components used in the drive.

5. Measurement and Parameter Identification Results

We performed sinusoidal pulsating voltage injection-based measurements to acquire suitable data for the least squares estimation of the unknown machine parameters (16)–(18). The a b c phase voltages and currents were directly measured (see Figure 3). The α β and d q voltages and currents were calculated using Clarke’s and Park’s transformations. The measurements were performed at zero speed.
The frequency of the pulse-width modulation was 40 k Hz . The sampling frequency for the current measurement was 240 k Hz and we synchronized the sampling to the modulation (6 current sampling in every modulation cycle). The sampling frequency for the voltages was 10 M Hz in order to capture the switching transients. The voltage signals were later downsampled to match the sampling frequency of the current data.
The frequency of the injected voltage signal was 1 k Hz and its amplitude was set to 6.2   V . The rotor position and the injection angle were changed between each measurement. The acquired data cover all combinations of 200 rotor positions ( 3.6 resolution in terms of electrical angle) and 18 injection angles (10 resolution in terms of electrical angle). The duration of the signal acquisition was 10 m s resulting in 2400 samples per channel i.e., time series data for 10 periods of the voltages and currents at all measurement points. Later, the 10 periods were averaged resulting in 240 samples long time series data for all measured quantities.
Figure 4 shows the voltage and current signals acquired at ϑ = 1.36 electrical rotor position for 18 different injection angles from 0 to 170 in the stationary reference frame.

5.1. Offline Ordinary Least Squares Estimation of the Machine Parameters

By substituting the quadratic flux-linkage (10) and ω = 0 into (2), the voltage equation that is valid at zero speed takes the form
u ̲ u d q = R i ̲ i d q + L ̲ ̲ L d q d i ̲ d q d t + I ̲ ̲ I 2 i ̲ i d q T Γ ̲ ̲ Γ d q d i ̲ d q d t .
After performing the matrix operations, the d- and q-direction voltage equations take the general forms
u d = R i d + L d d d i d d t + L d q d i q d t + 1 2 Γ d d d d i d 2 d t + Γ d d q d i d i q d t + 1 2 Γ d q q d i q 2 d t and
u q = R i q + L q d d i d d t + L q q d i q d t + 1 2 Γ q d d d i d 2 d t + Γ q d q d i d i q d t + 1 2 Γ q q q d i q 2 d t .
The voltage equations are linear with respect to the unknown machine parameters and can be transformed into multiple linear regression models. The response variables are the voltages. The regressors are the currents as well as the derivatives of the currents, including the quadratic ones.
The regression models created from the d- and q-direction voltage equations are
u ̲ u d = R i ̲ i d + L d d d ̲ d d + L d q d ̲ d q + Γ d d d q ̲ q d + Γ d d q q ̲ q d q + Γ d q q q ̲ q q and
u ̲ u q = R i ̲ i q + L q d d ̲ d d + L q q d ̲ d q + Γ q d d q ̲ q d + Γ q d q q ̲ q d q + Γ q q q q ̲ q q ,
where u ̲ u d and u ̲ u q are the voltage sample vectors, i ̲ i d and i ̲ i q are the current sample vectors, d ̲ d d and d ̲ d q are the numeric derivatives of the current vectors, and the derivatives of the quadratic currents are denoted by q ̲ q d , q ̲ q d q and q ̲ q q . The discretization and numeric differentiation steps are included in Appendix B.
Equations (16) and (17) are overdetermined equation systems in the forms y ̲ y = X ̲ ̲ X β ̲ β . In order to solve them, they were rearranged into the matrix forms
u ̲ u d y ̲ y d = i ̲ i d , d ̲ d d , d ̲ d q , q ̲ q d , q ̲ q d q , q ̲ q q X ̲ ̲ X d R L d d L d q Γ d d d Γ d d q Γ d q q β ̲ β d and u ̲ u q y ̲ y q = i ̲ i q , d ̲ d d , d ̲ d q , q ̲ q d , q ̲ q d q , q ̲ q q X ̲ ̲ X q R L q d L q q Γ q d d Γ q d q Γ q q q β ̲ β q .
The best fits were calculated as β ^ d = X ̲ ̲ X d T X ̲ ̲ X d 1 X ̲ ̲ X d T y ̲ y d and β ^ q = X ̲ ̲ X q T X ̲ ̲ X q 1 X ̲ ̲ X q T y ̲ y q .

5.2. Parameter Identification Results

The voltage and current signals acquired at a certain rotor position were concatenated to form the regressor vectors of (16) and (17). The machine parameters were calculated by solving (18). The average value of the phase resistance was R = 0.55   Ω . Figure 5 shows the identified inductance values. The inductance values show little rotor position dependence. L q q is higher than L d d . The mutual inductances L d q and L q d are negligibly small. The average values of the self-inductances are
L d d = 158 μ H and L q q = 182 μ H .
Figure 6 shows the identified values of the elements of the Hessian matrix. Their values are small and significantly noisier than the inductances but they also show little rotor position dependence. Three of the six elements are very small and we set their values to zero.
Γ d d q = Γ q d d = Γ q q q = 0 μ H A
Besides the d q representation, it is also important how the Hessian appears in the α β and a b c coordinate systems. By introducing a new machine parameter, Γ 0 , to define the non-zero elements of Γ ̲ ̲ Γ d q as
Γ d d d = 9 4 Γ 0 = 0.281 μ H A and Γ d q q = Γ q d q = 3 4 Γ 0 = 0.094 μ H A
where
Γ 0 = 0.125 μ H A
the elements of the α β and a b c Hessians will have only first spatial harmonics. The idealized values defined by (21) are also plotted on Figure 6. Measurement data for 2 k Hz injection frequency are included in Appendix D and Table A1.
Based on (19)–(21), the idealized forms of the inductance and Hessian matrices are
L ̲ ̲ L d q = L d d 0 0 L q q and Γ ̲ ̲ Γ d q = 9 4 Γ 0 0 0 3 4 Γ 0 0 3 4 Γ 0 3 4 Γ 0 0 .
The flux-linkages extended with the idealized forms of the quadratic terms are
Ψ d = Ψ P M + L d d i d 9 8 Γ 0 i d 2 3 8 Γ 0 i q 2 and
Ψ q = L q q i q 3 4 Γ 0 i d i q .
The d-axis flux-linkage is influenced by the squares of the currents, and regardless of the axis of the currents, the flux-linkage becomes lower. The q-axis flux-linkage is influenced by the product of the currents.
The phenomena described by the quadratic terms are the polarity dependent subset of main flux saturation and cross-saturation. The equations also can be interpreted as linear definitions for current dependent inductances,
L d d = L d d + 1 2 Γ d d d i d = L d d 9 8 Γ 0 i d and L q q = L q q + 1 2 Γ q d q i d = L q q 3 8 Γ 0 i d .

6. Second Harmonic Generation Predicted by the Quadratic Flux-Linkage Extension

The main disadvantage of the linear model is the unsuitability for polarity detection. To overcome this limitation, we introduced the quadratic term of the flux-linkage in our PMSM model as described in the previous sections. The resulting nonlinear model predicts polarity dependent behavior. In this section we present the effect of the quadratic terms on the phase currents, namely the second-harmonic generation. Measurement data are also presented to demonstrate the correctness of the model.

6.1. Approximate Solution of Our Model

The voltage Equations (27) and (28) were formulated by substituting the idealized forms of the coefficient matrices (23) into (14) and (15).
u d = R i d + L d d d i d d t 9 4 Γ 0 i d d i d d t 3 4 Γ 0 i q d i q d t
u q = R i q + L q q d i q d t 3 4 Γ 0 d i d i q d t
During sinusoidal pulsating injection the voltage consists of a single harmonic with the angular frequency of ω c in the form
u ̲ u d q = U 0 cos ω c t e j γ = U 0 cos ω c t cos γ U 0 cos ω c t sin γ = u d u q
where U 0 is the amplitude of the injected signal, γ = δ ϑ denotes the injection angle error measured from the d axis and δ is the injection angle measured from the α axis.
The linear parts of the voltage equations
u d = R i d ( 1 ) + L d d d i d ( 1 ) d t and u q = R i q ( 1 ) + L q q d i q ( 1 ) d t
determine the fundamental harmonics of the phase currents, i d ( 1 ) and i q ( 1 ) . The parametric forms of the quasi-stationary solutions are
i d ( 1 ) = I d ( 1 ) cos ω c t + φ d ( 1 ) and i q ( 1 ) = I q ( 1 ) cos ω c t + φ q ( 1 ) ,
where I d ( 1 ) and I q ( 1 ) are the amplitudes, φ d ( 1 ) and φ q ( 1 ) are the phases of the fundamental harmonics of the currents. The detailed definitions of the amplitudes and phases are included in Appendix C.
The quadratic terms of the voltage equations e d ( 2 ) and e q ( 2 ) act as the voltage sources for the second harmonics in the equations
0 V = R i d ( 2 ) + L d d d i d ( 2 ) d t 9 4 Γ 0 i d ( 1 ) d i d ( 1 ) d t 3 4 Γ 0 i q ( 1 ) d i q ( 1 ) d t e d ( 2 ) and
0 V = R i q ( 2 ) + L q q d i q ( 2 ) d t 3 4 Γ 0 d i d ( 1 ) i q ( 1 ) d t e q ( 2 ) .
Expressing e d ( 2 ) and e q ( 2 ) by substituting the fundamental harmonics of the currents (31) reveals that their angular frequency is 2 ω c .
e d ( 2 ) = 9 8 Γ 0 I d ( 1 ) 2 ω c sin 2 ω c t + 2 φ d ( 1 ) + 3 8 Γ 0 I q ( 1 ) 2 ω c sin 2 ω c t + 2 φ q ( 1 )
e q ( 2 ) = 3 4 Γ 0 I d ( 1 ) I q ( 1 ) ω c sin 2 ω c t + φ d ( 1 ) + φ q ( 1 )
The inductive-resistive linear parts of the model filter e d ( 2 ) and e q ( 2 ) to produce the second harmonics of the currents, i d ( 2 ) and i q ( 2 ) , respectively. The additional phase shifts η d ( 2 ) and η q ( 2 ) corresponding to 2 ω c angular frequency are
η d ( 2 ) = arctan R 2 ω c L d d and η q ( 2 ) = arctan R 2 ω c L q q .
The detailed definitions of the phase shifts that take into account the ambiguity introduced by inductance tracking, are included in Appendix C.
The quasi-stationary solutions of (32) and (33) are the second harmonics of the currents,
i d ( 2 ) = 9 8 I d ( 1 ) 2 | Γ 0 | cos 2 ω c t + 2 φ d ( 1 ) + η d ( 2 ) R 2 + 4 ω c 2 L d d 2 + 3 8 I q ( 1 ) 2 | Γ 0 | cos 2 ω c t + 2 φ q ( 1 ) + η d ( 2 ) R 2 + 4 ω c 2 L d d 2
and i q ( 2 ) = 3 4 I d ( 1 ) I q ( 1 ) | Γ 0 | cos 2 ω c t + φ d ( 1 ) + φ q ( 1 ) + η q ( 2 ) R 2 + ω c 2 L q q 2 .
To conclude this section, the inductive-resistive linear part of the model produces the fundamental harmonics of the response currents. Then the quadratic terms act as frequency doubling inner voltage sources. Finally, as a response to e d ( 2 ) and e q ( 2 ) , the linear part produces the second harmonics of the currents, i d ( 2 ) and i q ( 2 ) .

6.2. Validation of the Second Harmonic Generation

Our quadratic model extension predicts the second harmonic content of the d- and q-axis currents, (37) and (38). The second harmonics can be rearranged into forms
i d ( 2 ) = I d ( 2 ) cos ( 2 ω c t + φ d ( 2 ) ) and i q ( 2 ) = I q ( 2 ) cos ( 2 ω c t + φ q ( 2 ) ) ,
where I d ( 2 ) and I q ( 2 ) are the amplitudes, φ d ( 2 ) and φ q ( 2 ) are the phases of the second harmonics of the currents. The detailed definitions of the amplitudes and phases are included in Appendix C, (A12)–(A15).
The amplitudes and phases of the second harmonics are not constant values, they depend on the injection angle error γ and indirectly on the rotor position ϑ . We analyzed these properties to prove the correctness of our model extension.
Figure 7, Figure 8, Figure 9 and Figure 10 show the measured values of the amplitudes and phases, and compare them to the values predicted by the model. The measurement data are plotted as surfaces against the independent variables of the measurement. The comparison charts are plotted against the γ injection angle error, which is equal to the difference between the injection angle in the stationary reference frame δ and the electrical rotor position ϑ .
In this section we reused the pulsating injection measurement data acquired for the parameter identification where the amplitude of the injected voltage signal was 6.2   V . To put the amplitude values into context, the amplitudes of the fundamental harmonics of the currents were between 4.7   A and 6 A and the standard deviation of the current measurement was σ C M = 4.4   m A . The amplitude and phase values were produced by discrete Fourier-transforming the current signals.
Figure 7 shows the amplitude of the second harmonic of the d-axis current, I d ( 2 ) . Our model correctly predicts the values and the injection angle error dependency of I d ( 2 ) in the 4– 15   m A range, although there are certain δ - ϑ combinations where we can see systematic deviations from the model. Important to note that the current values were quiet high for our test motors yet the polarity dependent second harmonics were very small compared to the first harmonics. Figure 8 shows the phase of the second harmonic of the d-axis current, φ d ( 2 ) . The phase value is less noisy during injection in the + d and d directions where the I d ( 2 ) amplitude is higher and the phase value becomes unreliable when the injection happens in the + q or q directions.
Figure 9 and Figure 10 show the parameters of the second harmonic of the q-axis current. The measurement results are much noisier than the d-direction results. The amplitude predicted by the model is smaller than σ C M = 4.4   m A and the injection angle error dependence of I q ( 2 ) is unclear. The φ q ( 2 ) phase data are also noisy, however, a large number of the samples are in clusters around the predicted values.
We also performed measurements at 7 different injected voltage amplitudes. In these measurements, the voltage signals were injected in the d-direction and the measurement was repeated at 25 evenly distributed rotor positions. We analyzed the relationship between the amplitude of the fundamental harmonic and the properties of the second harmonic of the d-axis current. Figure 11 shows the measured and predicted amplitudes and phases of the second harmonic for different I d ( 1 ) values.
The relationship between the amplitudes of the fundamental and second harmonics of the d-axis current is quadratic and can be written in the form
I d ( 2 ) = 9 4 ω c Γ 0 R 2 + 4 ω c 2 L d d 2 I d ( 1 ) 2
when the injection angle error γ = 0 and consequently I q ( 1 ) = 0 A . Under the same circumstances, the phase of the second harmonic of the d-axis current is equal to
φ d ( 2 ) = 2 φ d ( 1 ) + η d ( 2 ) .
The model parameters for 1 k Hz injection frequency are listed in Table 2.

6.3. Separated Forms of the Voltage Equations

The model defined by (27) and (28) is a separable nonlinear differential equation system. We are not aware of a general analytical solution for arbitrary u d and u q voltage inputs. Therefore, we developed a form of the model that is more suitable for numerical simulation by separating the variables of (27) and (28) as can be seen in (42) and (43).
d i d d t = L q q 3 4 Γ 0 i d u d R i d + 3 4 Γ 0 i q u q R i q L d d 9 4 Γ 0 i d L q q 3 4 Γ 0 i d 9 16 Γ 0 2 i q 2
d i q d t = L d d 9 4 Γ 0 i d u q R i q Γ q d q i q u d R i d L d d 9 4 Γ 0 i d L q q 3 4 Γ 0 i d 9 16 Γ 0 2 i q 2
The domain of the differential equation system is limited by the divisions. In the case of our test motors, the absolute value of i q must be smaller than 1808 A to avoid division by zero, which is much higher than the physically realizable current, and therefore, does not provide a practical limitation.

7. Polarity Detection Based on the Second Harmonic of the D -Axis Current

Polarity detection is performed in the initial position detection phase after the saliency tracking algorithm found the + d or the d axis. At that point the estimated rotor position is either ϑ ^ ϑ (i.e., γ 0 ) or ϑ ^ ϑ + π (i.e., γ π ). The inductance matrices of the correct + d / + q and opposite d / q coordinate systems are equal because
L ̲ ̲ L d q opposite = T ̲ ̲ T ϑ + π L ̲ ̲ L α β ϑ T ̲ ̲ T 1 ϑ + π = L d d 0 0 L q q = L ̲ ̲ L d q .
Therefore, the inductance-based algorithms cannot distinguish between +d/+q and opposite d / q coordinate systems.
The Hessian matrix, however, which takes the form
Γ ̲ ̲ Γ α β ϑ = I ̲ ̲ I 2 T ̲ ̲ T T ϑ T ̲ ̲ T 1 ϑ I ̲ ̲ I 2 T ̲ ̲ T ϑ Γ ̲ ̲ Γ d q T ̲ ̲ T ϑ = 3 4 Γ 0 3 cos ϑ sin ϑ sin ϑ cos ϑ sin ϑ cos ϑ cos ϑ 3 sin ϑ
in the α β coordinate system, behaves differently. In the opposite d / q coordinate system (i.e., γ π ), the opposite Hessian is
Γ ̲ ̲ Γ d q opposite = I ̲ ̲ I 2 T ̲ ̲ T T 1 ϑ + π T ̲ ̲ T ϑ + π I ̲ ̲ I 2 Γ ̲ ̲ Γ α β ϑ T ̲ ̲ T 1 ϑ + π = Γ ̲ ̲ Γ d q ,
which is the opposite of Γ ̲ ̲ Γ d q . Then the motor behaves like if its Γ 0 opposite parameter were equal to Γ 0 . The quadratic terms of the voltage Equations (34) and (35) are affected by the sign change and the second harmonics of the currents undergo an additional 180 phase change (A11). As a consequence, the magnet polarity can be determined based on the phase of the second harmonic of the d-axis current. It should be noted that it would be possible to use a signed amplitude instead of a phase change. In addition, the injection in the d -direction is equivalent to γ = 180 injection angle error in the correct + d / + q coordinate system.
We can decide if the coordinate system is + d / + q or d / q based on the phase of i d ( 2 ) . However, it is impractical to use the voltage signal as phase reference because the drive electronics introduce an unknown time delay between the digital I/O ports and the motor windings. Instead, the fundamental harmonic of the d-axis current is used as reference signal and the polarity-dependent quantity is
Δ φ d ( 2 ) = φ d ( 2 ) 2 φ d ( 1 )
which is the phase difference between the second and the fundamental harmonic of i d . Based on (A13) the phase differences are
Δ φ d ( 2 ) γ = 0 = η d ( 2 ) and Δ φ d ( 2 ) γ = π = η d ( 2 ) π .
Figure 12 shows the measured current as well as the measured and predicted second harmonics for γ = 0 and γ = π . The measured i d ( 2 ) curves are in fact the even harmonic contents of the current signals.

7.1. The Properties of the Apparent D-Axis Current

The injection angle error is not guaranteed to be exactly 0 or π during polarity detection. The apparent current vector ı ^ ̲ ı ^ d measured in the estimated d q system is a projection of the actual i ̲ i d q current vector that takes the form
ı ^ ̲ ı ^ d q = R ̲ ̲ R γ i ̲ i d q = cos γ sin γ sin γ cos γ i d i q
from where the apparent d-axis current is
ı ^ d = i d cos γ + i q sin γ .
The phase difference between the second and fundamental harmonic of ı ^ d is
Δ φ ^ d ( 2 ) = φ ^ d ( 2 ) 2 φ ^ d ( 1 ) ,
where φ ^ d ( 1 ) and φ ^ d ( 2 ) are the phases of the fundamental and second harmonics of ı ^ d . The detailed definitions of the amplitudes and phases are included in Appendix C.3, (A16)–(A19).
Figure 13 shows the measured and predicted values of the apparent phase difference. Our model reliably predicts the phase difference. The data show that polarity detection is the most reliable around the + d and d directions.

7.2. Comparison to a Purely Inductive Model

Figure 12 and Figure 13 also show the predicted second harmonics and phase difference for the case of neglected phase resistance ( i d ( 2 ) R = 0 and Δ φ ^ d ( 2 ) R = 0 , both plotted in green). The phase difference Δ φ ^ d ( 2 ) R = 0 is equal to 0 at the north pole and 180 at the south pole which are equivalent to the phase differences estimated based on [4,35,36]. Compared to the measured values, the error of the purely inductive model is 23.5 . The proposed model, taking into account the phase resistance, provides a better prediction for the phase of the second harmonic, and the error is about 3.2 .
References [4,35,36] do not quantify the coefficients of the quadratic term and therefore cannot be used to estimate the amplitude of i d ( 2 ) . To evaluate the effect of the neglected phase resistance, we set R to zero in the proposed model to calculate i d ( 2 ) R = 0 . The purely inductive model slightly overestimates the amplitude of i d ( 2 ) . The proposed model accurately predicts the polarity dependent second harmonic of i d for pulsating sinusoidal voltage injection.

7.3. Sensorless Polarity Detection Based on D-Direction Pulsating Injection

Figure 14 shows the signal processing system we designed for initial position detection that is capable of extracting the polarity information from the measured phase currents. The system is a combined and modified version of [12,26,35]. The two main components of the initial position detection algorithm are the d-axis tracking and the polarity detection that are based on coherent amplitude demodulation. The coherent reference signal generation requires synchronization to the apparent d-axis current which is achieved by the phase detection subsystem that calculates φ ^ d ( 1 ) , the phase of the fundamental harmonic of the apparent d-axis current. The phase detection is based on I/Q-demodulation and complex argument calculation. In our implementation φ ^ d ( 1 ) is constant, and therefore it is determined only once at startup before d-axis search and polarity detection.
The coherent amplitude demodulation algorithm applied in the polarity detection subsystem uses r 2 ( t ) = cos 2 ω c t + α 2 as reference signal. The output of the demodulation is proportional to the L 2 -inner product of ı ^ d and r 2 ,
ı ^ d , r 2 = 0 T I ^ d ( 2 ) cos ( 2 ω c t + φ d ( 2 ) ) cos 2 ω c t + α 2 d t = I ^ d ( 2 ) π cos ( φ d ( 2 ) α 2 ) 2 ω c
where 2 ω c T = 2 π . To maximize its absolute value, α 2 has to be set to
α 2 = φ d ( 2 ) 2 φ ^ d ( 1 ) + η d ( 2 )
The η d ( 2 ) and φ q ( 1 ) φ d ( 1 ) phase shifts are constant values and has to be precomputed using (36), (A9) and (A10) by substituting γ = 0 . The output of the demodulation in the polarity detection subsystem is positive in the + d / + q system and negative in the d / q . The value of ε is zero in the former case, whereas π in the latter case.
In the case of our test motors, the measurement results plotted in Figure 13 show that η d ( 2 ) = 23.5 . The proposed model predicts η d ( 2 ) = 20.25 , while a purely inductive model predicts η d ( 2 ) = 0 . This means that the proposed model provides better phase coherence. The output of the demodulation is 99.8% of the theoretical maximum for the proposed model and 91.7% for the purely inductive model. The better phase coherence results in slightly better performance in noisy environment and faster polarity detection.

8. Conclusions

In this article, a quadratic flux-linkage model extension was presented for the sensorless control of PMSM drives. The purpose of the model extension was to accurately predict the polarity-dependent second harmonic content of the motor currents. The model extension is based on the Taylor series expansion of the flux-linkage function. It does not introduce discontinuities and is not limited to the d-direction. The model extension introduces a new machine parameter, the polarity-dependent saliency coefficient Γ 0 , which describes the susceptibility of the machine to polarity-dependent saturation. The parameters of the extended machine model were determined by measurements.
We provide an approximate analytical solution of the proposed machine model for sinusoidal pulsating voltage injection where the phase resistances are not neglected. The model predicts polarity dependent second harmonic generation. The article presents measurement data showing that the predicted amplitudes and phases of the second harmonics are correct. Data for the comparison of the proposed model and a purely inductive model is also presented. It is shown that the proposed model provides more accurate prediction of the phase difference between the fundamental and second harmonics of the d-axis current. The proposed model also provides formulae for the calculation the amplitude of the second harmonics. Both the presented measurement data and the proposed model show that injection in the d-direction is optimal for polarity detection. Polarity detection using q-direction injection is impractical.
In future research work, we plan to analyze the frequency dependence of Γ 0 and investigate the existence of an optimal injection frequency for polarity detection. Moreover, we plan to measure the Hessians of other PMSM types to see if the constants introduced in (21) are machine specific.

Author Contributions

Conceptualization, I.S. and D.F.; methodology, I.S., K.E. and H.M.; software, I.S. and K.E.; validation, I.S. and K.E.; formal analysis, I.S.; investigation, I.S.; resources, D.F.; data curation, I.S.; writing—original draft preparation, I.S. and H.M.; writing—review and editing, I.S., D.F., K.E. and H.M.; visualization, I.S.; supervision, D.F.; project administration, D.F.; funding acquisition, D.F. All authors have read and agreed to the published version of the manuscript.

Funding

The research was supported by the Ministry of Innovation and Technology NRDI Office within the framework of the Autonomous Systems National Laboratory Program. This work has been supported by the ZalaZONE Automotive Proving Ground Zala Ltd.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PMSMPermanent magnet synchronous motor
HFSIHigh-frequency signal injection
FPGAField-programmable gate array
FIFOFirst-in first-out
MOSFETMetal-oxide-semiconductor field-effect transistor

Appendix A. Kronecker Product

The Kronecker product of two matrices is
A ̲ ̲ A B ̲ ̲ B = a 11 B ̲ ̲ B a 1 n B ̲ ̲ B a m 1 B ̲ ̲ B a m n B ̲ ̲ B ,
where A ̲ ̲ A is an m × n matrix and B ̲ ̲ B is a p × q matrix, and the Kronecker product A ̲ ̲ A B ̲ ̲ B is a p m × q n block matrix.
The Kronecker product of the 2 × 2 identity matrix and the transpose of the d q current vector is
I ̲ ̲ I 2 i ̲ i d q T = 1 i ̲ i d q T 0 i ̲ i d q T 0 i ̲ i d q T 1 i ̲ i d q T = i d i q 0 0 0 0 i d i q .

Appendix B. Discretization and Numeric Differencing Formulae

In the discretization formulae k denotes the index of the sample, T S denotes the sampling time and N denotes the number of the samples. The voltage and current regressor vectors were constructed using (A3) and (A4).
u d , k = u d k T S , u ̲ u d = u d , 1 u d , N T , u q , k = u q k T S , u ̲ u q = u q , 1 u q , N T
i d , k = i d k T S , i ̲ i d = i d , 1 i d , N T , i q , k = i q k T S , i ̲ i q = i q , 1 i q , N T
We calculated the derivatives of the phase currents d d and d q using the central differencing formulae
d d , k = i d , k + 1 i d , k 1 2 T S , d ̲ d d = d d , 1 d d , N T and
d q , k = i q , k + 1 i q , k 1 2 T S , d ̲ d q = d q , 1 d q , N T
for the inner samples and forward and backward differencing at the endpoints to keep the signal length unchanged N.
The regressors of the quadratic terms can be rearranged into the product forms
1 2 d i d 2 d t = i d d i d d t , d i d i q d t = i d d i q d t + i q d i d d t , and 1 2 d i q 2 d t = i q d i q d t .
Their discrete-time equivalents are
q ̲ q d = i ̲ i d d ̲ d d , q ̲ q d q = i ̲ i d d ̲ d q + i ̲ i q d ̲ d d , and q ̲ q q = i ̲ i q d ̲ d q
respectively, where ∘ denotes the element-wise product of the column vectors.

Appendix C. Solutions of the Voltage Equations for Sinusoidal Pulsating Injection

The following equations define the amplitudes and phases in such forms that ensure that the amplitudes of the signals are positive quantities at any injection angle error and in both the true + d / + q and opposite d / q coordinate systems. U 0 is also defined to be positive.
In the formulae for the phases atan 2 ( y , x ) is the two-argument or four-quadrant inverse tangent function. There are different variants of the function. We used the one that is defined for zero inputs as atan 2 ( 0 , 0 ) = 0 . The imaginary unit is j = 1 .

Appendix C.1. Fundamental Harmonics

The fundamental harmonics of the currents are
i d ( 1 ) = U 0 | cos γ | R 2 + ω c 2 L d d 2 I d ( 1 ) cos ω c t + atan 2 ω c L d d cos γ , R cos γ φ d ( 1 ) and
i q ( 1 ) = U 0 | sin γ | R 2 + ω c 2 L q q 2 I q ( 1 ) cos ω c t + atan 2 ω c L q q sin γ , R sin γ φ q ( 1 ) .
The general forms of the phase shifts caused by the quadratic terms and the resistive-inductive filtering at 2 ω c angular frequency that takes into account the 180 ambiguity of the opposite coordinate system are
η d ( 2 ) = atan 2 R Γ 0 , 2 ω c L d d Γ 0 and η q ( 2 ) = atan 2 R Γ 0 , 2 ω c L q q Γ 0 .

Appendix C.2. Second Harmonics

The second harmonic of the d-axis current is i d ( 2 ) = I d ( 2 ) cos ( 2 ω c t + φ d ( 2 ) ) where the amplitude and the phase are
I d ( 2 ) = 3 4 ω c | Γ 0 | 9 I d ( 1 ) 4 + 6 I d ( 1 ) 2 I q ( 1 ) 2 cos ( 2 φ d ( 1 ) 2 φ q ( 1 ) ) + I q ( 1 ) 4 R 2 + 4 ω c 2 L d d 2 and
φ d ( 2 ) = atan 2 ( 3 I d ( 1 ) 2 cos ( 2 φ d ( 1 ) + η d ( 2 ) ) + I q ( 1 ) 2 cos ( 2 φ q ( 1 ) + η d ( 2 ) ) , 3 I d ( 1 ) 2 sin ( 2 φ d ( 1 ) + η d ( 2 ) ) + I q ( 1 ) 2 sin ( 2 φ q ( 1 ) + η d ( 2 ) ) ) .
The second harmonic of the q-axis current is i q ( 2 ) = I q ( 2 ) cos ( 2 ω c t + φ q ( 2 ) ) where the amplitude and the phase are
I q ( 2 ) = 3 4 ω c | Γ 0 | I d ( 1 ) I q ( 1 ) R 2 + 4 ω c L q q 2 , and
φ q ( 2 ) = φ d ( 1 ) + φ q ( 1 ) + η q ( 2 ) .

Appendix C.3. Apparent D Direction Current

The amplitude of the fundamental harmonic of the apparent d-axis current is
I ^ d ( 1 ) = I d ( 1 ) 2 cos 2 γ + I d ( 1 ) I q ( 1 ) cos ( φ d ( 1 ) φ q ( 1 ) ) sin ( 2 γ ) + I q ( 1 ) 2 sin 2 γ .
The phase of the fundamental harmonic of the apparent d-axis current is
φ ^ d ( 1 ) = atan 2 ( I d ( 1 ) sin φ d ( 1 ) cos γ + I q ( 1 ) sin φ q ( 1 ) sin γ , I d ( 1 ) cos φ d ( 1 ) cos γ + I q ( 1 ) cos φ q ( 1 ) sin γ ) .
The amplitude of the second harmonic of the apparent d-axis current is
I ^ d ( 2 ) = I d ( 2 ) 2 cos 2 γ + I d ( 2 ) I q ( 2 ) cos ( φ d ( 2 ) φ q ( 2 ) ) sin ( 2 γ ) + I q ( 2 ) 2 sin 2 γ .
The phase of the second harmonic of the apparent d-axis current is
φ ^ d ( 2 ) = atan 2 ( I d ( 2 ) sin φ d ( 2 ) cos γ + I q ( 2 ) sin φ q ( 2 ) sin γ , I d ( 2 ) cos φ d ( 2 ) cos γ + I q ( 2 ) cos φ q ( 2 ) sin γ ) .

Appendix D. Additional Parameter Identification Results (2 kHz)

The average values of the inductances were L d d = 155   μ H and L q q = 188   μ H for 2 k Hz injection frequency.
Figure A1. The identified values of the d q inductance matrix for 2 k Hz injection frequency (200 measurement points, 3.6 resolution in terms of electrical angle).
Figure A1. The identified values of the d q inductance matrix for 2 k Hz injection frequency (200 measurement points, 3.6 resolution in terms of electrical angle).
Energies 15 01131 g0a1
Figure A2. The identified values of the d q Hessian matrix for 2 k Hz injection frequency (200 measurement points, 3.6 resolution in terms of electrical angle).
Figure A2. The identified values of the d q Hessian matrix for 2 k Hz injection frequency (200 measurement points, 3.6 resolution in terms of electrical angle).
Energies 15 01131 g0a2
The best fit for the polarity-dependent saliency coefficient was Γ 0 = 0.146   μ H / A .
The model parameters for 2 k Hz injection frequency are listed in Table A1.
Table A1. The model parameters for 2 k Hz injection frequency.
Table A1. The model parameters for 2 k Hz injection frequency.
ParameterNotationValue
Phase resistanceR715 m Ω
d-axis self-inductance L d d 155 μ H
q-axis self-inductance L q q 188 μ H
Polarity dependent saliency coefficient Γ 0 0.146 μ H A

References

  1. De Kock, H.W.; Kamper, M.J.; Kennel, R.M. Anisotropy comparison of reluctance and PM synchronous machines for position sensorless control using HF carrier injection. IEEE Trans. Power Electron. 2009, 24, 1905–1913. [Google Scholar] [CrossRef]
  2. Rind, S.J.; Jamil, M.; Amjad, A. Electric Motors and Speed Sensorless Control for Electric and Hybrid Electric Vehicles: A Review. In Proceedings of the 2018 53rd International Universities Power Engineering Conference (UPEC), Scotland, UK, 4–7 September 2018; pp. 1–6. [Google Scholar] [CrossRef]
  3. Tan, L.N.; Cong, T.P.; Cong, D.P. Neural Network Observers and Sensorless Robust Optimal Control for Partially Unknown PMSM With Disturbances and Saturating Voltages. IEEE Trans. Power Electron. 2021, 36, 12045–12056. [Google Scholar] [CrossRef]
  4. Jeong, Y.S.; Lorenz, R.; Jahns, T.; Sul, S.K. Initial rotor position estimation of an interior permanent-magnet synchronous machine using carrier-frequency injection methods. IEEE Trans. Ind. Appl. 2005, 41, 38–45. [Google Scholar] [CrossRef] [Green Version]
  5. Zhao, Y.; Yu, H.; Wang, S. An Improved Super-Twisting High-Order Sliding Mode Observer for Sensorless Control of Permanent Magnet Synchronous Motor. Energies 2021, 14, 6047. [Google Scholar] [CrossRef]
  6. Bojoi, R.; Pastorelli, M.; Bottomley, J.; Giangrande, P.; Gerada, C. Sensorless control of PM motor drives—A technology status review. In Proceedings of the 2013 IEEE Workshop on Electrical Machines Design, Control and Diagnosis (WEMDCD), Paris, France, 11–12 March 2013; pp. 168–182. [Google Scholar] [CrossRef]
  7. Wei, J.; Xu, H.; Zhou, B.; Zhang, Z.; Gerada, C. An Integrated Method for Three-Phase AC Excitation and High-Frequency Voltage Signal Injection for Sensorless Starting of Aircraft Starter/Generator. IEEE Trans. Ind. Electron. 2019, 66, 5611–5622. [Google Scholar] [CrossRef]
  8. Hua, Y.; Zhu, H. Sensorless Control of Bearingless Permanent Magnet Synchronous Motor Based on LS-SVM Inverse System. Electronics 2021, 10, 265. [Google Scholar] [CrossRef]
  9. Lehmann, O.; Schuster, J.; Roth-Stielow, J. Sensorless Control Techniques as Redundancy for the Control of Permanent Magnet Synchronous Machines in Electric Vehicles. In Proceedings of the 2014 IEEE Vehicle Power and Propulsion Conference (VPPC), Coimbra, Portugal, 27–30 October 2014; pp. 1–6. [Google Scholar] [CrossRef]
  10. Jarzebowicz, L.; Karwowski, K.; Kulesza, W.J. Sensorless algorithm for sustaining controllability of IPMSM drive in electric vehicle after resolver fault. Control Eng. Pract. 2017, 58, 117–126. [Google Scholar] [CrossRef]
  11. Briz, F.; Degner, M.W. Rotor position estimation—A review of high-frequency methods. IEEE Ind. Electron. Mag. 2011, 5, 24–36. [Google Scholar] [CrossRef]
  12. Holtz, J. Initial rotor polarity detection and sensorless control of PM synchronous machines. In Proceedings of the Conference Record of the 2006 IEEE Industry Applications Conference Forty-First IAS Annual Meeting, Tampa, FL, USA, 8–12 October 2006; Volume 4, pp. 2040–2047. [Google Scholar] [CrossRef]
  13. Liu, Y.; Fang, J.; Tan, K.; Huang, B.; He, W. Sliding Mode Observer with Adaptive Parameter Estimation for Sensorless Control of IPMSM. Energies 2020, 13, 5991. [Google Scholar] [CrossRef]
  14. Marchesoni, M.; Passalacqua, M.; Vaccaro, L.; Calvini, M.; Venturini, M. Performance improvement in a sensorless surface-mounted PMSM drive based on rotor flux observer. Control Eng. Pract. 2020, 96, 104276–104286. [Google Scholar] [CrossRef]
  15. Dilys, J.; Stankevič, V.; Łuksza, K. Implementation of Extended Kalman Filter with Optimized Execution Time for Sensorless Control of a PMSM Using ARM Cortex-M3 Microcontroller. Energies 2021, 14, 3491. [Google Scholar] [CrossRef]
  16. Vas, P. Sensorless Vector and Direct Torque Control; Monographs in Electrical and Electronic Engineering; Oxford University Press: Oxford, UK, 1998. [Google Scholar]
  17. Wang, G.; Valla, M.; Solsona, J. Position Sensorless Permanent Magnet Synchronous Machine Drives—A Review. IEEE Trans. Ind. Electron. 2020, 67, 5830–5842. [Google Scholar] [CrossRef]
  18. Bianchi, N.; Bolognani, S.; Jang, J.H.; Sul, S.K. Comparison of PM Motor Structures and Sensorless Control Techniques for Zero-Speed Rotor Position Detection. IEEE Trans. Power Electron. 2007, 22, 2466–2475. [Google Scholar] [CrossRef]
  19. Xu, D.; Wang, B.; Zhang, G.; Wang, G.; Yu, Y. A review of sensorless control methods for AC motor drives. CES Trans. Electr. Mach. Syst. 2018, 2, 104–115. [Google Scholar] [CrossRef]
  20. Guo, L.; Yang, Z.; Lin, F. A Novel Strategy for Sensorless Control of IPMSM with Error Compensation Based on Rotating High Frequency Carrier Signal Injection. Energies 2020, 13, 1919. [Google Scholar] [CrossRef]
  21. Linke, M.; Kennel, R.; Holtz, J. Sensorless position control of permanent magnet synchronous machines without limitation at zero speed. In Proceedings of the IEEE 2002 28th Annual Conference of the Industrial Electronics Society, Sevilla, Spain, 5–8 November 2002; Volume 1, pp. 674–679. [Google Scholar] [CrossRef]
  22. Zhao, C.; Tanaskovic, M.; Percacci, F.; Mariéthoz, S.; Gnos, P. Sensorless Position Estimation for Slotless Surface Mounted Permanent Magnet Synchronous Motors in Full Speed Range. IEEE Trans. Power Electron. 2019, 34, 11566–11579. [Google Scholar] [CrossRef]
  23. Wang, Z.; Yao, B.; Guo, L.; Jin, X.; Li, X.; Wang, H. Initial Rotor Position Detection for Permanent Magnet Synchronous Motor Based on High-Frequency Voltage Injection without Filter. World Electr. Veh. J. 2020, 11, 71. [Google Scholar] [CrossRef]
  24. Szalay, I.; Kohlrusz, G.; Fodor, D. Modeling of slotless surface-mounted PM synchronous motor for sensorless applications. In Proceedings of the 2014 IEEE International Electric Vehicle Conference, Florence, Italy, 17–19 December 2014; pp. 1–5. [Google Scholar] [CrossRef]
  25. Murakami, S.; Shiota, T.; Ohto, M.; Ide, K.; Hisatsune, M. Encoderless Servo Drive With Adequately Designed IPMSM for Pulse-Voltage-Injection-Based Position Detection. IEEE Trans. Ind. Appl. 2012, 48, 1922–1930. [Google Scholar] [CrossRef]
  26. Kim, H.; Huh, K.K.; Lorenz, R.; Jahns, T. A novel method for initial rotor position estimation for IPM synchronous machine drives. IEEE Trans. Ind. Appl. 2004, 40, 1369–1378. [Google Scholar] [CrossRef] [Green Version]
  27. Nakashima, S.; Inagaki, Y.; Miki, I. Sensorless initial rotor position estimation of surface permanent-magnet synchronous motor. IEEE Trans. Ind. Appl. 2000, 36, 1598–1603. [Google Scholar] [CrossRef]
  28. Wang, Z.; Cao, Z.; He, Z. Improved Fast Method of Initial Rotor Position Estimation for Interior Permanent Magnet Synchronous Motor by Symmetric Pulse Voltage Injection. IEEE Access 2020, 8, 59998–60007. [Google Scholar] [CrossRef]
  29. Tursini, M.; Petrella, R.; Parasiliti, F. Initial rotor position estimation method for PM motors. IEEE Trans. Ind. Appl. 2003, 39, 1630–1640. [Google Scholar] [CrossRef]
  30. Lee, W.J.; Sul, S.K. A New Starting Method of BLDC Motors Without Position Sensor. IEEE Trans. Ind. Appl. 2006, 42, 1532–1538. [Google Scholar] [CrossRef]
  31. Hu, H.; Xu, G.; Hu, B. A New Start Method for Sensorless Brushless DC Motor Based on Pulse Injection. In Proceedings of the 2009 Asia-Pacific Power and Energy Engineering Conference, Wuhan, China, 28–30 March 2009; pp. 1–5. [Google Scholar] [CrossRef]
  32. Bi, G.; Wang, G.; Zhang, G.; Zhao, N.; Xu, D. Low-Noise Initial Position Detection Method for Sensorless Permanent Magnet Synchronous Motor Drives. IEEE Trans. Power Electron. 2020, 35, 13333–13344. [Google Scholar] [CrossRef]
  33. Raca, D.; Harke, M.C.; Lorenz, R.D. Robust Magnet Polarity Estimation for Initialization of PM Synchronous Machines With Near-Zero Saliency. IEEE Trans. Ind. Appl. 2008, 44, 1199–1209. [Google Scholar] [CrossRef]
  34. Wang, Y.; Guo, N.; Zhu, J.; Duan, N.; Wang, S.; Guo, Y.; Xu, W.; Li, Y. Initial Rotor Position and Magnetic Polarity Identification of PM Synchronous Machine Based on Nonlinear Machine Model and Finite Element Analysis. IEEE Trans. Magn. 2010, 46, 2016–2019. [Google Scholar] [CrossRef] [Green Version]
  35. Zossak, S.; Stulraiter, M.; Makys, P.; Sumega, M. Initial Position Detection of PMSM. In Proceedings of the 2018 IEEE 9th International Symposium on Sensorless Control for Electrical Drives (SLED), Helsinki, Finland, 13–14 September 2018; pp. 12–17. [Google Scholar] [CrossRef]
  36. Filka, R.; Balazovic, P.; Dobrucky, B. Transducerless speed control with initial position detection for low cost PMSM drives. In Proceedings of the 2008 13th International Power Electronics and Motion Control Conference, Poznań, Poland, 1–3 September 2008; pp. 1402–1408. [Google Scholar] [CrossRef]
  37. Kumar, P.; Bottesi, O.; Calligaro, S.; Alberti, L.; Petrella, R. Self-Adaptive High-Frequency Injection Based Sensorless Control for Interior Permanent Magnet Synchronous Motor Drives. Energies 2019, 12, 3645. [Google Scholar] [CrossRef] [Green Version]
  38. Choi, J. Regression Model-Based Flux Observer for IPMSM Sensorless Control with Wide Speed Range. Energies 2021, 14, 6249. [Google Scholar] [CrossRef]
  39. Benjak, O.; Gerling, D. Review of position estimation methods for PMSM drives without a position sensor, part III: Methods based on saliency and signal injection. In Proceedings of the 2010 International Conference on Electrical Machines and Systems, Incheon, Korea, 10–13 October 2010; pp. 873–878. [Google Scholar]
Figure 1. (a) The cross-section and main components of the Maxon EC4-pole 45 252463, a two pole-pairs slotless PMSM, that we used as test motor. (b) A photo showing one of the test motors.
Figure 1. (a) The cross-section and main components of the Maxon EC4-pole 45 252463, a two pole-pairs slotless PMSM, that we used as test motor. (b) A photo showing one of the test motors.
Energies 15 01131 g001
Figure 2. Our experimental PMSM drive and measurement environment.
Figure 2. Our experimental PMSM drive and measurement environment.
Energies 15 01131 g002
Figure 3. The schematics of our experimental PMSM drive and measurement environment.
Figure 3. The schematics of our experimental PMSM drive and measurement environment.
Energies 15 01131 g003
Figure 4. The voltage and current data acquired at ϑ = 1.36 electrical rotor position plotted in the d q coordinate system. (a) Voltage signals. (b) Current signals.
Figure 4. The voltage and current data acquired at ϑ = 1.36 electrical rotor position plotted in the d q coordinate system. (a) Voltage signals. (b) Current signals.
Energies 15 01131 g004
Figure 5. The identified values of the d q inductance matrix (200 measurement points, 3.6 resolution in terms of electrical angle).
Figure 5. The identified values of the d q inductance matrix (200 measurement points, 3.6 resolution in terms of electrical angle).
Energies 15 01131 g005
Figure 6. The identified values of the d q Hessian matrix (200 measurement points, 3.6 resolution in terms of electrical angle).
Figure 6. The identified values of the d q Hessian matrix (200 measurement points, 3.6 resolution in terms of electrical angle).
Energies 15 01131 g006
Figure 7. The amplitude of the second harmonic of i d . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Figure 7. The amplitude of the second harmonic of i d . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Energies 15 01131 g007
Figure 8. The phase of the second harmonic of i d . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Figure 8. The phase of the second harmonic of i d . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Energies 15 01131 g008
Figure 9. The amplitude of the second harmonic of i q . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Figure 9. The amplitude of the second harmonic of i q . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Energies 15 01131 g009
Figure 10. The phase of the second harmonic of i q . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Figure 10. The phase of the second harmonic of i q . (a) Measurement data plotted against the injection angle and electrical rotor position ( 18 × 200 points). (b) Comparison of the measured and predicted values (3600 points).
Energies 15 01131 g010
Figure 11. Comparison of the measured and model predicted values for the properties of the second harmonic of the d-axis current (calculated from 7 × 25 measurements). (a) Amplitude I d ( 2 ) . (b) Phase φ d ( 2 ) . The error bars indicate the standard deviation.
Figure 11. Comparison of the measured and model predicted values for the properties of the second harmonic of the d-axis current (calculated from 7 × 25 measurements). (a) Amplitude I d ( 2 ) . (b) Phase φ d ( 2 ) . The error bars indicate the standard deviation.
Energies 15 01131 g011
Figure 12. The measured d-axis current, it’s even harmonic content and the predicted second harmonic. (a) Injection in the + d / + q coordinate system. (b) Injection in the d / q coordinate system.
Figure 12. The measured d-axis current, it’s even harmonic content and the predicted second harmonic. (a) Injection in the + d / + q coordinate system. (b) Injection in the d / q coordinate system.
Energies 15 01131 g012
Figure 13. Comparison of the measured and model predicted phase difference values between the second and fundamental harmonics of the apparent d-axis current (3600 points).
Figure 13. Comparison of the measured and model predicted phase difference values between the second and fundamental harmonics of the apparent d-axis current (3600 points).
Energies 15 01131 g013
Figure 14. The sensorless initial position and polarity detection algorithm.
Figure 14. The sensorless initial position and polarity detection algorithm.
Energies 15 01131 g014
Table 1. Datasheet parameters of the Maxon EC4-pole 45 252463 type.
Table 1. Datasheet parameters of the Maxon EC4-pole 45 252463 type.
ParameterValueParameterValue
Nominal power200 W Maximum rated continuous current 4.16 A
Nominal voltage48 V Terminal-to-terminal resistance878 m Ω
Nominal speed6120/ min Terminal-to-terminal inductance350 μ H
Torque constant 74.5   m NmA Rotor inertia200 g cm 2
Stall torque4070 mNm Mechanical time constant 3.16 ms
Starting current 54.7 A Number of pole-pairs2
Table 2. The model parameters for 1 k Hz injection frequency.
Table 2. The model parameters for 1 k Hz injection frequency.
ParameterNotationValue
Phase resistanceR550 m Ω
d-axis self-inductance L d d 158 μ H
q-axis self-inductance L q q 182 μ H
Polarity dependent saliency coefficient Γ 0 0.125 μ H A
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Szalay, I.; Fodor, D.; Enisz, K.; Medve, H. Permanent Magnet Synchronous Motor Model Extension for High-Frequency Signal Injection-Based Sensorless Magnet Polarity Detection. Energies 2022, 15, 1131. https://doi.org/10.3390/en15031131

AMA Style

Szalay I, Fodor D, Enisz K, Medve H. Permanent Magnet Synchronous Motor Model Extension for High-Frequency Signal Injection-Based Sensorless Magnet Polarity Detection. Energies. 2022; 15(3):1131. https://doi.org/10.3390/en15031131

Chicago/Turabian Style

Szalay, István, Dénes Fodor, Krisztián Enisz, and Hunor Medve. 2022. "Permanent Magnet Synchronous Motor Model Extension for High-Frequency Signal Injection-Based Sensorless Magnet Polarity Detection" Energies 15, no. 3: 1131. https://doi.org/10.3390/en15031131

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

Article Metrics

Back to TopTop