M9 Time Response
M9 Time Response
Response
Parameters
• Settling time 𝑡𝑠
• Peak time 𝑡𝑝
• Percent 𝑀𝑝 peak magnitude
Δ𝑦𝑠𝑠
overshoot (PO).
• Steady-state 𝑀𝑝 − Δ𝑦𝑠𝑠
value 𝑦𝑠𝑠 𝑃. 𝑂. = 100 ⋅
Δ𝑦𝑠𝑠
Mechatronics—Time Response
First Order Systems
Ideal response (proportional to input)
Actual response
𝑡𝑠 Δ𝑦𝑠𝑠1 Δ𝑦𝑠𝑠2
𝑡𝑠
2% of Δ𝑦𝑠𝑠2
0.1
Assume 𝐺 𝑠 = .
Find a controller that ensures that the settling time to a step
𝑠+5
input is 10 times smaller than the settling time of the plant.
𝐶𝐺 0.1𝐶
• The closed-loop transfer function is 𝐶𝐿 𝑠 = = .
1+𝐶𝐺 𝑠+5+0.1𝐶
• Let 𝐶 𝑠 = 𝑘. For stability, 5 + 0.1𝑘 > 0.
4
• If 𝐶 𝑠 = 𝑘, the closed-loop is a first-order system. Therefore, 𝑡𝑠 ≃ .
5+0.1𝑘
4
• The settling time of the plant to a step input is 𝑡𝑠𝑝 ≃ = 0.8 sec.
5
• 𝑡𝑠 = 0.1𝑡𝑠𝑝 ⇒ 𝑘 = 450. The answer is 𝐶 𝑠 = 450.
First Order Systems
𝑡𝑠
Δ𝑦𝑠𝑠1 Δ𝑦𝑠𝑠2
𝑡𝑠
2% of Δ𝑦𝑠𝑠2
• The 2% settling time is the time until the output stays within ±2% of
the step from its previous steady-state value.
Second Order Systems
• Consider a second-order system described by a transfer function
𝐴
𝐻 𝑠 = 2
𝑠 + 2𝜁𝜔𝑛 𝑠 + 𝜔𝑛2
• 𝐴 is a constant.
• 𝜁 is the damping ratio. It is dimensionless.
• 𝜔𝑛 > 0 is the natural frequency. It is measured in rad/s (like the 𝑠 variable).
• If 𝜁 ≤ 0, the system is unstable.
• If 0 < 𝜁 < 1, the step response will overshoot.
• If 𝜁 ≥ 1, the step response will resemble the response of a first order
system; it will have no overshoot.
• If 𝜁 = 1, the system is said to be critically damped.
Second Order Systems
• Assume 0 < 𝜁 < 1.
• The unit-step response is
𝐴 𝑒 −𝜁𝜔𝑛 𝑡
𝑦 𝑡 = 2 1− sin 𝜔𝑑 𝑡 + 𝜑
𝜔𝑛 1 − 𝜁2
where
• 𝜔𝑑 = 𝜔𝑛 1 − 𝜁 2 is the damped natural frequency.
• 𝜑 = cos−1 𝜁.
Second Order Systems
𝑡𝑝 (peak time)
• Assume 0 < 𝜁 < 1.
𝑡𝑠 (2% settling time)
• The 2% settling time is:
4
𝑡𝑠 ≈
𝜁𝜔𝑛
• The percent overshoot is:
𝜋𝜁 𝑀𝑝 peak magnitude
𝑃. 𝑂. = 100 ⋅ exp − Δ𝑦𝑠𝑠
1 − 𝜁2 𝑀𝑝 − Δ𝑦𝑠𝑠
𝑃. 𝑂. = 100 ⋅
Δ𝑦𝑠𝑠
• The peak time is:
𝜋
𝑡𝑝 =
𝜔𝑑
Second Order Systems—Examples
• Let 𝑥 be the position of a vehicle and 𝜏 the torque of the motor. The
𝑋 𝑠
transfer function corresponds, approximately, to a second order
𝑇 𝑠
system.
• A block connected to a spring.
• An RLC circuit.
Second Order Systems—Example
20
Find the percent overshoot and the settling time of 𝐻 𝑠 = .
4𝑠2 +2𝑠+1
𝐴
• First, let’s write 𝐻(𝑠) in the form 2.
𝑠 2 +2𝜁𝜔𝑛 𝑠+𝜔𝑛
20 20/4
=
4𝑠 2 + 2𝑠 + 1 𝑠 2 + 0.5𝑠 + 0.25
4 𝜋𝜁
𝑡𝑠 ≈ = 16 sec and 𝑃. 𝑂. = 100 ⋅ exp − = 16.3%
𝜁𝜔𝑛 1−𝜁 2
Second Order Systems—Example
Find 𝜁 and 𝜔𝑛 .
Note that any of the five edges could be used to find 𝜁 and 𝜔𝑛 .
Second Order Systems—Example
Δ𝑦𝑠𝑠
𝑡𝑝
𝑀𝑝
100
Since Δ𝑦𝑠𝑠 = 3 and 𝑀𝑝 = 3.5, it follows that 𝑃. 𝑂. = .
6
𝜋𝜁
Now 𝑃. 𝑂. ≠ 0 ⇒ 0 < 𝜁 < 1. Therefore, 𝑃. 𝑂. = 100 ⋅ exp − . This implies 𝜁 = 0.495.
1−𝜁 2
𝜋 𝜔𝑑
From 𝑡𝑝 ≃ 0.2 s and 𝑡𝑝 = we find 𝜔𝑑 = 5𝜋 rad/s ⇒ 𝜔𝑛 = = 18.1 rad/s.
𝜔𝑑 1−𝜁 2
Second Order Systems—Example
0.2
Assume 𝐺 𝑠 = , 𝐶 𝑠 = 𝑘, and 𝐻 𝑠 = 1 + 𝑘𝑑 𝑠. Find 𝑘 and 𝑘𝑑 so that
𝑠2
the system responds to a step input with 𝑃. 𝑂. = 5% and 𝑡𝑠 = 1 s.
• Using the formulas
4 𝜋𝜁
𝑡𝑠 ≈ and 𝑃. 𝑂. = 100 ⋅ exp −
𝜁𝜔𝑛 1−𝜁 2
4
we obtain 𝜁 = 0.69 and 𝜔𝑛 ≈ rad/s.
0.69
• This corresponds to second order system
𝐴 𝐴
2 2 = 𝑠 2 + 8𝑠 + 33.6
𝑠 + 2𝜁𝜔𝑛 𝑠 + 𝜔𝑛
Second Order Systems—Example