Professional Documents
Culture Documents
Agenda
• Formulation of Models for Engineering
Systems
• Review of Solution of Differential
Equations
• Engineering Systems Similarity
• Simulation with Matlab
Conservation Laws of
Engineering Systems
• Linear momentum: translational
momentum is equal to applied impulse
(rigid body an or fluid)
mv
d
F net
dt
• Angular momentum: angular impulse is
equal to time rate of change of angular
momentum
T net
d
J
dt
Chap2 5
Conservation Laws of
Engineering Systems
• Conservation of Charge/Kirchhoff’s law:
sum of all currents at a node is equal to
rate of storing charge
dQ de
inode dt C dt
• Conservation of Mass: net mass flowrate
at a location equal to time rate of change
of mass that that location
V V V
d
m net
dt
Chap2 6
Conservation Laws of
Engineering Systems
• Conservation of Energy
– Energy in a system is constant
Review of Solution of
Differential Equations
Chap2 8
Input Signals
Input Signals
dt
System is stable if a1 0 and a0 0.
bo d a1
Let G , D , [ D 1]x Gu(t )
ao dt ao
Chap2 11
dt dt
System is stable if a2 0, a1 0, and a0 0.
bo 1 a2 2 a1 d
Let G , 2 , , and D ,
ao n ao n a o dt
1 : Underdamped case (Oscilliati on in response)
1 : Overdamped case ( No oscilliati on in response)
1 : Critically damped case ( No oscilliati on in response)
Chap2 14
• Ldi/dt+Ri+(1/c)∫idt=v(t)
• i(t)=dq/dt, i’=q”
• Lq”+Rq’+(1/c)q=v(t)
x Ax Bu
dq di 1 R 1
i q i v(t )
dt dt Lc L L
dq / dt 0 1
x , A 1 R
Lc
di / dt L
q 0
x , B 1 , u v(t)
i L
output equations
y Cx Du
1
y vL (t ), C - - R , D 1
c
Chap2 23
• vL=Ldi/dt=(L/R) dvR/dt
• As vL+vR+vC=v(t)
• (L/R) dvR/dt+vR+vC= v(t)
• dvR/dt=-(R/L) vR-(R/L) vC+(R/L)v(t)
• vC=(1/c) ∫(vR/R)dt
• Differentiate
• dvC/dt=(1/RC)vR
• New state equations
Chap2 24
State Space
Graphical Representation
q
• q,i were selected
as state variables
• Graphical i
representation
of state space
and a state vector
Function of time t
Chap2 25
t
x(t ) (t ) x(0) (t )]Bu ( )d
0
2e t e 2 t
x(t ) (t ) x(0) t 2t
2 e 2 e
Chap2 28
e 2 t
x(t ) (t ) x(0) 2t
e
Chap2 29
Engineering Systems
Similarity
Chap2 30
System Similarity
• Models in different engineering systems
have same or similar differential equations
• Similar basis elements
– Resistance
– Capacitance
– Inductance
• Dynamic behaviors have different time
constants, influencing modeling choices
and assumptions
Chap2 31
System Similarity
Chap2 32
• f(t) - m v' - b v = 0
• L{ v(t) } = V(s), L{ v’(t) } = sV(s) – v(0), L{ f(t) } = F(s)
• Assume v(0) = 0,
• m[sV(s)] + b[V(s)] – F(s) = 0
• Rearranging we get: [ms + b]V(s) = F(s)
• The transfer function is: V(s)/F(s) = 1/[ms+b]
Chap2 38
• Matlab commands:
>> m = 20000;
>> b = 500;
>> num = [ 1 ];
>> den = [ m b ];
>> first_tf = tf(num, den)
Transfer function:
1
-------------
20000 s + 500
Chap2 39
>> I = 1500000;
>> b = 200000;
>> k = 4000000;
>> num = [ 1 ];
>> den = [ I b k ];
>> second_tf = tf(num, den)
1
------------------------------
1.5e006 s^2 + 200000 s + 4e006
Chap2 44
Homework 2: chapter 2
•
•
•
•
Chap2 46
References
• Woods, R. L., and Lawrence, K., Modeling
and Simulation of Dynamic Systems,
Prentice Hall, 1997.
• Palm, W. J., Modeling, Analysis, and
Control of Dynamic Systems
• http://www.me.cmu.edu/ctms/index.html