Professional Documents
Culture Documents
Dynamic Systems EGN 4432: Block Diagrams
Dynamic Systems EGN 4432: Block Diagrams
EGN 4432
Block Diagrams
• Gain Block
Y ( s)
U(s) a Y(s) a
U (s)
U2(s)
• Branching
• Multiple Blocks
U(s) Y(s)
H1(s) H2(s)
• Resultant Block
• Multiple Blocks
H1(s)
U(s) Y(s)
H2(s)
• Resultant Block
U(s) Y(s) Y ( s)
H(s) H ( s ) H1 ( s ) H 2 ( s )
U ( s)
H(s)
U(s)
H1(s) H2(s) Y(s)
Y ( s)
H ( s ) H1 ( s ) H 2 ( s ) H1 ( s ) H 2 ( s ) H ( s )
U ( s)
H1 ( s ) H 2 s H 2 ( s ) H ( s )
• Block Diagrams
U(s) b X(s)
sa
• Matlab Commands
» num=[0 1];
» den=[1 1];
» sys = tf(num, den);
» step(sys);
• Notes
– Ideally, we want C(s)H(s) to be 1
– No measurement is required
1 b b
a a
Y s s s as b
U 1 b b s 2 as b
1 a s a
s s s
1 as as b
Y X2 X2 X 2
s b
bs
bs bs
X2 Y 2
as b s as b
C H 1 H 2G R
C
H 1 H 2G
R
H1
C H2 GR
G
C
H 2G H 1
R
EGN 4432 Dynamic Systems
Ocean & Mechanical Engineering, Florida Atlantic University 15 /40
Exercise 3
• Determine the transfer function C
R
C G H1 G H1
1
R 1 GH 2 G 1 GH 2
𝑌 𝐺 1 𝐺2 𝐺3
=
𝑅 1+𝐺 2 ( 𝐻 2 − 𝐺3 𝐻 3 )+ 𝐻 1 𝐺 1 𝐺 2
x2
X2 1
Y G 2G3 X 2
Y G 2G3
C H 2 GR H 1 R C
C 1 H 1H 2 R GH 2 H 1H 2
C H 1H 2 GH 2
R 1 H 1H 2
EGN 4432 Dynamic Systems
Ocean & Mechanical Engineering, Florida Atlantic University 25 /40
Exercise 5 (Alternative Method)
• Determine the transfer function C
R
C H 1H 2 G H 2 H1 G
1
R 1 H 1H 2 H1 1 H 1H 2
Y 1 Y 1
G 1 G1H 1 G 1 G1H 1
x 5 x 8 x u u
• Create an array that stores all the coefficients of the numerator polynomial
• Create an array that stores all the coefficients of the denominator polynomial
>> H = tf([1 1], [1 5 8]);
>> whos
Remark
• Transfer functions, once created, can be manipulated like variables in Matlab
EGN 4432 Dynamic Systems
Ocean & Mechanical Engineering, Florida Atlantic University 34 /40
Exercise 12
• Given the following transfer function, plot using Matlab its time domain
response over a period of 10 second to 1) a unit step input, 2) unit impulse,
3) unit ramp, 4) unit cosine signal of 1rad/second
50
H (s) 2
9s 6s 1
5s 3 50
C ( s) , H ( s) 2
s 9s 6s 1
[num, den] = feedback(50*[5 3], [9 6 1 0], [1],[1]);
step(num, den);
OR