-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.asv
More file actions
25 lines (15 loc) · 3.69 KB
/
Copy pathREADME.asv
File metadata and controls
25 lines (15 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Non-Linear Control
In this MATLAB-Script two feedback controllers for stabilizing a non-linear dynamical system are compared. The system is described by the following differential equation:


## Control strategies
### [Backstepping control](https://en.wikipedia.org/wiki/Backstepping)
Recursive design where in each step one state variable get's controled. The resulting closed loop system leads to asymptotic stability.
%20%5C%5Cx_2%20:=&%20%5Calpha_1%20%5Ctext%7B%20choose%20%7D%20%5Calpha_1%20%5Ctext%7B%20such%20that%20%7D%20%5Cdot%7BV%7D_1%20%5Ctext%7B%20is%20ndf%20%7D%20%5C%5C%5Calpha_1%20=&%20z_1%5E3%20-%20z_1%20%5Cimplies%20%5Cdot%7BV%7D_1%20=%20-z_1%5E2%5Cend%7Balign*%7D)
%20%5C%5Cu%20:=&%20%5C%20-2%20z_2%20+%203%20z_1%5E2%20(z_2%20-%20z_1)%20%5Ctext%7B,%20select%20%7D%20u%20%5Ctext%7B%20such%20that%20%7D%20%5Cdot%7BV%7D_2%20%5Ctext%7B%20is%20ndf%7D%20%5C%5C&%5Cimplies%20%5Cdot%7BV%7D_2%20=%20-z_1%5E2%20-%20z_2%5E2%20%20%5Cend%7Balign*%7D%20)
Finally substitude back  and  into the control law.
### [Lyapuov based control](https://en.wikipedia.org/wiki/Control-Lyapunov_function)
A positive definite "pseudo-energy" energy function =||&space;x&space;||^2) is defined. The control law aims to make the derivative of this function negative (semi-)definite. This leads to a closed loop system which loses energy over time.
&space;&=&space;||x||^2&space;=&space;x_1^2&space;+&space;x_2^2&space;\\\\\dot{V}(x)&space;&=&space;\frac{\partial&space;V}{\partial&space;x_1}\dot{x}_1&space;+&space;\frac{\partial&space;V}{\partial&space;x_2}\dot{x}_2&space;=&space;2&space;x_1&space;(x_2&space;-&space;x_1^3)&space;+&space;2&space;x_2&space;u&space;\\\\0&space;&\geq&space;\dot{V}(x)&space;\geq&space;x_1&space;x_2&space;-&space;x_1^4&space;+&space;x_2&space;u&space;\geq&space;x_2&space;(&space;x_1&space;+&space;u&space;)&space;\\\\\text{with&space;}&space;u&space;&:=&space;-\alpha&space;(x_2&space;+&space;x_1)&space;\text{,&space;}&space;\alpha&space;\in&space;\mathbb{R}_+&space;\implies&space;\dot{V}(x)&space;=&space;-x_2^2&space;\leq&space;0\end{align})
## Phase portrait
