Professional Documents
Culture Documents
Fall 2020
Disturbances
r e u y
Controller System
−
ym
Measurements
Objective
I Develop the concept of block diagrams
System Modeling Diagrams
G1 (s)
T1 (s) =
1 − G1 (s)G3 (s)
Block Diagrams: Example
G1 (s)
T1 (s) =
1 − G1 (s)G3 (s)
I which yields:
Block Diagrams: Example
G1 G2 G5 + G1 G6
=
1 − G1 G3 + G1 G2 G4
Block Diagram Reduction with MATLAB
u y
H(s)
u y
H(s)
u y
H(s)
I The time constant τ = 1/a defines the time when y(t) = 1/e.
Pole-Zero Locations
I Example response of
1
H(s) = → h(t) = e−at 1(t)
s+1
to the step input u(t) = 1(t).
Pole-Zero Locations: Example
I Example response of
2s + 1
H(s) =
s2 + 3s + 2
Pole-Zero Locations: Example
I Example response of
2s + 1
H(s) =
s2 + 3s + 2
I Find the partial fraction expansion of H(s)
Pole-Zero Locations: Example
I Example response of
2s + 1
H(s) =
s2 + 3s + 2
I Find the partial fraction expansion of H(s)
I
1 3
H(s) = − +
s+1 s+2
Pole-Zero Locations: Example
I Example response of
2s + 1
H(s) =
s2 + 3s + 2
I Find the partial fraction expansion of H(s)
I
1 3
H(s) = − +
s+1 s+2
I Poles: {−1, −2}; zeroes: {−0.5}
Pole-Zero Locations: Example
I Example response of
2s + 1
H(s) =
s2 + 3s + 2
I Find the partial fraction expansion of H(s)
I
1 3
H(s) = − +
s+1 s+2
I Poles: {−1, −2}; zeroes: {−0.5}
I Pole-zero map
Pole-Zero Locations: Example
2s + 1
H(s) =
s2 + 3s + 2
I Inverse LT:
2s + 1
H(s) =
s2 + 3s + 2
I Inverse LT:
ωn2
H(s) =
s2 + 2ζωn s + ωn2
Complex Poles: Geometrical Interpretation
ωn2
H(s) =
s2 + 2ζωn s + ωn2
ωn2
H(s) =
s2 + 2ζωn s + ωn2
ωn2
H(s) =
s2 + 2ζωn s + ωn2
ωn2 ωn2 1
H(s) = = , U (s) =
s2 + 2ζωn s + ωn2 (sζωn )2 + ωn2 (1 − ζ 2 ) s
2s + 1 ωn2 1
H(s) = = , U (s) =
s2 + 2s + 5 (sζωn ) + ωn2 (1 − ζ 2 )
2 s
√ √
I Analyze the poles: ωn = 5 = 2.24 rad/s, ζ = 1/ 5 = 0.447
Pole Locations: Example
2s + 1 ωn2 1
H(s) = = , U (s) =
s2 + 2s + 5 (sζωn ) + ωn2 (1 − ζ 2 )
2 s
√ √
I Analyze the poles: ωn = 5 = 2.24 rad/s, ζ = 1/ 5 = 0.447
I What should we expect by just looking at the poles?
Pole Locations: Example
2s + 1 ωn2 1
H(s) = = , U (s) =
s2 + 2s + 5 (sζωn ) + ωn2 (1 − ζ 2 )
2 s
√ √
I Analyze the poles: ωn = 5 = 2.24 rad/s, ζ = 1/ 5 = 0.447
I What should we expect by just looking at the poles?
I Frequency: 2.24 rad/s. Oscillatory motion. . .
Pole Locations: Example
Let’s analyze the impulse response. We must resemble the
denominator to the expressions in the table
2s + 1 ωn2
H(s) = =
s2 + 2s + 5 (s + ζωn )2 + ωn2 (1 − ζ 2 )
Pole Locations: Example
Let’s analyze the impulse response. We must resemble the
denominator to the expressions in the table
2s + 1 ωn2
H(s) = =
s2 + 2s + 5 (s + ζωn )2 + ωn2 (1 − ζ 2 )
I Impulse response
Pole Locations: Example
I Rise time tr : The time it takes for the output to reach the
vicinity of the set point
Time Domain Specifications
Generally, a mechatronic system output is desired to satisfy some
criteria expressed in the time domain
I Rise time tr : The time it takes for the output to reach the
vicinity of the set point
I Settling time ts : The time it takes for the transient to decay
Time Domain Specifications
Generally, a mechatronic system output is desired to satisfy some
criteria expressed in the time domain
I Rise time tr : The time it takes for the output to reach the
vicinity of the set point
I Settling time ts : The time it takes for the transient to decay
I Overshoot Mp : The maximum value the output overshoots the
set point (given in percentage)
Time Domain Specifications
Generally, a mechatronic system output is desired to satisfy some
criteria expressed in the time domain
I Rise time tr : The time it takes for the output to reach the
vicinity of the set point
I Settling time ts : The time it takes for the transient to decay
I Overshoot Mp : The maximum value the output overshoots the
set point (given in percentage)
I Peak time tp : The time it takes for the output to reach the
overshoot (peak) value
Rise Time
For the second-order system
ωn2
H(s) = ,
(s + ζωn )2 + ωn2 (1 − ζ 2 )
with ζ = 0.5 under the step input, almost all curves rise at the same
time from y(t) = 0.1 to y(t) = 0.9:
1.8
tr u ,
ωn
Overshoot
Let’s calculate the unit-step response in time domain:
ωn2 1
H(s) = , U (s) =
(s + ζωn )2 + ωn2 (1 − ζ 2 ) s
Overshoot
Let’s calculate the unit-step response in time domain:
ωn2 1
H(s) = , U (s) =
(s + ζωn )2 + ωn2 (1 − ζ 2 ) s
ωn2
H(s) −σt σ
= → y(t) = 1 − e cos(ωd t) + (sin(ωd t)
s s(s2 + 2ζωn + ωn2 ) ωd
p
ωd = ωn 1 − ζ 2 , σ = ζωn
Overshoot
Let’s calculate the unit-step response in time domain:
ωn2 1
H(s) = , U (s) =
(s + ζωn )2 + ωn2 (1 − ζ 2 ) s
ωn2
H(s) −σt σ
= → y(t) = 1 − e cos(ωd t) + (sin(ωd t)
s s(s2 + 2ζωn + ωn2 ) ωd
p
ωd = ωn 1 − ζ 2 , σ = ζωn
I Using trigonometric identities, we obtain
e−σt
y(t) = 1 − p cos(ωd t − sin−1 (ζ))
1 − ζ2
I At the overshoot value, the derivative will be zero:
ẏ(t) = 0
Overshoot
I At the overshoot value, the derivative will be zero:
−σt σ
ẏ(t) = σe cos(ωd t) + sin(ωd t) − e−σt (−ωd sin(ωd t) + σ cos(ωd t)
ωd
Overshoot
I At the overshoot value, the derivative will be zero:
−σt σ
ẏ(t) = σe cos(ωd t) + sin(ωd t) − e−σt (−ωd sin(ωd t) + σ cos(ωd t)
ωd
I This happens when tp = π/ωd . This called the peak time
Overshoot
I At the overshoot value, the derivative will be zero:
−σt σ
ẏ(t) = σe cos(ωd t) + sin(ωd t) − e−σt (−ωd sin(ωd t) + σ cos(ωd t)
ωd
I This happens when tp = π/ωd . This called the peak time
I At that instant:
y(tp ) = 1 + Mp
σ
= 1 − e−σπ/ωd cos(π) + sin(π)
ωd
= 1 + e−σπ/ωd
Overshoot
I At the overshoot value, the derivative will be zero:
−σt σ
ẏ(t) = σe cos(ωd t) + sin(ωd t) − e−σt (−ωd sin(ωd t) + σ cos(ωd t)
ωd
I This happens when tp = π/ωd . This called the peak time
I At that instant:
y(tp ) = 1 + Mp
σ
= 1 − e−σπ/ωd cos(π) + sin(π)
ωd
= 1 + e−σπ/ωd
I Thus,
√ 2
Mp = e−πζ/ 1−ζ
for 0 ≤ ζ < 1
Overshoot
√ 2
Mp = e−πζ/ 1−ζ
for 0 ≤ ζ < 1
Time Domain Design Characteristics
I All the characteristics described thus far, i.e., rise time,
overshoot, peak time, and settling time, can be used in the design
process of a second order system without zeros
Time Domain Design Characteristics
I All the characteristics described thus far, i.e., rise time,
overshoot, peak time, and settling time, can be used in the design
process of a second order system without zeros
I In the design process, the designer determines the certain
characteristics and then places the poles (and hence ζ, ωn ) of the
system based on these characteristics
Time Domain Design Characteristics
I All the characteristics described thus far, i.e., rise time,
overshoot, peak time, and settling time, can be used in the design
process of a second order system without zeros
I In the design process, the designer determines the certain
characteristics and then places the poles (and hence ζ, ωn ) of the
system based on these characteristics
I Combination of these specifications can be used as a design guide
1.8 4.6
ωn ≥ ζ ≥ ζ(Mp ) σ ≥
tr ts
First-Order Systems
σ 1
H(s) = , U (s) =
s+σ s
σ
Y (s) =
s(s + σ)
σ 1
H(s) = , U (s) =
s+σ s
σ
Y (s) =
s(s + σ)
σ 1
H(s) = , U (s) =
s+σ s
σ
Y (s) =
s(s + σ)
σ 1
H(s) = , U (s) =
s+σ s
σ
Y (s) =
s(s + σ)
Ci = (s − pi )F (s)|s=pi
Effects of Zeros and Additional Poles
Ci = (s − pi )F (s)|s=pi
Ci = (s − pi )F (s)|s=pi
Ci = (s − pi )F (s)|s=pi
(s/αζωn + 1)
H(s) =
(s/ωn )2 + 2ζ(s/ωn ) + 1
Effects of Zeros and Additional Poles
(s/αζωn + 1)
H(s) =
(s/ωn )2 + 2ζ(s/ωn ) + 1
I As α approaches one, i.e., the zero gets closer to the pole, then
the overshoot increases and it shows more oscillatory transient
behavior
Effects of Zeros and Additional Poles
What if zeros are close to poles?
24 s+z
H(s) =
z (s + 4)(s + 6)
Analyze the effect of z when z = {1, 2, 3, 4, 5, 6}
Effects of Zeros and Additional Poles
What if zeros are close to poles?
24 s+z
H(s) =
z (s + 4)(s + 6)
Analyze the effect of z when z = {1, 2, 3, 4, 5, 6}
I First, derive the step response:
H(s) 24 s+z
H̄(s) = =
s z s(s + 4)(s + 6)
24 s 24
= +
z s(s + 4)(s + 6) s(s + 4)(s + 6)
Effects of Zeros and Additional Poles
What if zeros are close to poles?
24 s+z
H(s) =
z (s + 4)(s + 6)
Analyze the effect of z when z = {1, 2, 3, 4, 5, 6}
I First, derive the step response:
H(s) 24 s+z
H̄(s) = =
s z s(s + 4)(s + 6)
24 s 24
= +
z s(s + 4)(s + 6) s(s + 4)(s + 6)
I Then,
y(t) = y1 (t) + y2 (t)
12 −4t
+ e−6t
y1 (t) = e
z
Effects of Zeros and Additional Poles
What if zeros are close to poles?
24 s+z
H(s) =
z (s + 4)(s + 6)
Analyze the effect of z when z = {1, 2, 3, 4, 5, 6}
I First, derive the step response:
H(s) 24 s+z
H̄(s) = =
s z s(s + 4)(s + 6)
24 s 24
= +
z s(s + 4)(s + 6) s(s + 4)(s + 6)
I Then,
y(t) = y1 (t) + y2 (t)
12 −4t
+ e−6t
y1 (t) = e
z
I Recall that the term s stands for the derivative operator, so
Z t
y2 (t) = z y1 (τ )dτ
0
= −3e−4t + 2e−6t + 1
Effects of Zeros and Additional Poles
What if zeros are close to poles?
24 s+z
H(s) =
z (s + 4)(s + 6)
Analyze the effect of z when z = {1, 2, 3, 4, 5, 6}
I First, derive the step response:
H(s) 24 s+z
H̄(s) = =
s z s(s + 4)(s + 6)
24 s 24
= +
z s(s + 4)(s + 6) s(s + 4)(s + 6)
I Then,
y(t) = y1 (t) + y2 (t)
12 −4t
+ e−6t
y1 (t) = e
z
I Recall that the term s stands for the derivative operator, so
Z t
y2 (t) = z y1 (τ )dτ
0
= −3e−4t + 2e−6t + 1
Effects of Zeros and Additional Poles
Overall response is governed by
12 −4t 12 −6t
y(t) = 1 + −3 e + 2− e
z z
Effects of Zeros and Additional Poles
Overall response is governed by
12 −4t 12 −6t
y(t) = 1 + −3 e + 2− e
z z
Summary
I For a second-order system with no finite zeros, the transient
system parameters are:
1.8
I Rise time: tr u
ωn √
2
I Overshoot: Mp = e−πζ/ 1−ζ
4.6
I Settling time: ts u
σ
I A zero in the LHP will cause an increase in the overshoot
I A zero in the RHP will suppress the overshoot, or even cause to
start the response in the opposite direction
I An additional pole in the LHP will increase the rise time if the
extra pole is within a factor of 4 of the real part of the complex
poles
Effects of Zeros and Additional Poles
I That is, a system is stable if all the poles have negative real parts
s = −σ ± jω, σ > 0
I A system is unstable if any of its poles has positive real part
s = −σ ± jω, σ < 0.
I If there is a single pole on the imaginary axis (s = 0), small
initial conditions will persist
I If there are multiple poles on the imaginary axis (s = ±jω),
oscillatory motion will persist
I The last two cases are also called marginally stable
Stability
I That is, a system is stable if all the poles have negative real parts
s = −σ ± jω, σ > 0
I A system is unstable if any of its poles has positive real part
s = −σ ± jω, σ < 0.
I If there is a single pole on the imaginary axis (s = 0), small
initial conditions will persist
I If there are multiple poles on the imaginary axis (s = ±jω),
oscillatory motion will persist
I The last two cases are also called marginally stable
BIBO Stability
Bounded input-bounded output (BIBO) stability analyzes whether a
system produces bounded output for bounded input signals
BIBO Stability
Bounded input-bounded output (BIBO) stability analyzes whether a
system produces bounded output for bounded input signals
Z ∞
I Consider y(t) = h(τ )u(t − τ )dτ
−∞
BIBO Stability
Bounded input-bounded output (BIBO) stability analyzes whether a
system produces bounded output for bounded input signals
Z ∞
I Consider y(t) = h(τ )u(t − τ )dτ
−∞
I Assume the input is bounded: |u| ≤ M < ∞
BIBO Stability
Bounded input-bounded output (BIBO) stability analyzes whether a
system produces bounded output for bounded input signals
Z ∞
I Consider y(t) = h(τ )u(t − τ )dτ
−∞
I Assume the input is bounded: |u| ≤ M < ∞
I Then:
Z ∞
|y| = | h(τ )u(t − τ )dτ |
−∞
Z ∞
≤ |h||u|dτ
−∞
Z ∞
≤M |h(τ )|dτ
−∞
BIBO Stability
Bounded input-bounded output (BIBO) stability analyzes whether a
system produces bounded output for bounded input signals
Z ∞
I Consider y(t) = h(τ )u(t − τ )dτ
−∞
I Assume the input is bounded: |u| ≤ M < ∞
I Then:
Z ∞
|y| = | h(τ )u(t − τ )dτ |
−∞
Z ∞
≤ |h||u|dτ
−∞
Z ∞
≤M |h(τ )|dτ
−∞
Z ∞
I So if |h|dτ is bounded, the output will be bounded
−∞
Stability of LTI Systems
General LTI system:
Qm
Y (s) (s − zi )
H(s) = = K Qni=1
R(s) i=1 (s − pi )
I Thus, the system is stable if and only if all epi t terms go to zero
as t → ∞
Stability of LTI Systems
General LTI system:
Qm
Y (s) (s − zi )
H(s) = = K Qni=1
R(s) i=1 (s − pi )
I Thus, the system is stable if and only if all epi t terms go to zero
as t → ∞
I This happens when the poles are in the. . .
Stability of LTI Systems
General LTI system:
Qm
Y (s) (s − zi )
H(s) = = K Qni=1
R(s) i=1 (s − pi )
I Thus, the system is stable if and only if all epi t terms go to zero
as t → ∞
I This happens when the poles are in the. . .
I This concept is called internal stability
Stability of LTI Systems
General LTI system:
Qm
Y (s) (s − zi )
H(s) = = K Qni=1
R(s) i=1 (s − pi )
I Thus, the system is stable if and only if all epi t terms go to zero
as t → ∞
I This happens when the poles are in the. . .
I This concept is called internal stability
I If the system has any pole on the RHP, it is unstable
Stability of LTI Systems
General LTI system:
Qm
Y (s) (s − zi )
H(s) = = K Qni=1
R(s) i=1 (s − pi )
I Thus, the system is stable if and only if all epi t terms go to zero
as t → ∞
I This happens when the poles are in the. . .
I This concept is called internal stability
I If the system has any pole on the RHP, it is unstable
I If the system has non-repeated pole on the jω axis, it is neutrally
stable
Routh’s Stability Criterion
Consider
Consider
s6 : 1 3 1 4
5
s : 4 2 4 0
s4 : 5/2 0 4 0
s3 : 2 −12/5 0 0
s2 : 3 4 0 0
s : −76/15 8 0 0
s0 : 4 8 0 0
I There are two poles on the RHP because the number of sign
changes in the first column is two
Routh’s Stability Criterion: Example
For the system above, calculate the transfer function from r to y, and
find the range for K that makes the feedback system stable
Routh’s Stability Criterion: Example
For the system above, calculate the transfer function from r to y, and
find the range for K that makes the feedback system stable
I Write the Routh array:
KG(s)
T (s) =
1 + KG(s)
Routh’s Stability Criterion: Example
For the system above, calculate the transfer function from r to y, and
find the range for K that makes the feedback system stable
I Write the Routh array:
KG(s)
T (s) =
1 + KG(s)
I Characteristic polynomial:
s+1
1 + KG(s) = 1 + K =0
s(s − 1)(s + 6)
s3 + 5s2 + (K − 6)s + K = 0
Routh’s Stability Criterion: Example
For the system above, calculate the transfer function from r to y, and
find the range for K that makes the feedback system stable
I Write the Routh array:
KG(s)
T (s) =
1 + KG(s)
I Characteristic polynomial:
s+1
1 + KG(s) = 1 + K =0
s(s − 1)(s + 6)
s3 + 5s2 + (K − 6)s + K = 0
I Routh array:
s3 : 1 K −6
s2 : 5 K
s : (4K − 30)/5 0
s0 : K 0
Routh’s Stability Criterion: Example
I Routh array:
s3 : 1 K −6
s2 : 5 K
s : (4K − 30)/5 0
s0 : K 0
Routh’s Stability Criterion: Example
I Routh array:
s3 : 1 K −6
s2 : 5 K
s : (4K − 30)/5 0
s0 : K 0
I Routh array:
s3 : 1 K −6
s2 : 5 K
s : (4K − 30)/5 0
s0 : K 0
We have seen:
I Block diagrams
I Time-domain specifications for design purposes
I Effects of pole-zero locations on time response
I Stability and Routh-Hurwitz test