Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for...

10
MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.merl.com Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study Ma, Tong; Komatsu, Taiga; Wang, Bingnan; Wang, Yebin; Lin, Chungwei TR2019-122 October 31, 2019 Abstract Online temperature monitoring of electric motors is essential to the safety of the system under dynamic operation. The number of temperature sensors and their locations are often limited due to physical constraints and cost of the hardware, and the temperatures for most parts of a motor cannot be directly measured. To estimate the instantaneous temperature distribution of a motor, we design an observer for the real-time temperature monitoring using a thermal circuit model and limited measurements. Challenges imposed to the observer design include unknown heat sources and measurement noises. The observer needs to be able to simultaneously estimate all the hidden states and unknown inputs, while dealing with measurement noises. In this paper, different observers, including Kalman filter, Luenberger observer, adaptive observer, and modified proportional-derivative (PD) observer are designed to address the problem. We first give some background information of the problem, and introduce the thermal circuit model; then describe the observer designs with a focus on PD observer, which is more recently developed. The proposed observers are then implemented with simulations, and their performances are evaluated and compared. Annual Conference of the IEEE Industrial Electronics Society (IECON) This work may not be copied or reproduced in whole or in part for any commercial purpose. Permission to copy in whole or in part without payment of fee is granted for nonprofit educational and research purposes provided that all such whole or partial copies include the following: a notice that such copying is by permission of Mitsubishi Electric Research Laboratories, Inc.; an acknowledgment of the authors and individual contributions to the work; and all applicable portions of the copyright notice. Copying, reproduction, or republishing for any other purpose shall require a license with payment of fee to Mitsubishi Electric Research Laboratories, Inc. All rights reserved. Copyright c Mitsubishi Electric Research Laboratories, Inc., 2019 201 Broadway, Cambridge, Massachusetts 02139

Transcript of Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for...

Page 1: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

MITSUBISHI ELECTRIC RESEARCH LABORATORIEShttp://www.merl.com

Observer Designs for Simultaneous Temperature and LossEstimation for Electric Motors: A Comparative Study

Ma, Tong; Komatsu, Taiga; Wang, Bingnan; Wang, Yebin; Lin, Chungwei

TR2019-122 October 31, 2019

AbstractOnline temperature monitoring of electric motors is essential to the safety of the systemunder dynamic operation. The number of temperature sensors and their locations are oftenlimited due to physical constraints and cost of the hardware, and the temperatures for mostparts of a motor cannot be directly measured. To estimate the instantaneous temperaturedistribution of a motor, we design an observer for the real-time temperature monitoringusing a thermal circuit model and limited measurements. Challenges imposed to the observerdesign include unknown heat sources and measurement noises. The observer needs to beable to simultaneously estimate all the hidden states and unknown inputs, while dealing withmeasurement noises. In this paper, different observers, including Kalman filter, Luenbergerobserver, adaptive observer, and modified proportional-derivative (PD) observer are designedto address the problem. We first give some background information of the problem, andintroduce the thermal circuit model; then describe the observer designs with a focus on PDobserver, which is more recently developed. The proposed observers are then implementedwith simulations, and their performances are evaluated and compared.

Annual Conference of the IEEE Industrial Electronics Society (IECON)

This work may not be copied or reproduced in whole or in part for any commercial purpose. Permission to copy inwhole or in part without payment of fee is granted for nonprofit educational and research purposes provided that allsuch whole or partial copies include the following: a notice that such copying is by permission of Mitsubishi ElectricResearch Laboratories, Inc.; an acknowledgment of the authors and individual contributions to the work; and allapplicable portions of the copyright notice. Copying, reproduction, or republishing for any other purpose shall requirea license with payment of fee to Mitsubishi Electric Research Laboratories, Inc. All rights reserved.

Copyright c© Mitsubishi Electric Research Laboratories, Inc., 2019201 Broadway, Cambridge, Massachusetts 02139

Page 2: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study
Page 3: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

Observer Designs for Simultaneous Temperatureand Loss Estimation for Electric Motors: A

Comparative StudyTong Ma∗, Taiga Komatsu†, Bingnan Wang∗, Yebin Wang∗, Chungwei Lin∗

∗Mitsubishi Electric Research Laboraties, 201 Broadway, Cambridge, MA 02139, USA†Advanced R&D Center, Mitsubishi Electric Corp., 8-1-1 Tsukaguchihonmachi, Amagasaki, Hyogo, 661-8661, Japan

Abstract—Online temperature monitoring of electric motors isessential to the safety of the system under dynamic operation.The number of temperature sensors and their locations are oftenlimited due to physical constraints and cost of the hardware, andthe temperatures for most parts of a motor cannot be directlymeasured. To estimate the instantaneous temperature distributionof a motor, we design an observer for the real-time temperaturemonitoring using a thermal circuit model and limited measure-ments. Challenges imposed to the observer design include un-known heat sources and measurement noises. The observer needsto be able to simultaneously estimate all the hidden states andunknown inputs, while dealing with measurement noises. In thispaper, different observers, including Kalman filter, Luenbergerobserver, adaptive observer, and modified proportional-derivative(PD) observer are designed to address the problem. We first givesome background information of the problem, and introduce thethermal circuit model; then describe the observer designs witha focus on PD observer, which is more recently developed. Theproposed observers are then implemented with simulations, andtheir performances are evaluated and compared.

Index Terms—Electric motor; estimation; inverse problem;measurement noise, observer.

I. INTRODUCTION

Temperature monitoring is critical in electric motor de-velopment and operation to avoid overheating, which affectsthe condition of the machine and causes various prematuredegradation and damages [1]. For example, the overheat-ing of stator windings may lead to insulation failures; theoverheating of permanent magnets may lead to irreversibledemagnetization, etc. Installing temperature sensors in all thecomponents, especially the rotating part, of a machine iseither technically challenging, or prohibitively expensive. Forexample, in permanent magnet machines, the temperature ofthe permanent magnets has to be monitored closely; however,it is very difficult to measure the temperature directly.

On the other hand, the temperature rise in a motor is due tothe “heat sources” in the motor which converts energy of otherforms into thermal energy. Those heat sources include copperloss in windings, core loss in stator core, eddy current loss inpermanent magnets, windage loss, and so on [2]. In practice itis very difficult to identify the heat sources completely, eitherby experimental measurements or theoretical modeling. Forexample, the core loss in iron laminations, mainly caused bythe hysteresis loss and eddy current loss, can be affected by themotor manufacturing process. Theoretically, no existing model

can describe the process accurately. Experimentally, there isno good way to separate it apart from other heat sources.

The relationship between the heat sources and temperaturesat each component of a motor can be described by heatequation. In practice, due to the complicated geometry, theheat equation can be solved with numerical methods such asfinite-element simulations. Alternatively, it can be simplifiedwith an equivalent thermal circuit model, or a lumped thermalcircuit network [1], [2], where the circuit components, namelythermal resistances and thermal capacitances, are determinedby the geometry and material properties of the motor. How-ever, if the heat sources in the motor cannot be identified, thetemperature distribution cannot be calculated.

In this work, we combine a thermal model of the motor withan estimator/observer and limited temperature measurementsto simultaneously estimate the unknown heat sources and tem-perature distribution inside the motor. The proposed method isable to conduct the estimation in real-time, making it suitablefor online condition monitoring for electric machines.

Solving joint estimation problem, e.g. online inverse heattransfer problem, we simultaneously identify the heat sourcesand temperatures based on the heat transfer model. Two mainchallenges arise when it comes to electric motors. First is dueto measurement constraints. In practice only a few variablescan be measured due to technical or economic reasons [3], andthus fails the detectability or observability test required in ob-server design. Additional constraints on input are incorporatedinto the thermal model to facilitate observer design. An insighton measurements’ dimension and location can be obtained byexploring the detectability or observability. Another challengeis that, the estimation accuracy will be greatly affected bymeasurement noise. An observer needs to be developed withlimited measurements corrupted by noises.

Unknown input observer (UIO) [4] can achieve joint es-timation of system states and unknown inputs under certainconditions. Early work of UIO design mainly focuses on thestate estimation by avoiding the influence of the unknowninputs without reconstructing them. Later, the state estimationand unknown input reconstruction problems are considered.For example, the direct design procedure of full-order andreduced-order observer for linear systems with unknown in-puts are presented in [5]–[7]. Refs. [8], [9] deal with thesimultaneous state and input estimation problem based on

1

Page 4: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

reduced-order observers. Recently, UIOs for switched linearsystems are considered in [10], [11]. Handling of unknowndisturbances is discussed in [12], [13]. Because the output iscorrupted by measurement noise, measurement noise shouldbe taken into consideration when evaluating the performanceof observers. The problem of dealing with measurementnoise is discussed in [14]–[18]. A modified proportional andderivative (PD) observer technique is presented to decouplethe measurement noise and to obtain the estimation of thesystem states [14]. High-gain observer [15] switches betweentwo gain values to recover the system states and to reducethe effect of measurement noise on estimation error. A high-gain observer with a gain adapted online can handle withmeasurement noise and uncertainties [16]. In [17], a reduced-order observer is designed to estimate the system states, anda kind of simultaneous reconstruction method of the unknowninputs and measurement noises is developed. [18] developedan L1 adaptive descriptor for simultaneous estimation of all thehidden states, nonlinear uncertainties and measurement noisesas well as delivering a good tracking performance.

By augmenting the state vector with unknown inputs, wefirst design Luenberger observer and Kalman Filter to solvethe joint estimation problem as a state estimation problem.Second, by treating unknown inputs as parameters, the joint es-timation problem is cast into a state and parameter estimationproblem, for which an adaptive observer [19]–[22] is designed.Finally, a PD observer is designed to treat measurement noises[14]. For PD observer design, the original system should bedetectable and measurement noise should be bounded. Whensolving our joint estimation problem, we augment the originalsystem state with unknown inputs and measurement noise.In this approach, two design parameters provide additionaldegrees of freedom compared against Luenberger observer.The freedom of selecting these parameters allows us to choosethe derivative gain to reduce the noise amplification, theproportional gain to ensure the stability of the estimation errordynamics.

The rest of the paper is organized as follows: Section IIgives the description of the problem. In Section III differentobservers are designed for solving the online inverse heattransfer problem. The stability analysis of the error dynamicsis given in Section IV for adaptive observer and PD observer.Numerical simulation results are demonstrated in Section V.A comparison is carried out to evaluate the performance ofdifferent observers, including the quantification of convergencespeed and estimation error. Finally, the concluding remarks aregiven in Section VI.

II. PROBLEM DESCRIPTION

Figure 1 illustrates a quarter cross-section of an electricmotor used in the study. The nodes, numbered 1 through 33,represent spatial locations where the temperature is of interest.By incorporating thermodynamics with red nodes, one canderive a thermal circuit network, where the temperature ofeach node, thermal flow between nodes, thermal conductivity,

Fig. 1. Geometry of simplified electric motor.

and thermal capacity are analogous to voltage, current, resis-tance, and capacitance of an electric circuit network. Hence,the thermal circuit network induces dynamics of temperature atthese locations, which can be fully described by the followingmulti-input multi-output (MIMO) thermal circuit model:

T (t) = AT (t) +Bu(t) + V vyn(t) = CT (t) + n(t)

(1)

where T ∈ Rn is the temperature at all nodes, u(t) ∈ Rm

contains the unknown heat sources, yn ∈ Rp is the measuredtemperature, v ∈ Rq×1 corresponds to temperatures at theboundary of the motor, and n(t) ∈ Rp is the measurementnoise. System matrices A,B, V,C are of appropriate dimen-sions.

The thermal circuit model (1) contains four unknown heatsources: u1-the stator iron loss, u2-the stator copper loss, u3-the rotor copper loss, and u4-the magnet loss. Specifically,u1 is evenly distributed among nodes {1,5,9,13,17,21}; u2is evenly distributed among nodes {2,6,10,14,18,22}; u3 isevenly distributed among nodes {25,26,27,31}; and u4 isevenly distributed at nodes {28,29,30}. Our goal is to achievejoint estimation of temperature and heat sources in real time,which is abstracted as follows.

Problem 1: Given (1), construct a dynamical system asfollows

ξ = f(ξ, yn)

T = h1(ξ, yn)

u = h2(ξ, yn)

where ξ ∈ Rnξ such that ξ-dynamics are stable andlimt→∞ |T (t)− T (t)| = 0, limt→∞ |u(t)− u(t)| = 0.

To solve Problem 1, without constraints, the number ofsensors should be at least the same as the number of unknowns,which guarantees avoidance of the underdetermined cases.Besides that, for higher estimation accuracy, at least one sensorshould be placed nearby each heat source. However, it isdesired to avoid attaching sensors in the rotating parts dueto technical difficulty and economic cost. To estimate the

2

Page 5: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

temperature and heat loss distribution in the electric motorjust using the measurements from stationary parts leads tothe ill-conditioned problems. Hence, we want to explore someconstraints that can help ease the problem. One reasonableassumption is that the total heat source can be identified bymeasuring the input electric power and output torque. Anotherconstraint we can add is the stator winding loss, which can bemeasured by current and temperature sensors.

The constraints are formulated as below:u1(t) = c1 + 3αT1(t)I2(t)R∑m

i=1 ui(t) = c2 + 3αT1(t)I2(t)R(2)

where T1(t) is the temperature of stator winding, α is thetemperature coefficient of copper resistance, I(t) is current,c1 and c2 are all known constants.

Since there are 4 inputs in total, denote

B =[b1 b2 b3 b4

](3)

where bi is the corresponding column vector to input ui (i =1, 2, 3, 4).

Incorporating the constraints (2) into the circuit modeldefined in (1), a modified thermal model is derived as below:

T (t) = AT (t) + b1u1(t) + V v + (c2 − 6c1) b4

+[b2 − 6b4 b3 − b4

] [ u2(t)u3(t)

]yn(t) = y(t) + n(t)

(4)

After adding constraints, there are only two unknown heatsources in (4), u2 and u3. Denote

Bm =[b2 − 6b4 b3 − b4

](5)

Since the thermal circuit model has been established, nextstep is to design observers for online estimation of the tem-perature and heat loss distribution in the electric motor.

III. OBSERVER DESIGN

Four observers, namely, Kalman filter, Luenberger observer,adaptive observer, and PD observer, are designed for Problem1. Note that the observer design is developed on the basisof general linear time-invariant (LTI) systems (1). Observersdesign for the specific online inverse heat transfer problemstated in (4) will be given in Section V.

For simplicity, we introduce the following assumption.Assumption 2: Unknown heat losses u(t) are constant.Given Assumption 2, one can augment the state T in (1)

by treating u as states, and have the following extended state-space model [

T (t)u(t)

]= Ae

[T (t)u(t)

]+ Vev

yn(t) = Ce

[T (t)u(t)

]+ n(t)

(6)

where

Ae =

[A B

0m×n 0m×m

], Ve =

[V

0m×q

]Ce =

[C 0p×m

].

Denote

Co =

[Ae

Ce

](7)

Since the output matrix C contains the information of mea-surements’ size and location, the design of C should satisfy thedetectability requirement and it needs to be determined beforethe observer design. For the determination of measurements’size and location, check the rank and singular values of thematrix Co. If rank(Co) = n+m, and all the singular valuesare non-zeros, then the observer will work well with thedesigned C. Even though rank(Co) = n + m, if there existsome singular values equal to zeros or are almost zeros, itmeans there exist some modes in the system are difficult tobe detected, it is time-consuming to tune such an observer forhigher estimation accuracy.

A. Luenberger Observer

Given Eq. 6, a Luenberger observer can be designed toestimate T (t) and u(t) simultaneously. Its dynamics are for-mulated as below:[

˙T (t)˙u(t)

]=

[A B0 0

] [T (t)u(t)

]+

[V

0m×q

]v

+K(yn(t)− CT (t)

) (8)

where T and u denotes estimate of T and u respectively. Theresultant estimation error dynamics are[

˙T (t)˙u(t)

]= (Ae −KCe)

[T (t)u(t)

]+Kn(t) (9)

where T = T − T , u = u− u. From linear control theory, theestimation error dynamics (9) are stable if and only if the pair(Ae, Ce) is detectable. The error dynamics (9) are evidentlyaffected by the measurement noise.

B. Kalman filter

Different from Luenberger observer, Kalman filter (KF) of-fers an elegant treatment of uncertainties in measurements andprocess. For linear dynamical systems, KF produces optimalestimates in the sense of minimal convariance of estimationerror. Next we briefly describe the steps to apply KF to themodel (6).

We discretize (6) to have its discrete-time representation[Tkuk

]= Fk

[Tk−1uk−1

]+

[Vk

0m×q

]vk + wk

zk = Hk

[Tkuk

]+ nk

(10)

3

Page 6: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

where Fk is the discrete-time transition matrix. The prioriprediction step is given as below:[

Tk|k−1uk|k−1

]= Fk

[Tk−1|k−1uk−1|k−1

]+

[Vk

0m×q

]vk

Pk|k−1 = cov

([Tkuk

]−[Tk|k−1uk|k−1

])= FkPk−1|k−1F

Tk +Qk

(11)

where Pk|k−1 is the predicted error covariance. A posteriorcorrection updates the state and covariance as below

yk = zk −Hk

[Tk|k−1uk|k−1

]Kk = (FkPk−1|k−1F

Tk +Qk)HT

k

(Rk +Hk(FkPk−1|k−1FTk +Qk)HT

k )−1[Tk|kuk|k

]=

[Tk|k−1uk|k−1

]+Kkyk

Pk|k = cov

([Tkuk

]−[Tk|kuk|k

])= (I −KkHk)(FkPk−1|k−1F

Tk +Qk)(I −KkHk)T

+KkRkKTk

(12)where yk is the measurement residual, Kk is the optimalKalman gain, and Pk|k is the updated estimate covariance. KFyields stable estimation error dynamics if and only if (Ae, Ce)is detectable.

C. Adaptive observer

Adaptive observers are widely used for state and parameterestimation which enables adaptive control or fault estimationin fault detection and isolation [24]. By viewing u as unknownparameters, one can readily solve Problem 1 by applyingexisting linear adaptive observer design results.

First, we split the state T into two components T1 andT2, which corresponds to known v and unknown excitationu respectively. Their dynamics are derived as below:

T1(t) = (A−KC)T1(t) + V v +Ky(t)

T2(t) = (A−KC)T2(t) +Bu(t)(13)

The estimators for the subsystems in (13) are given by˙T 1(t) = (A−KC) T1(t) + V v +Kyn(t)˙T 2(t) = (A−KC) T2(t) +Bu(t) + σ(t)

(14)

where u(t) is an estimate of unknown u(t), and σ(t) compen-sates the estimation error caused by u(t). Since the subsystemT2 is excited by u and T2(0) = 0, we know

T2(t) = γ(t)u(t) (15)

Substitute (15) into (14), we can derive:

γ(t) = (A−KC) γ(t) +B, σ(t) = γ(t) ˙u(t) (16)

Eventually, we have the adaptive observer as follows˙T (t) = AT (t) +Bu(t) +K

(yn(t)− CT (t)

)+γ(t) ˙u(t) + V v

(17)

˙u(t) = ΓγT (t)CT Σ(yn(t)− CT (t)

)(18)

The resultant estimation error dynamics are as below:˙T (t) = (A−KC)T (t) +Bu(t) + γ(t) ˙u(t) +Kn(t)

˙u(t) = −ΓγT (t)CT Σ(yn(t)− CT (t)

) (19)

Stability analysis of (19) is a little trickier than that of KF andLuenberger observer, and we leave it to the next section.

D. PD Observer

PD observer is proposed for systems with measurementnoises. It estimates all states, unknown inputs and measure-ment noises at the same time. The model (6) is furtherextended by including the noise n(t) as state, which givesthe following dynamics

E ˙x(t) = Ax(t) +

[V

0(m+p)×q

]v + Nnp×1(t)

yn(t) = Cx(t)

(20)

where

xn(t) = np×1(t), x(t) =

T (t)u(t)xn(t)

,N =

[0Ip

], E =

[In+m 0(n+m)×p

0p×(n+m) 0p×p

],

A =

[Ae 0(n+m)×p

0p×(n+m) −Ip

],

C =[C 0p×m Ip

](21)

Given (20), PD observer is derived as below:(E + LC

)ξ(t) =

(A− KC

)ξ(t) +

[V

0(m+p)×q

]v

+ A(E + LC

)−1Lyn(t)

ˆx(t) = ξ(t) +(E + LC

)−1Lyn(t)

(22)

where L, K ∈ R(n+m+p)×p are gain matrices, and ˆx(t) isthe estimation of x(t) in (20). PD observer for Problem 1 isdepicted in Figure 2.

Compared with Luenberger observer, PD observer intro-duces two design parameters L and K which offer bettertradeoff between the convergence rate of the observer and therobustness to the measurement noise. In fact, the derivativegain L is chosen to minimize the amplification of the mea-surement noise, and the proportional gain K is selected toguarantee the stability of the error dynamics. As shown in thenext section, if the matrix pair (Ae, Ce) is detectable and thenoise is bounded, these two design parameters will providemore degrees of freedom.

4

Page 7: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

Fig. 2. Diagram of PD observer for Problem 1

IV. ANALYSIS

Stability analysis of the error dynamics result from PDobserver and adaptive observer is presented in this section.

A. Adaptive Observer

We first introduce a notation

η(t) = T (t)− γ(t)u(t) (23)

Substitute (23) into (19), we have

η(t) = (A−KC)η(t) +Kn(t)

˙u(t) = −ΓγT (t)CT ΣC (γ(t)u(t) + η(t)) + ΓγT (t)CT Σn(t)(24)

Stability of (24) depends on the following two AssumptionsAssumption 3: The matrix pair (A,C) is detectable.Assumption 4: For γ(t) = (A−KC) γ(t) +B, there exist

positive constants α, β, T such that ∀t > 0,

αI ≤∫ t+T

t

γT (τ)CT Σ(τ)Cγ(τ)dτ ≤ βI (25)

is satisfied.Recalling stability analysis in [24], one can establish that

(24) are exponentially stable if Assumptions 3 and 4 hold.

B. PD Observer

First, we will give the following theorem [14].Theorem 5: If the matrix pair (Ae, Ce) is detectable and

the noise is bounded, there exist the gain matrices L, K ∈R(n+m+p)×p for the observer defined in Eq. 22, such thatˆx(t) is an asymptotic estimate of x(t) in (20).Proof : Notice that

rank

[EC

]= rank

In+m 0(n+m)×p0p×(n+m) 0p×p

Ce Ip

= n+m+ p

(26)

then there exists L ∈ R(n+m+p)×p such thatrank

(E + LC

)= n + m + p, which means

(E + LC

)is

invertible.

For explicit(E + LC

), write L =

[L1

L2

], where L1 ∈

R(n+m)×p, L2 ∈ Rp×p, it can be shown that

C(E + LC

)−1L = Ip (27)

Substituting ξ(t) = ˆx(t)−(E + LC

)−1Lyn(t) into Eq. 22

and using Eq. 27, we can derive

(E + LC

) ˙x(t) =(A− KC

)ˆx(t)

+

[V

0(m+p)×q

]v + Kyn(t) + Lyn(t)

(28)

Adding Ly(t) to both sides of (20), we get

(E + LC

)˙x(t) =

(A− KC

)x(t) +

[V

0(m+p)×q

]v

+ Kyn(t) + Lyn(t) + Nnp×1(t)

(29)

The error dynamics is formulated as below based on (28)and (29):

˙e(t) =(E + LC

)−1 (A− KC

)e(t)+

(E + LC

)−1Nnp×1(t)

(30)The term which contains measurement noise in (30) can be

written as below:

(E + LC

)−1Nnp×1(t) =

[−L1

Ip + CL1

](L2)

−1np×1(t)

(31)As we can see from (31), a low gain L1, for example, L1 =

0, and a high-gain L2 can be chosen to reduce the amplificationof measurement noise.

5

Page 8: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

0 100 200 300 400 500 600-30

-20

-10

0

10

20

30Current

0 100 200 300 400 500 6000

0.5

1

1.5

2

2.5field winding loss

Fig. 3. Current and field winding loss in the electric motors.

After doing some matrix computation, we have

rank

[sIn+m+p −

(E + LC

)−1A

C

]= rank

[s(E + LC

)− A

C

]= rank

[sE − AC

]= rank

sIn+m −Ae 0(n+m)×p0p×(n+m) Ip

Ce Ip

= rank

sIn+m −[A B0 0

]Ce

+ p

(32)

If (Ae, Ce) is detectable, (32) means that((E + LC

)−1A, C

)is detectable. Then we can select

K∗ such that[(E + LC

)−1A− K∗C

]is a Hurwitz matrix,

and K =(E + LC

)K∗.

V. SIMULATION

In this section, different observers are implemented for theonline estimation of temperature and heat source distributionin electric motors. For the specified online inverse heat transferproblem, u1(t) is time-varying, random measurement noisebetween -1◦C and 1◦C are added. The current and fieldwinding loss are shown in Figure 3.

A. Sensor placement

Since u2 and u3 are unknown inputs, they can be taken asstate variables. The extended state-space model is established

as in (4). In this case, Ae =

[A Bm

0 0

], Ce =

[C 0

],

Co =

[A Bm

C 0

]. For the determination of measurements’

size and location, check the rank and singular values of thematrix Co. If rank(Co) = n + 2, and all the singular valuesare non-zeros, then the observer will work well with thedesigned C.

0 100 200 300 400 500 600Time (s)

0

50

100

150

200

Tem

pera

ture

(C)

Luenberger observer

CoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-20

0

20

40

60

80

100

Tem

pera

ture

(C)

Difference: Luenberger - ModelCoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-200

0

200

400

600

800

1000

1200

1400

heat

sou

rce

Luenberger observercopperironrotor coremagnet

0 100 200 300 400 500 600Time (s)

-1500

-1000

-500

0

500

heat

sou

rce

Heat source: Circuit model - Luenberger

copperironrotor coremagnet

Fig. 4. Online estimation of temperature and heat loss distribution in electricmotors using Luenberger observer.

B. Luenberger observer

Based on (4), the Luenberger observer is formulated asbelow: ˙

T (t)˙u2(t)˙u3(t)

=

[A Bm

0 0

] T (t)u2(t)u3(t)

+ V v

+b1u1(t) +K(yn(t)− CT (t)

)+ (c2 − 6c1) b4

(33)

The numerical simulation results for online estimation oftemperature and heat loss distribution in electric motors usingLuenberger observer is shown in Figure 4. The left figure onthe top shows the temperature estimation results using theLuenberger observer, in this figure, we pick up one nodefrom the coil, stator core, magnet, rotor core, respectively.”Reference” is one of the nodes where the sensors are located.The right figure on the top shows the temperature estimationerrors between the Luenberger observer and circuit model.The left figure below shows the reconstruction results of theheat loss distribution in the electric motor using Luenbergerobserver, including the copper loss, iron loss, rotor core loss,and magnet loss. The right figure below shows the heat lossestimation errors between the Luenberger observer and circuitmodel. As we can see from Figure 4, the estimation results arecorrupted by measurement noises using Luenberger observer,which is evident from (9).

C. Kalman filter

The numerical simulation results for online estimation oftemperature and heat loss distribution in electric motors usingkalman filter are shown in Figure 5. As we can see from Figure5, the estimation results are corrupted by measurement noisesusing Kalman filter, which can be seen from (12).

6

Page 9: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

0 100 200 300 400 500 600Time (s)

0

50

100

150

200Te

mpe

ratu

re (C

)KF

CoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-10

-5

0

5

10

15

20

25

Tem

pera

ture

(C)

Difference: KF - ModelCoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

0

500

1000

1500

heat

sou

rce

KFcopperironrotor coremagnet

0 100 200 300 400 500 600Time (s)

-1500

-1000

-500

0

500

heat

sou

rce

Heat source: Circuit model - KFcopperironrotor coremagnet

Fig. 5. Online estimation of temperature and heat loss distribution in electricmotors using kalman filter.

0 100 200 300 400 500 600Time (s)

0

50

100

150

200

Tem

pera

ture

(C)

UIAO

CoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-20

0

20

40

60

80

100

Tem

pera

ture

(C)

Difference: UIAO - ModelCoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-200

0

200

400

600

800

1000

1200

1400

heat

sou

rce

UIAOcopperironrotor coremagnet

0 100 200 300 400 500 600Time (s)

-1500

-1000

-500

0

500

heat

sou

rce

Heat source: Circuit model - UIAOcopperironrotor coremagnet

Fig. 6. Online estimation of temperature and heat loss distribution in electricmotors using adaptive observer.

D. Adaptive observer

The adaptive observer for the specific inverse heat transferproblem (4) is formulated as below:

˙T (t) = AT (t) +Bmu(t) +K

(yn(t)− CT (t)

)+

γ(t) ˙u(t) + b1u1(t) + V v + (c2 − 6c1) b4(34)

˙u(t) = ΓγT (t)CT Σ(yn(t)− CT (t)

)(35)

The numerical simulation results for online estimation oftemperature and heat loss distribution in electric motors usingadaptive observer are shown in Figure 6. As we can see fromFigure 6, the estimation results are corrupted by measurementnoises using adaptive observer, which is evident from (19).

0 100 200 300 400 500 600Time (s)

0

50

100

150

200

250

Tem

pera

ture

(C)

PD observer CoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

-50

0

50

100

150

200

Tem

pera

ture

(C)

Difference: PD observer - ModelCoilStator CoreReferenceMagnetRotor Core

0 100 200 300 400 500 600Time (s)

0

500

1000

1500

heat

sou

rce

PD observercopperironrotor coremagnet

0 100 200 300 400 500 600Time (s)

-1500

-1000

-500

0

500

heat

sou

rce

Heat source: Circuit model - PDcopperironrotor coremagnet

Fig. 7. Online estimation of temperature and heat loss distribution in electricmotors using PD observer.

E. PD observer

The PD observer is designed to estimate all the hiddenstates, unknown inputs and measurement noises at the sametime. The extended state-space model is given as below:

E ˙x(t) = Ax(t) +

[b1

0(m+p)×1

]u1(t) +

[V

0(m+p)×2

]v

+

[(c2 − 6c1) b4

0(m+p)×1

]+ Nnp×1(t)

yn(t) = Cx(t)(36)

If the matrix (Ae, Ce) is detectable and the noise isbounded, a modified PD observer for online estimation oftemperature and heat loss distribution in the electric motorsis derived as below:(

E + LC)ξ(t) =

(A− KC

)ξ(t) +

[b1

0(m+p)×1

]u1(t)

+

[V

0(m+p)×2

]v +

[(c2 − 6c1) b4

0(m+p)×1

]+A(E + LC

)−1Lyn(t)

(37)ˆx(t) = ξ(t) +

(E + LC

)−1Lyn(t) (38)

where ˆx(t) is an asymptotic estimation of x(t) in (36).The numerical simulation results for online estimation of

temperature and heat loss distribution in electric motors usingmodified PD observer are shown in Figure 7.

In terms of different observers design, Luenberger observeris well known for output feedback of linear time-invariantsystems. Adaptive observer is often used for joint estimation ofhidden states and unknown parameters. Kalman filter has the

7

Page 10: Observer Designs for Simultaneous Temperature and Loss … · 2020-04-28 · Observer Designs for Simultaneous Temperature and Loss Estimation for Electric Motors: A Comparative Study

optimal performance for linear time-invariant systems. Withoutthe presence of measurement noise, asymptotic estimation oftemperature field and heat loss distribution is achieved. Sincenone of these three observers has something to do with themeasurement noise, the estimation results will be corrupted bythe measurement noise, as we can see in (9). As for the PDobserver, under the condition where the system is detectableand the measurement noise is bounded, there exist two designparameters which can provide more degrees of freedom. Thederivative gain is chosen to minimize the amplification of themeasurement noise, and the proportional gain is selected toguarantee the stability of the error dynamics. Hence, the PDobserver can almost reject the measurement noise completelywith properly chosen parameters. Actually, the choice ofderivative gain is a trade-off between convergence speed andestimation error for PD observer. A larger derivative gain willreduce the amplification of measurement noise greatly, but theconvergence speed is really slow; a smaller gain will speed upthe convergence process, but the estimation error caused bymeasurement noise is amplified.

VI. CONCLUSIONS

Different observers are designed for real-time estimationof temperature and heat loss distribution in electric motors.In view of the ill-posedness of the problem, physical con-straints are imposed to remedy the limitation. Insights onmeasurements’ size and location are provided by exploringthe detectability of the observer. Since the measurements arecorrupted by noises, the estimation accuracy will be greatlyaffected in some cases, hence, measurement noises are takeninto consideration for estimation error analysis. In terms ofdifferent observers design, Luenberger observer is well knownfor output feedback of linear time-invariant systems. Adaptiveobserver is often used for joint estimation of hidden statesand unknown parameters. Kalman filter has the optimal perfor-mance for linear time-invariant systems. As for PD observer, itcan reject the measurement noise to some extent. Actually, thechoice of derivative gain is a trade-off between convergencespeed and estimation error for PD observer. A larger derivativegain significantly reduces the amplification of measurementnoise greatly, at the cost of convergence speed; a smaller gainwill speed up the convergence process, but the estimation errorcaused by measurement noise is amplified.

REFERENCES

[1] R. Saheba, M. Rotea, O. Wasynczuk, S. Pekarek and B. Jordan, ”Vir-tual Thermal Sensing for Electric Machines,” in IEEE Control SystemsMagazine, vol. 30, no. 1, pp. 42-56, Feb. 2010.

[2] J. Pyrhonen, T. Jokinen, and V. Hrabovcova, Design of rotating electricalmachines. John Wiley & Sons, 2013.

[3] H. K. Khalil, ”Noninear systems,” Prentice-Hall, New Jersey, vol. 2, pp.5-1, 1996.

[4] J. Yang, F. Zhu, and X. Sun, ”State estimation and simultaneous unknowninput and measurement noise reconstruction based on associated ob-servers,” International Journal of Adaptive Control and Signal Processing,vol. 27, pp. 846-858, 2013.

[5] F. Yang and R. W. Wilde, ”Observers for linear systems with unknowninputs,” IEEE Transactions on Automatic Control, vol. 33, pp. 677-681,1988.

[6] Hou, Mller, and P. C. Muller. ”Design of observers for linear systemswith unknown inputs.” IEEE Transactions on Automatic Control 37, no. 6(1992): 871-875.

[7] M. Darouach, M. Zasadzinski, and S. J. Xu, ”Full-order observers forlinear systems with unknown inputs,” IEEE Transactions on AutomaticControl, vol. 39, pp. 606-609, 1994.

[8] H. Trinh and Q. P. Ha, ”State and input simultaneous estimation for a classof time-delay systems with uncertainties,” IEEE Transactions on Circuitsand Systems II: Express Briefs, vol. 54, pp. 527-531, 2007.

[9] H. Trinh, T. D. Tran, and T. Fernando, ”Disturbance decoupled observersfor systems with unknown inputs,” IEEE Transactions on Automaticcontrol, vol. 53, pp. 2397-2402, 2008.

[10] F. J. Bejarano and L. Fridman, ”State exact reconstruction for switchedlinear systems via a super-twisting algorithm,” International Journal ofSystems Science, vol. 42, pp. 717-724, 2011.

[11] F. J. Bejarano and A. Pisano, ”Switched observers for switched linearsystems with unknown inputs,” IEEE Transactions on Automatic Control,vol. 56, pp. 681-686, 2011.

[12] R. Marino and G. L. Santosuosso, ”Global compensation of unknownsinusoidal disturbances for a class of nonlinear nonminimum phase sys-tems,” IEEE Transactions on Automatic Control, vol. 50, pp. 1816-1822,2005.

[13] S. Aranovskiy and A. Bobtsov, ”Output harmonic disturbance compen-sation for nonlinear plant,” in Control & Automation (MED), 2012 20thMediterranean Conference on, 2012, pp. 386-391.

[14] Z. Gao and H. Wang, ”Descriptor observer approaches for multivariablesystems with measurement noises and application in fault detection anddiagnosis,” Systems & Control Letters, vol. 55, pp. 304-313, 2006.

[15] J. H. Ahrens and H. K. Khalil, ”High-gain observers in the presence ofmeasurement noise: A switched-gain approach,” Automatica, vol. 45, pp.936-943, 2009.

[16] R. G. Sanfelice and L. Praly, ”On the performance of high-gain observerswith gain adaptation under measurement noise,” Automatica, vol. 47, pp.2165-2176, 2011.

[17] Z. Gao, T. Breikin, and H. Wang, ”High-gain estimator and fault-tolerant design with application to a gas turbine dynamic system,” IEEETransactions on Control Systems Technology, vol. 15, pp. 740-753, 2007.

[18] Ma, Tong, and Chengyu Cao. ”L1 adaptive outputfeedback descriptorfor multivariable nonlinear systems with measurement noises.” Interna-tional Journal of Robust and Nonlinear Control.

[19] A. K. Caglayan and R. E. Lancraft, ”A separated bias identification andstate estimation algorithm for nonlinear systems,” Automatica, vol. 19, pp.561-570, 1983.

[20] R. Marino and P. Tomei, ”Adaptive observers with arbitrary exponentialrate of convergence for nonlinear systems,” IEEE Transactions on Auto-matic Control, vol. 40, pp. 1300-1304, 1995.

[21] R. Marino and P. Tomei, Nonlinear control design: geometric, adaptiveand robust vol. 1: Prentice Hall London, 1995.

[22] H. Wang and S. Daley, ”Actuator fault diagnosis: an adaptive observer-based technique,” IEEE Transactions on Automatic Control, vol. 41, pp.1073-1078, 1996.

[23] P. A. Ioannou and J. Sun, Robust adaptive control vol. 1: PTR Prentice-Hall Upper Saddle River, NJ, 1996.

[24] Q. Zhang, ”Adaptive observer for multiple-input-multiple-output(MIMO) linear time-varying systems,” IEEE Transactions on AutomaticControl, vol. 47, pp. 525-529, 2002.

8