Swami Karunamoorthy - Control Systems (Modeling, Analysis and Design) - Cognella (2020)
Swami Karunamoorthy - Control Systems (Modeling, Analysis and Design) - Cognella (2020)
Swami Karunamoorthy
DESIRED ACTUAL
KNOWLEDGE KNOWLEDGE
OF CONTROLS OF CONTROLS
(INPUT) (OUTPUT)
CONTROL SYSTEM
EDUCATION
+
_
ASSESSMENT
(FEEDBACK)
E 37 - MEMS 4301
Modeling, Simulation
and Control
The cost of this book includes the copyright fees required by the original rightsholders. By
purchasing this text, you are protecting yourself and your school from copyright
infringement, as well as supporting the scholars and authors who spent time developing
this content.
If you have any questions regarding this text, please don’t hesitate to contact us at
[email protected].
1.0 Introduction 1
Control system is a study of methods for modeling, analysis and design to accomplish the
actual output that is equal to or very close to desired output used as input to the system.
Learning Objectives
1. To understand various types of control system.
2. To identify various elements of a control system
3. To learn about Transfer Functions.
For example, microwave oven, bread toaster and space heater are typical devices with
open loop control system.
These systems function as a typical on-off switch. They do not control how hot the food
should be heated in a microwave or how well the bread should be toasted or how warm the
room should be heated.
1
1
Closed loop system (or feed Back system)
Temperature controlled oven, those heating with thermostat, cruise control in a car are
typical example of closed loop system. The heating turns on or off automatically when the
actual heat is below or above the desired heat level in order to maintain the set level of heat
in both oven or house heating. In a car, the speed is controlled by cruise control such that
the car travels at set speed level. The cruise control, controls the fuel flow into engine.
When the car is at uphill, the speed drops and the cruise control increases the fuel
(equivalent to increasing accelerator by driver) to engine. When the car is at downhill, the
speed increases and the cruise control decreases the fuel flow to engine to maintain the set
level of speed.
The type of feedback can be further classified as positive feedback and negative feedback.
Positive Feedback
Let △= (Desired output - Actual output)
The value of △, is used as feedback. If its value decreases, the actual output converges
closer to desired output. The decreased value of △ is attributed to negative feedback while
increased value of △ is attributed to positive feedback. The feedback from actual output is
added to input, making it larger in positive feedback.
For example, if a person speak on a microphone, the voice is amplified to certain level in
a speaker. If the microphone is close to speaker, the output from speaker fed into
microphone continuously, thus increasing the desired output to very high level. Such a
positive feedback result in loud squealing or howling noise. So, the positive feedback
makes the input larger instead of minimizing the difference between input and output. Thus,
in general the positive feedback lead to system instability and it is not desirable in the
control of engineering systems.
2
2
Control Diagram
Negative Feedback
In negative feedback system, the feedback from actual output is subtracted at input to
control the difference between them.
3
3
For example, in a centralized heating system in a house, the thermostat controls the
temperature to a set level value.
If the actual temperature is less than the desired temperature, the feedback to thermostat
activates the heating system to increase the temperature in the house. It turns off the heating
system when the feedback indicated the actual temperature is greater or equal to the desired
temperature. So, the negative feedback system leads to system stability and hence
commonly used in control used in control of engineering systems.
An emphasis is given here to understand, model analyze and design negative feedback
automatic control systems and they are also called as modern control systems.
4
4
The above control diagram represents closed loop system and without the feedback loop it
becomes open loop system as shown below.
If the actual output is equal to or very close to the desired output, open loop system is
adequate to use. When the actual output is not equal to the desired output, it is not only
necessary but also required to use a closed loop system with negative feedback. It ensures
both system control and system stability.
Let us look at the house heating control system with all the control elements.
5
5
Controller: A device used to activate the actuator.
In the above example, thermostat is used as controller to turn-on or turn-off the
heating furnace. If a person is used for this operation, it would be manual
control. Since a device is used in this case, it is automatic control.
Actuator: A device in the control system used to alter or adjust the environment. In the
above example, the heating furnace is the actuator and it adjusts the house
heating by switching it on or off.
Plant: A system (a device or an industrial plant or a process) under control. In the above
example, house is the plant and its environment or temperature is being controlled
to a set level of comfort.
Sensor: A device that provides measurement of actual output. In the above example,
temperature sensing device within the thermostat is the sensor element in the
control system.
One of the typical temperature sensing devices is bi-metallic strip. It is used to make or
break contact with an electric circuit that turns on or turns off the heating system.
6
6
Another example is the cruise control in a car. Here, the controller is a throttle that regulates
the fuel flow.
Engine is the activator that increase or decrease the speed. Car is the plant being controlled
to travel at set speed. Speed sensor gives feedback on any change in actual speed with
respect to desired speed. Based on this feedback, throttle will adjust the fuel flow into
engine.
In a classroom learning, the course outline sets the goal for desired knowledge. Motivation
and time management are the controller in this process. Studying the book or class notes
and practicing problems are the actuators in this system. The plant in this system is the
“Learning Process” that is controlled to gain the desired knowledge. Homework,
examinations and assessment of course outcomes are the sensors used to measure the actual
knowledge and used as feedback for better learning.
7
7
Open Loop
𝑌𝑌(𝑠𝑠) = 𝐺𝐺(𝑠𝑠)𝑅𝑅(𝑠𝑠)
𝑌𝑌(𝑠𝑠) 𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂
𝐺𝐺(𝑠𝑠) = =
𝑅𝑅(𝑠𝑠) 𝐼𝐼𝐼𝐼𝑂𝑂𝑂𝑂𝑂𝑂
Where
S = Frequency domain in Laplace Transform (L.T.)
R(s) = L.T. of input
Y(s) = L.T. of output
G(s) = Transfer function
Closed loop
Negative feedback
Where
G(s) = Feed Forward T.F.
H(s) = Feed Back T.F.
E/R = Error ratio
Y/R = Control ratio
𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑂𝑂𝑁𝑁𝑁𝑁𝑁𝑁 → 𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑂𝑂𝑁𝑁𝑁𝑁𝑁𝑁 𝑓𝑓𝑁𝑁𝑁𝑁𝑓𝑓𝑓𝑓𝑁𝑁𝑓𝑓𝑓𝑓
B/R = Feedback ratio = �
𝑃𝑃𝑃𝑃𝑠𝑠𝑁𝑁𝑂𝑂𝑁𝑁𝑁𝑁𝑁𝑁 → 𝑃𝑃𝑃𝑃𝑠𝑠𝑁𝑁𝑂𝑂𝑁𝑁𝑁𝑁𝑁𝑁 𝑓𝑓𝑁𝑁𝑁𝑁𝑓𝑓𝑓𝑓𝑁𝑁𝑓𝑓𝑓𝑓
8
8
E = R-B
G = Y/E
H = B/Y
Y = GE = G(R-B) = G(R-HY) = GR-GHY
Y(1+GH) = GR
Transfer function:
Y/R = G/(1+GH) = Output/Input
Positive feedback
E = R+B ; B = HY
Y = GE = G(R+B) = GR+GHY
Y(1-GH) = GR
Transfer function:
Y/R = G/(1-GH) = Output/Input
If GH ≅ 1, output may become infinity making the system unstable.
9
9
Assessment of learning objective
1. Control system is a study
(a) To control the failure of a system
(b) To control the operation of a function
(c) To control the actual output to match with desired output
(d) To control the input
5. Controller is defined as
(a) A device that activates the plant
(b) A device that activates the actuator
(c) A device that controls the sensor
(d) All of the above
6. Actuator is defined as
(a) A device that activates the plant
(b) A device that activates the controller
(c) A device that activates the sensor
(d) All of the above
10
10
7. A Plant or Process is defined as
(a) A system that controls the activator
(b) A system that controls the sensor
(c) A system that activates the controller
(d) A system to be controlled
8. A sensor is defined as
(a) A device to measure the output from plant
(b) A device to give feedback to controller
(c) A device to function as sensing element in the system
(d) All of the above
11
11
2.0 Modeling of Dynamic System
Learning Objectives:
(1) To understand the transfer function for a dynamic system with single degree of freedom
or multi degrees of freedom.
(2) To model the given dynamic system with equations of motion in matrix format.
(3) To understand Poles, Zeros and Final Value Theorem.
m – mass
b – damping coefficient
k – stiffness
y(t) = Output (response); r(t) = Input (Forcing function)
Equation of motion:
𝑚𝑚𝑦𝑦̈ + 𝑏𝑏𝑦𝑦̇ + 𝑘𝑘𝑦𝑦 = 𝑟𝑟(𝑡𝑡)
Assume the initial conditions are zero since the transfer function is not a function of them.
Taking Laplace Transform (L.T)
(𝑚𝑚𝑠𝑠 2 + 𝑏𝑏𝑠𝑠 + 𝑘𝑘)𝑌𝑌(𝑠𝑠) = 𝑅𝑅(𝑠𝑠)
= G(s) R(s)
1 1
Where the Transfer function, G(s) = =
Z(s) 𝑚𝑚𝑠𝑠 2 +bs+k
13
Multi degrees of freedom:
[𝑀𝑀]{𝑦𝑦̈ } + [𝐶𝐶 }{𝑦𝑦̇ } + [𝑘𝑘]{𝑦𝑦} = {𝑟𝑟(𝑡𝑡)}
[M]—Mass matrix
[C]—Damping matrix
[K]—Stiffness matrix
𝑌𝑌2 (𝑠𝑠)
Y2(s)=G21(s) R1(s) => G21(s) =
𝑅𝑅1 (𝑆𝑆)
𝑌𝑌1 (𝑠𝑠)
Let R1=0 => Y1(s)=G12(s) R2(s) => G12(s) =
𝑅𝑅2 (𝑆𝑆)
𝑌𝑌2 (𝑠𝑠)
Y2(s)=G22(s) R2(s) => G22(s) =
𝑅𝑅2 (𝑆𝑆)
14
𝑌𝑌𝑖𝑖 (𝑆𝑆)
In general, 𝐺𝐺𝚤𝚤̇𝚥𝚥̇ (𝑠𝑠) =
𝑅𝑅𝑗𝑗 (𝑆𝑆)
Rule-Based method
Rule #1: Degree of freedom, (N)
Each mass has a degree of freedom. If there is a degree of freedom not associated with a mass,
assume a virtual mass (or dummy mass) with zero value for that degree of freedom.
It helps to apply this method. The size of matrices, [M], [C] and [K] are N x N.
Rule #2: Mass matrix, [M]
Since the system is assumed as dynamically uncoupled, the mass matrix is always diagonal.
Rule #3: Stiffness Matrix:
Off-damping Elements,
𝑁𝑁
15
Example-1
1 0 4 −3 1 −1
[𝑀𝑀] = � � [𝐶𝐶] = � � [𝐾𝐾] = � �
0 2 −3 5 −1 1
Transfer Function
G(s) = [Z(s)]-1
16
Example-2
0 0 0 0 1 −1
[𝑀𝑀] = � � [𝐶𝐶] = � � [𝐾𝐾] = � �
0 1 0 1 −1 1
1 −1
Z(s) = S2[M]+S[C]+[K] = � �
−1 (𝑠𝑠 2 + 𝑠𝑠 + 1)
Transfer Function
G(s) = [Z(s)]-1
2
�(𝑠𝑠 + 𝑠𝑠 + 1) 1�
1
=
𝐷𝐷𝐷𝐷𝐷𝐷 1 1
Det = (1) (𝑠𝑠 2 + 𝑠𝑠 + 1) −1 = s(s+1)
17
Example-3
1 0 3 −3 1 −1
[𝑀𝑀] = � � [𝐶𝐶] = � � [𝐾𝐾] = � �
0 2 −3 3 −1 1
Transfer Function
G(s) = [Z(s)]-1
Initial Conditions:
y(0) = y0 𝑦𝑦̇ (0) = 0
L.T. => [𝑠𝑠 2 𝑌𝑌(𝑠𝑠) − 𝑠𝑠𝑦𝑦(0) − 𝑦𝑦̇ (0)] + (2ζ𝜔𝜔𝑛𝑛 )[𝑠𝑠𝑌𝑌(𝑠𝑠) − 𝑦𝑦(0)] + (𝜔𝜔𝑛𝑛 2 )[𝑌𝑌(𝑠𝑠)] = 0
18
Numerator equation => N(s) = 0
The roots of this equation are called Zeros.
At Poles, D(s) = 0 => Y(s) = ∞
At Zeros, N(s) = 0 => Y(s) = 0
The plot of Poles and Zeros is called S-plane plot.
In this case, Y(s) has one zero and two poles
Zero: S = −2ζ𝜔𝜔𝑛𝑛
S-plane Plot
S1,2 = −𝜁𝜁𝜔𝜔𝑛𝑛 ± 𝜔𝜔𝑛𝑛 �𝜁𝜁 2 − 1
For 𝜁𝜁 < 1
19
𝑗𝑗 𝜔𝜔𝑛𝑛 �1 − 𝜁𝜁 2 �1 − 𝜁𝜁 2
tan 𝜃𝜃 = = =−
𝐴𝐴 −𝜁𝜁𝜔𝜔𝑛𝑛 𝜁𝜁
𝜁𝜁 0 1
𝜃𝜃 90 0
(1 − 𝜁𝜁 2 ) 1
𝑠𝑠𝑠𝑠𝑐𝑐 2 𝜃𝜃 = 1 + 𝑡𝑡𝑀𝑀𝑠𝑠2 𝜃𝜃 = 1 + 2
= 2
𝜁𝜁 𝜁𝜁
1
𝑠𝑠𝑠𝑠𝑐𝑐𝜃𝜃 = ; 𝑐𝑐𝑐𝑐𝑠𝑠𝜃𝜃 = 𝜁𝜁; 𝜃𝜃 = cos −1 𝜁𝜁
𝜁𝜁
20
Final Value Theorem
Final value (or Steady State) of y(t) is given by
lim 𝑦𝑦(𝑡𝑡) = lim 𝑠𝑠𝑠𝑠(𝑠𝑠)
𝑡𝑡→∞ 𝑠𝑠→0
Example:
𝑦𝑦̈ + 4𝑦𝑦̇ + 3𝑦𝑦 = 2𝑟𝑟(𝑡𝑡)
𝑦𝑦(0)=1, 𝑦𝑦̇ (0) = 0, r(t)=1, 𝑡𝑡 ≥ 0 (unit step function)
L.T.
2
[𝑠𝑠 2 𝑦𝑦(𝑠𝑠) − 𝑠𝑠𝑠𝑠(0) − 𝑦𝑦̇ (0)] + 4[𝑠𝑠𝑠𝑠(𝑠𝑠) − 𝑦𝑦(0)] + 3𝑦𝑦(𝑠𝑠) =
𝑠𝑠
2
𝑦𝑦(𝑠𝑠)(𝑠𝑠 2 + 4𝑠𝑠 + 3) = + (𝑠𝑠 + 4)
𝑠𝑠
2 (𝑠𝑠 + 4)
𝑦𝑦(𝑠𝑠) = +
𝑠𝑠(𝑠𝑠 + 3)(𝑠𝑠 + 1) (𝑠𝑠 + 3)(𝑠𝑠 + 1)
2 + 4𝑠𝑠 + 𝑠𝑠 2
=
𝑠𝑠(𝑠𝑠 + 3)(𝑠𝑠 + 1)
2 + 4𝑠𝑠 + 𝑠𝑠 2 2
= |𝑠𝑠=0 =
(𝑠𝑠 + 3)(𝑠𝑠 + 1) 3
21
Example:
𝑦𝑦̈ + 3𝑦𝑦̇ + 2𝑦𝑦 = 1
𝑦𝑦(0) = 1, 𝑦𝑦̈ (0) = 0
L.T.
1
[𝑠𝑠 2 𝑦𝑦(𝑠𝑠) − 𝑠𝑠𝑠𝑠(0) − 𝑦𝑦̇ (0)] + 3[𝑠𝑠𝑠𝑠(𝑠𝑠) − 𝑦𝑦(0)] + 2𝑦𝑦(𝑠𝑠) =
𝑠𝑠
1
𝑦𝑦(𝑠𝑠)[𝑠𝑠 2 + 3𝑠𝑠 + 2] = + (𝑠𝑠 + 3)
𝑠𝑠
1 𝑠𝑠 + 3
𝑦𝑦(𝑠𝑠) = + 2
𝑠𝑠(𝑠𝑠 2 + 3𝑠𝑠 + 2) 𝑠𝑠 + 3𝑠𝑠 + 2
𝑠𝑠 2 + 3𝑠𝑠 + 1
=
𝑠𝑠(𝑠𝑠 2 + 3𝑠𝑠 + 2)
Final value,
lim 𝑦𝑦(𝑡𝑡) = 𝑠𝑠𝑠𝑠(𝑠𝑠)|𝑠𝑠=0
𝑡𝑡→∞
𝑠𝑠 2 + 3𝑠𝑠 + 1 1
= 2
|𝑠𝑠=0 =
𝑠𝑠 + 3𝑠𝑠 + 2 2
22
Assessment
1. [Z(s)] matrix is obtained from
A. 𝑆𝑆 2 [𝑀𝑀] + 𝑆𝑆 2 [𝐶𝐶] + 𝑆𝑆 2 [𝐾𝐾]
B. 𝑆𝑆[𝑀𝑀] + 𝑆𝑆 2 [𝐶𝐶] + 𝑆𝑆 3 [𝐾𝐾]
C. [𝑀𝑀] + 𝑆𝑆[𝐶𝐶] + 𝑆𝑆 2 [𝐾𝐾]
D. 𝑆𝑆 2 [𝑀𝑀] + 𝑆𝑆[𝐶𝐶] + [𝐾𝐾]
23
8. If 𝑺𝑺𝟏𝟏,𝟐𝟐 = −𝜻𝜻𝝎𝝎𝒏𝒏 ± 𝒋𝒋𝝎𝝎𝒅𝒅 , the magnitude is equal to
A. Natural frequency
B. Damped natural frequency
C. Damping ratio
D. None of the above
24
3.0 Modeling of Control Systems
Learning Objectives:
1. To model the control system with block diagram and determine the transfer
function for the total system
2. To reduce the given block diagram with multiple blocks into single equivalent
block
3. To model the control system with signal flow graph and determine the transfer
function for the whole system
4. To find path transfer functions and loop transfer functions for applying Mason’s
formula
1. Blocks in Series
2. Feedback Loop
25
3. Moving Summing Point
a) Ahead to Behind
b) Behind to Ahead
a) Ahead to Behind
26
b) Behind to Ahead
27
Step-2 Minimize the feedback loop of G3G4H1
Step-3
𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 𝑯𝑯
Let 𝑲𝑲𝟏𝟏 = � �, 𝑲𝑲𝟐𝟐 = � 𝟐𝟐 � and minimize the feedback loop of G2K1K2
𝟏𝟏−𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 𝑯𝑯𝟏𝟏 𝑮𝑮𝟒𝟒
𝑮𝑮𝟐𝟐 𝑲𝑲𝟏𝟏
𝑷𝑷 =
𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑲𝑲𝟏𝟏 𝑲𝑲𝟐𝟐
𝑮𝑮𝟏𝟏 𝑷𝑷
𝑸𝑸 =
𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑯𝑯𝟑𝟑 𝑷𝑷
28
𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 (𝟏𝟏 − 𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 𝑯𝑯𝟏𝟏 )
=
(𝟏𝟏 − 𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 𝑯𝑯𝟏𝟏 ) (𝟏𝟏 − 𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 𝑯𝑯𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟐𝟐 )
Example:
𝑮𝑮𝟏𝟏
𝑷𝑷 =
𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑯𝑯𝟏𝟏
29
Step-2 Minimize the feedback loop P, G2, H2
30
Alternate Solution
This method is alternate to applying to the rules to minimize the blocks. In this method, the
output for each block is determined and then consolidated to find the transfer function for
a single equivalent block.
Step-1 Label the output from each block and summing points
Step-2 Write the equation, Output = (Input) (Transfer Function) for each block and simplify
to find Y = (T)(R) where T(s) is the Total or Equivalent transfer function.
𝑹𝑹𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐
𝑩𝑩(𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑯𝑯𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐 ) = 𝑹𝑹𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 ; 𝑩𝑩 =
𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑯𝑯𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐
31
3.3 Signal Flow Graph Models
“Signal flow graph” is also a viable method to model the control system. In this method
the input and output for each block is represented by “Nodes” designated by a circle and
the transfer function is represented by “Branches” designated by a line. The graph consists
of Nodes connected by Branches.
Path (or Branch): A line connecting one signal node with another Signal node. It represents
the transfer function (or the ratio of output to input)
Loop: A closed path that starts from output node and end at input node. It represents
feedback in the control system.
𝒀𝒀(𝒔𝒔)
Signal flow gain: 𝑻𝑻(𝒔𝒔) =
𝑹𝑹(𝒔𝒔)
The relation between paths and Signal flow gain (or transfer function) is given by Mason’s
∑(𝑷𝑷𝒌𝒌 △𝒌𝒌 )
formula, 𝑻𝑻 =
△
Where 𝑷𝑷𝒌𝒌 = 𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷 𝑷𝑷𝒐𝒐 𝒈𝒈𝒈𝒈𝒈𝒈𝒈𝒈𝒔𝒔 𝑷𝑷𝒈𝒈 𝒌𝒌𝑷𝑷𝒕𝒕 path from input, R(s) to output, Y(s)
Δ = determinant = 𝟏𝟏 − ∑𝑵𝑵
𝒈𝒈=𝟏𝟏 𝑳𝑳𝒈𝒈 + ∑ 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 − ∑ 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 𝑳𝑳𝒑𝒑 +⋅⋅⋅⋅⋅⋅
32
𝑳𝑳𝒈𝒈 = Loop gain, N = Number of Loops
𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 = Product of gains of all combinations of two loops that are not touching each other.
𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 𝑳𝑳𝒑𝒑 = Product of gains of all combinations of three loops that are not touching each
other.
= the value of Δ, after removing the loops, that are touching the kth path. (or the value of Δ
reduced by setting the loops touching the kth path to be zero)
N = 2 loops = L1 & L2
𝟐𝟐 𝟐𝟐
Since there is only one path, k = 1. So ∆𝒌𝒌 = ∆𝟏𝟏 = 𝟏𝟏, since the loops L1 & L2 touch the path.
L1 = 0 = L2
Overlapping Loop
Since L1 and L2 overlap, these loops are
assumed touching each other. So L1L2 = 0.
Δ=1-(L1+L2) ∆𝟏𝟏 = 𝟏𝟏
33
Sample for Touching loops:
∆= 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 ) + (𝑳𝑳𝟏𝟏 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 ) − 𝑳𝑳𝟏𝟏 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑
Multiple Path
2 Path:
Path-1 = R-A-B-C-Y
Path-2 = R-D-E-F-Y
k = 1,2 (2 paths)
N = 4 Loops
34
So, ∑ 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 = 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒
= 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 ) + (𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 )
3-Path:
N=6
k = 1, 2, 3
Path-1: L1 = 0 = L2
Path-2: L3 = 0 = L4
Path-3: L5 = 0 = L6
� 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 = 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟑𝟑 𝑳𝑳𝟓𝟓
� 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 𝑳𝑳𝒑𝒑 = 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 𝑳𝑳𝟓𝟓
35
k = 1: ∆𝟏𝟏 = ∆|𝑳𝑳𝟏𝟏 =𝟎𝟎,𝑳𝑳𝟐𝟐 =𝟎𝟎 = 𝟏𝟏 − (𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟔𝟔 ) + (𝑳𝑳𝟑𝟑 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟑𝟑 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟒𝟒 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟒𝟒 𝑳𝑳𝟔𝟔 )
k = 2: ∆𝟐𝟐 = ∆|𝑳𝑳𝟑𝟑 =𝟎𝟎,𝑳𝑳𝟒𝟒 =𝟎𝟎 = 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟔𝟔 ) + (𝑳𝑳𝟏𝟏 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟔𝟔 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟓𝟓 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟔𝟔 )
k = 3: ∆𝟑𝟑 = ∆|𝑳𝑳𝟓𝟓 =𝟎𝟎,𝑳𝑳𝟔𝟔 =𝟎𝟎 = 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 ) + (𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 )
Example:
For the given block diagram model, determine the signal flow graph model and find the
total transfer function.
Path gain, P1 = G1G2G3G4 = Product of T.F. along the path from input to output.
36
The loops L1, L2, and L3 overlap and hence they touch each other. So, the product (LnLm)
are zero.
For a single path, all the loops touch the path and hence set L1= 0, L2 = 0, L3 = 0 in Δ.
L1 = −G2G3H2
L2 = G3G4H1
L3 = −G1G2G3G4H3
Example:
For the given signal flow Graph, determine the transfer function.
𝒑𝒑𝟏𝟏 ∆𝟏𝟏
𝑻𝑻(𝒔𝒔) =
∆
Number of Path = 1; k = 1
Loop gain: 𝑳𝑳𝟏𝟏 = −𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟏𝟏 and 𝑳𝑳𝟐𝟐 = −𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐
37
∆= 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 )
∆𝟏𝟏 = ∆|𝑳𝑳𝟏𝟏 =𝟎𝟎,𝑳𝑳𝟐𝟐 =𝟎𝟎 = 𝟏𝟏 (𝑺𝑺𝒈𝒈𝒈𝒈𝑷𝑷𝑺𝑺 𝒃𝒃𝑷𝑷𝑷𝑷𝒕𝒕 𝑷𝑷𝒕𝒕𝑺𝑺 𝒍𝒍𝑷𝑷𝑷𝑷𝒑𝒑𝒔𝒔 𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝑷𝒕𝒕 𝑷𝑷𝒕𝒕𝑺𝑺 𝒑𝒑𝒈𝒈𝑷𝑷𝒕𝒕)
This signal flow graph model can be represented as block diagram model as given below.
38
Step-2 Minimize 𝑮𝑮𝟐𝟐 , 𝑮𝑮𝟑𝟑 , 𝑯𝑯𝟏𝟏 feedback loop
𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑
𝑷𝑷 =
𝟏𝟏+𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟏𝟏
𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑
𝑮𝑮𝟏𝟏 𝑮𝑮𝟑𝟑 ( )
𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟏𝟏
= � 𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐
𝑮𝑮𝟑𝟑 �𝟏𝟏 + �
𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟏𝟏
Example:
𝒑𝒑𝟏𝟏 ∆𝟏𝟏
𝑻𝑻(𝒔𝒔) =
∆
∆𝟏𝟏 = 𝟏𝟏
39
𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑
𝑻𝑻(𝒔𝒔) =
(𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑯𝑯𝟏𝟏 + 𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑯𝑯𝟐𝟐 )
Example:
∑ 𝑷𝑷𝒌𝒌 ∆𝒌𝒌 𝟏𝟏
𝑻𝑻(𝒔𝒔) = = (𝑷𝑷𝟏𝟏 ∆𝟏𝟏 + 𝑷𝑷𝟐𝟐 ∆𝟐𝟐 )
∆ ∆
Number of Paths = 2; k = 1, 2
Path gain,
Number of loops = 4
Loop gain: 𝑳𝑳𝟏𝟏 = −𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐 ; 𝑳𝑳𝟐𝟐 = −𝑮𝑮𝟑𝟑 𝑯𝑯𝟑𝟑 ; 𝑳𝑳𝟑𝟑 = −𝑮𝑮𝟔𝟔 𝑯𝑯𝟔𝟔 ; 𝑳𝑳𝟒𝟒 = −𝑮𝑮𝟕𝟕 𝑯𝑯𝟕𝟕
� 𝑳𝑳𝒈𝒈 = 𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 = −(𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐 + 𝑮𝑮𝟑𝟑 𝑯𝑯𝟑𝟑 + 𝑮𝑮𝟔𝟔 𝑯𝑯𝟔𝟔 + 𝑮𝑮𝟕𝟕 𝑯𝑯𝟕𝟕 )
� 𝑳𝑳𝒈𝒈 𝑳𝑳𝒎𝒎 = 𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒
∆= 𝟏𝟏 − (𝑳𝑳𝟏𝟏 + 𝑳𝑳𝟐𝟐 + 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟒𝟒 ) + (𝑳𝑳𝟏𝟏 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟏𝟏 𝑳𝑳𝟒𝟒 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟑𝟑 + 𝑳𝑳𝟐𝟐 𝑳𝑳𝟒𝟒 )
𝑻𝑻(𝒔𝒔)
(𝑮𝑮𝟏𝟏 𝑮𝑮𝟐𝟐 𝑮𝑮𝟑𝟑 𝑮𝑮𝟒𝟒 )(𝟏𝟏 + 𝑮𝑮𝟔𝟔 𝑯𝑯𝟔𝟔 + 𝑮𝑮𝟕𝟕 𝑯𝑯𝟕𝟕 ) + (𝑮𝑮𝟓𝟓 𝑮𝑮𝟔𝟔 𝑮𝑮𝟕𝟕 𝑮𝑮𝟖𝟖 )(𝟏𝟏 + 𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐 + 𝑮𝑮𝟑𝟑 𝑯𝑯𝟑𝟑 )
=
[𝟏𝟏 + (𝑮𝑮𝟐𝟐 𝑯𝑯𝟐𝟐 + 𝑮𝑮𝟑𝟑 𝑯𝑯𝟑𝟑 + 𝑮𝑮𝟔𝟔 𝑯𝑯𝟔𝟔 + 𝑮𝑮𝟕𝟕 𝑯𝑯𝟕𝟕 ) + (𝑮𝑮𝟐𝟐 𝑮𝑮𝟔𝟔 𝑯𝑯𝟐𝟐 𝑯𝑯𝟔𝟔 + 𝑮𝑮𝟐𝟐 𝑮𝑮𝟕𝟕 𝑯𝑯𝟐𝟐 𝑯𝑯𝟕𝟕 + 𝑮𝑮𝟑𝟑 𝑮𝑮𝟔𝟔 𝑯𝑯𝟑𝟑 𝑯𝑯𝟔𝟔 + 𝑮𝑮𝟑𝟑 𝑮𝑮𝟕𝟕 𝑯𝑯𝟑𝟑 𝑯𝑯𝟕𝟕 )]
40
Assessment
(b) G1+G2
(c) G1-G2
(d) G1*G2
2. When you move the summing point from behind to ahead, the input ‘R2’ becomes
(a) R2+G
(b) R2/G
(c) R2-G
(d) R2*G
3. When you move the Pick-off point from ahead to behind, the Pick-off value is
(a) Divided by G
(b) Multiplied by G
(b) Output
41
5. In SFG, the lines (Branches) represent,
(a) The total transfer function
(c) T(s)=P1∆1/∆
42
9. For two paths,
(a) T(s)= (P1+P2) ( ∆1+∆2)/ ∆
43
4.0 Characteristics of Control System
Learning Objectives:
1) To study the role of error signals in negative feedback control system
2) To minimize the System Sensitivity to parameter changes and unwanted
disturbance or noise.
3) To apply the final value theorem to determine the Steady State error.
The error is defined as the difference between input (desired output) and output (actual
output). E(s) = R(s) -Y(s)
N =Noise
Td = Disturbance
H = 1 (unit feedback)
G = Plant T.F.
Gc = Controller T.F.
Y1 = Y+N
A1 = R – Y2; Y2 = Y1H = Y1
A1 = R – Y1 = R – Y – N
A2 = A1Gc = Gc (R – Y – N)
A3 = A2 + Td = Td + GcR –GcY –GcN
Y = A3G = GTd + GGcR – GGcY –GGcN
Y(1 + GGc) = GTd + GGcR – GGcN
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 𝐺𝐺𝐺𝐺𝑐𝑐
𝑌𝑌 = ( )𝑅𝑅 + ( )𝑇𝑇𝑑𝑑 − ( )𝑁𝑁
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 1 + 𝐺𝐺𝐺𝐺𝑐𝑐 1 + 𝐺𝐺𝐺𝐺𝑐𝑐
Let L =𝐺𝐺𝐺𝐺𝑐𝑐 , the Loop Transfer function (forward Loop)
𝐿𝐿 𝐺𝐺 𝐿𝐿
𝑌𝑌 = ( )𝑅𝑅 + ( )𝑇𝑇𝑑𝑑 − ( )𝑁𝑁
1 + 𝐿𝐿 1 + 𝐿𝐿 1 + 𝐿𝐿
45
1 𝐺𝐺 𝐿𝐿
Tracking Error, 𝐸𝐸(𝑠𝑠) = 𝑅𝑅(𝑠𝑠) − 𝑌𝑌(𝑠𝑠) = 𝑅𝑅( )−( )𝑇𝑇𝑑𝑑 + ( )𝑁𝑁
1+𝐿𝐿 1+𝐿𝐿 1+𝐿𝐿
1
Let 𝑆𝑆 = = 𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
1+𝐿𝐿
𝐿𝐿
𝐶𝐶 = = 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓
1 + 𝐿𝐿
= 1 − 𝑆𝑆 ; 𝑆𝑆 + 𝐶𝐶 = 1
So, 𝑌𝑌 = 𝐶𝐶𝐶𝐶 + 𝐺𝐺𝐺𝐺𝑇𝑇𝑑𝑑 − 𝐶𝐶𝐶𝐶;
𝐸𝐸 = 𝑆𝑆𝑆𝑆 − 𝐺𝐺𝐺𝐺𝑇𝑇𝑑𝑑 + 𝐶𝐶𝐶𝐶
Disturbance
To minimize the disturbance, the Sensitivity ‘S’ should be small.
1
Since 𝑆𝑆 = ; ‘L’ should be large. Since 𝐿𝐿 = 𝐺𝐺𝐺𝐺𝑐𝑐 , ‘𝐺𝐺𝑐𝑐 ’ should be large for given ‘G’.
1+𝐿𝐿
So, we need to design a controller with large gain ‘𝐺𝐺𝑐𝑐 ’ over the required range of
frequencies. A typical frequency for disturbance is at low frequency range.
Noise
To minimize the noise, the complementary sensitivity function, ‘C’ should be small.
𝐿𝐿
Since 𝐶𝐶 = ; ‘L’ should be small.
1+𝐿𝐿
Since 𝐿𝐿 = 𝐺𝐺𝐺𝐺𝑐𝑐 , “𝐺𝐺𝑐𝑐 ” should be small over the required range of frequencies. So, the
controller gain should be large to reject the disturbance and it should be small to attenuate
the noise. It is difficult to achieve over the same frequency range. However, the typical
frequency range for disturbance is low and for noise is high. Therefore, the control
system can be designed such that the loop gain, “L” is large at low frequencies (to
minimize the disturbance) and small at high frequencies (to minimize the noise).
46
4.2 Sensitivity Analysis
𝐿𝐿 𝐺𝐺 𝐿𝐿
𝑌𝑌(𝑠𝑠) = ( )𝑅𝑅 + ( )𝑇𝑇𝑑𝑑 − ( )𝑁𝑁
1 + 𝐿𝐿 1 + 𝐿𝐿 1 + 𝐿𝐿
𝐿𝐿
𝐹𝐹𝑓𝑓𝐶𝐶 𝑇𝑇𝑑𝑑 = 0 = 𝑁𝑁, 𝑌𝑌 = 𝑅𝑅
1 + 𝐿𝐿
𝐼𝐼𝑓𝑓 𝐿𝐿 ≫ 1, 1 + 𝐿𝐿 ≈ 𝐿𝐿, 𝑌𝑌 ≈ 𝑅𝑅
1 𝐺𝐺 𝐿𝐿
𝐸𝐸(𝑠𝑠) = ( )𝑅𝑅 − ( )𝑇𝑇𝑑𝑑 + ( )𝑁𝑁
1 + 𝐿𝐿 1 + 𝐿𝐿 1 + 𝐿𝐿
1
𝐹𝐹𝑓𝑓𝐶𝐶 𝑇𝑇𝑑𝑑 = 0 = 𝑁𝑁, 𝐸𝐸 = ( )𝑅𝑅
1 + 𝐿𝐿
1
𝐼𝐼𝑓𝑓 𝐿𝐿 ≫ 1, 𝐸𝐸 ≈ ( )𝑅𝑅
𝐿𝐿
Since 𝐿𝐿 = 𝐺𝐺𝐺𝐺𝑐𝑐 and if 𝐺𝐺𝑐𝑐 is large, any small change in plant transfer function, G does not
affect sensitivity.
System Sensitivity
𝑌𝑌(𝑠𝑠)
System transfer function 𝑇𝑇(𝑠𝑠) =
𝑅𝑅(𝑠𝑠)
𝐺𝐺𝑐𝑐 𝐺𝐺
𝑌𝑌(𝑠𝑠) = ( )𝑅𝑅(𝑠𝑠)
1 + 𝐺𝐺𝑐𝑐 𝐺𝐺
𝑌𝑌(𝑠𝑠) 𝐺𝐺𝑐𝑐 𝐺𝐺
𝑇𝑇(𝑠𝑠) = =
𝑅𝑅(𝑠𝑠) 1 + 𝐺𝐺𝑐𝑐 𝐺𝐺
𝜕𝜕𝑇𝑇 (1 + 𝐺𝐺𝑐𝑐 𝐺𝐺)𝐺𝐺𝑐𝑐 − 𝐺𝐺𝑐𝑐 𝐺𝐺(𝐺𝐺𝑐𝑐 ) 𝐺𝐺𝑐𝑐
= 2
=
𝜕𝜕𝐺𝐺 (1 + 𝐺𝐺𝑐𝑐 𝐺𝐺) (1 + 𝐺𝐺𝑐𝑐 𝐺𝐺)2
𝜕𝜕𝑇𝑇 𝐺𝐺 𝐺𝐺𝑐𝑐 𝐺𝐺(1 + 𝐺𝐺𝑐𝑐 𝐺𝐺) 1 1
𝑆𝑆𝐺𝐺𝑇𝑇 = ( ) = 2
= =
𝜕𝜕𝐺𝐺 𝑇𝑇 (1 + 𝐺𝐺𝑐𝑐 𝐺𝐺) 𝐺𝐺𝑐𝑐 𝐺𝐺 1 + 𝐺𝐺𝑐𝑐 𝐺𝐺 1 + 𝐿𝐿
If 𝐺𝐺 = 𝑓𝑓(𝛼𝛼); sensitivity of T with respect to 𝛼𝛼,
𝑆𝑆𝛼𝛼𝑇𝑇 = 𝑆𝑆𝐺𝐺𝑇𝑇 𝑆𝑆𝛼𝛼𝐺𝐺
47
Error and System Sensitivity
𝑌𝑌 𝐺𝐺
Transfer Function, 𝑇𝑇 = = ;
𝑅𝑅 1+𝐺𝐺𝐺𝐺
𝑇𝑇 1
For unity feedback, H=1; 𝑆𝑆𝐺𝐺 =
1+𝐺𝐺
𝑌𝑌 𝐺𝐺
Error, 𝐸𝐸 = 𝑅𝑅 − 𝑌𝑌 = 𝑅𝑅(1 − ) = 𝑅𝑅(1 − 𝑇𝑇) = 𝑅𝑅 �1 − �
𝑅𝑅 1+𝐺𝐺𝐺𝐺
𝐸𝐸 1 + 𝐺𝐺(𝐺𝐺 − 1)
=
𝑅𝑅 1 + 𝐺𝐺𝐺𝐺
For H=1,
𝐸𝐸 1
= = 𝑆𝑆𝐺𝐺𝑇𝑇
𝑅𝑅 1 + 𝐺𝐺
Example.
𝐾𝐾 𝐺𝐺
Given, 𝐺𝐺 = ; 𝑇𝑇 =
𝜏𝜏𝑠𝑠+1 1+𝐺𝐺
48
𝜕𝜕𝐺𝐺 𝜏𝜏 𝐾𝐾𝑠𝑠 𝜏𝜏 𝜏𝜏𝑠𝑠
𝑆𝑆𝜏𝜏𝐺𝐺 = ( ) =− 2
(𝜏𝜏𝑠𝑠 + 1) = −
𝜕𝜕𝜏𝜏 𝐺𝐺 (𝜏𝜏𝑠𝑠 + 1) 𝐾𝐾 (𝜏𝜏𝑠𝑠 + 1)
(𝜏𝜏𝑠𝑠 + 1) 𝜏𝜏𝑠𝑠 𝜏𝜏𝑠𝑠
𝑆𝑆𝜏𝜏𝑇𝑇 = 𝑆𝑆𝐺𝐺𝑇𝑇 𝑆𝑆𝜏𝜏𝐺𝐺 = (− )=−
(𝜏𝜏𝑠𝑠 + 1 + 𝐾𝐾) 𝜏𝜏𝑠𝑠 + 1 (𝜏𝜏𝑠𝑠 + 1 + 𝐾𝐾)
Disturbance Signal
It is an unwanted input signal that affect the output. For example, a car running over a
speed bump experiences an impulse as disturbance. It is an unwanted input to the cruise
control system of the car.
49
𝐺𝐺2
(𝐸𝐸)𝑑𝑑 = − � � 𝑇𝑇
1 + 𝐺𝐺1 𝐺𝐺2 𝑑𝑑
If 𝐺𝐺1 𝐺𝐺2 ≫ 1; 1 + 𝐺𝐺1 𝐺𝐺2 ≈ 𝐺𝐺1 𝐺𝐺2
𝐺𝐺2 1
(𝐸𝐸)𝑑𝑑 = − � � 𝑇𝑇𝑑𝑑 = −( )𝑇𝑇𝑑𝑑
𝐺𝐺1 𝐺𝐺2 𝐺𝐺1
To minimize the error due to disturbance, the gain of G1 should be large. Here ‘G1’
represents the controller gain. It agrees with previous conclusion that the controller
should be designed with large gain to minimize the effect of disturbance.
Noise attenuation
The error function in general,
𝐸𝐸 = (𝑠𝑠)𝑅𝑅 − (𝐺𝐺𝑠𝑠)𝑇𝑇𝑑𝑑 + (𝐶𝐶)𝑁𝑁
The error due to Noise can be obtained by assuming, R = 0 = Td
Then,
𝐿𝐿
(𝐸𝐸)𝑁𝑁 = (𝐶𝐶)𝑁𝑁 = � � 𝑁𝑁
1 + 𝐿𝐿
The error due to noise is low if the loop gain, L is low. Since 𝐿𝐿 = 𝐺𝐺𝐺𝐺𝑐𝑐 , it leads to the
controller gain 𝐺𝐺𝑐𝑐 to be low. Small loop gain ensures good noise attenuation while large
loop gain ensures rejection of disturbance. Therefore, the controller should have high
gain at low frequencies to minimize the effect of disturbance and low gain at high
frequencies to minimize the effect of noise.
Example.
50
𝐴𝐴1 = 𝑅𝑅 − 𝑌𝑌2 = 𝑅𝑅 − 𝐺𝐺𝑌𝑌 − 𝐺𝐺𝑁𝑁
𝐴𝐴2 = 𝐴𝐴1 𝐺𝐺𝑐𝑐 = 𝐺𝐺𝑐𝑐 𝑅𝑅 − 𝐺𝐺𝑐𝑐 𝐺𝐺𝑌𝑌 − 𝐺𝐺𝑐𝑐 𝐺𝐺𝑁𝑁
𝑌𝑌 = 𝐴𝐴2 𝐺𝐺 = 𝐺𝐺𝐺𝐺𝑐𝑐 𝑅𝑅 − 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝑌𝑌 − 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝑁𝑁
𝑌𝑌(1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺) = 𝐺𝐺𝐺𝐺𝑐𝑐 𝑅𝑅 − 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝑁𝑁
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
𝑌𝑌 = ( )𝑅𝑅 − ( )𝑁𝑁
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
𝐸𝐸 = 𝑅𝑅 − 𝑌𝑌 = �1 − � 𝑅𝑅 + � �N
1+𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 1+𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
Or
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0
Example:
𝐾𝐾
If 𝐺𝐺(𝑠𝑠) = 𝐶𝐶𝑆𝑆𝑑𝑑 𝑅𝑅(𝑠𝑠) = 1/𝑠𝑠 ; find the value of K for the steady state error to be zero.
𝜏𝜏𝑠𝑠+1
Open Loop:
𝑌𝑌 = 𝑅𝑅𝐺𝐺
1 𝐾𝐾
𝐸𝐸 = 𝑅𝑅 − 𝑌𝑌 = 𝑅𝑅(1 − 𝐺𝐺) = �1 − �
𝑠𝑠 𝜏𝜏𝑠𝑠 + 1
𝐾𝐾
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = �1 − � = 1 − 𝐾𝐾
𝜏𝜏𝑠𝑠 + 1 𝑠𝑠=0
The steady state error, 𝑆𝑆𝑠𝑠𝑠𝑠 = 0 at K = 1
51
Closed Loop:
𝑌𝑌 𝐺𝐺
𝑇𝑇(𝑠𝑠) = =
𝑅𝑅 1 + 𝐺𝐺
𝑌𝑌 𝐺𝐺 1
𝐸𝐸(𝑠𝑠) = 𝑅𝑅 − 𝑌𝑌 = 𝑅𝑅 �1 − � = 𝑅𝑅(1 − 𝑇𝑇) = 𝑅𝑅 �1 − � = 𝑅𝑅 � �
𝑅𝑅 1 + 𝐺𝐺 1 + 𝐺𝐺
1 𝜏𝜏𝑠𝑠 + 1
𝐸𝐸(𝑠𝑠) = =
𝐾𝐾 𝑠𝑠[𝜏𝜏𝑠𝑠 + 1 + 𝐾𝐾]
𝑠𝑠 �1 + �
𝜏𝜏𝑠𝑠 + 1
𝜏𝜏𝑠𝑠 + 1 1
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � � =
𝜏𝜏𝑠𝑠 + 1 + 𝐾𝐾 𝑆𝑆=0 1 + 𝐾𝐾
The steady state error will be minimum at large value of ‘K’. It will be zero when the
value of ‘K’ is infinity.
Example.
We derived the error function for a system with noise.
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
𝐸𝐸 = 𝑅𝑅 �1 − �+� � 𝑁𝑁
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺
100 1 1
If 𝐺𝐺(𝑆𝑆) = ; 𝐺𝐺𝑐𝑐 = 𝐾𝐾; 𝐺𝐺 = ; 𝑅𝑅 = = 𝑁𝑁;
𝑆𝑆+100 𝑠𝑠+5 𝑠𝑠
Determine the steady state error for the cases (a) N = 0 and (b) R = 0
(a) N = 0, R = 1/s
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 − 𝐺𝐺𝐺𝐺𝑐𝑐 1
𝐸𝐸(𝑠𝑠) = � �� �
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 𝑠𝑠
100𝐾𝐾 100𝐾𝐾
𝐺𝐺𝐺𝐺𝑐𝑐 = ; 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 =
𝑠𝑠 + 100 (𝑠𝑠 + 100)(𝑠𝑠 + 5)
100𝐾𝐾 100𝐾𝐾
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 − 𝐺𝐺𝐺𝐺𝑐𝑐 = 1 + −
(𝑠𝑠 + 100)(𝑠𝑠 + 5) 𝑠𝑠 + 100
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾 − 100𝐾𝐾(𝑠𝑠 + 5)
=
(𝑠𝑠 + 100)(𝑠𝑠 + 5)
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 =
(𝑠𝑠 + 100)(𝑠𝑠 + 5)
52
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾 − 100𝐾𝐾(𝑠𝑠 + 5)
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � �
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾 𝑠𝑠=0
500 − 400𝐾𝐾 5 − 4𝐾𝐾
𝑆𝑆𝑠𝑠𝑠𝑠 = =
500 + 100𝐾𝐾 5 + 𝐾𝐾
For 𝑆𝑆𝑠𝑠𝑠𝑠 = 0, 𝐾𝐾 = 5/4 = 1.25
(b) R = 0, N = 1/s
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 1
𝐸𝐸(𝑠𝑠) = � �� �
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 𝑠𝑠
100𝐾𝐾
𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 =
(𝑠𝑠 + 100)(𝑠𝑠 + 5)
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝐺𝐺 =
(𝑠𝑠 + 100)(𝑠𝑠 + 5)
100𝐾𝐾 100𝐾𝐾 𝐾𝐾
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � � = =
(𝑠𝑠 + 100)(𝑠𝑠 + 5) + 100𝐾𝐾 𝑠𝑠=0 500 + 100𝐾𝐾 5 + 𝐾𝐾
The steady state error will be minimum for lower value of controller gain.
For 𝐾𝐾 = 1, 𝑆𝑆𝑠𝑠𝑠𝑠 = 1/6
Example.
10
Given: 𝐺𝐺𝑐𝑐 = 𝐾𝐾 & 𝐺𝐺(𝑠𝑠) =
𝑠𝑠(𝑠𝑠+2)
Determine the controller gain, K for ramp input such that the steady state error is 1%.
1
For ramp input, (𝑠𝑠) = ; steady state error, 𝑆𝑆𝑠𝑠𝑠𝑠 = 0.01
𝑠𝑠 2
𝑌𝑌 𝐺𝐺𝐺𝐺𝑐𝑐
System Transfer function, 𝑇𝑇(𝑠𝑠) = =
𝑅𝑅 1+𝐺𝐺𝐺𝐺𝑐𝑐
Error function,
1 𝐺𝐺𝐺𝐺𝑐𝑐 1 1
𝐸𝐸 = 𝑅𝑅(1 − 𝑇𝑇) = �1 − � = � �
𝑠𝑠 2 1 + 𝐺𝐺𝐺𝐺𝑐𝑐 𝑠𝑠 2 1 + 𝐺𝐺𝐺𝐺𝑐𝑐
53
10𝐾𝐾 𝑠𝑠(𝑠𝑠 + 2) + 10𝐾𝐾
1 + 𝐺𝐺𝐺𝐺𝑐𝑐 = 1 + =
𝑠𝑠(𝑠𝑠 + 2) 𝑠𝑠(𝑠𝑠 + 2)
1 𝑠𝑠(𝑠𝑠 + 2) 1 𝑠𝑠 + 2
𝐸𝐸(𝑠𝑠) = 2
� �= � �
𝑠𝑠 𝑠𝑠(𝑠𝑠 + 2) + 10𝐾𝐾 𝑠𝑠 𝑠𝑠(𝑠𝑠 + 2) + 10𝐾𝐾
𝑠𝑠 + 2 2
𝑆𝑆𝑠𝑠𝑠𝑠 = [𝑠𝑠𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � � =
𝑠𝑠(𝑠𝑠 + 2) + 10𝐾𝐾 𝑠𝑠=0 10𝐾𝐾
1
0.01 = , 𝐾𝐾 = 20
5𝐾𝐾
Time Constant
Time constant is defined as time taken for the output to change due to applied step input.
Standard format for first order system transfer function is
1
𝐺𝐺(𝑠𝑠) =
𝜏𝜏𝑐𝑐 𝑠𝑠 + 1
The coefficient of s, “𝜏𝜏𝑐𝑐 ” is the time constant.
𝑌𝑌 1 1
Let = 𝐺𝐺 = ; 𝑅𝑅 =
𝑅𝑅 𝜏𝜏𝑐𝑐 𝑠𝑠+1 𝑠𝑠
1 1 𝜏𝜏𝑐𝑐
𝑌𝑌 = = −
𝑠𝑠(𝜏𝜏𝑐𝑐 𝑠𝑠 + 1) 𝑠𝑠 𝜏𝜏𝑐𝑐 𝑠𝑠 + 1
1 1
𝑌𝑌(𝑠𝑠) = −
𝑠𝑠 𝑠𝑠 + 1
𝜏𝜏𝑐𝑐
𝑡𝑡 1 @ 𝜏𝜏𝑐𝑐 = 0
𝑆𝑆(𝑆𝑆) = 1 − 𝑆𝑆 − �𝜏𝜏𝑐𝑐 = �
0 @𝜏𝜏𝑐𝑐 = ∞
Example:
𝐾𝐾
Let 𝐺𝐺(𝑠𝑠) =
𝑎𝑎𝑠𝑠+𝑏𝑏
Open Loop
54
𝑌𝑌 𝐾𝐾
𝑇𝑇 = = 𝐺𝐺 =
𝑅𝑅 𝐶𝐶𝑠𝑠 + 𝑏𝑏
𝐾𝐾 1 𝐾𝐾1
In standard format, 𝑇𝑇 = � �=
𝑏𝑏 (𝑎𝑎/𝑏𝑏)𝑠𝑠+1 𝜏𝜏𝑐𝑐 𝑠𝑠+1
Closed Loop
𝑌𝑌 𝐺𝐺 𝐾𝐾 𝐾𝐾
𝑇𝑇 = = =� ���1 + �
𝑅𝑅 1 + 𝐺𝐺 𝐶𝐶𝑠𝑠 + 𝑏𝑏 𝐶𝐶𝑠𝑠 + 𝑏𝑏
𝐾𝐾 𝐾𝐾 1 𝐾𝐾
𝑇𝑇(𝑠𝑠) = = � �=
𝐶𝐶𝑠𝑠 + (𝑏𝑏 + 𝐾𝐾) (𝑏𝑏 + 𝐾𝐾) �𝐶𝐶� 𝜏𝜏𝑐𝑐 𝑠𝑠 + 1
(𝑏𝑏 + 𝑘𝑘)� 𝑠𝑠 + 1
Time constant, 𝜏𝜏𝑐𝑐 = 𝐶𝐶/(𝑏𝑏 + 𝐾𝐾); 𝑘𝑘1 = 𝐾𝐾/(𝑏𝑏 + 𝐾𝐾)
For closed loop, 𝜏𝜏𝑐𝑐 = 𝐶𝐶�(𝑏𝑏 + 𝐾𝐾) = 1�32 = 0.03 𝑠𝑠𝑆𝑆𝑓𝑓; 𝐾𝐾1 = 15�16
55
Blood Pressure Control during Anesthesia
Objective:
To develop an automated system to regulate the depth of anesthesia. If the depth is low,
the patient will feel greater pain and if the depth is high, the patient will die or become
comatose. To measure the depth of anesthesia, the parameter used in general is Mean
Arterial Pressure (MAP). The level of MAP serves as a guide for the delivery of
anesthesia.
The control system is given below:
1
Let 𝐺𝐺𝑐𝑐 (𝑠𝑠) = [𝑘𝑘𝐷𝐷 𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼 ] 𝑤𝑤ℎ𝑆𝑆𝐶𝐶𝑆𝑆 𝑘𝑘𝐷𝐷 , 𝑘𝑘𝑃𝑃 , 𝑘𝑘𝐼𝐼 𝐶𝐶𝐶𝐶𝑆𝑆 𝑓𝑓𝑓𝑓𝑆𝑆𝑆𝑆𝐶𝐶𝑓𝑓𝐶𝐶𝐶𝐶𝑆𝑆𝐶𝐶 𝑔𝑔𝐶𝐶𝑆𝑆𝑆𝑆𝑠𝑠
𝑠𝑠
1 1
𝐺𝐺𝑝𝑝 (𝑠𝑠) = ; 𝐺𝐺(𝑠𝑠) = ; 𝐺𝐺(𝑠𝑠) = 1
𝑠𝑠 (𝑠𝑠 + 𝐶𝐶)2
𝑅𝑅(𝑠𝑠) = 𝑅𝑅0 ⁄𝑠𝑠 (𝑠𝑠𝑆𝑆𝑆𝑆𝐶𝐶 𝑆𝑆𝑆𝑆𝐶𝐶𝑓𝑓𝑆𝑆); 𝑇𝑇𝑑𝑑 (𝑠𝑠) = 𝐷𝐷0 ⁄𝑠𝑠 (𝑠𝑠𝑆𝑆𝑆𝑆𝐶𝐶 𝑑𝑑𝑆𝑆𝑠𝑠𝑆𝑆𝑓𝑓𝐶𝐶𝑏𝑏𝐶𝐶𝑆𝑆𝑓𝑓𝑆𝑆)
𝐴𝐴1 = 𝑅𝑅 − 𝑌𝑌, 𝑠𝑠𝑆𝑆𝑆𝑆𝑓𝑓𝑆𝑆 𝐺𝐺 = 1
𝐴𝐴2 = 𝐺𝐺𝑐𝑐 𝐴𝐴1 = 𝐺𝐺𝑐𝑐 𝑅𝑅 − 𝐺𝐺𝑐𝑐 𝑌𝑌
𝐴𝐴3 = 𝐺𝐺𝑝𝑝 𝐴𝐴2 = 𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝑅𝑅 − 𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝑌𝑌
𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝐺𝐺
𝑌𝑌(𝑠𝑠) = � � 𝑅𝑅 − � � 𝑇𝑇
1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝑑𝑑
1 𝐺𝐺
𝐸𝐸(𝑠𝑠) = 𝑅𝑅(𝑠𝑠) − 𝑌𝑌(𝑠𝑠) = � � 𝑅𝑅 + � � 𝑇𝑇
1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝑑𝑑
56
Steady state error when 𝐓𝐓𝐝𝐝 = 𝟎𝟎
𝑘𝑘𝐷𝐷 𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼 𝑘𝑘𝐷𝐷 𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼
𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 = =
𝑠𝑠 2 (𝑠𝑠 + 𝑝𝑝)2 𝑠𝑠 4 + 2𝑝𝑝𝑝𝑝 3 + 𝑝𝑝2 𝑠𝑠 2
1 𝑅𝑅0 𝑠𝑠 4 + 2𝑝𝑝𝑝𝑝 3 + 𝑝𝑝2 𝑠𝑠 2 𝑅𝑅0
𝐸𝐸(𝑠𝑠) = � �� � = � 4 � � �
1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 𝑠𝑠 𝑠𝑠 + 2𝑝𝑝𝑝𝑝 3 + (𝑝𝑝2 + 𝑘𝑘𝐷𝐷 )𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼 𝑠𝑠
−𝐷𝐷0 𝑠𝑠 2
𝑙𝑙𝑙𝑙𝑙𝑙 𝑦𝑦(𝑡𝑡) = 𝑙𝑙𝑙𝑙𝑙𝑙[𝑠𝑠𝑠𝑠(𝑠𝑠)] = 4 = 0 @ 𝑠𝑠 = 0
𝑡𝑡→∞ 𝑠𝑠→0 [𝑠𝑠 + 2𝑝𝑝𝑝𝑝 3 + (𝑝𝑝2 + 𝑘𝑘𝐷𝐷 )𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼 ]
The step disturbance (surgical disturbance) of magnitude, D0 does not affect the steady
state output.
Sensitivity of closed loop T.F. to changes in ‘p’, the MAP. (𝐓𝐓𝐝𝐝 = 𝟎𝟎)
𝑆𝑆𝑝𝑝𝑇𝑇 = 𝑆𝑆𝐺𝐺𝑇𝑇 𝑆𝑆𝑝𝑝𝐺𝐺
𝑌𝑌 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐
𝑇𝑇 = =
𝑅𝑅 1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐
𝜕𝜕𝜕𝜕 �(1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 )(𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 ) − (𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 )(𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 )� 𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐
= 2
=
𝜕𝜕𝜕𝜕 (1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 ) (1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 )2
𝜕𝜕𝜕𝜕 𝐺𝐺 𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 (1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 ) 1
𝑆𝑆𝐺𝐺𝑇𝑇 = � �� � = =
𝜕𝜕𝜕𝜕 𝑇𝑇 (1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 )2 𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐
1
𝐺𝐺 =
(𝑠𝑠 + 𝑝𝑝)2
𝜕𝜕𝜕𝜕 (𝑠𝑠 + 𝑝𝑝)2 (0) − 2(𝑠𝑠 + 𝑝𝑝) −2
= =
𝜕𝜕𝜕𝜕 (𝑠𝑠 + 𝑝𝑝)4 (𝑠𝑠 + 𝑝𝑝)3
57
𝜕𝜕𝐺𝐺 𝐶𝐶 −2 2𝐶𝐶
𝑆𝑆𝑝𝑝𝐺𝐺 = � �� � = 3
𝐶𝐶(𝑠𝑠 + 𝐶𝐶)2 = −
𝜕𝜕𝜕𝜕 𝐺𝐺 (𝑠𝑠 + 𝐶𝐶) 𝑠𝑠 + 𝐶𝐶
1 𝑠𝑠 2 (𝑠𝑠 + 𝐶𝐶)2
𝑆𝑆𝐺𝐺𝑇𝑇 = = 4
1 + 𝐺𝐺𝐺𝐺𝑝𝑝 𝐺𝐺𝑐𝑐 [𝑠𝑠 + 2𝐶𝐶𝑠𝑠 3 + (𝐶𝐶2 + 𝑘𝑘𝐷𝐷 )𝑠𝑠 2 + 𝑘𝑘𝑃𝑃 𝑠𝑠 + 𝑘𝑘𝐼𝐼 ]
1 1
𝐺𝐺(𝑠𝑠) = = 2
(𝑠𝑠 + 1)(𝑠𝑠 + 3) (𝑠𝑠 + 4𝑠𝑠 + 3)
𝐴𝐴1 = 𝑅𝑅 − 𝑌𝑌
𝐴𝐴2 = 𝐴𝐴1 𝐾𝐾 = 𝐾𝐾𝑅𝑅 − 𝐾𝐾𝑌𝑌
𝐴𝐴3 = 𝑇𝑇𝑑𝑑 + 𝐴𝐴2 = 𝑇𝑇𝑑𝑑 + 𝐾𝐾𝑅𝑅 − 𝐾𝐾𝑌𝑌
𝑌𝑌 = 𝐺𝐺𝐴𝐴3 = 𝐺𝐺𝑇𝑇𝑑𝑑 + 𝐺𝐺𝐾𝐾𝑅𝑅 − 𝐺𝐺𝐾𝐾𝑌𝑌
𝑌𝑌(1 + 𝐺𝐺𝐾𝐾) = (𝐺𝐺𝐾𝐾)𝑅𝑅 − 𝐺𝐺𝑇𝑇𝑑𝑑
𝐺𝐺𝐾𝐾 𝐺𝐺
𝑌𝑌(𝑠𝑠) = � � 𝑅𝑅 − � � 𝑇𝑇
1 + 𝐺𝐺𝐾𝐾 1 + 𝐺𝐺𝐾𝐾 𝑑𝑑
Sensitivity of T(s) when 𝑇𝑇𝑑𝑑 = 0
𝑌𝑌 𝐺𝐺𝐾𝐾
𝑇𝑇 = =
𝑅𝑅 1 + 𝐺𝐺𝐾𝐾
58
𝜕𝜕𝜕𝜕 𝐾𝐾
𝑆𝑆𝐾𝐾𝑇𝑇 = � �� �
𝜕𝜕𝜕𝜕 𝑇𝑇
𝜕𝜕𝜕𝜕 [(1 + 𝐺𝐺𝐺𝐺)𝐺𝐺 − 𝐺𝐺𝐺𝐺(𝐺𝐺)] 𝐺𝐺
= =
𝜕𝜕𝜕𝜕 (1 + 𝐺𝐺𝐺𝐺)2 (1 + 𝐺𝐺𝐺𝐺)2
𝐺𝐺 𝐾𝐾(1 + 𝐺𝐺𝐺𝐺) 1 𝑠𝑠 2 + 4𝑠𝑠 + 3
𝑆𝑆𝐾𝐾𝑇𝑇 = = =
(1 + 𝐺𝐺𝐺𝐺)2 𝐺𝐺𝐺𝐺 1 + 𝐺𝐺𝐺𝐺 𝑠𝑠 2 + 4𝑠𝑠 + (3 + 𝐾𝐾)
Let 𝑠𝑠 = 𝑗𝑗𝑗𝑗
−𝜔𝜔2 + 4𝑗𝑗𝑗𝑗 + 3
𝑆𝑆𝐾𝐾𝑇𝑇 =
−𝜔𝜔 2 + 4𝑗𝑗𝑗𝑗 + 3 + 𝐾𝐾
(3 − 𝜔𝜔2 ) + 𝑗𝑗(4𝜔𝜔)
=
(𝐾𝐾 + 3 − 𝜔𝜔 2 ) + 𝑗𝑗(4𝜔𝜔)
�(3 − 𝜔𝜔 2 )2 + 16𝜔𝜔 2
|𝑆𝑆𝐾𝐾𝑇𝑇 | =
�(𝐾𝐾 + 3 − 𝜔𝜔 2 )2 + 16𝜔𝜔 2
At low frequencies, 𝜔𝜔2 is negligibly small.
3
Therefore, |𝑆𝑆𝐾𝐾𝑇𝑇 | =
𝐾𝐾+3
3
For K = 2, |𝑆𝑆𝐾𝐾𝑇𝑇 | = = 0.6
5
√22 +16 20
For 𝜔𝜔 = 1, |𝑆𝑆𝐾𝐾𝑇𝑇 | = =� = 0.79
√42 +16 32
Effect of Disturbance (R = 0)
𝐺𝐺 1
𝑌𝑌 = � � 𝑇𝑇𝑑𝑑 ; 𝑙𝑙𝑙𝑙𝑙𝑙 𝑇𝑇𝑑𝑑 =
1 + 𝐺𝐺𝐺𝐺 𝑠𝑠
1 1
𝑌𝑌 = � �
𝑠𝑠 2 + 4𝑠𝑠 + (3 + 𝐾𝐾) 𝑠𝑠
Steady state response, 𝑙𝑙𝑙𝑙𝑙𝑙 𝑦𝑦(𝑡𝑡) = 𝑙𝑙𝑙𝑙𝑙𝑙 𝑠𝑠𝑠𝑠(𝑠𝑠)
𝑡𝑡→∞ 𝑠𝑠→0
1 1
𝑦𝑦(𝑡𝑡) = � � =
𝑠𝑠 2 + 4𝑠𝑠 + 3 + 𝐾𝐾 𝑠𝑠=0 3 + 𝐾𝐾
For K = 2, 𝑦𝑦(𝑡𝑡) = 1/5 = 0.2
59
To minimize the effect of disturbance, choose a higher value for ‘K’.
Let K = 100; 𝑦𝑦(𝑡𝑡) = 1/103 = 0.0097
Effect of disturbance is negligibly small on steady state response at larger value of ‘K’.
60
Assessment
4. Sensitivity of a system T.F. (T) with respect to Plant T.F. (G) is given by
𝜕𝜕𝜕𝜕 𝑇𝑇
a) 𝑆𝑆𝐺𝐺𝑇𝑇 = � � � �
𝜕𝜕𝜕𝜕 𝐺𝐺
𝜕𝜕𝜕𝜕 𝑇𝑇
b) 𝑆𝑆𝐺𝐺𝑇𝑇 = � ��� �
𝜕𝜕𝜕𝜕 𝐺𝐺
𝜕𝜕𝜕𝜕 𝑇𝑇
c) 𝑆𝑆𝑇𝑇𝐺𝐺 = � �� �
𝜕𝜕𝜕𝜕 𝐺𝐺
d) None of the above
61
6. The steady state error is the value of error function, e(t) evaluated at
a) 𝑡𝑡 = 0
b) 𝑡𝑡 = ∞
c) 𝑠𝑠 = ∞
d) All of the above
(𝑠𝑠+4)(𝑠𝑠+5)
8. If 𝐸𝐸(𝑠𝑠) = ; 𝑡𝑡ℎ𝑒𝑒 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑒𝑒𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 𝑖𝑖𝑖𝑖,
𝑠𝑠(𝑠𝑠 2 +3𝑠𝑠+2)
a) 10
b) 0
c) 0.1
d) ∞
1 𝑠𝑠 3 +2𝑠𝑠 2
9. If 𝐸𝐸(𝑠𝑠) = � 3 � � � ; 𝑡𝑡ℎ𝑒𝑒 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 𝑖𝑖𝑖𝑖,
𝑠𝑠 𝑠𝑠 3 +4𝑠𝑠 2 +5𝑠𝑠+1
a) 0.5
b) ∞
c) 0
d) 2
𝑠𝑠 2 +3𝑠𝑠+4
10. If 𝐸𝐸(𝑠𝑠) = 𝑎𝑎𝑎𝑎𝑎𝑎 𝑒𝑒𝑠𝑠𝑠𝑠 = 0.05, 𝑡𝑡ℎ𝑒𝑒 𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 𝑜𝑜𝑜𝑜 ′𝐾𝐾′ 𝑖𝑖𝑖𝑖,
𝑠𝑠 3 +4𝑠𝑠 2 +(5+2𝐾𝐾)𝑠𝑠
a) 375
b) 3.75
c) 37.5
d) 0.375
62
5.0 Performance of control systems
Learning Objectives
1. Able to identify performance parameters for the control of transient and steady
state responses of a control system.
2. Able to apply time domain performance specifications to a second order system
response.
3. To study the steady state error for step, ramp and parabolic input functions.
A control system in general represents a dynamic system, and hence its performance is
given in terms of transient response and steady state response. Performance parameters
serves as a measure to study how well a control system perform and how to change the
parameters for a desired performance.
63
𝑠𝑠+1
Steady state error, 𝑒𝑒𝑠𝑠𝑠𝑠 = [𝑆𝑆𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � � = 1/10 = 0.1
𝑠𝑠+10 𝑠𝑠=0
2
𝜔𝜔𝑛𝑛
Let 𝐺𝐺(𝑠𝑠) = = 𝑇𝑇. 𝐹𝐹. 𝑓𝑓𝑓𝑓 𝑝𝑝 𝑠𝑠𝑒𝑒𝑓𝑓𝑓𝑓𝑓𝑓𝑠𝑠 𝑓𝑓𝑝𝑝𝑠𝑠𝑒𝑒𝑝𝑝 𝑠𝑠𝐵𝐵𝑠𝑠𝑝𝑝𝑒𝑒𝑙𝑙
𝑠𝑠 2 +(2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠
𝜔𝜔𝑛𝑛2
𝑇𝑇(𝑠𝑠) = ; 𝜁𝜁 < 1(𝑓𝑓𝑓𝑓𝑠𝑠𝑒𝑒𝑝𝑝𝑠𝑠𝑝𝑝𝑙𝑙𝑝𝑝𝑒𝑒𝑠𝑠)
𝑠𝑠 2 + (2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 + 𝜔𝜔𝑛𝑛2
Let 𝑅𝑅(𝑠𝑠) = 1/𝑠𝑠 (𝑠𝑠𝑝𝑝𝑒𝑒𝑝𝑝 𝑝𝑝𝑓𝑓𝑝𝑝𝑓𝑓𝑝𝑝)
𝑌𝑌(𝑠𝑠) = 𝑇𝑇(𝑠𝑠)𝑅𝑅(𝑠𝑠)
𝜔𝜔𝑛𝑛2
=
𝑠𝑠[𝑠𝑠 2 + (2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 + 𝜔𝜔𝑛𝑛2 ]
Taking inverse L.T. (from L.T. Table)
𝑒𝑒 −𝜁𝜁𝜔𝜔𝑛𝑛 𝑡𝑡
𝐵𝐵(𝑝𝑝) = 1 − 𝑠𝑠𝑝𝑝𝑓𝑓(𝜔𝜔𝑑𝑑 𝑝𝑝 + 𝜙𝜙)
�1 − 𝜁𝜁 2
64
5.2 Performance Parameters
Performance parameters are defined in terms of the step response of the closed loop
system. Typical parameters used for performance measure are
i. Rise time
ii. Peak time
iii. Settling time
iv. Final value
v. Percent overshoot
The unit step response is given below.
∗ 𝑇𝑇𝑠𝑠 : Settling time (Time required to settle with in some 𝛿𝛿% of final value)
𝑀𝑀𝑠𝑠𝑡𝑡 : Peak value at 𝑝𝑝 = 𝑇𝑇𝑠𝑠 , (𝑀𝑀𝑠𝑠𝑡𝑡 = 𝐵𝐵(𝑇𝑇𝑠𝑠 )); 𝑀𝑀𝑠𝑠𝑡𝑡 = 1 + 𝑓𝑓𝑜𝑜𝑒𝑒𝑝𝑝𝑠𝑠ℎ𝑓𝑓𝑓𝑓𝑝𝑝
∗ 𝐹𝐹𝐹𝐹: Final value -> steady state value at 𝑝𝑝 = ∞ [𝐵𝐵(∞) = 𝑠𝑠𝑌𝑌(𝑠𝑠)𝑠𝑠=0 ] = 1 for step input
in the figure above.
∗ 𝑃𝑃. 𝑂𝑂.: Percent overshoot -> Difference between Peak value and final value expressed as
percentage with respect to Final Value.
𝑀𝑀𝑠𝑠𝑡𝑡 − 𝐹𝐹𝐹𝐹
𝑃𝑃. 𝑂𝑂 = � � 100
𝐹𝐹𝐹𝐹
𝛿𝛿: Percent of FV used as reference to find Ts (Typical value of 𝛿𝛿 is equal to 2% of
FV; For FV = 1, 𝛿𝛿 = 2% = 0.02)
The exponential decay in the response is 𝑒𝑒 −𝜁𝜁𝜔𝜔𝑛𝑛 𝑡𝑡 .
65
@ 𝑡𝑡 = 𝑇𝑇𝑠𝑠 , 𝑒𝑒 −𝜁𝜁𝜔𝜔𝑛𝑛 𝑇𝑇𝑠𝑠 = 𝛿𝛿 = 0.02
1
𝑖𝑖. 𝑒𝑒. = 0.02 ⟹ 𝑒𝑒 𝜁𝜁𝜔𝜔𝑛𝑛 𝑇𝑇𝑠𝑠 = 1/0.02 = 50
𝑒𝑒 𝜁𝜁𝜔𝜔𝑛𝑛 𝑇𝑇𝑠𝑠
𝜁𝜁𝜔𝜔𝑛𝑛 𝑇𝑇𝑠𝑠 = 𝑙𝑙𝑙𝑙 50 = 3.91 ≈ 4
4 1
𝑇𝑇𝑠𝑠 = ; Let Time constant, = ; Then 𝑇𝑇𝑠𝑠 = 4𝜏𝜏
𝜁𝜁𝜔𝜔𝑛𝑛 𝜁𝜁𝜔𝜔𝑛𝑛
3
For 𝛿𝛿 = 5%, 𝑇𝑇𝑠𝑠 =
𝜁𝜁𝜔𝜔𝑛𝑛
𝑑𝑑
To find 𝑦𝑦𝑚𝑚𝑚𝑚𝑚𝑚 , �𝑦𝑦𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 � = 0
𝑑𝑑𝑑𝑑
𝑑𝑑
Since �𝑦𝑦𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 � = 𝑦𝑦|𝑖𝑖𝑖𝑖𝑖𝑖
𝑑𝑑𝑑𝑑
𝜔𝜔𝑛𝑛 −𝜁𝜁𝜔𝜔 𝑡𝑡
𝑦𝑦𝑚𝑚𝑚𝑚𝑚𝑚 = 𝑒𝑒 𝑛𝑛 𝑠𝑠𝑠𝑠𝑠𝑠 (𝜔𝜔 𝑡𝑡) = 0 ⟹ 𝑠𝑠𝑠𝑠𝑠𝑠 (𝜔𝜔 𝑡𝑡) = 0
𝑑𝑑 𝑑𝑑
𝛽𝛽
𝜋𝜋
𝜔𝜔𝑑𝑑 𝑡𝑡 = 𝑛𝑛𝑛𝑛; 𝐹𝐹𝐹𝐹𝐹𝐹 𝑛𝑛 = 1; 𝑡𝑡 = = 𝑇𝑇𝑝𝑝
𝜔𝜔𝑑𝑑
1
So 𝑀𝑀𝑝𝑝𝑝𝑝 = 1 − 𝑒𝑒 −𝜁𝜁𝜔𝜔𝑛𝑛 𝑇𝑇𝑝𝑝 𝑠𝑠𝑠𝑠𝑠𝑠 (𝜔𝜔𝑑𝑑 𝑇𝑇𝑝𝑝 + 𝜙𝜙)
𝛽𝛽
66
1 −�𝜁𝜁𝜁𝜁�
𝑀𝑀𝑝𝑝𝑝𝑝 = 1 − 𝑒𝑒 𝛽𝛽 𝑠𝑠𝑠𝑠𝑠𝑠 (𝜋𝜋 + 𝜙𝜙)
𝛽𝛽
−�
𝜁𝜁𝜁𝜁
� 𝑠𝑠𝑠𝑠𝑠𝑠 𝜙𝜙
= 1 + 𝑒𝑒 𝛽𝛽
𝛽𝛽
𝜁𝜁𝜁𝜁
−� �
= 1 + 𝑒𝑒 𝛽𝛽 = 1 + 𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜ℎ𝑜𝑜𝑜𝑜𝑜𝑜
𝜁𝜁 = 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐; 𝛽𝛽 = �1 − 𝜁𝜁 2 = 𝑠𝑠𝑠𝑠𝑠𝑠 𝜙𝜙
𝜁𝜁𝜁𝜁
−� �
𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜ℎ𝑜𝑜𝑜𝑜𝑜𝑜 = 𝑒𝑒 𝛽𝛽
𝜁𝜁𝜁𝜁
−� �
Percent overshoot, P.O. =100𝑒𝑒 𝛽𝛽
67
The settling time decreases with increase in damping ratio. Rise time increases with
increase in damping ratio. Peak value is directly proportional to percent overshoot.
All these performance parameters are functions of natural frequency and damping ratio.
For a second order system, the value of 𝜔𝜔𝑛𝑛 and 𝜁𝜁 can be determined from its transfer
function. Then all the performance parameters can be calculated using the relations given.
Similarly, 𝜔𝜔𝑛𝑛 and 𝜁𝜁 can be evaluated from given values of P.O. and Ts.
1 𝑃𝑃. 𝑂𝑂.
𝜁𝜁𝜁𝜁
=
−� � 100
𝑒𝑒 𝛽𝛽
𝜁𝜁𝑛𝑛 100
= 𝑝𝑝𝑓𝑓( ) = 𝛼𝛼
𝛽𝛽 𝑃𝑃. 𝑂𝑂.
𝜁𝜁𝑛𝑛
= 𝛼𝛼
�1 − 𝜁𝜁 2
𝜁𝜁 2 𝑛𝑛 2 = 𝛼𝛼 2 (1 − 𝜁𝜁 2 )
𝜁𝜁 2 (𝛼𝛼 2 + 𝑛𝑛 2 ) = 𝛼𝛼 2
Then the other parameters, 𝑀𝑀𝑠𝑠𝑡𝑡 , 𝑇𝑇𝑠𝑠 , 𝑇𝑇𝑟𝑟 can be easily calculated.
Example:
K
Let =
S(S+P)
𝐺𝐺 𝐾𝐾 𝐾𝐾
System T.F., T = = =
1+𝐺𝐺 𝑆𝑆(𝑆𝑆+𝑠𝑠)+𝐾𝐾 𝑆𝑆 2 +𝑠𝑠𝑆𝑆+𝐾𝐾
68
Comparing this with standard T.F. for a second order system,
𝜔𝜔𝑛𝑛2
𝑇𝑇 =
𝑠𝑠 2 + (2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 + 𝜔𝜔𝑛𝑛2
𝑝𝑝 = 2𝜁𝜁𝜔𝜔𝑛𝑛 = 2(0.707)(1.414) = 2
K = 𝜔𝜔𝑛𝑛2 = (1.414)2 = 2
Step input
R(s) = A/s where ‘A’ is the magnitude of step function.
𝐴𝐴 1
𝐸𝐸(𝑠𝑠) = � �
𝑠𝑠 1 + 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)
𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 =
1 + 𝐺𝐺𝑐𝑐 (0)𝐺𝐺(0)
𝐾𝐾 ∏𝑀𝑀
𝑖𝑖=1(𝑆𝑆+𝑍𝑍𝑖𝑖 )
In general, 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠) = 𝑄𝑄 ; 𝑍𝑍𝑢𝑢 → 𝑍𝑍𝑒𝑒𝑝𝑝𝑓𝑓𝑠𝑠 𝑃𝑃𝑘𝑘 → 𝑃𝑃𝑓𝑓𝑝𝑝𝑒𝑒𝑠𝑠
𝑆𝑆 𝑁𝑁 ∏𝑘𝑘=1(𝑆𝑆+𝑃𝑃𝑘𝑘 )
69
Type zero (N = 0)
𝐾𝐾 ∏(𝑆𝑆 + 𝑍𝑍𝑖𝑖 )
𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠) =
∏(𝑆𝑆 + 𝑃𝑃𝑘𝑘 )
𝐾𝐾 ∏(𝑍𝑍𝑖𝑖 )
𝐺𝐺𝑐𝑐 (0)𝐺𝐺(0) = = 𝐾𝐾𝑝𝑝 = 𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐
∏(𝑃𝑃𝑘𝑘 )
Therefore,
𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = ; 𝐾𝐾 = [𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)]𝑠𝑠=0
1 + 𝐾𝐾𝑝𝑝 𝑝𝑝
𝐴𝐴
For 𝑁𝑁 ≥ 1, 𝑒𝑒𝑠𝑠𝑠𝑠 = 𝐾𝐾 ∏(𝑆𝑆+𝑍𝑍 )
𝑖𝑖 �
1+ � 𝑁𝑁
𝑆𝑆 ∏(𝑆𝑆+𝑃𝑃 ) 𝑘𝑘 𝑠𝑠=0
The steady state error is zero for all systems except type – zero system.
Ramp Input
𝑟𝑟(𝑡𝑡) = 𝐴𝐴𝐴𝐴; 𝑅𝑅(𝑠𝑠) = 𝐴𝐴�𝑠𝑠 2
1 𝐴𝐴
𝐸𝐸(𝑠𝑠) = � � � 2�
1 + 𝐺𝐺𝑐𝑐 𝐺𝐺 𝑆𝑆
𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = [𝑆𝑆𝑆𝑆(𝑠𝑠)]𝑠𝑠=0 = |
𝑆𝑆[1 + 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)] 𝑠𝑠=0
If 𝐺𝐺𝑐𝑐 𝐺𝐺 ≫ 1, 1 + 𝐺𝐺𝑐𝑐 𝐺𝐺 ≈ 𝐺𝐺𝑐𝑐 𝐺𝐺
𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = |
𝑆𝑆𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠) 𝑠𝑠=0
Type-1 system (N = 1)
𝐾𝐾 ∏(𝑆𝑆 + 𝑍𝑍𝑖𝑖 )
𝐺𝐺𝑐𝑐 𝐺𝐺 =
𝑆𝑆 ∏(𝑆𝑆 + 𝑃𝑃𝑘𝑘 )
𝐴𝐴 ∏(𝑆𝑆 + 𝑃𝑃𝑘𝑘 ) 𝐴𝐴 ∏(𝑃𝑃𝑘𝑘 ) 𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = |𝑠𝑠=0 = =
𝐾𝐾 ∏(𝑆𝑆 + 𝑍𝑍𝑖𝑖 ) 𝐾𝐾 ∏(𝑍𝑍𝑖𝑖 ) 𝐾𝐾𝑣𝑣
𝐾𝐾 ∏(𝑍𝑍𝑖𝑖 )
𝐾𝐾𝑣𝑣 = �∏(𝑃𝑃 ) = [𝑆𝑆𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)]𝑠𝑠=0 = velocity error constant
𝑘𝑘
70
For N > 1, 𝑒𝑒𝑠𝑠𝑠𝑠 = 0 and for N < 1, 𝑒𝑒𝑠𝑠𝑠𝑠 = ∞
For ramp input, the steady state error is finite only for Type-1 system.
Quadratic Input
𝐴𝐴𝑝𝑝 2 𝐴𝐴 2 𝐴𝐴
𝑝𝑝(𝑝𝑝) = ; 𝑅𝑅(𝑠𝑠) = � 3 � = 3
2 2 𝑆𝑆 𝑆𝑆
1 𝐴𝐴 𝐴𝐴
𝐸𝐸(𝑠𝑠) = � � � 3� ≈ 3
1 + 𝐺𝐺𝑐𝑐 𝐺𝐺 𝑆𝑆 𝑆𝑆 [𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)]
𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = [𝑆𝑆𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = |
𝑆𝑆 2 [𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)] 𝑠𝑠=0
Type-2 System (N=2)
𝐾𝐾 ∏(𝑆𝑆 + 𝑍𝑍𝑢𝑢 )
𝐺𝐺𝑐𝑐 𝐺𝐺 =
𝑆𝑆 2 ∏(𝑆𝑆 + 𝑃𝑃𝑘𝑘 )
𝐴𝐴 ∏(𝑆𝑆 + 𝑃𝑃𝑘𝑘 ) 𝐴𝐴 ∏(𝑃𝑃𝑘𝑘 ) 𝐴𝐴
𝑒𝑒𝑠𝑠𝑠𝑠 = |𝑠𝑠=0 = =
𝐾𝐾 ∏(𝑆𝑆 + 𝑍𝑍𝑢𝑢 ) 𝐾𝐾 ∏(𝑍𝑍𝑢𝑢 ) 𝐾𝐾𝑚𝑚
𝐾𝐾 ∏(𝑍𝑍𝑢𝑢 )
𝐾𝐾𝑚𝑚 = �∏(𝑃𝑃 ) = [𝑆𝑆 2 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)]𝑠𝑠=0 = Acceleration error constant.
𝑘𝑘
The steady state error for different input are summarized as below
System Type Step input Ramp input Quadratic input
0 𝐴𝐴⁄(1 + 𝐾𝐾𝑠𝑠 ) ∞ ∞
1 0 𝐴𝐴⁄𝐾𝐾𝑣𝑣 ∞
2 0 0 𝐴𝐴⁄𝐾𝐾𝑚𝑚
Example:
1
𝐺𝐺(𝑠𝑠) =
𝑠𝑠+2
2
𝐻𝐻(𝑠𝑠) =
𝑠𝑠 + 4
1
𝑅𝑅(𝑠𝑠) =
𝑠𝑠
71
Find K, such that steady state error is zero.
𝐾𝐾𝐺𝐺
T.F; 𝑇𝑇(𝑠𝑠) =
1+𝐾𝐾𝐺𝐺𝐾𝐾
1 1 + 𝐾𝐾𝐺𝐺𝐻𝐻 − 𝐾𝐾𝐺𝐺
𝐸𝐸(𝑠𝑠) = 𝑅𝑅(1 − 𝑇𝑇) = � �
𝑆𝑆 1 + 𝐾𝐾𝐺𝐺𝐻𝐻
1 + 𝐾𝐾𝐺𝐺(0)𝐻𝐻(0) − 𝐾𝐾𝐺𝐺(0)
𝑒𝑒𝑠𝑠𝑠𝑠 = [𝑆𝑆𝐸𝐸(𝑠𝑠)]𝑠𝑠=0 = � �
1 + 𝐾𝐾𝐺𝐺(0)𝐻𝐻(0)
G(0) = 1/2, H(0) = 2/4=1/2
1 + 𝐾𝐾�1�4 − 1�2�
𝑒𝑒𝑠𝑠𝑠𝑠 = =0
1 + �𝐾𝐾�4�
𝐾𝐾
1− =0 𝐾𝐾 = 4
4
72
Reduced Block Diagram
�1�𝑆𝑆 2 � 1
𝐺𝐺(𝑠𝑠) = =
1 + �1�𝑆𝑆 2 � (𝐾𝐾1 𝑆𝑆) 𝑆𝑆 2 + 𝐾𝐾1 𝑆𝑆
(a) P.O. = 10%
100
𝛼𝛼 = ln � � = 𝑝𝑝𝑓𝑓10 = 2.3
𝑃𝑃. 𝑂𝑂.
𝜁𝜁 = 𝛼𝛼� = 0.59
�√𝛼𝛼 2 + 𝑛𝑛 2 �
1 𝐾𝐾𝐺𝐺 𝑌𝑌 𝐾𝐾
𝑇𝑇𝑑𝑑 = 0, 𝑅𝑅(𝑠𝑠) = , 𝑇𝑇 = = = 2
𝑠𝑠 1 + 𝐾𝐾𝐺𝐺 𝑅𝑅 (𝑆𝑆 + 𝐾𝐾1 𝑆𝑆 + 𝐾𝐾)
1 𝐾𝐾
𝑌𝑌(𝑠𝑠) = � � � 2 �
𝑆𝑆 (𝑆𝑆 + 𝐾𝐾1 𝑆𝑆 + 𝐾𝐾)
𝐾𝐾
𝐵𝐵(∞) = 𝑆𝑆𝑌𝑌(𝑠𝑠)|𝑠𝑠=0 = =1
𝐾𝐾
2
𝜔𝜔𝑛𝑛
Comparing T(s) with standard form of T.F., 2
𝑠𝑠 2 +(2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠+𝜔𝜔𝑛𝑛
𝐾𝐾 = 𝜔𝜔𝑛𝑛2
𝐾𝐾1 = 2𝜁𝜁𝜔𝜔𝑛𝑛 = 1.2𝜔𝜔𝑛𝑛
73
From (a),
𝐾𝐾 𝜔𝜔𝑛𝑛 √𝐾𝐾
= =
𝐾𝐾1 1.2 1.2
If 𝐾𝐾 = 100, 𝐾𝐾1 = 1.2√𝐾𝐾 = 12; 𝐾𝐾 ⁄𝐾𝐾1 = 100/12 = 8.33
𝐾𝐾1
𝑒𝑒𝑠𝑠𝑠𝑠 = = 0.12
𝐾𝐾
𝑇𝑇𝑑𝑑 = 1/𝑆𝑆, 𝑅𝑅 = 0
𝑌𝑌 𝐺𝐺
=
𝑇𝑇𝑑𝑑 1 + 𝐾𝐾𝐺𝐺
1
𝑌𝑌(𝑠𝑠) = 𝑇𝑇𝑑𝑑 � �
𝑆𝑆 2 + 𝐾𝐾1 𝑆𝑆 + 𝐾𝐾
1 1
= � 2 �
𝑆𝑆 𝑆𝑆 + 𝐾𝐾1 𝑆𝑆 + 𝐾𝐾
1
𝐵𝐵(∞) = 𝑆𝑆𝑌𝑌(𝑠𝑠)|𝑠𝑠=0 =
𝐾𝐾
The effect of 𝑇𝑇𝑑𝑑 is less for large value of K. For K = 100, 𝐵𝐵(∞) = 0.01
74
Assessment
9𝑆𝑆
1. 𝑇𝑇 = represents
𝑆𝑆 2 +10𝑆𝑆
a) First order system
b) Second order system
c) Third order system
d) All of the above
8𝑠𝑠 2 +5𝑠𝑠
3. If 𝐸𝐸(𝑠𝑠) = , the steady state error is
9𝑠𝑠 3 +4𝑠𝑠 2
a) 8/9
b) 9/8
c) 5/4
d) 4/5
a) 4.6
b) 3.9
c) 3.0
d) 2.3
5. For the above problem, the value of K for settling time within 5% of final value
is,
a) 4.6
b) 3.9
c) 3.0
d) 2.3
75
6. For step input, the steady state error is zero for
a) Type-1 system
b) Type-2 system
c) Type-3 system
d) All of the above
7. For ramp input, the steady state error is NOT zero for
a) Type-1 system
b) Type-2 system
c) Type-3 system
d) All of the above
𝐴𝐴
8. For quadratic input, the steady state error, 𝑒𝑒𝑠𝑠𝑠𝑠 = for
𝐾𝐾𝑎𝑎
a) Type-1 system
b) Type-2 system
c) Type-3 system
d) All of the above
10. If percent overshoot and settling time are given, we can find
a) Damping ratio
b) Natural frequency
c) Peak time and Peak value
d) All of the above
76
6. Stability of control system
The stability of control system is a function of poles, the roots of the characteristic
equation given by the denominator polynomial of the system transfer function. Routh –
Hurwitz method is used to determine the stability of the system without computing the
roots of the characteristic equation.
Learning Objectives:
1) To understand the stability of dynamic systems.
2) To understand the role of poles and their location in finding the system stability.
3) To apply Routh – Hurwitz method to determine the system stability.
77
The response for each case is given below.
If 𝑦𝑦1 ≠ 0 ≠ 𝑦𝑦2 , the roots are complex; the respective responses are,
Characteristic equation
Let the system transfer function, 𝑇𝑇(𝑠𝑠) = 𝑝𝑝(𝑠𝑠)/𝑞𝑞(𝑠𝑠). The polynomial in the numerator is
‘p(s)’ and its roots are called ZEROS of the system. The polynomial in the denominator
is ‘q(s)’ and its roots are called POLES of the system. The negative poles (real or
complex) contribute to stability of the system, while the positive poles (real or complex)
contribute to instability in the system. The characteristic equation is given as q(s) = 0.
Let 𝑞𝑞(𝑠𝑠) = 𝑎𝑎𝑛𝑛 𝑠𝑠 𝑛𝑛 + 𝑎𝑎𝑛𝑛−1 𝑠𝑠 𝑛𝑛−1 + 𝑎𝑎𝑛𝑛−2 𝑠𝑠 𝑛𝑛−2 + 𝑎𝑎𝑛𝑛−3 𝑠𝑠 𝑛𝑛−3 + ⋯ + 𝑎𝑎1 𝑠𝑠 + 𝑎𝑎0 = 0
The highest power of ‘s’ gives the order of control system. The general equation given
above represents a nth order control system. The characteristic equation is the basis to
apply the Routh – Hurwitz criterion.
78
Routh – Hurwitz criterion
This criterion states that the number of roots of q(s) with positive real parts is equal to the
number of changes in sign in the first column of Routh array. So, a stable system requires
all the coefficients in the first column of Routh array to be positive. An unstable system
will have at least one sign change in the first column indicating at least there is one
positive real root. A typical Routh array is given below.
𝑠𝑠 𝑛𝑛 𝑎𝑎𝑛𝑛 𝑎𝑎𝑛𝑛−2 𝑎𝑎𝑛𝑛−4 ⋯ ⋯ 𝑎𝑎2 𝑎𝑎0
𝑛𝑛−1
𝑠𝑠 𝑎𝑎𝑛𝑛−1 𝑎𝑎𝑛𝑛−3 𝑎𝑎𝑛𝑛−5 ⋯ ⋯ 𝑎𝑎3 𝑎𝑎1
𝑠𝑠 𝑛𝑛−2
𝑠𝑠 𝑛𝑛−3
⋮
𝑠𝑠 2
𝑠𝑠1
𝑠𝑠 0
The first row in the array begins with the coefficient of sn and continues with successive
alternate term coefficients. The second row in the array begins with the coefficient of sn-1
and continues with successive alternate term coefficients. All other rows in the array need
to be computed.
Example:
𝑞𝑞(𝑠𝑠) = 𝑎𝑎3 𝑠𝑠 3 + 𝑎𝑎2 𝑠𝑠 2 + 𝑎𝑎1 𝑠𝑠 + 𝑎𝑎0
Routh array
𝑠𝑠 3 𝑎𝑎3 𝑎𝑎1 0
𝑠𝑠 2 𝑎𝑎2 𝑎𝑎0 0
𝑠𝑠1 𝑏𝑏1 𝑏𝑏2
𝑠𝑠 0 𝑐𝑐1 𝑐𝑐2
To find b1
Consider two elements in the same column, just above b1 and other two elements in the
immediate next column. They are
79
To find b2
Skip the elements in the same column, just above b2. Consider the elements in a column
to the left and a column to the right above b2.
0 1 1 𝑎𝑎 0
𝑏𝑏2 = − � � 𝑎𝑎3 + 0 = − [𝑎𝑎3 (0) − 𝑎𝑎2 (0)] = − � 3 �=0
𝑎𝑎2 𝑎𝑎2 𝑎𝑎2 𝑎𝑎2 0
To find c1
Similar to b1, the procedure is to consider four elements in the columns just above c1.
𝑏𝑏
𝑐𝑐1 = − � 2 � 𝑎𝑎2 + 𝑎𝑎0 = 𝑎𝑎0 ; since b2 = 0
𝑏𝑏1
To find c2
Similar to b2, the elements to be considered are
0
𝑐𝑐2 = − � � 𝑎𝑎2 + 0 = 0
𝑏𝑏1
𝑠𝑠 3 𝑎𝑎3 𝑎𝑎1 0
𝑠𝑠 2 𝑎𝑎2 𝑎𝑎0 0
𝑠𝑠1 𝑏𝑏1 0
𝑠𝑠 0 𝑎𝑎0 0
1
𝑏𝑏1 = (𝑎𝑎 𝑎𝑎 − 𝑎𝑎3 𝑎𝑎0 )
𝑎𝑎2 1 2
80
For the system to be stable all the elements in the first column of Routh Array should be
positive. In this case, 𝑎𝑎3 , 𝑎𝑎2 , 𝑏𝑏1 and 𝑎𝑎0 should be positive. If 𝑎𝑎3 and 𝑎𝑎2 are positive, 𝑎𝑎0
should be positive. For 𝑏𝑏1 to be positive, 𝑎𝑎1 𝑎𝑎2 > 𝑎𝑎3 𝑎𝑎0 . It requires 𝑎𝑎1 also to be positive
since all other coefficients are positive. So, all the coefficients are required to be positive.
In stability analysis, it is necessary that all the coefficients of a characteristic equation
should be positive. If there is any sign change, it is certain that the system is likely to be
unstable. The characteristic equation can be inspected for any sign change among
coefficients as initial check. If all the coefficients are positive, then Routh – Hurwitz
method can be applied for further investigation of system stability.
The procedure for Routh – Hurwitz method can be classified into four categories. They
are (1) No zero element in the first column, (2) There is a zero element in the first
column, (3) All elements in a row are zero, (4) Repeated roots on the vertical axis of s-
Plane plot.
In the first column we see two sign changes, one from 𝑠𝑠 2 to 𝑠𝑠1 and other from 𝑠𝑠1 to 𝑠𝑠 0 .
There will be two positive roots and they will be on the right half of s-plane. So, the
system will be unstable.
Roots of the characteristic equation:
𝑞𝑞(𝑠𝑠) = 𝑠𝑠 3 + 𝑠𝑠 2 + 2𝑠𝑠 + 24 = (𝑠𝑠 + 3)(𝑠𝑠 2 − 2𝑠𝑠 + 8)
81
Although it satisfies the necessary condition
in the initial check (polynomial is complete
and all coefficients are positive) the Routh
array has indicated that the system is
unstable.
Routh Array
𝑠𝑠 5 1 2 11 0
𝑠𝑠 4 2 4 10 0
𝑠𝑠 3 𝑏𝑏1 𝑏𝑏2 0
𝑠𝑠 2 𝑐𝑐1 𝑐𝑐2 0
𝑠𝑠1 𝑑𝑑1 𝑑𝑑2 0
𝑠𝑠 0 𝑒𝑒1 𝑒𝑒2
𝑏𝑏1 = −(4/2)(1) + 2 = 0
Let 𝑏𝑏1 = 𝜖𝜖
𝑏𝑏2 = −(10/2)(1) + 11 = 6
𝑐𝑐1 = −(𝑏𝑏2 /𝑏𝑏1 )(2) + 4 == −(6/𝜖𝜖)(2) + 4 = 4 − 12/𝜖𝜖
𝑐𝑐1 = 1/𝜖𝜖(4𝜖𝜖 − 12) ≈ −12/𝜖𝜖
𝑐𝑐2 = −(0/𝑏𝑏1 )(2) + 10 = 10
82
𝑑𝑑1 = −(𝑐𝑐2 /𝑐𝑐1 )𝑏𝑏1 + 𝑏𝑏2 = 10𝜖𝜖 2 /12 + 6 ≈ 6
𝑑𝑑2 = 0
𝑒𝑒1 = −(𝑑𝑑2 /𝑑𝑑1 )𝑐𝑐1 + 𝑐𝑐2 = 𝑐𝑐2 = 10
𝑒𝑒2 = 0
Routh Array:
𝑠𝑠 3 1 4 0
𝑠𝑠 2 2 8 0
𝑠𝑠1 ∈ 0
𝑠𝑠 0 8 0
83
The row s1 has all zero elements and the row s2 just above the row of zeros is used to
form the auxiliary polynomial. Therefore, the auxiliary polynomial is given as,
U(s) = 2𝑠𝑠 2 + 8 = 0
= 𝑠𝑠 2 + 4 = 0
𝑠𝑠 2 = −4; 𝑠𝑠 = ±𝑗𝑗2
The roots are 𝑠𝑠1 = (𝑠𝑠 + 𝑗𝑗2), 𝑠𝑠2 = (𝑠𝑠 − 𝑗𝑗2)
To find the other root of characteristic equation, divide the polynomial by the auxiliary
polynomial.
𝑞𝑞(𝑠𝑠) 𝑠𝑠 3 + 2𝑠𝑠 2 + 4𝑠𝑠 + 8
=
𝑈𝑈(𝑠𝑠) 𝑠𝑠 2 + 4
𝑠𝑠 + 2
𝑠𝑠 2 + 4 �𝑠𝑠 3+ 2𝑠𝑠 2 + 4𝑠𝑠 + 8
𝑠𝑠 3 + 4𝑠𝑠
(−) 2𝑠𝑠 2 +8
2
2𝑠𝑠 +8
(−) 0
Therefore, 𝑞𝑞(𝑠𝑠) = (𝑠𝑠 + 2)(𝑠𝑠 + 𝑗𝑗2)(𝑠𝑠 − 𝑗𝑗2)
The roots (or Poles) of q(s) are, −2, 𝑗𝑗2, −𝑗𝑗2
S – Plane Plot
Since the poles ±𝑗𝑗2 are on the vertical axis that divides the stable and unstable region;
the system is neither stable nor unstable. It is classified as marginally stable. For all
practical purpose, it is considered as instability.
84
(4) Repeated roots on the vertical axis of s-plane plot.
In the previous case, we had one row of zeros on the Routh array resulting into one
auxiliary polynomial with one pair of symmetric roots on the vertical axis of s-plane plot.
In this case, we will see multiple rows of zeros on the Routh Array resulting into more
than one auxiliary polynomial with several repeated roots on the vertical axis of s-plane
plot.
Let the characteristic equation is,
𝑞𝑞(𝑠𝑠) = 𝑠𝑠 5 + 𝑠𝑠 4 + 2𝑠𝑠 3 + 2𝑠𝑠 2 + 𝑠𝑠 + 1
Routh Array
𝑠𝑠 5 1 2 1 0
𝑠𝑠 4 1 2 1 0
𝑠𝑠 3 ∈ ∈ 0
𝑠𝑠 2 1 1 0
𝑠𝑠1 ∈ 0
𝑠𝑠 0 1
Here the rows of s3 and s1 contains all zero elements. The value ∈ is used at appropriate
places in order to complete the following rows on the Routh array.
Auxiliary Polynomial for the row s1 is,
𝑠𝑠 2 + 1 = 0; 𝑠𝑠 2 = −1; 𝑠𝑠 = ±𝑗𝑗; 𝑠𝑠1 = +𝑗𝑗; 𝑠𝑠2 = −𝑗𝑗
Auxiliary Polynomial for the row s3 is,
𝑠𝑠 4 + 2𝑠𝑠 2 + 1 = 0
(𝑠𝑠 2 + 1)(𝑠𝑠 2 + 1) = 0
(𝑠𝑠 2 + 1) = 0; 𝑠𝑠3 = +𝑗𝑗; 𝑠𝑠4 = −𝑗𝑗
(𝑠𝑠 2 + 1) = 0; 𝑠𝑠5 = +𝑗𝑗; 𝑠𝑠6 = −𝑗𝑗
There are three pairs of repeated symmetric roots on the vertical axis leading to marginal
instability. The system is unstable.
85
Example
Given, 𝑞𝑞(𝑠𝑠) = 𝑠𝑠 5 + 𝑠𝑠 4 + 15𝑠𝑠 3 + 10𝑠𝑠 2 + 44𝑠𝑠 + 24
Find all the roots and check for stability.
Routh Array
𝑠𝑠 5 1 15 44
𝑠𝑠 4 1 10 24
𝑠𝑠 3 5 20 0
𝑠𝑠 2
6 24 0
𝑠𝑠 1 ∈ 0
𝑠𝑠 0 24
Auxiliary polynomial is, 6𝑠𝑠 2 + 24 = 0
𝑈𝑈(𝑠𝑠) = 𝑠𝑠 2 + 4 = 0; 𝑠𝑠 = ±𝑗𝑗2
To find other roots,
𝑞𝑞(𝑠𝑠) 𝑠𝑠 5 + 𝑠𝑠 4 + 15𝑠𝑠 3 + 10𝑠𝑠 2 + 44𝑠𝑠 + 24
=
𝑈𝑈(𝑠𝑠) 𝑠𝑠 2 + 4
𝑠𝑠 3 + 𝑠𝑠 2 + 11𝑠𝑠 + 6
2
𝑠𝑠 + 4 �𝑠𝑠 5 + 𝑠𝑠 4 + 15𝑠𝑠 3 + 10𝑠𝑠 2 + 44𝑠𝑠 + 24
𝑠𝑠 5 + 4𝑠𝑠 3
(−) 𝑠𝑠 4 + 11𝑠𝑠 3 + 10𝑠𝑠 2
𝑠𝑠 4 + + 4𝑠𝑠 2
(−) 11 𝑠𝑠 3 + 6𝑠𝑠 2 + 44𝑠𝑠
11 𝑠𝑠 3 + 44𝑠𝑠
(−) 2
6𝑠𝑠 + 24
6𝑠𝑠 2 + 24
(−) 0
Routh Array:
𝑠𝑠 3 1 11
𝑠𝑠 2 1 6
𝑠𝑠1 5 0
𝑠𝑠 0 6
86
There are no sign changes in the first column and hence there are no positive real roots.
The roots of this cubic polynomial are −0.56, −0.22 ± 𝑗𝑗6.54. So, the system has one
negative real pole, two negative complex poles, and a pair of poles on vertical axis. It can
be interpreted that the system is marginally stable.
Example
For a given control system, find the range of ‘k’ and ‘a’ for which the system is stable.
𝑘𝑘(𝑠𝑠 + 𝑎𝑎)
𝐺𝐺1 (𝑠𝑠) =
𝑠𝑠 + 1
1
𝐺𝐺2 (𝑠𝑠) =
𝑠𝑠(𝑠𝑠 + 2)(𝑠𝑠 + 3)
𝐺𝐺1 𝐺𝐺2 𝑘𝑘(𝑠𝑠 + 𝑎𝑎)
𝑇𝑇(𝑠𝑠) = =
1 + 𝐺𝐺1 𝐺𝐺2 [𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 2)(𝑠𝑠 + 3) + 𝑘𝑘(𝑠𝑠 + 𝑎𝑎)]
The characteristic equation is given by the denominator.
𝑞𝑞(𝑠𝑠) = 𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 2)(𝑠𝑠 + 3) + 𝑘𝑘(𝑠𝑠 + 𝑎𝑎) = 𝑠𝑠 4 + 6𝑠𝑠 3 + 11𝑠𝑠 2 + (𝑘𝑘 + 6)𝑠𝑠 + 𝑘𝑘𝑎𝑎
Routh Array
𝑠𝑠 4 1 11 ka
𝑠𝑠 3 6 (k+6) 0
𝑠𝑠 2 𝑏𝑏1 𝑏𝑏2 0
𝑠𝑠1 𝑐𝑐1 0 0
𝑠𝑠 0 𝑑𝑑1 0
(𝑘𝑘 + 6) 60 − 𝑘𝑘
𝑏𝑏1 = − + 11 =
6 6
𝑏𝑏2 = 𝑘𝑘𝑎𝑎
𝑏𝑏2 1
𝑐𝑐1 = − (6) + (𝑘𝑘 + 6) = [−𝑘𝑘 2 + (54 − 36𝑎𝑎)𝑘𝑘 + 360]
𝑏𝑏1 (60 − 𝑘𝑘)
𝑑𝑑1 = 0 + 𝑏𝑏2 = 𝑘𝑘𝑎𝑎
87
For the system to be stable, the elements b1, c1, d1 in the first column should be positive.
For b1 to be positive, k < 60
For d1 to be positive, k > 0 and a > 0
The range of ‘a’ depends on the value of ‘k’ chosen.
Let k = 40; then
1
𝑐𝑐1 = [920 − 1440𝑎𝑎]
20
For c1 > 0, a < 0.639
For k = 1, a < 11.47
k = 59, a < 0.03
The range of ‘k’ = 1 ≤ 𝑘𝑘 ≤ 59
𝑘𝑘 = 1; 0 ≤ 𝑎𝑎 ≤ 11.47
The range of ‘a’ = �
𝑘𝑘 = 59; 0 ≤ 𝑎𝑎 ≤ 0.03
88
Assessment
1) The characteristic equation is,
A. The number of controller transfer function
B. The denominator of controller transfer function
C. The numerator of total(system) transfer function
D. The denominator of total(system) transfer function
89
7) On the given Routh array, the value b1 is,
𝑠𝑠 3 1 8 0
𝑠𝑠 2 2 4 0
𝑠𝑠1 𝑏𝑏1 𝑏𝑏2
𝑠𝑠 0 𝑐𝑐1
A. -12
B. 6
C. 0
D. 3
90
12) A marginally stable system in general considered as,
A. Stable system
B. Unstable system
C. Neutral system
D. None of the above
91
7. Root – Locus Method
Learning Objectives:
1) To understand the roots (Poles and Zeros) of a transfer function and how they
travel on the S-Plane plot with respect to changes in controller gain, K.
2) Learn to sketch the root locus diagram that shows the path or loci from a pole to a
zero at a finite distance or at infinity.
3) To apply the three term PID parameters in controller design to achieve the desired
performance.
Root locus method has been developed by Walter R. Evans who received his engineering
education in Electrical Engineering at Washington University in St. louis in 1941. He
invented the root locus method in 1948 before he completed his master’s degree in
electrical engineering at University of California, Los Angeles in 1951.
Loci of the Roots of Transfer function are the paths they travel in a journey on the S-
Plane. Let us consider a closed loop control system with ‘K’ as controller parameter and
‘P(s)’ as plant transfer function.
𝐾𝐾𝐾𝐾
The transfer function, 𝑇𝑇(𝑆𝑆) =
1+𝐾𝐾𝐾𝐾
The characteristic equation 𝑞𝑞(𝑠𝑠) = 1 + 𝐾𝐾𝐾𝐾 = 0 and its roots are the poles.
𝑁𝑁(𝑠𝑠) 𝐾𝐾𝑁𝑁(𝑠𝑠)
If 𝐾𝐾(𝑠𝑠) = ; 𝑇𝑇(𝑆𝑆) =
𝐷𝐷(𝑠𝑠) 𝐷𝐷(𝑠𝑠)+𝐾𝐾𝑁𝑁(𝑠𝑠)
93
Open Loop
𝐾𝐾𝐾𝐾(𝑠𝑠)
𝑇𝑇(𝑠𝑠) = 𝐾𝐾𝐾𝐾(𝑠𝑠) =
𝐷𝐷(𝑠𝑠)
The characteristic equation is 𝐷𝐷(𝑠𝑠) = 0 and its roots are the poles of open loop system.
These poles are equal to the poles of the closed loop system with 𝐾𝐾 = 0.
Open loop zeros are the roots of 𝐾𝐾(𝑠𝑠) = 0
In closed loop, if K is very large and tend to infinity, 𝐷𝐷(𝑠𝑠) + 𝐾𝐾𝐾𝐾(𝑠𝑠) ≈ 𝐾𝐾𝐾𝐾(𝑠𝑠) = 0; So,
N(s)=0 and its roots are the poles of closed loop system. Comparing with open loop
system, the poles of the closed loop system with 𝐾𝐾 → ∞ is equal to zeros of the open
loop system.
To summarize, the poles of closed loop system are equal to open loop poles at 𝐾𝐾 = 0 and
equal to open loop zeros, at 𝐾𝐾 = ∞.
In other words, when the control parameter ‘K’ varies from zero to infinity, the locus of
roots starts from a pole and ends at a zero. The travel from pole to zero is defined as Root
locus or journey of roots. If the path taken by the roots in such a journey remains
completely in the left half plane, the system is said to be stable for all values of ‘𝐾𝐾’ and
the system is not sensitive to the variation of ‘𝐾𝐾’. However, if some of the path is on the
right half plane, the system will be unstable, and we can determine the range of ‘𝐾𝐾’ for
instability and a range of ‘𝐾𝐾’ for the system to be stable.
Also, ‘𝐾𝐾’ should be positive for the path or loci to exist for travel. The journey of the
roots takes place as ‘𝐾𝐾’ varies from zero to infinity. If ‘𝐾𝐾’ is negative, no path or loci
exists for the roots to travel.
Example
𝐾𝐾𝐾𝐾(𝑠𝑠) 𝑠𝑠+1
Given, 𝑇𝑇(𝑠𝑠) = ; 𝐾𝐾(𝑠𝑠) = ;
𝐾𝐾𝐾𝐾(𝑠𝑠)+1 𝑠𝑠(𝑠𝑠+2)
𝐾𝐾(𝑠𝑠 + 1)
𝑇𝑇(𝑠𝑠) =
𝑠𝑠(𝑠𝑠 + 2) + 𝐾𝐾(𝑠𝑠 + 1)
Characteristic equation, 𝑞𝑞(𝑠𝑠) = 𝑠𝑠(𝑠𝑠 + 2) + 𝐾𝐾(𝑠𝑠 + 1) = 0
𝑠𝑠 2 + (𝐾𝐾 + 2)𝑠𝑠 + 𝐾𝐾 = 0
94
The poles, 𝑠𝑠1,2 = (1/2)[−(𝐾𝐾 + 2) ± �(𝐾𝐾 + 2)2 − 4𝐾𝐾]
𝑠𝑠1,2 = (1/2)�−2 ± √4 − 0� = −1 ± 1 = 0, −2
Now, let us plot the poles and zeros on the S-Plane plot.
In this plot, zero at 𝑠𝑠 = −1 is represented by a small circle on the real axis, while
poles at 𝑠𝑠 = 0 𝑎𝑎𝑎𝑎𝑎𝑎 𝑠𝑠 = −2 are represented by ‘x’ on the real axis. The first path of travel
starts from the pole at origin and end at zero at 𝑠𝑠 = −1. The second path of travel starts
from the pole at 𝑠𝑠 = −2 and travels to the zero at infinity. For the second path, a zero is
assumed at infinity since there is no known zero in its path. In the region 𝑠𝑠 = −1 to 𝑠𝑠 =
−2, there is no path and ‘𝐾𝐾’ is negative.
For example, let K = 1.5, then 𝑠𝑠1,2 = −0.5, −3. The first root is on first path of travel
while the second root is on second path of travel. Let 𝐾𝐾 = −1.5; then the roots are
𝑠𝑠1,2 = −1.5, 1. The first root is in the region where there is no path exists and the other
root is on the positive half plane indicating instability. This example highlights that K
should be positive for stability and it is the required condition for the journey of roots
starting from a pole (𝐾𝐾 = 0) and end at a zero (𝐾𝐾 = ∞).
In this example, the poles and zeros are real values. They can be complex values in
general. Also, it will be challenging to find all the poles and zeros for each value of ‘𝐾𝐾’.
To predict the journey of roots without finding them, a set of rules are provided by
Walter R. Evans, the inventor of this method.
95
Process for Root Locus Plot
For real values of poles and zeros, the root locus diagram requires the knowledge of
number of loci (or paths) for travel on real axis. For complex value of poles and zeros,
more information is required, and they are Asymptotes, Cross–over point, Break–away
point and Angle of departure. The process to determine each step in this journey of the
roots is given below.
𝐾𝐾(𝑠𝑠) = Numerator polynomial in ‘s’ and its roots are the Zeros.
𝐷𝐷(𝑠𝑠) = Denominator polynomial in ‘s’ and its roots are the Poles.
Let number of zeros = 𝑚𝑚 and number of Poles = 𝑎𝑎.
Then, number of Loci = 𝑎𝑎; Number of loci travel to infinity = 𝑎𝑎 − 𝑚𝑚.
Each loci travel from a pole to a zero located at a finite distance. If there is no zero in its
path, a zero is assumed at infinity and the loci will travel to infinity.
96
In figure (i), the loci travel is simple. In figure (ii), the loci between the two poles meet at
a point and break away towards the zero. Since there is no path exists in the region
between the pole and zero, the loci takes a detour of going over that region and enter or
break-in on the real axis with one branch traveling to zero in the vicinity and other branch
traveling to zero at infinity.
(a) Asymptotes
∑(𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝)−∑(𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧)
Center of Asymptote, 𝜎𝜎𝐴𝐴 =
𝑛𝑛−𝑚𝑚
2𝑘𝑘+1
Angles of Asymptotes, (𝜙𝜙𝐴𝐴 )𝑘𝑘 = � � (180)
𝑛𝑛−𝑚𝑚
0 ≤ 𝑘𝑘 ≤ (𝑛𝑛 − 𝑚𝑚 − 1)
97
𝑑𝑑𝑑𝑑
For 𝐾𝐾 = 𝐾𝐾𝑚𝑚𝑚𝑚𝑚𝑚 , =0
𝑑𝑑𝑑𝑑
Solving for roots of the resulting polynomial, the root in appropriate region of loci gives
the break-away or break-in points.
98
Example
1
Given, 𝐾𝐾(𝑠𝑠) = , draw the Root Locus diagram
𝑠𝑠(𝑠𝑠+2)(𝑠𝑠+4)
2)
Existence of Loci on Real Axis
𝑠𝑠1 𝑡𝑡𝑓𝑓 𝑠𝑠2 : Sum of poles and zeros to
the right of an arbitrary point chosen
in this region is odd (1 pole)
So, the path exists in this region and K
is positive.
𝑠𝑠2 𝑡𝑡𝑓𝑓 𝑠𝑠3 : Sum of poles and zeros to the right of an arbitrary point chosen in this region
is even (2 poles). So, no path exist in this region and K is negative.
𝑠𝑠3 𝑡𝑡𝑓𝑓 ∞: Sum of poles and zeros to the right of an arbitrary point chosen in this region is
odd (3 poles). So, the path exists in this region and K is positive.
99
3) Loci Travel
The loci from 𝑠𝑠 = 0 and 𝑠𝑠 = −2 come together and break away to a zero at infinity. To
guide the path of this travel asymptotes are used. The loci follows these asymptotes in its
journey to a zero at infinity.
∑ 𝐾𝐾−∑ 𝑍𝑍 (0−2−4)−(0)
Center of Asymptotes, 𝜎𝜎𝐴𝐴 = = = −2
𝑛𝑛−𝑚𝑚 3
2𝑘𝑘+1
Angle of Asymptotes, 𝜙𝜙𝐴𝐴 = � � (180); 0 ≤ 𝑘𝑘 ≤ (𝑎𝑎 − 𝑚𝑚 − 1)
𝑛𝑛−𝑚𝑚
2𝑘𝑘 + 1
𝜙𝜙𝐴𝐴 = � � (180) = (2𝑘𝑘 + 1)(60); 0 ≤ 𝑘𝑘 ≤ 2
3
𝑘𝑘 = 0; 𝜙𝜙1 = 60°
𝑘𝑘 = 1; 𝜙𝜙2 = 180°
𝑘𝑘 = 2; 𝜙𝜙3 = 300°
100
Cross-over Point
Characteristic equation 1 + 𝐾𝐾𝐾𝐾(𝑠𝑠) = 0
𝑠𝑠(𝑠𝑠 + 2)(𝑠𝑠 + 4) + 𝐾𝐾 = 0
𝑠𝑠 3 + 6𝑠𝑠 2 + 8𝑠𝑠 + 𝐾𝐾 = 0
𝑠𝑠 3 1 8 0
𝑠𝑠 2 6 𝐾𝐾 0
𝑠𝑠1 𝑏𝑏1 0
𝑠𝑠 0 𝑐𝑐1
𝐾𝐾
𝑏𝑏1 = − + 8 = (1/6)(48 − 𝐾𝐾) 𝑐𝑐1 = 𝐾𝐾
6
For stability, 𝑏𝑏1 and 𝑐𝑐1 should be positive. So, K should be positive but less than 48;
0 < 𝐾𝐾 < 48. If 𝑏𝑏1 = 0, the row 𝑆𝑆’ will have all zero; the system will be marginally
stable.
For 𝐾𝐾 = 48, 𝑏𝑏1 = 0
The auxiliary polynomial is, 6𝑠𝑠 2 + 𝐾𝐾 = 0; 6𝑠𝑠 2 + 48 = 0
48
𝑆𝑆 = �− = ±𝑗𝑗2.828; These are the loci cross-over points.
6
Break-away point
𝐾𝐾 = −1/𝑃𝑃(𝑠𝑠) = −(𝑠𝑠 3 + 6𝑠𝑠 2 + 8𝑠𝑠) = 0
𝑑𝑑𝑑𝑑/𝑑𝑑𝑑𝑑 = 0; 3𝑠𝑠 2 + 12𝑠𝑠 + 8 = 0
Since −3.155 lies on the region where there is no loci, 𝑠𝑠 = −0.845 is the viable break
away point. So, the loci from 𝑠𝑠 = 0 𝑎𝑎𝑎𝑎𝑎𝑎 𝑠𝑠 = −2 travel towards each other and break
away at 𝑠𝑠 = −0.845 and follow the asymptotes to the zero at infinity. In this process, the
loci crosses the vertical axis at 𝑠𝑠 = ±𝑗𝑗2.828 and the asymptote crosses the vertical axis at
±𝑗𝑗3.46.
Since the pole is not a complex pole, it is not required to find the angle of departure.
101
Example:
Given, 𝐾𝐾(𝑠𝑠) = (𝑠𝑠 + 2)/𝑠𝑠(𝑠𝑠 + 1), draw the Root Locus diagram.
Number of Zeros, 𝑚𝑚 = 1; 𝑠𝑠 = −2
Number of Poles, 𝑎𝑎 = 2; 𝑠𝑠 = 0, −1
Number of loci = 𝑎𝑎 = 2
Number of loci travel to infinity = 𝑎𝑎– 𝑚𝑚 = 1
102
Break-away and Break-in points
𝐾𝐾 = −1/𝑃𝑃(𝑠𝑠) = −𝑠𝑠(𝑠𝑠 + 1)/(𝑠𝑠 + 2) = −(𝑠𝑠 2 + 𝑠𝑠)/(𝑠𝑠 + 2)
(𝑠𝑠 + 2)(2𝑠𝑠 + 1)−(𝑠𝑠 2 + 𝑠𝑠)(1)
𝑑𝑑𝑑𝑑/𝑑𝑑𝑑𝑑 = 0 = − � �
(𝑠𝑠 + 2)2
𝑠𝑠 2 + 4𝑠𝑠 + 2 = 0
𝑠𝑠 = −0.585, −3.415
𝑠𝑠 = −0.585 is the Break-away point while 𝑠𝑠 = −3.415 is the Break-in point.
Let the maximum height of the detour path is −2 ± 𝑗𝑗𝑗𝑗
Characteristic equation is,
1 + 𝐾𝐾𝐾𝐾(𝑠𝑠) = 0
𝑠𝑠(𝑠𝑠 + 1) + 𝐾𝐾(𝑠𝑠 + 2) = 0; 𝑠𝑠 2 + (𝐾𝐾 + 1)𝑠𝑠 + 2𝐾𝐾 = 0 ⟶ (1)
For the roots, 𝑠𝑠 = −2 ± 𝑗𝑗𝑗𝑗. the desired characteristic equation is,
(𝑠𝑠 + 2 − 𝑎𝑎𝑎𝑎)(𝑠𝑠 + 2 + 𝑎𝑎𝑎𝑎) = 0
𝑠𝑠 2 + 4𝑠𝑠 + (4 + 𝑎𝑎2 ) = 0 ⟶ (2)
Comparing the equations (1) and (2),
𝐾𝐾 + 1 = 4; 𝐾𝐾 = 3
4 + 𝑎𝑎2 = 2𝐾𝐾 = 6
So, 𝑎𝑎2 = 2; 𝑎𝑎 = √2
103
Example
Given 𝐾𝐾(𝑠𝑠) = 1�[𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 2 + 8𝑠𝑠 + 32)]
Number of Poles, 𝑎𝑎 = 4; 𝑠𝑠1 = 0, 𝑠𝑠2 = −4; 𝑠𝑠3,4 = 1/2�−8 ± √64 − 128� = −4 ± 𝑗𝑗4
Number of loci = 𝑎𝑎 = 4
Number of loci travel to infinity = 𝑎𝑎– 𝑚𝑚 = 4
There is a loci between 𝑠𝑠 = 0 and 𝑠𝑠 = −4. There is no loci in the region 𝑠𝑠 = −4 and
𝑠𝑠 = ∞. The loci between the poles 𝑠𝑠 = 0 and 𝑠𝑠 = −4 travel towards each other and break
away to a zero at infinity. The loci from complex poles begins their journey with a
departure angle and travel to a zero at infinity. Since the path to infinity is not along the
real axis, they need the guidance of asymptotes.
104
Loci Travel
Asymptotes:
∑ 𝐾𝐾−∑ 𝑍𝑍
Center of asymptotes, 𝜎𝜎𝐴𝐴 = = (1/4)[0 − 4 − 4 + 𝑗𝑗4 − 4 − 𝑗𝑗4] = −3
𝑛𝑛−𝑚𝑚
2𝑘𝑘+1 2𝑘𝑘+1
Angle of asymptotes, 𝜙𝜙𝐴𝐴 = � � (180°) = � � (180°) = (2𝑘𝑘 + 1)(45°)
𝑛𝑛−𝑚𝑚 4
0 ≤ 𝑘𝑘 ≤ (𝑎𝑎 − 𝑚𝑚 − 1); 0 ≤ 𝑘𝑘 ≤ 3
k 0 1 2 3
𝜙𝜙𝐴𝐴 45° 135° 225° 315°
Cross-over point
The characteristic equation is given by
1 + 𝐾𝐾𝐾𝐾(𝑠𝑠) = 0
𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 2 + 8𝑠𝑠 + 32) + 𝐾𝐾 = 0; 𝑠𝑠 4 + 12𝑠𝑠 3 + 64𝑠𝑠 2 + 128𝑠𝑠 + 𝐾𝐾 = 0
Routh Array
𝑠𝑠 4 1 64 K
𝑠𝑠 3 12 128 0
𝑠𝑠 2 𝑗𝑗1 𝑗𝑗2
𝑠𝑠1 𝑐𝑐1 𝑐𝑐2
𝑠𝑠 0 𝑎𝑎1
105
𝑏𝑏1 = −(128/12)(1) + 64 = 160/3
𝑏𝑏2 = 𝐾𝐾
𝑐𝑐1 = 128 − (9𝐾𝐾/40)
𝑐𝑐2 = 0
𝑑𝑑1 = 𝐾𝐾
For stability, 𝑏𝑏1 , 𝑐𝑐1 , 𝑑𝑑1 should be positive.
9𝐾𝐾
So, 𝐾𝐾 > 0 𝑎𝑎𝑎𝑎𝑎𝑎 < 128; 𝑜𝑜𝑜𝑜 𝐾𝐾 < 568.89
40
For 𝐾𝐾 = 568.89, 𝑐𝑐1 = 0 and hence the row of 𝑠𝑠1 has all zeros.
Then, the auxiliary polynomial is given by, 𝑏𝑏1 𝑠𝑠 2 + 𝑏𝑏2 = 0
Break-away point:
Characteristic equation is 1 + 𝐾𝐾𝐾𝐾(𝑠𝑠) = 0
𝐾𝐾 = −1/𝑃𝑃(𝑠𝑠) = −(𝑠𝑠 4 + 12𝑠𝑠 3 + 64𝑠𝑠 2 + 128𝑠𝑠)
The value of s at 𝐾𝐾 = 𝐾𝐾𝑚𝑚𝑚𝑚𝑚𝑚 gives the break-away point.
So, 𝑑𝑑𝑑𝑑/𝑑𝑑𝑑𝑑 = 0; 4𝑠𝑠 3 + 36𝑠𝑠 2 + 128𝑠𝑠 + 128 = 0;
Let F(s) = 𝑑𝑑𝑑𝑑/𝑑𝑑𝑑𝑑; Since 𝐹𝐹(𝑠𝑠) is cubic, we can solve for a root by graphical method.
𝑠𝑠 0 −1 −2
𝐹𝐹(𝑠𝑠) 128 32 −16
106
Break-away point is, 𝜎𝜎𝑗𝑗 = −1.58
Alternately, one can find the roots
of this cubic polynomial by
MATLAB and choose the real
value of root that is within the
region of loci.
Departure Angle
Let us find the departure angle at the complex pole, −4 + 𝑗𝑗4
At 𝑠𝑠 = −4 + 𝑗𝑗4,
𝐾𝐾’(𝑠𝑠) = [(𝑠𝑠 + 4 − 𝑗𝑗4)𝐾𝐾(𝑠𝑠)]𝑠𝑠=−4+𝑗𝑗4
= 1�[(−4 + 𝑗𝑗4)(𝑗𝑗4)(𝑗𝑗8)]
𝐾𝐾’(𝑠𝑠) = 𝐾𝐾’/𝐷𝐷’;
∠𝐾𝐾’ = ∠𝐾𝐾’ − ∠𝐷𝐷’
= (0) − (−45 + 90 + 90) = −135°
𝜃𝜃𝑑𝑑 = ±(−135 + 360) = ±225°
For the pole, −4 + 𝑗𝑗4; 𝜃𝜃𝑑𝑑 = 225° and for the pole, −4 − 𝑗𝑗4; 𝜃𝜃𝑑𝑑 = −225°
107
Root-Locus Diagram
PID Controllers
It is a three terms controller commonly used in industrial process control. The three terms
are (1) Proportional, (2) Integral and (3) Derivative.
𝐾𝐾
𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝐾𝐾𝐾𝐾 + � 𝐼𝐼�𝑆𝑆� + 𝐾𝐾𝐷𝐷 𝑆𝑆
Where 𝐾𝐾𝐾𝐾 , 𝐾𝐾𝐼𝐼 , 𝐾𝐾𝐷𝐷 are gains of proportional, integral and derivative terms respectively. It
is used to improve stability and steady state error.
𝐾𝐾
PI-Controller: 𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝐾𝐾𝐾𝐾 + � 𝐼𝐼�𝑆𝑆�; it is used to improve the steady state error.
PD-Controller: 𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝐾𝐾𝐾𝐾 + 𝐾𝐾𝐷𝐷 𝑆𝑆; it is used to improve the stability of system.
A PI and PD controller placed in series is equivalent to a PID controller.
108
=
𝐾𝐾
Let 𝐺𝐺1 = PI Controller = 𝐾𝐾𝐾𝐾1 + � 𝐼𝐼�𝑆𝑆�
𝐺𝐺𝑐𝑐 𝐺𝐺
𝑇𝑇 =
1 + 𝐺𝐺𝑐𝑐 𝐺𝐺
𝐾𝐾
𝐺𝐺𝑐𝑐 = 𝐾𝐾𝐾𝐾 + � 𝐼𝐼�𝑠𝑠� + 𝐾𝐾𝐷𝐷 𝑠𝑠
109
Example
Given, 𝐺𝐺(𝑠𝑠) = 1�[𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 5)]
Find the PID controller transfer function and the system transfer function.
Routh Array:
𝑠𝑠 3 1 5 0
𝑠𝑠 2 6 𝐾𝐾 0
𝑠𝑠1 𝑏𝑏1 0
𝑠𝑠 0 𝐾𝐾
𝑏𝑏1 = (−𝐾𝐾/6) + 5
For stability, 𝑏𝑏1 and 𝐾𝐾 should be positive.
For marginal stability, 𝑏𝑏1 = 0; (𝐾𝐾/6) = 5
𝐾𝐾 = 30 = 𝐾𝐾𝑈𝑈
𝑞𝑞(𝑠𝑠) = 𝑠𝑠 3 + 6𝑠𝑠 2 + 5𝑠𝑠 + 𝐾𝐾 = 0
𝑞𝑞(𝑗𝑗𝑗𝑗) = −𝜔𝜔2 (𝑗𝑗𝑗𝑗) − 6𝜔𝜔2 + 5(𝑗𝑗𝑗𝑗) + 30 = 0
6(5 − 𝜔𝜔2 ) + 𝑗𝑗𝑗𝑗(5 − 𝜔𝜔2 ) = 0; (5 − 𝜔𝜔2 )(6 + 𝑗𝑗𝑗𝑗) = 0
110
𝐾𝐾𝐷𝐷 = 0.075𝐾𝐾𝑈𝑈 𝑇𝑇𝑈𝑈 = 6.32
1
𝐺𝐺𝑐𝑐 (𝑠𝑠) = � � [18𝑆𝑆 + 12.81 + 6.32𝑆𝑆 2 ]
𝑆𝑆
6.32
=� � [𝑆𝑆 2 + 2.85𝑆𝑆 + 2.03]
𝑆𝑆
6.32
=� � [(𝑆𝑆 + 1.425)2 ]
𝑆𝑆
ONE Pole: 𝑠𝑠 = 0
TWO Zeros: 𝑠𝑠 = −1.425, 𝑠𝑠 = −1.425
Transfer function
6.32
Controller Transfer Function: 𝐺𝐺𝑐𝑐 (𝑠𝑠) = � � (𝑆𝑆 2 + 2.85𝑆𝑆 + 2.03)
𝑆𝑆
1
𝐺𝐺 =
𝑆𝑆(𝑆𝑆 + 1)(𝑆𝑆 + 5)
6.32(𝑆𝑆 2 + 2.85𝑆𝑆 + 2.03)
𝐺𝐺𝑐𝑐 𝐺𝐺 =
𝑆𝑆 2 (𝑆𝑆 + 1)(𝑆𝑆 + 5)
System Transfer Fuction:
𝐺𝐺𝑐𝑐 𝐺𝐺 6.32(𝑆𝑆 2 + 2.85𝑆𝑆 + 2.03)
𝑇𝑇(𝑆𝑆) = = 2
1 + 𝐺𝐺𝑐𝑐 𝐺𝐺 𝑆𝑆 (𝑆𝑆 + 1)(𝑆𝑆 + 5) + 6.32(𝑆𝑆 2 + 2.85𝑆𝑆 + 2.03)
6.3𝑆𝑆 2 + 18𝑆𝑆 + 12.8
𝑇𝑇(𝑆𝑆) =
𝑆𝑆 4 + 6𝑆𝑆 3 + 11.3𝑆𝑆 2 + 18𝑆𝑆 + 12.8
111
Assessment
1. For 𝑇𝑇 = 𝐾𝐾𝐾𝐾/(1 + 𝐾𝐾𝐾𝐾), the poles of a closed loop system at K = 0 are equal to
a) Open loop poles
b) Open loop zeros
c) Roots of the characteristic equation
d) All of the above
3. 𝐾𝐾 > 0 in a region if the sum of poles and zeros to the right of an arbitrary point in
this region is
a) Zero
b) Odd
c) Even
d) None of the above
112
6. if there is no path or loci in a region, then
a) 𝐾𝐾 = 0
b) 𝐾𝐾 = ∞
c) 𝐾𝐾 > 0
d) 𝐾𝐾 < 0
113
8. Bode Plot and Nyquist Plot
Learning Objectives:
1) To express the magnitude of system transfer function in frequency domain in
terms of decibel (dB).
2) To draw the Bode plots of magnitude (dB) and phase angle in separate plots as a
function of frequency.
3) To draw the Nyquist plot of magnitude and phase angle in a same plot (polar plot)
4) To determine Gain margin, Phase margin and bandwidth frequency
Hendrik Wade Bode (1905 – 1982) invented Bode – Plots to represent the magnitude and
phase angle of system transfer function in two separate logarithmic graphs. Also, he
invented gain margin, phase margin and bandwidth in the stability analysis of linear
system. Harry Theodor Nyquist (1889 – 1976) represented the magnitude and phase
angle together in one plot using polar graph. These graphs are called Nyquist Plots and
they provide alternate method in stability analysis.
Decibel:
“Bel” is defined as logarithmic ratio of two power levels. A decibel is equal to one tenth
of a Bel, and it is commonly used in the measurement of noise in acoustic analysis.
𝑃𝑃 𝑃𝑃
Sound level, 𝐿𝐿 = 𝑙𝑙𝑙𝑙𝑙𝑙10 � 1 � 𝐵𝐵𝐵𝐵𝐵𝐵; 1𝐵𝐵𝐵𝐵𝐵𝐵 = 10𝑑𝑑𝑑𝑑; 𝐿𝐿 = 10[𝑙𝑙𝑙𝑙𝑙𝑙10 � 1 �]𝑑𝑑𝑑𝑑
𝑃𝑃2 𝑃𝑃2
Power 𝑃𝑃 = 𝜔𝜔𝜔𝜔; Torque, 𝑇𝑇 = 𝐼𝐼𝐼𝐼 where ‘𝐼𝐼’ is the mass moment of inertia and 𝛼𝛼 = �𝜔𝜔�𝑡𝑡�
𝐼𝐼𝐼𝐼 𝐼𝐼
So, 𝑃𝑃 = 𝜔𝜔 � � = 𝜔𝜔2
𝑡𝑡 𝑡𝑡
115
𝑃𝑃1 𝜔𝜔12
=
𝑃𝑃2 𝜔𝜔22
𝜔𝜔1 2 𝜔𝜔1
𝐿𝐿 = 10𝑙𝑙𝑙𝑙𝑙𝑙10 � � = 20𝑙𝑙𝑙𝑙𝑙𝑙10 � � 𝑑𝑑𝑑𝑑
𝜔𝜔2 𝜔𝜔2
For an Octave, 𝜔𝜔2 = 2𝜔𝜔1 ; 𝐿𝐿 = |20𝑙𝑙𝑙𝑙𝑙𝑙(1⁄2)| = 6𝑑𝑑𝑑𝑑
For a Decade, 𝜔𝜔2 = 10𝜔𝜔1 ; 𝐿𝐿 = |20𝑙𝑙𝑙𝑙𝑙𝑙(1⁄10)| = 20𝑑𝑑𝑑𝑑
For comparison of “𝑑𝑑𝑑𝑑” level, the auditory threshold is (0)𝑑𝑑𝑑𝑑, whisper is (30)𝑑𝑑𝑑𝑑, loud
thunder is (110)𝑑𝑑𝑑𝑑, Jet engine noise during take-off of an airplane is 140𝑑𝑑𝑑𝑑, a rocket
engine noise during take-off is 180𝑑𝑑𝑑𝑑.
𝑪𝑪𝑪𝑪𝑪𝑪𝑪𝑪 − (𝒊𝒊𝒊𝒊)
𝐾𝐾(𝑧𝑧 + 𝑗𝑗𝑗𝑗)
𝑇𝑇(𝑗𝑗𝑗𝑗) = = 𝑁𝑁/𝐷𝐷
(𝑗𝑗𝑗𝑗)2 (𝑎𝑎+ 𝑗𝑗𝑗𝑗)(𝑏𝑏 + 𝑗𝑗𝑗𝑗)
Magnitude, 𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝑇𝑇| = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝑁𝑁| − 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐷𝐷|
= [20𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 + 10𝑙𝑙𝑙𝑙𝑙𝑙(𝑧𝑧 2 + 𝜔𝜔2 ) − 20(2)𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙] − 10𝑙𝑙𝑙𝑙𝑙𝑙(𝑎𝑎2 + 𝜔𝜔2 ) − 10𝑙𝑙𝑙𝑙𝑙𝑙(𝑏𝑏 2 + 𝜔𝜔2 )
Phase Angle,
𝜙𝜙 = ∠𝑇𝑇 = ∠𝑁𝑁 − ∠𝐷𝐷 = 0 + 𝑡𝑡𝑡𝑡𝑡𝑡−1 (𝜔𝜔⁄𝑧𝑧) − 2(𝜋𝜋⁄2) − 𝑡𝑡𝑡𝑡𝑡𝑡−1 (𝜔𝜔⁄𝑎𝑎) − 𝑡𝑡𝑡𝑡𝑡𝑡−1 (𝜔𝜔⁄𝑏𝑏)
116
𝑪𝑪𝑪𝑪𝑪𝑪𝑪𝑪 − (𝒊𝒊𝒊𝒊𝒊𝒊)
A typical transfer function, 𝑇𝑇(𝑠𝑠) can be expressed as,
𝐾𝐾(1 + 𝜏𝜏1 𝑠𝑠)
𝑇𝑇(𝑠𝑠) =
𝑠𝑠 𝑁𝑁 (1 + 𝜏𝜏2 𝑠𝑠)(𝑠𝑠 2 + 2𝜁𝜁𝜔𝜔𝑛𝑛 𝑠𝑠 + 𝜔𝜔𝑛𝑛2 )
𝐾𝐾(1 + 𝑗𝑗𝑗𝑗𝜏𝜏1 )
𝑇𝑇(𝑗𝑗𝑗𝑗) =
(𝑗𝑗𝑗𝑗)𝑁𝑁 (1 + 𝑗𝑗𝑗𝑗𝜏𝜏2 )(−𝜔𝜔 2 + 𝑗𝑗(2𝜁𝜁𝜔𝜔𝑛𝑛 )𝜔𝜔 + 𝜔𝜔𝑛𝑛2 )
𝐾𝐾1 (1 + 𝑗𝑗𝑗𝑗𝜏𝜏1 )
=
(𝑗𝑗𝑗𝑗)𝑁𝑁 (1 + 𝑗𝑗𝑗𝑗𝜏𝜏2 ){(1 − 𝑢𝑢2 ) + 𝑗𝑗(2𝜁𝜁𝜁𝜁)}
Where 𝐾𝐾1 = (𝐾𝐾/𝜔𝜔𝑛𝑛2 ) and 𝑢𝑢 = (𝜔𝜔/𝜔𝜔𝑛𝑛 )
𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝑇𝑇(𝑗𝑗𝑗𝑗)|
= [20𝑙𝑙𝑙𝑙𝑙𝑙𝐾𝐾1 + 10𝑙𝑙𝑙𝑙𝑙𝑙(1 + 𝜔𝜔2 𝜏𝜏1 2 )] − [20𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁 + 10𝑙𝑙𝑙𝑙𝑙𝑙(1 + 𝜔𝜔2 𝜏𝜏2 2 ) + 10𝑙𝑙𝑙𝑙𝑙𝑙{(1 − 𝑢𝑢2 )2 + (2𝜁𝜁𝜁𝜁)2 }]
Example
𝑇𝑇(𝑠𝑠) = 1000/[(𝑠𝑠 + 10)(𝑠𝑠 + 100)]
Find the magnitude in dB and phase angle in degrees, for 𝜔𝜔 = 0,10,200 𝑟𝑟𝑟𝑟𝑟𝑟/𝑠𝑠
𝑇𝑇(𝑗𝑗𝑗𝑗) = 1000/[(10 + 𝑗𝑗𝑗𝑗)(100 + 𝑗𝑗𝑗𝑗)]
Magnitude: 𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝑇𝑇(𝑗𝑗𝑗𝑗)|
= 20𝑙𝑙𝑙𝑙𝑙𝑙(1000) − 10𝑙𝑙𝑙𝑙𝑙𝑙(100 + 𝜔𝜔2 ) − 10𝑙𝑙𝑙𝑙𝑙𝑙(10000 + 𝜔𝜔2 )
= 60 − 10[𝑙𝑙𝑙𝑙𝑙𝑙(100 + 𝜔𝜔2 ) + 10𝑙𝑙𝑙𝑙𝑙𝑙(10000 + 𝜔𝜔2 )]
Phase angle:
𝜙𝜙 = 0 − 𝑡𝑡𝑡𝑡𝑡𝑡−1 (𝜔𝜔⁄10) − 𝑡𝑡𝑡𝑡𝑡𝑡−1 (𝜔𝜔⁄100)
𝜔𝜔 𝑑𝑑𝑑𝑑 𝜙𝜙(𝑑𝑑𝑑𝑑𝑑𝑑)
0 0 0
10 −3.05 −50.71
200 −33.02 −150.57
117
Peak value of Magnitude and Frequency Ratio for Complex poles:
For, 𝐺𝐺(𝑗𝑗𝑗𝑗) = �1�[(1 − 𝑢𝑢2 ) 𝑢𝑢 = �𝜔𝜔�𝜔𝜔𝑛𝑛 �
+ 𝑗𝑗(2𝜁𝜁𝜁𝜁)]� ;
Peak value:
For 𝜻𝜻 < 𝟏𝟏
𝜁𝜁 𝑀𝑀𝑝𝑝𝑝𝑝 𝜔𝜔𝑟𝑟 ⁄𝜔𝜔𝑛𝑛
0 ∞ 1
0.1 5.025 0.99
0.2 2.55 0.96
0.707 1.0 0
118
Example
1
For 𝐺𝐺 = and 𝐾𝐾 = 2 draw the Bode Plot.
𝑠𝑠(𝑠𝑠+1)(𝑠𝑠+2)
2 2 2
𝐾𝐾𝐺𝐺 = = = 3
𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 2) 𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 2) + 2 (𝑠𝑠 + 3𝑠𝑠 + 2𝑠𝑠 + 2)
2
2 2
𝑇𝑇(𝑗𝑗𝑗𝑗) = =
[(−𝑗𝑗 2 )𝑗𝑗𝑗𝑗 − 3𝑗𝑗 + 2(𝑗𝑗𝑗𝑗) + 2] [(2 − 3𝑗𝑗 ) + 𝑗𝑗𝑗𝑗(2 − 𝑗𝑗 2 )]
2 2
𝑗𝑗 dB 𝜙𝜙(𝑑𝑑𝐵𝐵𝑙𝑙)
0.1 0.09 −6
0.8 5 −86
1.0 3 −135
2.0 −14.6 −202
Example:
For the same example above, find 𝑀𝑀𝑝𝑝𝐼𝐼 , 𝜁𝜁, 𝑃𝑃. 𝑂𝑂. , 𝑇𝑇𝑠𝑠
119
1
𝑀𝑀𝑝𝑝𝑝𝑝 = = 1.8
2𝜁𝜁�1 − 𝜁𝜁 2
𝜁𝜁 4 − 𝜁𝜁 2 + 0.077 = 0
𝜁𝜁 = 0.29, 0.96
Choose 𝜁𝜁 = 0.29 since 𝜁𝜁 < 1; the other value is close to one.
Maximum value of 5 𝑑𝑑𝑑𝑑 occurs at 𝜔𝜔 = 0.8; 𝜔𝜔𝑟𝑟 = 0.8.
𝜔𝜔𝑟𝑟 0.8
𝜔𝜔𝑛𝑛 = = = 0.88
�1 − 2𝜁𝜁 2 �1 − 2(0.29)2
−𝜁𝜁𝜁𝜁
� � �
𝑃𝑃. 𝑂𝑂. = 100𝑒𝑒 �1−𝜁𝜁 2 = 38.6%
4
𝑇𝑇𝑠𝑠 = = 15.67𝑠𝑠𝑠𝑠𝑠𝑠
𝜁𝜁𝜔𝜔𝑛𝑛
Example
120
𝑇𝑇(𝑠𝑠) =
𝑠𝑠(𝑠𝑠 + 1)(𝑠𝑠 + 2)
Find the bandwidth frequency, 𝜔𝜔𝐵𝐵 and respective phase angle 𝜙𝜙𝐵𝐵
120
𝑇𝑇(𝑗𝑗𝑗𝑗) =
(𝑗𝑗𝑗𝑗)(𝑗𝑗𝑗𝑗 + 1)(𝑗𝑗𝑗𝑗 + 2)
120
𝑗𝑗 𝑑𝑑𝐵𝐵 𝜙𝜙(𝑑𝑑𝐵𝐵𝑙𝑙)
3 10.9 −217.9
4 4.25 −229.4
5 −1.15 −236.9
6 −5.66 −242
7 −9.53 −246
𝑑𝑑𝐵𝐵 𝑗𝑗
−1.15 5
−3 ?
−5.66 6
Linear Interpolation
𝑌𝑌 = 𝑌𝑌1 + [(𝑋𝑋 − 𝑋𝑋1 )(𝑌𝑌2 − 𝑌𝑌1 )/(𝑋𝑋2 − 𝑋𝑋1 )]
= 5 + [(−1.85)(1)/(−4.51)] = 5.4
121
Second order system – Bandwidth Frequency and Damping ratio
For a second order system,
2
𝜔𝜔𝑛𝑛 2
𝜔𝜔𝑛𝑛
𝑇𝑇(𝑠𝑠) = 2 ; 𝜁𝜁 < 1; 𝑇𝑇(𝑗𝑗𝜔𝜔𝐵𝐵 ) = 2 2
𝑠𝑠 2 +(2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠+𝜔𝜔𝑛𝑛 �𝜔𝜔𝑛𝑛 −𝜔𝜔𝐵𝐵 �+𝑗𝑗2𝜁𝜁𝜔𝜔𝑛𝑛 𝜔𝜔𝐵𝐵
1 𝜔𝜔𝐵𝐵
= ; where 𝑢𝑢 = �𝜔𝜔𝑛𝑛
(1 − 𝑢𝑢2 )+ 𝑖𝑖(2𝜁𝜁𝜁𝜁)
1
|𝑇𝑇| =
�(1 − 𝑢𝑢2 )2 + (2𝜁𝜁𝜁𝜁)2
3
At 20𝑙𝑙𝑙𝑙𝑙𝑙|𝑇𝑇| = −3 𝑑𝑑𝑑𝑑, 𝑙𝑙𝑙𝑙𝑙𝑙|𝑇𝑇| = − � � ; |𝑇𝑇| = 0.7079
20
For given Percent Overshoot and Settling time, the value of 𝜁𝜁 can be determined from
Percent Overshoot while the value of 𝜔𝜔𝑛𝑛 can be determined from Settling time. Then the
bandwidth frequency (𝜔𝜔𝐵𝐵 ) can be easily determined from the above equation.
Example
81
Given 𝑇𝑇(𝑠𝑠) =
𝑠𝑠 2 +9𝑠𝑠+81
122
Nyquist Stability Criterion
It is based on mapping contours from S – plane to 𝐹𝐹(𝑠𝑠) plane.
𝐺𝐺
𝑇𝑇(𝑠𝑠) =
1 + 𝐺𝐺𝐺𝐺
𝑁𝑁(𝑠𝑠)
Characteristic equation, 𝐹𝐹(𝑠𝑠) = 1 + 𝐺𝐺𝐺𝐺 = 1 + 𝐿𝐿(𝑠𝑠); 𝐿𝐿(𝑠𝑠) = 𝐺𝐺(𝑠𝑠)𝐺𝐺(𝑠𝑠) =
𝐷𝐷(𝑠𝑠)
𝐷𝐷 + 𝑁𝑁
𝐹𝐹(𝑠𝑠) =
𝐷𝐷
The poles of 𝐹𝐹(𝑠𝑠) are same as the poles of 𝐿𝐿(𝑠𝑠). Nyquist plot is a polar plot of magnitude
and angle of 𝐿𝐿(𝑗𝑗𝑗𝑗). 𝐿𝐿(𝑠𝑠) = 𝐹𝐹(𝑠𝑠) − 1; 𝐿𝐿(𝑠𝑠) = −1 for 𝐹𝐹(𝑠𝑠) = 0.
The Nyquist Stability criterion states that a feedback system is stable if and only if the
contour of the plot does not encircle the (−1,0) point.
Example
1000
Sketch a Nyquist plot for given 𝐿𝐿(𝑠𝑠) = (𝑠𝑠+1)(𝑠𝑠+10)
1000
𝐿𝐿(𝑠𝑠) =
𝑠𝑠 2 + 11𝑠𝑠 + 10
1000
𝐿𝐿(𝑗𝑗𝑗𝑗) =
[(10 − 𝑗𝑗 2 ) + 𝑗𝑗(11𝑗𝑗)]
1000
|𝐿𝐿(𝑗𝑗𝑗𝑗)| =
�(10 − 𝑗𝑗 2 )2 + 121𝑗𝑗 2
11𝑗𝑗
∠𝐿𝐿(𝑗𝑗𝑗𝑗) = 0 − 𝑡𝑡𝑡𝑡𝑡𝑡−1 � �
10 − 𝑗𝑗 2
Polar Plot of |𝑳𝑳| and ∠𝑳𝑳
𝐿𝐿(𝑗𝑗𝑗𝑗) = 𝑓𝑓(𝑟𝑟, 𝜃𝜃) where 𝑟𝑟 = |𝐿𝐿|𝑡𝑡𝑡𝑡𝑑𝑑𝜃𝜃 = ∠𝐿𝐿
123
𝑗𝑗 𝑟𝑟 𝜃𝜃(𝑑𝑑𝐵𝐵𝑙𝑙)
0 100 0
1 70.35 −50.71
10 6.8 −129.3
100 0.1 −173.7
∞ 0 −180
The negative sign in the angle represent they are measured in clockwise direction. The
plot is symmetric. MATLAB can be used to generate the plot. The procedure for manual
plot is given below.
The contour does not encircle the point (−1,0) and hence the system is stable.
124
Example
𝐾𝐾 𝐾𝐾
𝐿𝐿(𝑠𝑠) = 2
= 3
𝑠𝑠(𝑠𝑠 + 1) 𝑠𝑠 + 2𝑠𝑠 2 + 𝑠𝑠
𝐾𝐾
𝐿𝐿(𝑗𝑗𝑗𝑗) =
(−2𝑗𝑗 2 ) + 𝑗𝑗(𝑗𝑗 − 𝑗𝑗 3 )
𝐾𝐾
|𝐿𝐿| =
�4𝑗𝑗 2 + (𝑗𝑗 − 𝑗𝑗 3 )2
−1
1 − 𝑗𝑗2
𝑡𝑡𝑡𝑡𝑡𝑡 � � = −180°
2𝑗𝑗
(1 − 𝑗𝑗2 )
= 𝑡𝑡𝑡𝑡𝑡𝑡(−180) = 0; 𝑗𝑗 = 1
2𝑗𝑗
Then 𝐿𝐿 = 𝐾𝐾/(−2)
At 𝐾𝐾 = 1, 𝐿𝐿 = −(1/2); the contour does not encircle the point (−1,0) and the system is
stable.
𝐾𝐾 = 2, 𝐿𝐿 = −1; the contour cut through the point (−1, 0) and the system is marginally
stable.
𝐾𝐾 = 3, 𝐿𝐿 = −1.5; the contour encircle the point (−1,0) and the system is unstable.
125
Relative Stability
In time domain, a system with lower value of settling time (𝑇𝑇𝑠𝑠 ) is considered relatively
more stable than a system with higher value of settling time. In frequency domain, the
parameters used to measure relative stability are Gain Margin (𝐺𝐺𝐺𝐺) and Phase Margin
(𝑃𝑃𝑃𝑃).
Gain Margin is defined as the increase in system gain at a frequency when the phase
angle, 𝜙𝜙 = −180° that will result in a marginally stable system with intersection of
(−1,0) point on the Nyquist diagram.
Phase margin is defined as the amount of phase shift at the cross over frequency when the
magnitude is 𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧 𝑑𝑑𝑑𝑑 (20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| = 0) that will result in a marginally stable system with
intersection of (−1,0) point on the Nyquist diagram.
At |𝐿𝐿| = 1, 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| = 0 𝑑𝑑𝑑𝑑
The gain cross-over frequency, 𝜔𝜔𝑐𝑐 = 𝜔𝜔 at |𝐿𝐿| = 1. So, from Bode plot the phase margin
can be obtained as the phase angle when 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| = 0.
𝑃𝑃𝑃𝑃 = 𝜙𝜙 at the gain cross-over frequency, 𝜔𝜔𝑐𝑐 .
A typical Bode Plot with 𝑃𝑃𝑃𝑃 and 𝐺𝐺𝐺𝐺 is given below.
126
Computation of 𝑮𝑮𝑮𝑮 and 𝑷𝑷𝑮𝑮
Given the transfer function, 𝐿𝐿(𝑠𝑠); determine 𝐿𝐿(𝑗𝑗𝑗𝑗) and then find magnitude (20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿|)
and the angle ∠𝐿𝐿.
Gain Margin (𝑑𝑑𝐵𝐵): Set ∠𝐿𝐿 = −180 and find 𝑗𝑗 = 𝑗𝑗0 , the phase cross-over frequency.
Then 𝐺𝐺𝑀𝑀 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| evaluated at 𝑗𝑗0 .
Phase Margin (𝑑𝑑𝐵𝐵g): Set |𝐿𝐿| = 1 and find 𝑗𝑗 = 𝑗𝑗𝑐𝑐 , the gain cross-over frequency. Then
𝑃𝑃𝑀𝑀 = ∠𝐿𝐿 evaluated at 𝑗𝑗𝑐𝑐 .
Example
𝐾𝐾
𝐿𝐿(𝑠𝑠) =
(𝑠𝑠 + 2)(𝑠𝑠 + 3)
a) Find the 𝐺𝐺𝑀𝑀 for 𝐾𝐾 = 1
b) Find ‘𝐾𝐾’ for given 𝐺𝐺𝑀𝑀 of −3 𝑑𝑑𝐵𝐵
c) Find 𝑃𝑃𝑀𝑀 for 𝐾𝐾 = 10
𝐾𝐾
𝐿𝐿(𝑠𝑠) =
𝑠𝑠 2 + 5𝑠𝑠 + 6
127
𝐾𝐾
𝐿𝐿(𝑗𝑗𝑗𝑗) =
[(6 − 𝜔𝜔 2 )+ 𝑗𝑗(5𝜔𝜔)]
𝐾𝐾 5𝜔𝜔
|𝐿𝐿| = ; ∠𝐿𝐿 = − 𝑡𝑡𝑡𝑡𝑡𝑡−1
�(6 − 𝜔𝜔 2 )2 + 25𝜔𝜔 2 (6 − 𝜔𝜔 2 )
(c) K=10
𝐾𝐾
|𝐿𝐿| = =1
[𝜔𝜔 4 + 13𝜔𝜔 2 + 36](1⁄2)
𝐾𝐾 2 = 𝜔𝜔4 + 13𝜔𝜔2 + 36 = 100
𝜔𝜔4 + 13𝜔𝜔2 − 64 = 0
1
𝜔𝜔2 = � � �−13 ± √425� = 3.8, −16.8
2
Since 𝜔𝜔 is positive, 𝜔𝜔𝑐𝑐 = √3.8 = 1.95
5𝜔𝜔𝑐𝑐
∠𝐿𝐿 = − 𝑡𝑡𝑡𝑡𝑡𝑡−1 = −77°
(6 − 𝜔𝜔𝑐𝑐 2 )
𝑃𝑃𝑃𝑃 = −77°
128
Phase Margin and Damping
2
𝜔𝜔𝑛𝑛
For a second order system, 𝐿𝐿(𝑠𝑠) =
𝑠𝑠(𝑠𝑠+2𝜁𝜁𝜔𝜔𝑛𝑛 )
𝜔𝜔𝑛𝑛2
𝐿𝐿(𝑗𝑗𝑗𝑗) =
(−𝜔𝜔 2 ) + 𝑗𝑗(2𝜁𝜁𝜔𝜔𝑛𝑛 𝜔𝜔)
𝜔𝜔𝑛𝑛2
|𝐿𝐿| = 4
[𝜔𝜔 + (4𝜁𝜁 2 𝜔𝜔𝑛𝑛2 )𝜔𝜔 2 ](1⁄2)
2𝜁𝜁𝜔𝜔𝑛𝑛 𝜔𝜔 2𝜁𝜁𝜔𝜔𝑛𝑛
∠𝐿𝐿 = − 𝑡𝑡𝑡𝑡𝑡𝑡−1 � � = 𝑡𝑡𝑡𝑡𝑡𝑡 −1
� �
−𝜔𝜔 2 𝜔𝜔
𝜔𝜔 = 𝜔𝜔𝑐𝑐 at |𝐿𝐿| = 1
𝜔𝜔4 + (4𝜁𝜁 2 𝜔𝜔𝑛𝑛2 )𝜔𝜔2 − 𝜔𝜔𝑛𝑛4 = 0
Solving,
2𝜁𝜁𝜔𝜔𝑛𝑛 2𝜁𝜁
𝑃𝑃𝑃𝑃 = 𝑡𝑡𝑡𝑡𝑡𝑡−1 � � = 𝑡𝑡𝑡𝑡𝑡𝑡−1 � (1/2)
�
𝜔𝜔𝑐𝑐
�−2𝜁𝜁 2 + �4𝜁𝜁 4 + 1�
129
Assessment
1. Bode plot is,
a) A logarithmic plot
b) A polar plot
c) A linear plot
d) None of the above
2. Nyquist plot is
a) A logarithmic plot
b) A polar plot
c) A linear plot
d) None of the above
1
3. If 𝑇𝑇 = , the magnitude |𝑇𝑇| is
3+𝑗𝑗4
a) 1/5
b) 1/7
c) 1/25
d) 25
130
5. If 𝑇𝑇 = 4, ∠𝑇𝑇 is
a) 90°
b) 0°
c) 76°
d) 0.07°
6. If 𝑇𝑇 = 𝑗𝑗4, ∠𝑇𝑇 is
a) 90°
b) 0°
c) 76°
d) 0.07°
131
9. Phase margin is the phase angle evaluated at
a) Crossover frequency
b) Magnitude is 𝑧𝑧𝑧𝑧𝑧𝑧𝑧𝑧 𝑑𝑑𝑑𝑑
c) Magnitude = 1
d) All of the above
132
9. Design of control system
Learning Objectives:
1) To design a lead compensator.
2) To design a pre-filter.
3) To design a Lag compensator.
Compensator Design:
Compensator (𝐺𝐺𝑐𝑐 ) is an additional component added to the control system to compensate
for deficiency in performance. There are four types of compensators based on where it is
added in the loop of control system.
(i) Cascade Type: The compensator is added in the Feed-Forward loop as shown
below.
𝐺𝐺𝑐𝑐 ⟶ Compensator T.F
𝐺𝐺 ⟶Plant T.F.
(ii) Feedback Type: The compensator is added in the Feed-Back loop as shown
below.
133
(iv) Input Type:
The compensator is added in the input part of the loop, before the summing point as
shown below.
𝐾𝐾(𝑗𝑗𝑗𝑗 + 𝑧𝑧)
𝐺𝐺𝑐𝑐 (𝑗𝑗𝑗𝑗) =
(𝑗𝑗𝑗𝑗 + 𝑝𝑝)
𝑗𝑗
𝐾𝐾 �1 + 𝑗𝑗 � (𝑧𝑧)
= 𝑧𝑧
𝑗𝑗
�1 + 𝑗𝑗 � (𝑝𝑝)
𝑝𝑝
1 1
Let = 𝜏𝜏, and = 𝛼𝛼𝜏𝜏
𝑝𝑝 𝑧𝑧
𝑧𝑧 1 𝑧𝑧 𝐾𝐾
= ; 𝐾𝐾 � � =
𝑝𝑝 𝛼𝛼 𝑝𝑝 𝛼𝛼
𝐾𝐾
Let 𝐾𝐾1 =
𝛼𝛼
𝐾𝐾1 (1+𝑗𝑗𝑗𝑗𝛼𝛼𝑗𝑗)
So, 𝐺𝐺𝐶𝐶 (𝑗𝑗𝑗𝑗) =
(1+𝑗𝑗𝑗𝑗𝑗𝑗)
134
Lead Compensator Design
Design Parameters (𝜶𝜶, 𝝉𝝉)
Let 𝐾𝐾1 = 1
1 1
[1 + 𝑗𝑗𝑗𝑗(𝛼𝛼𝛼𝛼)] 1 + (𝛼𝛼𝛼𝛼)𝑠𝑠 𝛼𝛼𝛼𝛼(𝑠𝑠 + 𝛼𝛼𝛼𝛼) 𝛼𝛼(𝑠𝑠 + 𝛼𝛼𝛼𝛼)
𝐺𝐺𝐶𝐶 (𝑗𝑗𝑗𝑗) = ; 𝐺𝐺𝐶𝐶 (𝑠𝑠) = = =
[1 + 𝑗𝑗𝑗𝑗(𝜏𝜏)] 1 + (𝜏𝜏)𝑠𝑠 1 1
𝜏𝜏(𝑠𝑠 + ) (𝑠𝑠 + )
𝜏𝜏 𝜏𝜏
√1 + 𝛼𝛼 2 𝜔𝜔 2 𝜏𝜏 2
|𝐺𝐺𝑐𝑐 | =
√1 + 𝜔𝜔 2 𝜏𝜏 2
�1+𝛼𝛼 2 𝜔𝜔2 𝜏𝜏2 �
Magnitude, 𝑀𝑀 𝑖𝑖𝑖𝑖 𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐺𝐺𝑐𝑐 | = 10𝑙𝑙𝑙𝑙𝑙𝑙 � (1+𝜔𝜔2 𝜏𝜏2 )
�
1 + 𝛼𝛼 2 𝜔𝜔2 𝜏𝜏 2
𝑀𝑀 = 10𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙; 𝑤𝑤ℎ𝑒𝑒𝑒𝑒𝑒𝑒 𝐶𝐶 =
1 + 𝜔𝜔 2 𝜏𝜏 2
𝑀𝑀� �
𝐶𝐶 = (10)� 10
1 𝐶𝐶−1
At 𝜔𝜔 = 𝜔𝜔𝑐𝑐 , 𝜏𝜏 = �
𝜔𝜔𝑐𝑐 𝛼𝛼2 −𝐶𝐶
𝜔𝜔𝜔𝜔(𝛼𝛼−1)
So, 𝜙𝜙 = 𝑡𝑡𝑡𝑡𝑡𝑡−1 � �
1+𝛼𝛼𝜔𝜔2 𝜏𝜏2
𝜔𝜔𝜔𝜔(𝛼𝛼 − 1)
𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 =
1 + 𝛼𝛼𝜔𝜔 2 𝜏𝜏 2
1
At 𝜔𝜔 = 𝜔𝜔𝑚𝑚𝑚𝑚𝑚𝑚 , 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 = ∞ ⇒ 1 + 𝛼𝛼𝜔𝜔2 𝜏𝜏 2 = 0; |𝜔𝜔𝜔𝜔| =
√𝛼𝛼
𝛼𝛼 − 1 1 (𝛼𝛼 − 1)
𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 = � �� �=
√𝛼𝛼 1+1 2√𝛼𝛼
𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 (𝛼𝛼 − 1) 2√𝛼𝛼 𝛼𝛼 − 1
𝑠𝑠𝑠𝑠𝑠𝑠 𝜙𝜙 = = =
�1 + 𝑡𝑡𝑡𝑡𝑡𝑡2 (𝜙𝜙) 2√𝛼𝛼 (𝛼𝛼 + 1) 𝛼𝛼 + 1
1+𝑠𝑠𝑠𝑠𝑠𝑠 𝜙𝜙
So, we can find, 𝛼𝛼 =
1−𝑠𝑠𝑠𝑠𝑠𝑠 𝜙𝜙
135
1 + 𝛼𝛼 2 𝜔𝜔2 𝜏𝜏 2
𝑐𝑐 =
1 + 𝜔𝜔 2 𝜏𝜏 2
1
Substituting 𝜔𝜔2 𝜏𝜏 2 =
𝛼𝛼
1 + 𝛼𝛼
𝐶𝐶 = = 𝛼𝛼
1
1+� �
𝛼𝛼
So, 𝑀𝑀 = 10𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙; it is rounded off to next higher integer.
Design Process
Given the percent Overshoot (P.O.) and settling time (𝑇𝑇𝑠𝑠 ), we can find the values of 𝜁𝜁,
and 𝜔𝜔𝑛𝑛 .
𝛿𝛿 100
𝜁𝜁 = ; 𝛿𝛿 = 𝑙𝑙𝑙𝑙 � �
√𝛿𝛿 2 + 𝜋𝜋 2 𝑃𝑃. 𝑂𝑂.
4
𝜔𝜔𝑛𝑛 =
𝜁𝜁𝑇𝑇𝑠𝑠
𝜙𝜙 = 100𝜁𝜁 = Phase margin
1 + 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
𝛼𝛼 =
1 − 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠
𝑀𝑀 = 10𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 (Round-off to next higher integer)
𝑀𝑀� �
𝐶𝐶 = (10)� 10 ; it is not equal to 𝛼𝛼 since ‘𝑀𝑀’ is rounded off to an integer.
1 𝐶𝐶 − 1
𝜏𝜏 = �
𝜔𝜔𝑐𝑐 𝛼𝛼 2 − 𝐶𝐶
𝜔𝜔𝑐𝑐 = Cross-over frequency and either it is given or can be found from Bode Plot
1
𝛼𝛼�𝑠𝑠+ �
Compensator, 𝐺𝐺𝑐𝑐 = 𝛼𝛼𝛼𝛼
1
�𝑠𝑠+ �
𝜏𝜏
1
Zero: 𝑠𝑠 = −
𝛼𝛼𝛼𝛼
1
Polo: 𝑠𝑠 = −
𝜏𝜏
136
Design check
𝜙𝜙 > 0; 𝑀𝑀 > 0; 𝑙𝑙 > 𝑝𝑝2 + 1; 𝑝𝑝 = 𝑡𝑡𝑡𝑡𝑖𝑖𝜙𝜙
Pole should be greater than (−𝜁𝜁𝑗𝑗𝑠𝑠 ) and it should be in the desired region.
If the pole requirement is not satisfied, change the frequency (ωc ) and repeat the process.
For a second order system, characteristic equation is 𝑠𝑠 2 + (2𝜁𝜁𝑗𝑗𝑠𝑠 )𝑠𝑠 + 𝑗𝑗𝑠𝑠2 = 0
For 𝜁𝜁 < 1, Roots (Poles) are 𝑠𝑠1,2 = −𝜁𝜁𝑗𝑗𝑠𝑠 ± 𝑗𝑗𝑗𝑗𝑠𝑠 �1 − 𝜁𝜁 2 = −𝑡𝑡 ± 𝑗𝑗𝑗𝑗
|𝑡𝑡| 𝜁𝜁𝑗𝑗𝑠𝑠
𝑙𝑙𝑙𝑙𝑠𝑠𝐶𝐶 = = = 𝜁𝜁
𝑙𝑙𝐴𝐴 𝑗𝑗𝑠𝑠
Example
Design a compensator for given 𝜁𝜁 = 0.45, 𝑇𝑇𝑠𝑠 = 4 𝑠𝑠𝑒𝑒𝑐𝑐 and 𝑗𝑗𝑐𝑐 = 5 𝑒𝑒𝑡𝑡𝑑𝑑/𝑠𝑠
𝜙𝜙 = 100𝜁𝜁 = 45°
4 4
𝑗𝑗𝑠𝑠 = = = 2.22
𝜁𝜁𝑇𝑇𝑠𝑠 0.45 × 4
137
1 + 𝑠𝑠𝑖𝑖𝑖𝑖𝜙𝜙
𝛼𝛼 = = 5.83
1 − 𝑠𝑠𝑖𝑖𝑖𝑖𝜙𝜙
𝑀𝑀 = 10𝑙𝑙𝑙𝑙𝑙𝑙𝛼𝛼 = 10𝑙𝑙𝑙𝑙𝑙𝑙(5.83) = 7.66𝑑𝑑𝑑𝑑 ≈ 8𝑑𝑑𝑑𝑑 (rounded off to next higher value)
𝑀𝑀� �
𝑙𝑙 = (10)� 10 = (10)0.8 = 6.31
1 𝑙𝑙 − 1 1 5.31
𝜏𝜏 = � 2 = � = 0.087
𝑗𝑗𝑐𝑐 𝛼𝛼 − 𝑙𝑙 5 (5.832 − 6.31)
1
𝛼𝛼 �𝑠𝑠 + � 5.83(𝑠𝑠 + 1.97)
𝐺𝐺𝑐𝑐 = 𝛼𝛼𝜏𝜏 =
1 (𝑠𝑠 + 11.5)
�𝑠𝑠 + �
𝜏𝜏
Zero: 𝑠𝑠 = −1.97
Pole: 𝑠𝑠 = −11.5
Check:
𝜙𝜙 > 0, 𝑀𝑀 > 0; 𝑝𝑝 = 𝑡𝑡𝑡𝑡𝑖𝑖45 = 1; 𝑝𝑝2 + 1 = 2
𝑙𝑙 > (𝑝𝑝2 + 1); 𝜁𝜁𝑗𝑗𝑠𝑠 = 1; Pole > (−𝜁𝜁𝑗𝑗𝑠𝑠 )
𝐶𝐶 = 𝑐𝑐𝑙𝑙𝑠𝑠 −1 0.45 = 63.26°
Example
10
𝐺𝐺(𝑠𝑠) =
𝑠𝑠(𝑠𝑠+1)
138
(b) If required, design a compensator
𝐺𝐺 10
(a) 𝑇𝑇(𝑠𝑠) = =
1+𝐺𝐺 𝑠𝑠 2 +𝑠𝑠+10
Characteristic equation, 𝑠𝑠 2 + 𝑠𝑠 + 10 = 0
Comparing with standard form, 𝑠𝑠 2 + (2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 + 𝜔𝜔𝑛𝑛2 = 0
𝜔𝜔𝑐𝑐 = 3.1
Compensator Design: 𝜁𝜁 = 0.5, 𝜔𝜔𝑛𝑛 = 3, 𝜔𝜔𝑐𝑐 = 3.1
1
𝛼𝛼 �𝑠𝑠 + �
𝐺𝐺𝑐𝑐 = 𝛼𝛼𝛼𝛼
1
�𝑠𝑠 + �
𝜏𝜏
139
𝜙𝜙 = 100𝜁𝜁 = 50°
1 + 𝑠𝑠𝑖𝑖𝑖𝑖𝜙𝜙
𝛼𝛼 = = 7.549
1 − 𝑠𝑠𝑖𝑖𝑖𝑖𝜙𝜙
𝑀𝑀 = 10𝑙𝑙𝑙𝑙𝑙𝑙𝛼𝛼 = 8.78 ≈ 9 𝑑𝑑𝑑𝑑
𝑀𝑀� �
𝑙𝑙 = (10)� 10 = 7.94
1 𝑙𝑙 − 1 1 6.94
𝜏𝜏 = � 2 = � = 0.12
𝑗𝑗𝑐𝑐 𝛼𝛼 − 𝑙𝑙 3.1 49.05
(𝑠𝑠+1.1)
𝐺𝐺𝑐𝑐 = 7.55 (𝑠𝑠+8.33) ; Pole: 𝑠𝑠 = −8.3 > −𝜁𝜁𝑗𝑗𝑠𝑠
Desired Region
Design of Pre-filter
𝐺𝐺𝑐𝑐 𝐺𝐺 𝑠𝑠+𝑧𝑧 1
𝑇𝑇(𝑠𝑠) = ; Let 𝐺𝐺𝑐𝑐 = and 𝐺𝐺 =
1+𝐺𝐺𝑐𝑐 𝐺𝐺 𝑠𝑠+𝑝𝑝 𝑠𝑠
(𝑠𝑠+𝑧𝑧) (𝑠𝑠+𝑧𝑧)
𝐺𝐺𝑐𝑐 𝐺𝐺 = ; 𝑇𝑇(𝑠𝑠) =
𝑠𝑠(𝑠𝑠+𝑝𝑝) {𝑠𝑠(𝑠𝑠+𝑝𝑝)+(𝑠𝑠+𝑧𝑧)}
The zero of the system transfer function, 𝑇𝑇(𝑠𝑠) is euqal to the zero of the compensator
transfer function. Also the zero of the compensator affects the system characteristic
equation and hence the system response. To eliminate this effect of Zero in compensator,
a prefilter with unit magnitude (gain) is requred.
140
Prefilter with a P-I compensator
𝐾𝐾𝐼𝐼 𝐾𝐾𝑝𝑝 𝑠𝑠+𝐾𝐾𝐼𝐼 1
𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝐾𝐾𝑝𝑝 + = ; 𝐺𝐺(𝑠𝑠) =
𝑠𝑠 𝑠𝑠 𝑠𝑠
𝐾𝐾
�𝐾𝐾 𝐼𝐼 �
𝐾𝐾𝐼𝐼 𝑝𝑝
To eliminate the zero, ; the transfer function of prefilter, 𝐺𝐺𝑝𝑝 = 𝐾𝐾
𝐾𝐾𝑝𝑝 �𝑠𝑠+ 𝐼𝐼 �
𝐾𝐾𝑝𝑝
Example:
Design a prefilter for given 𝑃𝑃. 𝑂𝑂. = 4%, 𝑇𝑇𝑠𝑠 = 0.5 𝑠𝑠𝑒𝑒𝑐𝑐
𝛿𝛿 100
𝜁𝜁 = ; 𝛿𝛿 = 𝑙𝑙𝑖𝑖 � � = 𝑙𝑙𝑖𝑖(25) = 3.22; 𝜁𝜁 = 0.716
√𝛿𝛿 2 + 𝜋𝜋 2 𝑃𝑃. 𝑂𝑂.
4
𝑗𝑗𝑠𝑠 = = 11.17 𝑒𝑒𝑡𝑡𝑑𝑑/𝑠𝑠; 2𝜁𝜁𝑗𝑗𝑠𝑠 = 16
𝜁𝜁𝑇𝑇𝑠𝑠
Desired characteristic equation,
𝑠𝑠 2 + (2𝜁𝜁𝑗𝑗𝑠𝑠 )𝑠𝑠 + 𝑗𝑗𝑠𝑠2 = 𝑠𝑠 2 + 16𝑠𝑠 + 124.77
Comparing with 𝑠𝑠 2 + 𝐾𝐾𝑝𝑝 𝑠𝑠 + 𝐾𝐾𝐼𝐼
𝐾𝐾𝐼𝐼
We can find 𝐾𝐾𝑝𝑝 = 16, 𝐾𝐾𝐼𝐼 = 125; = 7.8 ≈ 8
𝐾𝐾𝑝𝑝
8
So, the prefilter 𝐺𝐺𝑝𝑝 =
(𝑠𝑠+8)
Without prefilter,
With prefilter,
141
125
𝑇𝑇(𝑠𝑠) =
𝑠𝑠 2 + 16𝑠𝑠 + 125
So, if 𝑇𝑇(𝑠𝑠) has a zero (𝑠𝑠 + 𝑧𝑧) due to adding a compensator, the required prefilter to
𝑧𝑧
eliminate this zero is, 𝐺𝐺𝑝𝑝 =
(𝑠𝑠+𝑧𝑧)
Example:
Design a PI-compensator and prefilter so that the control system satisfies the desired
parameters of 𝑃𝑃. 𝑂𝑂. = 10% and 𝑇𝑇𝑠𝑠 = 2 𝑠𝑠𝑒𝑒𝑐𝑐
1
𝐺𝐺 (𝑠𝑠) = (𝑠𝑠−20) and 𝐻𝐻(𝑠𝑠) = 10
With prefilter,
𝐾𝐾𝐼𝐼
𝑇𝑇(𝑠𝑠) =
𝑠𝑠(𝑠𝑠 − 20) + 10(𝐾𝐾𝑝𝑝 𝑠𝑠 + 𝐾𝐾𝐼𝐼 )
Characteristic equation,
142
𝑠𝑠 2 + (2𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 + 𝜔𝜔𝑛𝑛2 = 0 ⟶ (2)
Desired parameters are 𝑃𝑃. 𝑂𝑂. = 10%, 𝑇𝑇𝑠𝑠 = 2 𝑠𝑠𝑠𝑠𝑠𝑠
100 𝛿𝛿
𝛿𝛿 = 𝑙𝑙𝑙𝑙 � � = 𝑙𝑙𝑙𝑙10 = 2.3; 𝜁𝜁 = = 0.59
𝑃𝑃. 𝑂𝑂. √𝛿𝛿 2 + 𝜋𝜋 2
4
𝜔𝜔𝑛𝑛 = = 3.39; 2𝜁𝜁𝜔𝜔𝑛𝑛 = 4
𝜁𝜁𝑇𝑇𝑠𝑠
Comparing (1) and (2),
10𝐾𝐾𝑝𝑝 − 20 = 2𝜁𝜁𝜔𝜔𝑛𝑛 = 4; 𝐾𝐾𝑝𝑝 = 2.4
𝐾𝐾 0.5 1
� 𝐼𝐼�𝐾𝐾 � = 0.5; 𝐺𝐺𝑝𝑝 = ; 𝐺𝐺𝑐𝑐 = � � (2.4𝑠𝑠 + 1.15)
𝑝𝑝 𝑠𝑠 + 0.5 𝑠𝑠
1.15
𝑇𝑇(𝑠𝑠) =
(𝑠𝑠 2 + 4𝑠𝑠 + 11.5)
𝑧𝑧 1
𝑝𝑝 = =
𝛼𝛼 𝛼𝛼𝛼𝛼
𝑠𝑠 + (1/𝜏𝜏) (1 + 𝜏𝜏𝜏𝜏) (1 + 𝜏𝜏𝜏𝜏)
𝐺𝐺𝑐𝑐 = 𝐾𝐾 � � = 𝐾𝐾𝐾𝐾 = 𝐾𝐾1 ; 𝐾𝐾 = 𝐾𝐾𝐾𝐾
𝑠𝑠 + (1/𝛼𝛼𝛼𝛼) (1 + 𝛼𝛼𝛼𝛼𝛼𝛼) (1 + 𝛼𝛼𝛼𝛼𝛼𝛼) 1
Design process
For given, 𝐺𝐺(𝑠𝑠),
𝐿𝐿(𝑠𝑠) = 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺(𝑠𝑠)
At 𝜔𝜔 = 𝜔𝜔𝑐𝑐 , |𝐿𝐿| in 𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
𝜔𝜔𝑐𝑐
𝑧𝑧 = , (The zero is one decade below the crossover frequency)
10
143
Example
𝐾𝐾1
Given 𝐿𝐿(𝑠𝑠) = 𝐺𝐺𝑐𝑐 (𝑠𝑠)𝐺𝐺 (𝑠𝑠) =
𝑠𝑠(𝑠𝑠+2)
Desired parameters: velocity error constant, 𝐾𝐾𝑣𝑣 = 20 and crossover frequency, 𝜔𝜔𝑐𝑐 = 1.5
(𝐾𝐾1 /2)
𝐿𝐿(𝑠𝑠) =
𝑠𝑠(0.5𝑠𝑠 + 1)
𝐾𝐾𝑣𝑣 = 𝑠𝑠[𝐿𝐿(𝑠𝑠)]𝑠𝑠=0 = 𝐾𝐾1 /2; 𝐾𝐾1 = 2𝐾𝐾𝑣𝑣 = 40
𝐾𝐾𝑣𝑣
𝐿𝐿(𝑠𝑠) =
(0.5𝑠𝑠 2 + 𝑠𝑠)
𝐾𝐾𝑣𝑣
𝐿𝐿(𝑗𝑗𝑗𝑗) =
(−0.5𝜔𝜔 2 + 𝑗𝑗𝑗𝑗)
𝐾𝐾𝑣𝑣
|𝐿𝐿| =
[0.25𝜔𝜔 4 + 𝜔𝜔 2 ](0.5)
At 𝜔𝜔 = 𝜔𝜔𝑐𝑐 ,
𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| = 20𝑙𝑙𝑙𝑙𝑙𝑙(𝐾𝐾𝑣𝑣 ) − 10𝑙𝑙𝑙𝑙𝑙𝑙{0.25𝜔𝜔𝑐𝑐4 + 𝜔𝜔𝑐𝑐2 } = 20𝑙𝑙𝑙𝑙𝑙𝑙(20) − 10𝑙𝑙𝑙𝑙𝑙𝑙(3.52)
= 26 − 5.5 = 20.5 𝑑𝑑𝑑𝑑
20𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 20.5 𝑑𝑑𝑑𝑑
𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 ≈ 1; 𝛼𝛼 = 10
𝜔𝜔𝑐𝑐 1.5 1 𝑧𝑧
𝑧𝑧 = = = 0.15, 𝜏𝜏 = = 6.67, 𝑝𝑝 = = 0.015
10 10 𝑧𝑧 𝛼𝛼
𝐾𝐾1 (1+𝜏𝜏𝜏𝜏) 40(1+6.67𝑠𝑠) 4(𝑠𝑠+0.15)
Compensator, 𝐺𝐺𝑐𝑐 = (1+𝛼𝛼𝛼𝛼𝛼𝛼)
= (1+66.67𝑠𝑠)
= (𝑠𝑠+0.015)
𝑠𝑠+𝑧𝑧 𝐾𝐾1
Or, 𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝐾𝐾 � � ; 𝐾𝐾 = = 40/10 = 4
𝑧𝑧+𝑝𝑝 𝛼𝛼
4(𝑠𝑠 + 0.15)
𝐺𝐺𝑐𝑐 (𝑠𝑠) =
(𝑠𝑠 + 0.015)
144
Example
𝐾𝐾1
Given 𝐿𝐿(𝑠𝑠) =
𝑠𝑠(𝑠𝑠+10)2
Design a Lag compensator for the desired parameters of 𝐾𝐾𝑣𝑣 = 20, 𝜔𝜔𝑐𝑐 = 1.3
𝐾𝐾
� 1�100�
𝐿𝐿(𝑠𝑠) =
𝑠𝑠(0.1𝑠𝑠 + 1)2
𝐾𝐾𝑣𝑣 = 𝑠𝑠[𝐿𝐿(𝑠𝑠)]𝑠𝑠=0 = 𝐾𝐾1 /100; 𝐾𝐾1 = 100 𝐾𝐾𝑣𝑣 = 2000
𝐾𝐾𝑣𝑣
𝐿𝐿(𝑠𝑠) =
(0.01𝑠𝑠 3 + 0.2𝑠𝑠 2 + 𝑠𝑠)
𝐾𝐾𝑣𝑣
𝐿𝐿(𝑗𝑗𝑗𝑗) =
−0.01𝜔𝜔 2 (𝑗𝑗𝑗𝑗) − 0.2𝜔𝜔 2 + 𝑗𝑗𝑗𝑗
𝐾𝐾𝑣𝑣
=
[−0.2𝜔𝜔 2 + 𝑗𝑗𝑗𝑗(1 − 0.01𝜔𝜔 2 )]
𝐾𝐾𝑣𝑣
|𝐿𝐿| =
[0.04𝜔𝜔 4 + 𝜔𝜔 2 (1 − 0.01𝜔𝜔 2 )2 ]0.5
𝑑𝑑𝑑𝑑 = 20𝑙𝑙𝑙𝑙𝑙𝑙|𝐿𝐿| = 20𝑙𝑙𝑙𝑙𝑙𝑙𝐾𝐾𝑣𝑣 − 10𝑙𝑙𝑙𝑙𝑙𝑙{𝜔𝜔2 + 0.02𝜔𝜔4 + 0.0001𝜔𝜔6 }
at 𝜔𝜔 = 𝜔𝜔𝑐𝑐 , 𝑑𝑑𝑑𝑑 = 24 = 20𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
𝜔𝜔𝑐𝑐 1
𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 1.2; 𝛼𝛼 = 16; 𝑧𝑧 = = 0.13; 𝜏𝜏 = = 7.69
10 𝑧𝑧
𝑧𝑧 𝐾𝐾1 2000
𝑝𝑝 = = 0.008125, 𝐾𝐾 = = = 125
𝛼𝛼 𝛼𝛼 16
Compensator, 𝐺𝐺𝑐𝑐 = [125(𝑠𝑠 + 0.13)⁄(𝑠𝑠 + 0.008125)]
145
Assessment
1. the design parameter in the design of compensator are,
a) 𝛼𝛼
b) 𝜏𝜏
c) 𝛼𝛼 and 𝜏𝜏
d) None of the above
3. In a lag compensator
a) 𝛼𝛼 = 𝑝𝑝/𝑧𝑧
b) 𝛼𝛼 = 𝑧𝑧/𝑝𝑝
c) 𝛼𝛼 = 𝑝𝑝𝑝𝑝
d) 𝛼𝛼 = 𝑝𝑝 + 𝑧𝑧
146
5. In a Lag compensator design,
a) 𝜏𝜏 = 1/𝑝𝑝𝑝𝑝
b) 𝜏𝜏 = 1/𝑧𝑧
c) 𝜏𝜏 = 1/𝑝𝑝
d) 𝜏𝜏 = 𝑝𝑝𝑝𝑝
𝐾𝐾
� 𝑝𝑝�𝐾𝐾 �
b) 𝐺𝐺𝑝𝑝 = 𝐾𝐾
𝐼𝐼
�𝑠𝑠+ 𝑝𝑝�𝐾𝐾 �
𝐼𝐼
𝐾𝐾
� 𝑝𝑝�𝐾𝐾 �
c) 𝐺𝐺𝑝𝑝 = 𝐾𝐾
𝐼𝐼
�𝑠𝑠+ 𝐼𝐼�𝐾𝐾 �
𝑝𝑝
𝐾𝐾
� 𝐼𝐼�𝐾𝐾 �
𝑝𝑝
d) 𝐺𝐺𝑝𝑝 = 𝐾𝐾
�𝑠𝑠+ 𝑝𝑝�𝐾𝐾 �
𝐼𝐼
147
𝑠𝑠+12
9. Prefilter for a system with 𝑇𝑇(𝑠𝑠) = is,
𝑠𝑠 2 +7𝑠𝑠+12
c) 𝐺𝐺𝑝𝑝 = 1�(𝑠𝑠
+ 12)
148
10. State Variable Models and Design
Learning Objectives:
1) To model the 𝑛𝑛𝑡𝑡ℎ order system into ‘n’ first order systems using state variables.
2) To develop the “state” equation and “output” equation from a given nth order
differential equation or a transfer function.
3) To determine the Block diagram or signal flow graph from a given state equation
and output equation.
4) To check the system for controllability and observability.
5) To design an observer and a controller for given desired poles.
149
In this system, 𝑥𝑥1 = 𝑦𝑦 relates the output ‘𝑦𝑦’ to the state variable 𝑥𝑥1 .
In matrix form,
𝑥𝑥1
𝑦𝑦 = [1 0 𝑥𝑥
0] � 2 �
𝑥𝑥3
𝑦𝑦 = [𝐶𝐶]𝑥𝑥 is the output equation. The state equation and the output equation represent a
system in stable variable model.
Special case
If 𝑢𝑢(𝑡𝑡) = 0, then 𝜓𝜓(𝑡𝑡) = 0
{𝑋𝑋(𝑡𝑡)} = [𝜙𝜙(𝑡𝑡)]{𝑋𝑋(0)}
150
10.2 Time response for a given state equation
151
1 1 1
𝜙𝜙21 (𝑠𝑠) = = −
(𝑠𝑠 + 1)(𝑠𝑠 + 2) 𝑠𝑠 + 1 𝑠𝑠 + 2
𝜙𝜙21 (𝑡𝑡) = 𝑒𝑒 −𝑡𝑡 − 𝑒𝑒 −2𝑡𝑡
𝑠𝑠 1 2
𝜙𝜙22 (𝑠𝑠) = =− +
(𝑠𝑠 + 1)(𝑠𝑠 + 2) 𝑠𝑠 + 1 𝑠𝑠 + 2
𝜙𝜙22 (𝑡𝑡) = −𝑒𝑒 −𝑡𝑡 + 2𝑒𝑒 −2𝑡𝑡
0 0
𝜓𝜓(𝑠𝑠) = [𝜙𝜙(𝑠𝑠)]{𝐵𝐵}𝑈𝑈(𝑠𝑠); {𝐵𝐵}𝑈𝑈(𝑠𝑠) = � � 𝑈𝑈(𝑠𝑠) = �1 �
1 �𝑠𝑠
152
10.3 State variable for a given Transfer function
The state variable model can be developed from a given Transfer function of a system.
𝑌𝑌(𝑠𝑠)
In general, 𝑇𝑇(𝑠𝑠) = ; Let 𝑅𝑅(𝑠𝑠) = 𝑈𝑈(𝑠𝑠) (unit step input)
𝑅𝑅(𝑠𝑠)
Example
Given
(2𝑠𝑠 2 + 8𝑠𝑠 + 6) 𝑌𝑌(𝑠𝑠)
𝑇𝑇(𝑠𝑠) = 3 2
=
(𝑠𝑠 + 8𝑠𝑠 + 16𝑠𝑠 + 6) 𝑈𝑈(𝑠𝑠)
a) Determine the state equation and output equation.
b) Draw the Block diagram model
c) Draw the Signal flow graph.
Solution:
The denominator is an 3𝑟𝑟𝑟𝑟 order polynomial and hence it is a third order system. So, it
will have three state variables, 𝑥𝑥1 , 𝑥𝑥2 and 𝑥𝑥3
(2𝑠𝑠 2 + 8𝑠𝑠 + 6)
𝑇𝑇(𝑠𝑠) =
𝑠𝑠 3 [1 + 8𝑠𝑠 −1 + 16𝑠𝑠 −2 + 6𝑠𝑠 −3 ]
2𝑠𝑠 −1 + 8𝑠𝑠 −2 + 6𝑠𝑠 −3 𝑏𝑏2 𝑠𝑠 −1 + 𝑏𝑏1 𝑠𝑠 −2 + 𝑏𝑏0 𝑠𝑠 −3
= =
1 + 8𝑠𝑠 −1 + 16𝑠𝑠 −2 + 6𝑠𝑠 −3 1 + 𝑎𝑎2 𝑠𝑠 −1 + 𝑎𝑎1 𝑠𝑠 −2 + 𝑎𝑎0 𝑠𝑠 −3
State Equations:
State variables are; 𝑥𝑥1 = 𝑦𝑦; 𝑥𝑥2 = 𝑦𝑦̇ = 𝑥𝑥1̇ ; 𝑥𝑥3 = 𝑦𝑦̈ = 𝑥𝑥2̇
State equations are;
𝑥𝑥1̇ = 𝑥𝑥2 ; 𝑥𝑥2̇ = 𝑥𝑥3 ; 𝑥𝑥3̇ = 𝑦𝑦⃛ = −𝑎𝑎0 𝑥𝑥1 − 𝑎𝑎1 𝑥𝑥2 − 𝑎𝑎2 𝑥𝑥3 + 𝑢𝑢 = −6𝑥𝑥1 − 16𝑥𝑥2 − 8𝑥𝑥3 + 𝑢𝑢
153
In matrix form,
𝑥𝑥1̇ 0 1 0 𝑥𝑥1 0
�𝑥𝑥2̇ � = � 0 0 1 � �𝑥𝑥2 � + �0� 𝑢𝑢
𝑥𝑥3̇ −6 −16 −8 𝑥𝑥3 1
Output Equation:
𝑥𝑥1 𝑥𝑥1
𝑦𝑦(𝑡𝑡) = [𝑏𝑏0 𝑏𝑏1 𝑏𝑏2 ] �𝑥𝑥2 � = [6 8 2] �𝑥𝑥2 �
𝑥𝑥3 𝑥𝑥3
The numerator polynomial gives the output equation while the denominator polynomial
gives the state equation.
𝑥𝑥2�
𝑥𝑥1̇ = 𝑥𝑥2 ; 𝑠𝑠𝑥𝑥1 = 𝑥𝑥2 ; 𝑥𝑥1 = 𝑠𝑠
𝑥𝑥3�
𝑥𝑥2̇ = 𝑥𝑥3 ; 𝑠𝑠𝑥𝑥2 = 𝑥𝑥3 ; 𝑥𝑥2 = 𝑠𝑠
1
𝑥𝑥3 = (−6𝑥𝑥1 − 16𝑥𝑥2 − 8𝑥𝑥3 + 𝑈𝑈)
𝑠𝑠
154
Block Diagram
Example
4𝑠𝑠 + 12 4𝑠𝑠 −1 + 12𝑠𝑠 −2
𝑇𝑇(𝑠𝑠) = =
𝑠𝑠 2 + 8𝑠𝑠 + 12 1 + 𝑠𝑠 −1 + 12𝑠𝑠 −2
Standard format,
𝑏𝑏1 𝑠𝑠 −1 + 𝑏𝑏0 𝑠𝑠 −2
𝑇𝑇(𝑠𝑠) =
1 + 𝑎𝑎1 𝑠𝑠 −1 + 𝑎𝑎0 𝑠𝑠 −2
Denominator is a second order polynomial and hence it requires two state variable, 𝑥𝑥1
and 𝑥𝑥2
𝑥𝑥 ̇ 0 1 𝑥𝑥1 0 0 1 𝑥𝑥1 0
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢 = � � � � + � � 𝑢𝑢
𝑥𝑥2̇ −𝑎𝑎0 −𝑎𝑎1 2 1 −12 −8 𝑥𝑥2 1
Output equation:
𝑥𝑥 𝑥𝑥1
𝑦𝑦(𝑡𝑡) = [𝑏𝑏0 𝑏𝑏1 ] �𝑥𝑥1 � = [12 4] �𝑥𝑥 � = 12𝑥𝑥1 + 4𝑥𝑥2
2 2
155
State equation:
𝑥𝑥1̇ = 𝑥𝑥2 ; 𝑠𝑠𝑥𝑥1 = 𝑥𝑥2
𝑥𝑥2̇ = −12𝑥𝑥1 − 8𝑥𝑥2 + 𝑢𝑢; 𝑠𝑠𝑥𝑥2 = (𝑈𝑈 − 12𝑥𝑥1 − 8𝑥𝑥2 )
Block diagram
Example:
𝑥𝑥 ̇ 0 1 𝑥𝑥1 0
� 1� = � � � � + � � 𝑢𝑢(𝑡𝑡)
𝑥𝑥2̇ (2 + 𝑘𝑘1 ) (3 − 𝑘𝑘2 ) 𝑥𝑥2 1
Determine 𝑘𝑘1 and 𝑘𝑘2 such that the roots of characteristic equation are −2 and −3.
Characteristic equation, |𝑧𝑧(𝑠𝑠)| = 0
0 1 𝑠𝑠 −1
[𝑧𝑧(𝑠𝑠)] = 𝑆𝑆[𝐼𝐼] − [𝐴𝐴] = � 𝑠𝑠 0� − � � = �
0 𝑠𝑠 (2 + 𝑘𝑘1 ) (3 − 𝑘𝑘2 ) −(2 + 𝑘𝑘1 ) (𝑠𝑠 − 3 + 𝑘𝑘2 )�
|𝑧𝑧(𝑠𝑠)| = 𝑠𝑠(𝑠𝑠 − 3 + 𝑘𝑘2 ) − (2 + 𝑘𝑘1 ) = 0
𝑠𝑠 2 − 3𝑠𝑠 + 𝑘𝑘2 𝑠𝑠 − 2 − 𝑘𝑘1 = 0
𝑠𝑠 2 + (𝑘𝑘2 − 3)𝑠𝑠 − (2 + 𝑘𝑘1 ) = 0 → (𝑖𝑖)
156
For given roots, the characteristic equation is
(𝑠𝑠 − 𝑝𝑝1 )(𝑠𝑠 − 𝑝𝑝2 ) = 0; 𝑝𝑝1 = −2, 𝑝𝑝2 = −3
(𝑠𝑠 + 2)(𝑠𝑠 + 3) = 𝑠𝑠 2 + 5𝑠𝑠 + 6 = 0 → (𝑖𝑖𝑖𝑖)
Comparing (𝑖𝑖) and (𝑖𝑖𝑖𝑖),
𝑘𝑘2 − 3 = 5 ⟹ 𝑘𝑘2 = 8
−2 − 𝑘𝑘1 = 6 ⟹ 𝑘𝑘1 = −8
Example:
𝑥𝑥1̇ 0 1 0 𝑥𝑥1 0
�𝑥𝑥2̇ � = � 0 0 1 � �𝑥𝑥2 � + �0� 𝑢𝑢
𝑥𝑥3̇ −6 −16 −8 𝑥𝑥3 1
{𝑥𝑥̇ } = [𝐴𝐴]{𝑥𝑥} + {𝐵𝐵}𝑢𝑢
𝑠𝑠 −1 0
[𝑍𝑍(𝑠𝑠)] = 𝑆𝑆[𝐼𝐼] − [𝐴𝐴] = �0 𝑠𝑠 −1 �
6 16 𝑠𝑠 + 8
Characteristic equation = |𝑍𝑍(𝑠𝑠)| = 0
The determinant of [𝑍𝑍(𝑠𝑠)] = 𝑠𝑠 3 + 8𝑠𝑠 2 + 16𝑠𝑠 + 6
Routh Array
𝑠𝑠 3 1 16
𝑠𝑠 2 8 6
𝑠𝑠1 15.25 0
𝑠𝑠 0 6
The system is stable since the first column of array is positive.
157
Example:
Determine ′𝑘𝑘′ for the system to be stable.
𝑥𝑥 ̇ −3 1 𝑥𝑥1 0
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢
𝑥𝑥2̇ −𝑘𝑘 1 2 1
Routh Array
𝑠𝑠 2 1 𝑘𝑘 − 3
𝑠𝑠1 2 0
𝑠𝑠 0 𝑘𝑘 − 3
For the first column to be positive, 𝑘𝑘 > 3. So, the value of “k” should be greater than
three for the system to be stable.
158
Observability:
The output equation of a system is, 𝑦𝑦 = [𝑐𝑐]{𝑥𝑥}
[𝑝𝑝1 ]
The observability matrix, [𝑝𝑝𝑜𝑜 ] = � ⋮ �
[𝑝𝑝𝑁𝑁 ]
Where, [𝑝𝑝1 ] = [𝐶𝐶]; [𝑝𝑝2 ] = [𝑝𝑝1 ][𝐴𝐴]; [𝑝𝑝3 ] = [𝑝𝑝2 ][𝐴𝐴]
[𝑝𝑝𝑛𝑛 ] = [𝑝𝑝𝑛𝑛−1 ][𝐴𝐴]
If |𝑝𝑝𝑜𝑜 | = 0, the system is not observable and if |𝑝𝑝𝑜𝑜 | ≠ 0, the system is observable.
Example:
𝑦𝑦⃛ + 4𝑦𝑦̈ + 3𝑦𝑦̇ + 2𝑦𝑦 = 𝑢𝑢
Check for controllability of the system
𝑦𝑦⃛ = 𝑢𝑢 − 2𝑦𝑦 − 3𝑦𝑦̇ − 4𝑦𝑦̈ ; let 𝑥𝑥1 = 𝑦𝑦, 𝑥𝑥2 = 𝑦𝑦̇ , 𝑥𝑥3 = 𝑦𝑦̈
𝑦𝑦⃛ = 𝑢𝑢 − 2𝑥𝑥1 − 3𝑥𝑥2 − 4𝑥𝑥3
State equation: 𝑥𝑥1̇ = 𝑥𝑥2 ; 𝑥𝑥2̇ = 𝑥𝑥3 ; 𝑥𝑥3̇ = 𝑦𝑦⃛ = 𝑢𝑢 − 2𝑥𝑥1 − 3𝑥𝑥2 − 4𝑥𝑥3
𝑥𝑥1̇ 0 1 0 𝑥𝑥1 0
�𝑥𝑥2̇ � = � 0 0 𝑥𝑥
1 � � 2 � + �0� 𝑢𝑢
𝑥𝑥3̇ −2 −3 −4 𝑥𝑥3 1
[𝑝𝑝𝑐𝑐 ] = [{𝑝𝑝1 }{𝑝𝑝2 }{𝑝𝑝3 }]
0
{𝑝𝑝1 } = {𝐵𝐵} = �0�
1
0 1 0 0 0
{𝑝𝑝2 } = [𝐴𝐴]{𝑝𝑝1 } = � 0 0 1 � � 0� = � 1 �
−2 −3 −4 1 −4
0 1 0 0 1
{𝑝𝑝3 } = [𝐴𝐴]{𝑝𝑝2 } = � 0 0 1 � � 1 � = �−4�
−2 −3 −4 −4 13
0 0 1
[𝑝𝑝𝑐𝑐 ] = �0 1 −4�
1 −4 13
|𝑝𝑝𝑐𝑐 | = 1(0 − 1) = −1
Since |𝑝𝑝𝑐𝑐 | ≠ 0, the system is controllable.
159
Example:
𝑥𝑥 ̇ −2 0 𝑥𝑥1 1
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢
𝑥𝑥2̇ 𝑑𝑑 −3 2 0
Find ‘𝑑𝑑’ such that the system is controllable.
[𝑝𝑝𝑐𝑐 ] = [{𝑝𝑝1 }{𝑝𝑝2 }]
Example:
For a given output equation, 𝑦𝑦 = [𝐶𝐶]{𝑥𝑥}, where [𝐶𝐶] = [1 0 0].
and given state equation as
{𝑥𝑥̇ } = [𝐴𝐴]{𝑥𝑥} + {𝐵𝐵}𝑢𝑢
0 1 0 0
where [𝐴𝐴] = � 0 0 1 � and {𝐵𝐵} = �0�
−2 −3 −4 1
Determine if the system is completely observable.
[𝑝𝑝1 ]
[𝑝𝑝𝑜𝑜 ] = �[𝑝𝑝2 ]�
[𝑝𝑝3 ]
[𝑝𝑝1 ] = [𝐶𝐶] = [1 0 0]
0 1 0
[𝑝𝑝2 ] = [𝑝𝑝1 ][𝐴𝐴] = [1 0 0] � 0 0 1 � = [0 1 0]
−2 −3 −4
0 1 0
[𝑝𝑝3 ] = [𝑝𝑝2 ][𝐴𝐴] = [0 1 0] � 0 0 1 � = [0 0 1]
−2 −3 −4
160
1 0 0
[𝑝𝑝𝑜𝑜 ] = �0 1 0� ; |𝑝𝑝𝑜𝑜 | = 1
0 0 1
Since 𝑝𝑝𝑜𝑜 ≠ 0, the system is completely observable.
Example:
{𝑝𝑝1 } = {𝐵𝐵} = � 1 �
−1
[𝑝𝑝𝑐𝑐 ] = � 1 2
� ; |𝑝𝑝𝑐𝑐 | = 0;
−1 −2
So, the system is not controllable.
Observability Check:
[𝑝𝑝1 ]
[𝑝𝑝𝑜𝑜 ] = � �
[𝑝𝑝2 ]
[𝑝𝑝1 ] = [𝐶𝐶] = [1 0]
[𝑝𝑝𝑜𝑜 ] = �1 0 |𝑝𝑝 |
� ; 𝑜𝑜 = 0
2 0
So, the system is not observable.
161
Design of state variable control system
In state variable model control system requires the design of a controller and design of an
observer. The design is based on pole placement technique for an acceptable closed loop
feedback system performance. The system should be completely controllable and
observable first for a viable design process.
Controller Design
The design objective is to find the controller gain matrix, [𝐾𝐾] for given pole location.
Then, the system input, 𝑢𝑢(𝑡𝑡) = −[𝐾𝐾]{𝑥𝑥}, where [𝐾𝐾] is a row matrix.
{𝑥𝑥̇ } = [𝐴𝐴]{𝑥𝑥} + {𝐵𝐵}𝑢𝑢; 𝑢𝑢 = −[𝐾𝐾]{𝑥𝑥}
Example:
𝑥𝑥 ̇ 0 1 𝑥𝑥1 0 𝑥𝑥1
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢; 𝑦𝑦 = [1 0] �𝑥𝑥 �
𝑥𝑥2̇ 0 0 2 1 2
Design a controller such that the desired poles are 𝑠𝑠1 = −1 + 𝑗𝑗 and 𝑠𝑠2 = −1 − 𝑗𝑗.
[𝐴𝐴1 ] = [𝐴𝐴] − {𝐵𝐵}[𝐾𝐾1 𝐾𝐾2 ]
0 0 0 1
[𝐴𝐴1 ] = �0 1 0 𝐾𝐾2 ] = �0 1� − �
� − � � [𝐾𝐾1 �=� �
0 0 1 0 0 𝐾𝐾1 𝐾𝐾2 −𝐾𝐾1 −𝐾𝐾2
162
𝑠𝑠 0 0 1 𝑠𝑠 −1
𝑠𝑠[𝐼𝐼] − [𝐴𝐴1 ] = � �−� �=� �
0 𝑠𝑠 −𝐾𝐾1 −𝐾𝐾2 𝐾𝐾1 𝑠𝑠 + 𝐾𝐾2
|𝑠𝑠𝑠𝑠 − 𝐴𝐴1 | = 0; 𝑠𝑠 2 + 𝑠𝑠𝐾𝐾2 + 𝐾𝐾1 = 0 → (𝑖𝑖)
For given poles, (𝑠𝑠 − 𝑠𝑠1 )(𝑠𝑠 − 𝑠𝑠2 ) = 𝑠𝑠 2 − (𝑠𝑠1 + 𝑠𝑠2 )𝑠𝑠 + 𝑠𝑠1 𝑠𝑠2 = 0 → (𝑖𝑖𝑖𝑖)
Comparing the equations (𝑖𝑖) and (𝑖𝑖𝑖𝑖),
𝐾𝐾1 = 𝑠𝑠1 𝑠𝑠2 = (−1 + 𝑗𝑗)(−1 − 𝑗𝑗) = 1 − (−1) = 2
𝐾𝐾2 = −(𝑠𝑠1 + 𝑠𝑠2 ) = −(−1 + 𝑗𝑗 − 1 − 𝑗𝑗) = 2
The controller gain matrix, [𝐾𝐾] = [2 2]
Comparing the equation (𝑖𝑖𝑖𝑖) with the standard characteristic equation of
𝑠𝑠 2 + 2𝜁𝜁𝜔𝜔𝑛𝑛 𝑠𝑠 + 𝜔𝜔𝑛𝑛 2 = 0
Example:
Design a controller for a given third order system of 𝑦𝑦⃛ + 5𝑦𝑦̈ + 3𝑦𝑦̇ + 2𝑦𝑦 = 𝑢𝑢 such that
the third poles are, 𝑠𝑠1 = −4.8, 𝑠𝑠2,3 = −4.8 ± 𝑗𝑗3.6
163
0 1 0 0 0 0
[𝐴𝐴1 ] = [𝐴𝐴] − {𝐵𝐵}[𝐾𝐾] = � 0 0 1 �−� 0 0 0�
−2 −3 −5 𝐾𝐾1 𝐾𝐾2 𝐾𝐾3
0 1 0
=� 0 0 1 �
−2 − 𝐾𝐾1 −3 − 𝐾𝐾2 −5 − 𝐾𝐾3
𝑠𝑠 −1 0
|𝑠𝑠𝑠𝑠 − 𝐴𝐴1 | = � 0 𝑠𝑠 −1 �=0
2 + 𝐾𝐾1 3 + 𝐾𝐾2 𝑠𝑠 + 5 + 𝐾𝐾3
𝑠𝑠 3 + (5 + 𝐾𝐾3 )𝑠𝑠 2 + (3 + 𝐾𝐾2 )𝑠𝑠 + (2 + 𝐾𝐾1 ) = 0 → (𝑖𝑖)
The characteristic equation for given poles,
(𝑠𝑠 − 𝑠𝑠1 )(𝑠𝑠 − 𝑠𝑠2 )(𝑠𝑠 − 𝑠𝑠3 ) = 0
𝑠𝑠 3 + 14.4𝑠𝑠 2 + 82.08𝑠𝑠 + 172.8 = 0 → (𝑖𝑖𝑖𝑖)
Comparing the equations (𝑖𝑖) and (𝑖𝑖𝑖𝑖),
𝐾𝐾1 + 2 = 172.8; 𝐾𝐾1 = 170.8
𝐾𝐾2 + 3 = 82.08; 𝐾𝐾2 = 79.08
𝐾𝐾3 + 5 = 14.4; 𝐾𝐾3 = 9.4
Controller gain matrix, [𝐾𝐾] = [170.8 79.1 9.4]
The equation (𝑖𝑖𝑖𝑖) can be written as,
(𝑠𝑠 + 𝜁𝜁𝜔𝜔𝑛𝑛 )(𝑠𝑠 2 + 2𝜁𝜁𝜔𝜔𝑛𝑛 𝑠𝑠 + 𝜔𝜔𝑛𝑛 2 ) = 0
𝑠𝑠 3 + (3𝜁𝜁𝜔𝜔𝑛𝑛 )𝑠𝑠 2 + 𝜔𝜔𝑛𝑛 2 (1 + 2𝜁𝜁 2 )𝑠𝑠 + (𝜁𝜁𝜔𝜔𝑛𝑛 3 ) = 0
Comparing, 𝜁𝜁𝜔𝜔𝑛𝑛 3 = 172.8
�1�2�
3(172.8)
3𝜁𝜁𝜔𝜔𝑛𝑛 = 14.4; 𝜔𝜔𝑛𝑛 = � � =6
14.4
14.4
𝜁𝜁 = = 0.8
3(6)
𝜔𝜔𝑛𝑛 2 (1 + 2𝜁𝜁 2 ) = 82.08
The required Percent Overshoot and settling time can be determined from the values of
𝜔𝜔𝑛𝑛 and 𝜁𝜁.
−𝜁𝜁𝜁𝜁
4 �1−𝜁𝜁2
𝑇𝑇𝑠𝑠 = = 0.83 𝑠𝑠𝑠𝑠𝑠𝑠; 𝑃𝑃. 𝑂𝑂. = 100𝑒𝑒 = 1.52%
𝜁𝜁𝜔𝜔𝑛𝑛
164
Ackermann’s Formula Method
This method is viable for higher order systems and it can be easily applied with computer
for the determination of controller gain matrix, [𝐾𝐾]
For the 𝑛𝑛𝑡𝑡ℎ order system, [𝐾𝐾] = [𝐾𝐾1 𝐾𝐾2 ⋯ 𝐾𝐾𝑛𝑛 ]
Example:
𝑥𝑥 ̇ 0 1 𝑥𝑥1 0
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢
𝑥𝑥2̇ 0 0 2 1
Design a controller by Ackermann’s method for desired poles of 𝑠𝑠1,2 = −1 ± 𝑗𝑗
[𝐾𝐾1 𝐾𝐾2 ] = [0 1][𝑃𝑃𝑐𝑐 ]−1 [𝑞𝑞(𝐴𝐴)]
[𝑃𝑃𝑐𝑐 ] = [{𝑃𝑃1 } {𝑃𝑃2 }]
0
{𝑃𝑃1 } = {𝐵𝐵} = � �
1
1
{𝑃𝑃2 } = [𝐴𝐴]{𝑃𝑃1 } = � �
0
[𝑃𝑃𝑐𝑐 ] = �0 1 |𝑃𝑃 |
� ; 𝑐𝑐 = −1
1 0
165
[𝑞𝑞(𝐴𝐴)] = [𝐴𝐴]2 + 𝛼𝛼1 [𝐴𝐴] + 𝛼𝛼0 [𝐼𝐼] = �0 1� �0 1� + 2 �0 1� + 2 �1 0 2 2
�=� �
0 0 0 0 0 0 0 1 0 2
𝐾𝐾2 ] = [0 0 1 2 2
[𝐾𝐾1 1] � �� � = [2 2]
1 0 0 2
Observer Design
The design objective is to determine the observer gain matrix, [𝐿𝐿] for given desired pole
location. If a system is completely observable with a given set of outputs, it is possible to
determine (or to estimate) the states that are not directly measured (or observed).
For given state equation, {𝑥𝑥̇ } = [𝐴𝐴]{𝑥𝑥} + {𝐵𝐵}𝑢𝑢 and output equation, 𝑦𝑦 = [𝐶𝐶]{𝑥𝑥}
“Luenberger” provides the full state observer as,
where {𝑥𝑥�}̇ is the ‘estimated’ value of states {𝑥𝑥} and {𝐿𝐿} is the observer gain matrix. The
goal of observer is to provide and estimate 𝑥𝑥� such that 𝑥𝑥� → 𝑥𝑥 as 𝑡𝑡 → ∞. Since we don’t
know 𝑥𝑥(𝑡𝑡0 ) precisely, we must provide an initial estimate, 𝑥𝑥�(𝑡𝑡0 ). Now, the error in
estimation can be defined as, 𝑒𝑒(𝑡𝑡) = 𝑥𝑥(𝑡𝑡) − 𝑥𝑥�(𝑡𝑡) and 𝑒𝑒(𝑡𝑡) → 0 as 𝑡𝑡 → ∞.
𝑥𝑥̇ = Ax + Bu; 𝑥𝑥�̇ = 𝐴𝐴𝑥𝑥� + 𝐵𝐵𝐵𝐵 + 𝐿𝐿[𝐶𝐶𝐶𝐶 − 𝐶𝐶𝑥𝑥�] = 𝐴𝐴𝑥𝑥� + 𝐵𝐵𝐵𝐵 + 𝐿𝐿𝐿𝐿𝐿𝐿
𝑒𝑒̇ = 𝐴𝐴(𝑥𝑥 − 𝑥𝑥�) − 𝐿𝐿𝐿𝐿𝐿𝐿; 𝑥𝑥 − 𝑥𝑥� = 𝑒𝑒
𝑒𝑒̇ = (𝐴𝐴 − 𝐿𝐿𝐿𝐿)𝑒𝑒
Let 𝑒𝑒(𝑡𝑡) = 𝑒𝑒 𝑠𝑠𝑠𝑠 ; 𝑒𝑒̇ = 𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠
𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠 = (𝐴𝐴 − 𝐿𝐿𝐿𝐿)𝑒𝑒 𝑠𝑠𝑠𝑠
𝑒𝑒 𝑠𝑠𝑠𝑠 [𝑠𝑠𝑠𝑠 − (𝐴𝐴 − 𝐿𝐿𝐿𝐿)] = 0
So, the determinant |𝑠𝑠𝑠𝑠 − (𝐴𝐴 − 𝐿𝐿𝐿𝐿)| = 0
166
Example:
Given,
𝑥𝑥 ̇ 2 3 𝑥𝑥1 0 𝑥𝑥1
� 1� = � � �𝑥𝑥 � + � � 𝑢𝑢; and 𝑦𝑦 = [1 0] �𝑥𝑥 �
𝑥𝑥2̇ −1 4 2 1 2
167
Ackermann’s Formula method
For the 𝑛𝑛𝑡𝑡ℎ order system,
𝐿𝐿1
𝐿𝐿2
{𝐿𝐿} = � �
⋮
𝐿𝐿𝑛𝑛
If the desired poles are 𝑠𝑠1 , 𝑠𝑠2 , ⋯ 𝑠𝑠𝑛𝑛 ;
The desired characteristic equation is,
𝑝𝑝(𝑠𝑠) = 𝑠𝑠 𝑛𝑛 + 𝛽𝛽𝑛𝑛−1 𝑠𝑠 𝑛𝑛−1 + ⋯ + 𝛽𝛽1 𝑠𝑠 + 𝛽𝛽0
Then, Ackermann’s formula for the observer gain matrix is,
0
−1 0
{𝐿𝐿} = [𝑝𝑝(𝐴𝐴)][𝑃𝑃0 ] � �
⋮
1
where [𝑃𝑃0 ] is the observability matrix and
[𝑝𝑝(𝐴𝐴)] = [𝐴𝐴]𝑛𝑛 + 𝛽𝛽𝑛𝑛−1 [𝐴𝐴]𝑛𝑛−1 + ⋯ + 𝛽𝛽1 [𝐴𝐴] + 𝛽𝛽0 [𝐼𝐼]
This formula requires the inverse of the observability matrix and hence it should have
non-zero determinant. So, the system should be observable, and it should be verified first
before applying this method.
Example:
Given,
2 3 0
[𝐴𝐴] = � � ; {𝐵𝐵} = � � ; [𝐶𝐶] = [1 0]
−1 4 1
Design an observer such that the poles are, 𝑠𝑠1,2 = −8 ± 6𝑗𝑗
[𝑝𝑝1 ]
[𝑃𝑃0 ] = � �
[𝑝𝑝2 ]
[𝑝𝑝1 ] = [𝐶𝐶] = [1 0]
[𝑝𝑝2 ] = [𝑝𝑝1 ][𝐴𝐴] = [2 3]
1 0
[𝑃𝑃0 ] = � � ; |𝑃𝑃0 | = 3; system is observable.
2 3
1 1 0
[𝑃𝑃0 ]−1 = � � � 3 0
� = �− 2
3 −2 1 �3 �3�
1
168
For given poles (𝑠𝑠1 = −8 + 6𝑗𝑗, 𝑠𝑠1 = −8 − 6𝑗𝑗);
𝑝𝑝(𝑠𝑠) = 𝑠𝑠 2 + 𝛽𝛽1 𝑠𝑠 + 𝛽𝛽0 = 𝑠𝑠 2 + (𝑠𝑠1 + 𝑠𝑠2 )𝑠𝑠 + 𝑠𝑠1 𝑠𝑠2
𝛽𝛽0 = 𝑠𝑠1 𝑠𝑠2 = 100
𝛽𝛽1 = −(𝑠𝑠1 + 𝑠𝑠2 ) = 16
[𝑝𝑝(𝐴𝐴)] = [𝐴𝐴]2 + 𝛽𝛽1 [𝐴𝐴] + 𝛽𝛽0 [𝐼𝐼]
1 0
[𝑃𝑃(𝐴𝐴)] = � 2 3 2 3
�� � + 16 �
2 3
� + 100 � �=�
133 66
�
−1 4 −1 4 −1 4 0 1 −22 177
𝐿𝐿 0 133 66 1 0 0 22
� 1 � = [𝑝𝑝(𝐴𝐴)][𝑃𝑃0 ]−1 � � = � � �− 2 1� � �1� = �59�
𝐿𝐿2 1 −22 177 �3 3
𝐿𝐿 22
The observer gain matrix, � 1 � = � �
𝐿𝐿2 59
169
Assessment
2. The size of [𝐴𝐴] matrix in the state equation of a third order system is,
(a) 3 × 3
(b) 3 × 1
(c) 1 × 1
(d) 1 × 3
3. The size of [𝐶𝐶] matrix in the output equation of a third order system is,
(a) 3 × 3
(b) 3 × 1
(c) 1 × 1
(d) 1 × 3
4. If the 𝑇𝑇. 𝐹𝐹. of a system is given, the state equation can be obtained from
(a) Denominator polynomial
(b) Input function in time domain
(c) Numerator polynomial
(d) Output function in time domain
170
5. The output equation can be obtained from
(a) Denominator polynomial
(b) Input function in time domain
(c) Numerator polynomial
(d) Output function in time domain
7. A system is controllable if
(a) [𝑃𝑃𝑂𝑂 ] = 0
(b) [𝑃𝑃𝐶𝐶 ] = 0
(c) [𝑃𝑃𝑂𝑂 ] ≠ 0
(d) [𝑃𝑃𝐶𝐶 ] ≠ 0
171
9. Ackermann’s formula used in design requires
(a) [𝑃𝑃𝑂𝑂 ] ≠ 0 and [𝑃𝑃𝐶𝐶 ] ≠ 0
(b) [𝑃𝑃𝑂𝑂 ] = 0 and [𝑃𝑃𝐶𝐶 ] ≠ 0
(c) [𝑃𝑃𝑂𝑂 ] = 0 and [𝑃𝑃𝐶𝐶 ] = 0
(d) [𝑃𝑃𝑂𝑂 ] ≠ 0 and [𝑃𝑃𝐶𝐶 ] = 0
172
APPENDIX
MATLAB and SIMULINK
MATLAB
MATLAB is a tool for engineering computations and it is based on matrices. For
problems related to control system, MATLAB has a collection of special files (M-files) in
the “Control System Toolbox”
Writing a matrix in MATLAB:
1 2 3
[𝐴𝐴] = � 6 7 8�
11 12 13
In MATLAB write row by row >> 𝐴𝐴 = [1 2 3; 6 7 8; 11 12 13]
“>>” denotes the command prompt on the screen. Each row is separated by a semi-colon.
Writing a vector:
If a vector starts from 10 and increasing in steps of 5 up to 50, it can be written as
≫ 𝑥𝑥 = 𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙(𝑛𝑛1, 𝑛𝑛2, 𝑛𝑛)
= 𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙(10, 50, 5)
𝑥𝑥 = 10 15 20 25 30 35 40 45 50
Addition and Subtraction
2 3
>> 𝐴𝐴 = [2 3; 4 5; 6 7] ⇒ �4 5�
6 7
1 0
>> 𝐵𝐵 = [1 0; 3 4; 0 5] ⇒ �3 4�
0 5
3 3
>> 𝐶𝐶 = 𝐴𝐴 + 𝐵𝐵 ⇒ 𝐶𝐶 = 7 9
6 12
1 3
≫ 𝐶𝐶 = 𝐴𝐴 − 𝐵𝐵 ⇒ 1 1
6 2
173
Multiplication
1
≫ 𝑋𝑋 = [1; 3; 5] ⇒ 𝑋𝑋 = 3
5
2
≫ 𝑌𝑌 = [2; 4; 6] ⇒ 𝑌𝑌 = 4
6
2
′
≫ 𝑍𝑍 = 𝑋𝑋 ∗ 𝑌𝑌 ⇒ [1 3 ]
5 �4� = 44
6
1 2 4 6
≫ 𝑍𝑍 = 𝑋𝑋 ∗ 𝑌𝑌 ′ ⇒ �3� [2 4 6] = 6 12 18
5 10 20 30
174
Eigenvalues
0 1 0
[𝐴𝐴] = �−1 0 2�
3 0 5
≫ A = [0 1 0; −1 0 2; 3 0 5]
5.213
≫ 𝑒𝑒𝑒𝑒𝑒𝑒[𝐴𝐴] ⇒ 𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸: −0.1065 + 1.4487𝑖𝑖
−0.1065 − 1.4487𝑖𝑖
Inverse of a matrix
1 1 2
[𝐴𝐴] = �3 4 0�
1 2 5
≫ 𝐴𝐴 = [1 1 2; 3 4 0; 1 2 5];
≫ 𝑖𝑖𝑖𝑖𝑖𝑖(𝐴𝐴)
2.2222 −0.1111 −0.8889
[𝐴𝐴]−1 = � −1.6667 0.3333 0.6667 �
0.2222 −0.1111 0.1111
NOTE: All function names MUST be in LOWER CASE.
Example: 𝑖𝑖𝑖𝑖𝑖𝑖(𝐴𝐴), 𝑒𝑒𝑒𝑒𝑒𝑒(𝐴𝐴), 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝(𝐴𝐴) etc.
175
Partial Fraction
𝐵𝐵(𝑙𝑙) 𝑟𝑟1 𝑟𝑟2 𝑟𝑟𝑛𝑛
= + + ⋯+ + 𝑘𝑘
𝐴𝐴(𝑙𝑙) 𝑙𝑙 − 𝑙𝑙1 𝑙𝑙 − 𝑙𝑙2 𝑙𝑙 − 𝑙𝑙𝑛𝑛
Example:
𝐵𝐵(𝑙𝑙) 2𝑙𝑙 3 + 5𝑙𝑙 2 + 3𝑙𝑙 + 6
=
𝐴𝐴(𝑙𝑙) 𝑙𝑙 3 + 6𝑙𝑙 2 + 11𝑙𝑙 + 6
𝐵𝐵(𝑙𝑙) −6 −4 3
= + + +2
𝐴𝐴(𝑙𝑙) 𝑙𝑙 + 3 𝑙𝑙 + 2 𝑙𝑙 + 1
Given the above relation, the original function can be obtained from
176
Poles and Zeros of a Transfer Function
4𝑙𝑙 2 + 16𝑙𝑙 + 12
𝑇𝑇(𝑙𝑙) =
𝑙𝑙 4 + 12𝑙𝑙 3 + 44𝑙𝑙 2 + 48𝑙𝑙
MATLAB Command:
‘𝑧𝑧’, ‘𝑙𝑙’, ‘𝑘𝑘’ refer to Zeros, Poles, Gain, respectively. 𝑧𝑧2 ≈ −3, 𝑧𝑧1 ≈ −1
(𝑙𝑙 + 1)(𝑙𝑙 + 3)
𝑇𝑇(𝑙𝑙) = (4)
𝑙𝑙(𝑙𝑙 + 2)(𝑙𝑙 + 4)(𝑙𝑙 + 6)
177
System Response
Let the Transfer Function for a second order system is,
2(𝑙𝑙 + 5) 𝑌𝑌(𝑙𝑙)
𝑇𝑇(𝑙𝑙) = =
𝑙𝑙 2 + 2𝑙𝑙 + 10 𝑅𝑅(𝑙𝑙)
For unit step input, 𝑅𝑅(𝑙𝑙) = 𝑈𝑈(𝑙𝑙)
𝑌𝑌(𝑙𝑙) 2𝑙𝑙 + 10
= 2
𝑈𝑈(𝑙𝑙) 𝑙𝑙 + 2𝑙𝑙 + 10
Let the time interval for response is 0 ≤ 𝑟𝑟 ≤ 8 in steps of every 0.01 second.
Performance Parameters
(Rise time, Peak time, Percent Overshoot, Settling Time)
25
𝑇𝑇(𝑙𝑙) =
𝑙𝑙 2 + 6𝑙𝑙 + 25
Step response for 0 ≤ 𝑟𝑟 ≤ 5
Time interval, ∆𝑟𝑟 = 0.005 𝑙𝑙𝑙𝑙𝑙𝑙
178
Create a new script in MATLAB then type the codes. After running it, the results can be
found in workspace. Correct answer is showing below.
Impulse: 𝑅𝑅(𝑙𝑙) = 1
Step: 𝑅𝑅(𝑙𝑙) = 1/𝑙𝑙
1
Impulse response = [𝑙𝑙𝑇𝑇(𝑙𝑙)] = step response of [𝑙𝑙𝑇𝑇(𝑙𝑙)]
𝑠𝑠
𝑙𝑙
𝑇𝑇1 (𝑙𝑙) = 𝑙𝑙𝑇𝑇(𝑙𝑙) =
𝑙𝑙 2 + 0.2𝑙𝑙 + 1
179
1 1 1 1
Ramp: 𝑅𝑅(𝑙𝑙) = , Ramp response = � 𝑇𝑇(𝑙𝑙)� = step response of � 𝑇𝑇(𝑙𝑙)�
𝑠𝑠 2 𝑠𝑠 𝑠𝑠 𝑠𝑠
1
Let 𝑇𝑇(𝑙𝑙) = ; 0 ≤ 𝑟𝑟 ≤ 7; ∆𝑟𝑟 = 0.1
𝑠𝑠 2 +𝑠𝑠+1
1 1
𝑇𝑇1 (𝑙𝑙) = [𝑇𝑇(𝑙𝑙)] = 3
𝑙𝑙 𝑙𝑙 + 𝑙𝑙 2 + 𝑙𝑙
180
Dynamic System with initial conditions
Initial conditions:
𝑥𝑥(0) = 𝑥𝑥0 , 𝑥𝑥̇ 0 (0) = 𝐸𝐸0
Given:
𝑚𝑚 = 1𝑘𝑘𝑒𝑒, 𝑏𝑏 = 3𝑘𝑘𝑒𝑒/𝑙𝑙, 𝑘𝑘 = 2𝑁𝑁/𝑚𝑚, 𝑥𝑥0 = 0.1𝑚𝑚, 𝐸𝐸0 = 0.05𝑚𝑚/𝑙𝑙
Equation of motion: 𝑚𝑚𝑥𝑥̈ + 𝑏𝑏𝑥𝑥̇ + 𝑘𝑘𝑥𝑥 = 0
Laplace Transform of the above equation gives,
1
Response = [𝑙𝑙𝑋𝑋(𝑙𝑙)] = step response of [𝑙𝑙𝑋𝑋(𝑙𝑙)]
𝑠𝑠
0.1𝑠𝑠 2 +0.35𝑠𝑠
Let 𝑋𝑋1 (𝑙𝑙) = 𝑙𝑙𝑋𝑋(𝑙𝑙) =
𝑠𝑠2 +3𝑠𝑠+2
181
Root Locus
Commands that are useful:
“conv”: convolution (To multiply polynomials)
“deconv”: deconvolution (To divide polynomials)
“rlocus”: To plot root locus diagram
182
Root locus diagram
Bode Plot
25
𝐺𝐺(𝑙𝑙) =
𝑙𝑙 2 + 4𝑙𝑙 + 25
183
Nyquist Plot
1
𝐺𝐺(𝑙𝑙) =
𝑙𝑙 2 + 0.8𝑙𝑙 + 1
Example:
20(𝑙𝑙 + 1)
𝐺𝐺(𝑙𝑙) =
𝑙𝑙(𝑙𝑙 + 5)(𝑙𝑙 2 + 2𝑙𝑙 + 10)
184
State-space Control
Controllability and Observability:
𝐶𝐶𝐶𝐶𝑁𝑁𝑇𝑇 = 𝑙𝑙𝑟𝑟𝑟𝑟𝑏𝑏(𝐴𝐴, 𝐵𝐵)
𝐶𝐶𝐵𝐵𝑂𝑂𝐸𝐸𝑅𝑅 = 𝑟𝑟𝑏𝑏𝑙𝑙𝐸𝐸(𝐴𝐴, 𝐶𝐶)
{𝑥𝑥̇ } = [𝐴𝐴]{𝑥𝑥} + {𝐵𝐵}𝐸𝐸
𝑝𝑝 = [𝐶𝐶]{𝑥𝑥}
Example:
0 1 0 0
Given: [𝐴𝐴] = � 0 0 1 � {𝐵𝐵} = �0� [𝐶𝐶] = [5 6 1]
−6 −11 −6 1
185
List of MATLAB Commands
A selective list of commands and their description that may be useful in the Control
System course is given below.
Command Description
𝑎𝑎𝑎𝑎𝑎𝑎 Absolute value, Magnitude of complex number
𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 Phase angle of a complex number
𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 Arctangent [𝑡𝑡𝑡𝑡𝑡𝑡−1 ( )]
𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 Manual axis scaling
𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏 Bode Plot
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 Clear workspace
𝑐𝑐𝑐𝑐𝑐𝑐 Clear current figure
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 Convolution, Multiplication of polynomials
𝑐𝑐𝑐𝑐𝑐𝑐 Cosine
𝑐𝑐𝑐𝑐𝑐𝑐ℎ Hyperbolic Cosine
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 Controllability Matrix computation
𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 Deconvolution, Division of polynomials
𝑑𝑑𝑑𝑑𝑑𝑑 Determinant
𝑒𝑒𝑒𝑒𝑒𝑒 Eigenvalues and eigenvectors
𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 Laplace Transform frequency response
𝑔𝑔𝑔𝑔𝑔𝑔𝑔𝑔 Toggles the major lines of current axes
ℎ𝑒𝑒𝑒𝑒𝑒𝑒 Lists all help topics
𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 Imaginary part
𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 Impulse response
𝑖𝑖𝑖𝑖𝑖𝑖 Inverse of a matrix
𝑙𝑙𝑙𝑙𝑙𝑙 Natural logarithm
𝐿𝐿𝐿𝐿𝐿𝐿10 Log base 10
𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 Logarithmically spaced vector
𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 Simulate time response
𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 Nyquist Plot
𝑜𝑜𝑜𝑜𝑜𝑜𝑜𝑜 Compute Observability matrix
𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 Linear x-y Plot
𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 Compute polynomial from roots
𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 Partial fraction
𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 Root Locus Plot
𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 Compute roots from polynomial
𝑠𝑠𝑠𝑠𝑠𝑠 Sine function
𝑠𝑠𝑠𝑠𝑠𝑠ℎ Hyperbolic sine
𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 Square root
𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 Unit-step response
186
𝑠𝑠𝑠𝑠𝑠𝑠 Addition
𝑡𝑡𝑡𝑡𝑡𝑡 Tangent
𝑡𝑡𝑡𝑡𝑡𝑡ℎ Hyperbolic Tangent
𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 To position Text arbitrarily
𝑡𝑡𝑡𝑡 To find transfer function
𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 Plot title
𝑥𝑥𝑥𝑥𝑥𝑥𝑥𝑥𝑥𝑥𝑥𝑥 X-axis label
𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦𝑦 Y-axis label
187
SIMULINK
SIMULINK is a simulation tool to study the control system. The graphical output helps
to visually see the behavior of the system. The effect of changing the control gain or
transfer function parameters can be easily observed through rapidly changing output in
this simulation model. It is very useful in tuning the control system to satisfy the desired
performance parameters.
Model Building
The block diagram of a control system can be simulated with blocks available in
SIMULINK library. Some of the useful blocks from the library are given below.
Sources:
Sink:
A block has connecting point on the right side or left side or on both sides as shown
below.
The input port is the connecting point on the left and it brings input to the block. The
output port is the connecting point on the right and it takas output to another block or
scope.
188
Commonly used blocks:
Continuous Blocks
189
Working with Blocks
If poles and zeros are known, ZERO-POLE block can be used to simulate the transfer
function.
Let 𝑃𝑃𝑟𝑟𝑙𝑙𝑙𝑙: 𝑙𝑙 = −2, 𝑙𝑙 = −3 and 𝑍𝑍𝑙𝑙𝑟𝑟𝑟𝑟: 𝑙𝑙 = −6
190
Example:
In the MATLAB window type SIMULINK or choose SIMULINK from the top MENU
BAR, Choose feedback controller. First create a working area by selecting “NEW” under
File menu. Under “NEW” choose Blank model.
A working window named “untitled1” will appear, under “Tools” menu, choose Library
Browser.
Now you can start building a model by dragging the blocks from library and dropping
into the working window and connecting them. To connect two blocks, click on the
output port of one block and drag the mouse to the input port of another block. In the
example there are six blocks in forward loop and one block in feedback loop. Drag STEP,
SUM, GAIN, ZERO-POLE, TRANSFER FCN, and SCOPE blocks one at a time into the
working window. Connect all the blocks as shown. Drag another gain block and double-
click on it. From drop down options, choose “FLIP IT” to flip the Block and place it in
the feedback loop.
Open the step function block by double-clicking on it. Enter “0” for initial starting time.
Enter the initial value and final value as “0” and “1” respectively.
191
In the summing block double-click to open it and change the feedback sign from
‘plus(+)’ to ‘minus(−)’.
In the gain block, open the block and enter the value 10.
Open the zero-pole block and enter the Zero-Pole vectors as
Open the Transfer function block and enter numerator and denominator as a vector of
polynomial coefficients.
Running Simulation
From the simulation menu select “START” or select “RUN” on the Menu bar. To view
the result, open the SCOPE block by double-clicking on it. The output will be displayed
in a graph.
192