sensorless position estimation of permanent-magnet ... - arxiv

9
arXiv:1207.5743v1 [math.OC] 24 Jul 2012 1 Sensorless position estimation of Permanent-Magnet Synchronous Motors using a saturation model Al Kassem Jebai, François Malrait, Philippe Martin and Pierre Rouchon Abstract—Sensorless control of Permanent-Magnet Syn- chronous Motors (PMSM) at low velocity remains a challenging task. A now well-established method consists in injecting a high- frequency signal and use the rotor saliency, both geometric and magnetic-saturation induced. This paper proposes a clear and original analysis based on second-order averaging of how to recover the position information from signal injection; this analysis blends well with a general model of magnetic saturation. It also proposes a simple parametric model of the saturated PMSM, based on an energy function which simply encompasses saturation and cross-saturation effects. Experimental results on a surface-mounted PMSM and an interior magnet PMSM illustrate the relevance of the approach. Index Terms—Permanent-magnet synchronous motor, sensor- less position estimation, signal injection, magnetic saturation, energy-based modeling, averaging. I. I NTRODUCTION P ERMANENT-Magnet Synchronous Motors (PMSM) are widely used in industry. In the so-called “sensorless” mode of operation, the rotor position and velocity are not measured and the control law must make do with only current measurements. While sensorless control at medium to high velocities is well understood, with many reported control schemes and industrial products, sensorless control at low velocity remains a challenging task. The reason is that observability degenerates at zero velocity, causing a serious problem in the necessary rotor position estimation. A now well-established method to overcome this problem is to add some persistent excitation by injecting a high-frequency signal [1] and use the rotor saliency, whether geometric for Interior Permanent-Magnet machines or induced by main flux saturation for Surface Permanent-Magnet machines [2]–[10]. Signal injection is moreover considered as a standard building block in hybrid control schemes for complete drives operating from zero to full speed [11]–[15]. However to get a good position estimation under high- load condition it is important to take cross-saturation into account [16]–[26]. It is thus necessary to rely on a model of the saturated PMSM adapted to control purposes, i.e. rich enough to capture in particular cross-saturation but also simple enough to be used in real-time and to be easily identified in the field; see [27]–[32] for references more or less in this spirit. The contribution of this paper, which builds on the prelimi- nary work [33], is twofold: on the one hand it proposes a clear A-K. Jebai, P. Martin and P. Rouchon are with the Centre Automatique et Systèmes, MINES ParisTech, 75006 Paris, France {al-kassem.jebai, philippe.martin, pierre.rouchon}@mines-paristech.fr F. Malrait is with Schneider Toshiba Inverter Europe, 27120 Pacy-sur-Eure, France [email protected] and original analysis based on second-order averaging of how to recover the position information from signal injection; this analysis can accommodate to any form of injected signals, e.g. square signals as in [34], and blends well with a general model of magnetic saturation including cross-saturation. On the other hand a simple parametric model of the saturated PMSM, well-adapted to control purposes, is introduced; it is based on an energy function which simply encompasses saturation and cross-saturation effects. The paper runs as follows: section II presents the saturation model. In section III position estimation by signal injection is studied thanks to second-order averaging. Section IV is devoted to the estimation of the parameters entering the saturation model using once again signal injection and averag- ing. Finally section IV-C experimentally demonstrates on two kinds of motors (with interior magnets and surface-mounted magnets) the relevance of the approach and the necessity of considering saturation to correctly estimate the position. II. AN ENERGY- BASED MODEL OF THE SATURATED PMSM A. Notations In the sequel we denote by x ij := (x i ,x j ) T the vector made from the real numbers x i and x j , where ij can be dq, αβ or γδ. We also define the matrices M μ := cos μ - sin μ sin μ cos μ and K := 0 -1 1 0 , and we have the useful relation dM μ = KM μ = M μ K. B. Energy-based model The model of a two-axis PMSM expressed in the syn- chronous d - q frame reads dq dt = u dq - Ri dq - ωK(φ dq + φ m ) (1) J n 2 dt = 3 2 i T dq K(φ dq + φ m ) - τ L n (2) dt = ω, (3) with φ dq flux linkage due to the current; φ m := (λ, 0) T con- stant flux linkage due to the permanent magnet; u dq impressed voltage and i dq stator current; ω and θ rotor (electrical) speed and position; R stator resistance; n number of pole pairs; J inertia moment and τ L load torque. The physically impressed voltages are u αβ := M θ u dq while the physically measurable

Upload: others

Post on 21-Apr-2022

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sensorless position estimation of Permanent-Magnet ... - arXiv

arX

iv:1

207.

5743

v1 [

mat

h.O

C]

24 J

ul 2

012

1

Sensorless position estimation of Permanent-MagnetSynchronous Motors using a saturation model

Al Kassem Jebai, François Malrait, Philippe Martin and Pierre Rouchon

Abstract—Sensorless control of Permanent-Magnet Syn-chronous Motors (PMSM) at low velocity remains a challengingtask. A now well-established method consists in injecting ahigh-frequency signal and use the rotor saliency, both geometricand magnetic-saturation induced. This paper proposes a clearand original analysis based on second-order averaging of howto recover the position information from signal injection; thisanalysis blends well with a general model of magnetic saturation.It also proposes a simple parametric model of the saturatedPMSM, based on an energy function which simply encompassessaturation and cross-saturation effects. Experimental results on asurface-mounted PMSM and an interior magnet PMSM illustratethe relevance of the approach.

Index Terms—Permanent-magnet synchronous motor, sensor-less position estimation, signal injection, magnetic saturation,energy-based modeling, averaging.

I. I NTRODUCTION

PERMANENT-Magnet Synchronous Motors (PMSM) arewidely used in industry. In the so-called “sensorless”

mode of operation, the rotor position and velocity are notmeasured and the control law must make do with onlycurrent measurements. While sensorless control at mediumto high velocities is well understood, with many reportedcontrol schemes and industrial products, sensorless control atlow velocity remains a challenging task. The reason is thatobservability degenerates at zero velocity, causing a seriousproblem in the necessary rotor position estimation.

A now well-established method to overcome this problem isto add some persistent excitation by injecting a high-frequencysignal [1] and use the rotor saliency, whether geometric forInterior Permanent-Magnet machines or induced by main fluxsaturation for Surface Permanent-Magnet machines [2]–[10].Signal injection is moreover considered as a standard buildingblock in hybrid control schemes for complete drives operatingfrom zero to full speed [11]–[15].

However to get a good position estimation under high-load condition it is important to take cross-saturation intoaccount [16]–[26]. It is thus necessary to rely on a modelof the saturated PMSM adapted to control purposes, i.e. richenough to capture in particular cross-saturation but also simpleenough to be used in real-time and to be easily identified in thefield; see [27]–[32] for references more or less in this spirit.

The contribution of this paper, which builds on the prelimi-nary work [33], is twofold: on the one hand it proposes a clear

A-K. Jebai, P. Martin and P. Rouchon are with the Centre Automatique etSystèmes, MINES ParisTech, 75006 Paris, Franceal-kassem.jebai,philippe.martin, [email protected]

F. Malrait is with Schneider Toshiba Inverter Europe, 27120Pacy-sur-Eure,[email protected]

and original analysis based on second-order averaging of howto recover the position information from signal injection;thisanalysis can accommodate to any form of injected signals,e.g. square signals as in [34], and blends well with a generalmodel of magnetic saturation including cross-saturation.Onthe other hand a simple parametric model of the saturatedPMSM, well-adapted to control purposes, is introduced; itis based on an energy function which simply encompassessaturation and cross-saturation effects.

The paper runs as follows: section II presents the saturationmodel. In section III position estimation by signal injectionis studied thanks to second-order averaging. Section IV isdevoted to the estimation of the parameters entering thesaturation model using once again signal injection and averag-ing. Finally section IV-C experimentally demonstrates on twokinds of motors (with interior magnets and surface-mountedmagnets) the relevance of the approach and the necessity ofconsidering saturation to correctly estimate the position.

II. A N ENERGY-BASED MODEL OF THE SATURATEDPMSM

A. Notations

In the sequel we denote byxij := (xi, xj)T the vector

made from the real numbersxi andxj , whereij can bedq,αβ or γδ. We also define the matrices

Mµ :=

(cosµ − sinµsinµ cosµ

)and K :=

(0 −11 0

),

and we have the useful relation

dMµ

dµ= KMµ = MµK.

B. Energy-based model

The model of a two-axis PMSM expressed in the syn-chronousd− q frame reads

dφdq

dt= udq −Ridq − ωK(φdq + φm) (1)

J

n2

dt=

3

2iTdqK(φdq + φm)−

τLn

(2)

dt= ω, (3)

with φdq flux linkage due to the current;φm := (λ, 0)T con-stant flux linkage due to the permanent magnet;udq impressedvoltage andidq stator current;ω andθ rotor (electrical) speedand position;R stator resistance;n number of pole pairs;Jinertia moment andτL load torque. The physically impressedvoltages areuαβ := Mθudq while the physically measurable

Page 2: Sensorless position estimation of Permanent-Magnet ... - arXiv

2

currents areiαβ := Mθidq. The current can be expressedin function of the flux linkage thanks to a suitable energyfunctionH(φd, φq) by

idq = Idq(φdq) :=

(∂1H(φd, φq)∂2H(φd, φq)

), (4)

where∂kH denotes the partial derivative w.r.t. thekth vari-able [35], [36]; without loss of generalityH(0, 0) = 0.Such a relation between flux linkage and current naturallyencompasses cross-saturation effects.

For an unsaturated PMSM this energy function reads

Hl(φd, φq) =1

2Ld

φ2d +

1

2Lq

φ2q

where Ld and Lq are the motor self-inductances, and werecover the usual linear relations

id = ∂1Hl(φd, φq) =φd

Ld

iq = ∂2Hl(φd, φq) =φq

Lq

.

Notice the expression forH should respect the symmetryof the PMSM w.r.t the direct axis, i.e.

H(φd,−φq) = H(φd, φq), (5)

which is obviously the case forHl. Indeed (1)–(3) is leftunchanged by the transformation

(ud, uq, φd, φq, id, iq, ω, θ, τL) →

(ud,−uq, φd,−φq, id,−iq,−ω,−θ,−τL).

C. Parametric description of magnetic saturation

Magnetic saturation can be accounted for by consideringa more complicated magnetic energy functionH, havingHl

for quadratic part but including also higher-order terms. Fromexperiments saturation effects are well captured by consideringonly third- and fourth-order terms, hence

H(φd, φq) = Hl(φd, φq)

+3∑

i=0

α3−i,iφ3−id φi

q +4∑

i=0

α4−i,iφ4−id φi

q.

This is a perturbative model where the higher-order termsappear as corrections of the dominant termHl. The ninecoefficientsαij together withLd, Lq are motor dependent.But (5) impliesα2,1 = α0,3 = α3,1 = α1,3 = 0, so that theenergy function eventually reads

H(φd, φq) = Hl(φd, φq) + α3,0φ3d + α1,2φdφ

2q

+ α4,0φ4d + α2,2φ

2dφ

2q + α0,4φ

4q. (6)

From (4) and (6) the currents are then explicitly given by

id =φd

Ld

+ 3α3,0φ2d + α1,2φ

2q + 4α4,0φ

3d + 2α2,2φdφ

2q (7)

iq =φq

Lq

+ 2α1,2φdφq + 2α2,2φ2dφq + 4α0,4φ

3q, (8)

which are the so-called flux-current magnetization curves.

To conclude, the model of the saturated PMSM is givenby (1)–(3) and (7)-(8), withφd, φq, ω, θ as state variables.The magnetic saturation effects are represented by the fiveparametersα3,0, α1,2, α4,0, α2,2, α0,4.

D. Model with id, iq as state variables

The model of the PMSM is usually expressed with currentsas state variables. This can be achieved here by time differen-tiating idq = Idq(φdq),

didqdt

= DIdq(φdq)dφdq

dt,

with dφdq

dtgiven by (1). Fluxes are then expressed asφdq =

I−1dq (idq) by inverting the nonlinear relations (7)-(8); rather

than performing the exact inversion, we can take advantageof the fact the coefficientsαi,j are experimentally small. Atfirst order w.r.t. theαi,j we haveφd = Ldid +O(|αi,j |) andφq = Lqiq+O(|αi,j |); plugging these expressions into (7)-(8)and neglectingO(|αi,j |

2) terms, we easily find

φd = Ld

(id − 3α3,0L

2di

2d − α1,2L

2qi

2q

− 4α4,0L3di

3d − 2α2,2LdL

2qidi

2q

)(9)

φq = Lq

(iq − 2α1,2LdLqidiq−

2α2,2L2dLqi

2diq − 4α0,4L

3qi

3q

). (10)

Notice the matrix(Gdd(idq) Gdq(idq)Gdq(idq) Gqq(idq)

):= DIdq

(I−1dq (idq)

), (11)

with coefficients easily found to be

Gdd(idq) =1

Ld

+ 6α3,0Ldid + 12α4,0L2di

2d + 2α2,2L

2qi

2q

Gdq(idq) = 2α1,2Lqiq + 4α2,2LdidLqiq

Gqq(idq) =1

Lq

+ 2α1,2Ldid + 2α2,2L2di

2d + 12α0,4L

2qi

2q,

is by construction symmetric; indeed

DIdq(φdq) =

(∂11H(φd, φq) ∂21H(φd, φq)∂12H(φd, φq) ∂22H(φd, φq)

)

and∂12H = ∂21H. Therefore the inductance matrix(Ldd(idq) Ldq(idq)Ldq(idq) Lqq(idq)

):=

(Gdd(idq) Gdq(idq)Gdq(idq) Gqq(idq)

)−1

.

is also symmetric, though this is not always acknowledged insaturation models encountered in the literature.

III. POSITION ESTIMATION BY HIGH FREQUENCY VOLTAGE

INJECTION

A. Signal injection and averaging

A general sensorless control law can be expressed as

uαβ = Mθcuγδ (12)dθcdt

= ωc (13)

dt= a

(Mθciγδ, θc, η, t

)(14)

ωc = Ωc

(Mθciγδ, θc, η, t

)(15)

uγδ = Uγδ

(Mθciγδ, θc, η, t

), (16)

Page 3: Sensorless position estimation of Permanent-Magnet ... - arXiv

3

where the measured currentsiαβ = Mθciγδ are used tocomputeuγδ, ωc and the evolution of the internal (vector)variableη of the controller;θc andωc are known by design.

It will be convenient to write the system equations (1)–(3)in the γ − δ frame defined byxγδ := Mθ−θcxdq, which gives

dφγδ

dt= uγδ −Riγδ − ωcKφγδ − ωKMθ−θcφm (17)

J

n2

dt=

3

2iTγδK(φγδ +Mθ−θcφm)−

τLn

(18)

dt= ω, (19)

where from (7)-(8) currents and fluxes are related by

iγδ = Mθ−θcIdq(MTθ−θc

φγδ). (20)

To estimate the position we will superimpose on somedesirable control law (16) a fast-varying pulsating voltage,

uγδ = Uγδ

(Mθciγδ, θc, η, t

)+ uγδf(Ωt), (21)

wheref is a 2π-periodic function with zero mean anduγδ

could like Uγδ depend onMθciγδ, θc, η, t (though it is al-ways taken constant in the sequel). The constant pulsationΩ is chosen “large”, so thatf(Ωt) can be seen as a “fast”oscillation; typicallyΩ := 2π × 500 rad/s in the experimentsin section IV-C.

If we apply this modified control law to (17)–(19), then itcan be shown the solution of the closed loop system is

φγδ = φγδ +uγδ

ΩF (Ωt) +O(

1

Ω2) (22)

ω = ω +O(1

Ω2) (23)

θ = θ +O(1

Ω2) (24)

θc = θc +O(1

Ω2) (25)

η = η +O(1

Ω2), (26)

whereF is the primitive off with zero mean (F clearly hasthe same period asf ); (φγδ, ω, θ, θc, η) is the “slowly-varying”component of(φγδ, ω, θ, θc, η), i.e. satisfies

dφγδ

dt= uγδ −Riγδ − ωcKφγδ − ωKMθ−θc

φm

J

n2

dt=

3

2iT

γδK(φγδ +Mθ−θcφm)−

τLn

dt= ω

dθcdt

= ωc

dt= a

(Mθc

iγδ, θc, η, t),

where

iγδ = Mθ−θcIdq(M

T

θ−θcφγδ) (27)

ωc = Ωc

(Mθc

iγδ, θc, η, t)

uγδ = Uγδ

(Mθc

iγδ, θc, η, t).

Notice this slowly-varying system is exactly the same as (17)–(19) acted upon by the unmodified control law (12)–(16). Inother words adding signal injection:

• has a very small effect of orderO( 1Ω2 ) on the mechanical

variablesθ, ω and the controller variablesθc, η• has a small effect of orderO( 1

Ω) on the fluxφγδ; thiseffect will be used in the next section to extract theposition information from the measured currents.

The proof relies on a direct application of second-orderaveraging of differential equations, see [37] section2.9.1and for the slow-time dependance section3.3. Indeed settingε := 1

Ω , σ := tε, andx := (φγδ, ω, θ, θc, η), (17)–(19) acted

upon by the modified control law (12)–(15) and (21) is inthe so-called standard form for averaging (with slow-timedependance)

dx

dσ= εf1(x, εσ, σ) := ε

(f1(x, εσ) + f1(x, εσ)f(σ)

),

with f1 T -periodic w.r.t. its third variable (T = 2π in ourcase) andε as a small parameter. Therefore its solution canbe approximated as

x(σ) = z(σ) + ε(u1(z(σ), εσ, σ

)+O(ε2),

wherez(σ) is the solution of

dz

dσ= εg1(z, εσ) + ε2g2(z, εσ)

and

g1(y, εσ) :=1

T

∫ T

0

f1(y, εσ, s)ds = f1(y, εσ)

v1(y, εσ, σ) :=

∫ σ

0

(f1(y, εσ, s)− g1(y, εσ)

)ds

= f1(y, εσ)

∫ σ

0

f(s)ds

u1(y, εσ, σ) := v1(y, εσ, σ)−1

T

∫ T

0

v1(y, εσ, s)ds

= f1(y, εσ)F (σ)

K2(y, εσ, σ) := ∂1f1(y, εσ, σ)u1(y, εσ, σ)

− ∂1u1(y, εσ, σ)g1(y, εσ)

= [f1, f1](y, εσ)F (σ)

+1

2∂1f1(y, εσ)f1(y, εσ)

dF 2(σ)

g2(y, εσ) :=1

T

∫ T

0

K2(y, εσ, s)ds = 0.

We have set

[f1, f1](y, εσ) :=∂1f1(y, εσ)f1(y, εσ)−∂1f1(y, εσ)f1(y, εσ)

andF (σ) :=∫ σ

0 f(s)ds− 1T

∫ T

0

∫ σ

0 f(s)dsdσ, i.e.F is the (ofcourseT -periodic) primitive off with zero mean.

Translating back to the original variables eventually yieldsthe desired result (22)–(26).

Page 4: Sensorless position estimation of Permanent-Magnet ... - arXiv

4

B. Position estimation

We now express the effect of signal injection on the cur-rents: plugging (22) into (20) we have

iγδ = Mθ−θc+O( 1

Ω2)

Idq

(MT

θ−θc+O( 1

Ω2)

(φγδ +

uγδ

ΩF (Ωt) +O(

1

Ω2)))

= iγδ + iγδF (Ωt) +O(1

Ω2), (28)

where we have used (27) and performed a first-order expansionto get

iγδ := Mθ−θcDIdq

(MT

θ−θcφγδ

)MT

θ−θc

uγδ

Ω

= Mθ−θcDIdq

(I−1dq

(MT

θ−θciγδ))

MT

θ−θc

uγδ

Ω. (29)

We will see in the next section how to recoveriγδ and iγδfrom the measured currentsiγδ. Therefore (29) gives two(redundant) relations relating the unknown angleθ to theknown variablesθc, idq, iγδ, udq, provided the matrix

S(µ, iγδ) := MµDIdq

(I−1dq

(MT

µ iγδ))

MTµ

effectively depends on its first argumentµ. This “saliency con-dition” is what is needed to ensure nonlinear observability. Theexplicit expression forS(µ, iγδ) is obtained thanks to (11). Inthe case of an unsaturated magnetic circuit this matrix boilsdown to

S(µ, iγδ) = Mµ

(1Ld

0

0 1Lq

)MT

µ

=Ld+Lq

2LdLq

(1 +

Ld−Lq

Ld+Lqcos 2µ

Ld−Lq

Ld+Lqsin 2µ

Ld−Lq

Ld+Lqsin 2µ 1−

Ld−Lq

Ld+Lqcos 2µ

)

and does not depend oniγδ; notice this matrix does not dependon µ for an unsaturated machine with no geometric saliency.Notice also (29) defines in that case two solutions on]−π, π]for the angleθ sinceS(µ, iγδ) is actually a function of2µ;in the saturated case there is generically only one solution,except for some particular values ofiγδ.

There are several ways to extract the rotor angle informationfrom (29), especially for real-time use inside a feedback law. Inthis paper we just want to demonstrate the validity of (29) andwe will be content with directly solving it through a nonlinearleast square problem; in other words we estimate the rotorposition as

θ = θc + arg minµ∈]−π,π]

∥∥∥∥iγδ − S(µ, iγδ)uγδ

Ω

∥∥∥∥2

. (30)

C. Current demodulation

To estimate the position information using e.g. (30) it isnecessary to extract the low- and high-frequency componentsiγδ and iγδ from the measured currentiγδ. Since by (28)iγδ(t) ≈ iγδ(t)+ iγδ(t)F (Ωt) with iγδ andiγδ by construction

nearly constant on one period ofF , we may write

iγδ(t) ≈1

T

∫ t

t−T

iγδ(s)ds

iγδ(t) ≈

∫ t

t−Tiγδ(s)F (Ωs)ds

∫ T

0 F 2(Ωs)ds,

whereT := 2πΩ . Indeed asF is 2π-periodic with zero mean,

∫ t

t−T

iγδ(s)ds ≈ iγδ(t)

∫ t

t−T

ds+ iγδ(t)

∫ t

t−T

F (Ωs)ds

= T iγδ(t)∫ t

t−T

iγδ(s)F (Ωs)ds ≈ iγδ(t)

∫ t

t−T

F (Ωs)ds

+ iγδ(t)

∫ t

t−T

F 2(Ωs)ds

= iγδ(t)

∫ T

0

F 2(Ωs)ds.

Fig. 1. Experimental time response ofid in (31)-(32)

IV. ESTIMATION OF MAGNETIC PARAMETERS

The seven parameters in the saturation model (7)-(8) mustof course be estimated. This can be done with a rather simpleprocedure also relying on signal injection and averaging.

A. Principle

The rotor is locked in the positionθ := 0, hence the model(1)–(3) reduces toω = 0 and

dφdq

dt= udq −Ridq, (31)

with idq = Idq(φdq). Moreoverudq can now be physicallyimpressed andidq physically measured.

As in section III-A, but now working directly in thed− qframe, we inject a fast-varying pulsating voltage

udq = udq + udqf(Ωt), (32)

with constantudq and udq. The solution of (31)-(32) is then

φdq = φdq +udq

ΩF (Ωt) +O(

1

Ω2)

Page 5: Sensorless position estimation of Permanent-Magnet ... - arXiv

5

TABLE IRATED AND ESTIMATED MAGNETIC PARAMETERS OF TEST MOTORS

Motor IPM SPM

Rated power 750 W 1500 W

Rated currentIn (peak) 4.51 A 5.19 A

Rated voltage (peak per phase)110 V 245 V

Rated speed 1800 rpm 3000 rpm

Rated torque 3.98 Nm 6.06 Nm

n 3 5

R 1.52 Ω 2.1 Ω

λ (peak) 196 mWb 155 mWb

Ld 9.15 mH 7.86 mH

Lq 13.58 mH 8.18 mH

α3,0L2

dIn 0.039 0.056

α1,2LdLqIn 0.053 0.055

α4,0L3

dI2n 0.0051 0.0164

α2,2LdL2qI

2n 0.0171 0.027

α0,4L3qI

2n 0.0060 0.0067

whereφdq, the “slowly-varying” component ofφdq, satisfies

dφdq

dt= ud −Rid, (33)

with idq = Idq(φdq). Moreover (29) now boils down to

idq = DIdq(I−1dq (idq)

) udq

Ω. (34)

Sinceudq is constant (33) impliesRidq tends toudq, henceafter an initial transientidq is constant. As a consequenceidqis by (34) also constant. Fig. 1 shows for instance the timeresponse ofid for the SPM motor of section IV-C startingfrom id(0) = 0 and using a square functionf ; notice thecurrent ripples seen on the scope aremaxτ∈[0,2π] F (τ) = π

2

(sincef is square with period2π) smaller thanidq.The magnetic parameters can then be estimated repeatedly

using (34) with various values ofudq and udq, as detailed inthe next section.

B. Estimation of the parameters

From (11) the entries ofDIdq(I−1dq (idq)

)are given by

Gdd(idq) =1

Ld

+ 6α3,0Ldid + 12α4,0L2di

2d + 2α2,2L

2qi

2q

Gdq(idq) = 2α1,2Lqiq + 4α2,2LdidLqiq

Gqq(idq) =1

Lq

+ 2α1,2Ldid + 2α2,2L2di

2d + 12α0,4L

2qi

2q.

Since combinations of the magnetic parameters always enterlinearly those equations, they can be estimated by simple linearleast squares; moreover by suitably choosingudq andudq, thewhole least squares problem for the seven parameters can besplit into several subproblems involving fewer parameters:

• with udq := 0, henceidq = 0, (34) reads

Ld =1

Ω

ud

id(35)

Lq =1

Ω

uq

iq(36)

• with uq = 0, henceiq = 0, and uq = 0 (34) reads

id =ud

Ω

(1

Ld

+ 6α3,0Ldid + 12α4,0L2di

2d

)(37)

iq = 0

• with ud = 0, henceid := 0, and uq = 0 (34) reads

id =ud

Ω

( 1

Ld

+ 2α2,2L2qi

2q

)(38)

iq =2ud

Ωα1,2Lqiq (39)

Fig. 2. IPM: fitted values vs measurements for (37) and (39)

Fig. 3. SPM: fitted values vs measurements for (37) and (39)

Page 6: Sensorless position estimation of Permanent-Magnet ... - arXiv

6

• with ud = 0, henceid := 0, and ud = 0 (34) reads

id =2uq

Ωα1,2Lqiq (40)

iq =uq

Ω

( 1

Lq

+ 12α0,4L2qi

2q

). (41)

Ld and Lq are then immediately determined from (35)and (36);α3,0 andα4,0 are jointly estimated by least squaresfrom (37);α2,2, α1,2 andα0,4 are separately estimated by leastsquares from respectively (38), (39)-(40) and (41).

C. Experimental setup

The methodology developed in the paper was tested ontwo types of motors, an Interior Magnet PMSM (IPM) and aSurface-Mounted PMSM (SPM), with rated parameters listedin the top part of table I.

The experimental setup consists of an industrial inverter(400V DC bus,4 kHz PWM frequency), an incremental enco-der, a dSpace fast prototyping system with 3 boards (DS1005,DS5202 and EV1048), and a host PC. The measurements

Fig. 4. Long test under various conditions for IPM: (a) measured θ − θc,estimatedθ − θc with and without saturation model; (b) measured speedω,reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

are sampled also at4 kHz, and synchronized with the PWMfrequency. The load torque is created by a4 kW DC motor.

D. Estimation of the magnetic parameters

We follow the procedure described in section IV: with therotor locked in the positionθ := 0, a square wave voltagewith frequencyΩ := 2π × 500 rad/s and constant amplitudeud or uq (15 V for the IPM, 14V for the SPM) is appliedto the motor; but for the determination ofLd, Lq whereud = uq := 0, several runs are performed with variousud (resp.uq) such thatid (resp. iq) ranges from−200% to+200% of the rated current. The magnetic parameters are thenestimated by linear least squares according to section IV-B,yielding the values in the bottom part of table I. Notice theSPM exhibits as expected little geometric saliency (Ld ≈ Lq)hence the saturation-induced saliency is paramount to estimatethe rotor position. Notice also the cross-saturation termα12 isas expected quantitatively important for both motors.

The good agreement between the fitted curves and themeasurements is demonstrated for instance for (37) and (39)

Fig. 5. Long test under various conditions for SPM: (a) measured θ − θc,estimatedθ − θc with and without saturation model; (b) measured speedω,reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

Page 7: Sensorless position estimation of Permanent-Magnet ... - arXiv

7

on Fig. 2-3; notice (37) corresponds to saturation on a singleaxis while (39) corresponds to cross-saturation.

E. Validation of the rotor position estimation procedure

The relevance of the position estimation methodology de-veloped in section III is now illustrated on the two test motors,using the parameters estimated in the previous section. Sincethe goal is only to test the validity of the angle estimationprocedure, a very simpleV/f open-loop (i.e.Ωc andUγδ donot depend oniγδ) control law is used for (12)–(16); a fast-varying (Ω := 2π × 500 rad/s) square voltage with constantamplitude is added in accordance with (21), resulting in

dθcdt

= ωc(t)

uγδ = urdγδ(t) + ωc(t)φm + uγδf(Ωt).

Hereωc(t) is the motor speed reference;urdγδ(t) is a filtered

piece-wise constant vector compensating the resistive voltagedrop in order to maintain the torque level and the motorstability; finally uγδ := (u, 0)T with u := 15V.

The rotor positionθ is then estimated according to (30).

Fig. 6. Slow speed reversal for IPM: (a) measuredθ, estimatedθ; (b)measured speedω, reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

1) Long test under various conditions, Fig. 4-5: Speed andtorque are changed over a period of210 seconds; the speedremains between±5% of the rated speed and the torque variesfrom 0% to 180% of the rated toque. This represents typicaloperation conditions at low speed.

When the saturation model is used the agreement betweenthe estimated positionθ and the measured positionθ is verygood, with an error always smaller than a few (electrical)degrees. By contrast the estimated error without using the sat-uration model (i.e. with all the magnetic saturation parametersαij taken to zero) can reach up to40 for the IPM and70

the SPM. This demonstrates the importance of consideringan adequate saturation model including in particular cross-saturation.

2) Slow speed reversal, Fig. 6-7: This is an excerpt of thelong experiment between35 s and55 s. The speed is slowlychanged from−0.2% to +0.2% of the rated speed at150% ofthe rated torque. This is a very demanding test since the motoralways remains in the poor observability region, moreoverunder high load. Once again the estimated angle closely agreeswith the measured angle.

Fig. 7. Slow speed reversal for SPM: (a) measuredθ, estimatedθ; (b)measured speedω, reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

Page 8: Sensorless position estimation of Permanent-Magnet ... - arXiv

8

3) Load step at zero speed, Fig. 8-9: This is an excerpt ofthe long experiment aroundt = 125 s. The load is suddenlychanged from0% to 100% of the rated torque while the motoris at rest. This test illustrates the quality of the estimation alsounder dynamic conditions.

V. CONCLUSION

We have presented a simple parametric model of the satu-rated PMSM together with a new procedure based on signalinjection for estimating the rotor angle at low speed relying onan original analysis based on second-order averaging. Thisisnot an easy problem in view of the observability degeneracyat zero speed. The method is general in the sense it canaccommodate virtually any control law, saturation model, andform of injected signal. The relevance of the method and theimportance of using an adequate magnetic saturation modelhas been experimentally demonstrated on a SPM motor withlittle geometric saliency as well as on an IPM motor.

REFERENCES

[1] P. Jansen and R. Lorenz, “Transducerless position and velocity esti-mation in induction and salient AC machines,”IEEE Trans. IndustryApplications, vol. 31, pp. 240–247, 1995.

Fig. 8. Load step at zero speed for IPM: (a) measuredθ, estimatedθ; (b)measured speedω, reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

[2] S. Ogasawara and H. Akagi, “An approach to real-time position estima-tion at zero and low speed for a PM motor based on saliency,”IEEETrans. Industry Applications, vol. 34, pp. 163–168, 1998.

[3] M. Corley and R. Lorenz, “Rotor position and velocity estimation fora salient-pole permanent magnet synchronous machine at standstill andhigh speeds,”IEEE Trans. Industry Applications, vol. 34, pp. 784–789,1998.

[4] T. Aihara, A. Toba, T. Yanase, A. Mashimo, and K. Endo, “Sensorlesstorque control of salient-pole synchronous motor at zero-speed opera-tion,” IEEE Trans. Power Electronics, vol. 14, pp. 202–208, 1999.

[5] A. Consoli, G. Scarcella, and A. Testa, “Industry application of zero-speed sensorless control techniques for PM synchronous motors,” IEEETrans. Industry Applications, vol. 37, no. 2, pp. 513–521, 2001.

[6] J.-I. Ha, K. Ide, T. Sawa, and S.-K. Sul, “Sensorless rotor positionestimation of an interior permanent-magnet motor from initial states,”IEEE Trans. Industry Applications, vol. 39, no. 3, pp. 761–767, 2003.

[7] J.-H. Jang, S.-K. Sul, J.-I. Ha, K. Ide, and M. Sawamura, “Sensorlessdrive of surface-mounted permanent-magnet motor by high-frequencysignal injection based on magnetic saliency,”IEEE Trans. IndustryApplications, vol. 39, pp. 1031–1039, 2003.

[8] J.-H. Jang, J.-I. Ha, M. Ohto, K. Ide, and S.-K. Sul, “Analysisof permanent-magnet machine for sensorless control based on high-frequency signal injection,”IEEE Trans. Industry Applications, vol. 40,no. 6, pp. 1595–1604, 2004.

[9] E. Robeischl and M. Schroedl, “Optimized INFORM measurementsequence for sensorless PM synchronous motor drives with respect tominimum current distortion,”IEEE Trans. Industry Applications, vol. 40,no. 2, pp. 591–598, 2004.

[10] S. Shinnaka, “A new speed-varying ellipse voltage injection method for

Fig. 9. Load step at zero speed for SPM: (a) measuredθ, estimatedθ; (b)measured speedω, reference speedωc; (c) load torqueτL; (d) voltagesurd

γδ

Page 9: Sensorless position estimation of Permanent-Magnet ... - arXiv

9

sensorless drive of permanent-magnet synchronous motors with polesaliency - New PLL method using high-frequency current componentmultiplied signal,” IEEE Trans. Industry Applications, vol. 44, no. 3,pp. 777–788, 2008.

[11] L. Harnefors and H.-P. Nee, “A general algorithm for speed and positionestimation of AC motors,”IEEE Trans. Industrial Electronics, vol. 47,no. 1, pp. 77–83, 2000.

[12] O. Wallmark, L. Harnefors, and O. Carlson, “An improvedspeed andposition estimator for salient permanent-magnet synchronous motors,”IEEE Trans. Industrial Electronics, vol. 52, no. 1, pp. 255–262, 2005.

[13] C. Silva, G. Asher, and M. Sumner, “Hybrid rotor position observer forwide speed-range sensorless PM motor drives including zerospeed,”IEEE Trans. Industrial Electronics, vol. 53, no. 2, pp. 373–378, 2006.

[14] A. Piippo, M. Hinkkanen, and J. Luomi, “Analysis of an adaptive ob-server for sensorless control of interior permanent magnetsynchronousmotors,”IEEE Trans. Industrial Electronics, vol. 55, no. 2, pp. 570–576,2008.

[15] G. Foo and M. Rahman, “Sensorless sliding-mode MTPA control of anIPM synchronous motor drive using a sliding-mode observer and HFsignal injection,”IEEE Trans. Industrial Electronics, vol. 57, no. 4, pp.1270–1278, 2010.

[16] P. Guglielmi, M. Pastorelli, and A. Vagati, “Cross-saturation effects inIPM motors and related impact on sensorless control,”IEEE Trans.Industry Applications, vol. 42, pp. 1516–1522, 2006.

[17] N. Bianchi, S. Bolognani, J.-H. Jang, and S.-K. Sul, “Comparison ofPM motor structures and sensorless control techniques for zero-speedrotor position detection,”IEEE Trans. Power Electronics, vol. 22, no. 6,pp. 2466–2475, 2007.

[18] J. Holtz, “Acquisition of position error and magnet polarity for sen-sorless control of PM synchronous machines,”IEEE Trans. IndustryApplications, vol. 44, no. 4, pp. 1172–1180, 2008.

[19] D. Reigosa, P. García, D. Raca, F. Briz, and R. Lorenz, “Measurementand adaptive decoupling of cross-saturation effects and secondary salien-cies in sensorless controlled IPM synchronous machines,”IEEE Trans.Industry Applications, vol. 44, no. 6, pp. 1758–1767, 2008.

[20] N. Bianchi, S. Bolognani, and A. Faggion, “Predicted and measurederrors in estimating rotor position by signal injection forsalient-polePM synchronous motors,” inIEEE International Electric Machines andDrives Conference, 2009, pp. 1565–1572.

[21] H. De Kock, M. Kamper, and R. Kennel, “Anisotropy comparison ofreluctance and PM synchronous machines for position sensorless controlusing HF carrier injection,”IEEE Trans. Power Electronics, vol. 24,no. 8, pp. 1905–1913, 2009.

[22] Y. Li, Z. Zhu, D. Howe, C. Bingham, and D. Stone, “Improved rotor-position estimation by signal injection in brushless AC motors, ac-counting for cross-coupling magnetic saturation,”IEEE Trans. IndustryApplications, vol. 45, pp. 1843–1850, 2009.

[23] P. Sergeant, F. De Belie, and J. Melkebeek, “Effect of rotor geometry andmagnetic saturation in sensorless control of PM synchronous machines,”IEEE Trans. Magnetics, vol. 45, no. 3, pp. 1756–1759, 2009.

[24] D. Raca, P. García, D. Reigosa, F. Briz, and R. Lorenz, “Carrier-signalselection for sensorless control of PM synchronous machines at zero andvery low speeds,”IEEE Trans. Industry Applications, vol. 46, no. 1, pp.167–178, 2010.

[25] N. Bianchi, E. Fornasiero, and S. Bolognani, “Effect ofstator androtor saturation on sensorless rotor position detection,”in IEEE EnergyConversion Congress and Exposition, 2011, pp. 1528–1535.

[26] Z. Zhu and L. Gong, “Investigation of effectiveness of sensorlessoperation in carrier-signal-injection-based sensorless-control methods,”IEEE Trans. Industrial Electronics, vol. 58, no. 8, pp. 3431–3439, 2011.

[27] F. Parasiliti and P. Poffet, “Model for saturation effects in high-field per-manent magnet synchronous motors,”IEEE Trans. Energy Conversion,vol. 4, no. 3, pp. 487–494, 1989.

[28] M. Cheng, K. Chau, and C. Chan, “Nonlinear varying-network magneticcircuit analysis for doubly salient permanent-magnet motors,” IEEETrans. Magnetics, vol. 36, no. 1 PART 2, pp. 339–348, 2000.

[29] B. Štumberger, G. Štumberger, D. Dolinar, A. Hamler, and M. Trlep,“Evaluation of saturation and cross-magnetization effects in interiorpermanent-magnet synchronous motor,”IEEE Trans. Industry Applica-tions, vol. 39, no. 5, pp. 1264–1271, 2003.

[30] K. Rahman and S. Hiti, “Identification of machine parameters of asynchronous motor,”IEEE Trans. Industry Applications, vol. 41, no. 2,pp. 557–565, 2005.

[31] G. Štumberger, B. Štumberger, B. Štumberger, M. Toman,andD. Dolinar, “Evaluation of experimental methods for determining themagnetically nonlinear characteristics of electromagnetic devices,”IEEETrans. Magnetics, vol. 41, no. 10, pp. 4030–4032, 2005.

[32] E. Armando, P. Guglielmi, G. Pellegrino, M. Pastorelli, and A. Vagati,“Accurate modeling and performance analysis of IPM-PMASR motors,”IEEE Trans. Industry Applications, vol. 45, no. 1, pp. 123–130, 2009.

[33] A. Jebai, F. Malrait, P. Martin, and P. Rouchon, “Estimation of saturationof permanent-magnet synchronous motors through an energy-basedmodel,” in IEEE International Electric Machines Drives Conference,2011, pp. 1316 –1321.

[34] Y.-D. Yoon, S.-K. Sul, S. Morimoto, and K. Ide, “High-bandwidth sen-sorless algorithm for AC machines based on square-wave-type voltageinjection,” IEEE Trans. Industry Applications, vol. 47, no. 3, pp. 1361–1370, 2011.

[35] D. Basic, F. Malrait, and P. Rouchon, “Euler-Lagrange models withcomplex currents of three-phase electrical machines and observabilityissues,”IEEE Trans. Automatic Control, vol. 55, pp. 212–217, 2010.

[36] D. Basic, A. K. Jebai, F. Malrait, P. Martin, and P. Rouchon, “UsingHamiltonians to model saturation in space vector representations ofAC electrical machines,” inAdvances in the theory of control, signalsand systems with physical modeling, ser. Lecture Notes in Control andInformation Sciences, J. Lévine and P. Müllhaupt, Eds. Springer, 2011,pp. 41–48.

[37] J. A. Sanders, F. Verhulst, and J. Murdock,Averaging methods in non-linear dynamical systems, 2nd ed., ser. Applied Mathematical Sciences.Springer, 2007, no. 59.