Control Systems Overview and Analysis
Control Systems Overview and Analysis
Index
Topics Page
1. Basics of Control Systems 2
2. Transfer Function 20
e
3. Time Domain Analysis 26
5. Various Plots om
4. Frequency Domain Analysis
54
71
hr
7. State Space Analysis 79
c
jk
Basics of Control Systems
Control Engineering
e
control process for their functioning & Stable Operations.
•
om
An open-loop control system consists of a control actuator or controller to
receive the desired response.
hr
• It uses a switching device to control the process directly without using any
device.
• An illustration of an open-loop control system is an electric toaster.
• In Open Loop Controlling action, there is no feedback system present to
sense the error in the desired output.
c
jk
e
•
•
om
TEMPERATURE CONTROL SYSTEMS
e
Cost Cheap Expensive
Bandwidth Small Bandwidth Large Bandwidth
Maintenance Low Maintenance More Maintenance is
Feedback
om
There is no Feedback
Need for Block Diagram Reduction:- Some of the block diagrams are complex,
such that the evaluation of their performance required simplification (or
reduction) of the block diagrams which is done by the block diagram
rearrangements.
hr
Advantages of Block Diagram reduction
• Its very simple to construct the block diagram for complicated systems.
• Single, as well as the overall performance of the system, can be studied by
c
• The function of the individual element can be visualized with the help of
block diagram.
• Cascade series
Connection
om
hr
• Parallel Connection
c
jk
om
Block Diagram Algebra for Branch Point
c hr
jk
• Forward paths: Forward paths are continuous paths through the graph
from the input to the output. No node is passed more than once.
• Feedback loops: Feedback loops are continuous paths through the graph
that starts and end at the same node.
• Path gain: Path gain is the product of the signal gains encountered on the
path.
• Loop gain: Loop gain is the product of signal gains encountered in a
feedback loop.
• Source node: Source nodes are nodes with only outgoing branches.
• Sink nodes: Sink nodes are nodes with only incoming branches.
e
•
•
•
om
PK represents the path gain for the kth forward path.
Δ =1-(∑ Sum of all individual loop gains) +(∑ sum of products of all pairs of
loop gains,(non-touching loops) )- (∑ sum of products of all triples of loop
gains,(Non-touching loops))+ ...
Δk = Δ-(∑ loop gains in Δ that touch forward path k)
Now we can not find the output to the complex function h(t) by adding the
responses of the systems to the simpler function.
e
• Time-Invariant: In the time-invariant system, the physical parameters of
•
om
the system do not change with time. The classic example of a non-time
invariant (or time-variant) system is a rocket whose mass changes with
time (a time-invariant rocket would have constant mass).
Continuous-Time: The Continuous-time systems are time is a continuous,
or real-valued, variable. On the other hand, discrete-time systems have
time that moves in discrete steps.
Analogous System
same kind. There are two analogies that are used to go between the electrical
and mechanical systems.
jk
e
om
To understand the analogy more clearly. The parameters for the mechanical
analogous are formed by substituting the analogous parameters into the
equations for the electrical elements. For example, by Ohm's law for electrical
circuit e=iR. For the Mechanical analog I, e is replaced by v, I by f and R by 1/B,
which yields v=f/B.
c hr
jk
e
om
c hr
jk
Kirchoff's Current Law and D'Alemberts Law (with inertial forces included) are
helpful for converting an electrical circuit to a mechanical system.
Procedure for Conversion from Electrical to Mechanical.
e
• Write a node equation for each node voltage.
• Rewrite the equations using analogous making substitutions from the
table, with each electrical node being replaced by a position.
• Draw the mechanical system that interconnects with the equations.
om
Example: Draw the mechanical equivalent circuit of the given system.
hr
Solution: By following the steps in the given Procedure
c
jk
e
om
c hr
• Draw over the circuit, replacing electrical elements with their analogous;
voltage sources by input velocities, current sources replaced by force
generators, resistors with friction elements, inductors with springs, and
capacitors (which must be grounded) by masses. Each node becomes a
position (or velocity)
• Label positions, currents, and the mechanical elements as they were in
original electrical circuits.
e
om
hr
Force-Current 'F-I' to Electrical to Mechanical
c
by reading the table from bottom to top, or by the method where force generators
are replaced by current sources, friction elements by resistors, springs by
inductors, and masses by capacitors (which are grounded). Each position
becomes a node in the circuit.
e
om
hr
Force-Voltage 'F-V' Analogy (From Electrical to Mechanical)
c
forces included).
• Start with an electrical circuit. Label all currents. Choose the currents so
that only one current flows through the inductors.
• Write loop equations for each loop.
• Rewrite the equations using analogs, making substitutions from the table,
with each electrical loop being replaced by a position.
• Draw the mechanical system that interconnects with the equations.
e
Solution: By following the procedure given for force voltage analogy.
om
c hr
jk
e
om
c hr
jk
Gear System
The gear system performs many functions, here we look at the gears that
increase or decrease angular velocity (while simultaneously decreasing or
increasing torque, such that energy is conserved).
e
Since the arc lengths (shown with a heavy blue line) must be equal ⇒ arc
• om
length⇒ r1θ1 = r2θ2 arc length
Now we can derive the second relationship from a torque balance. Here we
must define a force between the gears termed a "contact force."This force
must be equal and opposite across the interface between the two gears,
but its direction is arbitrary.
c hr
Since the contact force is tangent to both gears and so produces a torque equal
to the radius times of the force.
jk
For Gear 1: torque T1 = fcr1 or fc = T1/r1 & For Gear 2: torque T2 = fcr2 or fc = T2/r2
From the above two equation we concluded that fc = T1/r1 = T2/r2
e
•
om
We start by drawing free body diagrams, including a contact force that we
will arbitrarily choose to be down on J1 and up on J2. The directions of the
reactive forces due to inertia and friction are chosen, and as always,
opposite to the defined positive direction.
hr
This yields the two equations of motion
Ta + fcr1 - J1θ1 =0
c
fcr2-J2θ2 +Brθ2 = 0
jk
• We can easily solve for fc and eliminate it from the above equations, but we
also need to eliminate θ2. To do this, we use the relationship between
θ1 and θ2 (from equal arc lengths).
r1θ1 = -r2θ2
• Note that we have a negative sign here because of the way θ1 and θ2 were
defined (if θ1 moves in the positive direction, then θ2 is negative). When
you use the arc length expression, you must be careful of the signs.
fcr2-J2θ2 - Brθ2 = 0
and θ2 = - r1/r2(θ1)
fc = -J2{r1/(r2)2} θ1 - Br {r1/(r2)2} θ1
We can put this into the equation for J1 and solve (in standard form with the
output (θ1) on the left, and the input (Ta) on the right.
Ta + fcr1 - J1θ1 =0
e
or
om
So we get θ1 = r2/r1(θ2) & ω1 = r2/r1(ω2)
we concluded that
T1ω1 =T2ω2
hr
Transfer Function
Transfer Function
The Transfer Function (TF) of a System is the ratio of the output to the input of a
c
system, in the Laplace domain considering its initial conditions and equilibrium
point to be zero.
jk
If we have an input function of X(s), and an output function Y(s), we define the
transfer function H(s).
Impulse Response
Since we know that in the time domain, generally, we define the input to a system
as x(t) and the output of the system as y(t). The relationship between the input
and the output is represented as the impulse response, h(t).
e
• The Impulse Function, denoted with δ(t) is a function defined piece-wise as
follows
•
om
An examination of the impulse function shows that it is related to the unit-
step function as follows
u(t)= ∫δ(t) or
hr
• The impulse response (IR) must always satisfy the following condition, or
else it is not a true impulse function
c
If we have the system input and the impulse response of the system, we can
calculate the system output using the convolution operation as such as
y(t)=h(t)∗x(t).
If the system is time-invariant, then the general description of the system can be
replaced by a convolution integral of the system's impulse response and the
system input. We can call this the convolution description of a system.
Convolution Theorem
L[f(t)∗g(t) ]=F(s)G(s)
e
L[f(t)g(t) ]=F(s)∗G(s)
Result: If the complex Laplace variable is s, then we generally denote the transfer
om
function of a system as either G(s) or H(s). If the system input is X(s), and the
system output is Y(s), then the transfer function can be defined as such
• Since we know that the Laplace transform of the impulse function, δ(t) is
L[δ(t)]=1
• So, when we put this into the relationship between the input, output, and
jk
Y(s)=X(s)H(s)
or Y(s)=(1)H(s)
or Y(s)=H(s)
In other words, the "impulse response" is the o/p of the system when we
input an impulse function.
Transfer Functions for Linear Systems
• To obtain the transfer function of the system of the last equation let us
e
input be u(t) = est.
• Since the system is linear, there is an output of the system that is also an
exponential function ⇒ y(t) = Yoest.
•
om
Inserting the signals into the last equation, we find
To investigate how a linear system responds to the exponential input u(t) = est we
consider the state space system
Let the input signal be u(t) = est and assume that s ≠ λi(A), where i = 1,...,n, where
λi(A) is the ith eigenvalue of A. then
Since s ≠ λ(A) the integral can be evaluated and we get
e
= CeAt{x(0)−(sI −A)−1B}+[D+C(sI−A)−1B]est
Note: One term of the output is proportional to the input u(t) = est. This term is
•
•
om
called the pure exponential response.
• Poles and Zeros of a transfer function are the frequencies for which the
value of the transfer function becomes infinity or zero respectively.
• The transfer function has many useful explanations and the features of a
transfer function are often associated with important system properties.
Three of the most important features are the gain and the locations of the
poles and zeros.
• In the above equation, N(s) and D(s) are simple polynomials in s. Zeros are
the roots of N(s) by setting N(s)=0 and solving for s. Poles are the roots of
D(s), by setting D(s)=0 and solving for s.
• In general Transfer Function must not have more zeros than poles, we can
state that the polynomial order of D(s) must be greater than or equal to the
polynomial order of N(s).
e
• when s approaches a zero (Zeros of Transfer function), the numerator of
the transfer function N(s)→0.
When s approaches a pole (Poles of Transfer
•
•
om
Function) the denominator of the transfer function D(s)→0 & the value of
the transfer function approaches infinity.
An output value of infinity should raise an alarm bell for people who are
familiar with BIBO stability.
Poles & Zeros of a transfer function are represented in S-Plane, In s-
plane s = σ±jω where σ represent the attenuation on X-axis
& ω represents the angular velocity represented on the y-axis.
• In the s-plane, the Poles are located by a cross (*) & the Zeros are located
hr
by dot (.)
c
jk
• For a Stable System, All the Poles & Zeros of a Transfer Function must be
lie in the left half of the s-plane.
e
om
Note: If the Poles or Zero lie on the imaginary axis then it must be simple (order
only 1) then the system is said to be Marginally Stable, If the Order of multiplicity
of Poles or Zeros on Imaginary Axis is more than 1 in that case system will
become Unstable.
The Time Domain Analyzes of the system is to be done on basis of time. The
analysis is only be applied when the nature of the input plus the mathematical
hr
model of the control system is known. Expressing the main input signals is not
an easy task and cannot be determined by simple equations. There are two
components of any system’s time response, which are: Transient response &
Steady-state response.
c
•
the input quantity. It is then examined using different test signals by the
final value theorem.
e
Standard Test Input Signals
om
Time-Response of First-Order System
e
•
t/τm
om
From the time response e-t/τm we concluded that for t≥5τm the value of e-
is less than 1% of its original value. Hence the speed of the motor will
reach and stay within 1% of its final speed at 5-time constants.
If a is properly chosen, the tape can reach the desired speed. It will reach the
desired speed in 5τo seconds. Here τo=τ[Link] that we can control the speed of
response in the feedback system.
• Thus, the first-order system will track the unit ramp input with a steady-
om
state error τo, which is equal to the time constant of the system.
The constant ξ is called the damping ratio and ωn is called the natural frequency.
The system above is, in fact, a standard second-order system.
The transfer function T(s) has two poles and no zero. Its poles are,
Natural frequency (ωn): The natural frequency of a second-order system is the
frequency of oscillation of the system without damping.
Damping ratio (ξ): The damping ratio is defined as the ratio of the damping
factor σ, to the natural frequency ωn.
Here,σ is called the damping factor,ωd is called damped or actual frequency. The
location of poles for different ξ are plotted in the given figure below. For ξ=0, the
two poles ±jωn are purely imaginary. If0<ξ<1, the two poles are complex
e
conjugate.
om
hr
Unit Step Response of Second-Order System
c
jk
Second-Order Systems: General Specification
e
This function has a pole at the origin that comes from the unit step and two
complex poles that come from the system. The sinusoidal frequency is given the
name of damped frequency
om
of oscillation, ωd. This response is shown in the figure called underdamped.
Example:
hr
• Overdamped System (1<ξ)
c
This function has a pole at the origin that comes from the unit step input and
two real poles that come from the system. The input pole at the origin generates
jk
the constant forced response; each of the two system poles on the real axis
generates an exponential natural frequency.
Example:
e
• Undamped Response (ξ= 0)
This function has a pole at the origin and two imaginary poles. The pole at the
origin generates the constant forced response, and the two system poles on the
om
imaginary axis at ±j3 generate a Sinusoidal natural response.
Example:
c hr
• Critically Damped Response (ξ = 1)
This function has a pole at the origin and two multiple real poles. The input pole
jk
at the origin generates the constant forced response, and two poles at the real
axis at -3 generate a natural exponential response.
Note: In the above specifications of time domain, don't be confused with the
number of Poles in G(s), to Specify for which type of Damping is present for a
e
particular case we consider the total number of poles are of transfer function
i.e; C(s)/R(s).
om
c hr
jk
e
om
c hr
jk
e
and desired output as ‘t’ tends to infinity.
om
c hr
Steady-state error ess: It is found previously that steady-state error for a step
input is zero. Let us now consider ramp input, r(t)= tu(t).
jk
e
•
peak to the system response.
• The closer the zero to the origin, the more pronounce the peaking
phenomenon.
•
om
Due to this fact, the zeros on the real axis near the origin are generally
avoided in design. However, in a sluggish system, the artful introduction of
a zero at the proper position can improve the transient response.
its steady-state error to step, ramp, and parabolic inputs. For a unity feedback
system,
jk
It is seen that steady-state error depends upon the input R(s) and the forward
transfer function G(s).
e
om
Time Domain Characteristics
• Delay time ( td ): It is the time required for the response to reach 50% of the
final value in the first attempt.
• Peak time, ( tp ): It is the time required for the response to reach the peak
e
of time response or the peak overshoot.
om
c hr
jk
• Settling time, ( ts ): It is the time required for the response to reach and
stay within a specified tolerance band ( 2% or 5%) of its final value.
e
om
The expression of peak overshoot, Mp for second-order system is:
c hr
• Steady-state error ( ess ): It indicates the error between the actual output
and desired output as ‘t’ tends to infinity.
jk
e
Manipulation of the above equation gives,
•
om
The effect of the added derivative term is to produce a pronounced early
peak to the system response.
The closer the zero to the origin, the more pronounced the peaking
phenomenon.
Due to this fact, the zeros on the real axis near the origin are generally
avoided in design. However, in a sluggish system, the artful introduction of
hr
a zero at the proper position can improve the transient response.
c
jk
e
Where,
e
om
c hr
In a feedback control system, at least part of the information used to change the
output variable is derived from measurements performed on the output variable
itself. This type of closed-loop control is often used in preference to open-loop
control (where the system does not use output-variable information to influence
its output) since feedback can reduce the sensitivity of the system to externally
applied disturbances and to changes in system parameters.
Familiar examples of feedback control systems include residential heating
systems, most high-fidelity audio amplifiers, and the iris-retina combination that
regulates light entering the eye.
Closed-loop control system:
• Sometimes, we may use the output of the control system to adjust the
input signal. This is called feedback. Feedback is a special feature of a
closed-loop control system.
• A closed-loop control system compares the output with the expected
result or command status, then it takes appropriate control actions to
adjust the input signal.
• Therefore, a closed-loop system is always equipped with a sensor, which is
used to monitor the output and compare it with the expected result.
e
The following figure shows a simple closed-loop system.
om
hr
Block diagram of a closed-loop control system
Positive Feedback:
c
• Positive feedback causes the new output to deviate from the present
command status.
jk
Negative Feedback:
• Negative feedback directs the new output towards the present command
status, so as to allow more sophisticated control.
• For example, a driver has to steer continuously to keep his car on the right
track.
Most modern appliances and machinery are equipped with closed-loop control
systems. Examples include air conditioners, refrigerators, automatic rice
cookers, automatic ticketing machines, etc. An air conditioner, for example, uses
a thermostat to detect the temperature and control the operation of its electrical
parts to keep the room temperature at a preset constant.
e
Block diagram of the control system of an air conditioner
•
om
adjust its output automatically by feeding the output signal back to the
input.
When the load changes, the error signals generated by the system will
adjust the output. However, closed-loop control systems are generally
more complicated and thus more expensive to make.
Feedback is a common and powerful tool when designing a control
system.
• The feedback loop is the tool that takes the system output into
hr
consideration and enables the system to adjust its performance to meet a
desired result of the system.
error signal is generated. This error signal is applied to the controller and output
is corrected. Such a system is called a feedback system.
jk
e
• When the feedback signal is positive then the system called a positive
feedback system. For a positive feedback system, the error signal is the
om
addition of reference input signal and the feedback signal.
When the feedback signal is negative then the system is called a negative
feedback system. For a negative feedback system, the error signal is given
by the difference of reference input signal and the feedback signal.
Advantages:
hr
• Increased accuracy. The output can be made to reproduce the input
• Reduced sensitivity to system characteristics
• Reduction in the effect of non-linearities
• Increased bandwidth. The system can be made to respond to a larger
c
The major disadvantages resulting from feedback are the increased risk of
instability and the additional cost of design and implementation.
jk
Rule 1-Symmetry: Since the characteristic equation has real coefficients, any
zeros must occur in complex conjugate pairs (which are symmetric about the
real axis). Since the root locus is just a diagram of the roots of the characteristic
equation as K varies, it must also be symmetric about the real axis.
Rule 2-Number of Branches: Since the order of the characteristic equation is the
same as that of the denominator of the loop gain, the number of branches is n,
the order of the denominator polynomial.
• So the locus starts (when K=0) at poles of the loop gain, and ends (when
e
K→∞) at the zeros. Note: there are q zeros of the loop gain as s→∞.
Rule 4- Locus On The Real Axis: The locus exists on the real axis to the left of
a sum of the number of poles and zeros is odd on the axis.
om
Rule 5- Number of Branches Terminating to Infinity: If for a given system the
number of Open Loop Poles are P & the number of Open Loop Zeros are Z then
there will be "P-Z" branches which are terminating to Infinity.
Or in other words
jk
where, q = 0, 1, 2, ..., n – m – 1.
• The angles of the asymptotes φk are given by for K<0
where, q = 0, 1, 2, ..., n – m – 1.
• First of all, we have to identify the portions of the real axis where a
e
breakaway point must exist.
• Assuming we have already marked the segments of the real axis that are
on the root locus, we need to find the segments that are the part of the
root locus by either two poles or two zeros (either finite zeros or zeros at
•
infinity).
equation ⇒ om
To estimate the values of s at the breakaway points, the characteristic
• As the last step, we check the roots of K'(s) that lie on the real axis
segments of the locus. The roots that lie in these intervals are the
c
breakaway points.
e
In other words
om
hr
Therefore, exploiting the rules of complex numbers, we can rewrite ∠P∗(p)and
∠P∗(z) as
c
jk
Rule 9- Intersection of the Root Locus with the jω Axis: To find the intersection
of root locus with the imaginary axis. The following procedures are followed
Step 4: Frame auxiliary equation A(s) = 0 with the help of the coefficient of a row
just above the row of zeros.
Step 5: The roots of the auxiliary equation A(s) = 0 for K = Kmar give the
intersection points of the root locus with the imaginary axis.
e
Grain Margin (GM) =
of instability.
om
Note: If the root locus does not cross the jω axis, the gain is ∞. GM represents
the maximum gain that can be multiplied for the system to be just on the verge
Phase Margin: Phase margin (PM) can be determined for a given value of K as
follows
hr
• Calculate ω for which |G (jω) H (jω)| = 1 for the given value of K.
• Calculate [G (jω) H (jω)]
• Phase margin = 180° + arg [G (jω) H (jω)]
outside of the left half-plane; while it does not actually compute the roots.
where N(s) & D(s) are the Polynomials in s to know the Poles (by equating D(s)=
0) & Zeros (by equating N(s)=0).
The Characteristic Equation of the above Transfer Function can be written as
To find out whether the system is stable or not, check the following conditions:
1. Two necessary but not sufficient conditions that all the roots have negative
real parts are
e
2. If condition (1) is satisfied, then compute the Routh-Hurwitz array as follows
om
hr
• where the ai are the polynomial coefficients, these coefficients in the rest
of the table are computed as follow:
c
jk
• The necessary condition that all roots have negative real parts is that all
the elements of the first column of the array have the same sign.
• The number of changes of sign equals the number of roots with positive
real parts.
• If the first element of a row is zero, but some other elements in that row
are nonzero. Here we can replace the zero elements with "ε", & complete
the table, and then interpret the results assuming that "ε" is a small
number of the same sign as the element above it. The results must be
interpreted in the limit as ε→0
• Whenever all the coefficients in a row are zero, a pair of roots of equal
magnitude and the opposite sign will be present.
• Here the Possibilities of these two roots could be Real or Conjugate
Imaginary with equal magnitudes and opposite signs.
• The zero row is replaced by taking the coefficients of dP(s)/ds, where P(s),
e
called the auxiliary polynomial, is obtained from the values in the row
above the zero row. The pair of roots can be found by solving dP(s)/ds = 0.
• It is to be noted that the auxiliary polynomial always has even degree.
om
Example: Use of Auxiliary Polynomial
s5+2s4+24s3+48s2-50=0
which shows that A(s) = 0 must have two pairs of roots of equal magnitude and
opposite sign, which are also roots of the auxiliary polynomial equation P(s) = 0.
jk
e
roots such as
• s2 = 1 ⇒ s= ±1
s2 = -25 ⇒ s = ± j5
•
•
•
+ 2) = 0.
right of the vertical line s =−σ. Thus, this test reveals the number of roots
which lie to the right of the vertical line s = −σ2
jk
If
Then
Where
e
This system will be stable if
om
hr
Example: Verify Jury Stability Test for the given Polynomial.
c
jk
Various Plots
Bode Plot
The bode plot gives a graphical method for determining the stability of a control
system based on sinusoidal frequency response. Bode graphs are
representations of the magnitude and phase of G(j*ω) (where the frequency
vector ω contains only positive frequencies).
The bode plot consists of two graphs: Magnitude plot and Phase plot
e
• Bode plots are asymptotic log magnitude and phase plots. These are
drawn as straight lines.
• The corner frequency is the frequency at which the slope of the asymptotic
log magnitude plot changes.
•
•
decade.
om
The frequency band from ω1 and ω2 such that (ω2/ω1) = 10 is called a
For a first-order factor, the slope of the Log magnitude plot changes by ±20
dB/decade at the corner frequency according to as the factor is in the
numerator or denominator respectively. For a second-order factor, the
slope changes by ±40 dB/decade and so on.
Initial Slope of the Bode Plot: Initial slope can be determined by the type of the
hr
system, Its value is different for different types of system.
• Type 0 system: For this system, the initial slope is 0 dB/decade with dB
value 20 log K.
• Type 1 system: For this system, the initial part of the system is
c
jk
e
• Type 2 system: For type 2 system, the initial part of the plot is
om
Here, the initial slope is -40 dB/decade and plot cuts the 0 dB line at
c hr
jk
•
180° line
om
Phase Crossover Frequency: Frequency at which phase plot crosses the -
Gain Margin: Value of gain from gain plot at phase crossover frequency is
called gain margin. Gain margin is positive if it is below zero dB line
Phase Margin: Value of phase from phase plot at the gain crossover
frequency is known as phase margin. Phase margin is positive if it is above
-180° line
hr
Minimum Phase, Non-minimum Phase and All Pass Transfer Function
e
• If there is one zero at the origin, the LM plot has an initial slope equal to 20
dB/decade up to the lowest corner frequency. If there are two zeros at the
origin, the LM plot has an initial slope equal to +40 dB/decade up to the
•
om
lowest corner frequency and so on
Multiplication of the transfer function by a gain factor is equivalent to
shifting the LM plot vertically up by an equivalent gain in dB.
There is change in shape of the root locus and it shifts towards the
imaginary axis. The intercept on the jω axis occurs for a lower value of K
because of asymptote angle being lower down.
hr
• System becomes oscillatory.
• Gain margin and relative stability decrease.
• There is reduction in the range of K.
• A sluggish response can be changed to a quicker response for the artful
introduction of a pole.
c
• There is change in shape of the root locus and it shifts towards the left of
the s-plane.
• Stability of the system is enhanced.
• Range of K increases.
• Settling time speeds up.
Polar Plot
The polar plot of a sinusoidal transfer function G(jω) is a plot of the magnitude of
G(jω) versus the phase angle of G(jω) on polar coordinates as ω varied from
zero to infinity.
by and .
e
• Step-4: Calculate the phase angle of G(jω) at ω = 0 and ω = ∞
by and .
• Step-5: Rationalize the function G(jω) and separate the real and imaginary
•
axis.
om
Step-6: Equate the imaginary part Im|G(jω)| to zero and determine the
frequencies at which plot intersects the real axis and calculate the value of
G(jω) at the point of intersection by substituting the determined value of
frequency in the expression of G(jω).
Step-7: Equate the real part Re|G(jω)| to zero and determine the
frequencies at which plots intersects the imaginary axis and calculate the
value G(jω) at the point of intersection by substituting the determined
value of frequency in the rationalized expression of G(jω).
hr
• Step-8: Sketch the polar plot with the help of the above information.
• Type 0 System
c
jk
e
• Type 1 System
om
c hr
• Type 2 System
jk
e
Introduction of Additional Pole
om
c hr
jk
om
c hr
• om
crosses the -180° line is called the phase crossover frequency.
Gain Crossover Frequency: The frequency at which the polar plot crosses
the unit circle is called gain crossover frequency.
Gain Margin: At phase crossover frequency, if the gain is 'a' then
A stability test for time-invariant linear systems can also be derived in the
frequency domain. It is known as the Nyquist stability criterion. It is based on the
jk
Encirclement:
e
•
om
point A is encircled in the counter in Counter Clock Wise by closed path,
while point B is NOT encircled by closed path.
e
om
• In figure (a) Point A of encirclement = +1; Point B of encirclement = +2.
hr
• In figure (b) Point A of encirclement = -1; Point B of encirclement = -2.
Determination of N:
c
jk
e
• For a SISO feedback system, the closed-loop transfer function is given by
•
om
closed-loop system poles are obtained by solving the following equation
• The zeros of D(s) are the closed-loop poles of the transfer function. Here
now we concluded that the poles of D(s) are the zeros of M(s).
• At the same time, the poles of D(s) are the open-loop control system poles
since they are contributed by the poles of H(s)G(s), which can be
c
N= P-Z
where Z and P stand for the number of zeros and poles (including their
multiplicities) of the function F(s) inside the contour.
e
om
Nyquist Plot
hr
The Nyquist plot is a polar plot of the function D(s) = 1+ G(s)H(s) when travels
around the contour
c
jk
• The contour in the above figure covers the whole unstable half-plane of the
complex plane s, R→∞.
• Since the function D(s), according to Cauchy’s principle of argument, must
be analytic at every point on the contour, the poles D(s) of on the imaginary
axis must be encircled by
infinitesimally small semicircles.
Nyquist Criterion:
e
function "D(s) = 1+G(s)H(s)", we plot only the function G(s)H(s) and count
encirclement of the Nyquist plot of G(s)H(s) around the point (-1+j0).
• The number of unstable closed-loop poles (Z) is equal to the number of
unstable open-loop poles (P) plus the number of encirclements (N) of the
Z= P+N om
point (-1+j0) of the Nyquist plot of G(s)H(s), that is
Two important notions can be derived from the Nyquist diagram: phase and gain
stability margins. The phase and gain stability margins are presented in the
hr
Figure below
c
jk
• They give the degree of relative stability; in other words, they tell how far
the given system is from the instability region. Their formal definitions are
given by
• where ωgc and ωpc stand for, respectively, the gain and phase crossover
frequencies, which are obtained from the figure as
e
om
Example: Consider a control system represented by
Solution: Since this system has a pole at the origin, the contour in the -plane
should encircle it with a semicircle of an infinitesimally small radius. This contour
has three parts (a), (b), and (c). Mappings for each of them are considered below.
hr
• On this semicircle, the complex variable 's' is represented in the polar form
by 's = Rejψ' with R→∞, - π/2 ≤ ψ ≥ π/2. Substituting 's =
Rejψ' into G(s)H(s), we easily see that G(s)H(s)→0. Thus, the huge
semicircle from the -plane maps into the origin in the -plane.
c
Thus, the huge semicircle from the s-plane maps into the origin in
the G(s)H(s)-plane.
jk
e
• On this semicircle, the complex variable is represented in the polar form by
's = rejψ' with r→0, - π/2 ≤ ψ ≥ π/2. so that we have
om
Since φ changes from '- π/2' at point A to ' π/2' at point B, arg{G(s)H(s)} will
change from "π/2 to -π/2". We conclude that the infinitesimally small semicircle
at the origin in the s-plane is mapped into a semicircle of infinite radius in
the G(s)H(s)-plane.
hr
• On this part of the contour, s takes pure imaginary values, i.e. s=
jω with ω changing from'-∞ to +∞'.Due to symmetry, it is sufficient to
study only mapping along "0+≤ ω ≥+∞". We can find the real and imaginary
parts of the function G(jω)H(jω), which are given by
c
jk
From the above expressions, we see that neither the real nor the imaginary parts
can be made zero, and hence the Nyquist plot has no points of intersection with
the coordinate axis. For ω= 0+ we are at point B and since the plot at ω= +∞ will
end up at the origin. Note that the vertical asymptote of the Nyquist plot is given
by
{Re G(jo±)H(jo±)} = -1
• From the Nyquist diagram we see that N= 0 and since there are no open-
loop poles in the left half of the complex plane, i.e.P=0, we have Z =0 so
that the corresponding closed-loop system has no unstable poles.
Compensation Technique
e
unacceptable for a given application because of such deficiencies as low De-
sensitivity, slow speed of response, or poor relative stability.
om
The required device added in the control system to obtain the performance as
per the desired specification is known as Compensator.
e
• A Lead Compensator is a high-pass filter.
• Zeros of the transfer function dominate in Phase Lead Compensation
Technique.
om
c hr
Phase lag Compensation: Phase-lag systems are very common. These systems
occur when an energy storage unit and an energy dissipator are combined. One
example is the RC low pass. The phase-lag compensator has a negative phase
jk
e
Where,
om
hr
Because the phase-lag compensator adds a negative phase angle to a system,
the phase lag is not a useful effect of the compensation and does not provide a
direct means of improving the phase margin. The phase-lag compensator does,
however, reduce the gain and so can be used to lower the crossover frequency. A
c
consequence of this is that, usually, the phase margin of the system is higher at
the lower frequency, the stability can be improved.
In other words, there should not be much change in the location of the dominant
jk
poles. The pole of a phase lag compensator lies extremely close to the origin and
its zero is to the left of the pole and very near to it.
e
Phase lag lead Compensation: With single lag or lead compensation use, we may
not be satisfied with design specifications. For an unstable uncompensated
om
system, lead compensation provides a faster response but does not provide
enough phase margin whereas lag compensation stabilizes the system but does
not provide enough bandwidth. So we need multiple compensators in cascade
i.e. phase lag- lead compensation.
• The controller (an analog/digital circuit, and software), is trying to keep the
•
om
controlled variable such as temperature, liquid level, motor velocity, robot
joint angle, at a certain value called the setpoint (SP).
A feedback control system does this by looking at the error (E) signal,
which is the difference between where the controlled variable (called
the process variable (PV)) is, and where it should be.
Based upon the error signal, the controller decides the magnitude and the
direction of the signal to the actuator.
hr
The proportional (P), the integral (I), and the derivative (D), are all basic
controllers.
• Proportional Control
c
Outputp = Kp × E
E = error, the difference between where the controlled variable should be and
where it is. E = SP – PV.
e
One way to decrease the steady-state error is to increase the system gain (Kp),
but high Kp can lead to instability problems.
•
om
Increasing Kp independently without limit is not a sound control strategy.
Integral Control
The introduction of integral control in a control system can reduce the steady-
state error to zero. Integral control applies a restoring force that is proportional to
the sum of all past errors, multiplied by time.
OutputI = KI × ∑(E×Δt)
hr
OutputI = controller output due to integral control
For a constant value of error ∑(E×Δt) will increase with time, causing the
restoring force to get larger and larger.
jk
Eventually, the restoring force will get large enough to overcome friction and
move the controlled variable in a direction to eliminate the error.
• Derivative Control
e
combination of P + I, or P + D, and are referred to as PI and PD controllers
respectively.
• PID control
om
A proportional–integral–derivative controller (PID controller) is a generic control
loop feedback mechanism (controller) widely used in industrial control systems.
Simply adding together the three required control components generates the
response of the PID system.
Output PID = output from PID controller
∑(E×Δt) = sum of all past errors (area under the error/time curve)
e
=
om
rate of change of error (slope of the error curve)
Equation is:
hr
When you are designing a PID controller for a given system, follow the steps
shown below to obtain the desired response.
5. Adjust each of Kp, Ki, and Kd until you obtain a desired overall response.
• A proportional controller (Kp) will have the effect of reducing the rise time
and will reduce, but never eliminate, the steady-state error.
• An integral control (Ki) will have the effect of eliminating the steady-state
error, but it may make the transient response worse.
• A derivative control (Kd) will have the effect of increasing the stability of
the system, reducing the overshoot, and improving the transient response.
State Space Analysis
e
The so-called state-space description provides the dynamics as a set of coupled
first-order differential equations in a set of internal variables known as state
variables, together with a set of algebraic equations that combine the state
•
om
variables into physical output variables.
e
•
•
om
where = dxi/dt and each of the functions fi (x, u, t), (i = 1,...,n) may be a
general nonlinear, time-varying function of the state variables, the system
inputs, and time.
It is common to express the state equations in a vector form, in which the
set of n state variables is written as a state vector x(t)=[x1(t), x2(t),...,xn(t)]T,
hr
and the set of r inputs is written as an input vector u(t)=[u1(t),
u2(t),...,ur(t)]T. Each state variable is a time-varying component of the
column vector x(t).
• In vector notation the set of n equations in Eqs. (1) maybe written as
c
where the coefficients aij and bij are constants that describe the system.
e
• Where state vector x is a column vector of length n, the input vector u is a
column vector of length r, A is an n × n square matrix of the constant
coefficients aij , and B is an n × r matrix of the coefficients bij that weight
the inputs.
Output Equations
om
System output is defined to be any system variable of interest. An arbitrary
output variable in a system of order n with r inputs may be written as
where the ci and di are constants. If a total of m system variables are defined as
hr
outputs, then the output equation can also be obtained as State Equation in
compact form
y = Cx + Du
c
• For many physical systems, the matrix D is the null matrix, and the output
equation reduces to a simple weighted combination of the state variable
if D= 0 ; then Y = Cx
A system of order n has n integrators in its block diagram. The derivatives of the
state variables are the inputs to the integrator blocks, and each state equation
expresses a derivative as a sum of weighted state variables and inputs. A
detailed block diagram representing a system of order n may be constructed
directly from the state and output equations as follows:
• Draw n integrator (S−1) blocks, and assign a state variable to the output of
each block.
e
• At the input to each block (which represents the derivative of its state
variable) draw a summing element.
• Use the state equations to connect the state variables and inputs to the
om
summing elements through scaling operator blocks.
Expand the output equations and sum the state variables and inputs
through a set of scaling operators to form the components of the output.
Example: Draw a block diagram for the general second-order, single-input single-
output system
hr
the block diagram shown below is drawn using the four steps described above
c
jk
e
om
Transformation from Classical Form to State-Space Representation
Let the differential equation representing the system be of order n, and without
loss of generality assume that the order of the polynomial operators on both
sides is the same.
e
y(s) = CX(s) + DU(s)
(sI-A)X(s) = BU(s)
State-Transition Matrix
c
Let ϕ(t) be the n × n matrix that represents the state-transition matrix; then it
must satisfy the
equation:
Furthermore, let x(0) denote the initial state at t = 0; then ϕ(t) is also defined by
the matrix
equation:
which is the solution of the homogeneous state equation for t ≥ 0. One way of
e
determining ϕ(t)
is by taking the Laplace transform on both sides of Eq. (i); we have
om
Solving for X(s) from Eq. (v). we get
where it is assumed that the matrix (s1 – A) is non-singular. Taking the inverse
Laplace
hr
transform on both sides of Eq. (v) yields
for t ≥ 0, where eAt represents the following power series of the matrix At, and
Properties of State-Transition Matrices.
e
Controllability & Observability
om
Controllability: Controllability can be defined in order to be able to do whatever
we want with the given dynamic system under control input, the system must be
controllable. A system is said to be controllable at time t0 if it is possible by
means of an unconstrained control vector to transfer the system from any initial
state to any other state in a finite interval of time.
If the rank of OB = [ CT : ATCT : ..... AT)n-1CT is equal to n], then the system is sail
to be Observable.