Control System - Quick Guide
Control System - Quick Guide
A control system is a system, which provides the desired response by controlling the output. The following figure shows the simple block diagram of a control
system.
Here, the control system is represented by a single block. Since, the output is controlled by varying input, the control system got this name. We will vary this
input with some mechanism. In the next section on open loop and closed loop control systems, we will study in detail about the blocks inside the control
system and how to vary this input in order to get the desired response.
Examples − Traffic lights control system, washing machine
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.
Control Systems can be classified as continuous time control systems and discrete time control systems based on the type of the signal used.
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.
Control Systems can be classified as SISO control systems and MIMO control systems based on the number of inputs and outputs present.
SISO (Single Input and Single Output) control systems have one input and one output. Whereas, MIMO (Multiple Inputs and Multiple Outputs) control
systems have more than one input and more than one output.
Control Systems can be classified as open loop control systems and closed loop control systems based on the feedback path.
In open loop control systems, output is not fed-back to the input. So, the control action is independent of the desired output.
The following figure shows the block diagram of the open loop control system.
Here, an input is applied to a controller and it produces an actuating signal or controlling signal. This signal is given as an input to a plant or process which is
to be controlled. So, the plant produces an output, which is controlled. The traffic lights control system which we discussed earlier is an example of an open
loop control system.
In closed loop control systems, output is fed back to the input. So, the control action is dependent on the desired output.
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.
Control action is independent of the desired Control action is dependent of the desired
output. output.
These are also called as non-feedback control These are also called as feedback control
systems. systems.
Inaccurate. Accurate.
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
There are two types of feedback −
Positive 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,
G
T= 1−GH
T=G1−GH (Equation 1)
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, R(s) R(s) and system output. The following figure shows the block diagram of
G
T= 1+GH
T=G1+GH (Equation 2)
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.
The derivation of the above transfer function is present in later chapters.
Effects of Feedback
Let us now understand the effects of feedback.
From Equation 2, we can say that 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.
Sensitivity of the overall gain of negative feedback closed loop control system (T) to the variation in open loop gain (G) is defined as
∂T
Percentage change in T
S GT = T
∂G
= Percentage change in G
SGT=∂TT∂GG=PercentagechangeinTPercentagechangeinG (Equation
G
3)
Where, ∂T is the incremental change in T due to incremental change in G.
We can rewrite Equation 3 as
∂T G
S GT = ∂G T
SGT=∂T∂GGT (Equation 4)
∂T ∂ G (1+GH).1−G(H) 1
∂G
= ∂G
( 1+GH )= = ∂T∂G=∂∂G(G1+GH)=(1+GH).1−G(H)(1+GH)2=1(1+GH)2 (Equation 5)
(1+GH) 2 (1+GH) 2
G
T
= 1 + GH GT=1+GH (Equation 6)
1 1
S GT = (1 + GH) =
(1 + GH) 2 1 + GH
SGT=1(1+GH)2(1+GH)=11+GH
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. Therefore, we have to choose the values of 'GH' in such a way that the system is insensitive or less sensitive to parameter variations.
A system is said to be stable, if its output is under control. Otherwise, it is said to be unstable.
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.
To know the effect of feedback on noise, let us compare the transfer function relations with and without feedback due to noise signal alone.
Consider an open loop control system with noise signal as shown below.
C(s)
N(s)
= G b C(s)N(s)=Gb (Equation 7)
Consider a closed loop control system with noise signal as shown below.
C(s) Gb
N(s)
= 1+G a G bH
C(s)N(s)=Gb1+GaGbH (Equation 8)
In the closed loop control system, the gain due to noise signal is decreased by a factor of (1 + G a G bH) (1+GaGbH) provided that the term
The control systems can be represented with a set of mathematical equations known as mathematical model. These models are useful for analysis and
design of control systems. Analysis of control system means finding the output when we know the input and mathematical model. Design of control system
means finding the mathematical model when we know the input and the output.
The following mathematical models are mostly used.
Differential equation model
Transfer function model
State space model
Let us discuss the first two models in this chapter.
Example
Consider the following electrical system as shown in the following figure. This circuit consists of resistor, inductor and capacitor. All these electrical elements
are connected in series. The input voltage applied to this circuit is vi vi and the voltage across the capacitor is the output voltage vo vo.
di
vi = Ri + L + vo
dt
vi=Ri+Ldidt+vo
dvo
Substitute, the current passing through capacitor i=c dt
i=cdvodt in the above equation.
dvo d 2 vo
⇒ vi = RC + LC 2 + vo
dt dt
⇒vi=RCdvodt+LCd2vodt2+vo
d 2 vo R dvo 1 1
⇒ +( ) +( ) vo = ( ) vi
dt 2 L dt LC LC
⇒d2vodt2+(RL)dvodt+(1LC)vo=(1LC)vi
If x(t) x(t) and y(t) y(t) are the input and output of an LTI system, then the corresponding Laplace transforms are X(s) X(s) and Y (s) Y(s).
Therefore, the transfer function of LTI system is equal to the ratio of Y (s) Y(s) and X(s) X(s).
Y (s)
i. e. , T ransfer F unction =
X(s)
i.e.,TransferFunction=Y(s)X(s)
The transfer function model of an LTI system is shown in the following figure.
Here, we represented an LTI system with a block having transfer function inside it. And this block has an input X(s) X(s) & output Y (s) Y(s).
Example
d 2 vo R dvo 1 1
+( ) +( ) vo = ( ) vi
dt 2 L dt LC LC
d2vodt2+(RL)dvodt+(1LC)vo=(1LC)vi
sR 1 1
s 2 Vo (s) + ( ) Vo (s) + ( ) Vo (s) = ( ) Vi (s)
L LC LC
s2Vo(s)+(sRL)Vo(s)+(1LC)Vo(s)=(1LC)Vi(s)
R 1 1
⇒ {s 2 + ( )s + } Vo (s) = ( ) Vi (s)
L LC LC
⇒{s2+(RL)s+1LC}Vo(s)=(1LC)Vi(s)
1
Vo (s) LC
⇒ =
Vi (s) s 2 + ( RL ) s + 1
LC
⇒Vo(s)Vi(s)=1LCs2+(RL)s+1LC
Where,
The above equation is a transfer function of the second order electrical system. The transfer function model of this system is shown below.
Here, we show a second order electrical system with a block having the transfer function inside it. And this block has an input Vi (s) Vi(s) & an output
Vo (s) Vo(s).
In this chapter, let us discuss the differential equation modeling of mechanical systems. There are two types of mechanical systems based on the type of
motion.
Translational mechanical systems
Rotational mechanical systems
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.
Fm ∝ a
Fm∝a
d2x
⇒ Fm = M a = M
dt 2
⇒Fm=Ma=Md2xdt2
d2x
F = Fm = M
dt 2
F=Fm=Md2xdt2
Where,
F is the applied force
Fm is the opposing force due to mass
M is mass
a is acceleration
x is displacement
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.
F∝ x
F∝x
⇒ F k = Kx
⇒Fk=Kx
F = F k = Kx
F=Fk=Kx
Where,
F is the applied force
Fk is the opposing force due to elasticity of spring
K is spring constant
x is displacement
Dashpot
If a force is applied on dashpot B, then it is opposed by an opposing force due to friction of the dashpot. This opposing force is proportional to the velocity of
the body. Assume mass and elasticity are negligible.
Fb ∝ ν
Fb∝ν
dx
⇒ F b = Bν = B
dt
⇒Fb=Bν=Bdxdt
dx
F = Fb = B
dt
F=Fb=Bdxdt
Where,
Fb is the opposing force due to friction of dashpot
B is the frictional coefficient
v is velocity
x is displacement
Moment of Inertia
In translational mechanical system, mass stores kinetic energy. Similarly, in rotational mechanical system, moment of inertia stores kinetic energy.
If a torque is applied on a body having moment of inertia J, then it is opposed by an opposing torque due to the moment of inertia. This opposing torque is
proportional to angular acceleration of the body. Assume elasticity and friction are negligible.
Tj ∝ α
Tj∝α
d2θ
⇒ Tj = Jα = J
dt 2
⇒Tj=Jα=Jd2θdt2
d2θ
T = Tj = J
dt 2
T=Tj=Jd2θdt2
Where,
T is the applied torque
Tj is the opposing torque due to moment of inertia
J 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.
Tk ∝ θ
Tk∝θ
⇒ Tk = Kθ
⇒Tk=Kθ
T = Tk = Kθ
T=Tk=Kθ
Where,
T is the applied torque
Tk is the opposing torque due to elasticity of torsional spring
K is the torsional spring constant
θ is angular displacement
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.
Tb ∝ ω
Tb∝ω
dθ
⇒ Tb = Bω = B
dt
⇒Tb=Bω=Bdθdt
dθ
T = Tb = B
dt
T=Tb=Bdθdt
Where,
Tb is the opposing torque due to the rotational friction of the dashpot
B is the rotational friction coefficient
ω is the angular velocity
θ is the angular displacement
Two systems are said to be analogous to each other if the following two conditions are satisfied.
The two systems are physically different
Differential equation modelling of these two systems are same
Electrical systems and mechanical systems are two physically different systems. There are two types of electrical analogies of translational mechanical
systems. Those are force voltage analogy and force current analogy.
F = Fm + Fb + Fk
F=Fm+Fb+Fk
2
⇒ F = M ddtx2 + B dx
dt
+ Kx ⇒F=Md2xdt2+Bdxdt+Kx (Equation 1)
Consider the following electrical system as shown in the following figure. This circuit consists of a resistor, an inductor and a capacitor. All these electrical
elements are connected in a series. The input voltage applied to this circuit is V V volts and the current flowing through the circuit is i i Amps.
dq
Substitute, i= dt
i=dqdt in Equation 2.
dq d2q q
V =R +L 2 +
dt dt C
V=Rdqdt+Ld2qdt2+qC
d 2q dq
⇒ V = L dt 2 + R dt + ( 1c ) q ⇒V=Ld2qdt2+Rdqdt+(1c)q (Equation 3)
By comparing Equation 1 and Equation 3, we will get the analogous quantities of the translational mechanical system and electrical system. The following
table shows these analogous quantities.
Force(F) Voltage(V)
Mass(M) Inductance(L)
Spring Constant(K)
Reciprocal of Capacitance ( 1c ) (1c)
Displacement(x) Charge(q)
Velocity(v) Current(i)
Similarly, there is torque voltage analogy for rotational mechanical systems. Let us now discuss about this analogy.
In this analogy, the mathematical equations of rotational mechanical system are compared with mesh equations of the electrical system.
Rotational mechanical system is shown in the following figure.
T = Tj + Tb + Tk
T=Tj+Tb+Tk
2
⇒T =Jd θ
+ B dθ + kθ ⇒T=Jd2θdt2+Bdθdt+kθ (Equation 4)
dt 2 dt
By comparing Equation 4 and Equation 3, we will get the analogous quantities of rotational mechanical system and electrical system. The following table
shows these analogous quantities.
Rotational Mechanical System Electrical System
Torque(T) Voltage(V)
V 1
i= R
+ L
∫ V dt + C dV
dt
i=VR+1L∫Vdt+CdVdt (Equation 5)
dΨ
Substitute, V = dt
V=dΨdt in Equation 5.
1 dΨ 1 d2Ψ
i= + ( )Ψ + C 2
R dt L dt
i=1RdΨdt+(1L)Ψ+Cd2Ψdt2
2
⇒ i = C ddtΨ2 + ( R1 ) dΨ
dt
+ ( L1 ) Ψ ⇒i=Cd2Ψdt2+(1R)dΨdt+(1L)Ψ (Equation 6)
By comparing Equation 1 and Equation 6, we will get the analogous quantities of the translational mechanical system and electrical system. The following
table shows these analogous quantities.
Force(F) Current(i)
Mass(M) Capacitance(C)
Frictional coefficient(B)
Reciprocal of Resistance ( R1 ) (1R)
Spring constant(K)
Reciprocal of Inductance ( L1 ) (1L)
Velocity(v) Voltage(V)
Similarly, there is a torque current analogy for rotational mechanical systems. Let us now discuss this analogy.
Torque Current Analogy
In this analogy, the mathematical equations of the rotational mechanical system are compared with the nodal mesh equations of the electrical system.
By comparing Equation 4 and Equation 6, we will get the analogous quantities of rotational mechanical system and electrical system. The following table
shows these analogous quantities.
Torque(T) Current(i)
In this chapter, we discussed the electrical analogies of the mechanical systems. These analogies are helpful to study and analyze the non-electrical system
like mechanical system from analogous electrical system.
Block diagrams consist of a single block or a combination of blocks. These are used to represent the control systems in pictorial form.
The above 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. Let us now discuss these elements one by one.
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).
Y (s)
Transfer Function, G(s) = X(s)
G(s)=Y(s)X(s)
⇒ Y (s) = G(s)X(s)
⇒Y(s)=G(s)X(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. Let us see
these three operations one by one.
The following figure shows the summing point with two inputs (A, B) and one output (Y). Here, the inputs A and B have a positive sign. So, the summing point
produces the output, Y as sum of A and B.
i.e.,Y = A + B.
The following figure shows the summing point with two inputs (A, B) and one output (Y). Here, the inputs A and B are having opposite signs, i.e., A is having
positive sign and B is having negative sign. So, the summing point produces the output Y as the difference of A and B.
Y = A + (-B) = A - B.
The following figure shows the summing point with three inputs (A, B, C) and one output (Y). Here, 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
Y = A + B + (−C) = A + B − C.
Take-off Point
The take-off point is a point from which the same input signal can be passed through more than one branch. That means with the help of take-off point, we
can apply the same input to one or more blocks, summing points.
In the following figure, the take-off point is used to connect the same input, R(s) to two more blocks.
In the following figure, the take-off point is used to connect the output C(s), as one of the inputs to the summing point.
Block Diagram Representation of Electrical Systems
In this section, let us represent an electrical system with a block diagram. Electrical systems contain mainly three basic elements — resistor, inductor and
capacitor.
Consider a series of RLC circuit as shown in the following figure. Where, Vi(t) and Vo(t) are the input and output voltages. Let i(t) 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. The circuit is as shown in the following figure.
Vi (s) − Vo (s)
I(s) =
R + sL
I(s)=Vi(s)−Vo(s)R+sL
1
⇒ I(s) = { R+sL } {Vi (s) − Vo (s)} ⇒I(s)={1R+sL}{Vi(s)−Vo(s)} (Equation 1)
Let us now draw the block diagrams for these two equations individually. And then combine those block diagrams properly in order to get the overall block
diagram of series of RLC Circuit (s-domain).
1
Equation 1 can be implemented with a block having the transfer function, R+sL
1R+sL. The input and output of this block are
{Vi (s) − Vo (s)} {Vi(s)−Vo(s)} and I(s) I(s). We require a summing point to get {Vi (s) − Vo (s)} {Vi(s)−Vo(s)}. The block diagram of Equation 1 is
The overall block diagram of the series of RLC Circuit (s-domain) is shown in the following figure.
Similarly, you can draw the block diagram of any electrical circuit or system just by following this simple procedure.
Convert the time domain electrical circuit into an s-domain electrical circuit by applying Laplace transform.
Write down the equations for the current passing through all series branch elements and voltage across all shunt branches.
Draw the block diagrams for all the above equations individually.
Combine all these block diagrams properly in order to get the overall block diagram of the electrical circuit (s-domain).
Block diagram algebra is nothing but the algebra involved with the basic elements of the block diagram. This algebra deals with the pictorial representation of
algebraic equations.
Series Connection
Series connection is also called cascade connection. In the following figure, two blocks having transfer functions G 1 (s) G1(s) and G 2 (s) G2(s) are
connected in series.
Y (s) = G 2 (s)Z(s)
Y(s)=G2(s)Z(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) Y(s)=G(s)X(s). Where,
That means we can represent the series connection of two blocks with a single block. The transfer function of this single block is the product of the
transfer functions of those two blocks. The equivalent block diagram is shown below.
Similarly, you can represent series connection of ‘n’ blocks with a single block. The transfer function of this single block is the product of the transfer functions
of all those ‘n’ blocks.
Parallel Connection
The blocks which are connected in parallel will have the same input. In the following figure, two blocks having transfer functions G 1 (s) G1(s) and
G 2 (s) G2(s) are connected in parallel. The outputs of these two blocks are connected to the summing point.
Y(s)=Y1(s)+Y2(s)
⇒Y(s)=G1(s)X(s)+G2(s)X(s)={G1(s)+G2(s)}X(s)
Compare this equation with the standard form of the output equation, Y (s) = G(s)X(s) Y(s)=G(s)X(s).
That means we can represent the parallel connection of two blocks with a single block. The transfer function of this single block is the sum of the transfer
functions of those two blocks. The equivalent block diagram is shown below.
Similarly, you can represent parallel connection of ‘n’ blocks with a single block. The transfer function of this single block is the algebraic sum of the transfer
functions of all those ‘n’ blocks.
Feedback Connection
As we discussed in previous chapters, there are two types of feedback — positive feedback and negative feedback. The following figure shows negative
feedback control system. Here, two blocks having transfer functions G(s) G(s) and H(s) H(s) form a closed loop.
E(s)=X(s)−H(s)Y(s)
Y (s) = E(s)G(s)
Y(s)=E(s)G(s)
Y(s)={X(s)−H(s)Y(s)}G(s)}
Y(s){1+G(s)H(s)}=X(s)G(s)}
Y (s) G(s)
⇒ =
X(s) 1 + G(s)H(s)
⇒Y(s)X(s)=G(s)1+G(s)H(s)
G(s)
Therefore, the negative feedback closed loop transfer function is 1+G(s)H(s)
G(s)1+G(s)H(s)
This means we can represent the negative feedback connection of two blocks with a single block. The transfer function of this single block is the closed loop
transfer function of the negative feedback. The equivalent block diagram is shown below.
Similarly, you can represent the positive feedback connection of two blocks with a single block. The transfer function of this single block is the closed loop
G(s)
transfer function of the positive feedback, i.e., G(s)1−G(s)H(s)
1−G(s)H(s)
Block Diagram Algebra for Summing Points
There are two possibilities of shifting summing points with respect to blocks −
Shifting summing point after the block
Shifting summing point before the block
Let us now see what kind of arrangements need to be done in the above two cases one by one.
Consider the block diagram shown in the following figure. Here, the summing point is present before the block.
Summing point has two inputs R(s) R(s) and X(s) X(s). The output of it is {R(s) + X(s)} {R(s)+X(s)}.
So, the input to the block G(s) G(s) is {R(s) + X(s)} {R(s)+X(s)} and the output of it is –
Y(s)=G(s){R(s)+X(s)}
Now, shift the summing point after the block. This block diagram is shown in the following figure.
The first term ‘ G(s)R(s) ′ ‘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) G(s). It is having the input X(s) X(s) and the output of this block is given as input to summing point instead of
Consider the block diagram shown in the following figure. Here, the summing point is present after the block.
Now, shift the summing point before the block. This block diagram is shown in the following figure.
The first term ‘ G(s)R(s) ′ ‘G(s)R(s)′ is same in both equations. But, there is difference in the second term. In order to get the second term also same, we
1
require one more block
G(s)
1G(s). It is having the input X(s) X(s) and the output of this block is given as input to summing point instead of
Consider the block diagram shown in the following figure. In this case, the take-off point is present before the block.
When you shift the take-off point after the block, the output Y (s) Y(s) will be same. But, there is difference in X(s) X(s) value. So, in order to get the
1
same X(s) X(s) value, we require one more block G(s)
1G(s). It is having the input Y (s) Y(s) and the output is X(s) X(s). This block diagram is
Consider the block diagram shown in the following figure. Here, the take-off point is present after the block.
Here, X(s) = Y (s) = G(s)R(s) X(s)=Y(s)=G(s)R(s)
When you shift the take-off point before the block, the output Y (s) Y(s) will be same. But, there is difference in X(s) X(s) value. So, in order to get
same X(s) X(s) value, we require one more block G(s) G(s). It is having the input R(s) R(s) and the output is X(s) X(s). This block diagram is
The concepts discussed in the previous chapter are helpful for reducing (simplifying) the block diagrams.
Example
Consider the block diagram shown in the following figure. Let us simplify (reduce) this block diagram using the block diagram reduction rules.
Step 1 − Use Rule 1 for blocks G 1 G1 and G 2 G2. Use Rule 2 for blocks G 3 G3 and G 4 G4. The modified block diagram is shown in the following
figure.
Step 2 − Use Rule 3 for blocks G 1 G 2 G1G2 and H 1 H1. Use Rule 4 for shifting take-off point after the block G 5 G5. The modified block diagram is
shown in the following figure.
Step 3 − Use Rule 1 for blocks (G 3 + G 4 ) (G3+G4) and G 5 G5. The modified block diagram is shown in the following figure.
Step 4 − Use Rule 3 for blocks (G 3 + G 4 )G 5 (G3+G4)G5 and H 3 H3. The modified block diagram is shown in the following figure.
Step 5 − Use Rule 1 for blocks connected in series. The modified block diagram is shown in the following figure.
Step 6 − Use Rule 3 for blocks connected in feedback loop. The modified block diagram is shown in the following figure. This is the simplified block diagram.
Y (s)
R(s)
G 1 G 2 G 25 (G 3 + G 4 )
=
(1 + G 1 G 2 H 1 ){1 + (G 3 + G 4 )G 5 H 3 }G 5 − G 1 G 2 G 5 (G 3 + G 4 )H 2
Y(s)R(s)=G1G2G52(G3+G4)(1+G1G2H1){1+(G3+G4)G5H3}G5−G1G2G5(G3+G4)H2
Note − Follow these steps in order to calculate the transfer function of the block diagram having multiple inputs.
Step 1 − Find the transfer function of block diagram by considering one input at a time and make the remaining inputs as zero.
Step 2 − Repeat step 1 for remaining inputs.
Step 3 − Get the overall transfer function by adding all those transfer functions.
The block diagram reduction process takes more time for complicated systems. Because, we have to draw the (partially simplified) block diagram after each
step. So, to overcome this drawback, use signal flow graphs (representation).
In the next two chapters, we will discuss about the concepts related to signal flow graphs, i.e., how to represent signal flow graph from a given block diagram
and calculation of transfer function just by using a gain formula without doing any reduction process.
Signal flow graph is a graphical representation of algebraic equations. In this chapter, let us discuss the basic concepts related signal flow graph and also
learn how to draw signal flow graphs.
Node
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
Let us consider the following signal flow graph to identify these nodes.
The nodes present in this signal flow graph are y1, y2, y3 and y4.
y1 and y4 are the input node and output node respectively.
y2 and y3 are mixed nodes.
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.
y2 = a 12 y1 + a 42 y4
y2=a12y1+a42y4
y3 = a 23 y2 + a 53 y5
y3=a23y2+a53y5
y4 = a 34 y3
y4=a34y3
y5 = a 45 y4 + a 35 y3
y5=a45y4+a35y3
y6 = a 56 y5
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.
To get the overall signal flow graph, draw the signal flow graph for each equation, then combine all these signal flow graphs and then follow the steps given
below −
Step 1 − Signal flow graph for y2 = a 13 y1 + a 42 y4 y2=a13y1+a42y4 is shown in the following figure.
Step 2 − Signal flow graph for y3 = a 23 y2 + a 53 y5 y3=a23y2+a53y5 is shown in the following figure.
Step 3 − Signal flow graph for y4 = a 34 y3 y4=a34y3 is shown in the following figure.
Step 4 − Signal flow graph for y5 = a 45 y4 + a 35 y3 y5=a45y4+a35y3 is shown in the following figure.
Step 5 − Signal flow graph for y6 = a 56 y5 y6=a56y5 is shown in the following figure.
Step 6 − Signal flow graph of overall system is shown in the following figure.
Example
Let us convert the following block diagram into its equivalent signal flow graph.
Represent the input signal R(s) R(s) and output signal C(s) C(s) of block diagram as input node R(s) R(s) and output node C(s) C(s) of signal
flow graph.
Just for reference, the remaining nodes (y1 to y9) are labelled in the block diagram. There are nine nodes other than input and output nodes. That is four
nodes for four summing points, four nodes for four take-off points and one node for the variable between blocks G 1 G1 and G 2 G2.
Let us now discuss the Mason’s Gain Formula. 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.
Mason’s gain formula is
C(s) Σ N Pi Δ i
T= = i=1
R(s) Δ
T=C(s)R(s)=Σi=1NPiΔiΔ
Where,
C(s) is the output node
R(s) is the input node
T is the transfer function or gain between R(s) R(s) and C(s) C(s)
−(sumofgainproductsofallpossiblethreenontouchingloops)+...
Δi is obtained from Δ by removing the loops which are touching the ith forward path.
Consider the following signal flow graph in order to understand the basic terminology involved here.
Path
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.
Examples − y2 → y3 → y4 → y5 y2→y3→y4→y5 and y5 → y3 → y2 y5→y3→y2
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 abcde is the forward path gain of y1 → y2 → y3 → y4 → y5 → y6 y1→y2→y3→y4→y5→y6 and abge is the forward path gain
of y1 → y2 → y3 → y5 → y6 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.
Loop Gain
Examples − bj bj is the loop gain of y2 → y3 → y2 y2→y3→y2 and gh gh is the loop gain of y3 → y5 → y3 y3→y5→y3.
Non-touching Loops
These are the loops, which should not have any common node.
Loop gains are - l 1 = bj l1=bj, l 2 = gh l2=gh, l 3 = cdh l3=cdh, l 4 = di l4=di and l 5 = f l5=f.
Higher number of (more than two) non-touching loops are not present in this signal flow graph.
We know,
−(sumofgainproductsofallpossiblethreenontouchingloops)+...
So, Δ 1 = 1 Δ1=1.
Similarly, Δ 2 = 1 Δ2=1. Since, no loop which is non-touching to the second forward path.
C(s) Σ 2 Pi Δ i
T= = i=1
R(s) Δ
T=C(s)R(s)=Σi=12PiΔiΔ
C(s) P Δ + P2 Δ 2
T= = 1 1
R(s) Δ
T=C(s)R(s)=P1Δ1+P2Δ2Δ
T=C(s)R(s)=(abcde)1+(abge)11−(bj+gh+cdh+di+f)+bjdi+bjf
⇒T=C(s)R(s)=(abcde)+(abge)1−(bj+gh+cdh+di+f)+bjdi+bjf
Therefore, the transfer function is -
T=C(s)R(s)=(abcde)+(abge)1−(bj+gh+cdh+di+f)+bjdi+bjf
We can analyze the response of the control systems in both the time domain and the frequency domain. We will discuss frequency response analysis of
control systems in later chapters. Let us now discuss about the time response analysis of control systems.
Here, both the transient and the steady states are indicated in the figure. The responses corresponding to these states are known as transient and steady
state responses.
Mathematically, we can write the time response c(t) as
c(t)=ctr(t)+css(t)
Where,
ctr(t) is the transient response
css(t) is the steady state response
Transient Response
After applying input to the control system, output takes certain time to reach steady state. So, the output will be in transient state till it goes to a steady state.
Therefore, the response of the control system during the transient state is known as transient response.
The transient response will be zero for large values of ‘t’. Ideally, this value of ‘t’ is infinity and practically, it is five times constant.
Mathematically, we can write it as
limt→∞ctr(t)=0
The part of the time response that remains even after the transient response has zero value for large values of ‘t’ is known as steady state response. This
means, the transient response will be zero even during the steady state.
Example
Let us find the transient and steady state terms of the time response of the control system c(t) = 10 + 5e−t c(t)=10+5e−t
Here, the second term 5e−t 5e−t will be zero as t denotes infinity. So, this is the transient term. And the first term 10 remains even as t approaches
infinity. So, this is the steady state term.
0+
and ∫ 0− δ(t)dt = 1 ∫0−0+δ(t)dt=1
So, the unit impulse signal exists only at ‘t’ is equal to zero. The area of this signal under small interval of time around ‘t’ is equal to zero is one. The value of
unit impulse signal is zero for all other values of ‘t’.
u(t) = 1; t ≥ 0
u(t)=1;t≥0
= 0; t < 0 =0;t<0
So, the unit step signal exists for all positive values of ‘t’ including zero. And its value is one during this interval. The value of the unit step signal is zero for all
negative values of ‘t’.
r(t) = t; t ≥ 0
r(t)=t;t≥0
= 0; t < 0 =0;t<0
We can write unit ramp signal, r(t) r(t) in terms of unit step signal, u(t) u(t) as
r(t) = tu(t)
r(t)=tu(t)
So, the unit ramp signal exists for all positive values of ‘t’ including zero. And its value increases linearly with respect to ‘t’ during this interval. The value of
unit ramp signal is zero for all negative values of ‘t’.
t2
p(t) = ;t ≥ 0
2
p(t)=t22;t≥0
= 0; t < 0 =0;t<0
We can write unit parabolic signal, p(t) p(t) in terms of the unit step signal, u(t) u(t) as,
t2
p(t) = u(t)
2
p(t)=t22u(t)
So, the unit parabolic signal exists for all the positive values of ‘t’ including zero. And its value increases non-linearly with respect to ‘t’ during this interval. The
value of the unit parabolic signal is zero for all the negative values of ‘t’.
In this chapter, let us discuss the time response of the first order system. Consider the following block diagram of the closed loop control system. Here, an
1
open loop transfer function, sT
1sT is connected with a unity negative feedback.
We know that the transfer function of the closed loop control system has unity negative feedback as,
C(s) G(s)
=
R(s) 1 + G(s)
C(s)R(s)=G(s)1+G(s)
1
Substitute, G(s) = sT
G(s)=1sT in the above equation.
1
C(s) 1
= sT 1 =
R(s) 1 + sT sT + 1
C(s)R(s)=1sT1+1sT=1sT+1
The power of s is one in the denominator term. Hence, the above transfer function is of the first order and the system is said to be the first order system.
We can re-write the above equation as
1
C(s) = ( ) R(s)
sT + 1
C(s)=(1sT+1)R(s)
Where,
C(s) is the Laplace transform of the output signal c(t),
R(s) is the Laplace transform of the input signal r(t), and
T is the time constant.
Follow these steps to get the response (output) of the first order system in the time domain.
In the previous chapter, we have seen the standard test signals like impulse, step, ramp and parabolic. Let us now find out the responses of the first order
system for each input, one by one. The name of the response is given as per the name of the input signal. For example, the response of the system for an
impulse input is called as impulse response.
R(s) = 1 R(s)=1
Consider the equation, C(s) = ( sT1+1 ) R(s) C(s)=(1sT+1)R(s)
1 1
C(s) = ( ) (1) =
sT + 1 sT + 1
C(s)=(1sT+1)(1)=1sT+1
Rearrange the above equation in one of the standard forms of Laplace transforms.
1 1 1
C(s) = 1
⇒ C(s) = ( )
T(s+ ) T s+ 1
T T
C(s)=1T( s+1T)⇒C(s)=1T(1s+1T)
1 (− Tt )
c(t) = e u(t)
T
c(t)=1Te(−tT)u(t)
The unit impulse response, c(t) is an exponential decaying signal for positive values of ‘t’ and it is zero for negative values of ‘t’.
1
R(s) =
s
R(s)=1s
1
Substitute, R(s) = s
R(s)=1s in the above equation.
1 1 1
C(s) = ( )( ) =
sT + 1 s s (sT + 1)
C(s)=(1sT+1)(1s)=1s(sT+1)
C(s)=1s(sT+1)=As+BsT+1
1 A (sT + 1) + Bs
⇒ =
s (sT + 1) s (sT + 1)
⇒1s(sT+1)=A(sT+1)+Bss(sT+1)
On both the sides, the denominator term is the same. So, they will get cancelled by each other. Hence, equate the numerator terms.
1 = A (sT + 1) + Bs
1=A(sT+1)+Bs
By equating the constant terms on both the sides, you will get A = 1.
Substitute, A = 1 and equate the coefficient of the s terms on both the sides.
0 = T + B ⇒ B = −T
0=T+B⇒B=−T
1 T 1 T
C(s) = − = −
s sT + 1 s T (s + 1
)
T
C(s)=1s−TsT+1=1s−TT(s+1T)
1 1
⇒ C(s) = −
s s+ 1
T
⇒C(s)=1s−1s+1T
t
−( T )
c(t) = (1 − e ) u(t)
c(t)=(1−e−(tT))u(t)
The unit step response, c(t) has both the transient and the steady state terms.
The transient term in the unit step response is -
t
−( T )
ctr (t) = −e u(t)
ctr(t)=−e−(tT)u(t)
css(t)=u(t)
1
R(s) =
s2
R(s)=1s2
1
Substitute, R(s) = s2
R(s)=1s2 in the above equation.
1 1 1
C(s) = ( )( ) = 2
sT + 1 s 2 s (sT + 1)
C(s)=(1sT+1)(1s2)=1s2(sT+1)
1 A B C
C(s) = = 2 + +
s 2 (sT + 1) s s sT + 1
C(s)=1s2(sT+1)=As2+Bs+CsT+1
1 A(sT + 1) + Bs(sT + 1) + Cs 2
⇒ =
s 2 (sT + 1) s 2 (sT + 1)
⇒1s2(sT+1)=A(sT+1)+Bs(sT+1)+Cs2s2(sT+1)
On both the sides, the denominator term is the same. So, they will get cancelled by each other. Hence, equate the numerator terms.
1 = A(sT + 1) + Bs(sT + 1) + Cs 2
1=A(sT+1)+Bs(sT+1)+Cs2
By equating the constant terms on both the sides, you will get A = 1.
Substitute, A = 1 and equate the coefficient of the s terms on both the sides.
0 = T + B ⇒ B = −T
0=T+B⇒B=−T
Similarly, substitute B = −T and equate the coefficient of s 2 s2 terms on both the sides. You will get C = T 2 C=T2.
Substitute A = 1, B = −T and C = T 2 C=T2 in the partial fraction expansion of C(s) C(s).
1 T T2 1 T T2
C(s) = 2
− + = 2 − +
s s sT + 1 s s T (s + T1 )
C(s)=1s2−Ts+T2sT+1=1s2−Ts+T2T(s+1T)
1 T T
⇒ C(s) = − +
s2 s s + T1
⇒C(s)=1s2−Ts+Ts+1T
−( t )
c(t) = (t − T + T e T ) u(t)
c(t)=(t−T+Te−(tT))u(t)
The unit ramp response, c(t) has both the transient and the steady state terms.
The transient term in the unit ramp response is -
t
−( T )
ctr (t) = T e u(t)
ctr(t)=Te−(tT)u(t)
css(t)=(t−T)u(t)
The unit ramp response, c(t) follows the unit ramp input signal for all positive values of t. But, there is a deviation of T units from the input signal.
t2
So, r(t) = 2
u(t) r(t)=t22u(t)
1
R(s) =
s3
R(s)=1s3
1
Substitute R(s) = s3
R(s)=1s3 in the above equation.
1 1 1
C(s) = ( )( ) = 3
sT + 1 s 3 s (sT + 1)
C(s)=(1sT+1)(1s3)=1s3(sT+1)
1 A B C D
C(s) = = 3 + 2 + +
s 3 (sT + 1) s s s sT + 1
C(s)=1s3(sT+1)=As3+Bs2+Cs+DsT+1
After simplifying, you will get the values of A, B, C and D as 1, −T , T 2 and − T 3 −T,T2and−T3 respectively. Substitute these values in the above partial
1 T T2 T3 1 T T2 T2
C(s) = s3
− s2
+ s
− sT +1
⇒ C(s) = s3
− s2
+ s
− C(s)=1s3−Ts2+T2s−T3sT+1⇒C(s)=1s3−Ts2+T2s−T2s+1T
s+ T1
t2 t
−( )
c(t) = ( − T t + T 2 − T 2 e T ) u(t)
2
c(t)=(t22−Tt+T2−T2e−(tT))u(t)
The unit parabolic response, c(t) has both the transient and the steady state terms.
The transient term in the unit parabolic response is
t
−( T )
C tr (t) = −T 2 e u(t)
Ctr(t)=−T2e−(tT)u(t)
t2
C ss (t) = ( − T t + T 2 ) u(t)
2
Css(t)=(t22−Tt+T2)u(t)
From these responses, we can conclude that the first order control systems are not stable with the ramp and parabolic inputs because these responses go on
increasing even at infinite amount of time. The first order control systems are stable with impulse and step inputs because these responses have bounded
output. But, the impulse response doesn’t have steady state term. So, the step signal is widely used in the time domain for analyzing the control systems from
their responses.
In this chapter, let us discuss the time response of second order system. Consider the following block diagram of closed loop control system. Here, an open
ω2n
loop transfer function, s(s+2δωn )
ωn2s(s+2δωn) is connected with a unity negative feedback.
We know that the transfer function of the closed loop control system having unity negative feedback as
C(s) G(s)
=
R(s) 1 + G(s)
C(s)R(s)=G(s)1+G(s)
ω2n
Substitute, G(s) = s(s+2δωn )
G(s)=ωn2s(s+2δωn) in the above equation.
2
ωn
C(s) ( s(s+2δ ωn )
) ω2n
= =
R(s) ωn
1 + ( s(s+2δ
2
) s2 + 2δωn s + ω2n
ω ) n
C(s)R(s)=(ωn2s(s+2δωn))1+(ωn2s(s+2δωn))=ωn2s2+2δωns+ωn2
The power of ‘s’ is two in the denominator term. Hence, the above transfer function is of the second order and the system is said to be the second order
system.
The characteristic equation is -
s 2 + 2δωn s + ω2n = 0
s2+2δωns+ωn2=0
−−−−−−−−−−−
−2ωδn ± √ (2δωn ) 2 − 4ω2n −−−−−
−2(δωn ± ωn √ δ 2 − 1 )
s= =
2 2
s=−2ωδn±(2δωn)2−4ωn22=−2(δωn±ωnδ2−1)2
−−−−−
⇒ s = −δωn ± ωn √ δ 2 − 1
⇒s=−δωn±ωnδ2−1
ω2n
C(s) = ( ) R(s)
s2 + 2δωn s + ω2n
C(s)=(ωn2s2+2δωns+ωn2)R(s)
Where,
C(s) is the Laplace transform of the output signal, c(t)
R(s) is the Laplace transform of the input signal, r(t)
ωn is the natural frequency
δ is the damping ratio.
Follow these steps to get the response (output) of the second order system in the time domain.
ω2n
Consider the equation, C(s) = ( ) R(s) C(s)=(ωn2s2+2δωns+ωn2)R(s)
s 2 +2δωn s+ω2n
We know the transfer function of the second order closed loop control system is,
C(s) ω2n
= 2
R(s) s + 2δωn s + ω2n
C(s)R(s)=ωn2s2+2δωns+ωn2
Case 1: δ = 0
C(s) ω2n
=
R(s) s + ω2n
2
C(s)R(s)=ωn2s2+ωn2
ω2n
⇒ C(s) = ( ) R(s)
s 2 + ω2n
⇒C(s)=(ωn2s2+ωn2)R(s)
1
Substitute, R(s) = s
R(s)=1s in the above equation.
ω2n 1 ω2n
C(s) = ( ) ( ) =
s 2 + ω2n s s(s 2 + ω2n )
C(s)=(ωn2s2+ωn2)(1s)=ωn2s(s2+ωn2)
c(t)=(1−cos(ωnt))u(t)
So, the unit step response of the second order system when /delta = 0 /delta=0 will be a continuous time signal with constant amplitude and frequency.
Case 2: δ = 1
C(s) ω2n
= 2
R(s) s + 2ωn s + ω2n
C(s)R(s)=ωn2s2+2ωns+ωn2
ω2n
⇒ C(s) = ( ) R(s)
(s + ωn ) 2
⇒C(s)=(ωn2(s+ωn)2)R(s)
1
Substitute, R(s) = s
R(s)=1s in the above equation.
ω2n 1 ω2n
C(s) = ( 2
)( ) =
(s + ωn ) s s(s + ωn ) 2
C(s)=(ωn2(s+ωn)2)(1s)=ωn2s(s+ωn)2
Do partial fractions of C(s) C(s).
ω2n A B C
C(s) = = + +
s(s + ωn ) 2 s s + ωn (s + ωn ) 2
C(s)=ωn2s(s+ωn)2=As+Bs+ωn+C(s+ωn)2
After simplifying, you will get the values of A, B and C as 1, −1 and − ωn 1,−1and−ωn respectively. Substitute these values in the above partial fraction
1 1 ωn
C(s) = − −
s s + ωn (s + ωn ) 2
C(s)=1s−1s+ωn−ωn(s+ωn)2
c(t)=(1−e−ωnt−ωnte−ωnt)u(t)
So, the unit step response of the second order system will try to reach the step input in steady state.
s2+2δωns+ωn2={s2+2(s)(δωn)+(δωn)2}+ωn2−(δωn)2
= (s + δωn ) 2 + ω2n (1 − δ 2 )
=(s+δωn)2+ωn2(1−δ2)
C(s) ω2n
=
R(s) (s + δωn ) + ω2n (1 − δ 2 )
2
C(s)R(s)=ωn2(s+δωn)2+ωn2(1−δ2)
ω2n
⇒ C(s) = ( ) R(s)
(s + δωn )2 + ω2n (1 − δ 2 )
⇒C(s)=(ωn2(s+δωn)2+ωn2(1−δ2))R(s)
1
Substitute, R(s) = s
R(s)=1s in the above equation.
ω2n 1
C(s) = ( )( )
(s + δωn )2 + ω2n (1 − δ 2 ) s
ω2n
=
s ((s + δωn ) 2 + ω2n (1 − δ 2 ))
C(s)=(ωn2(s+δωn)2+ωn2(1−δ2))(1s)=ωn2s((s+δωn)2+ωn2(1−δ2))
ω2n A Bs + C
C(s) = = +
s ((s + δωn )2 + ω2n (1 − δ 2 )) s (s + δωn ) 2 + ω2n (1 − δ 2 )
C(s)=ωn2s((s+δωn)2+ωn2(1−δ2))=As+Bs+C(s+δωn)2+ωn2(1−δ2)
After simplifying, you will get the values of A, B and C as 1, −1 and − 2δωn 1,−1and−2δωn respectively. Substitute these values in the above partial
1 s + 2δωn
C(s) = −
s (s + δωn ) 2 + ω2n (1 − δ 2 )
C(s)=1s−s+2δωn(s+δωn)2+ωn2(1−δ2)
1 s + δωn δωn
C(s) = − −
s (s + δωn ) 2 + ω2n (1 − δ 2 ) (s + δωn ) 2 + ω2n (1 − δ 2 )
C(s)=1s−s+δωn(s+δωn)2+ωn2(1−δ2)−δωn(s+δωn)2+ωn2(1−δ2)
1 (s+δωn ) δ ωn √ 1−δ 2
C(s) = s
− 2 2 2
− 2
( ) C(s)=1s−(s+δωn)(s+δωn)2+(ωn1−δ2)2−δ1−δ2(ωn1−δ2(s+δωn)2+(ωn1−δ2)2)
(s+δωn ) +(ωn √ 1−δ ) √ 1−δ (s+δωn ) 2 +(ωn √ 1−δ 2 ) 2
−−−−−
Substitute, ωn √ 1 − δ 2 ωn1−δ2 as ωd ωd in the above equation.
1 (s + δωn ) δ ωd
C(s) = − − −−−−− ( )
s (s + δωn ) 2 + ω2d √ 1 − δ (s + δωn ) 2 + ω2d
2
C(s)=1s−(s+δωn)(s+δωn)2+ωd2−δ1−δ2(ωd(s+δωn)2+ωd2)
δ
c(t) = (1 − e−δωn t cos(ωd t) − −−−−− e
−δωn t
sin(ωd t)) u(t)
√ 1 − δ2
c(t)=(1−e−δωntcos(ωdt)−δ1−δ2e−δωntsin(ωdt))u(t)
e−δωn t −−−−−2
c(t) = (1 − −−−−− ((√ 1 − δ ) cos(ωd t) + δ sin(ωd t))) u(t)
√ 1 − δ2
c(t)=(1−e−δωnt1−δ2((1−δ2)cos(ωdt)+δsin(ωdt)))u(t)
−−−−−
If √ 1 − δ 2 = sin(θ) 1−δ2=sin(θ), then ‘δ’ will be cos(θ). Substitute these values in the above equation.
e−δωn t
c(t) = (1 − − (sin(θ) cos(ωd t) + cos(θ) sin(ωd t))) u(t)
√ −1−−−
− δ2
c(t)=(1−e−δωnt1−δ2(sin(θ)cos(ωdt)+cos(θ)sin(ωdt)))u(t)
e−δωn t
⇒ c(t) = (1 − ( −−−−− ) sin(ωd t + θ)) u(t)
√ 1 − δ2
⇒c(t)=(1−(e−δωnt1−δ2)sin(ωdt+θ))u(t)
So, the unit step response of the second order system is having damped oscillations (decreasing amplitude) when ‘δ’ lies between zero and one.
Case 4: δ > 1
s2+2δωns+ωn2={s2+2(s)(δωn)+(δωn)2}+ωn2−(δωn)2
= (s + δωn ) 2 − ω2n (δ 2 − 1)
=(s+δωn)2−ωn2(δ2−1)
C(s)R(s)=ωn2(s+δωn)2−ωn2(δ2−1)
ω2n
⇒ C(s) = ( ) R(s)
(s + δωn ) 2 − ω2n (δ 2 − 1)
⇒C(s)=(ωn2(s+δωn)2−ωn2(δ2−1))R(s)
1
Substitute, R(s) = s
R(s)=1s in the above equation.
ω2n ω2n
C(s) = ( ) ( 1s ) = C(s)=(ωn2(s+δωn)2−(ωnδ2−1)2)(1s)=ωn2s(s+δωn+ωnδ2−1)(s+δωn−ωnδ2−1)
(s+δωn ) 2 −(ωn √ δ 2 −1 ) 2 s(s+δωn +ωn √ δ 2 −1 )(s+δωn −ωn √ δ 2 −1 )
ω2n
C(s) = −−−− − −−−−−
s(s + δωn + ωn √ δ 2 − 1 )(s + δωn − ωn √ δ 2 − 1 )
C(s)=ωn2s(s+δωn+ωnδ2−1)(s+δωn−ωnδ2−1)
A B C
= + −−−−− + −−−−−
s √ 2
s + δωn + ωn δ − 1 s + δωn − ωn √ δ 2 − 1
=As+Bs+δωn+ωnδ2−1+Cs+δωn−ωnδ2−1
1
After simplifying, you will get the values of A, B and C as 1, 12(δ+δ2−1)(δ2−1) and
2(δ+√ δ 2 −1 )(√ δ 2 −1 )
−1
−12(δ−δ2−1)(δ2−1) respectively. Substitute these values in above partial fraction expansion of C(s) C(s).
2(δ−√ δ 2 −1 )(√ δ 2 −1 )
1 1 1
C(s) = + ( − )
s 2(δ + √ δ − 1 )(√ δ − 1 ) s + δωn + ωn √ −δ−−−
−−−−
2 − −−−−
2 − 2 −1
1 1
−( −−−−− −−−−− )( −−−−− )
2(δ − √ δ − 1 )(√ δ − 1 )
2 2 s + δωn − ωn √ δ 2 − 1
C(s)=1s+12(δ+δ2−1)(δ2−1)(1s+δωn+ωnδ2−1)−(12(δ−δ2−1)(δ2−1))(1s+δωn−ωnδ2−1)
c(t) c(t)=(1+(12(δ+δ2−1)(δ2−1))e−(δωn+ωnδ2−1)t−(12(δ−δ2−1)(δ2−1))e−(δωn−ωnδ2−1)t)u(t)
2
= (1 + ( 1
) e−(δωn +ωn √ δ −1 )t
2(δ+√ δ 2 −1 )(√ δ 2 −1 )
δ 2 −1 )t
−( 1
) e−(δωn −ωn √ ) u(t)
2(δ−√ δ 2 −1 )(√ δ 2 −1 )
Since it is over damped, the unit step response of the second order system when δ > 1 will never reach step input in the steady state.
1
Follow the procedure involved while deriving step response by considering the value of R(s) R(s) as 1 instead of s
1s.
δ=0
ωn sin(ωn t) ωnsin(ωnt)
δ=1
ω2n te−ωn t ωn2te−ωnt
0<δ<1
ωn e−δωn t
( ) sin(ωd t) (ωne−δωnt1−δ2)sin(ωdt)
√ 1−δ 2
δ>1
ωn δ 2 −1 )t
( ) (e−(δωn −ωn √ (ωn2δ2−1)(e−(δωn−ωnδ2−1)t−e−(δωn+ωnδ2−1)t)
2√ δ 2 −1
− e−(δωn +ωn √ δ 2 −1 )t )
In this chapter, let us discuss the time domain specifications of the second order system. The step response of the second order system for the underdamped
case is shown in the following figure.
All the time domain specifications are represented in this figure. The response up to the settling time is known as transient response and the response after
the settling time is known as steady state response.
Delay Time
It is the time required for the response to reach half of its final value from the zero instant. It is denoted by t d td.
Consider the step response of the second order system for t ≥ 0, when ‘δ’ lies between zero and one.
e−δωn t
c(t) = 1 − ( −−−−− ) sin(ωd t + θ)
√ 1 − δ2
c(t)=1−(e−δωnt1−δ2)sin(ωdt+θ)
Therefore, at t = t d t=td, the value of the step response will be 0.5. Substitute, these values in the above equation.
e−δωn t d
c(t d ) = 0.5 = 1 − ( −−−−− ) sin(ωd t d + θ)
√ 1 − δ2
c(td)=0.5=1−(e−δωntd1−δ2)sin(ωdtd+θ)
e−δωn t d
⇒ ( −−−−− ) sin(ωd t d + θ) = 0.5
√ 1 − δ2
⇒(e−δωntd1−δ2)sin(ωdtd+θ)=0.5
1 + 0.7δ
td =
ωn
td=1+0.7δωn
Rise Time
It is the time required for the response to rise from 0% to 100% of its final value. This is applicable for the under-damped systems. For the over-damped
systems, consider the duration from 10% to 90% of the final value. Rise time is denoted by tr.
At t = t1 = 0, c(t) = 0.
We know that the final value of the step response is one.
Therefore, at t = t 2 t=t2, the value of step response is one. Substitute, these values in the following equation.
e−δωn t
c(t) = 1 − ( −−−−− ) sin(ωd t + θ)
√ 1 − δ2
c(t)=1−(e−δωnt1−δ2)sin(ωdt+θ)
e−δωn t 2
c(t 2 ) = 1 = 1 − ( −−−−− ) sin(ωd t 2 + θ)
√ 1 − δ2
c(t2)=1=1−(e−δωnt21−δ2)sin(ωdt2+θ)
e−δωn t 2
⇒ ( −−−−− ) sin(ωd t 2 + θ) = 0
√ 1 − δ2
⇒(e−δωnt21−δ2)sin(ωdt2+θ)=0
⇒ sin(ωd t 2 + θ) = 0
⇒sin(ωdt2+θ)=0
⇒ ωd t 2 + θ = π
⇒ωdt2+θ=π
π−θ
⇒ t2 =
ωd
⇒t2=π−θωd
tr = t2 − t1
tr=t2−t1
π−θ
∴ tr =
ωd
∴tr=π−θωd
From above equation, we can conclude that the rise time t r tr and the damped frequency ωd ωd are inversely proportional to each other.
Peak Time
It is the time required for the response to reach the peak value for the first time. It is denoted by t p tp. At t = t p t=tp, the first derivate of the response is
zero.
We know the step response of second order system for under-damped case is
e−δωn t
c(t) = 1 − ( −−−−− ) sin(ωd t + θ)
√ 1 − δ2
c(t)=1−(e−δωnt1−δ2)sin(ωdt+θ)
dc(t)dt=−(e−δωnt1−δ2)ωdcos(ωdt+θ)−(−δωne−δωnt1−δ2)sin(ωdt+θ)
dc(t)
Substitute, t = t p t=tp and dt
= 0 dc(t)dt=0 in the above equation.
e−δωn t p
0 = − ( −−−−− ) [ωd cos(ωd t p + θ) − δωn sin(ωd t p + θ)]
√ 1 − δ2
0=−(e−δωntp1−δ2)[ωdcos(ωdtp+θ)−δωnsin(ωdtp+θ)]
−−−−−
⇒ ωn √ 1 − δ 2 cos(ωd t p + θ) − δωn sin(ωd t p + θ) = 0
⇒ωn1−δ2cos(ωdtp+θ)−δωnsin(ωdtp+θ)=0
−−−−−
⇒ √ 1 − δ 2 cos(ωd t p + θ) − δ sin(ωd t p + θ) = 0
⇒1−δ2cos(ωdtp+θ)−δsin(ωdtp+θ)=0
⇒sin(θ)cos(ωdtp+θ)−cos(θ)sin(ωdtp+θ)=0
⇒ sin(θ − ωd t p − θ) = 0
⇒sin(θ−ωdtp−θ)=0
⇒sin(−ωdtp)=0⇒−sin(ωdtp)=0⇒sin(ωdtp)=0
⇒ ωd t p = π
⇒ωdtp=π
π
⇒ tp =
ωd
⇒tp=πωd
From the above equation, we can conclude that the peak time t p tp and the damped frequency ωd ωd are inversely proportional to each other.
Peak Overshoot
Peak overshoot Mp is defined as the deviation of the response at peak time from the final value of response. It is also called the maximum overshoot.
Mathematically, we can write it as
M p = c(t p ) − c(∞)
Mp=c(tp)−c(∞)
Where,
c(tp) is the peak value of the response.
c(∞) is the final (steady state) value of the response.
e−δωn t p
c(t p ) = 1 − ( −−−−− ) sin(ωd t p + θ)
√ 1 − δ2
c(tp)=1−(e−δωntp1−δ2)sin(ωdtp+θ)
π
Substitute, tp = ωd
tp=πωd in the right hand side of the above equation.
π
⎛ e−δωn ( ωd ) ⎞ π
c(t P ) = 1 − −−−−− sin(ωd ( ) + θ)
⎝ √ 1−δ ⎠ 2 ωd
c(tP)=1−(e−δωn(πωd)1−δ2)sin(ωd(πωd)+θ)
⎛ −( δπ ) ⎞
2
⎜ e 1−δ
√
⎟
⇒ c(t p ) = 1 − ⎜ −−−−− ⎟ (− sin(θ))
⎜ √ 1 − δ2 ⎟
⎝ ⎠
⇒c(tp)=1−(e−(δπ1−δ2)1−δ2)(−sin(θ))
We know that
−−−−−
sin(θ) = √ 1 − δ 2
sin(θ)=1−δ2
δπ
−( )
√ 1−δ 2
c(t p ) = 1 + e
c(tp)=1+e−(δπ1−δ2)
Substitute the values of c(t p ) c(tp) and c(∞) c(∞) in the peak overshoot equation.
δπ
−( )
√ 1−δ 2
Mp = 1 + e −1
Mp=1+e−(δπ1−δ2)−1
δπ
−( )
√ 1−δ 2
⇒ Mp = e
⇒Mp=e−(δπ1−δ2)
Mp
%M p = × 100%
c(∞)
%Mp=Mpc(∞)×100%
By substituting the values of M p Mp and c(∞) c(∞) in above formula, we will get the Percentage of the peak overshoot %M p %Mp as
⎛ −( δπ ) ⎞
%M p = ⎜ e √ 1−δ2 ⎟ × 100%
⎝ ⎠
%Mp=(e−(δπ1−δ2))×100%
From the above equation, we can conclude that the percentage of peak overshoot %M p %Mp will decrease if the damping ratio δ δ increases.
Settling time
It is the time required for the response to reach the steady state and stay within the specified tolerance bands around the final value. In general, the tolerance
bands are 2% and 5%. The settling time is denoted by t s ts.
3
ts = = 3τ
δωn
ts=3δωn=3τ
4
ts = = 4τ
δωn
ts=4δωn=4τ
1
Where, τ τ is the time constant and is equal to δωn
1δωn.
Both the settling time t s ts and the time constant τ τ are inversely proportional to the damping ratio δ δ.
Both the settling time t s ts and the time constant τ τ are independent of the system gain. That means even the system gain changes, the settling
Example
4
Let us now find the time domain specifications of a control system having the closed loop transfer function 4s2+2s+4 when the unit step signal is
s 2 +2s+4
ω2n
s 2 + 2δωn s + ω2n
ωn2s2+2δωns+ωn2
By equating these two transfer functions, we will get the un-damped natural frequency ωn ωn as 2 rad/sec and the damping ratio δ δ as 0.5.
−−−−−
ωd = ωn √ 1 − δ 2
ωd=ωn1−δ2
⇒ωd=21−(0.5)2
⇒ ωd = 1.732 rad/sec
⇒ωd=1.732rad/sec
θ = cos−1 δ
θ=cos−1δ
π
⇒ θ = cos−1 (0.5) = rad
3
⇒θ=cos−1(0.5)=π3rad
Substitute the above necessary values in the formula of each time domain specification and simplify in order to get the values of time domain specifications
for given transfer function.
The following table shows the formulae of time domain specifications, substitution of necessary values and the final values.
% Peak
%M p %Mp=(e−(δπ1−δ2))×100% %M p %Mp=(e−(0.5π1−(0.5)2))×100% % M p %Mp=16.32%
overshoot
⎛ −( δπ ) ⎞ ⎛ −( 0.5π ) ⎞
2 2
= ⎜ e √ 1−δ ⎟ = ⎜ e √ 1−(0.5) ⎟
⎝ ⎠ ⎝ ⎠
× 100% × 100%
The deviation of the output of control system from desired response during steady state is known as steady state error. It is represented as ess ess. We
can find steady state error using the final value theorem as follows.
ess=limt→∞e(t)=lims→0sE(s)
Where,
E(s) is the Laplace transform of the error signal, e(t) e(t)
Let us discuss how to find steady state errors for unity feedback and non-unity feedback control systems one by one.
Where,
R(s) is the Laplace transform of the reference Input signal r(t) r(t)
We know the transfer function of the unity negative feedback closed loop control system as
C(s) G(s)
=
R(s) 1 + G(s)
C(s)R(s)=G(s)1+G(s)
R(s)G(s)
⇒ C(s) =
1 + G(s)
⇒C(s)=R(s)G(s)1+G(s)
E(s)=R(s)−C(s)
R(s)G(s)
E(s) = R(s) −
1 + G(s)
E(s)=R(s)−R(s)G(s)1+G(s)
⇒E(s)=R(s)+R(s)G(s)−R(s)G(s)1+G(s)
R(s)
⇒ E(s) =
1 + G(s)
⇒E(s)=R(s)1+G(s)
sR(s)
ess = lim
s→0 1 + G(s)
ess=lims→0sR(s)1+G(s)
The following table shows the steady state errors and the error constants for standard input signals like unit step, unit ramp & unit parabolic signals.
Input signal Steady state error Error constant
ess ess
unit parabolic 1
Ka
1Ka K a = lim s→0 s 2 G(s) Ka=lims→0s2G(s)
signal
Where, K p Kp, K v Kv and K a Ka are position error constant, velocity error constant and acceleration error constant respectively.
Note − If any of the above input signals has the amplitude other than unity, then multiply corresponding steady state error with that amplitude.
Note − We can’t define the steady state error for the unit impulse signal because, it exists only at origin. So, we can’t compare the impulse response with the
unit impulse input as t denotes infinity.
Example
t2
Let us find the steady state error for an input signal r(t) = (5 + 2t + 2
) u(t) r(t)=(5+2t+t22)u(t) of unity negative feedback control system with
5(s+4)
G(s) = s 2 (s+1)(s+20)
G(s)=5(s+4)s2(s+1)(s+20)
The given input signal is a combination of three signals step, ramp and parabolic. The following table shows the error constants and steady state error values
for these three signals.
r 3 (t) = t2
u(t) r3(t)=t22u(t) K a = lim s→0 s 2 G(s) Ka=lims→0s2G(s)=1 ess3 = 1
ka
= 1 ess3=1ka=1
2
=1
We will get the overall steady state error, by adding the above three steady state errors.
⇒ ess = 0 + 0 + 1 = 1
⇒ess=0+0+1=1
Therefore, we got the steady state error ess ess as 1 for this example.
Simplify the above block diagram by keeping the unity negative feedback as it is. The following is the simplified block diagram.
This block diagram resembles the block diagram of the unity negative feedback closed loop control system. Here, the single block is having the transfer
G(s)
function
1+G(s)H(s)−G(s)
G(s)1+G(s)H(s)−G(s) instead of G(s) G(s). You can now calculate the steady state errors by using steady state error formula
Stability is an important concept. In this chapter, let us discuss the stability of system and types of systems based on stability.
What is Stability?
A system is said to be stable, if its output is under control. Otherwise, it is said to be unstable. A stable system produces a bounded output for a given
bounded input.
The following figure shows the response of a stable system.
This is the response of first order control system for unit step input. This response has the values between 0 and 1. So, it is bounded output. We know that
the unit step signal has the value of one for all positive values of t including zero. So, it is bounded input. Therefore, the first order control system is stable
since both the input and the output are bounded.
If the system is stable for all the range of system component values, then it is known as the absolutely stable system. The open loop control system is
absolutely stable if all the poles of the open loop transfer function present in left half of ‘s’ plane. Similarly, the closed loop control system is absolutely stable
if all the poles of the closed loop transfer function present in the left half of the ‘s’ plane.
If the system is stable for a certain range of system component values, then it is known as conditionally stable system.
If the system is stable by producing an output signal with constant amplitude and constant frequency of oscillations for bounded input, then it is known
as marginally stable system. The open loop control system is marginally stable if any two poles of the open loop transfer function is present on the
imaginary axis. Similarly, the closed loop control system is marginally stable if any two poles of the closed loop transfer function is present on the imaginary
axis.
In this chapter, let us discuss the stability analysis in the ‘s’ domain using the RouthHurwitz stability criterion. In this criterion, we require the characteristic
equation to find the stability of the closed loop control systems.
The necessary condition is that the coefficients of the characteristic polynomial should be positive. This implies that all the roots of the characteristic equation
should have negative real parts.
Consider the characteristic equation of the order ‘n’ is -
a0sn+a1sn−1+a2sn−2+...+an−1s1+ans0=0
Note that, there should not be any term missing in the nth order characteristic equation. This means that the nth order characteristic equation should not have
any coefficient that is of zero value.
The sufficient condition is that all the elements of the first column of the Routh array should have the same sign. This means that all the elements of the first
column of the Routh array should be either positive or negative.
Fill the remaining rows of the Routh array with the elements as mentioned in the table below. Continue this process till you get the first column
element of row s 0 s0 is a n an. Here, a n an is the coefficient of s 0 s0 in the characteristic polynomial.
Note − If any row elements of the Routh table have some common factor, then you can divide the row elements with that factor for the simplification will be
easy.
The following table shows the Routh array of the nth order characteristic polynomial.
a0sn+a1sn−1+a2sn−2+...+an−1s1+ans0
s n sn a 0 a0 a 2 a2 a 4 a4 a 6 a6 ... ...
a 1 a1 a 3 a3 a 5 a5 a 7 a7 ... ...
s n−1 sn−1
⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮
s 1 s1 ⋮ ⋮ ⋮ ⋮
s 0 s0 a n an
Example
Let us find the stability of the control system having characteristic equation,
s 4 + 3s 3 + 3s 2 + 2s + 1 = 0
s4+3s3+3s2+2s+1=0
All the coefficients of the characteristic polynomial, s 4 + 3s 3 + 3s 2 + 2s + 1 s4+3s3+3s2+2s+1 are positive. So, the control system satisfies the
necessary condition.
Step 2 − Form the Routh array for the given characteristic polynomial.
s 4 s4 1 1 3 3 1 1
s 3 s3 3 3 2 2
s 2 s2 (3×3)−(2×1)
(3×3)−(2×1)3=73
(3×1)−(0×1)
(3×1)−(0×1)3=33=1
3 3
= 73 = 33 = 1
s 1 s1 ( 7 ×2)−(1×3)
3
7
(73×2)−(1×3)73=57
3
5
= 7
s 0 s0 1 1
If any row of the Routh array contains only the first element as zero and at least one of the remaining elements have non-zero value, then replace the first
element with a small positive integer, ϵ ϵ. And then continue the process of completing the Routh table. Now, find the number of sign changes in the first
Example
Let us find the stability of the control system having characteristic equation,
s 4 + 2s 3 + s 2 + 2s + 1 = 0
s4+2s3+s2+2s+1=0
All the coefficients of the characteristic polynomial, s 4 + 2s 3 + s 2 + 2s + 1 s4+2s3+s2+2s+1 are positive. So, the control system satisfied the necessary
condition.
Step 2 − Form the Routh array for the given characteristic polynomial.
s 4 s4 1 1 1 1 1 1
21 21
s 3 s3
s 2 s2 (1×1)−(1×1)
= 0 (1×1)−(1×1)1=0
(1×1)−(0×1)
= 1 (1×1)−(0×1)1=1
1 1
s 1 s1
s 0 s0
The row s 3 s3 elements have 2 as the common factor. So, all these elements are divided by 2.
Special case (i) − Only the first element of row s 2 s2 is zero. So, replace it by ϵ ϵ and continue the process of completing the Routh table.
1 1 1
s 4 s4
1 1
s 3 s3
ϵ ϵ 1
s 2 s2
s 1 s1 (ϵ×1)−(1×1)
= ϵ−1
(ϵ×1)−(1×1)ϵ=ϵ−1ϵ
ϵ ϵ
1
s 0 s0
1 1 1
s 4 s4
1 1
s 3 s3
0 1
s 2 s2
-∞
s 1 s1
1
s 0 s0
There are two sign changes in the first column of Routh table. Hence, the control system is unstable.
All the Elements of any row of the Routh array are zero
s 5 + 3s 4 + s 3 + 3s 2 + s + 3 = 0
s5+3s4+s3+3s2+s+3=0
1 1 1
s 5 s5
31 31 31
s 4 s4
s 3 s3 (1×1)−(1×1)
= 0 (1×1)−(1×1)1=0
(1×1)−(1×1)
= 0 (1×1)−(1×1)1=0
1 1
s 2 s2
s 1 s1
s 0 s0
The row s 4 s4 elements have the common factor of 3. So, all these elements are divided by 3.
Special case (ii) − All the elements of row s 3 s3 are zero. So, write the auxiliary equation, A(s) of the row s 4 s4.
A(s) = s 4 + s 2 + 1
A(s)=s4+s2+1
dA(s)
= 4s 3 + 2s
ds
dA(s)ds=4s3+2s
1 1 1
s 4 s4
42 21
s 3 s3
s 2 s2 (2×1)−(1×1)
= 0.5 (2×1)−(1×1)2=0.5
(2×1)−(0×1)
= 1 (2×1)−(0×1)2=1
2 2
s 1 s1 (0.5×1)−(1×2)
= −1.5
(0.5×1)−(1×2)0.5=−1.50.5=−3
0.5 0.5
= −3
1
s 0 s0
In the root locus diagram, we can observe the path of the closed loop poles. Hence, we can identify the nature of the control system. In this technique, we will
use an open loop transfer function to know the stability of the closed loop control system.
1 + G(s)H(s) = 0
1+G(s)H(s)=0
N (s)
G(s)H(s) = K
D(s)
G(s)H(s)=KN(s)D(s)
Where,
K represents the multiplying factor
N(s) represents the numerator term having (factored) nth order polynomial of ‘s’.
D(s) represents the denominator term having (factored) mth order polynomial of ‘s’.
N (s)
1+k =0
D(s)
1+kN(s)D(s)=0
⇒ D(s) + KN (s) = 0
⇒D(s)+KN(s)=0
Case 1 − K = 0
That means, the closed loop poles are equal to open loop poles when K is zero.
Case 2 − K = ∞
Re-write the above characteristic equation as
1 N (s) 1 N (s)
K( + )=0⇒ + =0
K D(s) K D(s)
K(1K+N(s)D(s))=0⇒1K+N(s)D(s)=0
1 N (s) N (s)
+ =0⇒ = 0 ⇒ N (s) = 0
∞ D(s) D(s)
1∞+N(s)D(s)=0⇒N(s)D(s)=0⇒N(s)=0
If K=∞ K=∞, then N (s) = 0 N(s)=0. It means the closed loop poles are equal to the open loop zeros when K is infinity.
From above two cases, we can conclude that the root locus branches start at open loop poles and end at open loop zeros.
The points on the root locus branches satisfy the angle condition. So, the angle condition is used to know whether the point exist on root locus branch or not.
We can find the value of K for the points on the root locus branches by using magnitude condition. So, we can use the magnitude condition for the points, and
this satisfies the angle condition.
Characteristic equation of closed loop control system is
1 + G(s)H(s) = 0
1+G(s)H(s)=0
⇒ G(s)H(s) = −1 + j0
⇒G(s)H(s)=−1+j0
0
∠G(s)H(s) = tan −1 ( ) = (2n + 1)π
−1
∠G(s)H(s)=tan−1(0−1)=(2n+1)π
The angle condition is the point at which the angle of the open loop transfer function is an odd multiple of 1800.
−−−−−−−−−
|G(s)H(s)| = √ (−1) 2 + 02 = 1
|G(s)H(s)|=(−1)2+02=1
The magnitude condition is that the point (which satisfied the angle condition) at which the magnitude of the open loop transfer function is one.
The root locus is a graphical representation in s-domain and it is symmetrical about the real axis. Because the open loop poles and zeros exist in the s-
domain having the values either as real or as complex conjugate pairs. In this chapter, let us discuss how to construct (draw) the root locus.
Rules for Construction of Root Locus
Follow these rules for constructing a root locus.
Rule 1 − Locate the open loop poles and zeros in the ‘s’ plane.
Rule 2 − Find the number of root locus branches.
We know that the root locus branches start at the open loop poles and end at open loop zeros. So, the number of root locus branches N is equal to the
number of finite open loop poles P or the number of finite open loop zeros Z, whichever is greater.
Mathematically, we can write the number of root locus branches N as
N =P N=P if P ≥ Z P≥Z
Rule 3 − Identify and draw the real axis root locus branches.
If the angle of the open loop transfer function at a point is an odd multiple of 1800, then that point is on the root locus. If odd number of the open loop poles
and zeros exist to the left side of a point on the real axis, then that point is on the root locus branch. Therefore, the branch of points which satisfies this
condition is the real axis of the root locus branch.
Rule 4 − Find the centroid and the angle of asymptotes.
If P = Z P=Z, then all the root locus branches start at finite open loop poles and end at finite open loop zeros.
If P > Z P>Z , then Z Z number of root locus branches start at finite open loop poles and end at finite open loop zeros and
P − Z P−Z number of root locus branches start at finite open loop poles and end at infinite open loop zeros.
If P < Z P<Z , then P number of root locus branches start at finite open loop poles and end at finite open loop zeros and Z − P Z−P number of
root locus branches start at infinite open loop poles and end at finite open loop zeros.
So, some of the root locus branches approach infinity, when P ≠ Z P≠Z. Asymptotes give the direction of these root locus branches. The intersection point
∑ Real part of finite open loop poles −∑ Real part of finite open loop zeros
α= P−Z
α=∑Realpartoffiniteopenlooppoles−∑RealpartoffiniteopenloopzerosP−Z
(2q + 1)1800
θ=
P −Z
θ=(2q+1)1800P−Z
Where,
q = 0, 1, 2, . . . . , (P − Z) − 1
q=0,1,2,....,(P−Z)−1
Rule 5 − Find the intersection points of root locus branches with an imaginary axis.
We can calculate the point at which the root locus branch intersects the imaginary axis and the value of K at that point by using the Routh array method and
special case (ii).
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.
Rule 6 − Find Break-away and Break-in points.
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.
Follow these steps to find break-away and break-in points.
The values of s s for which the K K value is positive are the break points.
ϕ d = 1800 − ϕ
ϕd=1800−ϕ
ϕ a = 1800 + ϕ
ϕa=1800+ϕ
Where,
ϕ = ∑ ϕP − ∑ ϕZ
ϕ=∑ϕP−∑ϕZ
Example
K
Let us now draw the root locus of the control system having open loop transfer function, G(s)H(s) = s(s+1)(s+5)
G(s)H(s)=Ks(s+1)(s+5)
Step 1 − The given open loop transfer function has three poles at s = 0, s = −1 s=0,s=−1 and s = −5 s=−5. It doesn’t have any zero. Therefore, the
number of root locus branches is equal to the number of poles of the open loop transfer function.
N =P =3
N=P=3
The three poles are located are shown in the above figure. The line segment between s = −1 s=−1 and s = 0 s=0 is one branch of root locus on real
axis. And the other branch of the root locus on the real axis is the line segment to the left of s = −5 s=−5.
Step 2 − We will get the values of the centroid and the angle of asymptotes by using the given formulae.
Centroid α = −2 α=−2
The angle of asymptotes are θ = 600 , 1800 θ=600,1800 and 3000 3000.
The centroid and three asymptotes are shown in the following figure.
Step 3 − Since two asymptotes have the angles of 600 600 and 3000 3000, two root locus branches intersect the imaginary axis. By using the Routh
– –
array method and special case(ii), the root locus branches intersects the imaginary axis at j√ 5 j5 and −j√ 5 −j5.
There will be one break-away point on the real axis root locus branch between the poles s = −1 s=−1 and s = 0 s=0. By following the procedure given
The root locus diagram for the given control system is shown in the following figure.
In this way, you can draw the root locus diagram of any control system and observe the movement of poles of the closed loop transfer function.
From the root locus diagrams, we can know the range of K values for different types of damping.
The root locus can be shifted in ‘s’ plane by adding the open loop poles and the open loop zeros.
If we include a pole in the open loop transfer function, then some of root locus branches will move towards right half of ‘s’ plane. Because of this, the
damping ratio δ δ decreases. Which implies, damped frequency ωd ωd increases and the time domain specifications like delay time t d td, rise
time t r tr and peak time t p tp decrease. But, it effects the system stability.
If we include a zero in the open loop transfer function, then some of root locus branches will move towards left half of ‘s’ plane. So, it will increase the
control system stability. In this case, the damping ratio δ δ increases. Which implies, damped frequency ωd ωd decreases and the time domain
specifications like delay time t d td, rise time t r tr and peak time t p tp increase.
So, based on the requirement, we can include (add) the open loop poles or zeros to the transfer function.
Frequency Response Analysis
We have already discussed time response analysis of the control systems and the time domain specifications of the second order control systems. In this
chapter, let us discuss the frequency response analysis of the control systems and the frequency domain specifications of the second order control systems.
r(t) = A sin(ω0 t)
r(t)=Asin(ω0t)
G(s) = G(jω)
G(s)=G(jω)
We can represent G(jω) G(jω) in terms of magnitude and phase as shown below.
G(jω) = |G(jω)|∠G(jω)
G(jω)=|G(jω)|∠G(jω)
G(jω0)=|G(jω0)|∠G(jω0)
c(t)=A|G(jω0)|sin(ω0t+∠G(jω0))
The amplitude of the output sinusoidal signal is obtained by multiplying the amplitude of the input sinusoidal signal and the magnitude of
G(jω) G(jω) at ω = ω0 ω=ω0.
The phase of the output sinusoidal signal is obtained by adding the phase of the input sinusoidal signal and the phase of G(jω) G(jω) at
ω = ω0 ω=ω0.
Where,
A is the amplitude of the input sinusoidal signal.
ω0 is angular frequency of the input sinusoidal signal.
ω0 = 2πf 0
ω0=2πf0
Here, f 0 f0 is the frequency of the input sinusoidal signal. Similarly, you can follow the same procedure for closed loop control system.
C(s) ω2n
T (s) = = 2
R(s) s + 2δωn s + ω2n
T(s)=C(s)R(s)=ωn2s2+2δωns+ωn2
ω2n
T (jω) =
(jω) 2 + 2δωn (jω) + ω2n
T(jω)=ωn2(jω)2+2δωn(jω)+ωn2
ω2n ω2n
⇒ T (jω) = =
−ω2 + 2jδωωn + ω2n ω2n (1 − ω2
+
2jδω
)
ω2n ωn
⇒T(jω)=ωn2−ω2+2jδωωn+ωn2=ωn2ωn2(1−ω2ωn2+2jδωωn)
1
⇒ T (jω) =
ω2
(1 − ω2n
) + j ( 2δω
ωn
)
⇒T(jω)=1(1−ω2ωn2)+j(2δωωn)
ω
Let, ωn
= u ωωn=u Substitute this value in the above equation.
1
T (jω) =
(1 − u 2 ) + j(2δu)
T(jω)=1(1−u2)+j(2δu)
1
M = |T (jω)| = −−−−−−−−−−−−−−
√ (1 − u 2 ) 2 + (2δu) 2
M=|T(jω)|=1(1−u2)2+(2δu)2
2δu
∠T (jω) = −tan −1 ( )
1 − u2
∠T(jω)=−tan−1(2δu1−u2)
Resonant Frequency
It is the frequency at which the magnitude of the frequency response has peak value for the first time. It is denoted by ωr ωr. At ω = ωr ω=ωr, the first
dM 1 −3
= − [(1 − u 2 ) 2 + (2δu) 2 ] 2
[2(1 − u 2 )(−2u) + 2(2δu)(2δ)]
du 2
dMdu=−12[(1−u2)2+(2δu)2]−32[2(1−u2)(−2u)+2(2δu)(2δ)]
dM 1 −3
⇒ = − [(1 − u 2 ) 2 + (2δu) 2 ] 2
[4u(u 2 − 1 + 2δ 2 )]
du 2
⇒dMdu=−12[(1−u2)2+(2δu)2]−32[4u(u2−1+2δ2)]
dM
Substitute, u = u r u=ur and du
== 0 dMdu==0 in the above equation.
1 −3
0 = − [(1 − u 2r ) 2 + (2δu r ) 2 ] 2
[4u r (u 2r − 1 + 2δ 2 )]
2
0=−12[(1−ur2)2+(2δur)2]−32[4ur(ur2−1+2δ2)]
⇒ 4u r (u 2r − 1 + 2δ 2 ) = 0
⇒4ur(ur2−1+2δ2)=0
⇒ u 2r − 1 + 2δ 2 = 0
⇒ur2−1+2δ2=0
⇒ u 2r = 1 − 2δ 2
⇒ur2=1−2δ2
−−−−−−
⇒ u r = √ 1 − 2δ 2
⇒ur=1−2δ2
ωr
Substitute, ur = ωn
ur=ωrωn in the above equation.
ωr −−−−−−
= √ 1 − 2δ 2
ωn
ωrωn=1−2δ2
−−−−−−
⇒ ωr = ωn √ 1 − 2δ 2
⇒ωr=ωn1−2δ2
Resonant Peak
It is the peak (maximum) value of the magnitude of T (jω) T(jω). It is denoted by M r Mr.
1
Mr = −−−−−−−−−−−−−−−
√ (1 − u 2r ) 2 + (2δu r ) 2
Mr=1(1−ur2)2+(2δur)2
−−−−−−
Substitute, u r = √ 1 − 2δ 2 ur=1−2δ2 and 1 − u 2r = 2δ 2 1−ur2=2δ2 in the above equation.
1
Mr = −−−−−−−−−−−−−−−−−−−−−−− −
√ (2δ 2 ) 2 + (2δ√ 1 − 2δ 2 ) 2
Mr=1(2δ2)2+(2δ1−2δ2)2
1
⇒ Mr = −−−−−
2δ√ 1 − δ 2
⇒Mr=12δ1−δ2
Resonant peak in frequency response corresponds to the peak overshoot in the time domain transient response for certain values of damping ratio δ δ. So,
the resonant peak and peak overshoot are correlated to each other.
Bandwidth
It is the range of frequencies over which, the magnitude of T (jω) T(jω) drops to 70.7% from its zero frequency value.
Substitute, u = 0 u=0 in M.
1
M= −−−−−−−−−−−−−−−− = 1
√ (1 − 02 ) 2 + (2δ(0)) 2
M=1(1−02)2+(2δ(0))2=1
At 3-dB frequency, the magnitude of T (jω) T(jω) will be 70.7% of magnitude of T (jω) T(jω) at ω = 0 ω=0.
1
i.e., at ω = ωB , M = 0.707(1) = √2
ω=ωB,M=0.707(1)=12
1 1
⇒M = = −−−−−−−−−−−−−−−
√–
2 √ (1 − u 2 ) 2 + (2δu b) 2
b
⇒M=12=1(1−ub2)2+(2δub)2
⇒ 2 = (1 − u 2b ) 2 + (2δ) 2 u 2b
⇒2=(1−ub2)2+(2δ)2ub2
Let, u 2b = x ub2=x
⇒ 2 = (1 − x) 2 + (2δ) 2 x
⇒2=(1−x)2+(2δ)2x
⇒ x 2 + (4δ 2 − 2)x − 1 = 0
⇒x2+(4δ2−2)x−1=0
−−−−−−−−−−−
−(4δ 2 − 2) ± √ (4δ 2 − 2) 2 + 4
⇒x=
2
⇒x=−(4δ2−2)±(4δ2−2)2+42
−−−−−−−−−−−
x = 1 − 2δ 2 + √ (2δ 2 − 1) 2 + 1
x=1−2δ2+(2δ2−1)2+1
−−−−−−−−−−−−
⇒ x = 1 − 2δ 2 + √ (2 − 4δ 2 + 4δ 4 )
⇒x=1−2δ2+(2−4δ2+4δ4)
ω2b
Substitute, x = u 2b = ω2n
x=ub2=ωb2ωn2
ω2b −−−−−−−−−−−−
= 1 − 2δ 2 + √ (2 − 4δ 2 + 4δ 4 )
ω2n
ωb2ωn2=1−2δ2+(2−4δ2+4δ4)
−−−−−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−
⇒ ωb = ωn √ 1 − 2δ 2 + √ (2 − 4δ 2 + 4δ 4 )
⇒ωb=ωn1−2δ2+(2−4δ2+4δ4)
Bandwidth ωb ωb in the frequency response is inversely proportional to the rise time t r tr in the time domain transient response.
M = 20 log |G(jω)H(jω)|
M=20log|G(jω)H(jω)|
ϕ = ∠G(jω)H(jω)
ϕ=∠G(jω)H(jω)
‘n’ zeros
(jω) n (jω)n 20 n 20n 20 n log ω 20nlogω 90 n 90n
at origin
Second
ω2n (1 − ω2
ωn2(1−ω2ωn2+2jδωωn)
40 40 40 log ωn 40logωnforω<ωn 0 for ω 0forω<ωn
order ω2n
for ω < ωn < ωn
derivative 2jδω
term
+ ωn
)
20 log 20log(2δωn2)forω=ωn 90 for ω 90forω=ωn
(2δω2n ) for = ωn
ω = ωn
180 for ω 180forω>ωn
40 log ω for 40logωforω>ωn > ωn
ω > ωn
The magnitude plot is a horizontal line, which is independent of frequency. The 0 dB line itself is the magnitude plot when the value of K is one. For the
positive values of K, the horizontal line will shift 20 log K 20logK dB above the 0 dB line. For the negative values of K, the horizontal line will shift
20 log K 20logK dB below the 0 dB line. The Zero degrees line itself is the phase plot for all the positive values of K.
continues on the same slope. It is touching 0 dB line at ω = 1 ω=1 rad/sec. In this case, the phase plot is 900 line.
−−−−−−−
Magnitude M = 20 log√ 1 + ω2 τ 2 M=20log1+ω2τ2 dB
1
For ω< τ
ω<1τ , the magnitude is 0 dB and phase angle is 0 degrees.
1
For ω> τ
ω>1τ , the magnitude is 20 log ωτ 20logωτ dB and phase angle is 900.
1
phase plot is having phase angle of 0 degrees up to ω= τ
ω=1τ rad/sec and from here, it is having phase angle of 900. This Bode plot is called
In this chapter, let us understand in detail how to construct (draw) Bode plots.
Example
Consider the open loop transfer function of a closed loop control system
10s
G(s)H(s) =
(s + 2)(s + 5)
G(s)H(s)=10s(s+2)(s+5)
Let us convert this open loop transfer function into standard time constant form.
10s
G(s)H(s) =
2 ( s2 + 1) 5 ( s5 + 1)
G(s)H(s)=10s2(s2+1)5(s5+1)
s
⇒ G(s)H(s) = s
(1 + 2
) (1 + s5 )
⇒G(s)H(s)=s(1+s2)(1+s5)
So, we can draw the Bode plot in semi log sheet using the rules mentioned earlier.
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 ωpc. The unit of phase
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 ωgc. The unit
If the phase cross over frequency ωpc ωpc is greater than the gain cross over frequency ωgc ωgc, then the control system is stable.
If the phase cross over frequency ωpc ωpc is equal to the gain cross over frequency ωgc ωgc, then the control system is marginally stable.
If the phase cross over frequency ωpc ωpc is less than the gain cross over frequency ωgc ωgc, then the control system is unstable.
Gain Margin
Gain margin GM GM is equal to negative of the magnitude in dB at phase cross over frequency.
1
GM = 20 log( ) = 20logM pc
M pc
GM=20log(1Mpc)=20logMpc
Where, M pc Mpc is the magnitude at phase cross over frequency. The unit of gain margin (GM) is dB.
Phase Margin
P M = 1800 + ϕ gc
PM=1800+ϕgc
Where, ϕ gc ϕgc is the phase angle at gain cross over frequency. The unit of phase margin is degrees.
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 GM and the phase margin P M PM are positive, then the control system is stable.
If both the gain margin GM GM and the phase margin P M PM are equal to zero, then the control system is marginally stable.
If the gain margin GM GM and / or the phase margin P M PM are/is negative, then the control system is unstable.
In the previous chapters, we discussed the Bode plots. There, we have two separate plots for both magnitude and phase as the function of frequency. Let us
now discuss about polar plots. Polar plot is a plot which can be drawn between magnitude and phase. Here, the magnitudes are represented by normal
values only.
G(jω)H(jω) = |G(jω)H(jω)|∠G(jω)H(jω)
G(jω)H(jω)=|G(jω)H(jω)|∠G(jω)H(jω)
The Polar plot is a plot, which can be drawn between the magnitude and the phase angle of G(jω)H(jω) G(jω)H(jω) by varying ω ω from zero to ∞.
Write the expressions for magnitude and the phase of G(jω)H(jω) G(jω)H(jω).
Find the starting magnitude and the phase of G(jω)H(jω) G(jω)H(jω) by substituting ω = 0 ω=0. So, the polar plot starts with this magnitude
Find the ending magnitude and the phase of G(jω)H(jω) G(jω)H(jω) by substituting ω=∞ ω=∞. So, the polar plot ends with this magnitude
Check whether the polar plot intersects the real axis, by making the imaginary term of G(jω)H(jω) G(jω)H(jω) equal to zero and find the value(s)
of ω ω.
Check whether the polar plot intersects the imaginary axis, by making real term of G(jω)H(jω) G(jω)H(jω) equal to zero and find the value(s) of
ω ω.
For drawing polar plot more clearly, find the magnitude and phase of G(jω)H(jω) G(jω)H(jω) by considering the other value(s) of ω ω.
Example
Consider the open loop transfer function of a closed loop control system.
5
G(s)H(s) =
s(s + 1)(s + 2)
G(s)H(s)=5s(s+1)(s+2)
Let us draw the polar plot for this control system using the above rules.
G(jω)H(jω)=5jω(jω+1)(jω+2)
5
M= −−−− − −−−−−
ω(√ ω + 1 )(√ ω2 + 4 )
2
M=5ω(ω2+1)(ω2+4)
ω
ϕ = −900 − tan −1 ω − tan −1
2
ϕ=−900−tan−1ω−tan−1ω2
Step 2 − The following table shows the magnitude and the phase angle of the open loop transfer function at ω = 0 ω=0 rad/sec and
0 ∞ -90 or 270
∞ 0 -270 or 90
So, the polar plot starts at (∞,−900) and ends at (0,−2700). The first and the second terms within the brackets indicate the magnitude and phase angle
respectively.
Step 3 − Based on the starting and the ending polar co-ordinates, this polar plot will intersect the negative real axis. The phase angle corresponding to the
negative real axis is −1800 or 1800. So, by equating the phase angle of the open loop transfer function to either −1800 or 1800, we will get the ω ω value as
√ –2 2.
–
By substituting ω = √ 2 ω=2 in the magnitude of the open loop transfer function, we will get M = 0.83 M=0.83. Therefore, the polar plot intersects the
–
negative real axis when ω = √ 2 ω=2 and the polar coordinate is (0.83,−1800).
So, we can draw the polar plot with the above information on the polar graph sheet.
Nyquist plots are the continuation of polar plots for finding the stability of the closed loop control systems by varying ω from −∞ to ∞. That means, Nyquist
plots are used to draw the complete frequency response of the open loop transfer function.
N =P −Z
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) G(s)H(s) plane will be opposite to
If the enclosed ‘s’ plane closed path contains only zeros, then the direction of the encirclement in the G(s)H(s) G(s)H(s) plane will be in the same
i.e., P = 0 ⇒ N = −Z P=0⇒N=−Z
We know that the closed loop control system is stable if there is no closed loop pole in the right half of the ‘s’ plane.
Nyquist stability criterion states the number of encirclements about the critical point (1+j0) must be equal to the poles of characteristic equation, which is
nothing but the poles of the open loop transfer function in the right half of the ‘s’ plane. The shift in origin to (1+j0) gives the characteristic equation plane.
Locate the poles and zeros of open loop transfer function G(s)H(s) 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.
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 ωpc.
The frequency at which the Nyquist plot is having the magnitude of one is known as the gain cross over frequency. It is denoted by ωgc ωgc.
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 ωpc is greater than the gain cross over frequency ωgc ωgc, then the control system is stable.
If the phase cross over frequency ωpc ωpc is equal to the gain cross over frequency ωgc ωgc, then the control system is marginally stable.
If phase cross over frequency ωpc ωpc is less than gain cross over frequency ωgc ωgc, then the control system is unstable.
Gain Margin
The gain margin GM GM is equal to the reciprocal of the magnitude of the Nyquist plot at the phase cross over frequency.
1
GM =
M pc
GM=1Mpc
Where, M pc Mpc is the magnitude in normal scale at the phase cross over frequency.
Phase Margin
The phase margin P M PM is equal to the sum of 1800 and the phase angle at the gain cross over frequency.
P M = 1800 + ϕ gc
PM=1800+ϕgc
Where, ϕ gc ϕ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 GM is greater than one and the phase margin P M PM is positive, then the control system is stable.
If the gain margin GM GM is equal to one and the phase margin P M PM is zero degrees, then the control system is marginally stable.
If the gain margin GM GM is less than one and / or the phase margin P M PM is negative, then the control system is unstable.
There are three types of compensators — lag, lead and lag-lead compensators. These are most commonly used.
Lag Compensator
The Lag Compensator is an electrical network which produces a sinusoidal output having the phase lag when a sinusoidal input is applied. The lag
compensator circuit in the ‘s’ domain is shown in the following figure.
Here, the capacitor is in series with the resistor R 2 R2 and the output is measured across this combination.
1
Vo (s) 1 s+ τ
= ( )
Vi (s) α s+ 1
ατ
Vo(s)Vi(s)=1α(s+1τs+1ατ)
Where,
τ = R 2C
τ=R2C
R1 + R2
α=
R2
α=R1+R2R2
the pole will be nearer to origin in the pole-zero configuration of the lag compensator.
1
Vo (jω) 1 jω + τ
= ( )
Vi (jω) α jω + 1
ατ
Vo(jω)Vi(jω)=1α(jω+1τjω+1ατ)
We know that, the phase of the output sinusoidal signal is equal to the sum of the phase angles of input sinusoidal signal and the transfer function.
So, in order to produce the phase lag at the output of this compensator, the phase angle of the transfer function should be negative. This will happen when
α > 1 α>1.
Lead Compensator
The lead compensator is an electrical network which produces a sinusoidal output having phase lead when a sinusoidal input is applied. The lead
compensator circuit in the ‘s’ domain is shown in the following figure.
Here, the capacitor is parallel to the resistor R 1 R1 and the output is measured across resistor $R_2.
Vo (s) sτ + 1
= β( )
Vi (s) βsτ + 1
Vo(s)Vi(s)=β(sτ+1βsτ+1)
Where,
τ = R 1C
τ=R1C
R2
β=
R1 + R2
β=R2R1+R2
From the transfer function, we can conclude that the lead compensator has pole at s = − β1 s=−1β and zero at s = − βτ1 s=−1βτ.
Vo (jω) jωτ + 1
= β( )
Vi (jω) βjωτ + 1
Vo(jω)Vi(jω)=β(jωτ+1βjωτ+1)
Phase angle ϕ = tan −1 ωτ − tan −1 βωτ ϕ=tan−1ωτ−tan−1βωτ
We know that, the phase of the output sinusoidal signal is equal to the sum of the phase angles of input sinusoidal signal and the transfer function.
So, in order to produce the phase lead at the output of this compensator, the phase angle of the transfer function should be positive. This will happen when
0<β<1 0<β<1. Therefore, zero will be nearer to origin in pole-zero configuration of the lead compensator.
Lag-Lead Compensator
Lag-Lead compensator is an electrical network which produces phase lag at one frequency region and phase lead at other frequency region. It is a
combination of both the lag and the lead compensators. The lag-lead compensator circuit in the ‘s’ domain is shown in the following figure.
This circuit looks like both the compensators are cascaded. So, the transfer function of this circuit will be the product of transfer functions of the lead and the
lag compensators.
1
Vo (s) sτ1 + 1 1 s + τ 2
= β( ) ( )
Vi (s) βsτ1 + 1 α s + 1
ατ 2
Vo(s)Vi(s)=β(sτ1+1βsτ1+1)1α(s+1τ2s+1ατ2)
We know αβ = 1 αβ=1.
⇒Vo(s)Vi(s)=(s+1τ1s+1βτ1)(s+1τ2s+1ατ2)
Where,
τ1 = R 1 C 1
τ1=R1C1
τ2 = R 2 C 2
τ2=R2C2
The various types of controllers are used to improve the performance of control systems. In this chapter, we will discuss the basic controllers such as the
proportional, the derivative and the integral controllers.
Proportional Controller
The proportional controller produces an output, which is proportional to error signal.
u(t) ∝ e(t)
u(t)∝e(t)
⇒ u(t) = K P e(t)
⇒u(t)=KPe(t)
U (s) = K P E(s)
U(s)=KPE(s)
U (s)
= KP
E(s)
U(s)E(s)=KP
Where,
U(s) is the Laplace transform of the actuating signal u(t)
E(s) is the Laplace transform of the error signal e(t)
KP is the proportionality constant
The block diagram of the unity negative feedback closed loop control system along with the proportional controller is shown in the following figure.
The proportional controller is used to change the transient response as per the requirement.
Derivative Controller
The derivative controller produces an output, which is derivative of the error signal.
de(t)
u(t) = K D
dt
u(t)=KDde(t)dt
U (s) = K D sE(s)
U(s)=KDsE(s)
U (s)
= KD s
E(s)
U(s)E(s)=KDs
The block diagram of the unity negative feedback closed loop control system along with the derivative controller is shown in the following figure.
The derivative controller is used to make the unstable control system into a stable one.
Integral Controller
The integral controller produces an output, which is integral of the error signal.
u(t) = K I ∫ e(t)dt
u(t)=KI∫e(t)dt
K I E(s)
U (s) =
s
U(s)=KIE(s)s
U (s) K
= I
E(s) s
U(s)E(s)=KIs
KI
Therefore, the transfer function of the integral controller is s
KIs.
The block diagram of the unity negative feedback closed loop control system along with the integral controller is shown in the following figure.
de(t)
u(t) = K P e(t) + K D
dt
u(t)=KPe(t)+KDde(t)dt
U (s) = (K P + K D s)E(s)
U(s)=(KP+KDs)E(s)
U (s)
= KP + KD s
E(s)
U(s)E(s)=KP+KDs
The block diagram of the unity negative feedback closed loop control system along with the proportional derivative controller is shown in the following figure.
The proportional derivative controller is used to improve the stability of control system without affecting the steady state error.
u(t)=KPe(t)+KI∫e(t)dt
KI
U (s) = (K P + ) E(s)
s
U(s)=(KP+KIs)E(s)
U (s) KI
= KP +
E(s) s
U(s)E(s)=KP+KIs
KI
Therefore, the transfer function of proportional integral controller is KP + s
KP+KIs.
The block diagram of the unity negative feedback closed loop control system along with the proportional integral controller is shown in the following figure.
The proportional integral controller is used to decrease the steady state error without affecting the stability of the control system.
de(t)
u(t) = K P e(t) + K I ∫ e(t)dt + K D
dt
u(t)=KPe(t)+KI∫e(t)dt+KDde(t)dt
U(s)=(KP+KIs+KDs)E(s)
U (s) KI
= KP + + KD s
E(s) s
U(s)E(s)=KP+KIs+KDs
KI
Therefore, the transfer function of the proportional integral derivative controller is KP + s
+ KD s KP+KIs+KDs.
The block diagram of the unity negative feedback closed loop control system along with the proportional integral derivative controller is shown in the following
figure.
The proportional integral derivative controller is used to improve the stability of the control system and to decrease steady state error.
The state space model of Linear Time-Invariant (LTI) system can be represented as,
Ẋ = AX + BU
X˙=AX+BU
Y = CX + DU
Y=CX+DU
The first and the second equations are known as state equation and output equation respectively.
Where,
X and Ẋ X˙ 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).
State Variable
The number of the state variables required is equal to the number of the storage elements present in the system.
Examples − current flowing through inductor, voltage across capacitor
State Vector
There are two storage elements (inductor and capacitor) in this circuit. So, the number of the state variables is equal to two and these state variables are the
current flowing through the inductor, i(t) i(t) and the voltage across capacitor, vc (t) vc(t).
From the circuit, the output voltage, v0 (t) v0(t) is equal to the voltage across capacitor, vc (t) vc(t).
v0 (t) = vc (t)
v0(t)=vc(t)
di(t)
vi (t) = Ri(t) + L + vc (t)
dt
vi(t)=Ri(t)+Ldi(t)dt+vc(t)
1
vc (t) = ∫ i(t)dt
C
vc(t)=1C∫i(t)dt
i(t)
State vector, X=[ ] X=[i(t)vc(t)]
vc (t)
di(t)
⎡ dt
⎤
Differential state vector, Ẋ = dvc (t)
X˙=[di(t)dtdvc(t)dt]
⎣ ⎦
dt
We can arrange the differential equations and output equation into the standard form of state space model as,
di(t)
⎡ dt
⎤ − RL − L1 i(t) 1
Ẋ = dvc (t)
=[ 1
][ ] + [ L ] [ vi (t) ]
⎣ ⎦ 0 vc (t) 0
dt C
X˙=[di(t)dtdvc(t)dt]=[−RL−1L1C0][i(t)vc(t)]+[1L0][vi(t)]
i(t)
Y = [0 1][ ]
vc (t)
Y=[01][i(t)vc(t)]
Where,
− RL − L1 1
A=[ ], B = [ L ], C = [0
1
1 ] and D = [ 0 ]
C
0 0
A=[−RL−1L1C0],B=[1L0],C=[01]andD=[0]
Y (s) b0
= n n−1
U (s) s + a n−1 s +. . . +a 1 s + a 0
Y(s)U(s)=b0sn+an−1sn−1+...+a1s+a0
(sn+an−1sn−1+...+a0)Y(s)=b0U(s)
Let
y(t) = x 1
y(t)=x1
dy(t)
= x 2 = ẋ 1
dt
dy(t)dt=x2=x˙1
d 2 y(t)
= x 3 = ẋ 2
dt 2
d2y(t)dt2=x3=x˙2
.
.
.
.
.
.
d n−1 y(t)
= x n = ẋ n−1
dt n−1
dn−1y(t)dtn−1=xn=x˙n−1
d n y(t)
= ẋ n
dt n
dny(t)dtn=x˙n
and u(t) = u u(t)=u
Then,
ẋ n + a n−1 x n +. . . +a 1 x 2 + a 0 x 1 = b0 u
x˙n+an−1xn+...+a1x2+a0x1=b0u
From the above equation, we can write the following state equation.
ẋ n = −a 0 x 1 − a 1 x 2 −. . . −a n−1 x n + b0 u
x˙n=−a0x1−a1x2−...−an−1xn+b0u
y(t) = y = x 1
y(t)=y=x1
⎡ ẋ 1 ⎤
⎢ ẋ 2 ⎥
⎢ ⎥
Ẋ = ⎢⎢ ⎥
⋮ ⎥⎥ X˙=[x˙1x˙2⋮x˙n−1x˙n]
⎢
⎢ ⎥
⎢ ẋ n−1 ⎥
⎣ ẋ ⎦
n
⎡ 0 1 0 … 0 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ 0 0 1 … 0 0 ⎥ ⎢ x2 ⎥ ⎢ 0 ⎥
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
= ⎢⎢ ⋮ ⋮ ⋮ … ⋮ ⋮
⎥
⎥
⎢
⎢
⎥ ⎢ ⎥
⋮ ⎥⎥ + ⎢⎢ ⋮ ⎥⎥ [ u ]
⎢ ⎥ ⎢
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢ 0 0 0 … 0 1 ⎥ ⎢ x n−1 ⎥ ⎢ 0 ⎥
⎣ −a −a 1 −a 2 … −a n−2 −a n−1 ⎦ ⎣ x n ⎦ ⎣ b0 ⎦
0
=[010…00001…00⋮⋮⋮…⋮⋮000…01−a0−a1−a2…−an−2−an−1][x1x2⋮xn−1xn]+[00⋮0b0][u]
⎡ x1 ⎤
⎢ x2 ⎥
⎢ ⎥
Y = [1 ⎢ ⎥
0 … 0 0]⎢ ⋮ ⎥⎥
⎢
⎢ ⎥
⎢ x n−1 ⎥
⎣ x ⎦n
Y=[10…00][x1x2⋮xn−1xn]
Example
Find the state space model for the system having transfer function.
Y (s) 1
= 2
U (s) s +s+1
Y(s)U(s)=1s2+s+1
(s2+s+1)Y(s)=U(s)
Let
y(t) = x 1
y(t)=x1
dy(t)
= x 2 = ẋ 1
dt
dy(t)dt=x2=x˙1
ẋ 2 = −x 1 − x 2 + u
x˙2=−x1−x2+u
y(t) = y = x 1
y(t)=y=x1
ẋ 1 0 1 x1 0
Ẋ = [ ]=[ ] [ ] + [ ] [u]
ẋ 2 −1 −1 x 2 1
X˙=[x˙1x˙2]=[01−1−1][x1x2]+[01][u]
x1
Y = [1 0][ ]
x2
Y=[10][x1x2]
Y(s)U(s)=bnsn+bn−1sn−1+...+b1s+b0sn+an−1sn−1+...+a1s+a0
Y (s) 1
⇒ =( n ) (bn s n + bn−1 s n−1 +. . . +b1 s
U (s) s + a n−1 s n−1 +. . . +a 1 s + a 0
+ b0 )
⇒Y(s)U(s)=(1sn+an−1sn−1+...+a1s+a0)(bnsn+bn−1sn−1+...+b1s+b0)
The above equation is in the form of product of transfer functions of two blocks, which are cascaded.
Y(s)U(s)=(V(s)U(s))(Y(s)V(s))
Here,
V (s) 1
= n
U (s) s + a n−1 s n−1 +. . . +a 1 s + a 0
V(s)U(s)=1sn+an−1sn−1+...+a1s+a0
Rearrange, the above equation as
(sn+an−1sn−1+...+a0)V(s)=U(s)
Let
v(t) = x 1
v(t)=x1
dv((t)
= x 2 = ẋ 1
dt
dv((t)dt=x2=x˙1
d 2 v(t)
= x 3 = ẋ 2
dt 2
d2v(t)dt2=x3=x˙2
.
.
.
.
.
.
d n−1 v(t)
= x n = ẋ n−1
dt n−1
dn−1v(t)dtn−1=xn=x˙n−1
d n v(t)
= ẋ n
dt n
dnv(t)dtn=x˙n
ẋ n = −a 0 x 1 − a 1 x 2 −. . . −a n−1 x n + u
x˙n=−a0x1−a1x2−...−an−1xn+u
Consider,
Y (s)
= bn s n + bn−1 s n−1 +. . . +b1 s + b0
V (s)
Y(s)V(s)=bnsn+bn−1sn−1+...+b1s+b0
Y(s)=(bnsn+bn−1sn−1+...+b1s+b0)V(s)
By substituting the state variables and y(t) = y y(t)=y in the above equation, will get the output equation as,
y = bn ẋ n + bn−1 x n +. . . +b1 x 2 + b0 x 1
y=bnx˙n+bn−1xn+...+b1x2+b0x1
y=bn(−a0x1−a1x2−...−an−1xn+u)+bn−1xn+...+b1x2+b0x1
y=(b0−bna0)x1+(b1−bna1)x2+...+(bn−1−bnan−1)xn+bnu
⎡ ẋ 1 ⎤
⎢ ẋ 2 ⎥
⎢ ⎥
Ẋ = ⎢⎢ ⎥
⋮ ⎥⎥ X˙=[x˙1x˙2⋮x˙n−1x˙n]
⎢
⎢ ⎥
⎢ ẋ n−1 ⎥
⎣ ẋ ⎦
n
⎡ 0 1 0 … 0 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ 0 0 1 … 0 0 ⎥ ⎢ x2 ⎥ ⎢ 0 ⎥
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
= ⎢⎢ ⋮ ⋮ ⋮ … ⋮ ⋮
⎥
⎥
⎢
⎢
⎥ ⎢ ⎥
⋮ ⎥⎥ + ⎢⎢ ⋮ ⎥⎥ [ u ]
⎢ ⎥ ⎢
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢ 0 0 0 … 0 1 ⎥ ⎢ x n−1 ⎥ ⎢ 0 ⎥
⎣ −a −a 1 −a 2 … −a n−2 −a n−1 ⎦ ⎣ x n ⎦ ⎣ b0 ⎦
0
=[010…00001…00⋮⋮⋮…⋮⋮000…01−a0−a1−a2…−an−2−an−1][x1x2⋮xn−1xn]+[00⋮0b0][u]
If bn = 0 bn=0, then,
⎡ x1 ⎤
⎢ x2 ⎥
⎢ ⎥
Y = [b0 b1 ... bn−2 bn−1 ] ⎢⎢ ⋮ ⎥
⎥
⎢ ⎥
⎢ ⎥
⎢ x n−1 ⎥
⎣ ⎦
xn
Y=[b0b1...bn−2bn−1][x1x2⋮xn−1xn]
Ẋ = AX + BU
X˙=AX+BU
Y = CX + DU
Y=CX+DU
sX(s)=AX(s)+BU(s)
⇒(sI−A)X(s)=BU(s)
⇒X(s)=(sI−A)−1BU(s)
Y(s)=CX(s)+DU(s)
⇒Y(s)=C(sI−A)−1BU(s)+DU(s)
⇒Y(s)=[C(sI−A)−1B+D]U(s)
Y (s)
⇒ = C(sI − A) −1 B + D
U (s)
⇒Y(s)U(s)=C(sI−A)−1B+D
The above equation represents the transfer function of the system. So, we can calculate the transfer function of the system by using this formula for the
system represented in the state space model.
Y (s)
= C(sI − A) −1 B
U (s)
Y(s)U(s)=C(sI−A)−1B
Example
Let us calculate the transfer function of the system represented in the state space model as,
ẋ 1 −1 −1 x 1 1
Ẋ = [ ]=[ ] [ ] + [ ] [u]
ẋ 2 1 0 x2 0
X˙=[x˙1x˙2]=[−1−110][x1x2]+[10][u]
x1
Y = [0 1][ ]
x2
Y=[01][x1x2]
Here,
−1 −1 1
A=[ ], B = [ ], C = [0 1] and D = [0]
1 0 0
A=[−1−110],B=[10],C=[01]andD=[0]
Y (s)
= C(sI − A) −1 B
U (s)
Y(s)U(s)=C(sI−A)−1B
−1
Y (s) s+1 1 1
= [0 1] [ ] [ ]
U (s) −1 s 0
Y(s)U(s)=[01][s+11−1s]−1[10]
s −1
[ ]
Y (s) 1 s+1 1
⇒ = [0 1 ] [ ]
U (s) (s + 1)s − 1(−1) 0
⇒Y(s)U(s)=[01][s−11s+1](s+1)s−1(−1)[10]
s
[0 1][ ]
Y (s) 1 1
⇒ = 2 = 2
U (s) s +s+1 s +s+1
⇒Y(s)U(s)=[01][s1]s2+s+1=1s2+s+1
Therefore, the transfer function of the system for the given state space model is
Y (s) 1
= 2
U (s) s +s+1
Y(s)U(s)=1s2+s+1
−1
x ZIR (t) = eAt X(0) = L −1 {[sI − A] X(0)}
xZIR(t)=eAtX(0)=L−1{[sI−A]−1X(0)}
From the above relation, we can write the state transition matrix ϕ(t) ϕ(t) as
ϕ(t)=eAt=L−1[sI−A]−1
So, the zero input response can be obtained by multiplying the state transition matrix ϕ(t) ϕ(t) with the initial conditions matrix.
ϕ(0) = I
ϕ(0)=I
Inverse of state transition matrix will be same as that of state transition matrix just by replcing ‘t’ by ‘-t’.
ϕ −1 (t) = ϕ(−t)
ϕ−1(t)=ϕ(−t)
If t = t1 + t2 t=t1+t2 , then the corresponding state transition matrix is equal to the multiplication of the two state transition matrices at
ϕ(t1+t2)=ϕ(t1)ϕ(t2)
Controllability
A control system is said to be controllable if the initial states of the control system are transferred (changed) to some other desired states by a controlled
input in finite duration of time.
We can check the controllability of a control system by using Kalman’s test.
Q c = [B AB A2 B . . . An−1 B]
Qc=[BABA2B...An−1B]
Find the determinant of matrix Q c Qc and if it is not equal to zero, then the control system is controllable.
Observability
A control system is said to be observable if it is able to determine the initial states of the control system by observing the outputs in finite duration of time.
We can check the observability of a control system by using Kalman’s test.
Qo=[CTATCT(AT)2CT...(AT)n−1CT]
Find the determinant of matrix Q o Qo and if it is not equal to zero, then the control system is observable.
Example
Let us verify the controllability and observability of a control system which is represented in the state space model as,
ẋ 1 −1 −1 x 1 1
ẋ = [ ]=[ ] [ ] + [ ] [u]
ẋ 2 1 0 x2 0
x˙=[x˙1x˙2]=[−1−110][x1x2]+[10][u]
x1
Y = [0 1][ ]
x2
Y=[01][x1x2]
Here,
−1 −1 1
A=[ ], B = [ ], [0 1 ] , D = [0] and n = 2
1 0 0
A=[−1−110],B=[10],[01],D=[0]andn=2
Q c = [B AB]
Qc=[BAB]
−1
AB = [ ]
1
AB=[−11]
1 −1
⇒ Qc = [ ]
0 1
⇒Qc=[1−101]
|Q c | = 1 ≠ 0
|Qc|=1≠0
Since the determinant of matrix Q c Qc is not equal to zero, the given control system is controllable.
Q o = [C T AT C T ]
Qo=[CTATCT]
Here,
−1 1 0
AT = [ ] and C T = [ ]
−1 0 1
AT=[−11−10]andCT=[01]
1
AT C T = [ ]
0
ATCT=[10]
0 1
⇒ Qo = [ ]
1 0
⇒Qo=[0110]
⇒ |Q o | = −1 ≠0
⇒|Qo|=−1≠0
Since, the determinant of matrix Q o Qo is not equal to zero, the given control system is observable.