Professional Documents
Culture Documents
Dr Julien Epps
S2, 2011
Motivation
– Many practical systems are nonlinear
– Need to model/simulate them is even greater:
Because they do not neatly fall within linear theory
In order to find suitable techniques for analysis
x2 dx1
x2 d − λ = 0 ⇒ x2 = ,0
x1 λ
aλ
x1 (a − bx1 − cx2 ) = 0 ⇒ x1 = ,0
bλ + cd
aλ ad
Equilibrium: (0,0) and ,
trivial b λ + cd b λ + cd
Dr Julien Epps ELEC2146 Electrical Engineering Modelling and Simulation 4
Linearisation
Points of equilibrium
– System will revert to equilibrium if perturbed
By ‘small’ amount
– Helpful practically as ‘operating points’
– Choose them as operating points for linearisation
Recall:
– Taylor series approximation to a function f(x)
df x − x0 d 2 f ( x − x0 ) 2
f ( x) = f ( x0 ) + + 2 + ...
dx x = x0 1! dx x = x0
2!
– Locally about an operating point x = x0
d∆x
= −3 + 3(1 + ∆x) − 2 ln(1 + ∆x) − u (t )
dt
– Represent nonlinear terms by their Taylor expansion
1 ( x − 1) 1 ( x − 1) 2
ln x = ln x x =1 + − 2 + ...
x x =1 1! x x =1 2!
M
dxn
= f n ( x1 , x2 ,..., xn , u1 , u 2 ,..., u m )
dt
y1 = g1 ( x1 , x2 ,..., xn , u1 , u 2 ,..., um )
output
M equations
y p = g p ( x1 , x2 ,..., xn , u1 , u 2 ,..., u m )
Dr Julien Epps ELEC2146 Electrical Engineering Modelling and Simulation 12
Linearisation
Requires:
∂∂xf1 ∂f1
∂x2 L ∂f1
∂xn
∂∂uf1 ∂f1
∂u 2 L ∂f1
∂u m
∂f 21 ∂f 2 ∂f 2 ∂f 21 ∂f 2
∂f 2
L L
A = ∂x1 ∂x2 ∂xn B = ∂u1 ∂u 2
∂u m
M M O M M M O M
∂f n ∂f n ∂f n
∂f n ∂f n ∂f n
∂x1 ∂x2 L ∂xn x = x 0 ,u =u 0 ∂u1 ∂u 2 L ∂um
x = x 0 ,u = u 0
∂∂gx1 ∂g1
∂x2 L ∂g1
∂xn
∂∂gu1 ∂g1
∂u 2 L ∂g1
∂u m
∂g12 ∂g 2 ∂g 2 ∂g12 ∂g 2 ∂g 2
L L
C= ∂x1 ∂x2 ∂xn D = ∂u1 ∂u 2 ∂u m
M M O M M M O M
∂g n ∂g n ∂g n
∂g n ∂g n ∂g n
∂x1 ∂x2 L ∂xn x = x 0 ,u =u 0 ∂u1 ∂u 2 L ∂um
x = x 0 ,u = u 0
Dr Julien Epps ELEC2146 Electrical Engineering Modelling and Simulation 13
Linearisation
More complex example (Klee, p613)
– Inverted pendulum
x2
x1
x1
Dr Julien Epps ELEC2146 Electrical Engineering Modelling and Simulation 17
Phase Portraits
Decaying periodicity
– Spiral
– Heads toward steady-state equilibrium point
x2
x1
Dr Julien Epps ELEC2146 Electrical Engineering Modelling and Simulation 18
Phase Portraits
Nonlinear periodicity
– Other shapes
– Note: definition of periodicity is x(t) = x(t+T)
Not necessarily sinusoidal
x2
x1