Basic Control System
Basic Control System
(ବ ଦ୍
ୈ ୟ ୁତିକ ଯାନ୍ତ୍ରିକ ଭ
ି ାଗ)
ଓଡ଼ିଶା ବ ୈଷୟ଼ି କ ଓ ଗବ ଷଣା ଼ିଶ୍ ବ ଼ିଦ୍ୟାଳୟ
ODISHA UNIVERSITY OF TECHNOLOGY AND RESEARCH
(Formerly College of Engineering & Technology)
Ghatikia, Bhubaneswar-751029
Notes
Control System-I
Systems: A system is a combination of components that act together and perform a certain
objective. A system need not be physical. The concept of the system can be applied to abstract,
dynamic phenomena such as those encountered in economics. The word system should,
therefore, be interpreted to imply physical, biological, economic, and the like, systems.
Plants. A plant may be a piece of equipment, perhaps just a set of machine parts functioning
together, the purpose of which is to perform a particular operation.
such as a mechanical device, a heating furnace, a chemical reactor, or a spacecraft.
Controlled Variable: The controlled variable is the quantity or condition that is measured and
controlled.
Control Signal or Manipulated Variable: The control signal or manipulated variable is the
quantity or condition that is varied by the controller so as to affect the value of the controlled
variable. Normally, the controlled variable is the output of the system.
Control means measuring the value of the controlled variable of the system and applying the
control signal to the system to correct or limit deviation of the measured value from a desired
value.
Disturbances. A disturbance is a signal that tends to adversely affect the value of the output of
a system. If a disturbance is generated within the system, it is called internal, while an external
disturbance is generated outside the system and is an input.
1.2.1 Mass
• Mass is the property of a body, which stores kinetic energy.
• If a force is applied on a body having mass M, then it is opposed by an opposing
force due to mass.
• This opposing force is proportional to the acceleration of the body. Assume
elasticity and friction are negligible.
Spring
• Spring is an element, which stores potential energy.
• If a force is applied on spring K, then it is opposed by an opposing force due to elasticity
of spring.
• This opposing force is proportional to the displacement of the spring. Assume mass and
friction are negligible.
Where,
• 𝑭 is the applied force
• Fk is the opposing force due to elasticity of spring
• 𝑲 is spring constant
• 𝒙 is displacement
Dashpot
Where,
• Fb is the opposing force due to friction of dashpot
• 𝑩 is the frictional coefficient
• 𝒗 is velocity
• 𝒙 is displacement
Moment of Inertia
Where,
• 𝑻 is the applied torque
• Tj is the opposing torque due to moment of inertia
• 𝑱 is moment of inertia
• 𝛂 is angular acceleration
• 𝛉 is angular displacement.
Torsional Spring
• In translational mechanical system, spring stores potential energy. Similarly, in
rotational mechanical system, torsional spring stores potential energy.
If a torque is applied on torsional spring K, then it is opposed by an opposing torque due to the
elasticity of torsional spring. This opposing torque is proportional to the angular displacement
of the torsional spring. Assume that the moment of inertia and friction are negligible.
Dashpot
• If a torque is applied on dashpot B, then it is opposed by an opposing torque due to the
rotational friction of the dashpot.
• This opposing torque is proportional to the angular velocity of the body. Assume the
moment of inertia and elasticity are negligible
• The error detector produces an error signal, which is the difference between the input
and the feedback signal.
• 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.
• 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.
Example: Traffic lights control system having sensor at the input.
Positive Feedback
• The positive feedback adds the reference input, 𝑅(𝑠) and feedback output.
Where,
• T is the transfer function or overall gain of positive feedback control system.
• G is the open loop gain, which is function of frequency.
• H is the gain of feedback path, which is function of frequency.
Negative Feedback
• Negative feedback reduces the error between the reference input, 𝑅(𝑠) and system
output.
Where,
• T is the transfer function or overall gain of negative feedback control system
• G is the open loop gain, which is function of frequency
• H is the gain of feedback path, which is function of frequency
• From Eq. 2, the overall gain of negative feedback closed loop control system is the ratio
of ‘G’ and (1+GH). So, the overall gain may increase or decrease depending on the
value of (1+GH).
• 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.
Eq. 3
Eq. 5
From Eq. 2,
Eq. 6
Eq.7
So, we got the sensitivity of the overall gain of closed loop control system as the reciprocal of
(1+GH). So, Sensitivity may increase or decrease depending on the value of (1+GH).
• 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.
Eq. 8
Eq. 9
Transfer Function
• A simpler system or element maybe governed by first order or second order differential
equation.
• When several elements are connected in sequence, say ―n elements, each one with
first order, the total order of the system will be nth order.
• In general, a collection of components or system shall be represented by nth order
differential equation
• 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 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
Definition of 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.
• Block diagram consists of two blocks having transfer functions G(s) and H(s).
• It is also having one summing point and one take-off point.
• Arrows indicate the direction of the flow of signals.
Block
• The transfer function of a component is represented by a block. Block has single input
and single output.
The following figure shows a block having input X(s), output Y(s) and the transfer function
G(s).
Output of the block is obtained by multiplying transfer function of the block with input.
Summing Point
• The summing point is represented with a circle having cross (X) inside it.
• It has two or more inputs and single output.
• It produces the algebraic sum of the inputs.
• It also performs the summation or subtraction or combination of summation and
subtraction of the inputs based on the polarity of the inputs.
The following figure shows the summing point with two inputs (A, B) and one output (Y).
𝑌 = 𝐴 + 𝐵.
The inputs A and B are having opposite signs, i.e., A is having positive sign and B is having
negative sign.
𝑌 = 𝐴 + (−𝐵) = 𝐴−𝐵
The inputs A and B are having positive signs and C is having a negative sign. So, the summing
point produces the output Y as
𝑌=𝐴+𝐵+(−𝐶)=𝐴+𝐵−𝐶.
The take-off point is used to connect the output 𝐶(𝑠), as one of the inputs to the summing point.
1. Series Connection
Where, Z(s)=G1(s)X(s)
Y(s)=G2(s)[G1(s)X(s)]=G1(s)G2(s)X(s)
Y(s)={G1(s)G2(s)}X(s)
Compare this equation with the standard form of the output equation, Y(s)=G(s)X(s).
Where, G(s)=G1(s)G2(s)
2. Parallel connection
Compare this equation with the standard form of the output equation, Y(s)=G(s)X(s).
Where, G(s)=G1(s)+G2(s)
3. Feedback Connection
E(s)=X(s)−H(s)Y(s)
Y(s){1+G(s)H(s)}=X(s)G(s)}
Y(s) G(s)
⇒ =
X(s) 1+G(s)H(s)
G(s)
Therefore, the negative feedback closed loop transfer function is
1+G(s)H(s)
4. Shifting summing point after the block
Summing point has two inputs R(s) and X(s). The output of it is {R(s)+X(s)}.
So, the input to the block G(s) is {R(s)+X(s)} and the output of it is
Y(s)=G(s){R(s)+X(s)}
⇒Y(s)=G(s)R(s)+G(s)X(s)
Y(s)=G(s)R(s)+X(s)
The first term ‘G(s)R(s)′ is same in both the equations. But there is difference in the second
term. In order to get the second term also same, we require one more block G(s).
Y(s)=G(s)R(s)+X(s)
Now, shift the summing point before the block. This block diagram is shown in the following
figure.
Y(S)=G(s)R(s)+G(s)X(s)
When you shift the take-off point after the block, the output Y(s) will be same. But there is
difference in X(s) value. So, in order to get the same X(s) value, we require one more
block 1/G(s).
When you shift the take-off point before the block, the output Y(s) will be same. But there is
difference in X(s) value. So, in order to get same X(s) value, we require one more block G(s)
Nodes and branches are the basic elements of signal flow graph.
Node is a point which represents either a variable or a signal. There are three types of nodes
— input node, output node and mixed node.
• Input Node − It is a node, which has only outgoing branches.
• Output Node − It is a node, which has only incoming branches.
• Mixed Node − It is a node, which has both incoming and outgoing branches.
Example
• The nodes present in this signal flow graph are y1, y2, y3 and y4.
Branch
Branch is a line segment which joins two nodes. It has both gain and direction. For example,
there are four branches in the above signal flow graph. These branches have gains of a, b,
c and -d.
Let us construct a signal flow graph by considering the following algebraic equations −
y2=a12y1+a42y4
y3=a23y2+a53y5
y4=a34y3
y5=a45y4+a35y3
y6=a56y5
There will be six nodes (y1, y2, y3, y4, y5 and y6) and eight branches in this signal flow graph.
The gains of the branches are a12, a23, a34, a45, a56, a42, a53 and a35.
Follow these steps for converting a block diagram into its equivalent signal flow graph.
• Represent all the signals, variables, summing points and take-off points of block
diagram as nodes in signal flow graph.
• Connect the nodes as per the block diagram. If there is connection between two nodes
(but there is no block in between), then represent the gain of the branch as one. For
example, between summing points, between summing point and takeoff point,
between input and summing point, between take-off point and output.
Example
Represent the input signal R(s) and output signal C(s) of block diagram as input node R(s) and
output node C(s) of signal flow graph.
Suppose there are ‘N’ forward paths in a signal flow graph. The gain between the input and the
output nodes of a signal flow graph is nothing but the transfer function of the system. It can
be calculated by using Mason’s gain formula.
Where,
• Δ=1−(sum of all individual loop gains) +(sum of gain products of all possible two non-
touching loops) −(sum of gain products o fall possible three non-touching loops)+...
• Δi is obtained from Δ by removing the loops which are touching the ith forward path
Example
It is a traversal of branches from one node to any other node in the direction of branch arrows.
It should not traverse any node more than once.
Forward Path
The path that exists from the input node to the output node is known as forward path.
It is obtained by calculating the product of all branch gains of the forward path.
Examples − abcde is the forward path gain of y1→y2→y3→y4→y5→y6 and abge is the
forward path gain of y1→y2→y3→y5→y6
Loop
The path that starts from one node and ends at the same node is known as loop. Hence, it is a
closed path.
Examples − bj is the loop gain of y2→y3→y2 and gh is the loop gain of y3→y5→y3
Non-touching Loops
These are the loops, which should not have any common node.
Higher number of (more than two) non-touching loops are not present in this signal flow
graph.
Δ=1− (sum of all individual loop gains) + (sum of gain products of all possible two non-
touching loops) − (sum of gain products of all possible three non-touching loops)+…
So, Δ1=1.
Similarly, Δ2=1. Since, no loop which is non-touching to the second forward path.
Consider a series of RLC circuit as shown in the following figure. Where, 𝑉𝑖(t) and 𝑉𝑜(t) are
the input and output voltages. Let 𝑖(𝑡) be the current passing through the circuit. This circuit is
in time domain.
By applying the Laplace transform to this circuit, will get the circuit in s-domain.
Transient Response
In practice, the input signal to a control system is not known ahead of time but is random in
nature.
Only in some special cases is the input signal known in advance and expressible analytically.
In analysing and designing control systems set up by specifying particular test input signals
and by comparing the responses of various systems to these input signals.
FIRST-ORDER SYSTEMS
Eq. 2.1
Let’s analyse the system responses to such inputs as the unit-step, unit-ramp, and unit-impulse
functions. The initial conditions are assumed to be zero.
Unit-Step Response of First-Order Systems.
Eq. 2.2
Eq. 2.3
Eq. 2.3 states that initially the output c(t) is zero i.e at t=0 and finally it becomes unity.
One important characteristic of such an exponential response curve c(t) is that at t=T the value
of c(t) is 0.632, or the response c(t) has reached 63.2% of its total change. This may be easily
seen by substituting t=T in c(t).That is,
The smaller the time constant T, the faster the system response.
Another important characteristic of the exponential response curve is that the slope of the
tangent line at t=0 is 1/T, since
Eq. 2.4
In one time constant, the exponential response curve has gone from 0 to 63.2%of the final
Laplace transform of the unit-ramp function is 1/s2, we obtain the output of the system of
Figure: 2.1 as
Eq. 2.5
Eq. 2.6
The error in following the unit-ramp input is equal to T for sufficiently large t. The smaller
the time constant T, the smaller the steady-state error in following the ramp input.
For the unit-impulse input, R(s)=1 and the output of the system of Figure 2.1 can be obtained
as
Eq. 2.7
Eq. 2.8
For the unit-step input, which is the derivative of unit-ramp input, the output c(t) is
Comparing the system responses to these three inputs clearly indicates that the response
to the derivative of an input signal can be obtained by differentiating the response of the
system to the original signal.
Eq. 2.9
Where 𝜔𝑛 , the undamped natural frequency; and ξ, the damping ratio of the system.
The damping ratio ξ is the ratio of the actual damping to the critical damping.
The dynamic behavior of the second-order system can then be described in terms of two
parameters ξ and ωn.
• If 0< ξ <1, the closed-loop poles are complex conjugates and lie in the left-half s plane.
The system is then called underdamped.
• the transient response is oscillatory, If ξ =0, the transient response does not die out.
• If ξ =1, the system is called critically damped.
• Overdamped systems correspond to ξ >1.
Underdamped case (0< ξ <1):
The roots for a standard second order system can be calculated as 𝑆1 , 𝑆2 = − 𝜉𝜔𝑛 ± 𝑗𝜔𝑑
Where 𝜔𝑑 = 𝜔𝑛 √1 − 𝜉 2 . The frequency 𝜔𝑛 is called the damped natural frequency. For
Eq. 2.10
The inverse Laplace transform of Eq. 2.10 can be obtained easily if C(s) is written in the
following form:
The error signal for this system is the difference between the input and output and is
This error signal exhibits a damped sinusoidal oscillation. At steady state, or at t=∞, no error
exists between the input and output.
If the damping ratio 𝜉 is equal to zero, the response becomes undamped and oscillations
continue indefinitely. The response c(t) for the zero damping case may be obtained by
substituting 𝜉 =0
• Peak time, tp: The peak time is the time required for the response to reach the first peak
of the overshoot.
• Maximum (percent) overshoot, Mp: The maximum overshoot is the maximum peak
value of the response curve measured from unity. If the final steady-state value of the
response differs from unity, then it is common to use the maximum percent overshoot.
It is defined by
Rise time tr : Referring to Eq. 2.11 we obtain the rise time tr by letting c(tr )=1.
Peak time tp: Referring to Equation (5–12), we may obtain the peak time by differentiating
c(t) with respect to time and letting this derivative equal zero. Since
and the cosine terms in this last equation cancel each other, dc/dt, evaluated at t=tp, can be
simplified to
Or
The peak time tp corresponds to one-half cycle of the frequency of damped oscillation.
Maximum overshoot Mp: The maximum overshoot occurs at the peak time or at
t=tp=p_vd.Assuming that the final value of the output is unity,Mp is obtained from
Equation (5–12) as
The speed of decay of the transient response depends on the value of the time constant 1/ 𝜉𝜔𝑛 .
For a given vn, the settling time ts is a function of the damping ratio z
The settling time corresponding to a ; 2% or ;5% tolerance band may be measured
in terms of the time constant T=1/ 𝜉𝜔𝑛 . For 0<z<0.9, if the 2% criterion is
used, ts is approximately four times the time constant of the system. If the 5% criterion
is used, then ts is approximately three times the time constant.
For convenience in comparing the responses of systems, we commonly define the
settling time ts to be
where the coefficients are real quantities. We assume that an ≠ 0; that is, any zero root
has been removed.
2. If any of the coefficients are zero or negative in the presence of at least one positive
coefficient, a root or roots exist that are imaginary or that have positive real parts.
Therefore, in such a case, the system is not stable.
The process of forming rows continues until we run out of elements. (The total number of rows
is n+1.) The coefficients b1, b2, b3, and so on, are evaluated as follows:
The evaluation of the b’s is continued until the remaining ones are all zero. The same pattern
of cross-multiplying the coefficients of the two previous rows is followed in evaluating the c’s,
d’s, e’s, and so on. That is,
Let us follow the procedure just presented and construct the array of coefficients. The first two
rows can be obtained directly from the given polynomial. The remaining terms are obtained
from these. If any coefficients are missing, they may be replaced by zeros in the array.
the number of changes in sign of the coefficients in the first column is 2. This means that there
are two roots with positive real parts
3.1.2 Special Cases
1. If a first-column term in any row is zero, but the remaining terms are not zero or there
is no remaining term, then the zero term is replaced by a very small positive number ε
and the rest of the array is evaluated.
If the sign of the coefficient above the zero (ε) is the same as that below it, it indicates
that there are a pair of imaginary roots. Actually, has two roots at s = ±j.
2. If all the coefficients in any derived row are zero, it indicates that there are roots of
equal magnitude lying radially opposite in the s plane—that is, two real roots with equal
magnitudes and opposite signs and/or two conjugate imaginary roots.
The auxiliary polynomial is then formed from the coefficients of the s4 row
which indicates that there are two pairs of roots of equal magnitude and opposite sign
These pairs are obtained by solving the auxiliary polynomial equation P(s)=0. The derivative
of P(s) with respect to s is
The terms in the s3 row are replaced by the coefficients of the last equation
There is one change in sign in the first column of the new array. Thus, the original equation
has one root with a positive real part. By solving for roots of the auxiliary polynomial equation,
we obtain
For stability, K must be positive, and all coefficients in the first column must be positive.
Therefore,
When K = 14/9 the system becomes oscillatory and, mathematically, the oscillation is sustained
at constant amplitude.
Routh’s stability criterion provides the answer to the question of absolute stability.
A useful approach for examining relative stability is to shift the s-plane axis and apply Routh’s
stability criterion. That is, we substitute
Routh’s stability criterion to the new polynomial in ŝ. The number of changes of sign in the
first column of the array developed for the polynomial in ŝ is equal to the number of roots that
are located to the right of the vertical line s=–σ. Thus, this test reveals the number of roots that
lie to the right of the vertical line s=–σ.
• A locus of the points in the complex plane satisfying the angle condition alone is the
root locus.
• The roots of the characteristic equation (the closed-loop poles) corresponding to a given
value of the gain can be determined from the magnitude condition.
3.4.1 Rules for Construction of Root Locus
1. Locate the open loop poles and zeros in the ‘s’ plane.
2. Find the number of root locus branches.
• The root locus branches start at the open loop poles and end at open loop zeros.
So, the number of root locus branches N is equal to the number of finite open
loop poles P or the number of finite open loop zeros Z, whichever is greater.
• The number of root locus branches N as
Where, q=0,1,2,....,(P−Z)−1
We can calculate the point at which the root locus branch intersects the imaginary axis and
the value of K at that point by using the Routh array method.
• If all elements of any row of the Routh array are zero, then the root locus branch
intersects the imaginary axis and vice-versa.
• Identify the row in such a way that if we make the first element as zero, then
the elements of the entire row are zero. Find the value of K for this
combination.
• Substitute this K value in the auxiliary equation. You will get the intersection
point of the root locus branch with an imaginary axis.
• If there exists a real axis root locus branch between two open loop poles, then
there will be a break-away point in between these two open loop poles.
• If there exists a real axis root locus branch between two open loop zeros, then
there will be a break-in point in between these two open loop zeros.
Note − Break-away and break-in points exist only on the real axis root locus branches.
The Angle of departure and the angle of arrival can be calculated at complex conjugate
open loop poles and complex conjugate open loop zeros respectively.
ϕd=1800−ϕ
Where,
ϕ=∑ϕP−∑ϕZ
Frequency response
First-Order Factors (1+ jωT)±1. The log magnitude of the first-order factor 1/(1+jωT) is
For low frequencies, such that ω<<1/T, the log magnitude may be approximated by
Thus, the log-magnitude curve at low frequencies is the constant 0-dB line. For high
frequencies, such that ω>>1/T,
At ω=1/T, the log magnitude equals 0 dB; at ω=10/T, the log magnitude is –20 dB. Thus, the
value of –20 log ωT dB decreases by 20 dB for every decade of ω. For v >>1/T, the log-
magnitude curve is thus a straight line with a slope of –20 dB/decade the logarithmic
representation of the frequency-response curve of the factor 1/(1+jωT) can be approximated by
The frequency at which the two asymptotes meet is called the corner frequency or break
frequency. For the factor 1/(1+jωT), the frequency ω=1/T is the corner frequency, since at
ω=1/T the two asymptotes have the same value.
At zero frequency, the phase angle is 0°. At the corner frequency, the phase angle is
for low frequencies such that ω<<ωn, the log magnitude becomes
-20 log 1 = 0 dB
The low-frequency asymptote is thus a horizontal line at 0 dB. For high frequencies such
that ω>>ωn, the log magnitude becomes
The equation for the high-frequency asymptote is a straight line having the slope –40
dB/decade, since
Example
Draw the Bode diagram for the following transfer function:
Solution:
To avoid any possible mistakes in drawing the log-magnitude curve, it is desirable to put G(jω)
in the following normalized form, where the low-frequency asymptotes for the first-order
factors and the second-order factor are the 0 dB line:
• The corner frequencies of the third, fourth, and fifth terms are ω=3, ω=2, and ω = √2
respectively. Note that the last term has the damping ratio of 0.3536.
• To plot the Bode diagram, the separate asymptotic curves for each of the factors. The
composite curve is then obtained by algebraically adding the individual curves.
Note that when the individual asymptotic curves are added at each frequency, the slope of the
composite curve is cumulative. Below ω = 2 the plot has the slope of –20 dB/decade. At the
first corner frequency ω = √2 the slope changes to –60 dB/decade and continues to the next
corner frequency ω =2, where the slope becomes –80 dB/decade. At the last corner frequency
ω =3, the slope changes to –60 dB/decade.
Start drawing the lowest-frequency portion of the straight line (that is, the straight line with the
slope –20 dB/decade for ω = √2). As the frequency is increased, we get the effect of the
complex-conjugate poles (quadratic term) at the corner frequency ω = √2.
From the Bode plots, we can say whether the control system is stable, marginally stable or
unstable based on the values of these parameters.
The frequency at which the phase plot is having the phase of -1800 is known as phase cross
over frequency. It is denoted by ωpc. The unit of phase cross over frequency is rad/sec.
Gain Cross over Frequency
The frequency at which the magnitude plot is having the magnitude of zero dB is known
as gain cross over frequency. It is denoted by ωgc. The unit of gain cross over frequency
is rad/sec.
The stability of the control system based on the relation between the phase cross over
frequency and the gain cross over frequency is listed below.
• If the phase cross over frequency ωpc is greater than the gain cross over frequency ωgc,
then the control system is stable.
• If the phase cross over frequency ωpc is equal to the gain cross over frequency ωgc, then
the control system is marginally stable.
• If the phase cross over frequency ωpc is less than the gain cross over frequency ωgc,
then the control system is unstable.
Gain Margin
Gain margin GM is equal to negative of the magnitude in dB at phase cross over frequency.
GM=20log(1/Mpc)=-20logMpc
The stability of the control system based on the relation between gain margin and phase
margin is listed below.
• If both the gain margin GM and the phase margin PM are positive, then the control
system is stable.
• If both the gain margin GM and the phase margin PM are equal to zero, then the control
system is marginally stable.
• If the gain margin GM and / or the phase margin PM are/is negative, then the control
system is unstable.
If ω approaches infinity, the magnitude of G(jω) approaches zero and the phase angle
approaches –90°.The polar plot of this transfer function is a semicircle as the frequency ω is
varied from zero to infinity.The centre is located at 0.5 on the real axis, and the radius is equal
to 0.5.
Let G(jω) = X + jY
Where
Then we obtain
The Nyquist stability criterion works on the principle of argument. It states that if there are
P poles and Z zeros are enclosed by the ‘s’ plane closed path, then the corresponding
G(s)H(s) plane must encircle the origin P−Z times. So, we can write the number of
encirclements N as,
N=P−Z
• If the enclosed ‘s’ plane closed path contains only poles, then the direction of the
encirclement in the G(s)H(s) plane will be opposite to the direction of the enclosed
closed path in the ‘s’ plane.
• If the enclosed ‘s’ plane closed path contains only zeros, then the direction of the
encirclement in the G(s)H(s) plane will be in the same direction as that of the enclosed
closed path in the ‘s’ plane.
Let us now apply the principle of argument to the entire right half of the ‘s’ plane by selecting
it as a closed path. This selected path is called the Nyquist contour.
Closed loop control system is stable if all the poles of the closed loop transfer function are in
the left half of the ‘s’ plane. So, the poles of the closed loop transfer function are nothing but
the roots of the characteristic equation. As the order of the characteristic equation increases,
it is difficult to find the roots. So, let us correlate these roots of the characteristic equation as
follows.
• The Poles of the characteristic equation are same as that of the poles of the open loop
transfer function.
• The zeros of the characteristic equation are same as that of the poles of the closed loop
transfer function.
We know that the open loop control system is stable if there is no open loop pole in the right
half of the ‘s’ plane.
i.e., P=0⇒N=−Z
• Locate the poles and zeros of open loop transfer function G(s)H(s) in ‘s’ plane.
• Draw the polar plot by varying ω from zero to infinity. If pole or zero present at s = 0,
then varying ω from 0+ to infinity for drawing polar plot.
• Draw the mirror image of above polar plot for values of ω ranging from −∞ to zero
(0− if any pole or zero present at s=0).
• The number of infinite radius half circles will be equal to the number of poles or zeros
at origin. The infinite radius half circle will start at the point where the mirror image
of the polar plot ends. And this infinite radius half circle will end at the point where
the polar plot starts.
After drawing the Nyquist plot, we can find the stability of the closed loop control system
using the Nyquist stability criterion. If the critical point (-1+j0) lies outside the encirclement,
then the closed loop control system is absolutely stable.
From the Nyquist plots, we can identify whether the control system is stable, marginally stable
or unstable based on the values of these parameters.
The frequency at which the Nyquist plot intersects the negative real axis (phase angle is 1800)
is known as the phase cross over frequency. It is denoted by ωpc.
The stability of the control system based on the relation between phase cross over frequency
and gain cross over frequency is listed below.
• If the phase cross over frequency ωpc is greater than the gain cross over frequency ωgc,
then the control system is stable.
• If the phase cross over frequency ωpc is equal to the gain cross over frequency ωgc, then
the control system is marginally stable.
• If phase cross over frequency ωpc is less than gain cross over frequency ωgc, then the
control system is unstable
Gain Margin
The gain margin GM is equal to the reciprocal of the magnitude of the Nyquist plot at the
phase cross over frequency.
GM=1/Mpc
Where, Mpc is the magnitude in normal scale at the phase cross over frequency.
Phase Margin
The phase margin PMPM is equal to the sum of 1800 and the phase angle at the gain cross
over frequency.
PM=1800+ϕgc
Where, ϕgc is the phase angle at the gain cross over frequency.
The stability of the control system based on the relation between the gain margin and the phase
margin is listed below.
• If the gain margin GM is greater than one and the phase margin PM is positive, then
the control system is stable.
• If the gain margin GM is equal to one and the phase margin PM is zero degrees, then
the control system is marginally stable.
• If the gain margin GM is less than one and / or the phase margin PM is negative, then
the control system is unstable.
In many practical situations because the plant may be fixed and not modifiable. Then we must
adjust parameters other than those in the fixed plant.
In practice, the root-locus plot of a system may indicate that the desired performance cannot
be achieved just by the adjustment of gain
The design problems, therefore, become those of improving system performance by insertion
of a compensator.
The design by the root-locus method is based on reshaping the root locus of the system by
adding poles and zeros to the system’s open-loop transfer function and forcing the root loci to
pass through desired closed-loop poles in the s plane. The characteristic of the root-locus design
is its being based on the assumption that the closed-loop system has a pair of dominant closed-
loop poles. This means that the effects of zeros and additional poles do not affect the response
characteristics very much.
in the design by the rootlocus method, the root loci of the system are reshaped through the use
of a compensator so that a pair of dominant closed-loop poles can be placed at the desired
location.
This is the most commonly used system where the controller is placed in series with the
controlled process.
Effects of the Addition of Poles. The addition of a pole to the open-loop transfer function has
the effect of pulling the root locus to the right, tending to lower the system’s relative stability
and to slow down the settling of the response. (Remember that the addition of integral control
adds a pole at the origin, thus making the system less stable.)
Figure shows examples of root loci illustrating the effects of the addition of a pole to a single-
pole system and the addition of two poles to a single-pole system.
The main problem then involves the judicious choice of the pole(s) and zero(s) of the
compensator Gc(s) to have the dominant closed-loop poles at the desired location in the s plane
so that the performance specifications will be met.
There are many ways to realize lead compensators and lag compensators, such as electronic
networks using operational amplifiers, electrical RC networks, and mechanical spring-dashpot
systems.
The specifications are given in terms of time-domain quantities, such as the damping ratio and
undamped natural frequency of the desired dominant closed-loop poles, maximum overshoot,
rise time, and settling time.
Consider a design problem in which the original system either is unstable for all values of gain
or is stable but has undesirable transient-response characteristics.
5.3.1 The procedures for designing a lead compensator
1. From the performance specifications, determine the desired location for the dominant
closed-loop poles.
2. By drawing the root-locus plot of the uncompensated system (original system),
ascertain whether or not the gain adjustment alone can yield the desired closed loop
poles. If not, calculate the angle deficiency ϕ. This angle must be contributed by the
lead compensator if the new root locus is to pass through the desired locations for the
dominant closed-loop poles.
3. Assume the lead compensator Gc(s) to be
5. Determine the value of Kc of the lead compensator from the magnitude condition
6. Once a compensator has been designed, check to see whether all performance
specifications have been met. If the compensated system does not meet the performance
specifications, then repeat the design procedure by adjusting the compensator pole and
zero until all such specifications are met.
Example
The angle from the pole at the origin to the desired dominant closed-loop pole at
s = –1.5+j2.5981 is 120°.The angle from the pole at s=–1 to the desired closed-loop pole is
100.894°. Hence, the angle deficiency is
Angle deficiency=180° – 120° – 100.894°=–40.894°
Method 1. a procedure to obtain a largest possible value for a. (Note that a larger value of a
will produce a larger value of Kv. In most cases, the larger the Kv is, the better the system
performance.)
Thus, if we need to force the root locus to go through the desired closed-loop pole, the lead
compensator must contribute ϕ=40.894° at this point. By following the foregoing design
procedure, we can determine the zero and pole of the lead compensator.
if we bisect angle APO and take 40.894°/2 each side, then the locations of the zero and pole
are found as follows:
1. Draw the root-locus plot for the uncompensated system whose open-loop transfer
function is G(s). Based on the transient-response specifications, locate the dominant
closed-loop poles on the root locus.
2. Assume the transfer function of the lag compensator to be given by
Example
The feedforward transfer function is
The damping ratio of the dominant closed-loop poles is ξ=0.491. The undamped natural
frequency of the dominant closed-loop poles is 0.673 rad/sec. The static velocity error constant
is 0.53 sec–1.
It is desired to increase the static velocity error constant Kv to about 5 sec–1 without appreciably
changing the location of the dominant closed-loop poles.
To meet this specification, let us insert a lag compensator in cascade with the given feedforward
transfer function. To increase the static velocity error constant by a factor of about 10, let us
choose β=10 and place the zero and pole of the lag compensator at s=–0.05 and s=–0.005,
respectively. The transfer function of the lag compensator becomes
If the damping ratio of the new dominant closed-loop poles is kept the same, then these poles
are obtained from the new root-locus plot as follows:
The primary function of the lead compensator is to reshape the frequency-response curve to
provide sufficient phase-lead angle to offset the excessive phase lag associated with the
components of the fixed system.
Assume the following lead compensator:
1. Determine gain K to satisfy the requirement on the given static error constant.
2. Using the gain K thus determined, draw a Bode diagram of G1(jω), the gain adjusted
but uncompensated system. Evaluate the phase margin.
3. Determine the necessary phase-lead angle to be added to the system. Add an additional
5° to 12° to the phase-lead angle required, because the addition of the lead compensator
shifts the gain crossover frequency to the right and decreases the phase margin.
4. Determine the attenuation factor. Determine the frequency where the magnitude of the
uncompensated system G1(jω) is equal to select this frequency as the new gain
crossover frequency. This frequency corresponds to and the maximum phase shift ϕm
occurs at this frequency.
6. Using the value of K determined in step 1 and that of a determined in step 4, calculate
constant Kc from
7. Check the gain margin to be sure it is satisfactory. If not, repeat the design process by
modifying the pole–zero location of the compensator until a satisfactory result is
obtained.
Example
It is desired to design a compensator for the system so that the static velocity error constant Kv
is 20 sec–1, the phase margin is at least 50°, and the gain margin is at least 10 dB.
The compensated system will have the open-loop transfer function Gc(s)G(s).
Define
The first step in the design is to adjust the gain K to meet the steady-state performance
specification or to provide the required static velocity error constant. Since this constant is
given as 20 sec–1, we obtain
K = 10
With K=10, the compensated system will satisfy the steady-state requirement.
We shall next plot the Bode diagram of
From this plot, the phase and gain margins of the system are found to be 17° and +∞ dB,
respectively. (A phase margin of 17° implies that the system is quite oscillatory. Thus,
satisfying the specification on the steady state yields a poor transient-response performance.)
The specification calls for a phase margin of at least 50°.We thus find the additional phase lead
necessary to satisfy the relative stability requirement is 33°.To achieve a phase margin of 50°
without decreasing the value of K, the lead compensator must contribute the required phase
angle.
The gain crossover frequency will be shifted to the right. We must offset the increased phase
lag of G1(jω) due to this increase in the gain crossover frequency. Considering the shift of the
gain crossover frequency, we may assume that ϕm, the maximum phase lead required, is
determine the corner frequencies ω=1/T and ω=1/(αT) of the lead compensator
first note that the maximum phase-lead angle ϕm occurs at the geometric mean of the two corner
frequencies, or v = 1_A1aTB
The amount of the modification in the magnitude curve at due to the inclusion of the term
(Ts+1)/(αTs+1) is
and |G1(jω)|=–6.2 dB corresponds to ω=9rad/sec. We shall select this frequency to be the new
gain crossover frequency ωc. Noting that this frequency corresponds to or
we obtain
The primary function of a lag compensator is to provide attenuation in the high frequency range
to give a system sufficient phase margin. The phase-lag characteristic is of no consequence in
lag compensation.
G1(s) = KG(s)
1. Determine gain K to satisfy the requirement on the given static velocity error constant.
2. If the gain-adjusted but uncompensated system G1(jω) =KG(jω) does not satisfy the
specifications on the phase and gain margins, then find the frequency point where the
phase angle of the open-loop transfer function is equal to –180° plus the required phase
margin. The required phase margin is the specified phase margin plus 5° to 12°. (The
addition of 5° to 12° compensates for the phase lag of the lag compensator.) Choose
this frequency as the new gain crossover frequency.
3. To prevent detrimental effects of phase lag due to the lag compensator, the pole and
zero of the lag compensators must be located substantially lower than the new gain
crossover frequency. Therefore, choose the corner frequency ω=1/T (corresponding to
the zero of the lag compensator) 1 octave to 1 decade below the new gain crossover
frequency. (If the time constants of the lag compensator do not become too large, the
corner frequency ω=1/T may be chosen 1 decade below the new gain crossover
frequency.)
4. Determine the attenuation necessary to bring the magnitude curve down to 0 dB at the
new gain crossover frequency. Noting that this attenuation is -20logβ, determine the
Example
It is desired to compensate the system so that the static velocity error constant Kv is 5 sec–1,
the phase margin is at least 40°, and the gain margin is at least 10 dB.
The first step in the design is to adjust the gain K to meet the required static velocity error
constant.
Thus,
From this plot, the phase margin is found to be –20°, which means that the gain-adjusted but
uncompensated system is unstable.
The addition of a lag compensator modifies the phase curve of the Bode diagram, we must
allow 5° to 12° to the specified phase margin to compensate for the modification of the phase
curve. Since the frequency corresponding to a phase margin of 40° is 0.7 rad/sec, the new gain
crossover frequency (of the compensated system) must be chosen near this value.
To avoid overly large time constants for the lag compensator, we shall choose the corner
frequency ω=1/T(which corresponds to the zero of the lag compensator) to be 0.1 rad/sec. Since
this corner frequency is not too far below the new gain crossover frequency, the modification
in the phase curve may not be small.
Hence, we add about 12° to the given phase margin as an allowance to account for the lag angle
introduced by the lag compensator.
The required phase margin is now 52°.The phase angle of the uncompensated open-loop
transfer function is –128° at about ω=0.5 rad/sec.
Or
β = 10
The other corner frequency ω=1/(βT), which corresponds to the pole of the lag compensator,
is then determined as
Since the gain K was determined to be 5 and b was determined to be 10, we have
The phase margin of the compensated system is about 40°, which is the required value. The
gain margin is about 11 dB, which is quite acceptable. The static velocity error constant is 5
sec–1, as required.
The compensated system, therefore, satisfies the requirements on both the steady state and the
relative stability.
These values can be interpreted in terms of time: P depends on the present error, I on the
accumulation of past errors, and D is a prediction of future errors, based on current rate of
change
The integral term accelerates the movement of the process towards set-point and eliminates the
residual steady-state error that occurs with a pure proportional controller. However, since the
integral term responds to accumulated errors from the past, it can cause the present value to
overshoot the set-point value.
The state space model of Linear Time-Invariant (LTI) system can be represented as,
𝑋̇=AX+BU
Y=CX+DU
The first and the second equations are known as state equation and output equation
respectively.
• X and 𝑋̇ are the state vector and the differential state vector respectively.
State
It is a group of variables, which summarizes the history of the system in order to predict the
future values (outputs).
It refers to smallest set of variables whose knowledge at t = t0 together with the knowledge of
input for t ≥ t0 gives the complete knowledge of the behaviour of the system at any time t ≥ t0.
State Variable
The number of the state variables required is equal to the number of the storage elements
present in the system.
It refers to the smallest set of variables which help us to determine the state of the dynamic
system. State variables are defined by x1(t), x2(t)……..xn(t).
State Vector
Suppose there is a requirement of n state variables in order to describe the complete behaviour
of the given system, then these n state variables are considered to be n components of a vector
x(t). Such a vector is known as state vector.
State Space : It refers to the n dimensional space which has x1 axis, x2 axis ………xn axis.
where u is the input and y is the output. This equation can also be written as
The diagonal canonical form of the state-space representation of this system is given by
If the matrix A involves multiple eigenvalues, then diagonalization is impossible. For example,
if the 3×3 matrix A, where
will yield
y=CPz
7.6 SOLUTION OF TIME-INVARIANT STATE EQUATION
Solution of Homogeneous State Equations.
Before we solve vector-matrix differential equations, let us review the solution of the scalar
differential equation
By analogy with the scalar case, we assume that the solution is in the form of a vector power
series in t, or
If the assumed solution is to be the true solution, for all t. Thus, by equating the coefficients of
like powers of t on both sides of Equation we obtain
In terms of the matrix exponential, the solution of Equation (9–28) can be written as
The inverse Laplace transform of this last equation gives the solution
The foregoing approach to the solution of the homogeneous scalar differential equation can be
extended to the homogeneous state equation:
So
The inverse Laplace transform of X(s) gives the solution x(t). Thus,
And
Note that
for which
rewrite Equation
or
The first term on the right-hand side is the response to the initial condition and the second term
is the response to the input u(t).
Let us now consider the nonhomogeneous state equation described by
or
The solution x(t) is clearly the sum of a term consisting of the transition of the initial state
and a term arising from the input vector.
Solving
The inverse Laplace transform of this last equation can be obtained by use of the convolution
integral as follows:
Solution in Terms of x(t0) Thus far we have assumed the initial time to be zero. If, however,
the initial time is given by t0 instead of 0, then the solution to Equation must be modified to
7.7 CONTROLLABILITY
The system given is completely state controllable if and only if the vectors B, AB, … , An-1 B
are linearly independent, or the n×n matrix
is of rank n.
Complete state controllability is neither necessary nor sufficient for controlling the output of
the system. For this reason, it is desirable to define separately complete output controllability.
Consider the system described by
is of rank m.
7.8 OBSERVABILITY
The system is said to be completely observable if every state x(t0) can be determined from the
observation of y(t) over a finite time interval, t0 ≤ t ≤t1.
The concept of observability is useful in solving the problem of reconstructing unmeasurable
state variables from measurable variables in the minimum possible length of time.
The concept of observability is very important because, in practice, the difficulty encountered
with state feedback control is that some of the state variables are not accessible for direct
measurement, with the result that it becomes necessary to estimate the unmeasurable state
variables in order to construct the control signals.
If the system is completely observable, then, given the output y(t) over a time interval 0 ≤ t ≤t1
x(0) is uniquely determined It can be shown that this requires the rank of the nm×n matrix
to be n.
Pole Placement Control Design Objective: The closed loop poles should lie at which are
their ‘desired locations’. Difference from classical approach: Not only the “dominant poles”,
but “all poles” are forced to lie at specific desired locations.
u = -Kx
This means that the control signal u is determined by an instantaneous state. Such a scheme is
called state feedback. The 1×n matrix K is called the state feedback gain matrix
where x(0) is the initial state caused by external disturbances. The stability and transient
response characteristics are determined by the eigenvalues of matrix A-BK