AuC Lecture Note 04
AuC Lecture Note 04
Spring, 2025
Ohmin Kwon
School Electrical Engineering
Chungbuk National University
Republic of KOREA
Homepage: http://cel.cbnu.ac.kr
E-mail: [email protected]
©2025 All rights reserved.
In this chapter, we discuss graphical techniques for modeling control systems and their underlying
mathematics. The main objectives of this chapter are:
Block diagrams provide a better understanding of the composition and interconnection of the
components of a system. It can be used, together with transfer functions, to describe the cause-
and-effect relationships throughout the system.
1
<Figure 4-2 Block diagram representation of a general control system>
The common elements in block diagrams of most control signals include
- Comparators
- Blocks representing individual component transfer functions, including
Reference sensor (or input sensor)
Output sensor
Actuator
Controller
Plant
- Input or reference signals
- Output signals
- Disturbance signals
- Feedback loops
♣ Addition, Subtraction, and Multiplication of Elements:
2
<Ex 4-1-1>
<Ex 4-1-2>
3
♣ Basic, Block Diagram of a Feedback System:
4
4-1-2 Relation between Mathematical Equations and Block Diagrams
x (t ) 2n x (t ) n2 x (t ) n2u (t ) s 2 X ( s) 2n sX ( s ) n2 X ( s ) n2U ( s )
s 2 X ( s ) n2 X ( s ) 2n sX ( s ) n2U ( s )
<Figure 4-11>
5
<Ex 4-1-3>
1 1
n2
X ( s) s 2n s n2
2 (4-19)
n2 s 2n s n
U ( s) 1 1 1 2
s 2n s
6
4-1-3 Block Diagram Reduction
<Figure 4-15 (a) Branch point relocation from point P to (b) point Q>
Y ( s) A( s)G2 ( s)
B( s) H1 (s )Y ( s) (4-21)
H1 ( s)G2 ( s) A( s)
<Ex 4-1-5>
7
8
4-1-4 Block Diagram of Multi-Input Systems-Special Case: Systems with a
Disturbance
Super Position: For linear systems, the overall response of the system under multi-inputs
is the summation of the responses due to the individual inputs, i.e., in this case,
Ytotal YR D0
YD R 0
(4-28)
G1 ( s )G2 ( s ) G2 ( s)
Y ( s) R(s) D( s )
1 G1 ( s)G2 ( s) H1 ( s) 1 G1 ( s)G2 ( s) H1 ( s)
9
4-1-5 Block Diagrams and Transfer Functions of Multivariable Systems
10
<EX 4-1-6> Consider that the forward-path transfer function matrix and the feedback-path
transfer function matrix of the system shown in Fig.4-22 are
1 1
s 1
s 1 0
G (s) H (s) (4-39)
2 1 0 1
s 2
Respectively. The closed-loop transfer function matrix of the system is given by Eq. (4-15), and
is evaluated as follows:
1 1 s 2 1
1 s 1
s s 1
s
1 G (s ) H ( s) (4-40)
2 1 s 3
1 2
s 2 s 2
The closed-loop transfer function matrix is
s 3 1 1 1
1 s 2 s s 1 s
M ( s) I G( s) H ( s) G( s)
1
(4-41)
s 2 1
2 2
s 1 s 2
where
s 2 s 3 2 s 2 5s 2
(4-42)
s 1 s 2 s s s 1
Thus,
3s 2 9 s 4 1
s s 1 s s 1 s 2 s
M (s) 2 (4-43)
s 5s 2 3s 2
2
s s 1
11
4-2 SIGNAL-FLOW GRAPHS(SFGs)
SFGs: A graphical means of portraying the input-output relationships among the
variables of a set of linear algebraic equations
Node: junction point, represents variable
Branch: connection between nodes: cause-and-effect equation
A signal can transmit through a branch only in the direction of the arrow.
y2
( y1 의미 x)
a12
y2 a12 y1.
12
4-2-1 SFG Algebra
The value of the variable represented by a node is equal to the sum of all the signals
entering the node.
The value of the variable represented by a node is transmitted through all branches
leaving the node.
y6 a16 y1 , y7 a17 y1 , y8 a18 y1 (4-47)
Parallel branches in the same direction connecting two nodes can be replaced by a
single branch with gain equal to the sum of the gains of the parallel branches.
<Figure 4-25 Signal-flow graph with parallel paths replaced by one with a single branch>
13
A feedback system shown in Fig. 4.23g is
E (s ) R (s ) H (s )Y ( s),
Y (s ) G ( s ) E ( s) G( s)( R( s ) H (s )Y ( s))
Y (s) G ( s)
M ( s)
R(s) 1 G(s) H (s)
<Figure 4-26 Signal-flow graph with cascade unidirectional branches replaced by a single
branch>
<Ex 4-2-1>
14
<Ex 4-2-2>
y2 a12 y1 a32 y3
y3 a23 y2 a43 y4
(4-52)
y4 a24 y2 a34 y3 a44 y4
y5 a25 y2 a45 y4
15
4-2-2 Definition of SFG terms:
Input Node (Source): has only outgoing branches
Output Node (Sink): has only incoming branches
Non-input node: has only output mode
Path gain: The product of the branch gains encountered in traversing a path
Forward-path gain: the path gain of a forward path
Loop gain: the path gain of a loop
Nontouching loops: two parts of an SFG are nontouching if they do not share a common
node
16
Summary of basic properties of SFG:
SFG applies only to LS
Eqs. For which an SFG is drawn must be algebraic eqs. in the form of cause-and-effect
Nodes are used to represent variables
Signal travel along branches only in the direction described by the arrows
Signal yk traveling along a branch is multiplied by certain gains
♣ Mason Rule: Given an SFG with N forward paths and K loops, the gain between the input
node yin and output node yout is
yout N
M
M k k (4-54)
yin k 1
where
yin = input-node variable
yout = output-node variable
M = gain between yin and yout
N = total number of forward paths between yin and yout
M k = gain of the k th forward path between yin and yout
1 Li1 Li 2 Li 3 (4-55)
i i i
17
<Ex 4-2-3-2>
<Ex 4-2-3-3>
18
<Ex 4-2-4>
y5 M 1 M 2 M 3 1 L41
y2 a12 1 L21 L41
Sol 1)
19
<EX 4-2-5>
20
<Ex 4-2-6>
<Figure 4-32>
Sol 1)
Sol 2)
21
4-2-4 Application of the GF between output nodes and noninput nodes:
FIND y7 / y2 , IS IT POSSIBLE?
yout
yout y M k k from yin to yout M k k from yin to y2
in
y2 y2
yin (4-74)
M
k k from y to y
in out
M k k from y to y
in 2
y7 y7 y1 G1G2G3G4 G1G5 (1 G3 H 2 )
(4-75)
y2 y2 y1 1 G3 H 2 H 4 G3 H 2 H 4
22
State diagram is an extension of the SFG to portray state equations and differential equations.
♣ Basic:
dx1 (t ) t
x2 (t ) x1 (t ) x2 ( )d x1 (t0 ),
dt t0
x (t )
Taking LT X 1 ( s ) L x2 ( )d 1 0
t
t0 s
x (t )
L x2 ( ) d x2 ( )d 1 0
t t0
0 0 s
X (s) x (t )
2 L x2 ( ) d 1 0
t0
s s
0
X 2 ( s ) x1 (t0 )
s s
where the state transition is assumed to start at 𝜏 = 𝑡 , which implies that x2 ( ) 0 for
The above equation is now algebraic and can be represented by a SFG. See the figure.
♣ Remarks:
SD can be constructed directly from DE. This allows the determination of the state
variable and the state equations
SD can be constructed from TF. This step is defined as the decomposition of TF
SD can be used to program the system on an analog computer or for simulation on a
digital computer
State transition equation in LT domain may be obtained from the SD by using the SFG
gain formula → Simulink
TF can be determined from the SD
23
SE and OE can be determined form SD
<Cf>
<Ex 4-3-0>
Sol 1:DE→SD
Sol 2:SE→SD
24
25
4-3-1 From Differential Equations to State Diagrams (DE→SD)
Consider the DE
d n y (t ) d n 1 y (t ) dy (t )
n
a n n 1
a2 a1 y (t ) r (t ) (4-88)
dt dt dt
Then, to construct a SD
d n y (t ) d n 1 y (t ) dy (t )
n
a n n 1
a2 a1 y (t ) r (t ) (4-89)
dt dt dt
26
d 2 y t dy t
3 2 y t r t , y 0 , y 0
dt 2
dt
given
ⅰ) SD:
y 2 y 3 y r
ⅳ) DE from Y(s):
27
ⅴ) SE from SD:
ⅵ) SD from SE
*Inverse of ⅴ)
28
4-3-2 From State Diagrams to Transfer Functions
Y (s) 1
2 (4-92)
R ( s ) s 3s s
dx(t )
ax(t ) br (t ), y (t ) cx(t ) dr (t ).
dt
<Ex 4-3-3> Revisit the system in Fig. 4-38. Then see the following Fig.
<Figure 4-38 State diagram of Fig. 4-37 with the initial states and the
integrator branches left out>
x1 (t ) x2 (t ),
x2 (t ) 2 x1 (t ) 3x2 (t ) r (t ),
y (t ) x1 (t ).
29
<Ex 4-3-4> See the following Fig. 4-39
<Figure 4-39 (s)State diagram. (b)State diagram in part (a) with all initial
States and integrators left out>
30
4-4 CASE STUDIES
<Ex 4-4-2>
Sol)
31
<Ex 4-4-3>
32
Force Equation:
d 2 m (t ) B d (t ) K 1
2
m m [ m (t ) L (t )] Tm (t )
dt J m dt Jm Jm
d 2 L (t )
K [ m (t ) L (t )] J L .
dt 2
d 2 m (t ) Bm d m (t ) K 1
2
m (t ) L (t ) Tm (t )
dt J m dt Jm Jm
d 2 L (t ) K
L (t ) m (t ) 0
dt 2 JL
Sol)
33
34
<Ex 4-4-5>
Sol)
R1 1 1
i1 t L ii t L ec t L e t
e t R1ii t L1i1 t ec t 1 1 1
R2 1
ec t L2i2 t R2i2 t i2 t L i2 t L ec t
cec t i1 t i2 t
2 2
1 1
ec t i1 t i2 t
c c
35
DC Motors in Control Systems
→ a torque transducer that converts electric energy into mechanical energy.
♣ Mathematical modeling of PM DC motors:
Equation:
Tm (t ) K m ia (t ) Ki ia (t )
dia (t ) 1 R 1
ea (t ) a ia (t ) eb (t ),
dt La La La
d m (t )
eb (t ) K b Kb wm (t ),
dt
d 2 m (t ) 1 1 B d (t )
2
Tm (t ) TL (t ) m m .
dt Jm Jm J m dt
State Equations:
dia (t ) Ra Kb
dt L
La
0 1
0
a ia (t ) L
w (t ) 0 e (t ) 1 T (t )
a
dwm (t ) Ki
Bm
0
dt J Jm m a
Jm L
m m (t )
0
d
m (t ) 0 1 0 0
dt
36
SFG:
1 1
Ia s
La s Ra
Ea s Eb s , m wm
J m s Bm
Tm TL
BD:
TF:
m ( s) Ki
,
Ea ( s) La J m s ( Ra J m Bm La ) s 2 ( K b K i Ra Bm ) s
3
37