Lecture 1 Introduction Review of Classical Control
Lecture 1 Introduction Review of Classical Control
Lecture 1 Introduction Review of Classical Control
Lecture-1
Introduction to Subject
&
Review of Basic Concepts of Classical control
Input Output
Controller Process
Input Output
Comparator Controller Process
Measurement
Temp Outputs
Humidity Comparator Controller Process
Pressure
Measurements
Types of Control System
Feedback Control System
Feedback
• A Control System in which output varies linearly with the input is called a
linear control system.
30
0
25
-5
20
y(t)
y(t)
-10
15
-15
10
-20 5
0 2 4 6 8 10 0 2 4 6 8 10
u(t)
u(t)
Types of Control System
Linear Vs Nonlinear Control System
• When the input and output has nonlinear relationship the system is said
to be nonlinear.
0.4
Adhesion Coefficient
0.3
0.2
0.1
0
0 0.02 0.04 0.06 0.08
Creep
Types of Control System
Linear Vs Nonlinear Control System
• Linear control System Does not
exist in practice. Adhesion Characteristics of Road
0.4
• Linear control systems are
idealized models fabricated by
Adhesion Coefficient
0.3
the analyst purely for the
simplicity of analysis and design. 0.2
°C
Temperature
500°C
Valve Position
0% 25% 100%
% Open
Types of Control System
Time invariant vs Time variant
• When the characteristics of the system do not depend upon time itself
then the system is said to time invariant control system.
y(t ) 2u(t ) 1
y(t ) 2u(t ) 3t
Types of Control System
Lumped parameter vs Distributed Parameter
d 2x dx
M 2
C kx
dt dt
• Whereas the distributed parameter control systems are described by
partial differential equations.
2
x x x
f1 f2 g 2
dy dz dz
Types of Control System
Continuous Data Vs Discrete Data System
• A discrete time control system involves one or more variables that are
known only at discrete time intervals.
X[n]
n
Types of Control System
Deterministic vs Stochastic Control System
t t
t
Types of Control System
Adaptive Control System
Natural Man-made
Manual Automatic
Open-loop Closed-loop
Non-linear linear
Non-linear linear
If u(t ) U ( S ) and
y(t ) Y ( S )
30
Why Laplace Transform?
• By use of Laplace transform we can convert many
common functions into algebraic function of complex
variable s.
• For example
sin t 2 2
s
Or
at 1
e
sa
• Where s is a complex variable (complex frequency) and is
given as
s j 31
Laplace Transform of Derivatives
• Not only common function can be converted into
simple algebraic expressions but calculus operations
can also be converted into algebraic expressions.
• For example
dx(t )
sX ( S ) x( 0 )
dt
2
d x(t ) 2 dx( 0 )
2
s X ( S ) x( 0)
dt dt
32
Laplace Transform of Derivatives
• In general
n
d x(t ) n n 1 n 1
n
s X (S ) s x( 0 ) x (0)
dt
33
Example: RC Circuit
34
Laplace Transform of Integrals
1
x(t )dt X ( S )
s
35
Calculation of the Transfer Function
• Consider the following ODE where y(t) is input of the system
and x(t) is the output.
d 2 x(t ) dy(t ) dx(t )
A C B
• or dt 2 dt dt
36
Calculation of the Transfer Function
As 2 X ( s ) CsY ( s ) BsX ( s )
• Rearranging the above equation
As 2 X ( s ) BsX ( s ) CsY ( s )
X ( s )[ As 2 Bs ] CsY ( s )
X (s) Cs C
Y ( s ) As Bs As B
2
37
Example
1. Find out the transfer function of the RC network shown in figure-1.
Assume that the capacitor is not initially charged.
Figure-1
2. u(t) and y(t) are the input and output respectively of a system defined by
following ODE. Determine the Transfer Function. Assume there is no any
energy stored in the system.
38
Transfer Function
• In general
39
Transfer Function
• Otherwise ‘improper’
40
Transfer Function
• Transfer function helps us to check
system
41
Stability of Control System
• There are several meanings of stability, in general
there are two kinds of stability definitions in control
system study.
– Absolute Stability
– Relative Stability
42
Stability of Control System
43
Stability of Control System
44
Stability of Control System
• Poles is also defined as “it is the frequency at which
system becomes infinite”. Hence the name pole
where field is infinite.
45
Stability of Control System
• Poles is also defined as “it is the frequency at which
system becomes infinite”.
• Like a magnetic pole or black hole.
46
Relation b/w poles and zeros and frequency
response of the system
• The relationship between poles and zeros and the frequency
response of a system comes alive with this 3D pole-zero plot.
47
Relation b/w poles and zeros and frequency
response of the system
• 3D pole-zero plot
– System has 1 ‘zero’ and 2 ‘poles’.
48
Relation b/w poles and zeros and frequency
response of the system
49
Example
• Consider the Transfer function calculated in previous
slides.
X (s) C
G( s )
Y ( s ) As B
B
s
A
50
Examples
• Consider the following transfer functions.
– Determine
• Whether the transfer function is proper or improper
• Poles of the system
• zeros of the system
• Order of the system
s3 s
)i G( s ) )ii G( s )
s( s 2 ) ( s 1)( s 2 )( s 3)
( s 3) 2 s 2 ( s 1)
)iii G( s ) )iv G( s )
s( s 2 10) s( s 10)
51
Stability of Control Systems
• The poles and zeros of the system are plotted in s-plane
to check the stability of the system.
j
LHP RHP
Recall s j
s-plane
52
Stability of Control Systems
• If all the poles of the system lie in left half plane the
system is said to be Stable.
• If any of the poles lie in right half plane the system is said
to be unstable.
• If pole(s) lie on imaginary axis the system is said to be
marginally stable. j
3 stable
2
1
Imaginary Axis
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Real Axis
54
Examples
Pole-Zero Map
5
4 stable
3
1
Imaginary Axis
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Real Axis 55
Examples
Pole-Zero Map
5
4
unstable
3
2
Imaginary Axis
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Real Axis
56
Examples
Pole-Zero Map
5
3 stable
2
Imaginary Axis
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Real Axis
57
Examples
Pole-Zero Map
5
3 Marginally stable
2
Imaginary Axis
-1
-2
-3
-4
-5
-5 -4 -3 -2 -1 0 1 2 3 4 5
Real Axis
58
Examples
Pole-Zero Map
5
4
stable
3
2
Imaginary Axis
-1
-2
-3
-4
-5
-3 -2 -1 0 1 2 3
Real Axis
59
Examples
Pole-Zero Map
4
3 Marginally stable
1
Imaginary Axis
-1
-2
-3
-4
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
Real Axis
60
Examples
• Relative Stability
4 stable 4 stable
3 3
2 2
1 1
Imaginary Axis
Imaginary Axis
0 0
-1 -1
-2 -2
-3 -3
-4 -4
-5 -5
-5 -4 -3 -2 -1 0 1 2 3 4 5 -6 -4 -2 0 2 4
Real Axis Real Axis
61
Stability of Control Systems
• For example
C
G( s ) , if A 1, B 3 and C 10
As B
• Then the only pole of the system lie at
pole 3
j
LHP RHP
X
-3
s-plane
62
Examples
• Consider the following transfer functions.
Determine whether the transfer function is proper or improper
Calculate the Poles and zeros of the system
Determine the order of the system
Draw the pole-zero map
Determine the Stability of the system
s3 s
)i G( s ) )ii G( s )
s( s 2 ) ( s 1)( s 2 )( s 3)
( s 3) 2 s 2 ( s 1)
)iii G( s ) )iv G( s )
s( s 2 10) s( s 10)
63
Another definition of Stability
• The system is said to be stable if for any bounded
input the output of the system is also bounded
(BIBO).
• Thus the for any bounded input the output either
remain constant or decrease with time.
u(t) overshoot
y(t)
1
Plant 1
t
t
Unit Step Input
Output
64
Another definition of Stability
• If for any bounded input the output is not
bounded the system is said to be unstable.
u(t)
y(t)
1
e at
Plant
t
t
Unit Step Input
Output
65
BIBO vs Transfer Function
• For example
Y ( s) 1 Y (s) 1
G1 ( s ) G2 ( s)
U (s) s 3 U ( s) s 3
Pole-Zero Map Pole-Zero Map
4 4
unstable
3
stable 3
2 2
1 1
Imaginary Axis
Imaginary Axis
0 0
-1 -1
-2 -2
-3 -3
-4 -4
-4 -2 0 2 4 -4 -2 0 2 4
Real Axis Real Axis
BIBO vs Transfer Function
• For example
Y ( s) 1 Y (s) 1
G1 ( s ) G2 ( s)
U (s) s 3 U ( s) s 3
1 Y ( s)
1 1 1 Y ( s) 1
G1 ( s ) 1
G2 ( s ) 1
1
U ( s) s3 U (s) s 3
y (t ) e 3t u (t ) y (t ) e 3t u (t )
BIBO vs Transfer Function
• For example
3t
y (t ) e u (t ) y (t ) e3t u (t )
exp(-3t)*u(t) 12
x 10 exp(3t)*u(t)
1 12
10
0.8
8
0.6
6
0.4
4
0.2
2
0 0
0 1 2 3 4 0 2 4 6 8 10
BIBO vs Transfer Function
• Whenever one or more than one poles are in
RHP the solution of dynamic equations
contains increasing exponential terms.
• Such as e 3t
.
• That makes the response of the system
unbounded and hence the overall response of
the system is unstable.
Types of Systems
•
Static System: If a system does not change
with time, it is called a static system.
•
Dynamic System: If a system changes with
time, it is called a dynamic system.
70
Dynamic Systems
• A system is said to be dynamic if its current output may depend on
the past history as well as the present values of the input variables.
• Mathematically,
y( t ) [u( ),0 t ]
u : Input, t : Time
My u
Ways to Study a System
System
Analytical Solution
Simulation
72
Model
•
A model is a simplified representation or
abstraction of reality.
•
Reality is generally too complex to copy
exactly.
•
Much of the complexity is actually irrelevant
in problem solving.
73
Types of Models
Model
74
What is Mathematical Model?
A set of mathematical equations (e.g., differential eqs.) that
describes the input-output behavior of a system.
•
Linear vs. Non-linear
•
Deterministic vs. Probabilistic (Stochastic)
•
Static vs. Dynamic
•
Discrete vs. Continuous
•
White box, black box and gray box
76
Black Box Model
• When only input and output are known.
• Internal dynamics are either too complex or
unknown.
Input Output
• Easy to Model
77
Black Box Model
• Consider the example of a heat radiating system.
78
Black Box Model
• Consider the example of a heat radiating system.
Heat Raadiating
Heat System
Raadiating System
Valve Room 3535
79
Grey Box Model
• When input and output and some information
about the internal dynamics of the system is
known.
u(t) y(t)
y[u(t), t]
80
White Box Model
• When input and output and internal dynamics
of the system is known.
Linear Time
Invariant Transfer function
Approach to dynamic systems
• Define the system and its components.
• Formulate the mathematical model and list the necessary
assumptions.
• Write the differential equations describing the model.
• Solve the equations for the desired output variables.
• Examine the solutions and the assumptions.
• If necessary, reanalyze or redesign the system.
84
Simulation
•
Computer simulation is the discipline of
designing a model of an actual or theoretical
physical system, executing the model on a
digital computer, and analyzing the execution
output.
•
Simulation embodies the principle of
``learning by doing'' --- to learn about the
system we must first build a model of some
sort and then operate the model.
85
Advantages to Simulation
Can be used to study existing systems without
disrupting the ongoing operations.
Proposed systems can be “tested” before committing
resources.
Allows us to control time.
Allows us to gain insight into which variables are
most important to system performance.
86
Disadvantages to Simulation
Model building is an art as well as a science. The
quality of the analysis depends on the quality of the
model and the skill of the modeler.
Simulation results are sometimes hard to interpret.
Simulation analysis can be time consuming and
expensive.
Should not be used when an analytical method would
provide for quicker results.
87
To download this lecture visit
http://imtiazhussainkalwar.weebly.com/
END OF LECTURE-1