Docsity

Relative Degree and Input-Output Linearization of Nonlinear Systems - Prof. Craig A. Wools, Study notes of Aerospace Engineering

Toggle sidebar
bg1
Lecture 16: Input-Output Linearization
Definition. A system
˙
x=f(x) + g(x)u
y=h(x)
has relative degree rin a region D0if
Lgψi= 0 for i∈ {0,1,...,r −1}and Lgψr6= 0
for all x∈D0where
ψ1(x) = h(x) and ψi+1(x) = Lfψi, i ∈ {1,2,...,r−1}.
The system is input-output linearizable in a domain D0if it has relative degree r≤nthere.
The relative degree of a nonlinear system is not always well-defined. If Lgψrgoes to zero for some value
of x∈D0, then the relative degree is not defined at that point. If that point is an equilibrium point
which one wishes to stabilize, for example, one cannot use input-output linearization to design a stabilizing
control law.
Note that a system’s relative degree depends on the definition of the output. A system might have higher,
lower, or undefined relative degree, depending on the choice of output function. In this sense, the input-
state linearization problem can be thought of as searching for a special output function y=h(x) = T1(x)
for which a given system has relative degree n.
Example (Sastry). Consider the following nonlinear control system which models a simple mass-spring-
damper with a nonlinear spring,
˙
x=x2
−x1−x3
1−x2+0
1u.
If we take as the output function h(x) = x1and we define ψ1=h=x1, we find
˙
ψ1=Lfψ1+ (Lgψ1)u
=1
0·x2
−x1−x3
1−x2+1
0·0
1u.
Noting that Lgψ1= 0, we define ψ2=˙
ψ1=Lfψ1=x2and compute
˙
ψ2=Lfψ2+ (Lgψ2)u.
Since Lgψ2= 1, the system has relative degree 2 and is therefore input-output linearizable.
With x1as the output, the system is both input-output and input-state linearizable. With x2as the
output, this observation would not have followed. In this case, defining ψ1=x2, one finds that Lgψ1= 1,
so the system has relative degree 1. It follows that the system is input-output linearizable, but one cannot
conclude that the system is input-state linearizable. (Of course, we already know that it is because we
know another output function for which the relative degree is n= 2.)
Now suppose the output function is h(x) = cos x2. In this case, Lgψ1=−sin x2and the relative degree is 1
in regions which exclude x2=±kπ, where kis an integer. Note that, if we were interested in input-output
linearizing the system in a region containing the origin, we would not be able to do so with this output
function.
1
pf3
pf4
pf5

Partial preview of the text

Download Relative Degree and Input-Output Linearization of Nonlinear Systems - Prof. Craig A. Wools and more Study notes Aerospace Engineering in PDF only on Docsity!

Lecture 16: Input-Output Linearization

Definition. A system

x˙ = f (x) + g(x)u y = h(x)

has relative degree r in a region D 0 if

Lgψi = 0 for i ∈ { 0 , 1 ,... , r − 1 } and Lgψr 6 = 0

for all x ∈ D 0 where

ψ 1 (x) = h(x) and ψi+1(x) = Lf ψi, i ∈ { 1 , 2 ,... , r − 1 }.

The system is input-output linearizable in a domain D 0 if it has relative degree r ≤ n there.

The relative degree of a nonlinear system is not always well-defined. If Lgψr goes to zero for some value of x ∈ D 0 , then the relative degree is not defined at that point. If that point is an equilibrium point which one wishes to stabilize, for example, one cannot use input-output linearization to design a stabilizing control law.

Note that a system’s relative degree depends on the definition of the output. A system might have higher, lower, or undefined relative degree, depending on the choice of output function. In this sense, the input- state linearization problem can be thought of as searching for a special output function y = h(x) = T 1 (x) for which a given system has relative degree n.

Example (Sastry). Consider the following nonlinear control system which models a simple mass-spring- damper with a nonlinear spring,

x˙ =

x 2 −x 1 − x^31 − x 2

u.

If we take as the output function h(x) = x 1 and we define ψ 1 = h = x 1 , we find

ψ˙ 1 = Lf ψ 1 + (Lgψ 1 ) u

=

x 2 −x 1 − x^31 − x 2

u.

Noting that Lgψ 1 = 0, we define ψ 2 = ψ˙ 1 = Lf ψ 1 = x 2 and compute

ψ˙ 2 = Lf ψ 2 + (Lgψ 2 ) u.

Since Lgψ 2 = 1, the system has relative degree 2 and is therefore input-output linearizable.

With x 1 as the output, the system is both input-output and input-state linearizable. With x 2 as the output, this observation would not have followed. In this case, defining ψ 1 = x 2 , one finds that Lgψ 1 = 1, so the system has relative degree 1. It follows that the system is input-output linearizable, but one cannot conclude that the system is input-state linearizable. (Of course, we already know that it is because we know another output function for which the relative degree is n = 2.)

Now suppose the output function is h(x) = cos x 2. In this case, Lgψ 1 = − sin x 2 and the relative degree is 1 in regions which exclude x 2 = ±kπ, where k is an integer. Note that, if we were interested in input-output linearizing the system in a region containing the origin, we would not be able to do so with this output function. 

In the computations above, the relative degree corresponds to the number of times one must differentiate the output before the input appears, i.e., the number of “integrators” between the input and the output. The term “relative degree” is adopted from linear system theory where the relative degree of a transfer function is defined as the excess of poles over zeros (i.e., the difference between the order of the denominator polynomial and the numerator polynomial). To see why this terminology is appropriate, consider a linear system represented by the transfer function

Y (s) U (s)

= H(s) =

bmsm^ + bm− 1 sm−^1 + · · · + b 1 s + b 0 sn^ + an− 1 sn−^1 + · · · + a 1 s + a 0

where m < n. A minimum order state-space realization for this transfer function is

x˙ = Ax + Bu y = Cx

where

A =

−a 0 −a 1 −a 2 · · · −an− 2 −an− 1

, B =

C = [b 0 b 1 · · · bm 0 · · · 0].

Suppose we compute the relative degree, according to our previous definition. First, observe that

y˙ = C x˙ = C (Ax + Bu)

and note that CB = 0.

The input does not appear in the first derivative of y. Therefore,

y˙ = CAx.

Next, compute ¨y = CA x˙ = CA (Ax + Bu)

and note that CAB = 0.

Continuing, we find that diy dti^

= CAi−^1 x˙ = CAi−^1 (Ax + Bu)

for i < r − 1 where r = n − m. Notice, however, that Ai−^1 B has a 1 in the (n − i + 1)th row. Thus, Ar−^1 B has a one in the (n − r + 1)th row (i.e., the (m + 1)th row). We therefore have

CAr−^1 B = bm 6 = 0.

Thus, the control appears in the rth derivative of the output where r = n − m is the “relative degree” of the transfer function, that is, the difference in the degree of the denominator and numerator polynomials.

Important observation. Recall that relative degree depends on the definition of the output. Different output functions for a given system may endow the system with different (or ill-defined) relative degree. However, given an output function, the relative degree of a system is invariant under state transformation.

The origin of the ψ subsystem is obviously exponentially stable, but what about the x 1 subsystem? Even though ψ → 0 , the unobservable state x 1 grows without bound. The system is not internally stable. And because the control law (1) depends on x 1 , the actuator could saturate under a small perturbation of ψ making the system model inaccurate. Any analysis which ignore this fact would provide dubious conclusions.

The point of the example is that, for a system with relative degree r < n, the input-output linearized dynamics do not describe the entire system. The functions ψ 1 through ψr only define a partial change of coordinates, so the associated dynamics only describe part of the system dynamics. The remaining dynamics are made unobservable by the linearizing feedback. Clearly, though, this does not mean that these dynamics are unimportant.

In fact, it is crucial that one characterize stability of the zero dynamics before attempting to use an input- output feedback linearizing control law. The zero dynamics are the unobservable dynamics with the output held at zero. For control purposes, we will require that the zero dynamics be asymptotically stable. In this case, the input-output linearizable system is called minimum phase. The terms “zero dynamics” and “minimum phase” carry over directly from linear system theory, as explained in Appendix A.

A Zero dynamics and minimum phase nonlinear systems

u +^ y

  • Q s( )

N s( )

R s( )

e

w

Figure 1: Feedback representation of H(s).

Consider a linear system described by the transfer function

H(s) =

N (s) D(s)

bmsm^ + bm− 1 sm−^1 + · · · + b 1 s + b 0 sn^ + an− 1 sn−^1 + · · · + a 1 s + a 0

where m < n. Polynomial division of D(s) by the lower-order polynomial N (s) gives

D(s) = Q(s)N (s) + R(s)

where the quotient polynomial Q(s) has degree r = n −m (so that the product Q(s)N (s) has degree n) and where the remainder polynomial R(s) has degree less than m (because R(s) would otherwise be divisible by N (s)). Thus, we may re-write

H(s) =

N (s) Q(s)N (s) + R(s)

1 Q(s) 1 + (^) Q^1 (s) N^ R( (ss))

which is in the form of a negative feedback interconnection as shown in Figure 1.

Following the notation of Khalil, the “plant” in the feedback loop of Figure 1 is an rth order system with the state-space realization

ψ˙ = (Ac + BcλT^ )^ ψ + Bcbme y = Ccψ

where Ac is a series of n − 1 integrators with zeros in the last row and λ is the r-vector of coefficients for the polynomial Q(s), which is the characteristic polynomial for this subsystem. The term bm is the coefficient of the highest order term in N (s). The output matrix Cc has a 1 in the first column with all remaining columns zero, which reflects the fact that (^) Q^1 (s) has no zeros.

Similarly, we may define a state-space realization for the transfer function in the feedback loop. Namely, we define the linear dynamics

φ˙ = A 0 φ + B 0 y w = C 0 φ

Important Observation. The eigenvalues of A 0 are the roots of the polynomial N (s), that is, the zeros of the original system.

The full system dynamics may be written

φ˙ = A 0 φ + B 0 Ccψ ψ^ ˙ = Acψ + Bc^ (λT^ ψ − bmC 0 φ + bmu) y = Ccψ

Noting that the system has relative degree r = n − m, we know that the input u appears in the rth derivative of the output y: dry dtr^

= λT^ ψ − bmC 0 φ + bmu.

Choosing

u =

bm

−λT^ ψ + bmC 0 φ + v

gives the “input-output linearized” dynamics

φ˙ = A 0 φ + B 0 Ccψ ψ^ ˙ = Acψ + Bcv y = Ccψ.

Notice that the state φ does not affect the ψ dynamics and thus does not influence the output. In this sense, we say that the φ dynamics have been made unobservable through feedback. This system is in the so-called “normal form” for input-output linearization. (Of course, this system is already linear, but it serves as a good example.) Though the state φ is “unobservable” in the ψ dynamics, it certainly appears in the input-output linearizing control law (2).

Suppose the state matrix A 0 has a right-half plane eigenvalue. Then for some set of initial states, the unobservable state φ will diverge. This means that the linearizing control law (2) may also diverge. In order to avoid such problems, it is necessary that the φ dynamics be asymptotically stable, i.e., that the state matrix A 0 be Hurwitz. Recall that the eigenvalues of A 0 are the zeros of the system H(s). Requiring that all of the roots of N (s) have negative real part requires, by definition, that the original linear system given by H(s) be minimum phase in the classical sense, i.e., that all of the zeros of H(s) must lie in the open left half of the complex plane.