> For the complete documentation index, see [llms.txt](https://aparande.gitbook.io/berkeley-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aparande.gitbook.io/berkeley-notes/ee222-0/ee222-5.md).

# Nonlinear Feedback Control

In nonlinear control problems, we have a system

$$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}, \boldsymbol{u}).$$

$$\boldsymbol{x}$$ is the state of the system, and $$\boldsymbol{u}$$ is the input to the system. Note that for simplicity, the system is time-invariant. Further assume, without loss of generality, that $$f(0, 0) = 0$$. The goal of nonlinear feedback control is to find a state feedback law $$\alpha(\boldsymbol{x})$$ such that the equilibrium point $$\boldsymbol{x}\_e = 0$$ is globally asymptotically stable for the closed loop system

$$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}, \alpha(\boldsymbol{x})).$$

Sometimes, the control impacts the state evolution in an affine manner.

{% hint style="info" %}

#### Definition 52

A control affine system is given by the differential equation

$$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}) + G(\boldsymbol{x})\boldsymbol{u}$$

where $$G(\boldsymbol{x})$$ is a matrix dependent on the state vector $$\boldsymbol{x}$$.
{% endhint %}

When designing controllers, there is a wide variety of techniques we can use. Some simple techniques involve canceling out various types of nonlinearities in the system using the input. Here are some examples.

1. Set $$\boldsymbol{u}$$ such that it cancels out nonlinear terms and adds a stable linear term, effectively making the nonlinear system behave linear in the closed loop.
2. Set $$\boldsymbol{u}$$ to cancel destabilitizing nonlinear terms and add a stable linear term, so the stable nonlinearities help the input drive the system to equilibrium.
3. Set $$\boldsymbol{u}$$ to cancel destabilizing nonlinear terms, so the nonlinear system dynamics drive the system to equilibrium.
4. Set $$\boldsymbol{u}$$ to dominate destabilizing terms so they have a minimal impact on the overall system behavior.

While these techniques can work, there are also more principled ways of designing controllers to satisfy different criteria, particularly for the case of control affine systems.

## Control Lyapunov Functions

If we can find an $$\alpha(\boldsymbol{x})$$ that makes the origin globally asymptotically stable, then the converse Lyapunov theorem says that we can find a corresponding Lyapunov function for the system.

$$\begin{aligned} \forall \boldsymbol{x} \neq 0, \frac{d^{}V}{dt^{}} < 0 &\implies (\nabla\_{\boldsymbol{x}}V)^\top f(\boldsymbol{x}, \alpha(\boldsymbol{x})) < 0 \ &\implies \exists \boldsymbol{u} \text{ s.t } (\nabla\_{\boldsymbol{x}}V)^\top f(\boldsymbol{x}, \boldsymbol{u}) < 0\ & \Leftrightarrow \inf\_{\boldsymbol{u}} (\nabla\_{\boldsymbol{x}}V)^\top f(\boldsymbol{x}, \boldsymbol{u}) < 0\end{aligned}$$

This result motivates the following definition.

{% hint style="info" %}

#### Definition 53

A continuously differentiable, PDF, radially unbounded $$V: \mathbb{R}^n \to \mathbb{R}$$ is a Control Lyapunov Function for the system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}, \boldsymbol{u})$$ if

$$\forall \boldsymbol{x} \neq 0, \inf\_{\boldsymbol{u}} (\nabla\_{\boldsymbol{x}}V)^\top f(\boldsymbol{x}, \boldsymbol{u}) < 0$$
{% endhint %}

Once we have a control lyapunov function, we can prove that it is possible to find a state feedback law that will make the origin globally asymptotically stable.

{% hint style="info" %}

#### Theorem 27

Suppose $$f$$ is Lipschitz and $$V$$ is a control Lyapunov function, then there exists a smooth function $$\alpha$$ such that the origin is a globally asympototically stable equilibrium point of $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}, \alpha(\boldsymbol{x}))$$.
{% endhint %}

Suppose that we have a control affine system, and we want to construct a control lyapunov function for the system.

$$\inf\_{\boldsymbol{u}} \frac{\partial V}{\partial \boldsymbol{x}}f(\boldsymbol{x}, \boldsymbol{u}) = \inf\_{\boldsymbol{u}} L\_f V + \sum\_i L\_{g\_i} V u\_i < 0$$

Here, each $$g\_i(\boldsymbol{x})$$ is a column of $$G(\boldsymbol{x})$$. If $$\forall i,\ L\_{g\_i} V = 0$$, then Definition 53 is satisfied so long as $$L\_f V < 0$$.

{% hint style="info" %}

#### Theorem 28

A function $$V$$ is a control lyapunov function for a control affine system

$$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}) + \sum\_i g\_i(\boldsymbol{x}) u\_i$$

if

$$L\_{g\_i} V, \forall i \implies L\_f V \leq 0$$
{% endhint %}

Notice that the condition in Theorem 28 is essentially saying that the $$l\_2$$-norm of the vector composed of the $$L\_{g\_i} V$$ is equal to 0. The choice of CLF is important because different CLFs have different properties when used to derive controllers.

{% hint style="info" %}

#### Definition 54

A CLF $$V(\boldsymbol{x})$$ satisfies the small control property if $$\forall \epsilon > 0$$, $$\exists \delta > 0$$ such that $$\boldsymbol{x}\in B\_\delta(0)$$, then if $$\boldsymbol{x}\neq0, \exists \boldsymbol{u}\in B\_\epsilon(0)$$ satisfying

$$\frac{d^{}V}{dt^{}} = L\_fV + L\_GV^T\boldsymbol{u} < 0.$$
{% endhint %}

The small control property means that CLF will lead to a controller which has a small value that does not get too large when close to the equilibrium.

Given a control lyapunov function for a control affine system $$V(\boldsymbol{x}, \boldsymbol{u})$$, we can devise a controller which stabilizes the system. In particular, we need

$$\frac{dV}{dt}(x, u) = L\_f V(\boldsymbol{x}) + L\_GV(\boldsymbol{x})^\top \boldsymbol{u} \leq 0.$$

Hence, let

$$\boldsymbol{u} = \begin{cases} 0, & \text{if } L\_f V < 0,\ (L\_GVL\_GV^\top)^{-1}(-L\_fV L\_GV^\top), & \text{if } L\_f V > 0. \end{cases}$$

When the plant dynamics are naturally stabilizing, this controller exerts no control effort. When the plant dynamics are not naturally stabilizing, then the controller applies some control to stabilize the system. We can show that this is a minimum norm controller as it solves the optimization problem

$$\begin{aligned} \min &\quad \boldsymbol{u}^\top \boldsymbol{u}\ \text{s.t} &\quad L\_fV + L\_GV^\top \boldsymbol{u} \leq 0. \end{aligned}$$

Another type of controller is known as the Sontag controller.

{% hint style="info" %}

#### Theorem 29

Suppose $$V:\mathbb{R}^n\to\mathbb{R}$$ is a CLF for SISO control affine system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}) + g(\boldsymbol{x})u$$ where $$f(0) = 0$$ where $$f$$ and $$g$$ are Lipschitz. Then the Sontag feedback control law is given by

$$\alpha\_S(\boldsymbol{x}) = \begin{cases} \frac{-L\_fV - \sqrt{(L\_fV)^2 + (L\_gV)^4}}{L\_gV}, & \text{if } L\_gV \neq 0,\ 0, & \text{else.} \end{cases}$$

makes the origin globally asymptotically stable. Moreover, $$\alpha\_S(\boldsymbol{x})$$ is continuous everywhere except $$\boldsymbol{x} = 0$$, is continuous at $$\boldsymbol{x}=0$$ if $$V$$ satisfies the small control property, and if $$V(\boldsymbol{x})$$ is $$K+1$$ times continuously differentiable and $$f(\boldsymbol{x}), g(\boldsymbol{x})$$ are $$K$$ times continously differentiable $$\forall \boldsymbol{x}\neq0$$, then $$\alpha\_S$$ is $$K$$times continuously differentiable.
{% endhint %}

## Feedback Linearization

Since we have a large number of tools which allow us to control linear systems, it would be ideal if we could somehow leverage those tools for nonlinear control. Feedback linearization is the process of finding a feedback control law $$\boldsymbol{u} = \alpha(\boldsymbol{x})$$ such that under a nonlinear change of coordinates $$z = \Phi(\boldsymbol{x})$$, the system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}, \alpha(\boldsymbol{x}))$$ behaves like a linear system $$\frac{d^{}\boldsymbol{z}}{dt^{}} = A\boldsymbol{z}$$. When the system is control-affine, there are well-established results which help us do this.

### SISO Case

Suppose we have a SISO control-affine system

$$\begin{aligned} \frac{d^{}\boldsymbol{x}}{dt^{}} &= f(\boldsymbol{x}) + g(\boldsymbol{x})u\ y &= h(\boldsymbol{x}) \end{aligned}$$

{% hint style="info" %}

#### Definition 55

A SISO control affine system with an equilibrium point $$\boldsymbol{x}\_e$$ has strict relative degree $$\gamma$$ if in a neighborhood $$U$$ around the equilibirum point, $$L\_gL\_f^{\gamma-1}h(\boldsymbol{x})$$ is bounded away from 0 and

$$\forall i=0,\cdots,\gamma-2,\ L\_gL\_f^{\gamma - 1}h(\boldsymbol{x}) = 0$$
{% endhint %}

To understand relative degree, suppose we differentiate $$y$$ once

$$\frac{d^{}y}{dt^{}} = L\_fh + L\_gh u.$$

If $$\forall \boldsymbol{x}\in U,\ L\_gh(\boldsymbol{x}) = 0$$ where $$U$$ is some region around the equilibrium, then

$$\forall \boldsymbol{x}\in U,\ \frac{d^{}y}{dt^{}} = L\_fh(\boldsymbol{x}).$$

If we differentiate again, then

$$\forall \boldsymbol{x}\in U,\ \frac{d^{2}y}{dt^{2}} = L\_f^2h(\boldsymbol{x}) + L\_gL\_fh(\boldsymbol{x}).$$

Suppose that $$\forall \boldsymbol{x}\in U,\ L\_gL\_fh(\boldsymbol{x}) = 0$$, then we can differentiate again. At some point, after $$\gamma$$ differentiations, we will get

$$\forall \boldsymbol{x}\in U,\ \frac{d^{\gamma}y}{dt^{\gamma}} = L\_f^\gamma h(\boldsymbol{x}) + L\_gL\_f^{\gamma-1}h(\boldsymbol{x})u.$$

Therefore, the relative degree of the system is essentially telling us which derivative of the output that we can control. By sequentially taking derivatives, we are essentially looking at the system

$$\begin{aligned} y &= h(\boldsymbol{x})\ \frac{d^{}y}{dt^{}} &= L\_fh(\boldsymbol{x})\ \frac{d^{2}y}{dt^{2}} &= L\_f^2h(\boldsymbol{x})\ &\vdots\ \frac{d^{\gamma}y}{dt^{\gamma}} &= L\_f^\gamma h(\boldsymbol{x}) + L\_gL\_f^{\gamma-1}h(\boldsymbol{x}) \end{aligned}$$

Suppose $$\forall i=0,\cdots,\gamma-1,$$ we let $$\xi\_i(\boldsymbol{x}) = \frac{d^{i}y}{dt^{i}}$$. These are $$\gamma$$ linearly independent coordinates. Since the distribution

$$\Delta(\boldsymbol{x}) = \text{span}{g(\boldsymbol{x})}$$

is involutive, it is integrable, and so there must be $$n-1$$ functions $$\eta\_i$$ such that

$$\forall \boldsymbol{x}\in U,\ (\nabla\_{\boldsymbol{x}}\eta\_i)^\top g(\boldsymbol{x}) = 0.$$

We can now choose $$n-\gamma$$ of them which are linearly independent of the $$\xi\_i$$ and linearly independent with each other, and this forms a change of coordinates

$$\begin{bmatrix} \xi\_1\ \vdots\ \xi\_{\gamma}\ \eta\_1\ \vdots\ \eta\_{n-\gamma} \end{bmatrix} = \Phi(\boldsymbol{x}) = \begin{bmatrix} h(\boldsymbol{x})\ L\_fh(\boldsymbol{x})\ \vdots\ L\_f^{\gamma-1}\ \eta\_1\ \vdots\ \eta\_{n-\gamma} \end{bmatrix}.$$

This change of coordinates allows us to put the system into a canonical form.

{% hint style="info" %}

#### Definition 56

The normal form of a SISO control affine system is given by

$$\begin{aligned} \frac{d^{}\xi\_1}{dt^{}} &= \xi\_2\ \frac{d^{}\xi\_2}{dt^{}} &= \xi\_3\ &\vdots\ \frac{d^{}\xi\_{\gamma}}{dt^{}} &= b(\boldsymbol{\xi}, \boldsymbol{\eta}) + a(\boldsymbol{\eta}, \boldsymbol{\xi})u\ \frac{d^{}\boldsymbol{\eta}}{dt^{}} &= q(\boldsymbol{\xi}, \boldsymbol{\eta}),\ y &= \eta\_1 \end{aligned}$$
{% endhint %}

When the original system is given by $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x})+g(\boldsymbol{x})u$$, then

$$b(\boldsymbol{\xi},\boldsymbol{\eta}) = L\_f^\gamma h(\Phi^{-1}(\boldsymbol{\xi}, \boldsymbol{\eta})) \qquad a(\boldsymbol{\xi}, \boldsymbol{\eta}) = L\_gL\_f^{\gamma-1} h(\Phi^{-1}(\boldsymbol{\xi}, \boldsymbol{\eta}))$$

With this parameterization, it is quite easy to see how we can make our system behave linearly. In particular, choose

$$u = \frac{1}{a(\boldsymbol{\xi}, \boldsymbol{\eta})}\left(-b(\boldsymbol{\xi}, \boldsymbol{\eta}) + v\right)$$

where $$v$$ is some control input. Then the system becomes

$$\begin{aligned} \frac{d^{}\xi\_1}{dt^{}} &= \xi\_2\ \frac{d^{}\xi\_2}{dt^{}} &= \xi\_3\ &\vdots\ \frac{d^{}\xi\_{\gamma}}{dt^{}} &= v\ \frac{d^{}\boldsymbol{\eta}}{dt^{}} &= q(\boldsymbol{\xi}, \boldsymbol{\eta})\ y &= \eta\_1 \end{aligned}$$

, which is a linear system. Therefore, we can design a linear feedback controller $$v = \alpha(\boldsymbol{x})$$ where we have all of the tools of linear control at our disposal. However, notice that the $$\eta\_i$$ cannot be impacted by the control effort. These are known as the **internal dynamics** of the system. When $$\boldsymbol{\xi} = 0$$, then

$$\frac{d^{}\boldsymbol{\eta}}{dt^{}} = q(0, \boldsymbol{\eta})$$

are known as the **Zero Dynamics** of the system. Zero dynamics for a system can be dangerous because if they are unstable, then the system could be blowing up. When $$\gamma = n$$, then there are no zero dynamics. When this happens, we say the system is **Full State Linearizable**. Fortunately, there are necessary and sufficient conditions which guarantee full state linearization.

{% hint style="info" %}

#### Theorem 30

There exists a function $$h$$ such that a control affine system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}) + g(\boldsymbol{x})u$$ has relative degree $$n$$ at $$\boldsymbol{x}\_0$$ if and only if

$$\begin{bmatrix} g(\boldsymbol{x}) & \cdots & \text{ad}\_f^{n-2}g(\boldsymbol{x}) & \text{ad}\_f^{n-1}g(\boldsymbol{x}) \end{bmatrix}$$

has rank $$n$$ and

$$\begin{bmatrix} g(\boldsymbol{x}) & \cdots & \text{ad}\_f^{n-3}g(\boldsymbol{x}) & \text{ad}\_f^{n-2}g(\boldsymbol{x}) \end{bmatrix}$$

has rank $$n-1$$ and is involutive in the neighborhood of $$\boldsymbol{x}\_0$$. The $$h$$ is chosen to satisfy

$$(\nabla\_{\boldsymbol{x}}h)^\top \begin{bmatrix} g(\boldsymbol{x}) & \cdots & \text{ad}\_f^{n-3}g(\boldsymbol{x}) & \text{ad}\_f^{n-2}g(\boldsymbol{x}) \end{bmatrix} = 0$$
{% endhint %}

### MIMO Case

Suppose instead we have a MIMO control affine system where

$$\begin{aligned} \frac{d^{}\boldsymbol{x}}{dt^{}} &= f(\boldsymbol{x}) + G(\boldsymbol{x})\boldsymbol{u}\ \boldsymbol{y} &= h(\boldsymbol{x}) \end{aligned}$$

We will assume that the number of outputs is equal to the number of inputs (i.e $$\boldsymbol{y}, \boldsymbol{u} \in \mathbb{R}^m$$). To linearize the system, we can take the same idea of relative degree from the SISO case and apply it to the MIMO case. Define $$\gamma\_j$$ to be the lowest derivative of $$y\_j$$ which is impacted by at least one input.

$$\begin{bmatrix} \frac{d^{\gamma\_1}y\_1}{dt^{\gamma\_1}}\ \vdots\ \frac{d^{\gamma\_m}y\_m}{dt^{\gamma\_m}} \end{bmatrix} = \begin{bmatrix} L\_f^{\gamma\_1}h\_1(\boldsymbol{x})\ \vdots\ L\_f^{\gamma\_m}h\_m(\boldsymbol{x})\ \end{bmatrix} + A(\boldsymbol{x})\boldsymbol{u}, \qquad A(\boldsymbol{x}) = \begin{bmatrix} L\_{g\_1}L\_f^{\gamma\_1-1}h\_1(\boldsymbol{x}) & \cdots & L\_{g\_m}L\_f^{\gamma\_1-1}h\_1(\boldsymbol{x})\ \vdots & \ddots & \vdots\ L\_{g\_1}L\_f^{\gamma\_m-1}h\_m(\boldsymbol{x}) & \cdots & L\_{g\_m}L\_f^{\gamma\_m-1}h\_m(\boldsymbol{x}) \end{bmatrix}$$

{% hint style="info" %}

#### Definition 57

A square control affine system has a vector relative degree $$(\gamma\_1, \cdots, \gamma\_m)$$ at $$\boldsymbol{x}\_0\in U$$ if $$A(\boldsymbol{x}\_0)$$ is nonsingular and

$$\forall 1\leq i\leq m,\ 1\leq j \leq m,\ 0 \leq k \leq \gamma\_j-2,\ \forall \boldsymbol{x}\in U,\ L\_{g\_i}L\_f^kh\_j(\boldsymbol{x}) = 0$$

\label{thm:vector-relative-degree}
{% endhint %}

As before, we can assign $$\frac{d^{i}y\_j}{dt^{i}} = \xi\_i^j$$ as a partial change of coordinates and then choose linearly independent $$\boldsymbol{\eta}$$.

{% hint style="info" %}

#### Definition 58

The normal form of a square MIMO system is given by

$$\begin{aligned} \frac{d^{}\boldsymbol{\eta}}{dt^{}} &= q(\boldsymbol{\xi},\boldsymbol{\eta}) + p(\boldsymbol{\xi}, \boldsymbol{\eta})\boldsymbol{u}\ \frac{d^{}\xi\_i^j}{dt^{}} &= \xi\_{i+1}^j, &\quad \forall j,\ \forall i < \gamma\_j-1\ \frac{d^{}\xi\_{\gamma\_j-1}^j}{dt^{}} &= b^j(\boldsymbol{\xi},\boldsymbol{\eta}) + \boldsymbol{a}^j(\boldsymbol{\xi},\boldsymbol{\eta})^\top\boldsymbol{u} \end{aligned}$$
{% endhint %}

As before the $$\frac{d^{}\boldsymbol{\eta}}{dt^{}}$$ represent the internal dynamics of the system that are not impacted by the control. As with the linear case, we can design a controller

$$\boldsymbol{u} = A^{-1}(\boldsymbol{x})\left( \begin{bmatrix} L\_f^{\gamma\_1}h\_1(\boldsymbol{x})\ \vdots\ L\_f^{\gamma\_m}h\_m(\boldsymbol{x})\ \end{bmatrix} + \boldsymbol{v}\right)$$

which renders the system linear. We can now choose $$\boldsymbol{v}$$ where each entry of $$\boldsymbol{v}$$ controls a different output. For this reason, we call $$A(\boldsymbol{x})$$ the decoupling matrix. As in the SISO case, unless $$\sum\_j \gamma\_j = n$$, there are zero dynamics to the system.

{% hint style="info" %}

#### Theorem 31

A control affine square system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x}) + G(\boldsymbol{x})\boldsymbol{u}$$ has vector relative degree $$\sum\_j \gamma\_j = n$$ if and only if $$\Delta\_i$$ is involutive for all $$i \leq n-2$$, $$\Delta\_i$$ has constant rank for all $$1 \leq i \leq n-1$$ and $$\Delta\_{n-1}$$ has rank $$n$$ where

$$\begin{aligned} \Delta\_0(\boldsymbol{x}) &= \text{span}{g\_1(\boldsymbol{x}),\cdots,g\_m(\boldsymbol{x})}\ \Delta\_i(\boldsymbol{x}) &= \text{span}{\text{ad}\_f^kg\_i(\boldsymbol{x})\ |\ \forall 0 \leq k \leq i, 1 \leq j \leq m}, &\quad \forall 1 \leq i \leq n-1 \end{aligned}$$
{% endhint %}

### Dynamic Extension

Sometimes, we can use full-state linearization even if $$h$$ does not satisfy the conditions in Theorem 30. We do this by adding additional states to the system and corresponding pseudo-control inputs which help control these states. Sometimes, this can be done in a way which makes the extended system full-state linearizable.

### Sliding Mode Control

In sliding mode control, we design a controller

$$u = \beta(\boldsymbol{x})\text{sgn}(s)$$

where $$s(\boldsymbol{x})$$ describes a manifold called the “sliding manifold”. Sliding mode controllers have two states

1. Reaching Mode
2. Sliding Mode

During the reaching mode, the controller drives the state towards the sliding manifold $$s(\boldsymbol{x}) = 0$$. We choose $$s$$ such that on the manifold, when the system is in sliding mode, the system naturally converges asymptotically to the equilibrium. If $$s(\boldsymbol{x}) = 0$$ is an invariant manifold, then the system will smoothly travel along the manifold to equilibrium. If the sliding manifold is not invariant, then the state will chatter around the manifold towards equilibrium as the controller continuously drives it back to the manifold once it leaves. To choose $$s$$, we need to find a CLF $$V(s)$$ which converges to $$0$$ in finite time when applying the sliding mode controller.

### Backstepping

{% hint style="info" %}

#### Definition 59

A system expressed in strict feedback form is given by

$$\begin{aligned} \frac{d^{}\boldsymbol{x}}{dt^{}} &= f\_0(\boldsymbol{x}) + g\_0(\boldsymbol{x})\xi\_1\ \frac{d^{}\xi\_1}{dt^{}} &= f\_1(\boldsymbol{x}, \xi\_1) + g\_1(\boldsymbol{x}, \xi\_1)\xi\_2\ &\vdots\ \frac{d^{}\xi\_k}{dt^{}} &= f\_k(\boldsymbol{x}, \xi\_1,\cdots,\xi\_k) + g\_k(\boldsymbol{x}, \xi\_1,\cdots,\xi\_k)u\ \end{aligned}$$
{% endhint %}

When systems are expressed in this way, we have a convenient method of designing controllers.

{% hint style="info" %}

#### Theorem 32 (Backstepping Lemma) <a href="#theorem-32" id="theorem-32"></a>

Suppose there is a continuously differentiable $$u=\alpha(\boldsymbol{x})$$ and a CLF $$V(\boldsymbol{x})$$ such that

$$L\_fV + L\_gV\alpha \leq -W$$

where $$W$$ is a positive semi-definite function for the system $$\frac{d^{}\boldsymbol{x}}{dt^{}} = f(\boldsymbol{x})+g(\boldsymbol{x})u$$. Then for the system

$$\begin{aligned} \frac{d^{}\boldsymbol{x}}{dt^{}} &= f(\boldsymbol{x}) + g(\boldsymbol{x})\xi\ \frac{d^{}\xi}{dt^{}} &= u \end{aligned}$$

the function

$$V\_a(\boldsymbol{x},\xi) = V(\boldsymbol{x}) + \frac{1}{2}(\xi - \alpha(\boldsymbol{x}))^2$$

is a valid CLF and the control input

$$u = -c(\xi-\alpha(\boldsymbol{x})) + (\nabla\_{\boldsymbol{x}}\alpha)^\top(f(\boldsymbol{x}) + g(\boldsymbol{x})\xi) - (\nabla\_{\boldsymbol{x}}V)^\top g(\boldsymbol{x}), \qquad c > 0$$

is a stabilizing controller.
{% endhint %}

If we apply Theorem 32 to a system expressed in strict feedback form, then we can recursively define controllers until we arrive at a controller for the full system.
