Professional Documents
Culture Documents
CONTROL SYSTEMS
Radar Dish Mechanical Engineering Department,
Middle East Technical University
Armature Inside
controlled Outside θr input
dc motor θD output
θm
G
Gearbox
b
Control
Transmitter
θD
dc amplifier Control
Transformer P f Dr.
Prof. D Y
Y. S
Samim
i ÜÜnlüsoy
lü
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 1
CH II
COURSE OUTLINE
I. INTRODUCTION & BASIC CONCEPTS
• s : Laplace variable.
• s : Laplace variable.
dn x dn − 1 x dx dm y dm − 1 y dy
an + an − 1 + ... + a1 + a 0 x = bm + bm − 1 + ... + b1 + b0 y
n n −1 dt m m −1 dt
dt dt dt dt
• x : output,
• y : input, and
• n : order of the system and n ≥ m for
physically realizable systems.
L { x(t)} ( )
X(s)
G( ) =
G(s) =
L { y(t)} Y(s)
zero initial conditions
( ansn + an −1sn −1 + ... + a1s + a0 ) X(s) = ( bmsm + bm −1sm −1 + ... + b1s + b0 ) Y(s)
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 9
TRANSFER FUNCTIONS
Finally, the transfer function is obtained.
m m −1
X(s) bm s + bm − 1s + ... + b1s + b0 N(s)
G(s) = = =
Y(s) n n − 1 D(s)
an s + an − 1 s + ... + a1s + a0
fn = my m
y
( )
ms 2 + bs + k Y(s) = F(s)
Ν Load EXAMPLE – 2
1
J1
bt
T(t) θ1 1
J2
( ) ( )
n 2 J1 + J 2 θ 2 + n 2 bt1 + bt2 θ2 = nT(t)
Ν bt
2 θ2 2
T k th
Take the Laplace
L l transform
t f off all
ll the
th terms.
t
⎢⎣( 1 2 ) (
⎡ n 2 J + J s 2 + n 2b + b s ⎤ Θ ((s)) = nT(s)
t1 t2 ⎥⎦ 2 () )
Obtain the transfer function.
Θ 2 (s)
() n
G(s) = =
T(s)
(
n 2 J1 + J 2 s 2 + n 2bt1 + bt2 s ) ( )
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 15
Qi EXAMPLE 3
⎛ A ⎞⎡ dQo ⎛ ρL ⎞ d 2 Qo ⎤
g ρ g
⎝ ⎠ ⎢⎣
(
Q i - Qo = ⎜ ⎟ ⎢ R v + R p
dt
+⎜
⎝ a ⎟) 2
⎠ dt ⎥⎦
⎥
H
p1 Q L
Long pipe
i p2
R Qo
L
Take the Laplace transform of all the terms.
⎛ A ⎞⎡ ⎛ ρL ⎞ 2 ⎤
⎝ ⎠⎣g
( )
Qi (s) - Qo (s) = ⎜ ⎟ ⎢ R v + R p sQo (s) + ⎜
ρ ⎝ a ⎟ s Qo (s)⎥
⎠ ⎦
Obtain the transfer function.
Q (s) 1
G(s) = o =
Qi (s) ⎛ A ⎞ ⎡⎛ ρL ⎞ 2 ρg ⎤
⎜ ⎟ ⎢⎜
ρg
⎝ ⎠ ⎣⎝ a ⎟ s + R v + Rp s + A ⎥
⎠ ⎦
( )
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 16
EXAMPLE 4
Tf
h dTs
Ts mcp + hATs = hATf
dt
Ts (s) hA
G(s) = =
Tf (s) mcp s + hA
d2e de di(t)
RCL + L + Re = RL
2 dt dt
dt
E(s) RLs
G(s) = =
I( ) RCLs 2 + Ls + R
I(s)
p: number of outputs,
q : number of inputs.
Qh(s)
G1(s)
Input T2(s)
To(s) Output
G2(s)
Input
G1 (s) =
R1 Further,
h the
h
( C1C2 R1 R 2 ) s2 + ( C1 R1 + C2 R1 + C2 R 2 ) s + 1 denominator is
the same in both
1
G 2 (s) = transfer
( C1C2 R1 R 2 ) s2 + ( C1 R1 + C2 R1 + C2 R 2 ) s + 1
functions !
Deriving input
input--output relations of
linear time invariant systems
(mechanical,, fluid,, thermal,, and
(
electrical) using elemental and
structural equations.
Obtaining transfer function
representation of LTI systems.
Representing control systems with
block diagrams.
g We are
here !
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 22
BLOCK DIAGRAMS
Nise Sections 5
5.1,
1 55.2
2
Y(s) X(s)
G( )
G(s) X(s)= G(s)Y(s)
Input Output
b
+
+
a a+b-c
- c
Branch points
A signal is duplicated to go simultaneously
to two or more blocks at a branch point.
a
a
a
Branch
points
B(s)
( )
H(s)
E( ) : E
E(s) Error signal,
i l G( ) : F
G(s) Feedforward
df d TF
TF,
B(s) : Feedback signal, H(s) : Feedback TF.
B(s)
H(s)
E(s) = R(s) − B(s) = R(s) − H(s)C(s)
C(s) G(s)
ClosedLoop Transfer Function = =
R(s) 1+ G(s)H(s)
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 29
BLOCK DIAGRAMS
Block Diagram of a Unity Feedback System
B(s)
E( ) = R(
E(s) R(s)) - B(
B(s)) = R(
R(s)) - C(
C(s))
C(s) = G(s)E(s) = G(s)R(s) - G(s)C(s) [1+ G(s)] C(s) = G(s)R(s)
C(s) G(s)
ClosedLoop Transfer Function = =
R(s)
( ) 1+ G(s)
( )
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 30
BLOCK DIAGRAMS
Procedure for drawing block diagrams :
• W
Write
it down
d the
th elemental
l t l and
d
structural equations.
• Obtain the transfer function for each
element in the system using
elemental equations.
• Start with the system output and
work back; inserting blocks,
summing
i points,
i t andd branch
b h points
i t
towards the system input.
A
2
As s2
NO ! YES !
WARNING
• Do not use overall transfer
functions or manipulated
equations in drawing the block
diagrams !
• You use the block diagrams
g to
obtain the overall transfer
functions not vice versa.
A positive displacement
reservoir pump isi a source (active
ti
element),
element ), flow rate Q(t) is
specified.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 34
Valve BLOCK Piston+cylinder
x
p1 R
R p2 DIAGRAMS A
Q1 b
Q EXAMPLE
dx
p1 − p 2 = RQ Viscous friction fb = bx Q1 = A
dt
Piston+mass
Tank
p2A
f(t)
m
C
b
bx
x
Q p2 Q1
+
Mass
dp 2 dx d2 x
Q − Q1 = C fn = mx Ap 2 − b − f = m 2
dt dt dt
+ + F(s)
R
⎛ A2 ⎞ A
2
⎜ ms + bs + ⎟ X(s) = Q ( s ) - F(s)
⎜ C ⎟ Cs
⎝ ⎠
⎛ 2 A2 ⎞ A
⎜ ms + bs + ⎟ X(s) = Q ( s ) − F(s)
⎜ C ⎟ Cs
⎝ ⎠
A
s C
( )=
X(s) Q (s) − F(s)
( )
( Cms 2
+ Cbs + A 2
) ( Cms 2
+ Cbs + A 2
)
A B
G1 A G1 B
+
∓ 1±G1G2
G2
A
G1 A B
+ G1 +G2
+
G2
B= ( G1 +G2 ) A
G1
R + Q M - T C
1 G2 2 G3
- +
- S
H
R C
G
G1
R + Q M - T C
1 G2 2 G3
- +
- S
H
Not needed
G1
anymore !
G2
+ -
C
1 G2 2 G3
R -
-
H
G1
G2
+ -
C
1 G2 G3
R -
-
H
G1
G2
+ -
G2 C
1 G3
- 1 + G2H
R
G1
G2
+ -
G2 C
1 G3
1 + G2 H
R -
G 2G 3
R G 1 + G2 H C
1− 1 G 2G 3
G2 1+
1 + G2H
G 2G 3
R G1 1 + G2 H C
1− G 2G 3
G2 1+
1 + G2H
R G 3 ( G 2 − G1 ) C
1 + G 2G 3 + G 2 H
T= M−P
Eliminate intermediate Warning : T
S = HT
appears
variables M, P, Q, S, T twice on the
C = G3T
using the equations. right hand
side !
T= M−P T = G 2Q − G1 R T = G 2 ( R − S − C ) − G1 R
T = ( G 2 − G1 ) R − G 2 HT − G 2C
( 1 + G 2 H ) T = ( G 2 − G1 ) R − G 2C
Insert this ( G 2 − G1 ) G2
in the last T= R− C C = G3T
(1 + G2H ) (1 + G2H )
equation
equation.
ME 304 CONTROL SYSTEMS Prof. Dr. Y. Samim Ünlüsoy 49
BLOCK DIAGRAM REDUCTION - EXAMPLE
All the equations have been used.
C = G3T
( G 2 − G1 ) G2
T= R− C
(1 + G2H ) (1 + G2H )
G 3 ( G 2 − G1 ) G 2G 3
C= R− C
(1 + G2H ) (1 + G2H )
C G 3 ( G 2 − G1 ) ⎡ G 2G 3 ⎤ G 3 ( G 2 − G1 )
= ⎢1 + ⎥C = R
R ( 1 + G 2G 3 + G 2 H ) ⎢⎣ ( 1 + G 2 H ) ⎥⎦ (1 + G2H )