Professional Documents
Culture Documents
Phase Plane Analysis
Phase Plane Analysis
λ=
2
• Phase-plane behavior resulting from λ1 and λ2
– Sinks (stable nodes) : Re ( λ1 ) < 0 and Re ( λ2 ) < 0
– Saddles (unstable) : Re ( λ1 ) < 0 and Re ( λ2 ) > 0
– Sources (unstable nodes) : Re ( λ1 ) > 0 and Re ( λ2 ) > 0
– Spirals : λ1 and λ2 are complex conjugate. If Re ( λ1 ) < 0 then stable,
if Re ( λ1 ) > 0 then unstable
• Dynamic behavior diagram for second-order linear systems
z2 s z1s + 1
A=
z 2 s + 3 z1 s
• Equilibrium 1 (Trivial) (0,0)
0 1
A= λ1 = − 3 λ2 = 3
3 0
– This equilibrium point is a saddle point
−0.5 0.5
– Stable eigenvector ξ1 = Unstable eigenvector ξ 2 =
0.866 0.866
– The phase-plane of the linearized model around equilibrium point 1
Linearized model :
0 1
xɺ = x
3 0
where x = z - z s
• Equilibrium 2 (Nontrivial) (-1,-3)
−3 0
A= λ1 = −3 λ2 = −1
0 −1
– This equilibrium point is a stable node
1 0
– “Fast” stable eigenvector ξ1 = “Slow” stable eigenvector ξ 2 =
0 1
– The phase-plane of the linearized model around equilibrium point 2
• The phase-plane diagram of the nonlinear model
−0.125 0.125 V= D=
A=
0.0625 − 0.1042 -0.8466 -0.7827 -0.2036 0
0.5323 -0.6224 0 -0.0256
Program Reference
% Nonlinear Model function dy = phaseplane(t,y)
for h10 = 8 : 12 A1=5; A2=10; R1=2.5; R2=5/sqrt(6); F=5;
for h20 = 4 : 8 dy(1) = F/A1-R1/A1*sqrt(y(1)-y(2));
y0=[h10 h20]; dy(2) = R1/A2*sqrt(y(1)-y(2))-R2/A2*sqrt(y(2));
[t,y]=ode45('phaseplane', [0 200], y0); dy = dy';
plot(y(:,1),y(:,2), y(1,1),y(1,2),'o'); hold on; function dy = phaseplane_L(t,y)
xlabel('h_1'); ylabel('h_2'); A = [-0.125 0.125; 0.0625 -0.1042];
title('Phase-Plane Plot'); dy = A*y;
end
Phase-Plane Plot
end 8
7.5
% Linearized Model
for h10 = -2 : 2 7
for h20 = -2:2
6.5
y0=[h10 h20];
[t,y]=ode45('phaseplane_L', [0 200], y0); 6
y(:,1) = y(:,1)+10; h2
y(:,2) = y(:,2)+6; 5.5
4
8 8.5 9 9.5 10 10.5 11 11.5 12
h1
Exercise: Bioreactor