CAT 2 Revision
CAT 2 Revision
Control Systems
CAT-2 Revisit
Module-4
Module-3
• Electrical
• Electro Mechanical
• Pneumatic
• Thermal
• Chemical
System Input-Disturbance-Control
Control : Reference-Disturbance
• Many control systems can be characterised by these components
Disturbance
Plant
Control
Reference Error Signal Output
r(t) e(t) u(t) y(t)
Control Actuator Process
+
-
Feedback
Sensor
Sensor Noise
Spring-Mass-Damper
• The Mass-Spring-Damper model is one of the most common models used
by engineers to model kinematic systems. From human tissue to bridges,
this straightforward model features three mechanisms and can be
summarized as the following second-order differential equation:
• Here x represents the displacement of the object with mass m away from
its resting position. The mass is subject to some spring force characterized
by spring constant k and a damping force that resists change in motion
with damping coefficient c
Rotational Systems
Rotational Systems
Motors- DC-AC
Electric motor
• The commonly used parts used in electric motors are Central
motor shaft, Windings, Bearings (to reduce friction and wear),
Armature (located on the rotor, the rotating part, or the stator,
the stationary part), Brushes (in DC motors), Terminals, Frame
and end shields.
Electrical System: Motors- DC-AC
DC Motor
• These motors are based on a piece of wire bent into a
rectangular loop. This loop is suspended between the poles of a
magnet.
• This temporary field repels the original field from the permanent
magnet, causing the wire to flip over.
Insights on DC motor operation
Interaction of magnetic and electric fields.
Back EMF
Magnetic Field-Direction
Direction of magnetic field
Attraction and Repulsion (Opp / Same poles)
• The brushes reverse the
polarity of the windings in a
motor. Reversing the polarity in
the windings changes the poles
of the electromagnet that the
winds create.
• The constant movement of the
magnetic field pushes the
motor around as the magnet
fields get pushed and pulled
towards permanents on the
outside of the motor.
Split Ring Commutator
• The change in direction of current is facilitated by the split ring
commutator.
• The brushes remain stationary, but they are in contact with the
armature at the commutator, which rotates with the armature such that
at every 180° of rotation, the current in the armature is reversed. They
carry current to the armature (the rotating part).
• The brushes work with the commutator to switch the current to the
proper winding of the armature as it rotates. This creates the correct
magnet fields to make the motor run. Essentially, a brush is one
contact of a switch; the commutator is the other.
Multiple Coils
• The lever arm for the torque
produced on the armature varies
with the angle of the coil (cos α).
Therefore, when the coil is
perpendicular (vertical) to the
magnetic field of the stator, no
torque is produced.
• Ia = 100 A
V = 460 V
Ra = 0.2 Ω
P = 6
A = P= 6 (Lap winding)
Z = 864
Φ = 0.05 Wb
Ta = ?
Physical System Model of DC motor
DC motor model
• This motor is excited by the magnetic field produced by an
external electromagnet or a permanent magnet. This means
that the flux linkage remains constant here.
𝒚𝒕 (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)
Laplace transform projects signals onto exponentially growing or decaying complex sinusoids
Sinusoid : Cyclic / Oscillatory Behavior
Exponential : Decay / Growth (Damping)
Here z indicates a zero, and p a pole, and the factor k is scales the overall amplification. When s
equals any z, the complex transfer function equals zero, and when s equals any pole the expression
goes to infinity.
Poles and Zeros in ‘S’ Plane
Pole-Zero diagram in MATLAB
• Creating a pole-zero diagram in MATLAB is a straightforward process
that involves using the `pzmap` function for continuous-time systems
or the `zplane` function for discrete-time systems.
• These functions plot the poles and zeros of a system on the complex
plane, which is essential for analyzing the stability and response
characteristics of the system.
matlab
• Electrical
• Electro Mechanical
• Pneumatic
• Thermal
• Chemical
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
dy
First order a1 a0 y x(t )
dt
d2y dy
Second order a2 2 a1 a0 y x(t )
dt dt
nth order
dny d n 1 y d2y dy
an n an 1 n 1 ...........a2 2 a1 a0 y x(t )
dt dt dt dt
Zero order systems
• Zero order systems are governed by equations that contain no derivatives, that is,
their output is equal to a constant times the input. Another way of looking at it is
that, for a constant input, the output is independent of time.
• Electrical circuits containing only resistors are zero order. Mechanical systems
such as a collection of levers are completely analogous to the resistance circuits
and are also zero order because they simply amplify a force.
ao x f (t ) f(t) x(t)
1
x f (t ) Kf (t )
ao
x(t)/l2 = f(t)/l1
K is the static sensitivity or steady gain of K = l2/l1
the system. It is a measure of the
amount of change in the output in
response to the change in the input.
Mechanical Zero-Order Systems
In a zero-order system, the l1 l2
output responds to the
input signal
instantaneously.
If an input signal of
magnitude f(t) = A were f(t) x(t)
applied, the instrument
would indicate KA. The x(t)/l2 = f(t)/l1
scale of the measuring
device would normally be K = l2/l1
calibrated to indicate A
directly. ao x f (t )
1
x f (t ) Kf (t )
ao
A Unity Gain Zero-Order system
l
xi xo
xo(t) = xi(t)
K=1
Electrical Zero-Order Systems
In a zero-order system, the vi
output responds to the
input signal
R1 R2
instantaneously.
Vo
vi
vo iR1 R1
R1 R2
R1
vo vi
R1 R2
Zero-order Systems
All the a’s and b’s other than a0 and b0 are zero.
x
x
m
V Vr here, K Vr / xm
Vr + xm
Where 0 x xm and Vr is a reference voltage
y=
x=0 V-
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
156
(two finite poles and no zeros)
Over-damped responses Second-Order System
Two real poles
Twoat −𝜎 , −𝜎
𝛏>1
Under-damped responses
Two complex poles
Two at −𝜎 ∓ 𝑗𝑤 0<𝛏<1
Un-damped responses
Two imaginary
Twopoles at ∓𝑗𝑤 𝛏=0
157
Definitions of transient-response specifications
Definitions of transient-response specifications
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
168
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 𝑠𝑦𝑠𝑡𝑒𝑚 𝑝𝑜𝑙𝑒𝑠
𝑖𝑛𝑝𝑢𝑡 𝑝𝑜𝑙𝑒
𝛏>1
Under-damped responses
Two complex poles
Two at −𝜎 ∓ 𝑗𝑤 0<𝛏<1
Un-damped responses
Two imaginary
Twopoles at ∓𝑗𝑤 𝛏=0
Example
For the system find the value of 𝛏 and report the kind of
response expected.
𝜔 12
We have 𝐺 𝑠 = =
𝑠 + 2𝛏𝜔 𝑠 + 𝜔 𝑠 + 8𝑠 + 12
𝜔 = 12 𝜔 = 12
and 2𝛏𝜔 = 8 8 2
𝛏= = >1
2 12 3
System is over-damped.
CEN455: Dr. Nassim Ammour Second-order response as a function of damping ratio 176
Underdamped Second-Order Systems
• The nature of the response obtained is related to the value of the damping ratio 𝛏 (over-damped, critically damped,
underdamped, and un-damped responses.).
1 𝜔
𝐶 𝑠 = 𝑅 𝑠 𝐺 𝑠 =
𝑠 𝑠 + 2𝛏𝜔 𝑠 + 𝜔
Where,
CEN455: Dr. Nassim Ammour Second-order underdamped responses for damping ratio values 177
Underdamped Second-Order Systems
Specifications
• Other parameters associated with the underdamped response are rise time, peak time, percent overshoot, and settling time.
Solution:
Damping ration,
Peak time,
𝛏
Percent overshoot, %𝑂𝑆 = 𝑒 𝛏 × 100 = 26%
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
195
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 198
System Type
Relationships between input, system type, static error constants, and steady-state errors
Plant
Control
Reference Error Signal Output
r(t) e(t) u(t) y(t)
Control Actuator Process
+
-
Feedback
Sensor
Sensor Noise
Poles and Zeros
Basic concepts
of root locus
Pole Zero Plot
Closed Loop Transfer function
Root Locus: Break-away-in-Point
• Location: The breakaway point is the
location in the s-plane where two or
more closed-loop poles coincide.
• Stability: At the breakaway point, the
system is marginally stable.
• Gain: At the breakaway point, the gain K
is either maximum or minimum.
• Calculation: The breakaway point is
determined by solving the characteristic
equation for the open-loop system and
finding the values of K where the
equation has a double root.
Condition of Root Locus
q = 0, 1 and 2.
Asymptodes
• now using the
method to
determine the
breakaway point
we will check the
validity of the
breakaway point
In this method, roots
obtained on
differentiating K with
respect to s and
equating it to 0, will be
the breakaway point.
Mechatronics
system Design Design
Optimization
• Design Process
• Challenges • Optimization
• V-model techniques
• Model based system • Case studies
Engineering • Constraints
Thank you