Lec01 2015eight
Lec01 2015eight
Lecture 1
November 2, 2015
Overview Lecture 1
• Practical information
• Course contents
• Nonlinear control systems phenomena
• Nonlinear differential equations
Course Goal
◮ Textbook
◮ Glad and Ljung, Reglerteori, flervariabla och olinjra metoder,
2003, Studentlitteratur,ISBN 9-14-403003-7 or the English
translation Control Theory, 2000, Taylor & Francis Ltd, ISBN
0-74-840878-9. The course covers Chapters 11-16,18. (MPC
and optimal control not covered in the other alternative
textbooks.)
◮ H. Khalil, Nonlinear Systems (3rd ed.), 2002, Prentice Hall,
ISBN 0-13-122740-8. A good, a bit more advanced text.
◮ ALTERNATIVE: Slotine and Li, Applied Nonlinear Control,
Prentice Hall, 1991. The course covers chapters 1-3 and 5,
and sections 4.7-4.8, 6.2, 7.1-7.3.
Course Material, cont.
———————
The three laboratory experiments are mandatory.
Sign-up lists are posted on the web at least one week before the
first laboratory experiment. The lists close one day before the first
session.
The Laboratory PMs are available at the course homepage.
Before the lab sessions some home assignments have to be done.
No reports after the labs.
Exercise sessions and TAs
The exercises (28 hours) are offered twice a week
Tue 15:15-17:00 M:2112B Wed 15:15-17:00 M:2112B
NOTE: The exercises are held in the seminar room of the Automatic
Control Department, M-building, second floor see schedule on home
page.
EXCEPTIONS: (i) for the first two weeks only Wednesday exercise
sessions are scheduled at 13:15–15:00 instead of 15:15-17:00.
(ii) on November 24 and 25 the exercise sessions will be held in a
different room to be announced in due time
◮ 14 lectures
◮ 14 exercises
◮ 3 laboratories
Lecture 14 Summary
Todays lecture
u y = S(u)
S
mg sin(φ)
φ
mg
ẍ(t) = g sin(φ(t))
Linear models are not enough
t2
Solving the above gives x(t) = 2 gφ
2∗0.1
For x(0.1) = 0.1, one needs φ = 0.1 2 ∗g ≥ 2 rad
Clearly outside linear region!
Contact problem, friction, centripetal force, saturation
ẋ = x2 − x + u
◮ stability for u = 0?
◮ stability for constant u = b?
◮ stability with linear feedback u = ax + b?
◮ stability with non-linear feedback u(x) =?
Stability Can Depend on Amplitude
−1
−1
0.2
0
0 5 10 15 20 25 30
4 Time t
Output y
0
0 5 10 15 20 25 30
10 Time t
Output y
0
0 5 10 15 20 25 30
Time t
r = 0.2
r = 1.68
Stable Periodic Solutions
0 1
5 y
Constant 5s 2+s
Sum P−controller Backlash
Motor
−1
1
Motor: G(s) = s(1+5s)
Controller: K = 5
Stable Periodic Solutions
Output y
0
−0.5
0 10 20 30 40 50
Output y 0.5 Time t
−0.5
0 10 20 30 40 50
0.5 Time t
Output y
−0.5
0 10 20 30 40 50
Time t
PID
A y
Σ u
Process
T
Relay
−1
1
u
y
0
−1
0 5 10
Time
20
y
Sine Wave 5s 2+s
Sum Saturation Motor
−1
2
Output y
−2
−4
−6
0 10 20 30 40 50
Time t
lin
ea
0
r
10
sa
sa
tu
tu
ra
ra
te
te
d
Magnitude
d
−1
10
−2
10
−3
10 −1 0 1
10 10 10
Frequency [rad/s]
New Frequencies
Example: Sinusoidal input, saturation level 1
a sin t y
Saturation
0
10 a=1 1
Amplitude y
−2
10 −1
0
−2
10 0 1 2 3 4 5
Frequency (Hz) Time t
0
10 a=2 1
Amplitude y
−2
10 −1
0
−2
10 0 1 2 3 4 5
Frequency (Hz) Time t
New Frequencies
Example: Electrical power distributionP
∞
energy in tone k
THD = Total Harmonic Distortion = k=2 energy in tone 1
0.5
y
0
−0.5
0 5 10 15 20 25 30
Time t
1
a sin ωt
0.5
−0.5
−1
0 5 10 15 20 25 30
Time t
When is Nonlinear Theory Needed?
u
|u| e
Abs Math
Saturation
Function
Look−Up
Sign Dead Zone
Table
Problems
◮ No analytic solutions
◮ Existence?
◮ Uniqueness?
◮ etc
Finite escape time
4.5
3.5
2.5
x(t)
1.5
0.5
0
0 1 2 3 4 5
Time t
Uniqueness Problems
√
Example: The equation ẋ = x, x(0) = 0 has many solutions:
(t − C)2 /4 t > C
x(t) =
0 t≤C
2
1.5
1
x(t)
0.5
−0.5
−1
0 1 2 3 4 5
Time t
Theorem
If, f is Lipschitz-continuous in ΩR , i.e.,
then (
ẋ(t) = f (x(t))
x(0) = a
has a unique solution
Theorem
If f is Lipschitz-continuous in Rn , i.e.,
then
ẋ(t) = f (x(t)), x(0) = a
has a unique solution
x(t) , t ≥ 0.
State-Space Models
◮ State vector x
◮ Input vector u
◮ Output vector y
Nonautonomous:
ẋ = f (x, t)
Always possible to transform to autonomous system
Introduce xn+1 = time
ẋ = f (x, xn+1 )
ẋn+1 = 1
Transformation to First-Order System
dk y
Assume highest derivative of y
dtk h iT
Introduce x = y dy dk−1 y
dt . . . dtk−1
Example: Pendulum
ẋ1 = x2
k g
ẋ2 = − x2 − sin x1
MR R
A Standard Form for Analysis
Nonlinearities
G(s)
Example, Closed Loop with Friction
F
Friction
_
0 u v
C G
_
⇐⇒
Friction
−G
1+CG
Equilibria (=singular points)
General: f (x0 , u0 , y0 , 0, 0, 0, . . .) = 0
Explicit: f (x0 , u0 ) = 0
Linear: Ax0 + Bu0 = 0 (has analytical solution(s)!)
Multiple Equilibria
Example: Pendulum
ẋ1 = x2
k g
ẋ2 = − x2 − sin x1
MR R
gives x2 = 0, sin(x1 ) = 0, etc
Next Lecture
◮ Linearization
◮ Stability definitions
◮ Simulation in Matlab