Bode Plot and Block Diagram
Bode Plot and Block Diagram
Reading: Astrom and Murray, Chapter 8;
Additional reference:
Franklin, Powell, Emami‐Naeini, Feedback Control of Dynamic Systems, section
3.1, section 3.2, section 6.1.1
Week 7 Page 1
Useful matlab commands:
sys=ss(A,B,C,D)
G=tf(sys);
Or: G=ss2tf(A,B,C,D);
Or: n=[0 0 1]; d=[1 0.1 1], G=tf(n,d); % This defines G=1/(s^2+0.1*s+1)
Or: s=tf('s'); G=1/(s^2+0.1*s+1);
pzmap(G): plots the poles and zeros of G
bode(G): Bode plot of G
Try those matlab codes on the above examples and we will go through them in
details in the next class.
Week 7 Page 2
Week 7 Page 3
Week 7 Page 4
Week 7 Page 5
Week 7 Page 6
Series Interconnections
Q: what happens when we connect two systems together in series?
101 101
Magnitude
Magnitude
100 100
10-1 10-1
10-2 10-2
0 0
-50 -50
Phase (deg)
Phase (deg)
-100 -100
-150 -150
-200 -200
100 101 100 101
Frequency (rad/sec) Frequency (rad/sec)
1
Feedback Interconnection
Σ Σ
2
Example: mass spring system
k
F
m F Σ
c
-c
q
-k
• Rewrite in terms of “block diagram”
– Represent integration using 1/s
– Include spring and damping
through feedback terms
– Determine the transfer function
through algebraic manipulation
– Claim: resulting transfer function
captures the frequency response
3
Block Diagram
Week 7 Page 1
Week 7 Page 2