Section 2 Block Diagrams & Signal Flow Graphs (1)
Section 2 Block Diagrams & Signal Flow Graphs (1)
K. ESE
Standard Block Diagram Forms
4
𝑌𝑌 𝑠𝑠 = 𝑈𝑈
𝑠𝑠 ⋅ 𝐺𝐺 𝑠𝑠
K. ESE
Parallel
6
𝑌𝑌 𝑠𝑠 = 𝑈𝑈 𝑠𝑠 ⋅ 𝐺𝐺1 𝑠𝑠 ± 𝑈𝑈 𝑠𝑠 ⋅ 𝐺𝐺2 𝑠𝑠 ± 𝑈𝑈 𝑠𝑠
⋅ 𝐺𝐺3 𝑠𝑠
𝑌𝑌 𝑠𝑠 = 𝑈𝑈 𝑠𝑠 𝐺𝐺1 𝑠𝑠 ± 𝐺𝐺2 𝑠𝑠 ± 𝐺𝐺3 𝑠𝑠 = 𝑈𝑈
𝑠𝑠 ⋅ 𝐺𝐺𝑒𝑒𝑒𝑒 𝑠𝑠
K. ESE
Parallel
7
K. ESE
Feedback
7
𝑌𝑌 𝑠𝑠 = 𝐸𝐸 𝑠𝑠 𝐺𝐺 𝑠𝑠
𝑌𝑌 𝑠𝑠 = 𝑅𝑅 𝑠𝑠 − 𝑋𝑋 𝑠𝑠
𝐺𝐺 𝑠𝑠
𝑌𝑌 𝑠𝑠 = 𝑅𝑅 𝑠𝑠 − 𝑌𝑌
𝑠𝑠 𝐻𝐻 𝑠𝑠 𝐺𝐺 𝑠𝑠
𝑌𝑌 𝑠𝑠 1 + 𝐺𝐺 𝑠𝑠 𝐻𝐻 𝑠𝑠 = 𝑅𝑅 𝑠𝑠 𝐺𝐺 𝑠𝑠
𝐺𝐺
𝑠𝑠
𝑌𝑌 𝑠𝑠
= 𝑅𝑅 𝑠𝑠 1 + 𝐺𝐺 𝑠𝑠 𝐻𝐻 𝑠𝑠
⋅
K. ESE
Feedback
The closed-loop transfer function, 𝑇𝑇 𝑠𝑠 , is
8
𝑌𝑌 𝐺𝐺
𝑇𝑇 𝑠𝑠 = 𝑠𝑠 𝑠𝑠
=
𝑅 1 + 𝐺𝐺
𝑠𝑠 𝐻𝐻
𝑅 𝑠𝑠
𝑠𝑠
K. ESE
Feedback
𝐺𝐺
9
𝑇𝑇 𝑠𝑠 = 𝑠𝑠
1 + 𝐺𝐺
𝑠𝑠 𝐻𝐻
𝑠𝑠
𝑠𝑠
𝑇𝑇 𝑠𝑠 =
1 − 𝐺𝐺 𝑠𝑠 𝐻𝐻 𝑠𝑠
The 𝐺𝐺 𝑠𝑠 𝐻𝐻 𝑠𝑠 factor in the denominator is the loop gain
or open-loop transfer function
K. ESE
Feedback
1
forward path
In general:
𝑇𝑇 𝑠𝑠 = gain
1 − loop
gain
K. ESE
Closed-Loop Transfer Function - Example
9
𝐷𝐷 𝑠𝑠 ,
𝐺𝐺 𝑠𝑠 , and 𝐻𝐻2 𝑠𝑠
𝐷𝐷 𝑠𝑠 𝐺𝐺 𝑠𝑠
𝑇𝑇 𝑠𝑠 = 𝐻𝐻1 𝑠𝑠 ⋅
1 2 𝑠𝑠
+ 𝐷𝐷 𝑠𝑠 𝐺𝐺 𝑠𝑠 𝐻𝐻
𝐻𝐻1 𝑠𝑠 𝐷𝐷 𝑠𝑠
𝐺𝐺 𝑠𝑠
K. ESE
𝑇𝑇 𝑠𝑠 =
1 + 𝐷𝐷 𝑠𝑠 𝑠𝑠
𝐺𝐺 𝑠𝑠 𝐻𝐻2
K. ESE
Unity-Feedback Systems
10
K. ESE
Moving Blocks Back Past a Summing
1
K. ESE
Moving Blocks Forward Past a Summing
1
1
𝑌𝑌 𝑠𝑠 = 𝑈𝑈1 𝑠𝑠 𝐺𝐺 𝑠𝑠 + 𝑈𝑈2 𝐺𝐺 𝑠𝑠
𝐺𝐺 𝑠𝑠
𝑠𝑠 = 𝑈𝑈1 𝑠𝑠 + 𝑈𝑈2 𝑠𝑠
K. ESE
Moving Blocks Relative to Pickoff
1
K. ESE
Block Diagram Simplification – Example 1
move
1
Closed-loop transfer function:
𝐻𝐻 𝑠𝑠
𝐺𝐺 𝑠𝑠
K. ESE
Block Diagram Simplification – Example 2
𝐻𝐻 𝑠𝑠 𝐺𝐺 𝑠𝑠
𝑇𝑇 𝑠𝑠 = =
1
1 + 𝐺𝐺 𝑠𝑠 1 + 𝐺𝐺 𝑠𝑠 𝐻𝐻 𝑠𝑠
𝐻𝐻 𝑠𝑠
K. ESE
Block Diagram Simplification – Example 2
K. ESE
Block Diagram Simplification – Example
𝐺𝐺1 𝑠𝑠 and 𝐻𝐻1 𝑠𝑠 are in feedback form
1
𝐺𝐺1 𝑠𝑠
𝐺𝐺𝑒𝑒𝑒𝑒 𝑠𝑠 = 1 − 𝐺𝐺1
K. ESE
Block Diagram Simplification – Example
𝑠𝑠 𝐻𝐻1 𝑠𝑠
1
K. ESE
Block Diagram Simplification – Example
Move 𝐺𝐺2 𝑠𝑠 backward past the pickoff point
2
simplified
K. ESE
Block Diagram Simplification – Example
2
𝐺𝐺1𝐺𝐺2
1− 𝐺𝐺1𝐺𝐺2
𝐺𝐺1𝐻𝐻1 1−
𝐺𝐺𝑒𝑒𝑒𝑒 𝐺 𝐻
1+ 𝐺𝐺1𝐻𝐻1
𝑠𝑠 =
𝐺𝐺1𝐺 2 𝐻2
K. ESE
Block Diagram Simplification – Example
=
1 − 𝐺𝐺1 𝐻𝐻1 + 𝐺𝐺1 𝐺 𝐻
2
𝐺 𝐻2
2
K. ESE
Block Diagram Simplification – Example
2
𝐺𝐺4
𝐺𝐺𝑒𝑒𝑒𝑒 𝑠𝑠
𝐺𝐺2
= 𝐺𝐺3 +
K. ESE
Block Diagram Simplification – Example
2
𝐺𝐺1𝐺𝐺2𝐺𝐺3 + 𝐺𝐺1𝐺𝐺4
𝐺𝐺𝑒𝑒𝑒𝑒 𝑠𝑠 =
1 − 𝐻 + 𝐺 𝐻𝐻2
𝐺𝐺1 𝐻 𝐺𝐺 𝐺
1 1 2
K. ESE
Block Diagram Simplification – Example
2
K. ESE
24 Multiple-Input Systems
K. ESE
Multiple Input Systems
𝑇𝑇𝑤𝑤 𝑠𝑠 =
2
𝑌𝑌 𝑠𝑠 /𝑊𝑊
𝑠𝑠
K. ESE
Transfer Function –
Find transfer function from 𝑅𝑅 𝑠𝑠
2
to 𝑌𝑌 𝑠𝑠
Set 𝑊𝑊 𝑠𝑠 = 0
A linear system – superposition applies
𝑌𝑌 𝑅𝑅 𝑠𝑠
𝑇𝑇 𝑠𝑠 = 𝑠𝑠
K. ESE
Transfer Function –
� 𝑠𝑠 𝐺𝐺
� 𝑠𝑠
2
�
� �
�
� �
=
1
�
+
�
�
� �
�
� �
�
�
�
�
K. ESE
Transfer Function –
Next, find transfer function from 𝑊𝑊 𝑠𝑠 to 𝑌𝑌
2
𝑠𝑠
Set 𝑅𝑅 𝑠𝑠 = 0
System now becomes:
𝑌𝑌 𝑊𝑊 𝑠𝑠
𝑇𝑇𝑤𝑤 𝑠𝑠
𝑠𝑠 = =
K. ESE
Transfer Function –
𝐺𝐺𝑤𝑤 𝑠𝑠 𝐺𝐺 𝑠𝑠
2
1 + 𝐷𝐷 𝑠𝑠 𝐺𝐺
𝑠𝑠
K. ESE
Multiple Input Systems
2
K. ESE
29 Signal Flow Graphs
K. ESE
Block Diagram → Signal Flow
3
K. ESE
Signal Flow Graph – Example 1
3
K. ESE
Signal Flow Graph – Example 1
3
K. ESE
Signal Flow Graph – Example 1
3
K. ESE
Signal Flow Graph – Example 2
3
K. ESE
Signal Flow Graph – Example 2
3
K. ESE
Signal Flow Graphs vs. Block Diagrams
3
K. ESE
39 Mason’s Rule
−𝐺𝐺1𝐻𝐻3
Here, there are three loops with the following gains:
𝐺𝐺2𝐻𝐻1
1.
−𝐺𝐺2𝐺𝐺3𝐻𝐻2
2.
3.
K. ESE
Forward Path
4
Forward path gain – gain along any path from the input
to the output
Not passing through any node more than once
Here, there are two forward paths with the following
gains:
𝐺𝐺1𝐺𝐺2𝐺𝐺3𝐺𝐺4
𝐺𝐺1𝐺𝐺2𝐺𝐺5
1.
2.
K. ESE
Non-Touching
4
2.
K. ESE
Non-Touching Loop
4
−𝐺𝐺1𝐻𝐻3 ⋅ 𝐺𝐺2𝐻𝐻1
−𝐺𝐺1𝐻𝐻3 ⋅ −𝐺𝐺2𝐺𝐺3𝐻𝐻2
1.
2.
K. ESE
Mason’s
𝑃
𝑌𝑌
4
𝑃
𝑇𝑇 1
𝑠𝑠 = �
𝑠𝑠 = Δ
𝑅 𝑇𝑇𝑘𝑘Δ𝑘𝑘
𝑅 𝑘𝑘=
where
𝑠𝑠 1
𝑃𝑃 = # of forward paths
𝑇𝑇𝑘𝑘 = gain of the 𝑘𝑘𝑡𝑡𝑡 forward path
Δ = 1 − Σ(loop gains)
+Σ(non-touching loop gains taken two-at-a-time)
−Σ(non-touching loop gains taken three-at-a-time)
+Σ(non-touching loop gains taken four-at-a-time)
−Σ …
Δ𝑘𝑘 = Δ − Σ(loop gain terms in Δ that touch the 𝑘𝑘𝑡𝑡𝑡 forward path)
K. ESE
Mason’s Rule -
4
𝐺𝐺1𝐺𝐺2𝐺𝐺3𝐺𝐺4
𝑇𝑇2 = 𝐺𝐺1𝐺𝐺2𝐺𝐺5
Σ(loop gains):
K. ESE
Mason’s Rule -
Σ(NTLGs taken two-at-a- + −𝐺𝐺1𝐻𝐻3𝐺𝐺2𝐻𝐻1 +
4
𝐺𝐺1𝐻𝐻3𝐺𝐺2𝐺𝐺3𝐻𝐻2
time):
−𝐺𝐺1𝐻𝐻3𝐺𝐺2
𝐻𝐻1 +
𝐺𝐺1𝐻𝐻3𝐺𝐺2𝐺
𝐺3𝐻𝐻2
Δ:
Δ = 1 − −𝐺𝐺1𝐻𝐻3
+ 𝐺𝐺2𝐻𝐻1 −
𝐺𝐺2𝐺𝐺3𝐻𝐻2
K. ESE
Mason’s Rule – Example -
Simplest way to find Δ𝑘𝑘 terms is to calculate Δ with the 𝑘𝑘𝑡𝑡𝑡
4
Δ1 = 1
K. ESE
Mason’s Rule – Example -
𝑘𝑘 = 2:
4
Δ2 = 1
K. ESE
Mason’s Rule -
4
𝑃𝑃
𝑌 1
For our example:
𝑃𝑃 𝑇𝑇 = 𝑇𝑇𝑘𝑘Δ𝑘𝑘
=2 𝑠𝑠 = 𝑌
𝑠𝑠
�
𝑇𝑇1 =
𝑅 Δ
𝑅 𝑘𝑘=1
𝐺𝐺1𝐺𝐺2𝐺𝐺3
𝑠𝑠
𝐺𝐺4
𝑇𝑇2 =
𝐺𝐺1𝐺𝐺2𝐺𝐺
5
Δ = 1 + 𝐺𝐺1𝐻𝐻3 − 𝐺𝐺2𝐻𝐻1 + 𝐺𝐺2𝐺𝐺3𝐻𝐻2 −
𝐺𝐺1𝐻𝐻3𝐺𝐺2𝐻𝐻1 + 𝐺𝐺1𝐻𝐻3𝐺𝐺2𝐺𝐺3𝐻𝐻2
Δ1 = 1
Δ2 = 1
K. ESE
Mason’s Rule -
5
K. ESE
50 Preview of Controller Design
𝑟𝑟𝑟𝑟𝑟𝑟
A single real pole at 𝑠𝑠 = −2
K. ESE
Controller Design – Preview
𝑠𝑠
𝑒𝑒
5
𝑠𝑠
K. ESE
Open-Loop Step Response
5
This system
exhibits the
expected first-
order step
response
No overshoot or
ringing
K. ESE
Add
5
𝐷𝐷 𝑠𝑠 𝐷𝐷
𝑇𝑇 𝑠𝑠 = 1
𝑠𝑠 + 2 𝑠𝑠
𝑠𝑠 + 2 +
= 1 𝐷𝐷 𝑠𝑠
1 + 𝑠𝑠
𝑠𝑠 +
2
K. ESE
Add
5
K. ESE
Add
5
K. ESE
Add
5
K. ESE
Open-Loop Step Response
5
As feedback gain
increases:
Pole moves to a
higher frequency
Response gets
faster
K. ESE
First-Order
5
Now the controller is a first-order block with gain 𝐾𝐾𝐶𝐶 and a pole at
𝑠𝑠 = −𝑏𝑏
𝑠𝑠 + 𝑏𝑏 𝑠𝑠 + 2
𝐾𝐾𝐶𝐶
𝑇𝑇 𝑠𝑠 =
𝑠𝑠2 + 2 + 𝑏𝑏 𝑠𝑠 + 2𝑏𝑏 +
𝐾𝐾𝐶𝐶
K. ESE
Design to Specifications
5
𝑇𝑇 𝑠𝑠 =
𝑠𝑠2 + 2 + 𝑏𝑏 𝑠𝑠 + 2𝑏𝑏 + 𝐾𝐾𝐶𝐶
can be expressed as
𝐾𝐾𝐶𝐶 𝐾𝐾𝐶𝐶
𝑇𝑇 𝑠𝑠 =
𝑠𝑠2 + 2𝜁𝜁𝜔𝜔
𝑛𝑛 = 𝑠𝑠2 + 2𝜎𝜎𝑠𝑠
� + 𝜔𝜔
2
𝑠𝑠 + 𝜔𝜔2
K. ESE
Design to Specifications
Use %𝑂𝑂𝑂𝑂 and 𝑡𝑡𝑠𝑠 specs to determine values of 𝜁𝜁 and
5
𝜎𝜎
K. ESE
Determine 𝜁𝜁 from
Overshoot and damping ratio, 𝜁𝜁, are related as
5
follows:
− ln 𝑂𝑂𝑂𝑂
𝜁𝜁 =
𝜋𝜋2 + ln2 𝑂𝑂𝑂𝑂
K. ESE
Determine 𝜎𝜎 from
Settling time (±1%) can be approximated from 𝜎𝜎 as
6
4.6
𝑡𝑡𝑠𝑠 ≈
𝜎𝜎
The requirement is 𝑡𝑡𝑠𝑠 ≤ 600 𝑚𝑚𝑠𝑠𝑚𝑚𝑚𝑚
Allowing for some margin, design for 𝑡𝑡𝑠𝑠 = 500 𝑚𝑚𝑠𝑠𝑚𝑚𝑚𝑚
4. 4.6
𝑡𝑡𝑠𝑠 6
= 500 500
≈ 𝑚𝑚𝑠𝑠𝑚𝑚𝑚𝑚 → 𝑚𝑚𝑠𝑠𝑚
𝜎𝜎 =
𝜎 𝑚𝑚𝑚
𝜎
which gives
𝑟𝑟𝑟𝑟𝑟𝑟
𝜎𝜎 = 9.2
𝑠𝑠𝑚𝑚𝑚𝑚
We can then calculate the natural frequency from 𝜁𝜁 and 𝜎𝜎
𝜎𝜎 9. 𝑟𝑟𝑟𝑟𝑟𝑟
2
K. ESE
Determine 𝜎𝜎 from
𝜔𝜔𝑛𝑛 = = =
𝜁𝜁 12.27
6
0.75
𝑠𝑠𝑚𝑚𝑚𝑚
K. ESE
Determine Controller Parameters from 𝜎𝜎 and
𝜔𝜔𝑛𝑛
61
2𝜎𝜎𝑠𝑠 + 𝜔𝜔𝑛𝑛
𝐾𝐾𝑠𝑠:
and
2𝑏𝑏 + � = 2
= 150.5
𝐾𝐾𝐶𝐶 = 12.27
𝜔𝜔2
𝐾𝐾𝐶𝐶 = 150.5 − 2 ⋅ 16.4 = 117.7 → 118
𝐾𝐾𝑠𝑠 = 118
K. ESE
The controller transfer function is
11
8
𝐷𝐷 𝑠𝑠 =
𝑠𝑠 + 16.4
K. ESE
Closed-Loop Poles
6
Closed-loop system
is now second order
Controller designed
to place the two
closed-loop poles at
desirable locations:
𝑠𝑠1,2 = −9.2 ±
𝑗𝑗𝑗.13
Controller Plant
pole pole
𝜁𝜁 = 0.75
𝜔𝜔𝑛𝑛 = 12.3
K. ESE
Closed-Loop Step Response
6
Closed-loop step
response satisfies
the specifications
Approximations
were used
If requirements not
met - iterate
K. ESE