03b Modeling
03b Modeling
03b Modeling
Review
Chapter 2
• An automatic controller:
– Compares the value of the plant output with the reference
input,
– Determines the difference,
– Produces a control signal that reduces this difference to 0.
• The manner in which the automatic controller
produces the control signal is called the control
action.
u (t ) = U1 , for e(t) 0
= U 2 , for e(t) 0
u (t ) = K p e(t )
U ( s)
Transfer function: = Kp Proportional gain
E ( s)
E(s) U(s)
+ Kp
-
U ( s) K i
Transfer function: =
E ( s) s
E(s) Ki U(s)
+
- s
Integral time
U ( s) 1
Transfer function: = K p 1 +
E ( s) Ti s
E(s) K p (1 + Ti s ) U(s)
+
- Ti s
de(t )
u (t ) = K p e(t ) + K pTd
dt
Derivative time
= K p (1 + Td s )
U ( s)
Transfer function:
E ( s)
K p (1 + Td s )
E(s) U(s)
+
-
Kp t de(t )
Controller equation: u (t ) = K p e(t ) +
Ti 0
e(t )dt + K pTd
dt
U ( s) 1
Transfer function: = K p 1 + + Td s
E ( s) Ti s
+
E(s)
(
K p 1 + Ti s + TiTd s 2 ) U(s)
- Ti s
E ( s) Z2 R1 R C s +1
=− where Z1 = ; Z2 = 2 2
Ei ( s) Z1 R1C1s + 1 C2 s
E ( s) R2C2 s + 1 R1C1s + 1
= −
Ei ( s) C2 s R1
Eo ( s) R4
We also have: =−
E ( s) R3
Eo ( s) Ti
Multiplying: = K p 1 + + Td s
Ei ( s) s
C ( s) = CR ( s) + CD ( s) =
G2 ( s)
G1 (s) R(s) + D(s)
1 + G1 ( s)G2 ( s) H ( s)
CD ( s) G2 ( s)
= 0
D( s) 1 + G1 ( s)G2 ( s) H ( s)
CR ( s) G1 ( s)G2 ( s) 1
=
D( s) 1 + G1 ( s)G2 ( s) H ( s) H (s)
i=
ei − eo
eo =
idt
R C
Next take the Laplace transforms:
Represent each equation in blocks:
Ei ( s) − Eo ( s)
I (s) =
R
I ( s)
Eo ( s) =
Cs
R - C
+- + G1 + G2 G3
+
H1
H2
G1
R - C
+- + + G1 G2 G3
+
H1
R G1G2G3 C
+-
1 − G1G2 H1 + G2G3 H 2
R G1G2G3 C
1 − G1G2 H1 + G2G3 H 2 + G1G2G3