Lecture Notes Cs
Lecture Notes Cs
ON
CONTROL SYSTEMS
Prepared by:
Ms. L Babitha, Assistant Professor
Program Outcomes
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences
PO 3 Design/development of solutions: Design solutions for complex engineering problems
and design system components or processes that meet the specified needs with
appropriate consideration for the public health and safety, and the cultural, societal, and
environmental considerations.
CO 1 √
CO 2 √ √
CO 3 √ √ √
MODULE I
INTRODUCTION AND MODELING OF
PHYSICAL SYSTEMS
1.1 Basic elements of control system
In recent years, control systems have gained an increasingly importance in the development and
advancement of the modern civilization and technology. Figure shows the basic components of a control
system. Disregard the complexity of the system; it consists of an input (objective), the control system and
its output (result). Practically our day-to-day activities are affected by some type of control systems.
There are two main branches of control systems:
1) Open-loop systems and
2) Closed-loop systems.
Closed-loop systems:
The closed-loop system is also called the feedback system. A simple closed-system is shown in
Figure 1-3. It has a mechanism to ensure the actual speed is close to the desired speed automatically.
Traffic lights control system is an example of control system. Here, a sequence of input signal is applied
to this control system and the output is one of the three lights that will be on for some duration of time.
During this time, the other two lights will be off. Based on the traffic study at a particular junction, the on
and off times of the lights can be determined. Accordingly, the input signal controls the output. So, the
traffic lights control system operates on time basis.
In continuous time control systems, all the signals are continuous in time. But, in discrete
time control systems, there exists one or more discrete time signals.
The following figure shows the block diagram of negative feedback closed loop control system.
The error detector produces an error signal, which is the difference between the input and the feedback
signal. This feedback signal is obtained from the block (feedback elements) by considering the output of the
overall system as an input to this block. Instead of the direct input, the error signal is applied as an input to a
controller.
So, the controller produces an actuating signal which controls the plant. In this combination, the output of
the control system is adjusted automatically till we get the desired response. Hence, the closed loop control
systems are also called the automatic control systems. Traffic lights control system having sensor at the
input is an example of a closed loop control system.
The differences between the open loop and the closed loop control systems are mentioned in the following
table.
If either the output or some part of the output is returned to the input side and utilized as part of the system
input, then it is known as feedback. Feedback plays an important role in order to improve the performance of
the control systems. In this chapter, let us discuss the types of feedback & effects of feedback.
Types of Feedback
Negative feedback
Positive Feedback
The positive feedback adds the reference input, R(s)R(s) and feedback output. The following figure shows
the block diagram of positive feedback control system
The concept of transfer function will be discussed in later chapters. For the time being, consider the transfer
function of positive feedback control system is,
Where,
T is the transfer function or overall gain of positive feedback control system.
Negative Feedback
Negative feedback reduces the error between the reference input, R(s)R(s) and system output. The following
figure shows the block diagram of the negative feedback control system.
Where,
Effects of Feedback
Let us now understand the effects of feedback.
If the value of (1+GH) is less than 1, then the overall gain increases. In this case, 'GH' value is
negative because the gain of the feedback path is negative.
If the value of (1+GH) is greater than 1, then the overall gain decreases. In this case, 'GH' value is
positive because the gain of the feedback path is positive.
In general, 'G' and 'H' are functions of frequency. So, the feedback will increase the overall gain of the
system in one frequency range and decrease in the other frequency range.
If the value of (1+GH) is less than 1, then sensitivity increases. In this case, 'GH' value is negative
because the gain of feedback path is negative.
If the value of (1+GH) is greater than 1, then sensitivity decreases. In this case, 'GH' value is
positive because the gain of feedback path is positive.
In general, 'G' and 'H' are functions of frequency. So, feedback will increase the sensitivity of the system
gain in one frequency range and decrease in the other frequency range. Therefore, we have to choose the
values of 'GH' in such a way that the system is insensitive or less sensitive to parameter variations.
In Equation 2, if the denominator value is zero (i.e., GH = -1), then the output of the control system
will be infinite. So, the control system becomes unstable.
Therefore, we have to properly choose the feedback in order to make the control system stable.
The model of mechanical translational systems can obtain by using three basic elements mass,
spring and dashpot. When a force is applied to a translational mechanical system, it is
opposed by opposing forces due to mass, friction and elasticity of the system. The force acting on a
mechanical body is governed by Newton’s second law of motion. For translational systems it states that the
sum of forces acting on a body is zero.
Force balance equations of idealized elements:
Consider an ideal mass element shown in fig. which has negligible friction and elasticity. Let a force
be applied on it. The mass will offer an opposing force which is proportional to acceleration of a body.
Consider an ideal frictional element dash-pot shown in fig. which has negligible mass and
elasticity. Let a force be applied on it. The dashpot will be offer an opposing force which is
proportional to velocity of the body.
Let f = applied force
f b = opposing force due to
friction Here, f b α B dx / dt
By Newton’s second law, f = fb = M d x / dt
Consider an ideal elastic element spring is shown in fig. This has negligible mass and friction.
Here, f k α x
By Newton‗s second law, f = f k = x
Consider an ideal frictional element dash pot shown in fig. which has negligible moment of inertia and
elasticity. Let a torque be applied on it. The dash pot will offer an opposing torque is proportional to
angular velocity of the body.
. Consider an ideal elastic element, torsional spring as shown in fig. which has negligible moment
of inertia and friction. Let a torque be applied on it. The torsional spring will offer an opposing torque
which is proportional to angular displacement of the body
drop across it is v = R I
Inductor: Consider an inductor ― L H carrying current i Amps as shown in Fig (a), then the voltage
drop across it can be written as v = L di/dt
Capacitor: Consider a capacitor ‗C‗ F carrying current ‗i‗ Amps as shown in Fig (a), then the voltage
drop across it can be written as v = (1/C)∫ i dt
Example
Resistance circuit
11
Armature-Controlled dc motors
The dc motors have separately excited fields. They are either armature-controlled with fixed field
or field-controlled with fixed armature current. For example, dc motors used in
instruments employ a fixed permanent-magnet field, and the controlled signal is applied to the
armature terminals.
Consider the armature-controlled dc motor shown in the following figure.
The armature current produces the torque which is applied to the inertia and friction; hence
Assuming that all initial conditions are condition are zero/and taking the L.T. of equations (1),
(2) & (3), we obtain
Kps θ (s) = Eb (s)
2 +fs)
(Las+Ra ) Ia(s) + Eb (s) = Ea (s) (Js
θ (s) = T(s) = K Ia(s)
The T.F can be obtained is
Analogous Systems
Let us consider a mechanical (both translational and rotational) and electrical system as shown in the fig.
2 2
We get L d q / dt + R d q / dt + (1/C) q = V(t)
Where q = ∫i dt
They are two methods to get analogous system. These are (i) force- voltage (f-v) analogy and (ii)
force-current (f-c) analogy
Problem
1. Find the system equation for system shown in the fig. And also determine f-v and f-i
analogies
For free body diagram M1
(2)
Force –voltage analogy
…..(4)
Force–current analogy
……..(5)
From eq (2) we get
…………(6)
In control systems, transfer function characterizes the input output relationship of components or
systems that can be described by Liner Time Invariant Differential Equation
In the earlier period, the input output relationship of a device was represented graphically.
In a system having two or more components in sequence, it is very difficult to find graphical relation
between the input of the first element and the output of the last element. This problem is solved by
transfer function.
Transfer function of a LTIV system is defined as the ratio of the Laplace Transform of the output variable
to the Laplace Transform of the input variable assuming all the initial condition as zero. Properties of
Transfer Function:
The transfer function of a system is the mathematical model expressing the differential
equation that relates the output to input of the system.
The transfer function is the property of a system independent of magnitude and the nature of the
input.
The transfer function includes the transfer functions of the individual elements. But at the same
time, it does not provide any information regarding physical structure of the system.
The transfer functions of many physically different systems shall be identical.
If the transfer function of the system is known, the output response can be studied for various
types of inputs to understand the nature of the system.
If the transfer function is unknown, it may be found out experimentally by applying known
inputs to the device and studying the output of the system.
1.4 Synchros
A commonly used error detector of mechanical positions of rotating shafts in AC
control systems is the Synchro.
It consists of two electro mechanical devices.
Synchro transmitter
The principle of operation of these two devices is sarne but they differ slightly in their construction.
The construction of a Synchro transmitter is similar to a phase alternator. The
stator consists of a balanced three phase winding and is star connected.
The rotor is of dumbbell type construction and is wound with a coil to produce a
magnetic field.
When a no voltage is applied to the winding of the rotor, a magnetic field is produced.
The coils in the stator link with this sinusoidal distributed magnetic flux and voltages are
induced in the three coils due to transformer action.
Than the three voltages are in time phase with each other and the rotor voltage.
The magnitudes of the voltages are proportional to the cosine of the angle between the rotor
position and the respective coil axis.
The position of the rotor and the coils are shown in Fig.
When x is of the magnetic field coincides with the axis of coil S2 and maximum voltage is
induced in it as seen.
For this position of the rotor, the voltage c, is zero, this position of the rotor is known as the
'Electrical Zero' of die transmitter and is taken as reference for specifying the rotor position.
In summary, it can be seen that the input to the transmitter is the angular position of the rotor and
the set of three single phase voltages is the output.
The magnitudes of these voltages depend on the angular position of the rotor as given
Now consider these three voltages to he applied to the stator of a similar device called control
transformer or synchro receiver.
The construction of a control transformer is similar to that of the transmitter except that the rotor
is made cylindrical in shape whereas the rotor of transmitter is dumbbell in shape.
Since the rotor is cylindrical, the air gap is uniform and the reluctance of the magnetic path is
constant.
This makes the output impedance of rotor to be a constant.
Usually the rotor winding of control transformer is connected teas amplifier which
requires signal with constant impedance for better performance.
A synchro transmitter is usually required to supply several control transformers and hence the
stator winding of control transformer is wound with higher impedance per phase.
Since the some currents flow through the stators of the synchro transmitter and receiver, the same
pattern of flux distribution will be produced in the air gap of the control transformer.
The control transformer flux axis is in the same position as that of the synchro transmitter.
Thus the voltage induced in the rotor coil of control transformer is proportional to the cosine of
the angle between the two rotors.
o
It has two windings displaced by 90 on the stator One winding, called as reference
The Torque speed characteristic of a normal induction motor is highly nonlinear and
has a positive slope for some portion of the curve.
This is not desirable for control applications. as the positive slope makes the systems unstable.
The torque speed characteristic of an ac servo motor is fairly linear and has negative slope
throughout.
The rotor construction is usually squirrel cage or drag cup type for an ac servo motor. The
diameter is small compared to the length of the rotor which reduces inertia of the moving
parts.
Thus it has good accelerating characteristic and good dynamic response.
The supplies to the two windings of ac servo motor are not balanced as in the case of a
normal induction motor.
The control voltage varies both in magnitude and phase with respect to the constant
reference vulture applied to the reference winding.
The direction of rotation of the motor depends on the phase (± 90°) of the control voltage with
respect to the reference voltage.
The torque varies approximately linearly with respect to speed and also controls voltage. The
torque speed characteristics can be linearised at the operating point and the transfer function of
the motor can be obtained.
DC Servo Motor
A DC servo motor is used as an actuator to drive a load. It is usually a DC motor of low power
rating.
DC servo motors have a high ratio of starting torque to inertia and therefore they have a faster
dynamic response.
DC motors are constructed using rare earth permanent magnets which have high residual flux
density and high coercively.
As no field winding is used, the field copper losses am zero and hence, the overall
efficiency of the motor is high.
The speed torque characteristic of this motor is flat over a wide range, as the armature reaction is
negligible.
Moreover speed in directly proportional to the armature voltage for a given torque. Armature of a
DC servo motor is specially designed to have low inertia.
In some application DC servo motors are used with magnetic flux produced by field windings.
The speed of PMDC motors can be controlled by applying variable armature voltage. These are
called armature voltage controlled DC servo motors.
Wound field DC motors can be controlled by either controlling the armature voltage or
controlling rho field current. Let us now consider modelling of these two types or DC servo
motors.
(a) Armature controlled DC servo motor
The physical model of an armature controlled DC servo motor is given in
Solving for
(s),we get
The block diagram representation of the armature controlled DC servo motor is developed in
Steps
Usually the inductance of the armature winding is small and hence neglected
Where
Field Controlled Dc Servo Motor
The field servo motor
Where
Program Outcomes
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering
sciences
CO 5 √ √
CO 6 √ √
Block diagram
A pictorial representation of the functions performed by each component and of the flow of
signals.
Basic elements of a block diagram
Blocks
Transfer functions of elements inside the blocks
Summing points
Take off points Arrow
Block diagram
A control system may consist of a number of components. A block diagram of a system is a pictorial
representation of the functions performed by each component and of the flow of signals.
The elements of a block diagram are block, branch point and summing point.
Block
In a block diagram all system variables are linked to each other through functional blocks. The
functional block or simply block is a symbol for the mathematical operation on the input signal to the
block that produces the output.
Summing point
Although blocks are used to identify many types of mathematical operations, operations of
addition and subtraction are represented by a circle, called a summing point. As shown in Figure a
summing point may have one or several inputs. Each input has its own appropriate plus or minus sign.
A summing point has only one output and is equal to the algebraic sum of the inputs.
A takeoff point is used to allow a signal to be used by more than one block or summing point.
The transfer function is given inside the block
• The input in this case is E(s)
• The output in this case is C(s)
C(s) = G(s) E(s)
Functional block – each element of the practical system represented by block with its T.F.
Branches – lines showing the connection between the blocks
Arrow – associated with each branch to indicate the direction of flow of signal
Closed loop system
Summing point – comparing the different signals
Take off point – point from which signal is taken for feed back
Advantages of Block Diagram Representation
Very simple to construct block diagram for a complicated system Function
of individual element can be visualized
Individual & Overall performance can be studied Over all
transfer function can be calculated easily.
Disadvantages of Block Diagram Representation
No information about the physical construction
Source of energy is not shown
Simple or Canonical form of closed loop system
Parallel Subsystems
Transfer function
2. Obtain the transfer function for the system shown in the fig
Solution
3. Obtain the transfer function C/R for the block diagram shown in the fig
Solution
The take-off point is shifted after the block G2
Reducing the cascade block and parallel block
Transfer function
Signal Flow Graph Representation
Signal Flow Graph Representation of a system obtained from the equations, which shows the
flow of the signal
rule for the determination of the overall system gain is given below.
Where M= gain between Xin and Xout
Xout =output node variable
Xin= input node variable
N = total number of forward paths Pk=
path gain of the kth forward path
∆=1-(sum of loop gains of all individual loop) + (sum of gain product of all possible combinations of two
non touching loops) – (sum of gain products of all possible combination of three non touching loops)
Problem
TIME RESPONSE
Introduction
After deriving a mathematical model of a system, the system performance analysis can be done in
various methods.
In analyzing and designing control systems, a basis of comparison of performance of various control
systems should be made. This basis may be set up by specifying particular test input signals and by
comparing the responses of various systems to these signals.
The system stability, system accuracy and complete evaluation are always based on the time response
analysis and the corresponding results.
Next important step after a mathematical model of a system is obtained. To
analyze the system‗s performance.
Normally use the standard input signals to identify the characteristics of system‗s
response Step function
Ramp function
Impulse function
Parabolic function
Sinusoidal function
2.10 Time response analysis
It is an equation or a plot that describes the behavior of a system and contains much information
about it with respect to time response specification as overshooting, settling time, peak time, rise time and
steady state error. Time response is formed by the transient response and the steady state response.
Time response = Transient response + Steady state response
Transient time response (Natural response) describes the behavior of the system in its first short time
until arrives the steady state value and this response will be our study focus. If the input is step function
then the output or the response is called step time response and if the input is ramp, the response is called
ramp time response ... etc.
Classification of Time Response
Transient response
Transient Response
The transient response is defined as the part of the time response that goes to zero as time
becomes very large. Thus yt(t) has the property
Lim yt(t) = 0 t
-->∞
The time required to achieve the final value is called transient period. The transient response may
be exponential or oscillatory in nature. Output response consists of the sum of forced response (form the
input) and natural response (from the nature of the system).The transient response is the change in output
response from the beginning of the response to the
final state of the response and the steady state response is the output response as time is approaching
infinity (or no more changes at the output).
In the transfer function, the maximum power of s in the denominator polynomial gives
the order of the system.
Dynamic Order of Systems
Order of the system is the order of the differential equation that governs the dynamic behavior
Working interpretation: Number of the dynamic elements / capacitances or holdup
elements between a manipulated variable and a controlled variable
Higher order system responses are usually very difficult to resolve from one another The
response generally becomes sluggish as the order increases.
System Response
First-order system time response
First Order System
Y s / R(s) = K / (1+ K+sT) = K / (1+sT)
Second-Order Systems
Second order system responses
Over damped response:
Poles: Two real at
-ζ1 - -ζ2
Natural response: Two exponentials with time constants equal to the reciprocal of the pole
location
- -ζ2
C( t)= k1 e + k2 e
ζ1
Poles: Two complex at
Underdamped response:
-ζ1±jWd
Natural response: Damped sinusoid with an exponential envelope whose time constant is equal to the
reciprocal of the pole‗s radian frequency of the sinusoid, the damped frequency of oscillation, is equal to
the imaginary part of the poles
Un damped Response:
Poles: Two imaginary at
±jW1
Natural response: Undamped sinusoid with radian frequency equal to the imaginary part of the
poles
C(t) = Acos(w1t-φ)
PID Controllers
Proportional controllers
– pure gain or attenuation
Integral controllers
– integrate error
Derivative controllers
– differentiate error
Proportional Controller
U = Kp e
Integral Controller
Integral of error with a constant gain
Increase system type by 1
Infinity steady-state gain
Eliminate steady-state error for a unit step input
Integral Controller
Derivative Control
Controller Performance
P controller PI
controller PD
Controller PID
Controller
If the input, u(t), is a unit impulse, then for a short instant around t = 0 the input is infinite. Let us
assume that the state, x(t), is initially zero, i.e. x(0) = 0. We will integrate both sides of the differential
equation from a small time, , before t = 0, to a small time, after t = 0. We are just taking advantage of
one of the properties of the unit impulse.
The right hand side of the equation is just Gdc since the impulse is assumed to be a unit impulse -
one with unit area. Thus, we have:
We can also note that x(0) = 0, so the second integral on the right hand side is zero. In other words,
what the impulse does is it produces a calculable change in the state, x(t), and this change occurs in a
negligibly short time (the duration of the impulse) after t = 0 That leads us to a simple strategy for getting
the impulse response. Calculate the new initial condition after the impulse passes. Solve the differential
equation - with zero input - starting from the newly calculated initial condition.
We have obtained the response of a type 1 second order system to a unit step input. The
step
Response of a typical under damped second order system is plotted in Fig.
It is observed that, for an under damped system, there are two complex conjugate poles.
Usually, even if a system is of higher order, the two complex conjugate poles nearest to the
j - axis (called dominant poles) are considered and the system is approximated by a second order
system. Thus, in designing any system, certain design specifications are given based on the typical
under damped step response shown as Fig.
The design specifications are
Delay time Td: It is the time required for the response to reach 50% of the steady state value for the
first time.
Rise time Tr : It is the time required for the response to mach 100% of the steady state value for
under damped systems. However, for over damped systems, it is taken as the time required for the response
to rise from 10% to 90% of the steady state value.
Peak time Tp : It is the time required for the response to reach the maximum or Peak value of
the response.
Peak overshoot Mp : It is defined as the difference between the peak value of the response and
the steady state value. Iris usually expressed in percent of the steady state value. If the time for the peak is p
t , percent peak overshoot is given by,
MODULE-III
Concept of Stability and Root Locus Technique
Course Outcomes Mapped To Module III:
Students will be able to:
CO Course Outcomes Blooms
taxonomy
CO 7 Illustrate the time domain analysis to predict transient response Understand
specifications of the system for system stability
CO 8 Make use of the closed loop performance and stability using root locus Apply
technique.
Program Outcomes
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex
engineering problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering
sciences
PO 3 Design/development of solutions: Design solutions for complex engineering
problems and design system components or processes that meet the specified needs
with appropriate consideration for the public health and safety, and the cultural,
societal, and environmental considerations.
CO 8 √ √ √
EC- 6405
Stability
A system is stable if any bounded input produces a bounded output for all bounded initial conditions.
Characteristic Equation
Consider an nth-order system whose the characteristic equation (which is also the denominator of the
transfer function) is
a(S) = Sn+a1 Sn-1+ a2 Sn-2+……+ an-1 S1+ a0 S0
The elements of the 1st column are not all positive. Then the system is unstable
Case 2:
First element of any of the rows of RA is
Zero and the same remaining row contains atleast one non-zero element Substitute a
small positive no. ‗ε‘ in place of zero and complete the array. Examine the sign change
by taking Lt ε = 0
Graphical method, in which movement of poles in the s-plane is sketched when some
parameter is varied The path taken by the roots of the characteristic equation when open loop gain
K is varied from 0 to ∞ are called root loci
Direct Root Locus = 0 < k < ∞
Consider how these roots change as the loop gain is varied from 0 to∞
SCE
OLTF
Centroid is common intersection point of all the asymptotes on the real axis Asymptotes
are straight lines which are parallel to RL going to ∞ and meet the RL at ∞ No. of
asymptotes = No. of branches going to ∞
At Break Away point , the RL breaks from real axis to enter into the complex plane
At BI point, the RL enters the real axis from the complex plane
Step 3: Step 7:
Step 4:
Step 5:
Step 6:
EC- 6405
If open-loop system has n-m zeros at infinity, there will be n-m branches of the root locus
Loca approaching the n-m zeros at infinity
te the
poles The root locus on the real axis lies in a section of the real axis to the left of an odd number of real
and poles and zeros
zeros
with The number of separate loci is equal to the number of open-loop poles
speci
fic The root loci must be continuous and symmetrical with respect to the horizontal real axis
symb
ols, The loci proceed to zeros at infinity along asymptotes centered at centroid and with angles
the
root
locus
begi
ns at
the Step 8: The actual point at which the root locus crosses the imaginary axis is readily evaluated by
open using Routh‘s criterion
-loop Step 9: Determine the breakaway point d (usually on the real axis)
poles
and
ends Step 10: Plot the root locus that satisfy the phase criterion
at the
open
loop Step 11:
zeros Determine the parameter value K1 at a specific root using the magnitude criterion
as K
incre
ases
from
0 to
infini
ty
Page 60 of 116
SCE
MODULE IV
FREQUENCY DOMAIN ANALYSIS
Course Outcomes Mapped To Module IV:
Students will be able to:
CO Course Outcomes Blooms
taxonomy
CO 9 Estimate the stability of a first and second order systems using frequency Understand
domain concept
Program Outcomes
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex
engineering problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering
sciences
PO 3 Design/development of solutions: Design solutions for complex engineering
problems and design system components or processes that meet the specified needs
with appropriate consideration for the public health and safety, and the cultural,
societal, and environmental considerations.
The frequency response of a system is a frequency dependent function which expresses how a
sinusoidal signal of a given frequency on the system input is transferred through the system. Time-
varying signals at least periodical signals —which excite systems, as the reference (set point) signal or a
disturbance in a control system or measurement signals which are inputs signals to signal filters, can be
regarded as consisting of a sum of frequency components. Each frequency component is a sinusoidal
signal having certain amplitude and a certain frequency. (The Fourier series expansion or the Fourier
transform can be used to express these frequency components quantitatively.) The frequency response
expresses how each of these frequency components is transferred through the system. Some components
may be amplified, others may be attenuated, and there will be some phase lag through the system.
The frequency response is an important tool for analysis and design of signal filters (as low pass
filters and high pass filters), and for analysis, and to some extent, design, of control systems. Both signal
filtering and control systems applications are described (briefly) later in this UNIT. The definition of the
frequency response — which will be given in the next section — applies only to linear models, but this
linear model may very well be the local linear model about some operating point of a non-linear model.
The frequency response can found experimentally or from a transfer function model. It can be presented
graphically or as a mathematical function.
Bode plot
• Plots of the magnitude and phase characteristics are used to fully describe the frequency
response
• A Bode plot is a (semilog) plot of the transfer function magnitude and phase angle as a
function of frequency.
The gain magnitude is many times expressed in terms of decibels (dB)
db = 20 log 10 A
Phase margin:
The phase margin is the number of degrees the phase of that is above -180º at the gain
crossover frequency
Solution:
The sinusoidal T.F of G(s) is obtained by replacing s by jw in the given T.F G(jw)
= 20 / [jw (1+j3w) (1+j4w)]
Corner frequencies:
wc1= 1/4 = 0.25 rad /sec ;
wc2 = 1/3 = 0.33 rad /sec
Choose a lower corner frequency and a higher Corner frequency wl=
0.025 rad/sec ;
wh = 3.3 rad / sec
Calculation of Gain (A) (MAGNITUDE PLOT) A
@ wl ; A= 20 log [ 20 / 0.025 ] = 58 .06 dB
A @ wc1 ; A = [Slope from wl to wc1 x log (wc1 / wl ] + Gain (A)@wl
= - 20 log [ 0.25 / 0.025 ] + 58.06
= 38.06 dB
A @ wc2 ; A = [Slope from wc1 to wc2 x log (wc2 / wc1 ] + Gain (A)@ wc1
= - 40 log [ 0.33 / 0.25 ] + 38
= 33 dB
A @ wh ; A = [Slope from wc2 to wh x log (wh / wc2 ] + Gain (A) @ wc2
= - 60 log [ 3.3 / 0.33 ] +
33 =-27 dB
Calculation of Phase angle for different values of frequencies [PHASE PLOT]
O -1 -1
Ø = -90 - tan 3w – tan
4w When
Frequency in rad / sec Phase angles in Degree
0
w=0 Ø= -90
0
w = 0.025 Ø= -99
0
w = 0.25 Ø= -172
w = 0.33 Ø= -
188
0
w =3.3 Ø= -259
0
w =∞ Ø= -270
Calculations of Gain cross over frequency
The frequency at which the dB magnitude is Zero
wgc = 1.1 rad / sec
Phase Margin
0 0 o 0
Ґ = 180 + Øgc= 180 + (- 2400 ) = -60
Conclusion
For this system GM and PM are negative in values. Therefore the system is unstable in nature.
Polar plot
To sketch the polar plot of G(jω) for the entire range of frequency ω, i.e., from 0 to
infinity, there are four key points that usually need to be known:
(1) the start of plot where ω = 0,
(2) the end of plot where ω = ∞,
(3) where the plot crosses the real axis, i.e., Im(G(jω)) = 0, and
(4) where the plot crosses the imaginary axis, i.e., Re(G(jω)) = 0.
PROCEDURE
Express the given expression of OLTF in (1+sT) form.
Substitute s = jω in the expression for G(s)H(s) and get G(jω)H(jω). Get the
expressions for | G(jω)H(jω)| & angle G(jω)H(jω).
Tabulate various values of magnitude and phase angles for different values of ω ranging from 0
to ∞.
Usually the choice of frequencies will be the corner frequency and around corner
frequencies.
Choose proper scale for the magnitude circles.
Fix all the points in the polar graph sheet and join the points by a smooth curve. Write
the frequency corresponding to each of the point of the plot.
Note:
If the gain is high, the GM is low and the system‘s step response shows high overshoots and long
settling time.
On the contrary, very low gains give high GM and PM, but also causes higher ess, higher values of
rise time and settling time and in general give sluggish response.
Thus we should keep the gain as high as possible to reduce ess and obtain acceptable response
speed and yet maintain adequate GM & PM.
An adequate GM of 2 i.e. (6 dB) and a PM of 30 is generally considered good enough as a thumb
rule.
0
At w=w pc , angle of G(jw )H(jw ) = -180
Let magnitude of G(jw)H(jw ) at w = wpc be taken a B
If the gain of the system is increased by factor 1/B, then the magnitude of G(jw)H(j w) at w =
wpc becomes B(1/B) = 1 and hence the G(jw)H(jw) locus pass through -1+j0 point driving the
system to the verge of instability.
GM is defined as the reciprocal of the magnitude of the OLTF evaluated at the phase cross over
frequency.
GM in dB = 20 log (1/B) = - 20 log B
PHASE MARGIN
Phase Margin is defined as ― the additional phase lag that can be introduced before the system
becomes unstable‖.
‗A‘ be the point of intersection of G(j )H(j ) plot and a unit circle centered at the origin.
Draw a line connecting the points ‗O‘ & ‗A‘ and measure the phase angle between the line
OA and
+ve real axis.
This angle is the phase angle of the system at the gain cross over frequency.
Angle of G(jwgc)H(jw gc) =φ gc
If an additional phase lag of φ PM is introduced at this frequency, then the phase angle G(jwgc)H(jw gc)
will become 180 and the point ‗A‗ coincides with (-1+j0) driving the system to the verge of instability.
This additional phase lag is known as the Phase Margin.
0
γ= 180 + angle of G(jwgc)H(jw gc)
0
γ= 180 + φ gc
[Since φ gc is measured in CW direction, it is taken as negative]
For a stable system, the phase margin is positive.
A Phase margin close to zero corresponds to highly oscillatory system.
A polar plot may be constructed from experimental data or from a system transfer
function
If the values of w are marked along the contour, a polar plot has the same information as a
bode plot.
Usually, the shape of a polar plot is of most interest.
1. Two necessary but not sufficient conditions that all the roots have negative real parts are a)
All the polynomial coefficients must have the same sign.
b) All the polynomial coefficients must be nonzero.
2. If condition (1) is satisfied, then compute the Routh-Hurwitz array as follows
where the ai‘S are the polynomial coefficients, and the coefficients in the rest of the table are
computed using the following pattern
3. The necessary condition that all roots have negative real parts is that all the elements of the
first column of the array have the same sign. The number of changes of sign equals the
number of roots with positive real parts.
4. Special Case 1: The first element of a row is zero, but some other elements in that row are
nonzero. In this case, simply replace the zero elements by " ", complete the table development, and
then interpret the results assuming that " " is a small number of the same sign as the element above
it. The results must be interpreted in the limit as ε to 0.
5. Special Case 2: All the elements of a particular row are zero. In this case, some of the roots of the
polynomial are located symmetrically about the origin of the s-plane, e.g., a pair of purely imaginary
roots. The zero rows will always occur in a row associated with an odd power of s.
The row just above the zero rows holds the coefficients of the auxiliary polynomial. The roots of the
auxiliary polynomial are the symmetrically placed roots. Be careful to remember that the coefficients
in the array skip powers of s from one coefficient to the next.
Let P = no. of poles of q(s)-plane lying on Right Half of s-plane and encircled by s-plane
contour.
Let Z = no. of zeros of q(s)-plane lying on Right Half of s-plane and encircled by s-plane
contour.
For the CL system to be stable, the no. of zeros of q(s) which are the CL poles that lie in the right half of s-
plane should be zero. That is Z = 0, which gives N = -P.
Therefore, for a stable system the no. of ACW encirclements of the origin in the q(s)-plane by the
contour Cq must be equal to P.
Gain margin
As system gain is increased by a factor 1/a, the open loop magnitude of G ( jw)H( jw) will
increase by a factor a( 1/a) = 1 and the system would be driven to instability. Thus, the gain margin is the
reciprocal of the gain at the frequency at which the phase angle of the Nyquist plot
is - 180 . The gain rnargin, usually measured in dB, is a positive quantity given by
GM = -20log a dB
Phase Margin фm
Importance of the phase margin has already in the content of Bode. Phase margin is defined as the
change in open-loop phase shift required al unity gain to make a closed loop system unstable. A closed-
loop system will be unstable if the Nyquist plot encircles -1 +j0 point. Therefore, the angle required to
make this system marginally stable in a closed loop is the phase margin .In order to measure this angle,
we draw a circle with a radius of 1, and find the point of intersection of the Nyquist plot with this circle,
and measure the phase shift needed for this point to be at an angle of 1800. If may be appreciated that the
system having plot of Fig with larger PM is more stable than the one with plot of Fig.
MODULE V
STATE VARIABLE ANALYSIS AND
COMPENSATORS
Course Outcomes Mapped To Module V:
Students will be able to:
CO Blooms
Course Outcomes
taxonomy
CO 10 Classify the types of compensators in time domain and frequency Understand
domains specifications for increases the steady state accuracy of the
system.
CO 11 Express linear system equations in state-variable form for the analysis of Understand
system’s dynamic behavior
Program Outcomes
PO 1 Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex
engineering problems.
PO 2 Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering
sciences
CO 11 √ √
State space analysis is an excellent method for the design and analysis of control systems. The conventional and old
method for the design and analysis of control systems is the transfer function method. The transfer function method
for design and analysis had many drawbacks.
Advantages of state variable analysis.
It can be applied to non linear system.
Phase variables: The phase variables are defined as those particular state variables which are obtained from one of the
system variables & its (n-1) derivatives. Often the variables used is the system output & the remaining state variables
are then derivatives of the output. Let us define the state variables as
From the above equations we can write
We want to solve for the ratio of Y(s) to U(s), so we need so remove Q(s) from the output equation. We start by
solving the state equation for Q(s)
The matrix Φ(s) is called the state transition matrix. Now we put this into the output equation
Note that although there are many state space representations of a given system, all of those representations will result
in the same transfer function (i.e., the transfer function of a system is unique; the state space representation is not).
Note: For an nth order system the matrices generalize in the obvious way (A has ones above the main diagonal and the
differential equation constants for the last row, B is all zeros with b0 in the bottom row, C is zero except for the
leftmost element which is one, and D is zero)
For such systems (no derivatives of the input) we can choose as our n state variables the variable y and its first n-1
derivatives (in this case the first two derivatives)
Taking the derivatives we can develop our state space model (which is exactly the same as when we started from the
differential equation).
Note: For an nth order system the matrices generalize in the obvious way (A has ones above the main diagonal and the
coefficients of the denominator polynomial for the last row, B is all zeros with b0 (the numerator coefficient) in the
bottom row, C is zero except for the leftmost element which is one, and D is zero) If we try this method on a slightly
more complicated system, we find that it initially fails (though we can succeed with a little cleverness).
Example: Differential Equation to State Space (harder)
Consider the differential equation with a single derivative on the right hand side.
The method has failed because there is a derivative of the input on the right hand, and that is not allowed in a state
space model. Fortunately we can solve our problem by revising our choice of state variables.
In the third state variable equation we have successfully removed the derivative of the input from the right side of the
third equation, and we can get rid of the ÿ term using the same substitution we used for the second state variable.
The process described in the previous example can be generalized to systems with higher order input derivatives but
unfortunately gets increasingly difficult as the order of the derivative increases. When the order of derivatives is equal
on both sides, the process becomes much more difficult (and the variable "D" is no longer equal to zero). Clearly more
straightforward techniques are necessary. Two are outlined below, one generates a state space method known as the
"controllable canonical form" and the other generates the "observable canonical form (the meaning of these terms
derives from Control Theory but is not important to us).
Controllable Canonical Form (CCF)
Probably the most straightforward method for converting from the transfer function of a system to a state space model
is to generate a model in "controllable canonical form." This term comes from Control Theory but its exact meaning is
not important to us. To see how this method of generating a state space model works, consider the third order
differential transfer function:
We start by multiplying by Z(s)/Z(s) and then solving for Y(s) and U(s) in terms of Z(s). We also convert back to a
differential equation.
We can now choose z and its first two derivatives as our state variables
From these results we can easily form the state space model:
In this case, the order of the numerator of the transfer function was less than that of the denominator. If they are equal,
the process is somewhat more complex. A result that works in all cases is given below; the details are here. For a
general nth order transfer function:
the controllable canonical state space model form is
We can convert this to a differential equation and solve for the highest order derivative of y:
Now we integrate twice (the reason for this will be apparent soon), and collect terms according to order of the integral:
Looking at the right hand side of the differential equation we note that y=q1 and we call the two integral terms q2:
In this case, the order of the numerator of the transfer function was less than that of the denominator. If they are equal,
the process is somewhat more complex.
Concept of Eigen Values and Eigen Vectors
The roots of characteristic equation that we have described above are known as eigen values of matrix A. Now there
are some properties related to eigen values and these properties are written below-
1. Any square matrix A and its transpose AT have the same eigen values.
2. Sum of eigen values of any matrix A is equal to the trace of the matrix A.
3. Product of the eigen values of any matrix A is equal to the determinant of the matrix A.
4. If we multiply a scalar quantity to matrix A then the eigen values are also get multiplied by the same value of
scalar.
5. If we inverse the given matrix A then its eigen values are also get inverses.
6. If all the elements of the matrix are real then the eigen values corresponding to that matrix are either real or exists in
complex conjugate pair.
Eigen Vectors
Any non zero vector 𝑚𝑖 that satisfies the matrix equation 𝜆𝑖𝐼−𝐴 𝑚𝑖=0 is called the eigen vector of A associated with
the eigen value 𝜆𝑖,. Where𝜆𝑖, i = 1, 2, 3, ……..n denotes the ith eigen values of A.
This eigen vector may be obtained by taking cofactors of matrix 𝜆𝑖𝐼−𝐴 along any row & transposing that row of
cofactors.
Diagonalization
The above transformed state model is in canonical state model. The transformation described above is called similarity
transformation. If the system matrix A is in companion form & if all its n eigen values are distinct, then modal matrix
will be special matrix called the Vander Monde matrix.
COMPENSATOR DESIGN
Every control system which has been designed for a specific application should meet certain performance
specification. There are always some constraints which are imposed on the control system design in addition to the
performance specification. The choice of a plant is not only dependent on the performance specification but also on
the size , weight & cost. Although the designer of the control system is free to choose a new plant, it is generally not
advised due to the cost & other constraints. Under this circumstances it is possible to introduce some kind of
corrective sub-systems in order to force the chosen plant to meet the given specification. We refer to these sub-
systems as compensator whose job is to compensate for the deficiency in the performance of the plant.
REALIZATION OF BASIC COMPENSATORS
Compensation can be accomplished in several ways. Series or Cascade compensation Compensator can be inserted in
the forward path as shown in fig below. The transfer function of compensator is denoted as Gc(s), whereas that of the
original process of the plant is denoted by G(s).
Feedback compensation
Lead Compensation
Fig: Angle contribution of Lead compensator
Though the above method of locating the lead compensator pole-zero yields the largest value of 𝛼, it does not
guarantee the dominance of the desired closed loop poles in the compensated root-locus. The dominance condition
must be checked before completing the design. With compensator pole-zero so located the system gain at Sd is
computed to determine the error constant. If the value of the error constant so obtained is unsatisfactory the above
procedure is repeated after readjusting the compensator pole-zero location while keeping the angle contribution fixed
as 𝜙.
Lag Compensation
Consider a unit feedback system with forward path transfer function
At certain value of K, this system has satisfactory transient response i.e its root locus plot passes through(closed to)
the desired closed loop poles location Sd .
It is required to improve the system error constant to a specified value 𝐾𝑒𝑐 without damaging its transient response.
This requires that after compensation the root locus should continue to pass through Sd while the error constant at Sd
is raised to 𝐾𝑒𝑐. To accomplish this consider adding a lag compensator pole-zero pair with zero the left of the pole. If
this pole-zero pair is located closed to each other it will contribute a negligible angle at Sd such that Sd continues to
lie on the root locus of the compensated system.
Fig:Locating the Lag Compensator Pole-zero
From the above fig. that apart from being close to each other the pole-zero pair close to origin, the reason which will
become obvious from discussion below. The gain of the uncompensated system at Sd is given by
For the effect of the small lag angle 𝜆 is to give the closed loop pole Sd with specified 𝜁 but slightly lower . This can
be anticipated & counteracted by taking the 𝑤𝑛 of Sd to be somewhat larger than the specified value.
Procedure of Lead Compensation
Step1: Determine the value of loop gain K to satisfy the specified error constant.
Step2: For this value of K draw the bode plot & determine the phase margin 𝜙 for the system.
Prepared by HOD,ECE
L.Babitha,Asst professor