Professional Documents
Culture Documents
Department of Control Science & Engineering School of Electronic & Information Engineering Tongji University
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
Introduction
Introduction
Limitations of describing function method
Approximated method Used for simple nonlinearities Time response not available Not suitable for aperiodical inputs
Spring 2012
4 / 58
Introduction
. Equation x + f (x, x ) = 0 becomes Let x1 = x, x2 = x d x1 = x d x1 = f (x , x ) 2 Re-Dene 1 1 2 dt dt d x2 d x2 = f (x, x ) = f (x1 , x2 ) dt dt = f2 (x1 , x2 ) Then we get a trajectory in the phase plane f2 (x1 , x2 ) d x2 with (x10 , x20 ) = dx1 f1 (x1 , x2 ) and at a specic point (x1 , x2 ), the trajectory. Hence, we have phase plane portraits A set of (x10 , x20 ) A set of trajectories.
Prof J Wang (Tongji Uni) Chap 7. Phase plane analysis Spring 2012 5 / 58
x2 = (x1 )
d x2 dx1
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
d x2 dx1
x2
d x2 dx1
Direction at this point is unique. The trajectory started from an ordinary point is unique.
d x2 dx1
x1
Singular point
0 0
The slope of the trajectory ( i.e. the direction of the motion ) is an uncertain value. Innite number of trajectories may depart from or arrive at this point. The singular point is an equilibrium point. (Why?) Isolated singular point: a singular point in the neighborhood where no other singular points exist.
Spring 2012
7 / 58
d x2 x1 = dx1 x2
Spring 2012
8 / 58
x2
A A x 1
NB: This is a mass-damper system with motion (0) x (0)et x(t) = x(0) + x
Spring 2012
9 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
x x
Spring 2012
11 / 58
x
B a
Spring 2012
12 / 58
=a = a
a x B
) = f (x, x ) f (x, x
x
A a B a
) = f (x, x ) f (x, x
Spring 2012
13 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
A A
dx + 2 x = 0 dx
2 x 2
+ x2 = A2 .
Spring 2012
15 / 58
Example = M with x(0) = x0 and x (0) = 0. Draw the phase plane portrait of x Solutions = M, we have From x 1 = Mt + C1 x = Mt2 + C1 t + C2 x 2 From the initial conditions, we have C =0 x = Mt 1 C2 = x0 x = 1 Mt2 + x0
2
x
x0 M=1
x
x0 M = 1
Spring 2012
16 / 58
All trajectories passing through any point on the curve x2 = (x1 , ) have the same slope , i.e. the same direction of motion. x2 = (x1 , ) is an isocline . A set of dierent values of A set of dierent isoclines All these isoclines give the eld of direction for the tangents to trajectories.
Prof J Wang (Tongji Uni) Chap 7. Phase plane analysis Spring 2012 17 / 58
Example To draw the phase plane portrait by the isocline method for the system + 2x + 2 x = 0 x Solutions
x d + 2 x = 0. The system can be rewritten as x dx + 2x
+ 2x + 2 x = 0, i.e. = , then x
dx dx
2 2+ .
Spring 2012
18 / 58
(ii) Draw short line segments on the isoclines to represent the direction of eld. = Since x
1 1+ x,
we have
0.6
=0 = 1 = 2 = 4 =
= x x =0 x
x x 1 0 ,
0.4 0.2
x=0 =x x
1 =3 x x
0.2 0.4
0.4
0.2
0.2
0.4
0.6
Spring 2012
19 / 58
0.2 0.4
0.4
Prof J Wang (Tongji Uni)
0.2
0.2
0.4
0.6
Spring 2012 20 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
Singular points
Denition A singular point is the point, which satises d x1 = f1 (x1 , x2 ) = 0 dt d x2 = f2 (x1 , x2 ) = 0 dt i.e.
d x2 dx1
d x2 dx1 .
Spring 2012
22 / 58
Spring 2012
23 / 58
+ ax + bx = 0, where a = (a1 + b2 ) and b = a1 b2 a2 b1 . That is x The roots of the char. eqn 2 + a + b = 0 are 1,2 = (Suppose 1 0 and 2 0) a a2 4b 2
Spring 2012
24 / 58
x x
x x
2
Prof J Wang (Tongji Uni)
Spring 2012
25 / 58
x
1
1 2
x
2
x(t) = C1 e1 t + C2 e2 t The lines with slopes 1 and 2 are phase trajectories. The lines with slopes 1 and 2 are separatrices as well. All trajectories approach the separatrice of 2 when 1 < 2 .
Spring 2012
26 / 58
2 1
1 2
Spring 2012
27 / 58
(5) Center j
1
x x
x
2
Spring 2012
28 / 58
Limit cycles
The limit cycle is an isolated closed path in the phase plane. x x x
Spring 2012
29 / 58
Example + 0.5x + 2x + x2 = 0 Obtain the phase plane portrait of x Solutions (i) Standard form , then Let x1 = x and x2 = x 1 = x = x2 x f1 (x1 , x2 ) f2 (x1 , x2 )
2 = 2x1 0.5x2 x2 x 1 =0 x = 0 x =0 x = 2 x =0
Spring 2012 30 / 58
= 0,
f1 x2 (0,0)
=1
f2 x1 (0,0)
= (2 2x1 )
x1 =0
= 2,
f2 x2 (0,0)
= 0.5
x 2 = 2x1 0.5x2
i.e.
dx dt dx dt
=x = 2x 0.5x + 0.5x + 2x = 0 x
a1 = 0, b1 = 1, a2 = 2, b2 = 0.5
Thus the char. eqn. is 2 + 0.5 + 2 = 0, and 1,2 = 0.25 1.987. Therefore, (0, 0) is a stable focus.
Prof J Wang (Tongji Uni) Chap 7. Phase plane analysis Spring 2012 31 / 58
x
1.0 0.5
+ 0.5y 2y = 0 y
x + 0.5 2 = 0
2 0.5 1.0
1.5 3
Spring 2012
32 / 58
1 1
x(s)
Spring 2012
33 / 58
NB: The isocline method may be used for sketching the phase plane portraits in this example. The isocline is given by 2x x2 0.5x = x = x (x + 1)2 1 + + 0.5 + 0.5
Spring 2012
34 / 58
An isocline for = 0
x
3
1 1
x(s)
Spring 2012
35 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
E(s)
K s(Ts+1)
C(s)
+e + Ke = Tr +r Te =r =0 r
Spring 2012 37 / 58
x2 = 0
i.e.
Spring 2012
38 / 58
Properties of (0, 0)
The char. eqn. is T2 + + K = 0. When 1 4KT < 0 stable focus e When 1 4KT e 0 stable node e e
Spring 2012
39 / 58
Singular point
When 1 4KT e
stable node
Spring 2012
40 / 58
Example +e = P. Obtain the phase plane portrait of the given system Te NB: No item e ! Solutions (i) When P = 0 +e =0 Te Te de =0 +e de de e = de Te
Spring 2012
41 / 58
+e =P 0, Te
P<0
1 < < 0 T =0 >0 e = 1 < T
e
<
1 T =
O
P
>0
=0 1 < < 0 T
Spring 2012
42 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
Piecewise analysis
A simple example M x>0 x<0
, x , x) = u = f (x x
, x , x) = M f (x , x , x) = M f (x
x II I
Spring 2012
44 / 58
PI 2
PI 1 I
Spring 2012
45 / 58
Example Obtain the phase plane portrait for the following system
R(s) E(s)
GN
M(s)
K s(Ts+1)
C(s)
e0
k
e0
Spring 2012
46 / 58
GN
C(s)
K M(s) s(Ts + 1)
e0
k
e0
e III
Spring 2012 47 / 58
II
Step response = 0, r =0 r(t) = 1(t), r (0) = 0 e(0) = E0 , e Te +e + Ke = 0 Areas I and III Te +e + kKe = 0 Area II
Actual singular point for system in II Virtual singular point for system in I, III
e0 e0
Properties of the singular point: Suppose 1 4kKT = 0. Since k < 1 , so 1 4KT < 0
II
III
Spring 2012
48 / 58
For A, (0, 0) is the stable focus For B, (0, 0) is the stable node For C, (0, 0) is the stable focus For D, (0, 0) is the stable node When large signal in the loop
D C
O
e0
II
III
Spring 2012
49 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
How to solve dierential equations? How to plot phase plane portraits? How to simulate nonlinear systems? ode45 command Simulink nonlinear blocks
Spring 2012
51 / 58
ode45 Command
ODE45 solves ordinary dierential equations with medium-order = f (t, y) method. It integrates the system of dierential equations y from time t0 to tf with initial conditions y0 . [tout,yout] = ode45(function,[t0,tf],y0) The solution array yout corresponding to a time vector tout function Function handle of dierential equations programmed in a separate .m le t0, tf Initial and nal time of integral y0 Initial conditions of the DEs
Prof J Wang (Tongji Uni) Chap 7. Phase plane analysis Spring 2012 52 / 58
% defines the ODEs for the Van de Pol equations. function [sys,x0]= VandePol(t,x) sys=[x(2);(1-x(1)*x(1))*x(2)-x(1)]; % This script solves the DEs defined in VandePol.m % with the ODE45 method. [t, x] = ode45(
plot(x(:,1),x(:,2),-b);
x
1 2 3 3 2 1 1 2 3 4
Spring 2012
54 / 58
Outline
1 2 3 4 5 6 7 8 9
Introduction Phase plane portraits Properties of phase plane Construction of phase plane portraits Singular points and limit cycles Phase plane analysis of linear systems Phase plane analysis of nonlinear systems Simulations with MATLAB Summary
Summary
Summary
How to analyze a nonlinear system?
Analysis by linearization
Linearization around neighborhood of an equilibrium Linearization by nonlinear feedback Linearization by inverse nonlinearity
Spring 2012
56 / 58
Summary
Piecewise linearity
Equi. linearization
Chap 7. Phase plane analysis
Graphical solution
Spring 2012 57 / 58
Department of Control Science & Engineering School of Electronic & Information Engineering Tongji University
Go to next chapter!