CAT-2 PPT control system
CAT-2 PPT control system
Control Systems
CAT-2
Module-4
Course Road Map : Our Journey of control system
Mechatronics
system Design Design
Optimization
• Design Process
• Challenges • Optimization
• V-model techniques
• Model based system • Case studies
Engineering • Constraints
General Model For A Dynamic System
nth Order ordinary linear differential equation with constant coefficient
d n y (t ) d n 1 y (t ) dy (t ) d m x(t ) d m 1 x(t ) dx(t )
an n
an 1 n 1
a1 a0 y (t ) bm m
bm 1 m 1
b1 b0 x(t )
dt dt dt dt dt dt
𝒚𝒕 (t): transient response is defined as the part of the time response that
goes to zero as time becomes very large.
𝒚𝒔𝒔 (t):The steady-state response is simply the part of the total response
that remains after the transient has died out. (final accuracy of the system)
1 t0
Impulse f (t ) 1
0 t0
1
Step f (t ) 1
s
1
Ramp f (t ) t
s2
Sine f (t ) sin(t ) s2
2
First order system step response
Parameters of a 1-order system
x(t ) b0t 0
b0
b0
X ( s)
s
X s b0
Y s
a1s a0 sa1s a0
The complex function F(s) must be decomposed into partial fractions
in order to use the tables of correspondences.
b0 1 b0 a1
Y s
a0 s a0 a1s a0
b0 1 b0 1
Y s
a0 s a0 a0
s
a1
b0 1 1 1 b0 1 1
Y s y t
a0 s a a0 s a
s 0 s 0
a1 a1
b0 a0t
y t 1 exp
a0 a1
a1
: time constant
a0
yt
= 𝐾: DC GAIN K
t
y t K 1 exp
Example 1 Consider a first-order system with the following
parameters.
Time constant 0.1s ; DC gain K 20
The problem is to determine the unit step response of a
system that has these parameters.
Solution.
Using the general form of the unit-step response of first –order systems
y (t ) K (1 e t / )
0.1s
If we keep
but change K,
what will happen?
Time constant 0.1s ;
DC gain K 20 16 10 4
DC gain K 20
Time constant 0.1s 0.2 s 0.3s 0.5s
Note: the time constant reflects the system inertia. The smaller is the
system inertia, the shorter is and the quicker is the response, vice versa.
Two important properties of the unit-step response of a
first-order system:
a) The time constant can be used to calculate the
system output
experiment methods
t , y ( ) 0.632 y () 63.3% final value; -- estimate the
time constant
t 2 , y (2 ) 0.865 y () 86.5% final value;
--judge whether a
t 3 , y (3 ) 0.950 y () 95.0% final value; system is first-
order or not
t 4 , y (4 ) 0.982 y ( ) 98.2% final value;
• After three time constants the response has reached 95% of the step
change and after five time constants 99% of the step change.
• Hence the first order system can be said to respond to the full step
change after approximately five time constants.
Unit-step response of a first-order system
y (t )
y ( )
y(t ) K (1 et / )
0.632 y ()
1
slope
0 t
Impulse Response of 1-Order System
Impulse Response of 1-Order System
• The impulse response is the response to a unit impulse
input . (t )
a very intense force
u (t ) for a very short time
(t )
L[ (t )] 1
0 00
t
• The unit impulse has a Laplace transform of unity (1).
• That gives the unit impulse a unique stature.
For a first-order systems satisfy this generic
differential equation
dy (t ) - time constant
y (t ) Ku (t )
dt K - DC gain
For a unit impulse input (t ) and assuming zero initial
conditions, could you calculate its output?
K t
y (t ) e
The impulse response is the inverse transform of the
transfer function of the above system:
K
G ( s)
s 1
Now, we need to examine what the impulse response
looks like…
Example 1
Consider a first-order system with the following parameters.
at t 0, y (0) 20
So we can get
K
20 (2) With (2) and (3), we have
y (2) 20e 2/ 8
How to get K ?
Pick up a point on the response curve: e 2/ 0.4
Solving the equation yields:
K
y (t ) et
K
G ( s)
s 1
Unit-step
response:
y (t ) K (1 e t / )
Second-Order System
The dynamic behavior of the second-order system can then be described in
terms of two parameters: the damping ratio and the natural frequency.
Second-Order System1
• Parameters of First-order system determine the speed of the system.
• Parameters of Second-order system determine the form (shape) of the system.
System poles
𝑎 𝑎 − 4𝑏
Consider the general system, = − ∓ 𝑠 General case of second order system
,
2 2
• For un-damped(without damping) system, 𝑎 = 0, and the poles are on 𝑗𝜔 − 𝑎𝑥𝑖𝑠 at ∓𝑗 𝑏,
Natural Frequency
Hence 𝑏 = 𝝎𝒏 un-damped system
• For an under-damped system, poles have real part 𝜎 = − ⁄ (exponential decay ),
Exponential decay frequency
D𝐚𝐦𝐩𝐢𝐧𝐠 𝐑𝐚𝐭𝐢𝐨 exponential decay
𝛏=
𝑛𝑎𝑡𝑢𝑟𝑎𝑙 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦
Natural frequency
Poles
𝑏 = 𝝎𝒏
𝑎 =2ξ𝜔
Canonical form
62
(two finite poles and no zeros)
Definitions of transient-response specifications
• Delay time, Td
• Rise time, Tr
• Peak time, Tp
• Percent overshoot (%OS) or Maximum overshoot (Mp)
• Settling time, Ts
Definitions of transient-response specifications
1. Delay time (t ) d
The delay time is the time required for the response to reach half the final value the very first time.
2. Rise time (t )
r
The rise time is the time required for the response to rise from 10% to 90%, 5% to 95%, or 0% to 100% of its final value.
For underdamped second-order systems, the 0% to 100% rise time is normally used.
For overdamped systems, the 10% to 90% rise time is commonly used.
3. Peak time (t ) p
The peak time is the time required for the response to reach the first peak of the overshoot.
The maximum overshoot is the maximum peak value of the response curve measured from unity.
If the final steady-state value of the response differs from unity, then it is common to use the maximum percent overshoot.
It is defined by
5. Settling time (t ) s
The settling time is the time required for the response curve to reach and stay within a range about the
final value of size specified by absolute percentage of the final value (usually 2% or 5%).
•Overdamped systems - Transients in this
type of system exponentially decay to steady
state without any oscillations.
𝛏>1
Under-damped responses
Two complex poles
Two at −𝜎 ∓ 𝑗𝑤 0<𝛏<1
Un-damped responses
Two imaginary
Twopoles at ∓𝑗𝑤 𝛏=0
73
Case1: Overdamped system:
( ) Two real poles
Second-Order System2
The sign of the discriminant of the denominator polynomial depends on the damping ratio 𝛏, three cases.
𝑎 𝑎 − 4𝑏 𝑎 =2ξ𝜔
System poles
𝑠 , =− ∓
2 2 𝑏 = 𝝎𝒏
Case1: Overdamped system: (𝛏 > 𝟏) Two real poles
𝑎 = 9 𝑎𝑛𝑑 𝑏 = 9 the general case
(two finite poles and no zeros)
1 0.171 1.171
𝐶 𝑠 = + −
𝑠 𝑠 + 7.854 𝑠 + 1.146
𝑐 𝑡 = 1 + 0.171𝑒 . − 01.171𝑒 .
Overdamped system
Second-order
step response
components
Where, generated by
complex poles
𝑎 = 6 𝑎𝑛𝑑 𝑏 = 9
𝑎 = 0 𝑎𝑛𝑑 𝑏 = 9 two system poles on
the imaginary axis 𝑠𝑦𝑠𝑡𝑒𝑚 𝑝𝑜𝑙𝑒𝑠
𝑖𝑛𝑝𝑢𝑡 𝑝𝑜𝑙𝑒
Note that we can only use the Final Value Theorem if a system is stable, or at least has
all its poles at the origin (and the left half plane).
The error transfer function will describe how the system
error responds to that input, and we can use the Final
Value Theorem to see how the error will respond in the
long-term. This is shown in Equation 2 below.
Evaluating Steady-State Errors2
89
CEN455: Dr. Nassim Ammour
Evaluating Steady-State Errors example1
Problem: Find steady-state errors for inputs 5u(t), 5tu(t), and 5t2u(t) to the above system.
Solution: Let, the system is stable.
5 5 5
5u (t ) : e()
1 lim G ( s ) 1 20 21
s 0
5 5
5tu (t ) : e()
lim sG ( s ) 0
s 0
10 10
5t 2u (t ) : e( ) 2
lim s G ( s) 0
s 0
One integration, s1
5 5 1
5tu (t ) : e() No integration will make it infinity.
lim sG ( s ) 100 20 one integration makes it constant.
s 0
K p lim G ( s )
s 0
500 2 5 6
K v lim sG ( s ) 31.25
s 0 8 10 12
Position constant, Kp:
K a lim s 2G ( s ) 0
s 0
K p lim G ( s)
s 0
1
For step input, e() 0
1 K p
Velocity constant, Kv:
1 1
For ramp input, e() 0.032
K v lim sG ( s ) K v 31.25
s 0
1
Acceleration constant, Ka: For parabolic input, e()
Ka
K a lim s 2G ( s )
s 0
CEN455: Dr. Nassim Ammour 92
System Type
Relationships between input, system type, static error constants, and steady-state errors