Control System All Module
Control System All Module
Systems
2
Expected Course Outcome:
3
Course Structure:
Module:1 Introduction
Module 2: Model Representations
Module 3: Modelling of Physical Systems
Module 4: Time Response Analysis
Module 5: Stability Analysis
Module 6: Frequency Response Analysis
Module 7: Introduction to State Space Analysis
Text Book(s)
1. Nagrath I.J, and Gopal M, Control Systems Engineering, 2017, 6th
edition, New Age International Publishers.
2. Ogata K, Modern Control Engineering, 2015, 5th Edition, Prentice Hall
of India Pvt. Ltd.
INTRODUCTION TO CONTROL SYSTEMS
5
A control system consisting of interconnected components designed to
achieve a desired purpose.
To understand the purpose of a control system, it is useful to examine
examples of control systems through the course of history. These early
systems incorporated many of the same ideas of feedback that are in use
today.
Modern control engineering practice includes the use of control design
strategies for improving manufacturing processes, the efficiency of energy
use, advanced automobile control, including rapid transit, among others.
Design gap exists between the complex physical system under investigation
and the model used in the control system synthesis. The iterative nature of
design allows us to handle the design gap effectively while accomplishing
necessary tradeoffs in complexity, performance, and cost in order to meet the
6
HISTORY
18th Century James Watt’s centrifugal governor for the speed control of a steam
engine.
1920s Minorsky worked on automatic controllers for steering ships.
1930s Nyquist developed a method for analyzing the stability of controlled
systems
1940s Frequency response methods made it possible to design linear closed-loop
control systems
1950s Root-locus method due to Evans was fully developed
1960s State space methods, optimal control, adaptive control
1980s Learning controls are begun to investigated and developed.
Present and on-going research fields. Recent application of modern control
theory includes non-engineering systems such as biological, biomedical,
economic and socio-economic systems
7
HISTORY
Greece (BC) – Float regulator mechanism
Holland (16th Century)– Temperature regulator
9
Important Definitions:
Controlled Variable and Manipulated Variable
The controlled variable is the quantity or condition that is measured
and controlled.
The manipulated variable is the quantity or condition that is varied by
the controller so as to affect the value of the controlled variable.
10
Important Definitions:
Actuator
An actuator in a control system is a mechanical or electromechanical
device that converts energy into controlled motion or force in response to
input control signals or environmental conditions. Actuators can be used
to open or close, push or pull, or lift or drop something. They are often
used in systems that require precise control and movement, such as
manufacturing plants, warehouses, and cars.
11
Important Definitions:
Disturbances
A disturbance is a signal that tends to adversely affect the value of the
output of a system. If a disturbance is generated within the system, it is
called internal, while an external disturbance is generated outside the
system and is an input.
Feedback Control
Feedback control refers to an operation that, in the presence of
disturbances, tends to reduce the difference between the output of a system
and some reference input and that does so on the basis of this difference.
12
CLASSIFICATION OF CONTROL SYSTEMS
Open-Loop Control Systems utilize a controller or control actuator to obtain
the desired response.
Closed-Loop Control Systems utilizes feedback to compare the actual output
to the desired output response.
13
Open-Loop Control Systems:
• Any physical system which does not automatically correct the variation
in its output;
• The output quantity has no effect upon the input quantity; The output
is not fedback to the input for correction;
• In open loop system, the output can be varied by varying the input. But,
due to external disturbances, the system output may change. When the
output changes due to disturbances, it is not followed by changes in input
to correct the output.
14
Closed-Loop Control Systems:
• Control systems in which the output has an effect upon the input
quantity in order to maintain the desired output value
• The open loop system can be modified as closed loop system by
providing a feedback. The provision of feedback automatically corrects
the changes in output due to disturbances – Automatic Control Systems
15
Type of System Advantages Disadvantages Examples
Open Loop • Simple construction and ease • The system response • Toaster
Control of maintenance. is very sensitive to • Rice cooker
Systems • Less expensive than a external disturbance • Electric fan
corresponding closed-loop and internal • Photocopy
control system variations in system machine
• There is no stability problem parameters.
• Convenient when output is • Recalibration is
necessary from time
hard to measure or
to time in order to
measuring the output
maintain the
precisely is economically not required quality in
feasible the output
Closed Loop • Insensitive to external • Risk of instability • Positioning CS
Control disturbance and internal • Complexity in (robot arms)
Systems variations in system analysis and • Velocity CS
parameters. implementation and (vehicles
• Possible to use relatively expensive cruise
inaccurate and inexpensive system)
components to obtain the • Temperature CS
accurate control of a given (Air-
plant. conditioner)
• Better control of transient &
steady-state response
• Increased accuracy
16
• Increased ability to reproduce
Examples of Control Systems
17
Examples of Control Systems
18
Examples of Control Systems
19
Requirement of Good Control System
20
Sensitivity:
The rate of change of a control system with the change in its surroundings
is called Sensitivity. A good control system should be sensitive to its input
Stability:
Stability of a system can be explained as, if the input of the system is zero or
null then its output should also be zero value. If the input changes, the output
also changed as per the system function. Then the system is considered as
21
stable.
Noise:
The undesired signal input that is occurred or added to input signal by
external resources is known as Noise. A good control system should have the
high noise tolerance value. It should be able to reduce the noise level. If the
noise occurrence increases, the system performance will decrease.
Bandwidth:
Bandwidth is defined as the range of frequencies of a system. Band width is
decided by the operating frequencies. The system having high band width is
considered as a good control system.
Oscillation:
Oscillation means the fluctuations of output of system. These oscillations will
effect the stability. The increase in the number of fluctuations of a system will
decrease the stability of the system.
22
Speed:
In a control system, the time taken by the output to be stable is known as
Speed. High speed systems are considered as good control systems. The time
taken by the output to reach its stable state is known as Transient state.
Gain:
Gain is a measure of how much a control system amplifies or attenuates the
input signal to produce the output signal. It is an important parameter for
analyzing the performance, stability, and robustness of a control system.
Gain is a proportional value that shows the relationship between the
magnitude of the input to the magnitude of the output signal at steady state.
23
Elements of Feedback Control
Plant (Process) -- The plant is the system (process) whose output is to be
controlled, e.g., a DC motor with the rotor speed as output.
24
managed by a DSP (Digital signal processor).
The objective of the control system is to control the output Y by using the
input U, such that the output Y follows a set of reference inputs R.
25
Effects of Feedback
Feedback in a control system can improve performance by measuring the
system's output and using it to adjust the input. This allows the system to
correct errors, compensate for disturbances, and maintain stability.
Feedback can also help systems achieve their goals by increasing
accuracy, reliability, and performance. The type and amount of feedback
can have different effects on a control system:
Positive feedback
Amplifies the output signal, which can make the system more responsive
and reduce rise time. However, too much positive feedback can cause
instability and oscillations.
26
A positive feedback system is the one in which the feedback signal is in
phase with the reference input signal. Thus, the two get added and
combinedly the generated response acts as input for further system
operation.
As the two signals get added to give the resultant response in case of a
positive feedback system, thus this increases the overall gain of the
system.
As the magnitude of the input signal gets increases in case of positive
feedback, thereby leading to generate oscillatory response in the system.
27
Negative feedback
Uses a fraction of the opposite output signal as an input to stabilize
the control system. Negative feedback can reduce the overall gain of the
system, as well as distortion noise, sensitivity to external change, and
improve system bandwidth and input and output impedance
The system in which the feedback signal is out of phase with the
reference input is known as a negative feedback system. Due to out of phase
relationship, the two signals are subtracted in order to produce the
difference signal.
28
The introduction of negative feedback gives rise to a reduction in the
overall gain.
As the difference in the two values specifies the error value which is
needed to be compensated in order to have the desired value, it is always
recommended that the system will have a low value of error signal.
As such systems provide better stability and circuit response with an
increase in operating bandwidth, most of the control systems utilize
negative feedback so as to have a reduction in the overall gain.
29
BMEE330L : Control Systems
Module 3
Mathematical Models of Control Systems
Types of Mechanical Control Systems
Translational Mechanical systems
30
be the functions of independent variables).
Mathematical Models of Control Systems
31
The Transfer function of a Linear Time Invariant (LTI) system is defined as
the ratio of Laplace transform of output and Laplace transform of input by
assuming all the initial conditions are zero.
If x(t) and y(t) are the input and output of an LTI system, then the
corresponding Laplace transforms are X(s) and Y(s).
32
Types of Mechanical Control Systems
Two types of mechanical systems based on the type of motion:
Translational mechanical systems
Translational mechanical systems move along a straight line. These
systems mainly consist of three basic elements. Those are mass, spring
and dashpot or damper.
33
Translational System
Rotational System
34
TRANSLATIONAL MECHANICALSYSTEMS
These systems mainly consist of three basic elements. Mass, spring and
dashpot or damper.
Translational Spring
Translational Mass
Translational Damper
A translational spring is a mechanical element that can be deformed by an
external force such that the deformation is directly proportional to the force
applied to it.
Spring is an element, which stores potential energy.
x =>
=>
Where,
F is the applied force
Fk is the opposing force due to elasticity of spring
K is spring constant
x is displacement
36
Translational Mass is an inertia element
37
When dashpot has displacement at both ends,
the opposing force is directly proportional to
differential velocity.
38
BMEE330L : Control Systems
Module 2
39
Problem # 1: Find the transfer function of the mechanical
translational system given in Figure.
40
Problem # 2: Write the governing equation of motion and determine
the transfer function.
41
Problem # 3: Determine the transfer function Y2(s)/F(s).
42
Problem # 4: Determine the transfer function X1(s)/F(s). X2(s)/F(s).
43
Problem # 5: Write the governing equation of motion of the
mechanical rotational system and determine the transfer function.
44
Transfer Function & Stability
In general
Where x is the input of the system and y is the output of the system.
45
Transfer function helps us to check
The stability of the system
Time domain and frequency domain characteristics of the system
Response of the system for any given input
These are the values at which the value of the transfer function goes to
infinity , like a magnetic pole or black hole.
46
The roots of numerator polynomials of a transfer function are called
‘zeros’. “Zeros” of a transfer function are the frequencies (values of s)
for which the numerator of the transfer function becomes “zero”.
Poles of the system are represented by cross mark ‘x’ and zeros of the
system are represented by circle ‘o’.
System order is always equal to number of poles of the transfer
function.
47
From the differential equation the transfer function is
The system therefore has a single real zero at s = 1/2, and a pair of real
poles at s = 3 and s = 2.
The poles and zeros are properties of the transfer function, and therefore of
the differential equation describing the input-output system dynamics.
Together with the gain constant K they completely characterize the
differential equation and provide a complete description of the system.
48
The Pole-Zero Plot
In general, the poles and zeros of a transfer function may be complex, and
the system dynamics may be represented graphically by plotting their
locations on the complex s-plane, whose axes represent the real and
imaginary parts of the complex variable s. Such plots are known as pole-
zero plots.
It is usual to mark a zero location by a circle ( ) and a pole location a cross
(×). The location of the poles and zeros provide qualitative insights into the
response characteristics of a system.
49
The pole-zero plot for a typical third-order system with one real pole
and a complex conjugate pole pair, and a single real zero.
50
If all the poles of the system lie in left half plane the system is said to be
Stable. If any of the poles lie in right half plane the system is said to be
unstable. If pole(s) lie on imaginary axis the system is said to be
51
marginally stable.
For example,
Y (s) 1 Y (s) 1
G1 (s) G2 (s)
U (s) s 3 U (s) s 3
Pole-Zero Map
4 Pole-Zero Map
4
3 unstable
3
2
2
1
Imaginary Axis
Imaginary Axis
0 stable 0
-1
-1
-2
-2
-3
-3
-4
-4 -2 0 2 4 -4
-4 -2 0 2 4
Real Axis
Real Axis
Y (s) 1 Y (s) 1
G1 (s) G2 (s)
U (s) s 3 U (s) s 3
1 1 Y (s) 1 1 1 1 Y (s) 1 1
G1 (s) G2 (s)
U (s) s 3 U (s) s 3
y(t) e 3tu(t) y(t) e3tu(t)
exp(-3t)*u(t) 12
x 10 exp(3t)*u(t)
1
12
0.8 10
8
0.6
6
0.4
4
0.2 2
0 0
0 1 2 3 4 0 2 4 6 8 10
Problem # 6: Consider the following transfer functions.
Determine
• Whether the transfer function is proper or improper
• Poles of the system
• zeros of the system
• Order of the system
• Draw the pole-zero map
• Determine the Stability of the system
s 3 s
i) G(s) ii) G(s)
s(s 2) (s 1)(s 2)(s 3)
(s 3)2 s 2 (s 1)
iii) G(s) iv) G(s)
2 s(s 10)
54
s(s 10)
Block Diagram Algebra –
Reduction of Multiple Systems
We often represent control systems using block diagrams. A block diagram
consists of blocks that represent transfer functions of the different variables
of interest.
If a block diagram has many blocks, not all of which are in cascade, then it
is useful to have rules for rearranging the diagram such that you end up
with only one block.
A block diagram of a system is a pictorial representation of the functions
performed by each component and on the flow of signals.
56
COMPONENTS OF A BLOCK DIAGRAM FOR A LINEAR,
TIME-INVARIANT SYSTEM
a. Cascaded subsystems;
b. equivalent transfer function
a. Parallel subsystems;
b. Simplified model
Equivalent forms for moving a block ; a. To the left past a pickoff point;
b. To the right past a pickoff point
BLOCK DIAGRAM REDUCTION RULES
64
Solution:
a. Collapse summing
junctions;
b. Form equivalent cascaded
system in the forward path
c. Form equivalent parallel
system in the feedback path;
d. Form equivalent feedback
system and multiply by
cascadedg1(s)
Problem # 8:Reduce the block diagram shown in figure to a single
transfer function
Solution:
66
Problem # 9:Reduce the block diagram shown in figure to a single
transfer function
Solution:
67
Problem # 10 :Reduce the block diagram shown in figure to a single
transfer function
Solution:
68
Problem # 11 :Reduce the block diagram shown in figure to a single
transfer function
Solution:
69
Problem # 12 :Reduce the block diagram shown in figure to a single
transfer function
Solution:
70
Problem # 13 :Reduce the block diagram shown in figure to a single
transfer function
71
Problem # 14:Reduce the block diagram shown in figure to a single
transfer function
72
Signal Flow Graphs
Signal flow graph is a graphical representation of algebraic equations.
By taking Laplace Transform, the time domain differential equations
governing a control system can be transferred to a set of algebraic
equations in s-domain. The signal flow graph of the system can be
constructed using these equations.
This method was developed by [Link]. SFG is a graphical
representation of the relationship between the variables of a set of linear
algebraic equations.
73
Comparison of BD and SFG
74
Signal Flow Graph Representation
Basic elements are Nodes and Branches
Node is a point which represents either a variable or a signal.
Input Node (Source) Only outgoing branches.
Output Node (Sink) Only incoming branches.
Mixed Node Both incoming and outgoing branches.
Branch: Path from one node to another node, in the direction indicated by
the arrow.
Forward path gain: A product of all branches gain along the forward path
is called Forward path gain.
Loop Gain: Loop gain is the product of branch gain which travels in the
loop.
SIGNAL-FLOW GRAPH COMPONENTS
a. System;
b. Signal;
c. Interconnection of Systems and Signals
Building signal-flow graphs
Represent all the signals, variables, summing points and take-off points
of block diagram as nodes in signal flow graph.
Represent the blocks of block diagram as branches in signal flow
graph.
Represent the transfer functions inside the blocks of block diagram as
gains of the branches in signal flow graph.
80
Solution:
Signal-flow graph
development:
a. signal nodes;
b. signal-flow graph;
c. simplified signal-flow
graph
Problem # 16: Convert the block diagram to signal flow graph.
Solution:
MASON’S GAIN FORMULA
The relation between input variable and output variable of a signal flow
graph is given by Mason's Gain Formula.
The overall system Gain (Transfer Function) is given by
n
Tk k Pi
G (s ) C (s ) k C(s) i 1
i
(OR)
R (s ) R(s)
Where,
TK / PK = forward path gain of the Kth forward path.
= 1 - [Sum of the loop gain of all individual loops] + [Sum of gain
products of all possible of two non-touching loops] - [Sum of gain products
of all possible three non-touching loops]+ .......
K = 1 – (loop gain which does not touch the Kth forward path)
Solution:
85
Forward path – One
P1 = G1(s)G2(s)G3(s)G4(s)G5(s)
1 1
=
Loop gains - 4
G2(s)H1(s), G4(s)H2(s), G7(s)H4(s),
G2(s)G3(s)G4(s)G5(s)G6(s)G7(s)G8(s)
Loop gain which does not touch the Kth forward path : G7(s)H4(s)
1 = 1 - G7(s)H4(s)
86
Sum of the loop gain of all individual loops:
G2(s)H1(s) + G4(s)H2(s) + G7(s)H4(s) +
G2(s)G3(s)G4(s)G5(s)G6(s)G7(s)G8(s)
Non-touching loops:
Sum of gain products of all possible of two non-touching loops
2 at a time
G2(s)H1(s)G4(s)H2(s) + G2(s)H1(s)G7(s)H4(s)
+ G4(s)H2(s)G7(s)H4(s)
Sum of gain products of all possible of three non-touching loops
3 at a time G2(s)H1(s)G4(s)H2(s)G7(s)H4(s)
87
Now = 1-[G2(s)H1(s)+G4(s)H2(s)+G7(s)H4(s)+
G2(s)G3(s)G4(s)G5(s)G6(s)G7(s)G8(s)] + [G2(s)H1(s)G4(s)H2(s) +
G2(s)H1(s)G7(s)H4(s) + G4(s)H2(s)G7(s)H4(s)] –
[G2(s)H1(s)G4(s)H2(s)G7(s)H4(s)]
Now,
1 1
=
= {G1(s)G2(s)G3(s)G4(s)G5(s) * (1 - G7(s)H4(s)) }/
88
Problem # 18: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph.
Solution:
n
Pi i
C(s) i 1
R(s)
89
C P1 1 P2 2
R
There are three feedback loops
1 L1 L2 L3
90
K = 1 – (loop gain which does not touch the Kth forward path)
1 =1
2 =1
91
Problem # 19: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph.
P1
P2
Solution:
1 L1 L2 L3 L4 L1L3 L1L4 L2 L3 L2 L4
1 G2 H 2 H 3 G3 G6 H 6 G7 H 7
G2 H 2G6 H 6 G2 H 2 G7 H 7 H 3 G3 G6 H 6 H 3 G3 G7 H 7
1 1 L3 L4
1 1 G6H 6 G7 H 7
Eliminate forward path-2
2 1 L1 L2
2 1 G2H 2 G3 H 3
Y (s) P1 1 P2 2
R(s)
96
4. Loops gains
97
Problem # 21: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph.
98
Problem # 22: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph.
P1 = G1G2G3G4G5 L1 = – G1H1
P2 = G1G2G6 L2 = – G4H2
3. Gain
= 1 – (L1+L2) + (L1L2)
= 1 – (- G1H1 – G4H2) + [(- G1H1) (- G4H2)]
99
= 1 + G1H1 + G4H2 + [(G1G4 H1H2)]
4. Gain of forward path non touching loops
1 =1 2 = 1 – (L2)
2 = 1 + G4H2
5. Overall Transfer Function
100
BMEE330L : Control Systems
Module 3
Mathematical Model of Electrical System
Electromechanical,
Thermal,
Hydraulic and Pneumatic systems.
where
103
Problem # 23: Obtain the transfer function for the electrical network as
shown in Figure
104
TRANSFER FUNCTION OF ARMATURE CONTROLLED
DC MOTOR
A DC machine is an electromechanical energy alteration device.
The working principle of a DC machine is - when electric current flows
through a coil within a magnetic field, and then the magnetic force
generates a torque that rotates the dc motor.
A DC motor is an electrical machine that converts electrical energy into
mechanical energy. In a DC motor, the input electrical energy is the direct
current which is transformed into the mechanical rotation.
The speed of DC motor is directly proportional to armature voltage and
inversely proportional to flux in the field winding.
105
varying the armature voltage.
The electric system consists of the armature and the field circuit; but
analysis purpose, only the armature circuit is considered as the field is
excited by constant voltage.
106
Torque of DC motor is proportional to the product of flux and current.
As the flux is constant in this system, the torque is proportional to the
armature current alone;
107
B –Frictional Coefficient of motor, N-m / (rad/s)
The back emf of DC machine is proportional to speed (angular velocity)
of shaft :
108
109
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
Mathematical Model of Electro-mechanical System
System Modelling: Thermal System
qi(t) RHL
Ta
RLa TL, CL
T H, C H
RHL
Mixer
A closed, insulated vessel filled with liquid and contains an electrical heater
immersed in liquid. Heating element is contained within metal jacket that has
a thermal resistance of RHL. Thermal resistance of vessel and its insulation is
RLa. Heater has a thermal capacitance of CH, and liquid has a thermal
capacitance of CL. Heater temperature is TH and that of liquid is TL (assumed
to be uniform due to the mixer). Rate at which energy is supplied to the
heating element is qi.
System Modelling: Thermal System
1 1
TˆH TˆL TˆH qi
C H R HL CH
1 ˆ
TˆL TH TˆL / R HL TˆL / R La
CL
Take Laplace of Eq. (1) and determine the equation for TH(s) .
Take Laplace of Eq. (2), determine the equation for TL(s) and
substitute the equation for TH(s) in it.
Input Output
Fluid system can be divided into two types: hydraulic and pneumatic.
Hydraulic resistance is the resistance to flow of liquid as the liquid flow
through valves or changes in pipe diameter takes place.
p1 p2 Rq
p1 - p2 is pressure difference
R is the hydraulic resistance
q is the volumetric rate of flow
Hydraulic capacitance is the term used to describe energy storage with a liquid where it is
stored in the form of potential energy. A height of liquid in a container is one form of such
a storage. For such capacitance, the rate of change of volume V in the container (dV / dt)
is equal to the difference between the volumetric rate at which liquid enters the container
q1 and the rate at which it leaves q2.
dV
q1 q2 ; V Ah
dt
dh
q1 q2 A
dt
A dp
q1 q2
pg dt
( p is liquid density; g is the acceleration due to gravity)
A dp
C ; q1 q2 C
pg dt
Hydraulic inertance is the equivalent of inductance in electrical systems or a spring in
mechanical systems. To accelerate a fluid and so increase its velocity a force is required.
F1=p1A
Mass m
F1 F2 p1 A p2 A ( p1 p2 ) A
F2=p2A
( p1 p2 ) A ma
dv dv dq
( p1 p2 ) A m ALp Lp
dt dt dt L
dq Lg
p1 p2 I ; I is the hydraulic inertance
dt A
L is the length of the block and g is the density
With pneumatic systems the three basic buildings blocks are as with hydraulic systems,
resistance, capacitance, and inertance. However, gasses differ from liquids in being
compressible.
dm p1 p2
Resistance
dt R
dm d ( p1 p2 )
Capacitance C
dt dt
dm 1
Inertance ( p1 p2 )dt
dt L
BMEE330L : Control Systems
110
The time response can be obtained by solving the differential equation
governing the system.
Alternatively, the response c(t) can be obtained from the tranfer function
of the system and the input of the system.
The time response of a control system consists of two parts: the transient
and the steady state response; The transient response is the response of the
system when the input changes from one state to another while the steady
111
state response is the response as time, t, approaches infinity.
For example, let us find the transient and steady state terms of the time
response of the control system
Here, the second term will be zero as t denotes infinity. So, this
is the transient term. And the first term 10 remains the same, even as t
112
approaches infinity. So, this is the steady state term.
TEST SIGNALS
The knowledge of input signal is required to predict the response of a
system. In most cases, the input signals are not known ahead and difficult
to express the input signals mathematically by simple equation;
Characteristics – sudden shock, sudden change, a constant velocity and
constant acceleration;
Commonly used test input signals are impulse, step, ramp, acceleration
and sinusoidal signals.
The standard test signals:
1. a) Step Signal; b) Unit Step Signal;
2. a) Ramp Signal; b) Unit Ramp Signal
3. a) Parabolic Signal; b) Unit Parabolic Signal
113
4. Impulse Signal 5. Sinusoidal Signal
Step Signal
The step signal is a signal whose value changes from zero to A at t =0
and remains constant at A for t >0; The step signal resembles an actual
steady input to a system.
A special case of step signal is unit step in which A is unity.
114
Ramp Signal
The ramp signal is a signal whose value increases linearly with time
from an initial value of zero at t = 0. The ramp signal resembles a constant
velocity input to the system.
A special case of ramp signal is unit ramp signal in which A is unity.
r(t)
At t 0
r(t)
0 t 0
r(t)
r(t)
115
Unit ramp signal
Parabolic signal
In parabolic signal, the instantaneous value varies square of the time from
an initial value of zero at t = 0. The parabolic signal imitate the constant
acceleration characteristic of actual input signal.
If A=1, the parabolic signal is called unit parabolic signal.
p(t)
At 2
t 0
p(t) 2
0 t 0
0 t
p(t)
p(t)
The impulse signal imitate the sudden shock characteristic of actual input
signal. If A=1, the impulse signal is called unit impulse signal.
(t)
A t 0
(t)
0 t 0 A
0 t
ORDER OF THE SYSTEM
The input and output relationship of a control system can be expressed by
n th order differential equation as:
The order of the system is given by the order of the differential equation
governing the system.
Alternatively, the order can be determined from the transfer function of
the system. The transfer function of the system can be obtained by taking
Laplace transform of the differential equation governing the system and
119
rearranging them as a ratio of two polynomials in s.
120
RESPONSE OF FIRST ORDER SYSTEM FOR UNIT STEP
INPUT
121
122
T is called Time constant of the system; In a time of 5T, the system is
123
assumed to have attained steady state.
124
PRACTICAL EXAMPLES - RESPONSE OF FIRST ORDER
SYSTEM
125
Taking Laplace transform,
Transfer Function:
The parameter ( / ) has the units of time and is called the time
constant of the system and is denoted by T;
The time constant is a measure to how fast be the system response.
126
The smaller is the time constant, the more responsive is the system.
Example # 2: Liquid Level System:
A tank of uniform cross sectional area A, the inlet flow is q and the outlet is
. The liquid level in the tank is h and the tank has a linear flow resistance at
the outlet (e.g. valve). (qo=hR); Determine the transfer function ( ) / ( )
and ( ) / ( ) (note: this system is called single input multi-output SIMO)
127
Example # 3: Liquid level with constant flow outlet
A tank of uniform cross sectional area A, the inlet flow is q and the outlet is
. The liquid level in the tank is h and the tank has a a constant flow pump ;
Determine the transfer function ( ) / ( );
128
Tanks having small cross-sectional area are more responsive.
Example # 4: Mechanical System
X o (s) 1
X i (s) b
s 1
k
129
SECOND ORDER SYSTEM
A general second-order system is characterized by the following transfer
function.
The damping ratio is defined as the ratio of the actual damping to the
critical damping. The response c(t) of second order system depends on
130
the value of damping ratio.
Depending on the value of damping ratio, the system can be classified into
four categories:
131
132
RESPONSE OF UNDAMPED SECOND ORDER SYSTEM
FOR UNIT STEP INPUT
A general second-order system is characterized by the following transfer
function.
133
By partial fraction expansion,
134
135
RESPONSE OF UNDER DAMPED SECOND ORDER
SYSTEM FOR UNIT STEP INPUT
A general second-order system is characterized by the following transfer
function.
For
136
137
138
139
RESPONSE OF CRITICALLY DAMPED SECOND
ORDER SYSTEM FOR UNIT STEP INPUT
A general second-order system is characterized by the following transfer
function.
140
141
142
RESPONSE OF OVER DAMPED SECOND ORDER
SYSTEM FOR UNIT STEP INPUT
143
144
145
146
TIME DOMAIN SPECIFICATIONS
147
damped oscillations before reaching steady state.
Unit Step Response of Second Order System
Percentage Overshoot (% O.S): It is the amount that the response
overshoots the steady state, or final, value at the peak time, expressed
as a percentage of the steady-state value.
2
1
Max % overshoot 100e
Rise Time (Tr): Time required for the step response to rise from 10%
to 90% of its final value.
0.8 2.5
Rise Time Tr for 0 1
n
Delay Time (Td): Time required for the step response to reach 50%
of final value
1 0.7
Delay Time Td for 0 1
n
Peak Time (TP): It is the time required for the response to reach the peak
value for the first time. At t=tp the first derivate of the response is zero.
Settling Time (Ts): It is defined as the time taken by the response to reach
and stay within a specified error. It is usually expressed as % of final value.
In general, the tolerance bands are 2% and 5%.
Steady State Error (ess): It is the difference between the output and
the reference input after the steady state has reached.
For quick response i.e. small rise time and smallest settling time, the control
system should be under damped. So, control systems are normally designed
with <1
Problem # 24: Obtain the response of unity feedback system whose
154
Problem # 25: A position control system with velocity feedback is shown
in Figure. What is the response of the system for unit step input. Obtain
the response of unity feedback system.
Solution:
155
Problem # 26: The response of a servomechanism is
, when subjected to a unit step input.
Obtain an expression for the closed loop transfer function.
Solution:
Problem # 27: The unity feedback system is characterized by an
open loop transfer function . Determine the gain K,
so that the system will have a damping ratio of 0.5 for this value
of K. Determine peak overshoot and time at peak overshoot for a
unit step input.
Solution:
Problem # 28: Consider the system shown in Fig 1. To improve the
performance of the system a feedback is added to this system, which
results in Fig 2. Determine the value of K, so that the damping ratio
of the new system is 0.4. Compare the overshoot, rise time, peak time
and settling time and the nominal value of the systems shown in Fig
1 and 2.
158
K = 0.128
159
STEADY STATE ERROR
The steady state error is the value of error signal e(t), when t tends ti
infinity;
The steady state error arise from the nature of inputs, type of system and
non-linearity of system components.
160
161
162
TYPE NUMBER OF CONTROL SYSTEM
163
164
For example,
165
including: Non-linear behavior of control system elements, Configuration
of the control system, and Proportional offset
When a control system is excited with standard input signal, the steady
state error may be zero, constant or infinity;
“Type – 0” system will have a constant steady state error when the input
is step signal;
“Type – 1” system will have a constant steady state error when the input
is ramp signal or velocity signal;
“Type – 2” system will have a constant steady state error when the input
is parabolic signal or acceleration signal.
166
Problem # 29: Determine the steady state error when the input is unit
step input
167
Static Error Constants for Various Steady State Error Constants for
Type Number of Systems Various Types of inputs
168
Problem # 30: For a unity feedback control system, the open loop transfer
function,
169
Problem # 31: For servomechanisms with open loop transfer function
given below, explain what type of input signal given rise to a constant
steady state error and calculate their values:
170
AUTOMATIC CONTROL SYSTEM
171
system.
The error detector compares the reference input and feedback signal and if
there is a difference, it produces an error signal.
An amplifier can be used to amplify the error signal, and the controller
modifies the error signal for better control action.
The actuator amplifies the controller output and converts to the required
form of energy that is acceptable for the plant.
Generally, the error signal will be weak signal and so it has to be amplified
and then modified for better control action.
In most of the system, the controller amplifies the error signal and integrates
or differentiates to produce a control signal (ie., modified error signal).
The different types of controllers are P, PI, PD, PID controllers.
172
AUTOMATIC CONTROL SYSTEM
A controller is a device introduced in the system to modify the error
signal and to produce a control signal. The manner in which the
controller produces the control signal is called the control action.
The following six basic control actions are very common among
industrial analog controllers:
173
Applications of Controllers
The Controllers are widely used in various fields:
• Industrial Automation: The Controlling processes in manufacturing
and industrial machinery.
• Aerospace: The Managing flight systems, autopilots and navigation.
• Automotive: To Implementing cruise control or anti-lock braking
systems and engine control units.
• Robotics: The Regulating robot movements and autonomous
navigation.
• Home Automation: The Controlling heating, ventilation and smart
devices.
174
Depending on the control actions provided, the controller can be
classified as follows:
1. Two-position or ON-OFF controllers
2. Proportional Controllers
3. Integral Controllers
4. Proportional –plus- integral Controllers
5. Proportional –plus-derivative Controllers
6. Proportional –plus-integral-plus-derivative Controllers
175
The ON-OFF or two position controller has only two fixed positions.
They are either on or off. The on-off control system is very simple in
construction and hence less expensive. It is widely used in both industrial
and domestic control systems.
176
177
Proportional Controllers
178
Working of Proportional Controller
The proportional controller initially compares the Set Point (SP) value with
the actual Process Variable (PV) value. Following this, the system’s feedback
loop becomes operational, continuously monitoring the system’s output and
comparing it to the desired output. As necessary, the inputs are modified to
minimize the disparity between the output and the desired value.
Subsequently, the controller generates an error signal, which is then
multiplied by a proportional gain factor. This multiplication yields an output
that is proportionate to the error signal and endeavors to bring the system
closer to the desired value. The feedback loop plays a pivotal role in ensuring
the system’s ability to adapt to changing conditions and maintain a stable
output, even in the face of internal or external disturbances.
179
Gain factor and controller output both are the two most important terms in a
P controller.
Gain factor
This is a constant tuning parameter of P controller which is need to adjust to
control the system response. In a proportional controller it is used as
proportional gain or Kp. This Kp value is directly proportional to the
changes in error signal.
High Kp value means the controller will react more strongly and faster in
changes of error signal. And low Kp value means the controller will react
slowly in changes of error signal.
Controller output
Controller output means the signal generated by the controller. It is denoted
by ‘U’ . According to this output the system will take required action to get
more closer answer of the set point.
Tuning of Proportional Controller
Tunning refers the adjustment of Kp value to get most efficient output of
process variable. The choice of Kp value effects the controller in terms of
stability, speed overshot etc.
180
Let’s consider a simple example of tuning process.
Suppose,
X-axis represents the time, and Y-axis represents the difference between
setpoint and process variable.
Kp value is 1.3
181
Examples of Proportional controller
• Fly-ball governor : The fly-ball governor is an example of proportional
controller. There are some balls which rises with the speed of flow, and
blocks the flow, and controls the flow rate.
182
• Adaptive cruise control : Throttle input is continuously adjusted to respond
to changes in road conditions, including both declining gradients and
increasing momentum. Moreover, the vehicle’s throttle is dynamically
regulated based on the distance to the vehicles ahead.
In situations requiring emergency collision avoidance, a distinct
proportional control system is engaged to gently apply the brakes when the
proximity to a lead vehicle becomes too close, or more forcefully when
necessary.
Advantages
• Simple and easy to implement
• Quickly responses to the errors
• It provides a stable control process
• P controller reduces steady state error when it is applied currently for an
know situation.
Disadvantages
• It reduces steady state error but cannot eliminate it entirely.
• It needs manual tuning.
183
• P controller may lead to oscillations in some system.
Integral Controllers
184
Advantages:
An integral controller is a control mode that helps eliminate steady-
state error in a control system. It's also known as a reset controller.
185
186
Proportional Plus Integral Controller
187
The proportional component responds to the current error, while the
integral component accumulates past errors to eliminate steady-state
errors.
Properly tuning the Kp and Ki gains is crucial to achieve stable control
with fast response and minimal error in various engineering applications.
Applications of Proportional Integral Controller
• Used in temperature control systems, such as ovens, furnaces, and HVAC systems.
• Used in motor control applications to control speed and position.
• In robotics, PI controllers are used to control the movements and positions of
robot arms and manipulators.
• An essential part of the flight control systems in aircraft.
• PI controllers can be used in audio systems for applications like noise
cancellation.
• Used in medical devices, such as infusion pumps and respirators, to regulate
188
parameters like drug delivery rates or patient ventilation.
Advantages
• It responses fast as compared to other controllers like PD controller or PID
controller.
189
Proportional Plus Derivative Controller
The proportional plus derivative controller (PD- Controller) produces an
output signal consisting of two terms: one proportional to error signal and
the other proportional to the derivative of error signal;
190
In this control, the purpose of the D-only control is to predict the error in
order to increase stability of the closed loop system.
P-D control is not commonly used because of the lack of the integral
term. Without the integral term, the error in steady state operation is not
minimized. P-D control is usually used in batch pH control loops, where
191
Proportional-Integral-Derivative (PID) Controller
PID- Controller produces an output signal consisting of three terms: one
proportional to error signal, another one proportional to integral of error
signal and the other proportional to the derivative of error signal;
192
PID-control is most commonly used because it combines the advantages of
each type of control. This includes a quicker response time because of the
P-only control, along with the decreased/zero offset from the combined
derivative and integral controllers. This offset was removed by additionally
using the I-control.
The addition of D-control greatly increases the controller's response when
used in combination because it predicts disturbances to the system by
measuring the change in error.
However, although the PID controller seems to be the most adequate
controller, it is also the most expensive controller. Therefore, it is not used
unless the process requires the accuracy and stability provided by the PID
controller.
193
Applications of Proportional Integral Derivative Controller
1. PID controller are used in various industries such as, manufacturing, process
control, robotics, automotive and many more.
2. They regulate temperature, pressure, flow control, motor speed and other
variable to maintain desired variable.
Advantages
1. PID controller are simple, efficient and widely understood.
2. They offer fast response, stability and adaptability.
Disadvantage
1. This controller may struggle in complex linear system.
2. Optimal tuning can be challenging due to the(P, I and D) parameters.
194
Controller Type PI P PD PID
proportional,
Proportional an Proportional Proportional and
Terms Integral and
Integral Terms term only derivative term
derivative term
Improves
balances steady
Eliminates transient
Corrects steady state and
Purpose steady state response,
state error transient
error reduces
response
overshoot
Depends on Depends on
Generally Can lead to
Overshoot tunning tunning
reduces overshoot
parameters parameters
Can be adjusted
improves due to
based on
Rise Time Generally short long rise time Derivative
tunning
action
parameters
Cruise control, Temperature
195
Robotics, Automation
Application industrial control, level
motion control system
process control
Problem # 32: Determine the response of PI- controller with the second
196
197
The PI- controller introduces a zero in the system and increases the order
by one;
The increase in the order results in a less stable system than the original
one because higher order system are less stable than lower order system.
PI- controller increases the type by one. This results in reducing the
steady state error.
198
Problem # 33: Determine the response of PD- controller with the second
199
200
The PD- controller introduces a zero in the system and increase the
damping ratio;
The addition of zero may increases the peak overshoot and reduce the rise
time; But, the effect of increased damping ultimately reduces the peak
overshoot.
201
BMEE330L : Control Systems
202
Routh Hurwitz Criterion
203
the stability without the need to disintegrate the characteristic equation.
Necessary Condition for Routh-Hurwitz Stability:
The necessary condition is that the coefficients of the characteristic
polynomial should be positive. This implies that all the roots of the
characteristic equation should have negative real parts.
Note that, there should not be any term missing in the nth order
characteristic equation. This means that the nth order characteristic equation
should not have any coefficient that is of zero value.
204
205
206
207
Problem # 34: Using Routh criterion, determine the stability of the
system represented by the characteristics equation,
208
On examining the elements of the first column of Routh array, it is
observed that all the elements are positive and there is no sign change.
Hence, all the roots are lying on the left hand side of S-plane and the
system is stable.
209
210
211
Problem # 36: Using Routh criterion, determine the stability of the
system represented by the characteristics equation,
212
213
Problem # 37: Determine the range of K for stability of unity feedback
system whose open loop transfer function is
214
215
Root Locus
In the Routh-Hurwitz stability criterion, we can know whether the closed loop
poles are in on left half of the ‘s’ plane or on the right half of the ‘s’ plane or on an
imaginary axis. So, we can’t find the nature of the control system. To overcome
this limitation, there is a technique known as the root locus.
The root locus technique was introduced by W R Evans for the analysis of control
system. It is a powerful tool for adjusting the location of closed loop poles to
achieve the desired system performance by varying one or more system
parameters.
In the root locus diagram, we can observe the path of the closed loop poles.
Hence, we can identify the nature of the control system. In this technique, we will
use an open loop transfer function to know the stability of the closed loop control
system.
The Root locus is the locus of the roots of the characteristic equation by varying
216
system gain K from zero to infinity.
The characteristic equation of the closed loop control system is
Where,
K represents the multiplying factor
N(s) represents the numerator term having (factored) nth order polynomial of
‘s’.
D(s) represents the denominator term having (factored) mth order polynomial
of ‘s’.
Substitute, G(s)H(s) value in the characteristic equation,
217
Case 1: K = 0
If K=0, then D(s) = 0.
That means, the closed loop poles are equal to open loop poles when K is zero.
Case 2 : K =
Re-write the above characteristic equation as
If then N(s)=0. It means the closed loop zeros are equal to the open loop
zeros when K is infinity.
From above two cases, we can conclude that the root locus branches start
218
at open loop poles and end at open loop zeros.
Angle Condition and Magnitude Condition
The points on the root locus branches satisfy the angle condition. So, the
angle condition is used to know whether the points exist on root locus
branch or not.
We can find the value of K for the points on the root locus branches by
using magnitude condition. So, we can use the magnitude condition for the
points, and this satisfies the angle condition.
219
The angle condition is the point at which the angle of the open loop transfer
function is an odd multiple of 1800.
Magnitude of G(s)H(s) is -
The magnitude condition is that the point (which satisfied the angle
condition) at which the magnitude of the open loop transfer function is one.
220
Rules for Construction of Root Locus
Follow these rules for constructing a root locus:
Rule 1 Locate the open loop poles and zeros in the ‘s’ plane.
Rule 2 Find the number of root locus branches.
We know that the root locus branches start at the open loop poles and end at
open loop zeros. So, the number of root locus branches N is equal to the
number of finite open loop poles P or the number of finite open loop
zeros Z, whichever is greater.
221
Rule 3 Identify and draw the real axis root locus branches.
If the angle of the open loop transfer function at a point is an odd
multiple of 1800, then that point is on the root locus.
If odd number of the open loop poles and zeros exist to the left side of
a point on the real axis, then that point is on the root locus branch.
Therefore, the branch of points which satisfies this condition is the real axis
of the root locus branch.
222
start at finite open loop poles and end at infinite open loop zeros.
• If P < Z, then P number of root locus branches start at finite open loop poles
and end at finite open loop zeros and number of root locus branches
start at infinite open loop poles and end at finite open loop zeros.
So, some of the root locus branches approach infinity, when
Asymptotes give the direction of these root locus branches. The intersection
point of asymptotes on the real axis is known as centroid.
We can calculate the centroid by using this formula,
223
Rule 5 Find the intersection points of root locus branches with an
imaginary axis.
We can calculate the point at which the root locus branch intersects the
imaginary axis and the value of K at that point by using the Routh array
method
Rule 6 Find Break-away and Break-in points.
Break-away and break-in points exist only on the real axis root locus
branches.
• Write K in terms of s from the characteristic equation 1+G(s)H(s)=0.
• Differentiate K with respect to s and make it equal to zero.
Substitute these values of s in the above equation.
• The values of s for which the K value is positive are the break points.
224
Rule 7 Find the angle of departure and the angle of arrival.
The Angle of departure and the angle of arrival can be calculated at
complex conjugate open loop poles and complex conjugate open loop
zeros respectively.
225
Effects of adding Open Loop Poles and Zeros on Root Locus
By adding open loop Poles and Zeros the Root Locus can be shifted in s plane
. Following are the effects of adding open loop poles and zeros .
1. By adding open loop poles in transfer function , the root locus shift towards
right side of s plane . Therefore, the stability of system decreases .
2. By adding open loop zeros in transfer function , the root locus shift towards
left side of s plane . Therefore, the system stability increases.
Therefore, we can add zeros and poles in transfer function as per requirement .
226
To Find Stability of system from Root Locus
Following are the criteria to find stability of system from Root Locus
1. If any branch of Root Locus is always in left hand side of s plane, then system is
stable.
2. If any branch of Root Locus is always in right hand side of s plane, then the system
is always unstable.
3. If any branch of Root Locus crosses imaginary axis, then it is conditionally stable.
4. If any branch of Root Locus is always on imaginary axis, then system is marginally
stable.
227
Problem # 38: Draw the root locus of the control system having open loop
transfer function, G(s)H(s)=K/ (s(s+1)(s+5))
Step 1 The given open loop transfer function has three poles at s = 0, s =
and It doesn’t have any zero. Therefore, the number of root locus
branches is equal to the number of poles of the open loop transfer function.
N =P = 3
The three poles are located are shown in the figure. The line segment between
s= and s=0 is one branch of root locus on real axis. And the other branch
of the root locus on the real axis is the line segment to the left of s =
228
Step 2 Get the values of the centroid and the angle of asymptotes by
using the given formulae.
Centroid =
q = P-Z-1 = 2; 0,1,2
229
Step 3 Since two asymptotes have the angles of and
two root locus branches intersect the imaginary axis. By using the Routh
array method and special case(ii), the root locus branches intersects
the imaginary axis at and –
230
231
Problem # 39: Draw the root locus of the control system having open loop
transfer function, G(s)H(s)=K/ (s(s+1)(s+3))
232
Problem # 40: Draw the root locus of the control system having open loop
transfer function,
233
234
Mathematical Modelling of Thermal Systems
Thermal systems are those that involve the transfer of heat from one
substance to another. Thermal systems may be analyzed in terms of
resistance and capacitance, although the thermal capacitance and
thermal resistance may not be represented accurately as lumped
parameters since they are usually distributed throughout the substance.
For precise analysis, distributed-parameter models must be used. Here,
however, to simplify the analysis, we shall assume that a thermal system
can be represented by a lumped-parameter model, that substances that
are characterized by resistance to heat flow have negligible heat
capacitance, and that substances that are characterized by heat
235
There are three different ways heat can flow from one substance to
another: conduction, convection, and radiation. Here we consider only
conduction and convection.
Radiation heat transfer is appreciable only if the temperature of the
emitter is very high compared to that of the receiver. Most thermal
processes in process control systems do not involve radiation heat
transfer.
236
For conduction or convection, Heat flow rate, q = K
On differentiating we get, dq = K ; = 1/K
But thermal resistance, R =
237
Transfer function of Thermal system:
Consider a simple thermal system shown. Let us assume that the tank
is insulated to eliminate heat loss to the surrounding air, there is no heat
storage in the insulation and liquid in the tank is kept at uniform
temperature by perfect mixing with the help of a stirrer.
Thus, a single temperature is used to describe the temperature of the
liquid in the tank and of the out flowing liquid. The transfer function
of thermal system can be derived as shown below.
238
Let 1 = Steady state temperature of inflowing liquid, °C
0 = Steady state temperature of outflowing liquid, °C
G = Steady state liquid flow rate, Kg/sec
239
from 0 to 0 + .
For this system the equation for q0, C and R are obtained as follows,
240
The constant of proportionality is capacitance C of the system.
This is the differential equation governing system and is of first order
equation. The system is first order system.
R= 0 q0 =
241
Problem # 41: Consider the thin, glass-wall, mercury thermometer system
shown in Figure. Assume that the thermometer is at a uniform temperature
(ambient temperature) and that at t = 0 it is immersed in a bath of
temperature where is the bath temperature (which may be
constant or changing) measured from the ambient temperature . Define the
instantaneous thermometer temperature by so that is the change in
the thermometer temperature satisfying the condition that 0) = 0. Obtain a
mathematical model for the system.
242
243
BMEE330L : Control Systems
244
• In LTI systems, the frequency response is independent of amplitude
and phase of the input signal.
245
• The amplitude of the output sinusoidal signal is obtained by multiplying
the amplitude of the input sinusoidal signal and the magnitude of
at 0.
• The phase of the output sinusoidal signal is obtained by adding the phase
of the input sinusoidal signal and the phase of at 0.
246
Frequency Domain Specifications
• Resonant peak
• Resonant frequency
• Bandwidth
• Cut off rate
• Gain Margin
• Phase Margin
Resonant Peak (Mf) :
The maximum value of the magnitude of closed loop transfer function is
called the resonant peak. A large peak corresponds to a large overshoot in
transient response.
Resonant frequency, r :
247
This is the frequency at which the resonant peak is obtained
Bandwidth :
The bandwidth is the range of frequencies for which normalized gain of
the system is more than -3 db. It is usually defined as the point where the
amplitude drops by 3 db. The frequency of gain is called cutoff frequency.
Bandwidth is usually defined for closed system and it transmits the signals
whose frequencies are less than the cut-off frequency.
The bandwidth is a measure of the ability of a feedback system to
reproduce the input signal, noise rejection characteristics and rise time. A large
bandwidth corresponds to a small rise time or fast response.
Cut-off Rate :
The slope of the log-magnitude curve near the cut off frequency is
called cut-off rate. The cut-off rate indicates the ability of the system to
distinguish the signal from noise.
Gain Margin:
The gain margin is defined as the value of gain, to be added to the
system, in order to bring the system to the verge of instability.
The gain margin is given by the reciprocal of the magnitude of open
loop transfer function at phase cross over frequency. The frequency at
which the phase of open loop transfer function is 180 is called the phase
cross-over frequency.
249
Phase Margin:
The phase margin is defined as the additional phase lag to be added at
the gain cross over frequency in order to bring the system to the verge of
instability.
The gain cross over frequency is the frequency at which the magnitude
of the open loop transfer function is unity ( or it is the frequency at which
the db magnitude is zero.)
250
251
252
253
254
255
Problem # 42: Closed loop transfer function of a second order system is
given as
(a) Find the value ‘k’ and ‘a’ to satisfy the following frequency domain
specifications: Mr = 1.04; r = 11.55 rad/sec
256
(b) For this value of k and a , calculate settling time and bandwidth of the
system
Frequency Response Plots
Frequency response analysis of control systems can be carried either analytically or
graphically. They are used to determine the frequency domain specifications, study the
stability and adjust the gain of the system to satisfy the desired specifications.
The various graphical techniques available for frequency response analysis are:
1. Bode Plot
2. Polar Plot
3. Nichols Plot
4. M and N Circles
5. Nichols Chart
The Bode Plot , Polar plot and Nichols plot are usually drawn for open loop system.
From the open loop response plot, the performance and stability of closed system are
estimated. The M and N circles and Nichols chars are used to determine graphically the
frequency response of unity feedback closed loop system from the knowledge of open
257
loop response.
Bode Plots
Bode plots describe the linear time-invariant systems’ frequency response
(change in magnitude and phase as a function of frequency). It helps in
analyzing the stability of control system. It applies to the minimum phase
transfer function i.e. (poles and zeros should be in the left half of the s-
plane).
Two graphs, the Bode phase plot (which expresses the phase shift in
degrees) and the Bode magnitude plot (which expresses the magnitude in
decibels), are used to map the frequency response of the system.
Hendrik Wade Bode first introduced Bode plots in the 1930s while he
was employed by Bell Laboratories in the United States. Bode plots, unlike
the Nyquist stability criterion, can handle transfer functions with right half
plane singularities, despite being a reasonably straightforward approach for
258
calculating system stability.
Types of Bode Plot
1. Gain plot:
It represents the magnitude response of the system as a function of
frequency. It is plotted on a logarithmic scale.
2. Phase plot:
It depicts the frequency-dependent phase shift of the system’s output signal
compared to its input signal. It’s also drawn on a logarithmic scale.
259
How to read Bode Plots?
Bode plots show the frequency response, that is, the changes in magnitude
and phase as a function of frequency.
260
Figure shows the gain and phase plot. The gain cross over frequency (wgc)
and phase crossover frequency (wpc) can be calculated using gain plot and
phase plot respectively.
261
Phase Margin
The phase margin indicates how much more phases shift we may put in
the open loop transfer function before our system becomes unstable.
262
Gain Margin
The gain margin is the amount of open loop gain that can be increased
before our system becomes unstable.
263
The Bode plot or the Bode diagram consists of two plots
• Magnitude plot
• Phase plot
In both the plots, x-axis represents angular frequency (logarithmic scale).
Whereas, y axis represents the magnitude (linear scale) of open loop
transfer function in the magnitude plot and the phase angle (linear scale) of the
open loop transfer function in the phase plot.
The magnitude of the open loop transfer function in dB is -
M=
264
265
266
Consider the open loop transfer function G(s)H(s)=K
Magnitude M=20logK dB
267
Consider the open loop transfer function G(s)H(s)=s.
Magnitude dB
Phase angle
At rad/sec, the magnitude is -20 dB.
At rad/sec, the magnitude is 0 dB.
At rad/sec, the magnitude is 20 dB.
268
Rules for Construction of Bode Plots
Follow these rules while constructing a Bode plot.
• Represent the open loop transfer function in the standard time constant form.
• Substitute, s = in the above equation.
• Find the corner frequencies and arrange them in ascending order.
• Consider the starting frequency of the Bode plot as 1/10th of the minimum
corner frequency or 0.1 rad/sec whichever is smaller value and
draw the Bode plot upto 10 times maximum corner frequency.
• Draw the magnitude plots for each term and combine these plots properly.
• Draw the phase plots for each term and combine these plots properly.
The corner frequency is the frequency at which there is a change in the slope
of the magnitude plot.
269
Problem # 45: Sketch Bode plot for the following transfer function and
determine the system gain K for the gain cross over frequency to be 5 rad/s.
270
273
Problem # 46: Sketch Bode plot for the following transfer function and
determine phase margin and gain margin.
274
275
276
277
278
Polar Plots – Nyquist Plot
In Bode plots, we have two separate plots for both magnitude and phase
as the function of frequency.
Polar plot is a plot which can be drawn between magnitude and phase.
Here, the magnitudes are represented by normal values only.
The polar form of is
The Polar plot is a plot, which can be drawn between the magnitude and
the phase angle of by varying from zero to .
279
and phase angles respectively.
This graph sheet consists of concentric circles and radial lines.
The concentric circles and the radial lines represent the magnitudes
and phase angles respectively.
281
The phase margin is defined as
= PC
282
• On the polar plot, Gain Margin (Gm) can be found as an inverse of the
coordinate A of the polar plot crossover with the Real axis, as shown .
• If the crossover is to the right of (-1, j0) point, A <1 & Gm >1 , and
the system is stable.
• If the crossover is to the left of (-1, j0) point, A >1 ,Gm <1, and the
system is unstable.
283
Problem # 47: The open loop transfer function of a unity feedback system is
given by Sketch the polar plot and determine gain margin
and the phase margin.
284
285
Problem # 48: The open loop transfer function of a unity feedback system is
given by . Sketch the polar plot and determine gain
margin and the phase margin.
286
287
BMEE330L : Control Systems
288
procedures that are only slightly more complicated than those required for
the analysis of systems of first-order scalar differential equations.
Advantages
1. It provides an easy way to find the transfer function of the system where Laplace
Transform and z-transform cannot be applied.
2. It applies to the non-linear and time-variant systems as well.
3. It helps in analyzing the behavior of the system.
4. It helps in the designing of the controllers. It is helpful in pole placement
techniques.
Disadvantages
1. State Space analysis become complex for large-scale systems because it involves a
high number of state variables and equations.
289
techniques because State Space analysis uses this technique for computation.
Applications of State Space Analysis
1. It finds its application in the modeling of mechanical systems like
manufacturing processes, robotic arms, and many more.
2. It helps design the flight control system. With the help of state space
analysis dynamic behaviour of the aircraft can be studied properly.
There are various key components of the state space analysis which are
as follows: 1. State and State Variable; 2. State Vector 3. State Space
290
State and State Variable
The state of a dynamical system is a set of minimal variables and the
knowledge of these variables at t = to together with input for
t to completely determines the behavior of the system for any time t. In other
words, the compact representation of the previous history of the system is
known as the State of the system. The variables that contain the dynamic
information of the system are known as State Variables.
State Vector
The ‘n’ set of state variables which describes the dynamic equations of the
linear system, then it can be considered as N components of a vector q. The
given below is the state vector of continuous system.
291
State Space
When the coordinate axis of the N-dimensional space consist of q1-axis, q2-
axis, …., qn-axis, it is known as state space. Any state can be represented by
the point in the state space.
—-(1)
292
where —–(2)
From equation (1) and equation (2)
——-(3)
and, y(t)=q1(t) —— (4)
The equation 3 and equation 4 can be expressed in the matrix form as given
below where :
293
Hence the final state equation will be:
—- (state equation)
—- (output equation)
294
• y is 1x1 (i.e, a scalar)- y is the output, a function of time
Problem # 49: Obtain the state space equation of the following
differential equation:
295
Problem # 50: Derive a state space model for the system shown.
296
Consider a linearized second order dynamic system:
297
Controllability and Observability
Controllability
The system is controllable when the desired output is obtained by applying
the specific controlled input. It is the ability to control the state of the system.
The controllability of the system can be checked using the Kalman Test.
The given below is the condition for the controllability:
Q0 = [B AB A2B ….. An-1B]
298
Observability
It is the system’s ability to measure or observe the system state.
If the internal state of the system is determined using the input and output
signals during a finite interval of time then the system is said to be observable.
The observability of the system can be checked using the Kalman Test.
299
Problem # 51: Verify the controllability and observability of a control
system which is represented in the state space model as
300
In a state space system, the stability of a process can be determined by analyzing the
eigenvalues of the state space A matrix:
Stable
If all eigenvalues have negative real parts or are negative real numbers, the system
is stable. This means that any initial condition will converge to a stable attracting
point.
Unstable
If any eigenvalue has a positive real part, the system is unstable and will
exponentially diverge.
Neutral
If all eigenvalues have a real part of zero, the system is neutrally stable. This
means that the system will oscillate at the same amplitude forever.
The eigenvalues of the A matrix are found from the roots of the characteristic
301
polynomial.
Positive Real Part
When the real part is positive, the system is unstable and behaves as an
unstable oscillator. This can be visualized as a vector tracing a spiral away
from the fixed point. The plot of response with time of this situation would
look sinusoidal with ever-increasing amplitude, as shown below.
302
Zero Real Part
When the real part is zero, the system behaves as an undamped oscillator.
This can be visualized in two dimensions as a vector tracing a circle
around a point. The plot of response with time would look sinusoidal.
303
Negative Real Part
When the real part is negative, then the system is stable and behaves as a
damped oscillator. This can be visualized as a vector tracing a spiral toward the
fixed point. The plot of response with time of this situation would look sinusoidal
with ever-decreasing amplitude, as shown below.
This situation is what is generally desired when attempting to control a process
or unit. This system is stable since steady state will be reached even after a
disturbance to the system. The oscillation will quickly bring the system back to the
setpoint, but will over shoot, so if overshooting is a large concern, increased
damping would be needed.
304
305
Problem # 52: Verify the stability of the given state space model.
306
THANK YOU
307