Professional Documents
Culture Documents
in Feedback Control
Application to Permanent
Magnet Synchronous Motors
Hassan K. Khalil
H
igh-gain observers
play an important
role in the design
of feedback con
trol for nonli
near systems. This article
overviews the essentials
of this technique, start-
ing with motivating ex
amples that illustrate the
main features of high-
gain observers, with em-
phasis on the peaking
phenomenon and the role
of control saturation in
dealing with it. The obser
ver design for single-output
and multi-output systems is
presented along with the use of
the observer in feedback control.
A nonlinear separation principle
is discussed, and the use of an extend-
ed high-gain observer as a disturbance
estimator is covered. The most serious chal-
lenge in implementing high-gain observers is
the effect of measurement noise, which is covered
next. The article ends by presenting an experimental ap-
plication of the e xtended high-gain observer to speed control of a
permanent magnet synchronous motor (PMSM).
-at/f
where h (t) # max " be h (0) , fcM ,,
Ao = ; E, B = ; E,
- h1 1 0
for all t $ 0 , for some positive constants a, b, c. From the
- h2 0 1
scaling (3),
and d (x, xu , u) = z (x, u) - z 0 (xt , u) . Equation (2) is viewed as
a perturbation of the linear system xuo = A o xu . In the absence h =
1 xu 2 + f 2 xu 2 # 1 xu 2 + xu 2 = 1 xu ,
1 2 1 2
f f f
of d, asymptotic error convergence is achieved by design-
ing H = col (h 1, h 2) such that A o is Hurwitz; that is, its which shows that
eigenvalues have negative real parts. In the presence of d,
H is designed with the additional goal of rejecting the xu 1 (t) # max " be -at/f xu (0) , f 2 cM ,, (5)
effect of d on xu . This is ideally achieved, for any d, if the
transfer function from d to xu , xu 2 (t) # max ' b e -at/f xu (0) , fcM 1, (6)
f
; E,
1 1 for all t $ 0 . Hence, xu 1 (t) and xu 2 (t) decay exponentially
G o (s) = 2
s + h1 s + h2 s + h1 fast and are ultimately bounded by f 2 cM and fcM , respec-
tively. The smaller f, the faster the rate of decay, which
is identically zero. While this is not possible, shows that for sufficiently small f the estimation error xu
max ~ ! R G o (j~) can be made arbitrarily small by taking is much faster than x. The ultimate bounds can be made
h 1 = ^a 1 f h, h 2 = ^a 2 f 2 h, for some positive constants a 1, a 2, a rbitrarily small by choosing f small enough. If M = 0,
and f, with f % 1 . With this choice of H, which is the case when z 0 = z , then xu (t) converges to zero
as t tends to infinity. Notice, however, that whenever
; E.
f f x 1 (0) ! xt 1 (0), h 1 (0) = O (1/f) [recall that a function f (f) is
G o (s) = 2
(fs) + a 1 fs + a 2 fs + a1 O (f n) if f (f) # kf n for some k > 0, where n can be positive
or negative]. Consequently, the solution of (4) contains a
Hence, lim f " 0 G o (s) = 0 . This disturbance-rejection prop- term of the form (1/f) e -at/f for some a > 0. While this
erty of the high-gain observer can be seen in the time exponential mode decays rapidly for small f, it exhibits
domain by scaling the estimation error. Let an impulsive-like behavior where the transient response
−20
x˜2
x̃2
x̃2
−20
0.2
0 −30 −30 −0.005
−0.2 −40 −40 −0.01
0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 5 6 7 8 9 10
Time Time Time Time
(a) (b) (c) (d)
ε = 0.1 ε = 0.01
−1 0
−1.5 −0.2
x1
0 1 2 3 4 5 6 7 8 9 10 −0.4
0
1
01
02
03
04
05
06
07
08
0.
0.
0.
0.
0.
0.
0.
0.
0 0
−1 −10
x2
−2 −20
x2
−3 −30
0 1 2 3 4 5 6 7 8 9 10 −40
01
02
03
04
05
06
07
08
0.
0.
0.
0.
0.
0.
0.
0.
0
−100 2000
−200 1000
u
−300
u
0
−400
−1000
0
1
01
02
03
04
05
06
07
08
09
0.
01
02
03
04
05
06
07
08
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
Time
Time
SFB OFB ε = 0.01
OFB ε = 0.1 OFB ε = 0.005
small. Figure 2 shows a counterintuitive behavior as f where sat ($) is the saturation function defined by
decreases. Since decreasing f causes the estimation error to
decay faster toward zero, the response under output feed- z if | z | # 1,
back would be expected to approach the response under sat (z) = * -1 if z # - 1,
state feedback as f decreases. Figure 2 shows the opposite 1 if z $ 1.
behavior, where the response under output feedback devi-
ates from the response under state feedback as f decreases. For all x (0) ! X , the saturated control produces the
This is the impact of the peaking phenomenon. Figure 2 also same trajectories as the unsaturated one because for
shows the control u on a much shorter time interval to x ! X,| u | 1 1 and the saturation is not effective. In output
exhibit peaking. This control peaking is transmitted to the feedback, the state x in the foregoing saturated control is
plant, causing the plant state to peak. Figure 3 shows that as replaced by its estimate xt , namely,
f is decreased to 0.004, the system has a finite escape time
shortly after t = 0.07. u = sat (- xt 32 - xt 1 - xt 2) .
The peaking phenomenon can be overcome by saturat-
ing the control outside a compact set of interest to create a During the peaking period, the control saturates. Figure 4
buffer that protects the plant from peaking. Writing the shows the performance of the closed-loop system under
closed-loop system under state feedback as xo = Ax and saturated state and output feedback. The control u is shown
solving the Lyapunov equation PA + A T P = - I yields on a shorter time interval that exhibits control saturation
during peaking. The peaking period decreases with f .
x1
0
tion of the boundary of the region of attraction under
−0.05
u = sat (-xt 32 - xt 1 - xt 2) with the x 1 – x 2 plane approaches the 0 1 2 3 4 5 6 7 8 9 10
limit cycle as f tends to zero.
The behavior in Figures 4 and 6 is realized with any 0
globally bounded stabilizing function c (x). During the −0.05
x2
peaking period, the control c (xt ) saturates. Since the −0.1
peaking period shrinks to zero as f tends to zero, for suf- 0 1 2 3 4 5 6 7 8 9 10
ficiently small f the peaking period becomes so small
0.5
that the state of the plant x remains close to its initial 0
value. After the peaking period, the estimation error −0.5
u
becomes O (f) and the feedback control c (xt ) becomes −1
close to c (x). Consequently, the trajectories of the closed-
1
01
02
03
04
05
06
07
08
09
0.
0.
0.
0.
0.
0.
0.
0.
0.
0.
loop system under output feedback asymptotically ap
Time
proach its trajectories under state feedback as f tends
to zero. This leads to the recovery of the performance SFB OFB ε = 0.01
achieved under state feedback. The global boundedness OFB ε = 0.1 OFB ε = 0.001
of c (x) can be always achieved by saturating the state
feedback control, or the state estimates, outside a compact FIGURE 4 A simulation of Example 2, with performance under state
set of interest. 9 feedback (SFB) and output feedback (OFB) with saturation.
x 1 (0) = 0.1; saturated u.
The foregoing example shows that the design of the out-
put-feedback controller is based on a separation procedure,
whereby the state-feedback controller is designed as if the
2
whole state was available for feedback, followed by an
observer design that is independent of the state-feedback
control. By choosing f small enough, the output-feedback 1
controller recovers the stability and performance pro
perties of the state-feedback controller, as discussed in 0
x2
“Separation Principle.”
−1
Observer Design
Consider a class of single-output nonlinear systems repre-
sented by −2
−3 −2 −1 0 1 2 3
x1
wo = f0 (w, x, u), (7)
FIGURE 5 A simulation of Example 2. A phase portrait of the closed-
xo i = x i + 1 + } i (x 1, f, x i, u), for 1 # i # t - 1, (8)
loop system under u = sat (- x 32 - x 1 - x 2) .
xo t = z (w, x, u), (9)
y = x 1, (10)
1
where w ! R , and x = col (x 1, x 2, f, x t) ! R t form the state
vector, u ! R m is the input, and y ! R is the measured 0.5
output. Equations (7)–(10) cover two important classes of
nonlinear systems. The normal form of a single-input, 0
x2
T he separation principle for the stabilization of a dynamical the parameter f by decreasing it monotonically to bring the tra-
system at an equilibrium point is known in the context of jectories under output feedback close enough to the ones un-
linear systems where the closed-loop eigenvalues under an der state feedback. This feature is achieved not only by making
observer-based controller are the union of the eigenvalues the observer fast but by combining this property with the global
under state feedback and the observer eigenvalues; hence, boundedness of u and z 0.
stabilization under output feedback can be achieved by solving
separate eigenvalue placement problems for the state feed- References
[S1] A. J. Krener and A. Isidori, “Linearization by output injection and
back and the observer. Over the last two decades, there have
nonlinear observers,” Syst. Control Lett., vol. 3, no. 4, pp. 47–52, 1983.
been several results that present nonlocal forms of the separa- [S2] A. Isidori, Nonlinear Control Systems. 3rd ed. New York: Springer-
tion principle for classes of nonlinear systems. The first results Verlag, 1995.
[S3] R. Marino and P. Tomei, Nonlinear Control Design. London: Pren-
are for systems that can be represented in the form
tice Hall, 1995.
[S4] S. Raghavan and J. K. Hedrick, “Observer design for a class of
xo = Ax + } (u, y), y = Cx, nonlinear systems,” Int. J. Control, vol. 59, no. 2, pp. 515–528, 1994.
[S5] R. Rajamani, “Observers for Lipschitz nonlinear systems,” IEEE
Trans. Automat. Control, vol. 43, no. 3, pp. 397–401, 1998.
with an observable pair (A, C) and known function }; see, for [S6] J. P. Gauthier, H. Hammouri, and S. Othman, “A simple observer
example, [S1], [S2, Sec. 4.9], and [S3, Sec. 5.2]. For such sys- for nonlinear systems application to bioreactors,” IEEE Trans. Automat.
tems, the observer Control, vol. 37, no. 6, pp. 875–880, 1992.
[S7] A. Teel and L. Praly, “Global stabilizability and observability imply
semi-global stabilizability by output feedback,” Syst. Control Lett., vol.
xto = Axt + } (u, y) + H ( y - Cxt ) 22, no. 5, pp. 313–325, 1994.
[S8] A. N. Atassi and H. K. Khalil, “A separation principle for the stabi-
results in the linear error dynamics xuo = (A - HC) xu , where xu = x - xt . lization of a class of nonlinear systems,” IEEE Trans. Automat. Control,
These results are extended to systems of the form vol. 44, no. 8, pp. 1672–1687, 1999.
[S9] M. Maggiore and K. Passino, “A separation principle for non-UCO sys-
tems,” IEEE Trans. Automat. Control, vol. 48, no. 7, pp. 1122–1133, 2003.
xo = Ax + } (u, y) + z (x, u), y = Cx,
[S10] M. Krstic, I. Kanellakopoulos, and P. Kokotović, Nonlinear and
Adaptive Control Design. New York: Wiley, 1995.
by imposing a constraint on the Lipschitz constant of the Lip- [S11] M. Arcak and P. Kokotovic, “Nonlinear observers: A circle crite-
rion design and robustness analysis,” Automatica, vol. 37, no. 12, pp.
schitz function z; see, for example, [S4] and [S5]. For uni-
1923–1930, 2001.
formly observable systems, separation results are achieved [S12] X. Fan and M. Arcak, “Observer design for systems with multi
by the use of high-gain observers as is in [S6]–[S9]. Sepa- variable monotone nonlinearities,” Syst. Control Lett., vol. 50, no. 4,
pp. 319–330, 2003.
ration results using backstepping can be found in [S10]. For
[S13] M. Arcak, “Certainty-equivalence output-feedback design with
a class of nonlinear systems with slope-restricted nonlin- circle-criterion observers,” IEEE Trans. Automat. Control, vol. 50, no.
earities, separation results using the circle criterion and lin- 6, pp. 905–909, 2005.
[S14] B. Acikmese and M. Corless, “Observers for systems with nonlin-
ear matrix inequalities are given in [S11]–[S14]. For special
earities satisfying incremental quadratic constraints,” Automatica, vol.
classes of mechanical systems, separation results are given 47, no. 7, pp. 1339–1348, 2011.
in [S15]–[S17]. These results and others are reviewed in [S18] [S15] A. Loria and E. Panteley, “A separation principle for a class of Euler-
and [S19]. Lagrange systems,” in New Directions in Nonlinear Observer Design, H.
Nijmeijer and T.I. Fossen, Eds. (Lecture Notes in Control and Information
It is important to emphasize that the separation principle in Sciences, vol. 244). London: Springer-Verlag, 1999, pp. 229–247.
the case of high-gain observers has a unique feature that does [S16] A. Loria, T. I. Fossen, and E. Panteley, “A separation principle
not exist in other separation-principle results, linear systems for dynamic positioning of ships: theoretical and experimental results,”
IEEE Trans. Control Syst. Tech., vol. 8, no. 2, pp. 332–343, 2000.
included, namely, the recovery of state trajectories by making [S17] Y. Su, P. C. Muller, and C. Zheng, “A simple nonlinear observer for
the observer sufficiently fast. This feature has significant prac- a class of uncertain mechanical systems,” IEEE Trans. Automat. Con-
tical implications because it allows the designer to create the trol, vol. 52, no. 7, pp. 1340–1345, 2007.
[S18] A. E. Golubev, A. P. Krishchenko, and S. B. Tkachev, “Stabiliza-
state-feedback controller to meet transient response specifica- tion of nonlinear dynamic systems using the system state estimates
tions and/or constraints on the state or control variables. Next, made by the asymptotic observer,” Automat. Remote Control, vol. 66,
the control u and the function z 0 of (38) are made globally no. 7, pp. 1021–1058, 2005.
[S19] V. Andrieu and L. Praly, “A unifying point of view on output feed-
bounded functions of xt by saturating xt and/or u outside a back designs for global asymptotic stabilization,” Automatica, vol. 45,
compact set of interest. Then, the designer proceeds to tune no. 8, pp. 1789–1798, 2009.
When the functions } i are sufficiently smooth, this system observable systems can be transformed into the form (11)–
is observable, uniformly in u, in the sense that the state x (13), at least locally; see [2, Th. 4.1].
can be uniquely expressed as a function y, yo , f, y (t - 1), u, The motivating examples of the previous section show
uo , f, u (t - 2). Under certain smoothness conditions, uniformly that high-gain observers have two features. First, the
A nonlinear single-input, single-output system of the form An m-input, m-output nonlinear system of the form
m
|o = f (|) + g (|) u, y = h (|), |o = f (|) + / g i (|) u i, y i = h i (|),
i=1
has relative degree t in an open set R if, for all | ! R, for 1 # i # m , has vector relative degree {t 1, t 2, f, t m} in an
t-1
L g L if - 1 h (|) = 0, f o r i = 1, 2, f, t - 1 , a n d L g L f h (|) ! 0, open set R if, for all | ! R , L g j L kf - 1 h i (|) = 0, for 1 # k # t i - 1,
where L f h (|) = ^2h 2| h f is the Lie derivative of h with re- for all 1 # i # m and 1 # j # m , and the m × m matrix
spect to f. Under appropriate smoothness conditions on f, g, R t1 - 1 t1 - 1 V
S L g1 L f h 1 g g L gm L f h 1 W
and h, there is a change of variables that transforms a rela- S L g 1 L ft2 - 1 h 2 g g L g m L ft2 - 1 h 2 W
S W,
tive degree t system into the normal formal, at least locally. S h h h h W
Under some stronger conditions, the change of variables SL g 1 L tm - 1 h m g g L g m L tm - 1 h mW
f f
T X
holds globally. is nonsingular.
estimation error decays rapidly toward small (order O (f) ) have negative real parts. The functions } s1, f, } st - 1 are
values within a time interval that decreases toward zero as locally Lipschitz and satisfy, for all u ! U , both
f decreases. Second, the observer is robust with respect to
s
uncertain nonlinear functions. The task of this section is to } i (x 1, f, x i, u) = } i (x 1, f, x i, u), for all x ! X, (18)
design a high-gain observer for a nonlinear system of the
form (7)–(10), where f0, } 1, f, } t - 1, and z are locally Lip- and
schitz in their arguments, and w (t), x (t), and u (t) are
i
bounded for all t $ 0 . In particular, let w (t) ! W 1 R ,, s s
} i (x 1, f, x i, u) - } i (z 1, f, z i, u) # L i / xk - zk ,
x (t) ! X 1 R t, and u (t) ! U 1 R m, for all t $ 0 , for some k=1
compact sets W, X, and U. The boundedness of (w, x, u) is for all x, z ! R t. (19)
needed because the system is operated in open loop;
boundedness is not required when the observer is studied The difference between (14) and (19) is that (14) holds for x
under feedback control. The fast decay of the estimation and z in a compact set, while (19) holds for all x and z. If
error can be achieved only in the estimation of x. There- the Lipschitz condition (14) holds globally, then } si = } i.
fore, the high-gain observer is a partial-state observer that Otherwise, } si is defined by saturating the x 1, f, x i
estimates only x, not the full state (w, x) . The robustness a rguments of } i outside the compact set X, which is
feature of the observer can be achieved only with respect done by choosing M i $ max x ! X x i and replacing x i by
to the nonlinearity z; therefore, } 1 to } t - 1 are assumed to M i sat (x i /M i); that is,
be known. Furthermore, it is required that, for any com-
pact set S 1 R t, the functions } 1 to } t - 1 satisfy the Lip- s
} i (x 1, f, x i, u) = } i ^ M 1 sat (x 1 /M 1), f, M i sat (x i /M i), u h.
schitz condition
i
} i (x 1, f, x i, u) - } i (z 1, f, z i, u) # L i / x k - z k , (14) The function } si satisfies (19) in view of (14) and the fact that
k=1 the saturation function is globally Lipschitz.
It is assumed that z 0 is locally Lipschitz in its argu-
for all x, z ! S and u ! U . The observer is taken as ments and
where are in the open left-half plane, for all i = 1, f, p. The func-
tion z i0 (x, u) is a nominal model of z i (w, x, u), which is
x i = col (x i1, x i2, f, x it i), required to satisfy the inequality
x = col (x 1, x 2, f, x p) ! R t,
z i (w, x, u) - z i0 (z, u) # L i x - z + M i, (30)
t = t1 + g + tp .
where u ! R m is the control input, y ! R p is measured f is a small positive constant to be specified, and the posi-
o utputs, and w ! R , and x ! R t constitute the state tive constants a ij are chosen such that the roots of
vector. The t # t matrix A, the t # p matrix B, and the
p # t matrix C, given by A = block diag [A 1, f, A q], B = s t i + a i1 s t i - 1 + g + a it i - 1 s + a it i = 0
block diag [B 1, f, B p], C = block diag [C 1, f, C p], with
are in the open left-half plane, for all i = 1, f, p. The func-
R0 1 g g 0VW tion z 0 (x, u) is a nominal model of z (w, x, u) , which is
S
S0 0 1 g 0W required to be locally Lipschitz in its arguments over the
A i = SS h h WW , domain of interest and globally bounded in x. Moreover,
S0 g g 0 1W z 0 (0, 0) = 0 . The separation principle is stated in the follow-
S0 g g g 0Wt i # t i
T X ing theorem; see [6, Th. 14.6].
B i = 60
T
g g 0 1@1 # t i ,
C i = 61 0 g g 0@1 # t i , Theorem 3
Consider the closed-loop system of the plant (32)–(34) and the
where t = t 1 + g + t p , represent p chains of integrators. output feedback controller (37), (38). Suppose the origin of (36)
Equations (33) and (34) are the same as (24)–(26) but written is asymptotically stable and R is its region of attraction. Let S
in a more compact form. The functions f0 and z are locally be any compact set in the interior of R and Q be any compact
Lipschitz in their arguments for (w, x, u) ! D w # D x # R m, subset of R t. Then, given any n 2 0, there exist f * 2 0 and
where D w 1 R , and D x 1 R t are domains that contain their T * 2 0, dependent on n, such that for every 0 1 f # f * , the
respective origins. Moreover, f0 (0, 0, 0) = 0 and z (0, 0, 0) = 0. solutions (X (t), xt (t)) of the closed-loop system, starting in
The goal is to design an output-feedback controller to S # Q, are bounded for all t $ 0 and satisfy
stabilize the origin. A two-step approach is used to design
the output-feedback controller. First, a partial state-feed- X (t) # n and xt (t) # n, for all t $ T *, (39)
back controller that uses the measurement of x is designed
X (t) - X r (t) # n, for all t $ 0, (40)
to asymptotically stabilize the origin. Then, a high-gain
observer is used to estimate x from y. The state-feedback
controller is allowed to be a dynamical system of the form where X r is the solution of (36), starting at X (0). Moreover,
if the origin of (36) is exponentially stable, then the origin of
jo = C (j, x), (35a) the closed-loop system is exponentially stable and S # Q is
u = c (j, x), (35b) a subset of its region of attraction. G
Theorem 3 shows properties of the output feedback con-
where c and C are locally Lipschitz functions in their argu- troller when f is sufficiently small. First, it shows that the
ments over the domain of interest and globally bounded trajectories are bounded. Second, (39) shows that the trajec-
functions of x. Moreover, c (0, 0) = 0 and C (0, 0) = 0. A tories can be brought to an arbitrarily small neighborhood
static state-feedback controller u = c (x) is viewed as a of the origin by choosing f small enough. Third, (40) shows
special case of (35) by dropping (35a). For convenience, the that the solution X (t) under output feedback approaches
closed-loop system under state feedback is written as the solution X r (t) under state feedback as f tends to zero.
.
Fourth, the output-feedback controller recovers the region
X = f (X), (36) of attraction of the state-feedback controller in the sense
that the foregoing three properties hold for any compact
where X = col (w, x, j). The output-feedback controller is set in the interior of the region of attraction. Finally, the
fho 2 = - a 2 h 1 + h 3,
xo 1 = x 2, xo 2 = z (t, x) + u, y = x 1,
fho 3 = - a 3 h 1 + f} (t, x, u),
where z (t, x) is unknown. Suppose z (t, x) is continuously
differentiable and z and its partial derivatives are bounded where } (t, x, u) is bounded on compact sets of x. Let
on compact sets of x for all t $ 0. The goal is to design an x (0) ! X 0, where X 0 is a compact set in the interior of X,
output-feedback controller to stabilize the origin using the then there exists T (f) 2 0, with lim f " 0 T (f) = 0, such that
measured output y. Set v = z (t, x) and rewrite the system as x (t) ! X for all t $ 0 and h (t) = O (f) for all t $ T (f). There-
fore, for t $ T (f),
xo 1 = x 2, xo 2 = v + u, y = x1 .
xo 1 = x 2, xo 2 = - x 1 - x 2 + O (f),
Had x and v been measured, the control could have
been taken as u = - v - x 1 - x 2, which would result in the li which shows that the closed-loop system under output
near system feedback recovers the performance of the target system for
sufficiently small f. To illustrate the performance recovery,
xo = ; E x = Ax.
0 1 def reconsider the system
-1 -1
xo 1 = x 2, xo 2 = x 32 + u, y = x 1,
The system above is called the target system, and its solu-
tion is the target response. In actuality, x and v are not from Example 2 but suppose that the term x 32 is unknown
measured; the only measured signal is y. To design an to the designer. The target system xo = Ax has a Lyapunov
observer that estimates x and v, the dynamics of the function V (x) = x T Px, where P is the solution of the Lyapu-
system are extended by treating v as an additional state. nov equation PA + A T P = - I. Recall from Example 2 that
The extended system is given by X = {V (x) # 0.3} is a positively invariant set of the target
system and max x ! X - x 23 - x 1 - x 2 # 0.816. With M = 1,
xo 1 = x 2, xo 2 = v + u, vo = } (t, x, u), y = x 1, the output-feedback controller is
where u = sat (- vt - xt 1 - xt 2) .
x1
approaches the target response as f decreases. 0
As a variation on the theme of this simulation, let the
−0.05
system be 0 1 2 3 4 5 6 7 8 9 10
Time
xo 1 = x 2, xo 2 = x 32 + sin t + u, y = x1 . 0.1
0
The observer and output-feedback controller remain the
x2
same, except that the saturation level M is chosen to sat- −0.1
isfy M 2 max x ! X - x 23 - x 1 - x 2 + 1 = 1.816. With M = 2, the
−0.2
controller is 0 1 2 3 4 5 6 7 8 9 10
Time
t t t
u = 2 sat c - v - x 1 - x 2 m . Target ε = 0.1
2
ε = 0.01 ε = 0.001
y = Cx, (43)
−0.2
−0.4
where the triple (A, B, C) represents a chain of n integrators, 0 1 2 3 4 5 6 7 8 9 10
w ! R , and x ! R n are the state variables, u ! R is the con- Time
trol input, y ! R is the measured output, and d ! R m is a Target ε = 0.1
disturbance input. Then the following is assumed. ε = 0.01 ε = 0.001
would have reduced the input-output model to solution of the Lyapunov equation Ps (A - BK) + (A - BK) T
Ps = - I. Define the compact set X c by
xo = Ax + Bv, y = Cx. (44)
X c = {V0 (w) # c 0 + a (c)} # {Vs (x) # c} .
The auxiliary control v would then be designed as v = - Kx,
where K is chosen using a linear control-design method, Any compact subset of R m # R n can be included in the inte-
such as pole placement or the linear-quadratic regulator, to rior of X c by choosing c large enough. Let
make (A - BK) Hurwitz and shape the transient response;
- b (w, x, d) + z (x)
see, for example, [11]. While such a design is not realizable, M 2 (w,xmax . (50)
)!X , d!D
c a (w , x , d )
its performance can be recovered by using an extended
high-gain observer. Toward that end, define the target Saturating the control at ! M yields at the output-feedback
system as controller
.
x * = (A - BK) x *, x * (0) = x (0).(45) u = M sat (c (xt , vt ) /M), (51)
Augmenting an additional integrator to the chain of inte- where c (·) is defined by (49). Let
grators in (41)–(43), a high-gain observer of the extended
a (w, x, d) - at (x)
system is designed as ka = max ,
(w, x) ! X c, d ! D at (x)
an + 1
xto = Axt + B 6vt + bt (xt ) + at (xt ) u@ + H (f) (y - Cxt ), (46)
G (s) = ,
sn + 1 + a1 sn + g + an + 1
vto = (a n + 1 /f
n+1
) (y - Cxt ), (47)
and G 3 = max ~ G (j~) . Because G (0) = 1, G 3 $ 1. It can
be verified that G 3 = 1 if all the poles of G (s) are real. The
where at (·) $ a 0 2 0 and bt (·) are twice continuously differen- proofs of the following two theorems can be found in [12].
tiable, globally bounded functions that model a (·) and b ($),
respectively, H = col ^a 1 /f, f , a n /f n h, the a 1, f, a n, a n + 1 Theorem 4
are chosen such that the polynomial s n + 1 + a 1 s n + g + a n + 1, Consider the closed-loop system formed by the plant (41)–
is Hurwitz, and f 2 0 is a small parameter. (43), the observer (46), (47), and the controller (51). Suppose
From high-gain observer theory, it is anticipated that Assumptions 1–3 are satisfied,
H (f) (y - Cxt ) will be O (f) after a short transient period. Then,
ka 1 1 , (52)
(46) can be viewed as a perturbation of G 3
xto = Axt + B 6vt + bt (xt ) + at (xt ) u@, (48) the initial states of the observer belong to a compact
subset of R n + 1, and the initial states of the plant belong
which can be made to coincide with the target system (45) to a compact set in the interior of X c. Then, given any
by taking n 2 0, there exist f* 2 0 and T * 2 0, dependent on n,
such that, for every 0 1 f # f *, all trajectories are bounded
- vt - bt (xt ) - Kxt def and satisfy
u= = c (xt , vt ). (49)
at (xt )
x (t) - x* (t) # n, for all t $ 0 (53)
To protect the system from peaking in the observer’s tran-
sient response, the control is saturated outside a compact and
set of interest. Using Assumption 3, it can be shown that
x (t) # n, for all t $ T *. (54)
there exist a constant c 0 $ 0 and a class K 3 function a (·)
G
such that, for any positive constant c, {V0 (w) # c 0 + a (c)}
is a positively invariant set of wo = f0 (w, x, d) for all x (t) ! Remark 1
{Vs (x) # c} and d (t) ! D, where Vs (x) = x T Ps x is a Lyapu- Condition (52) can be always satisfied by the appropriate
nov function for the target system (45) in which Ps is the choice of at and the observer eigenvalues if an upper bound
on a (w, x, d) is known. Let a u $ max {(w, x) ! X c, d ! D} a (w, x, d). this point increases the ultimate bound. The high-gain
Taking at 2 a u ensures that k a 1 1. Assigning the observer observer is effective when the ratio N/M is relatively small
eigenvalues to be real results in G 3 = 1; hence k a G 3 1 1. so that f can be chosen to attenuate the effect of uncer-
Theorem 4 ensures only practical regulation because it tainty and make the observer sufficiently fast. Even if there
shows that the ultimate bound on the regulation error y were no model uncertainty, that is, M = 0, N still needs to
can be made arbitrarily small by choosing f small enough. be relatively small so the observer can be designed to be
Theorem 5 shows that if d is constant then, under addi- sufficiently fast without bringing the ultimate bound on
tional conditions, the controller provides integral action the estimation error to unacceptable levels. 9
that ensures regulation of y (t) (in fact, the whole vector For a -dimensional observer, the ultimate bound on
t
x (t) ) to zero even when the model uncertainty does not the estimation error takes the form [13]
vanish at x = 0.
xu # c 1 Mf + c 2t N
- 1 , (56)
f
Theorem 5
Consider, under the assumptions of Theorem 4, the closed- which shows that the effect of measurement noise is aggra-
loop system formed by (41)–(43), (46), (47), and (51). Suppose vated as the dimension of the observer increases. When the
that d is constant, f0 (w, 0, d) is continuously differentiable observer is used in feedback control, as in (37)–(38), the dif-
in w, 0 = f0 (w, 0, d) has a unique solution w ss = w ss (d) for ference between the trajectories under output and state
each d ! D, w = w ss is an exponentially stable equilibrium feedback, that is, | - | r , satisfies an ultimate bound in
point of wo = f0 (w, 0, d), and, with g = w - w ss, the system the form of (56). Measurement noise puts a lower bound on
go = f0 (g + w ss, x, d) is input-to-state stable with respect to f so that | - | r cannot be made arbitrarily small, as in
the input x uniformly in d ! D. Then, there exists f* 2 0 (40) of Theorem 3.
such that, for 0 1 f # f*, x (t) converges to zero as t " 3. G There is also a tradeoff between the fast reconstruction
of the states versus the steady-state error due to measure-
Measurement Noise ment noise. As seen in earlier sections, choosing f small
enough causes the estimation error to decay arbitrarily fast,
Example 4 which results in the performance recovery property. One
Reconsider Example 1 when the measurement y is cor- idea to deal with this tradeoff is to use a smaller f during
rupted by bounded noise v; that is, the transient period to achieve fast decay of the estimation
error, and once the estimation error has reached a steady-
xo 1 = x 2, xo 2 = z (x, u), y = x 1 + v, state threshold, change to a higher value of f to reduce the
effect of measurement noise. This idea has been explored
and let v (t) # N. Equation (4) becomes using gain switching [13], nonlinear gain [14], and gain
adaptation [15]. In many experimental applications of high-
fho = Fh + fBd -
1 Ev, where E = ;a 1E gain observers, low-pass filters are used to filter out the
f a2
fVo # -
1 h 2
+ 2fM PB h +
2N PE h .
2 f ε c1 M + c2 N/ε
xu # c 1 Mf + c 2 N , (55)
f
high-frequency components of the noise; an analysis of this where k p and k i are the proportional and integral gains,
scheme is presented in [16]. Low-pass filtering is also a fea- respectively. Substituting u d and u q into (57) shows that e d
ture of the high-gain observer with limited gain power of and e q satisfy
[17]. For a system of relative degree t, this observer has
dimension 2 (t - 1). For t 2 2, the extra dynamics act as a de d = x di dref + R
x i - e d - xn p ~ (i qref - e q) - 1 x d,
low-pass filter. dt dt R + k p d ref R + kp
de q di qref (58)
x =x + R i qref - e q + xn p ~ (i d ref - e d)
Permanent Magnet Synchronous Motor dt dt R + kp
The mathematical model of a PMSM in the rotor frame of - 1 x q + k m ~,
reference is [18] R + kp R + kp (59)
0 respectively, and
Had ~ and v been available for feedback, feedback linear- where et ~ = ~ ref - ~t .
ization could have been used to regulate the speed tracking An analysis of the closed-loop system shows that
error e ~ = ~ ref - ~ to zero while shaping its transient re e ~ (t) - e )~ (t) can be made arbitrarily small for all t $ 0 by
sponse. In particular, taking choosing f and x/f sufficiently small; see [20] or [21] for
the details of the closed-loop analysis. The need for a small
ratio x/f is expected because of the model-order reduction
t ref + (k ~ - ct) e ~ - nt x q - vE
i qref = 1t ; ref + c~
d~
a dt that is performed before the observer design.
The controller was tested experimentally using the
yields the target system setup shown in Figure 10 from [20], which provides more
details on the experimental setup. Figures 11–13 are also
de*~
= - k ~ e ~* , from [20]. The nominal parameters of the surface-mount
dt
PMSM are shown in Table 1. The controller parameters are
whose transient response is shaped by choosing the posi- k p = 20, k i = 1200, k ~ = 25 , and f = 0.01 . The nominal
tive gain k ~. The choice of k ~ is limited by the current con- value of x is 2.145 # 10 -4, so that x/f = 2.145 # 10 -2. The
straint. Now, the extended high-gain observer experiment was conducted at a sampling frequency of
10 kHz and a 2500 pulse/r incremental encoder mounted
dit = ~t + a 1 (i - it), on the motor’s shaft. The electric currents are measured
dt f
with Hall effect sensors. The control algorithm is imple-
d~t = ati - c~ t t + nt x q + vt + a22 (i - it), mented using a National Instruments Real-Time system.
q ref
dt f
Three sets of experimental results are shown. In the first
dvt = a 3 (i - it),
dt 3 case, the motor is at standstill and not loaded when a step
f
command of 100 rad/s is applied at t = 0.1 s Figure 11(a)
is used to estimate ~ and v by ~t and vt , respectively. The shows the commanded speed, the target speed, and the
gains a i are taken as a 1 = a 2 = 3 and a 3 = 1 to assign the motor speed from simulation and experiment. Figure 11(b)
roots of s 3 + a 1 s 2 + a 2 s + a 3 = 0 to be at –1. Condition (52) is shows the error between the actual and target speeds, as
satisfied provided (a - at)/at 1 1. With ~ and v replaced obtained from simulation and experiment. The second case
by their estimates, the output-feedback controller is given by is similar to the first one except that the motor parameters
D-Link
ua
idref ud
+ PI dq
– ub PWM Three-Phase
Controller Inverter
ωref iqref uq
+ Feedback +
+ PI abc uc
– Linearization –
id ia Hall Effect
abc Current Sensor
ib –
iq –
dq ic Hall Effect
Current Sensor
Estimated
Disturbance
∧ Extended High-Gain θ
ω Optical Encoder
Observer
PMSM
FIGURE 10 A block diagram of the controller. (Figure used with permission from [20].)
120
50 115
110
Speed (rad/s)
0 105
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Time (s) 100
2 80
0 0.2 0.4 0.6 0.8 1
0 Time (s)
–2
FIGURE 13 The experimental speed of the permanent magnet syn-
–4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 chronous motor under load. (Figure used with permission from [20].)
Time (s)
Target Speed-Simulation Speed
Target Speed-Experimental Speed
Table 1 Parameters of the permanent magnet synchronous
(b)
motor.
FIGURE 11 A simulation and experimental speed of the permanent
magnet synchronous motor using nominal parameters. (Figure Parameter Value
used with permission from [20].)
Rated voltage 200 VacL-L
Rated current 5.1 A
Conclusions
used in the controller design are 20% higher than the This article presented the essential ideas about high-gain
nominal parameters in Table 1. The results are shown in observers and their use in nonlinear feedback control and
Figure 12. Finally, Figure 13 shows the motor speed in a gave an experimental example of their application in elec-
case where the motor is rotating at a constant speed of tric drives. For a survey of the vast literature on high-gain
100 rad/s and a load of about 2 N.m is applied at t = 0.1 s observers and the history of their use in feedback control,
and removed at t = 0.7 s. The three figures show that the the reader is referred to the survey [22].
Acknowledgments References
The application to the PMSM was done at Michigan State [1] H. K. Khalil, Nonlinear Control. Boston, MA: Pearson, 2015.
[2] J.-P. Gauthier and I. Kupka, Observability and Observers for Nonlinear
University by Abdullah Alfehaid under the supervision Systems. Cambridge, U.K.: Cambridge Univ. Press, 2001.
of Elias Strangas. The author’s work on high-gain observ- [3] H. F. Grip and A. Saberi, “High-gain observer design for multi-output
ers has been sponsored by the National Science Foun- systems: Transformation to a canonical form by dynamic output shaping,”
Int. J. Robust Nonlin. Control, vol. 24, pp. 1016–1042, 2014.
dation under several grants, and the most recent one is [4] L. Sciavicco and B. Siciliano, Modeling and Control of Robot Manipulators,
ECCS-1128476. 2nd ed. London, U.K.: Springer-Velag, 2000.
[5] M. W. Spong, S. Hutchinson, and M. Vidyasagar, Robot Modeling and
Control. Hoboken, NJ: Wiley, 2005.
AUTHOR INFORMATION [6] H. K. Khalil, Nonlinear Systems, 3rd ed. Upper Saddle River, NJ: Prentice
Hassan K. Khalil (khalil@egr.msu.edu) received the B.S. Hall, 2002.
and M.S. degrees from Cairo University, Egypt, in 1973 [7] S. Li, J. Yang, W.-H. Chen, and X. Chen, Disturbance Observer-Based
Control: Methods and Applications. Boca Raton, FL: CRC, 2014.
and 1975, respectively, and the Ph.D. degree from the Uni- [8] Z. Gao. “Active disturbance rejection control: A paradigm shift in feed-
versity of Illinois, Urbana-Champaign, in 1978, all in elec- back control system design,” in Proc. American Control Conf., Minneapolis,
trical engineering. Since 1978, he has been with Michigan MN, 2006, pp. 2239–2405.
[9] J. Han, “From PID to active disturbance rejection control,” IEEE Trans.
State University (MSU), where he has been the University Ind. Electron., vol. 56, no. 3, pp. 900–906, 2009.
Distinguished Professor of Electrical and Computer En- [10] L. Wang, A. Isidori, and H. Su, “Output feedback stabilization of non-
gineering since 2003. He has consulted for General Mo- linear MIMO systems having uncertain high-frequency gain matrix,” Syst.
Control Lett., vol. 83, pp. 1–8, Sept. 2015.
tors and Delco Products and published several papers on [11] H. Kwakernaak and R. Sivan, Linear Optimal Control Systems. New York:
singular-perturbation methods and nonlinear control. He Wiley, 1972.
is the author of Nonlinear Control (Pearson, 2015), Nonlinear [12] L. B. Freidovich and H. K. Khalil, “Performance recovery of feedback-
linearization-based designs,” IEEE Trans. Automat. Control, vol. 53, no. 10,
Systems (Macmillan, 1992; Prentice Hall, 1996 and 2002) pp. 2324–2334, 2008.
and coauthor of Singular Perturbation Methods in Control: [13] J. H. Ahrens and H. K. Khalil, “High-gain observers in the presence of
Analysis and Design (Academic, 1986; SIAM, 1999). He was measurement noise: A switched-gain approach,” Automatica, vol. 45, no. 4,
pp. 936–943, 2009.
named IEEE Fellow in 1989 and International Federation [14] A. A. Prasov and H. K. Khalil, “A nonlinear high-gain observer for
of Automatic Control (IFAC) Fellow in 2007. He received systems with measurement noise in a feedback control framework,” IEEE
the 1989 IEEE Control Systems Society (CSS) George S. Trans. Automat. Control, vol. 58, no. 3, pp. 569–580, 2013.
[15] R. G. Sanfelice and L. Praly, “On the performance of high-gain observ-
Axelby Outstanding Paper Award, the 2000 American ers with gain adaptation under measurement noise,” Automatica, vol. 47, no.
Automatic Control Council (AACC) Ragazzini Educa- 10, pp. 2165–2176, 2011.
tion Award, the 2002 IFAC Control Engineering Textbook [16] K. Khalil, “Analysis of the use of low-pass filters with high-gain observ-
ers,” in Proc. 10th IFAC Symp. Nonlinear Control Systems, NOLCOS, Monterey,
Prize, the 2004 AACC O. Hugo Schuck Best Paper Award, CA, 2016, pp. 488–492.
the 2009 Alliances for Graduate Education and the Profes- [17] D. Astolfi and L. Marconi, “A high-gain nonlinear observer with lim-
soriate (AGEP) Faculty Mentor of the Year Award, and the ited gain power,” IEEE Trans. Automat. Control, vol. 60, no. 11, pp. 3059–3064,
2015.
2015 IEEE CSS Bode Lecture Prize. At MSU he received [18] J. Chiasson, Modeling and High-Performance Control of Electric Machines.
the 1983 Teacher Scholar Award, the 1994 Withrow Distin- Hoboken, NJ: Wiley, 2005.
guished Scholar Award, and the 1995 Distinguished Fac- [19] P. V. Kokotović, H. K. Khalil, and J. O’Reilly, Singular Perturbations Meth-
ods in Control: Analysis and Design. New York: Academic, 1986. Republished
ulty Award. He was associate editor of IEEE Transactions by SIAM, 1999.
on Automatic Control, Automatica, and Neural Networks and [20] A. A. Alfehaid. (2015). Speed control of permanent magnet synchro-
editor of nonlinear systems and control for Automatica. He nous motor using extended high-gain observer [Online]. Master’s thesis,
Michigan State Univ., East Lansing. Available: http://gradworks.umi
was registration chair of the 1984 Conference on Decision .com/16/05/1605326.html
and Control, finance chair of the 1987 American Control [21] A. A. Alfehaid, E. G. Strangas, and H. K. Khalil. “Speed control of per-
Conference (ACC), program chair of the 1988 ACC, and manent magnet synchronous motor using extended high-gain observer,”
in Proc. American Control Conf., Boston, MA, 2016, pp. 2205–2210.
general chair of the 1994 ACC. He can be contacted at [22] H. K. Khalil and L. Praly, “High-gain observers in nonlinear feedback
Michigan State University, Department of Electrical and control,” Int. J. Robust. Nonlin. Control, vol. 24, no. 6, pp. 993–1015, 2014.
Computer Engineering, 428 S. Shaw Lane, East Lansing,
MI 48824 USA.