Algorithm Search⌘K

Definitioncore

Relative degree

Also called relative degree of a nonlinear system.

The number r of times the output must be differentiated before the input appears: L_g L_f^k h = 0 near x0 for k < r - 1 and L_g L_f^(r-1) h(x0) is not 0. It may not exist at some points.

The relative degree of a system with input uu and output yy is the number of times one must differentiate yy before uu appears in the result. For a linear system it is the difference between the degree of the denominator and the degree of the numerator of the transfer function. For a nonlinear control-affine system it is defined with Lie derivatives, and it is a local property: it is defined at a point, and it may not exist at some points. When it exists, it is the number of integrators between the input and the output after a change of coordinates and a feedback. It tells input-output linearization how many derivatives to take, and it splits the state into rr coordinates that the output controls and n−rn - r coordinates that form the zero dynamics.

Definition

Setting. The system is

x˙=f(x)+g(x) u,y=h(x),\dot x = f(x) + g(x)\, u, \qquad y = h(x),

with x∈Ux \in U, an open subset of Rn\mathbb{R}^n, a scalar input uu and a scalar output yy. The fields ff, gg and the function hh are smooth (C∞C^\infty) on UU. Smoothness makes f+guf + g u locally Lipschitz for each fixed uu, so solutions exist and are unique by the Picard-Lindelöf theorem.

The system has relative degree rr at x0∈Ux_0 \in U if

  1. LgLfkh(x)=0L_g L_f^k h(x) = 0 for all xx in a neighborhood of x0x_0 and all k=0,…,r−2k = 0, \dots, r - 2, and
  2. LgLfr−1h(x0)≠0L_g L_f^{r-1} h(x_0) \neq 0.

If rr exists, it is unique. If it exists at x0x_0, it exists and has the same value at all points near x0x_0, because LgLfr−1hL_g L_f^{r-1} h is continuous. The system has relative degree rr on a set if it has relative degree rr at each point of the set.

What it means. Let rr be the relative degree at x0x_0. Near x0x_0, along any solution,

y(k)=Lfkh(x)(k=0,…,r−1),y(r)=Lfrh(x)+LgLfr−1h(x) u.y^{(k)} = L_f^k h(x) \quad (k = 0, \dots, r - 1), \qquad y^{(r)} = L_f^r h(x) + L_g L_f^{r-1} h(x)\, u .

So rr is the first derivative of yy in which uu appears, and it appears there with a coefficient that is not zero.

Bound. If the relative degree rr exists at x0x_0, then r≤nr \le n, and the row vectors dh(x0),dLfh(x0),…,dLfr−1h(x0)dh(x_0), dL_f h(x_0), \dots, dL_f^{r-1} h(x_0) are linearly independent. The proof uses the identity

LadfjgLfih={0i+j≤r−2,(−1)jLgLfr−1hi+j=r−1,L_{\mathrm{ad}_f^j g} L_f^i h = \begin{cases} 0 & i + j \le r - 2, \\ (-1)^j L_g L_f^{r-1} h & i + j = r - 1, \end{cases}

which follows from L[f,g]=LfLg−LgLfL_{[f,g]} = L_f L_g - L_g L_f by induction on jj (see the Lie bracket). Then the r×rr \times r matrix with entries dLfih(x0)⋅adfjg(x0)dL_f^i h(x_0) \cdot \mathrm{ad}_f^j g(x_0) is zero above its anti-diagonal and has nonzero entries on it, so it has rank rr, and so do its rr rows dLfih(x0)dL_f^i h(x_0). The full proof is on the input-output linearization page, in its proof of correctness. A consequence: if LgLfkh=0L_g L_f^k h = 0 near x0x_0 for k=0,…,n−1k = 0, \dots, n - 1, then no point near x0x_0 has a relative degree. Some books then say that the relative degree is infinite.

Invariance. The relative degree does not change under a change of coordinates z=T(x)z = T(x), and it does not change under a feedback u=α(x)+β(x)vu = \alpha(x) + \beta(x) v with β(x)≠0\beta(x) \neq 0. For the feedback, Lf+gαkh=LfkhL_{f + g\alpha}^k h = L_f^k h for k≤r−1k \le r - 1, and LgβLf+gαr−1h=β LgLfr−1hL_{g\beta} L_{f+g\alpha}^{r-1} h = \beta\, L_g L_f^{r-1} h.

Several inputs and outputs. For mm inputs and mm outputs, the system has vector relative degree (r1,…,rm)(r_1, \dots, r_m) at x0x_0 if LgjLfkhi=0L_{g_j} L_f^k h_i = 0 near x0x_0 for all jj and all k<ri−1k < r_i - 1, and the m×mm \times m decoupling matrix with entries LgjLfri−1hi(x0)L_{g_j} L_f^{r_i - 1} h_i(x_0) is nonsingular. Isidori treats this case in Chapter 5.

Examples and non-examples

Linear system. For f(x)=Axf(x) = A x, g=Bg = B and h(x)=Cxh(x) = C x, LgLfkh=CAkBL_g L_f^k h = C A^k B, a constant. So rr is the first kk with CAk−1B≠0C A^{k-1} B \neq 0, and it is the same at every point. The numbers CAk−1BC A^{k-1} B are the Markov parameters, the coefficients of G(s)=C(sI−A)−1B=∑k≥1CAk−1B s−kG(s) = C (sI - A)^{-1} B = \sum_{k \ge 1} C A^{k-1} B\, s^{-k}. So rr is the degree of the denominator minus the degree of the numerator of GG. For A=[01−2−3]A = \begin{bmatrix} 0 & 1 \\ -2 & -3 \end{bmatrix}, B=[01]B = \begin{bmatrix} 0 \\ 1 \end{bmatrix} and C=[−11]C = \begin{bmatrix} -1 & 1 \end{bmatrix}, CB=1C B = 1, so r=1r = 1, and indeed G(s)=(s−1)/(s2+3s+2)G(s) = (s - 1)/(s^2 + 3 s + 2).

A nonlinear system with r=2r = 2 everywhere. Take x˙1=x2\dot x_1 = x_2, x˙2=x1x3−x23+(1+x12)u\dot x_2 = x_1 x_3 - x_2^3 + (1 + x_1^2) u, x˙3=−x3+x12\dot x_3 = -x_3 + x_1^2 and y=x1y = x_1. Then Lgh=0L_g h = 0 and LgLfh=1+x12>0L_g L_f h = 1 + x_1^2 > 0, so r=2r = 2 at every point. The third state does not appear in yy, y˙\dot y or the coefficient of uu; it is the internal state that the zero dynamics describe.

Pendulum with a torque. For x˙1=x2\dot x_1 = x_2, x˙2=−sin⁡x1+u\dot x_2 = -\sin x_1 + u, the output y=x1y = x_1 (the angle) has r=2=nr = 2 = n, and the output y=x2y = x_2 (the angular velocity) has r=1r = 1. The relative degree depends on the output, not only on the system.

Undefined at some points. Let f(x)=(x2,0)f(x) = (x_2, 0), g(x)=(x1,1)g(x) = (x_1, 1) and h(x)=x1h(x) = x_1. Then Lgh=x1L_g h = x_1. At x0=(1,0)x_0 = (1, 0) it is not zero, so r=1r = 1. At x0=(0,1)x_0 = (0, 1) it is zero, but it is not zero on any neighborhood of x0x_0. So condition 1 fails for every r≥2r \ge 2, and condition 2 fails for r=1r = 1. No relative degree exists at the points with x1=0x_1 = 0.

Different from the linearization. Take x˙1=x2+x32\dot x_1 = x_2 + x_3^2, x˙2=x3\dot x_2 = x_3, x˙3=u\dot x_3 = u and y=x1y = x_1. The Jacobian linearization at 00 is a chain of three integrators with relative degree 33. But Lgh=0L_g h = 0 and LgLfh=2x3L_g L_f h = 2 x_3, which is zero at 00 and not zero near 00. So the nonlinear system has no relative degree at 00.

Non-example: no input effect. For x˙1=u\dot x_1 = u, x˙2=−x2\dot x_2 = -x_2 and y=x2y = x_2, all LgLfkhL_g L_f^k h are zero. The input never reaches the output, and no relative degree exists anywhere.

References

  1. Alberto Isidori, Nonlinear Control Systems, third edition, Springer, 1995, Chapter 4 (Nonlinear feedback for single-input single-output systems), the definition of the relative degree and the lemma on the independence of dh, ..., dL_f^(r-1) h; Chapter 5 for the vector relative degree
  2. Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Section 13.2, Input-Output Linearization
  3. Jean-Jacques E. Slotine and Weiping Li, Applied Nonlinear Control, Prentice Hall, 1991, Chapter 6; the relative degree first appears in Section 6.1.3 (input-output linearization)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/1JKEF2/text.yaml