Beruflich Dokumente
Kultur Dokumente
h = (u q)/A
q = a
2g
h
2
h
1
q
Sum
s
1
Integrator
1/A
Gain
f(u)
Fcn
1
In
1
Out
In
q
h
Subsystem2
In
q
h
Subsystem
1
In
Lecture 2 10
2E1262 2006
Linearization in Simulink
Linearize about equilibrium (x
0
, u
0
, y
0
):
>> A=2.7e-3;a=7e-6,g=9.8;
>> [x0,u0,y0]=trim(twotank,[0.1 0.1],[],0.1)
x0 =
0.1000
0.1000
u0 =
9.7995e-006
y0 =
0.1000
>> [aa,bb,cc,dd]=linmod(twotank,x0,u0);
>> sys=ss(aa,bb,cc,dd);
>> bode(sys)
Lecture 2 11
2E1262 2006
Differential Equation Editor
dee is a Simulink-based differential equation editor
>> dee
deedemo4 deedemo3
deedemo2 deedemo1
Differential Equation
Editor
DEE
Run the demonstrations
Lecture 2 12
2E1262 2006
Phase-Plane Analysis
Download ICTools from
http://www.control.lth.se/ictools
Down load DFIELD and PPLANE from
http://math.rice.edu/dfield
This was the preferred tool last year!
Lecture 2 13
2E1262 2006
Homework 1
Use your favorite phase-plane analysis tool
See the course homepage
http://www.s3.kth.se/control/kurser/2E1262/
for a report example
The report should be short and include only necessary plots.
We prefer if you write in English.
Lecture 2 14