Systems Analysis and Control: Matthew M. Peet
Systems Analysis and Control: Matthew M. Peet
Matthew M. Peet
Arizona State University
Theorem 1.
Any bounded, linear, causal, time-invariant system, G, has a Transfer
Function, Ĝ, so that if y = Gu, then
ŷ(s) = Ĝ(s)û(s)
State-Space:
ẋ(t) = −x(t) + u(t)
y(t) = x(t) − .5u(t) x(0) = 0
Apply the Laplace transform to the first equation:
L ẋ(t) = −x(t) + u(t) which gives sx̂(s) = −x̂(s) + û(s).
The Transfer Function provides a convenient way to find the response to inputs.
1
Step Input Response: û(s) = s
1s−11 1 s−1
ŷ(s) = Ĝ(s)û(s) = =
2s+1s 2 s2 + s
1 2 1
= −
2 s+1 s
0.4
1 −1 2 1 1
y(t) = L − L−1 0.3
2 s+1 2 s 0.2
Amplitude
0.1
−t 1
= e − 1(t) 0
2 −0.1
−0.2
−0.3
−0.4
−0.5
0 1 2 3 4 5 6
Time (sec)
0.6
0.4
1s−1 1 0.2
ŷ(s) = Ĝ(s)û(s) =
2 s + 1 s2 + 1
u(t)
0
−0.2
1 s−1 −0.4
=
2 s3 + s2 + s + 1 −0.6
−0.8
1 s 1 −1
= − 0 2 4
t
6 8 10
2 s2 + 1 s + 1
output
0.6
0.2
1 1
y(t) = cos t − e−t 0
2 2
y(t)
−0.2
−0.4
−0.6
−0.8
0 2 4 6 8 10
t
14
1 1 12
Amplitude
ŷ(s) = Ĝ(s)û(s) = 10
J s − M2Jgl
2 8
1 1
= q q 2
J (s − M gl )(s + M gl ) 0
0 5
Time (sec)
10 15
2J 2J
Figure: Impulse Response with
s
1 2J 1 1 g = l = J = 1, M = 2
= q − q
J M gl s − M gl s+ M gl
2J 2J
In time-domain:
2J √ M gl t √ M gl
s
1
y(t) = e 2J − e− 2J t
J M gl
x1
mc
x2
mw
x1
mc
x2
mw
Which yields
K1 c
mc + mc s
ẑ1 (s) = ẑ2 (s)
c K1
s2 + mc s + mc
K1 c K2
mw + mw s mw
ẑ2 (s) = c K1 K2
ẑ1 (s) − c K1 K2
û(s)
s2 + mw s + mw + mw s2 + mw s + mw + mw
ẑ2 (s) =
K2 (mc s2 + cs + K1 )
û(s)
mc mw s4 + c(mw + mc )s3 + (K1 mc + K1 mw + K2 mc )s2 + cK2 s + K1 K2
u y1 y
G H
Definition 2.
The Cascade or Series interconnection of two systems is
y1 = Gu y = Hy1
or
y = H(G(u))
u(s) y(s)
u(s) y1(s) y(s) H(s)G(s)
G(s) H(s)
Series Interconnection:
• The output of G is the input to H.
• Let Ĝ(s) and Ĥ(s) be the transfer functions for G and H.
• Then
T̂ (s) = Ĥ(s)Ĝ(s)
G
+
u y
+
H
Definition 3.
The Parallel interconnection of two systems is
y1 = Gu y2 = Hu y = y1 + y2
or
y = H(u) + G(u)
y1(s)
G(s)
+ u(s) y(s)
u(s) y(s) H(s)+G(s)
+
H(s)
-
K(s) G(s)
u(s) + y(s)
Feedback:
• Controller: z = K(u − y) Plant: y = Gz
In the Frequency Domain:
• u is the input
• y is the output
ŷ(s) = Ĝ(s)ẑ(s) -
G(s)
ẑ(s) = u(s) − K̂(s)ŷ(s) u(s) + y(s)
Which yields
ŷ(s) = Ĝ(s) u(s) − K̂(s)ŷ(s) = Ĝ(s)û(s) − Ĝ(s)K̂(s)ŷ(s)
Ĝ(s)
ŷ(s) = û(s).
1 + Ĝ(s)K̂(s)
Transfer Function 1
Ĝ(s) = M gl
Js2 − 2
2
K/J 1.5
ŷ(s) = 1
s + K/J − M2Jgl
2
Amplitude
0.5
r ! −0.5
K M gl −1
J K/J − M gl 2J −2
2J −2.5
0 2 4 6 8 10 12
Time (sec)
6 Impulse Response
x 10
18
16
14
12
Amplitude
10
0
0 5 10 15 20 25
Time (sec)
Second Case:
• If K < M2gl , then K − M2gl < 0, so
K 1 1
ŷ(s) = q + q
J s − K/J − M gl
s+ K/J − M gl
2J 2J
K √K/J− M gl t √ M gl
y(t) =
e 2J + e− K/J− 2J t
J
Important: Value of K determines stability vs. instability
M. Peet Lecture 6: Control Systems 20 / 23
Block Diagrams
Reduction
e(s) + + y(s)
K1 1/s 1/s
- u(s) -
Label
• The output from the inner loop z
• The input to the inner loop u
First Close the Inner Loop using the Lower Feedback Interconnection.
K1
s K1
ẑ(s) = K1
û(s) = û(s)
s +1 K1 + s
e(s) + y(s)
K1/(K1+s) 1/s
- u(s)
K1
s(K1 +s) K1
ŷ(s) = ê(s) = ê(s)
1 + s(KK11+s) s(K1 + s) + K1
K1
So the Transfer function is T̂ (s) =
s2 + K1 s + K1
Transfer Functions
• Transfer Function Representation of a System
• State-Space to Transfer Function
• Direct Calculation of Transfer Functions