Professional Documents
Culture Documents
Control
Control
• 𝜔n - natural frequency
• 𝜉 – damping constant
Determine order and type of G(s) then find steady state error for
system with
1
E(s)=R(s)-H(s)C(s) a. G(s)= , H(s)=1
s+2
C(s)=E(s)G(s)
1
b. G(s)= , H(s)=1
E(s)=R(s)-E(s)G(s)H(s) s(s+2)
• E(s)(1+G(s)H(s))=R(s)
1
c. G(s)= , H(s)=1
𝑠 2 (s+2)
R(s)
• E(s)=
1+G(s)H(s)
• For step, ramp and parabolic input
Relationship between input, system type, static
error constants and steady state errors
Stability of control system
• Stability and transient response of a system affected by location of closed loop
poles in s-plane.
• Routh-Hurwitz: tells us number of poles on the right half s-plane.
• Root-Locus: shows graphically the movement of poles on s-plane for different
parameter k.
• As the parameter changes
• If the pole goes to the right the system is becoming unstable.
• If the pole goes to the left the system is becoming more stable.
Routh-Hurwitz stability criterion
?• How can I know a pole lie on
RHP
Routh-Hurwitz stability criterion cont.…
s4 a4 a2 a0 • The necessary and sufficient condition the
s3 a3 a1 0 system to be stable is there SHOULD
NOT BE any sign change in the first
s2 b1 b2 0
column.
s1 c1 0 0
• If there is any sign change
s0 d1 0 0 • The system is unstable.
• The number of sign change shows the
number of poles in the RHP.
• If there is zero
• The system is marginally stable.
Routh-Hurwitz stability criterion cont.…
C(s) 10
3. = 5
R(s) s +3s4+3s3 +6s2+5s+3
C(s) 10
4. = 5
R(s) s +2s +3s +6s2+5s+3
4 3
Special cases of Routh-Hurwitz
1. Zero in the first column of row
• Check stability of the system
a. Substitute with small number ε: check for sign change for
positive and negative ε. C(s) 10
a. =
R(s) s5+2s4+3s3 +6s2+5s+3
b. Reverse coefficients: reverse coefficients of the polynomial.
• NB: In these cases the system never become stable but it can be marginally stable.
Design using Routh-Hurwitz
• Finding the range of ‘gain’ in which the given system
can be stable.
𝑘
a. G(s)= and H(s)=0.2
s(1+0.5s)(1+0.5s)
𝑘
b. G(s)= and H(s)=0.3
s(1+0.6s)(1+0.4s)
i. To be stable
ii. To be marginally stable, how much is its’ frequency of
sustained oscillation
Experimental determination of transfer function
• Approximated to 1st or 2nd order system 1st order system:
𝑘
• G(s)=
• Some parameters need to be collected s+a
• Whose step response is
using sensors.
𝑘 𝑘/𝑎 𝑘/𝑎
• C(s)= = -
s(s+a) s s+a
• The collected data plotted with time to
𝑘
• C(t)= (1-𝑒 −𝑎𝑡 )
a
determine the transfer function.
𝑘
• C(ꝏ)=
a
• If we get the time constant from
experiment we can easily determine the
transfer function.
Experimental deter… cont.…
• The in flow amount controlled by a servo motor based on the set point. The
• The deviation of the water level from set point (desired level) is error signal
• The controller turns the servo to open and close the tap based on the error
amount.
• The angle movement is from 0⁰(fully closed), 45⁰(half open) 90⁰ (fully open).
• u=Kp x e
• u=Ki ⅇ 𝑡 ⅆ𝑡
Ki
• U(s)= E(s)
s
ⅆⅇ
• u=Kd
ⅆ𝑡
• U(s)=sKd x E(s)
• u = Kp ∗ ⅇ(t) + Ki ⅇ 𝑡 ⅆ𝑡
ⅆⅇ(t)
• u(t)=𝐾𝑝 ∗ 𝑒 𝑡 + 𝑘𝑑
ⅆ𝑡
• Proportional
Eo R2
=−
Ei R1
• Integral
Eo 1
=−
Ei sR1C2
• Derivative
Eo R2
=− (sCR1+1)
Ei R1
PID
Eo R4 (1+sC1R1)(1+sC2R2)
• = −
Ei R3 sR1C2
ⅆ𝑒(𝑡)
• u t = Kp ∗ ⅇ t + Ki ⅇ(t) ⅆ𝑡 + 𝐾𝑑
ⅆ𝑡
T
Ki
0
Kd
0
L
shaped response for step input. PI
0.9
T T 0.3
0.9 ∗
0
L L L
PID T T 1 0.6𝑇
1.2 1.2 ∗
L L 2L
Tuning PID controller Ziegler-Nichols rule Method 2