Professional Documents
Culture Documents
N. Baiboun
September 27, 2021
Example 1.1
Let’s analyse the following system:
v̇ + |v|v = u
for u = 1 and u = 10
[2]: examples.example1(u=1)
1
[3]: examples.example1(u=10)
2
It can be easily seen that the static gain is different for different inputs. Mathematically, this is
also easily proved by the differential equation. Indeed, when the transient ends, the derivatives are
all equal to 0:
0 + |v|v = u (1)
√
⇔v = u (2)
The other type of nonlinearities is what would be called “static nonlinearity”, such as:
• relay
• dead zone
• saturation
• hysteresis
• quantization
Tools used in linear control such as Bode Plot, pole placement etc… are no more usable for nonlinear
systems because the mathematical tools are based on linear differential equations.
If we really have to design a nonlinear control system, the physics will be our best option. Good
physical understanding can ease the design of a controller.
Here are a list of common nonlinear behaviours:
• Multiple equilibria
• Finite escape time
• Limit cycles
• Chaos
ẋ = f (x, t)
1.2.1 Equilibrium
A basic definition of an equilibrium point would be: “if the system starts there, it stays there”.
f (xeq ) = 0
3
Example 1.2
Let’s consider a simple pendulum equation:
M R2 θ̈ + bθ̇ + M gR sin θ = 0
x˙1 = x2 (3)
b g
x˙2 = − 2
x2 − sin x1 (4)
MR R
The equilibrium points are given by x˙1 = x˙2 = 0. Which will lead to the points (0 + 2kπ, 0) and
(π + 2kπ, 0) for k ∈ Z. Physically, this means that the equilibrium points are the vertical up and
down positions.
1.2.2 Stability
In linear systems, the notion of stability is quite simple. A system can be:
• stable: for any initial state, the system will converge to its equilibrium point exponentially
• unstable: for any initial state, the system will blow up and the state will tend to infinity
exponentially
• marginally stable: neither stable or unstable; this stability state is not robust
Nonlinear systems having more complex behaviour, we will have to define different concepts of
stability.
We usually not talk about system stability but stability of equilibrium points. This is because a
nonlinear system can have multiple equilibria or limit cycles. Each region of the state-space will
then have a different stability behaviour. In the following, we will always consider the origin as the
equilibrium point (x = 0).
Definitions
The equilibrium point x = 0 is:
• stable if, ∀ R > 0, ∃ r > 0 such that ∥x(0)∥ < r =⇒ ∀ t ≥ 0, ∥x(t)∥ < R
• unstable if it is not stable; that means if there exists at least one R such that for every
r > 0, ∥x(t)∥ > R eventually (for t > T)
• asymptotically stable if it is stable and if ∃ r > 0 such that ∥x(0)∥ < r =⇒ x(t) → 0 as
t→∞
• exponentially stable if ∃ α > 0, λ > 0 such that ∀ t > 0, ∥x(t)∥ ≤ α∥x(0)∥e−λt for ∥x(0)∥ < r
All these definitions suppose that ∥x(0)∥ < r, which means that the equilibrium point is locally
stable. If r → ∞, that is, for any initial state, the equilibrium point is said to be globally stable.
4
1.2.3 Linearisation
Linearisation aims to approximate the behaviour of a nonlinear systems in a small region around
its equilibrium point.
Using Taylor expansion on the nonlinear autonomous system equation, we obtain
( )
∂f
ẋ = f (0) + x + fhot (x)
∂x x=0
where f (0) = 0 and hot stands for high order terms. Neglecting the higher order terms of the
Taylor expansion, and replacing f (0) by its value, the equation simplifies to
( )
∂f
ẋ = x
∂x x=0
( )
∂f
or, by defining the matrix A = ∂x x=0 , we have
ẋ = Ax
which is the well known state equation of a linear system without input.
In the more general case where the nonlinear system has a control input u, the system is defined
ẋ = f (x, u)
( ) ( )
∂f ∂f
or, by defining the matrix A = ∂x (x=0,u=0) and B = ∂u (x=0,u=0) we have
ẋ = Ax + Bu
5
Example 1.3
Let’s consider the following system
∂f1
= cos x2 (7)
∂x1
∂f1
= 2x2 − x1 sin x2 (8)
∂x2
∂f2
= 2x1 + 1 + sin x2 (9)
∂x1
∂f2
= 1 + x1 cos x2 (10)
∂x2
( )
1 0
ẋ = x
1 1
x˙1 = x1 (13)
x˙2 = x2 + x1 (14)
6
( )
1 0
ẋ = x
1 1
The example above shows that the second method saves a lot of computations.
Example 1.4
Let’s take our first example but without any input u
v̇ = −|v|v
This system is stable because when v < 0, v̇ > 0 which makes v increase, and when v > 0, v̇ < 0
which makes v decrease. This system is, by intuition, at least globally asymptotically stable.
Linearisation gives
v̇ = 0
v̇ = |v|v
This system is unstable because when v < 0, v̇ < 0 which makes v decrease further, and when
v > 0, v̇ > 0 which makes v increase further. This system is, by intuition, unstable.
Linearisation gives
v̇ = 0
7
We cannot conclude anything when the linear approximation is marginally stable.
This example shows that, because linearisation neglects higher order terms, the local behaviour has
to be “robust” so that the effect of nonlinear terms cannot modify the stability of the linear part
of the system. Because marginal stability is not robust (a slight change in any parameter of the
system can make the system stable or unstable), the nonlinear terms near the equilibrium point
will decide whether that slight change will make the system stable or unstable.
1.3 Exercises
Hint: For all the exercises, you can use any numerical computing software to compute the eigen-
values of the matrices using the “eig” function:
A = [1 2;3 4];
d = eig(A);
1.3.1 Exercise 1
Consider the system given by:
1.3.2 Exercise 2
Consider the system given by:
1.3.3 Exercise 3
Consider the system given by: