Lecture 2
Lecture 2
1
Control System I
Course Teacher: Mohammad Kamruzzaman Khan Prince
Assistant Professor
Dept. of EEE, SUST
2 Books to Follow
1. Control Systems Engineering by Norman S Nise , John Wiley & Sons, New York
2. Modern Control Systems by Richard C. Dorf and Robert H. Bishop
3. Modern control engineering by Ogata, Katsuhiko, Prentice-Hall
3 Importance, Pre-requisite and Outcomes of this
Course
Obviously to get your degree!
Control systems are everywhere- toaster, battery charger, heating systems, DVD player
etc…
Widespread applications in science and industry
Great career opportunities
Solid backgrounds on maths such as-
Electrical circuit analysis
To be able to design a control system for a physical system satisfying the control goals.
4 What is a Control System?
Subsystems and processes (or plants) assembled for the purpose of obtaining a desired
output with desired performance, given a specified input.
5 Control Systems Around Us
Human body
Communication- Radar antenna
Robotics
Elevator
Room temperature control
Aero-space engineering
And many more…
6 Configurations of Control Systems
Open loop
Closed loop
The block diagrams are-
7 Open and Closed Loop Systems
The plant can be a furnace where the input is fuel and the output is temperature.
The open loop systems cannot compensate the disturbances.
Ex. of an open loop system: toaster
Closed loop system overcomes the problem of the open loop system.
Ex. is toaster ovens.
Complex and expensive.
8 Primary Design Objectives of a Control
System
Producing desired transient response
Reducing the steady-state error
Achieving stability
Example of the elevator.
9 Modeling in the Frequency Domain
[F(s)]=
𝐶 (𝑠)
𝐺 ( 𝑠 )=
𝑅 (𝑠)
The transfer function is defined for a linear time
invariant (LTI) system.
{
𝑢 ( 𝑡 )= 1(𝑡 > 0)
0(𝑡 < 0)
11 Laplace Transform Table
© Nise, N. S. (2011). Control system engineering, john wiley & sons. Inc, New York.
12 Transfer Function- Electrical Network
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 2.6)
13 Transfer Function- Electrical Network Cont’d
Eq. (1) in the previous slide resembles with the Taylor series expansion in eq. (2)
eq. (2)
𝑓 ( 𝑥 ) ≈ 𝑓 ( 𝑥0)+
𝑑𝑓 ( 𝑥 )
𝑑𝑥 |𝑥=𝑥 0
𝛿𝑥 eq. (3)
0.1 𝑣 𝑟
𝑖𝑟 =2 𝑒
𝑉 𝐿(𝑠 )
𝑓 ( 𝑥 )=5 cos 𝑥 =?
𝑉 (𝑠)
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 2.26 and 2.28)
19 Modeling in Time Domain - State Space
Representation
An alternative modeling technique of an LTI system along with the frequency domain
modeling.
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 3.1)
20 State-Space Representation Cont’d
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 3.2)
21 Transfer Function to State-Space Conversion
ML
ML
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 3.4 and Ex. 3.5)
22 State-Space to Transfer Function Conversion
We have seen so far the state and output equations are
© Nise, N. S. (2011). Control system engineering, 7th ed., john wiley & sons. Inc, New York. (Ex. 3.6)
23 Time Response
Mason’s Rule
24
A technique to reduce signal flow graphs to single transfer function.
Loop gain: The product of branch gains found by traversing a path that starts at a node and ends at the
same node, following the direction of the signal flow, without passing through any other node more
than once.
Mason’s Rule Cont’d
25
Forward-path gain: The product of gains found by traversing a path from the input node to the output
node of the signal-flow graph in the direction of signal flow.
Mason’s Rule Cont’d
26
Nontouching Loops: Loops that do not have any nodes in common.
G2(s)H1(s) doesnot touch loops G4(s)H2(s), G4(s)G5(s)H3(s) and G4(s)G6(s)H3(s).
Nontouching-loop gain: The product of loop gains from nontouching loops taken two, three, four, or
more at a time.
Mason’s Rule Cont’d
27
Mason’s Rule Cont’d
28
Find the transfer function C(s)/R(s).
Mason’s Rule Cont’d
29
Signal-Flow Graphs of State Equations
30
Alternative Representation in State Space- Cascade Form
31
Alternative Representation in State Space Cascade Form Cont’d
32
Alternative Representation in State Space-Parallel Form
33
Alternative Representation in State Space Parallel Form Cont’d
34
MATLAB Example
35
'(ch5p2) Example 5.3' % Display label.
numg=[25]; % Define numerator of G(s).
deng=poly([0 -5]); % Define denominator of
G(s).
' G(s)' % Display label.
G=tf(numg,deng) % Create and display G(s).
' T(s)' % Display label.
T=feedback(G,1) % Find T(s).
[numt,dent]=tfdata(T,'v'); % Extract
numerator & denominator
% of T(s).
wn=sqrt(dent(3)) % Find natural frequency.
z=dent(2)/(2*wn) % Find damping ratio.
Ts=4/(z*wn) % Find settling time.
Tp=pi/(wn*sqrt(1-z^2)) % Find peak time.
pos=exp(-z*pi/sqrt(1-z^2))*100 % Find
percent overshoot.
step(T,'g') % Generate step response.
pause
Introduction to MATLAB Simulink
36
Definitions of Stability
37
Three requirements in designing a control system- transient response, stability and steady-state errors.
Stability is the most important system specification.
The number of roots of the polynomial that are in the right half-plane is equal to the number of sign
changes in the first column.
41 Routh-Hurwitz Criterion Cont’d
Routh-Hurwitz Criterion Cont’d
42
Two special cases can arise
Zero in the first column and
Entire row of zeros
Routh-Hurwitz Criterion Cont’d
43
Zero in the first column is avoided and the result in example 6.2 is
confirmed.
The complexity is reduced considerably.
Routh-Hurwitz Criterion Cont’d
44
The root locus begins at the finite and infinite poles of G(s)H(s) and ends at the finite and infinite zeros of
G(s)H(s).
66
Sketching the Root Locus Cont’d
Behaviour at infinity:
If the function approaches infinity as s approaches infinity, then the function has a pole at infinity.
If the function approaches zero as s approaches infinity, then the function has a zero at infinity.
Examples: G(s) = s (pole at infinity) and G(s) = 1/s. (zero at infinity)
Including infinite poles and zeros every function of s has an equal number of poles and zeros.
The root locus approaches straight lines as asymptotes as the locus approaches infinity. Further, the
equation of the asymptotes is given by the real-axis intercept, σ_a and angle, θ_a as follows:
If not, calculate the angle deficiency. This angle must be contributed by the lead compensator.
If static error constants are not specified, determine the location of the pole and zero of the lead
compensator so that the lead compensator will contribute the necessary angle.
If no other requirements are imposed on the system, try to make the value of alpha as large as possible. A
larger value of alpha generally results in a larger value of K_v.
Determine the value of K_c of the lead compensator from the magnitude condition.
82
Once a compensator has been designed, check to see whether all performance specifications have been
met. If the compensated system does not meet the performance specifications, then repeat the design
procedure by adjusting the compensator pole and zero until all such specifications are met.
If a large static error constant is required, cascade a lag network or alter the lead compensator to a lag–lead
compensator.
Note that if the selected dominant closed-loop poles are not really dominant, or if the selected dominant
closed-loop poles do not yield the desired result, it will be necessary to modify the location of the pair of
such selected dominant closed-loop poles.
83
Lead Compensation Cont’d
84
Lead Compensation Cont’d
Draw the root-locus plot for the uncompensated system whose open-loop transfer function is G(s). Based on the transient-
response specifications, locate the dominant closed-loop poles on the root locus.
Assume the transfer function of the lag compensator is:
Then the open-loop transfer function of the compensated system becomes Gc(s)G(s).
Evaluate the particular static error constant specified in the problem.
Determine the amount of increase in the static error constant necessary to satisfy the specifications.
91
Lag Compensation Cont’d
Determine the pole and zero of the lag compensator that produce the necessary increase in the particular
static error constant without appreciably altering the original root loci.
Draw a new root-locus plot for the compensated system. Locate the desired dominant closed-loop poles on
the root locus.
Adjust gain of the compensator from the magnitude condition so that the dominant closed-loop poles lie at
the desired location. (will be approximately 1).
92
Lag Compensation Cont’d
93
Lag Compensation Cont’d