You are on page 1of 28

Lesson Plan

S.N DATE TOPICS DATE REMARK


PLANNE ENGAGE S
D D
1.1

Introduction to Polar Plots,
(Inverse Polar Plots excluded) Mathematical
preliminaries,
1.2 Nyquist Stability criterion,(Systems with
transportation lag excluded)
1.3 Introduction to lead, lag and lead-lag
compensating networks (excluding design).

1.4 Introduction to State variable analysis:


Introduction, Concept of State
1.5 State variables & State model
1.6 State model for Electrical systems
1.7 Solution of state equation.

1.8 Examples

Dept.of ECE,MITE,Moodabidri 2
Introduction

 The polar plot of sinusoidal transfer function G(jω) is a plot
of the magnitude of G(jω) verses the phase angle of G(jω)
on polar coordinates as ω is varied from zero to infinity.
 Therefore it is the locus of G ( j ) G ( j ) as ω is varied
from zero to infinity.
j (  )
 As G ( j ) G ( j ) = Me
j (  )
 So it is the plot of vector Me as ω is varied from zero
to infinity
Introduction conti…

 In the polar plot the magnitude of G(jω) is plotted as the
distance from the origin while phase angle is measured from
positive real axis.

 + angle is taken for anticlockwise direction.

 Polar plot is also known as Nyquist Plot.

Steps to draw Polar Plot



 Step 1: Determine the T.F G(s)
 Step 2: Put s=jω in the G(s)
 Step 3: At ω=0 & ω=∞ find G ( j )by lim &)
G ( j lim

G ( j )
→
 →0

 Step 4: At ω=0 & ω=∞ find by G (&


G ( j ) lim
 →0
j ) lim

G ( j )
→
 Step 5: Rationalize the function G(jω) and separate the real and
imaginary parts
 Step 6: Put Re [G(jω) ]=0, determine the frequency at which plot
intersects the Im axis and calculate intersection value by putting
the above calculated frequency in G(jω)
Steps to draw Polar Plot conti…


 Step 7: Put Im [G(jω) ]=0, determine the frequency at
which plot intersects the real axis and calculate
intersection value by putting the above calculated
frequency in G(jω)

 Step 8: Sketch the Polar Plot with the help of above


information

Polar Plot for Type 0 System


G (s) =
K
(1 + sT1 )(1 + sT2 )

 Let

 Step 1: Put s=jω


K
G ( j ) =
(1 + jT1 )(1 + jT2 )
K
=  − tan −1 T1 − tan −1 T2
1 + (T1 ) 1 + (T2 )
2 2

 Step 2: Taking the limit for magnitude of G(jω)


Type 0 system conti…

K
lim G ( j ) = =K
1 + (T1 ) 1 + j (T2 )
2 2
→0

K
lim G ( j ) = =0
1 + (T1 ) 1 + j (T2 )
2 2
→

 Step 3: Taking the limit of the Phase Angle of G(jω)

lim G ( j ) =  − tan −1
T1 − tan −1 T2 = 0
→0

lim G ( j ) =  − tan −1
T1 − tan −1 T2 = −180
→

Type 0 system conti…



 Step 4: Separate the real and Im part of G(jω)
K (1 −  2T1T2 ) K (T1 + T2 )
G ( j ) = − j
1 +  2T12 +  2T22 +  4T1T2 1 +  2T12 +  2T22 +  4T1T2
 Step 5: Put Re [G(jω)]=0
K (1 −  2T1T2 ) 1
= 0   = &=
1 +  2T12 +  2T22 +  4T1T2 T1T2
So When
1 K T1T2
=  G ( j ) =  − 90 0
T1T2 T1 + T2
& =  G ( j ) = 0 − 180 0
Type 0 system conti…

 Step 6: Put Im [G(jω)]=0
K (T1 + T2 )
=0 =0 & 
1 +  T1 +  T2 +  T1T2
2 2 2 2 4

So When
 = 0  G ( j ) = K00
 =   G ( j ) = 01800

Type 0 system conti…



Polar Plot for Type 1 System
 Let G (s) =
K

s (1 + sT1 )(1 + sT2 )

 Step 1: Put s=jω

K
G ( j ) =
j (1 + jT1 )(1 + jT2 )
K
=  − 90 0 − tan −1 T1 − tan −1 T2
 1 + (T1 ) 1 + j (T2 )
2 2

Type 1 system conti…



 Step 2: Taking the limit
K
for magnitude of G(jω)
lim G ( j ) = =

→0  1 + (T1 ) 2
1 + j (T2 )
2

K
lim G ( j ) = =0

→  1 + (T1 ) 2
1 + j (T2 )
2

 Step 3: Taking the limit of the Phase Angle of G(jω)

lim G ( j ) =  − 90 0
− tan −1 T1 − tan −1 T2 = −90 0
→0

lim G ( j ) =  − 90 0
− tan −1 T1 − tan −1 T2 = −270 0
→
Type 1 system conti…

 Step 4: Separate the real and Im part of G(jω)
− K (T1 + T2 ) j ( K 2 T1T2 − K )
G ( j ) = +j
 +  3 (T12 + T22 +  2 T12 T22 )  +  3 (T12 + T22 +  2 T12 T22 )
 Step 5: Put Re [G(jω)]=0

− K (T1 + T2 )
=0 =
 +  (T1 + T2 +  T1 T2 )
3 2 2 2 2 2

So at
=  G ( j ) = 0 − 270 0

Type 1 system conti…



 Step 6: Put Im [G(jω)]=0
j ( K 2T1T2 − K ) 1
= 0   = &  = 
 +  3 (T12 + T22 +  2T12T22 ) T1T2
So When
1 K T1T2
=  G ( j ) = − 0 0
T1T2 T1 + T2
 = G ( j ) = 0 0
Type 1 system conti…

Type 2 system

Type 2 system

 Note: Introduction of additional pole in denominator
contributes a constant -1800 to the angle of G(jω) for all
frequencies. See the figure 1, 2 & 3
Figure 1+(-1800 Rotation)=figure 2
Figure 2+(-1800 Rotation)=figure 3

Type 2 system

Ex: Sketch the polar plot for G(s)=20/s(s+1)(s+2)
Solution:
Step 1: Put s=jω

20
G ( j ) =
j ( j + 1)( j + 2)
20
=  − 90 0 − tan −1  − tan −1  / 2
  +1  + 4
2 2
Type 2 system

 Step 2: Taking the limit for magnitude of G(jω)
20
lim G ( j ) = =
→0   +1  + 4
2 2

20
lim G( j ) =
 →   +1  + 4
2 2
=0

 Step 3: Taking the limit of the Phase Angle of G(jω)


lim G ( j ) =  − 90 0
− tan −1  − tan −1  / 2 = −90 0
→0

lim G ( j ) =  − 90 0
− tan −1  − tan −1  / 2 = −270 0
→

Type 2 system

 Step 4: Separate the real and Im part of3 G(jω)
− 60 2 j 20( − 2 )
G ( j ) = 4 + j
( +  2 )(4 +  2 ) ( 4 +  2 )(4 +  2 )

− 60 2
=0 =
( +  )(4 +  )
4 2 2

So at
=  G ( j ) = 0 − 270 0
Type 2 system

 Step 6: Put Im [G(jω)]=0
j 20( 3 − 2 )
= 0   =  2 &  = 
( 4 +  2 )(4 +  2 )
So for positive value of 
10
 = 2  G ( j ) = − 0 0
3
 = G ( j ) = 00 0


Gain Margin, Phase Margin &
Stability

Gain Margin, Phase Margin & Stability



Phase Crossover Frequency (ωp) : The frequency
where a polar plot intersects the –ve real axis is called
phase crossover frequency
 Gain Crossover Frequency (ωg) : The frequency
where a polar plot intersects the unit circle is called
gain crossover frequency
So at ωg
G ( j ) = Unity
Gain Margin, Phase Margin & Stability

 Phase Margin (PM):
 Phase margin is that amount of additional phase lag at
the gain crossover frequency required to bring the
system to the verge of instability (marginally stabile)
Φm=1800+Φ
Where
Φ=∠G(jωg)
if Φm>0 => +PM (Stable System)
if Φm<0 => -PM (Unstable
System)

Gain Margin, Phase Margin & Stability



 Gain Margin (GM):
 The gain margin is the reciprocal of magnitude
G ( j )
at the frequency at which the phase angle is -1800.
1 1
GM = =
| G ( jwc) | x

In terms of dB

1
GM in dB = 20 log10 = −20 log10 | G ( jwc) |= −20 log10 ( x)
| G ( jwc) |
Stability

 Stable: If critical point (-1+j0) is within the plot as
shown, Both GM & PM are +ve
GM=20log10(1 /x) dB

Stability

 Unstable: If critical point
shown, Both GM & PM are -ve
(-1+j0) is outside the plot as

GM=20log10(1 /x) dB
Stability

 Marginally Stable System: If critical point (-1+j0) is
on the plot as shown, Both GM & PM are ZERO
GM=20log10(1 /1)=0 dB

Stability

MATLAB Margin
The Nyquist Stability Criterion
The Nyquist plot allows us also to predict the stability and performance of a closed-loop system by
observing its open-loop behavior. The Nyquist criterion can be used for design purposes
regardless of open-loop stability (Bode design methods assume that the system is stable in open
loop). Therefore, we use this criterion to determine closed-loop stability when the Bode plots
display confusing information.

The Nyquist diagram is basically a plot of G(j* w) where G(s) is the open-loop transfer function
and w is a vector of frequencies which encloses the entire right-half plane. In drawing the Nyquist
diagram, both positive and negative frequencies (from zero to infinity) are taken into account. In
the illustration below we represent positive frequencies in red and negative frequencies in green.
The frequency vector used in plotting the Nyquist diagram usually looks like this (if you can
imagine the plot stretching out to infinity):

However, if we have open-loop poles or zeros on the jw axis, G(s) will not be defined at those
points, and we must loop around them when we are plotting the contour. Such a contour would
look as follows:

Nyquist theorem

Theorem 5.2 (Nyquist theorem):
Given a proper open loop transfer function G0(s)C(s) with P
poles in the open RHP, then the closed loop has Z poles in the
open RHP if and only if the plot of G0(s)C(s) encircles the
point (-1,0) clockwise N=Z-P times when s travels along the
modified Nyquist path.
Relative Stability: Stability
margins and Sensitivity
Peaks

In control system design, one often needs to go beyond the
issue of closed loop stability.
In particular, it is usually desirable to obtain some
quantitative measures of how far from instability the nominal
loop is, i.e. to quantify relative stability.
This is achieved by introducing measures which describe the
distance from the nominal open loop frequency response to
the critical stability point (-1,0).

Figure 5.7: Stability margins and sensitivity peak

Gain and Phase Margins Peak Sensitivity



(a) The gain margin, Mg, and the phase margin Mf are
defined as follows (see Figure 5.7):

(b) Peak sensitivity:


Since S0 = 1 , then S0 is a maximum at
1+ G C
the frequency0where G0(jw)C(jw) is closest
to the point -1. The peak sensitivity is thus
1/ - (see Figure 5.7).

Gain and Phase Margin

Gain Margin is defined as the change in open-loop gain expressed in decibels (dB),
required at 180 degrees of phase shift to make the system unstable. First of all, let's say
that we have a system that is stable if there are no Nyquist encirclements of -1, such as :
50
-----------------------
s^3 + 9 s^2 + 30 s + 40

Looking at the roots, we find that we have no open loop poles in the right half plane and
therefore no closed-loop poles in the right half plane if there are no Nyquist encirclements of
-1. Now, how much can we vary the gain before this system becomes unstable in closed
loop?

The open-loop system represented by this plot will become unstable in closed loop if the gain
is increased past a certain boundary.
The Nyquist Stability Criterion

and that the Nyquist diagram can be viewed by typing:


nyquist (50, [1 9 30 40 ])

Gain and Phase Margin

Phase margin as the change in open-loop phase shift required at unity gain to make
a closed-loop system unstable.

From our previous example we know that this particular system will be unstable in
closed loop if the Nyquist diagram encircles the -1 point. However, we must also
realize that if the diagram is shifted by theta degrees, it will then touch the -1 point
at the negative real axis, making the system marginally stable in closed loop.
Therefore, the angle required to make this system marginally stable in closed loop
is called the phase margin (measured in degrees). In order to find the point we
measure this angle from, we draw a circle with radius of 1, find the point in the
Nyquist diagram with a magnitude of 1 (gain of zero dB), and measure the phase
shift needed for this point to be at an angle of 180 deg.
The Nyquist Stability Criterion

w = −100  −99.9 100 j = −1 s ( w) = j w f ( w) = −1


50 4.6
G( w) =
3 2
s ( w) + 9 s ( w) + 30 s ( w) + 40
5

Im( G( w) )
0
0

5
2 1 0 1 2 3 4 5 6
Re( G( w) )

Consider the Negative Feedback System

Remember from the Cauchy criterion that the number N of times that the plot of G(s)H(s)
encircles -1 is equal to the number Z of zeros of 1 + G(s)H(s) enclosed by the frequency contour
minus the number P of poles of 1 + G(s)H(s) enclosed by the frequency contour (N = Z - P).
Keeping careful track of open- and closed-loop transfer functions, as well as numerators and
denominators, you should convince yourself that:
• the zeros of 1 + G(s)H(s) are the poles of the closed-loop transfer function
• the poles of 1 + G(s)H(s) are the poles of the open-loop transfer function.
The Nyquist criterion then states that:
• P = the number of open-loop (unstable) poles of G(s)H(s)
• N = the number of times the Nyquist diagram encircles -1
• clockwise encirclements of -1 count as positive encirclements
• counter-clockwise (or anti-clockwise) encirclements of -1 count as negative encirclements
• Z = the number of right half-plane (positive, real) poles of the closed-loop system
The important equation which relates these three quantities is:

Z = P + N
The Nyquist Stability Criterion - Application

Knowing the number of right-half plane (unstable) poles in open loop (P),
and the number of encirclements of -1 made by the Nyquist diagram (N), we
can determine the closed-loop stability of the system.

If Z = P + N is a positive, nonzero number, the closed-loop system is


unstable.

We can also use the Nyquist diagram to find the range of gains for a closed-
loop unity feedback system to be stable. The system we will test looks like
this:

where G(s) is :
s^2 + 10 s + 24
---------------
s^2 - 8 s + 15

The Nyquist Stability Criterion

This system has a gain K which can be varied in order to modify the response of the
closed-loop system. However, we will see that we can only vary this gain within certain
limits, since we have to make sure that our closed-loop system will be stable. This is what
we will be looking for: the range of gains that will make this system stable in the closed
loop.

The first thing we need to do is find the number of positive real poles in our open-loop
transfer function:

roots([1 -8 15])
ans =
5
3
The poles of the open-loop transfer function are both positive. Therefore, we need two
anti-clockwise (N = -2) encirclements of the Nyquist diagram in order to have a stable
closed-loop system (Z = P + N). If the number of encirclements is less than two or the
encirclements are not anti-clockwise, our system will be unstable.

Let's look at our Nyquist diagram for a gain of 1:

nyquist([ 1 10 24], [ 1 -8 15])

There are two anti-clockwise encirclements of -1.


Therefore, the system is stable for a gain of 1.
Commonly Used
Compensators

Among the many kinds of compensators,
widely employed compensators are the
 lead compensators

 lag compensators

 lag–lead compensators

Commonly Used
Compensators

Among the many kinds of compensators,
widely employed compensators are the
 lead compensators
 If a sinusoidal input is applied to the input of a network,
and the steady-state output (which is also sinusoidal)
has a phase lead, then the network is called a lead
network.
Commonly Used
Compensators

Among the many kinds of compensators,
widely employed compensators are the
 lag compensators
 If the steady-state output has a phase lag, then the
network is called a lag network.

Commonly Used
Compensators

Among the many kinds of compensators,
widely employed compensators are the
 lag–lead compensators
 In a lag–lead network, both phase lag and phase lead
occur in the output but in different frequency regions.

 Phase lag occurs in the low-frequency region and phase


lead occurs in the high-frequency region.
Commonly Used
Compensators

We will limit our discussions mostly to lead,
lag, and lag–lead compensators realized by
 Electronic devices such as circuits using
operational amplifiers
 Electrical Networks (RC networks)
 Mechanical Networks (Spring-Mass-Damper
Networks).

Definitions
have property that every
 State space variables: A set of minimal variables that
possible signal or variable in
the system at any instant t can be expressed in terms of
state variables and inputs at that instant.
 State of a system: Minimal set of variables whose
knowledge at t=0 along with input u(t) known
sufficiently for t≥0 completely describes the behaviour of
the system.
 State vector: A vector whose elements are state variables.
 State space: n- dimensional space whose axes are state
variables.
If the system is represented by
✓ Linear constant co-eff DE,
no of state variables = order of DE
✓ Transfer function, 
no of state variables = highest power of s in the
denominator of TF
✓ Electrical system,
no of state variables = no of energy storing
elements in the ckts
✓ Discrete time systems,
no of state variables = no of unit delay elements

Advantages

 State variable analysis is well suited for MIMO
systems
 Time domain behaviour of non linear systems can be
determined
 State equations are highly compatible for simulation
on analog or digital computer.
 Can be used to find the stability of negative feedback
system, when feedback signal is other than output
signal.
State model

 State model is represented by state equation and output
equation.
 State Equation: Ẋ(t) = AX(t) + Bu(t)
 Output Equation: Y(t) = C X(t)
where X(t) is a matrix of state variables, A is the matrix
of co-eff of state variables, u(t) is the input and B is the
matrix of co-eff of input variables.

Properties of State
transition matrix
Φ(0) = eA0=I

Φ(t) = eAt = (e-At)-1 = [Φ(-t) )-1 = Φ-1(-t)
Φ(t1 + t2) = eA (t1 + t2) = eAt1 + eAt2 = Φ(t1). Φ( t2) = Φ(
t2) . Φ(t1)
[Φ(t)n] = (eAt)n = eAtn = Φ(nt)
Φ(t2 - t1) Φ(t1 - t2)= Φ(t1 – t0) Φ(t2 – t1) = Φ(t2-t0)
Questions


 Define: 1. state 2. State variable 3. State space 4. State
transition
 A system is described by the differential eqn,
d3y/dt3 + 3d2y/dt2 + 17dy/dt +5y = 10u(t)
where y is the output and u is the input. Determine the
state space representation of the system.
 State the properties of state transition matrix and
derive them.

You might also like