Department of Electrical& Computer Engineering
Introduction to Control Systems
Addis Ababa Science &
Technology University
College of Electrical & Mechanical
Engineering
Talegeta M.
2.
2
Chapter 2:
Modelling andRepresentation of Physical Systems
Contents
i. Introduction
ii. Review on Laplace transform
iii. Control system models
a) Differential equation
b) Transfer function
c) State space
iv. System representation
a) Block diagrams
b) Signal flow graph
v. System mathematical modelling
a) Mathematical modeling of electrical networks
b) Mathematical modeling of mechanical systems
o Transitional
o Rotational
o Mechanical system with gears
c) Mathematical modelling of electromechanical system
vi. Block diagram algebra
vii. Signal flow graph (reading assignment)
By
Biruk
T.
3.
By
Biruk
T.
3
2.1 Introduction
- Mathematicalmodels of physical systems are key
elements in the design and analysis of control systems
- Transfer functions: a mathematical representation
to describe relationship between inputs and outputs of
the physics of a system, i.e., of the differential
equations that govern the motion of bodies.
- Desired outcomes :
- Understand the application of Laplace transforms and
their role in obtaining transfer functions of physical
system.
4.
By
Biruk
T.
4
• Approaches forsolving dynamic system
problem
oDefine the system and its components
oFormulate the mathematical model and list
the necessary assumptions.
oWrite the differential equations describing the
model.
oSolve the equations for the desired output
variables
oExamine the solutions and the assumptions
oIf necessary, reanalyse or redesign the system
2.1 Introduction
5.
By
Biruk
T.
5
Modeling of dynamicsystems
Model: A representation of a system.
Types of Models:
a) Physical models (prototypes)
b) Mathematical models (e.g., input-output relationships)
o Analytical models (using physical laws)
o Computer (numerical) models
o Experimental models (using input/output experimental data)
Models for physical dynamic systems:
o Lumped-parameter models
o Continuous-parameter models.
Example: Spring element (flexibility, inertia, damping)
2.1 Introduction
By
Biruk
T.
7
NB:
o Even ifmost physical systems are nonlinear, we
will consider as they are linear or we will take
linearization approximations, which allow us
to use Laplace transform methods.
o In this course only Continuous-time LTI system
is considered.
2.1 Introduction
8.
By
Biruk
T.
8
Laplace & inverseLaplace transform
Let f(t) be a function of time t such that f(t) = 0 for t < 0 and s is
a complex variable. We use L as a symbolic operator to stand
for Laplace integral on the quantity that is prefixed by it.
The Laplace transform of f(t) is defined as
L [f(t)]=F(s)=
F(s) denotes the Laplace transform of f(t).
The function f(t) in time domain can be found from the Laplace
transform F(s) by the reverse process known as the inverse
Laplace transformation
Where;
Where;
2.2 Review on Laplace Transform
Laplace Transform: takes a function of t (time) to a function of a complex
variable s (frequency)
9.
By
Biruk
T.
9
Laplace transform ofa common function.
i) Exponential function for otherwise.
F(s)=L []=
F(s)=L []=
F(s)=L []=
F(s)=L []=
ii) Step function
for
for
-where A is a constant and us(t) is an unit step function.
-The unit-step function has a height of unity
F(s)=L []=
F(s)=L []=
F(s)=L []=
10.
By
Biruk
T.
10
iii) Ramp function
for
for
-whereR is the slope of a linear function and us(t) is an unit step function.
-The unit-step function has a height of unity
F(s)=L []=R
F(s)=L []=
F(s)=L []=
iv) Sinusoidal function
for for
Where
F(s)=L []=
F(s)=L []=
11.
By
Biruk
T.
11
F(s)=L []=
F(s)=L []=
F(s)=L[]=
F(s)=L []=
Performing the same calculation, one can obtain
F(s)=L []=
Properties of Laplace Transform
1- Multiplication by a constant, L [
L [
2- Multiplication by . L [
3-Translation in time , , L [
12.
By
Biruk
T.
12
4- Change intime scale, , L [
5- Real differentiation , L
L
6-Initial value theorem,
7-Final value theorem
8-Real integration
L
9-Complex differentiation , L
10- Convolution integral, L
By
Biruk
T.
15
Example:
Find the transferfunction represented by
Taking the Laplace transform of the differential at zero
initial conditions
Then the transfer function becomes:
16.
By
Biruk
T.
16
Control system model& representation
oDifferential equation
oTransfer function
oState space
oBlock diagrams
oSignal flow graph
2.3 Control System Representation
17.
By
Biruk
T.
17
Example : Continuous-timeLTI system
)
(
)
(
)
(
)
(
2
2
t
u
t
y
dt
t
dy
RC
dt
t
y
d
LC
constants
2nd
order ordinary
differential equation
1
1
)
(
)
(
)
(
)
(
)
(
)
(
2
2
RCs
LCs
s
U
s
Y
s
U
s
Y
s
RCsY
s
Y
LCs
Transfer function
)
(s
U )
(s
Y
1
1
2
RCs
LCs Block diagram
2.3 Control System Representation
Y(s)
U(s) 1
1
2
RCs
LCs
Signal flow graph
18.
By
Biruk
T.
18
Transfer function &Block diagrams from
differential equations
• In control system differential equations can
describe the relation ship b/n the input and
output of the system.
• Which relates the output c(t) to the input
r(t) by taking system parameters and
• Using Laplace transform we transfer this
differential equation into transfer function of the
system.
2.3 Control System Representation
19.
By
Biruk
T.
19
• Taking allinitial conditions zero, the Laplace transform
becomes:
• Then, the input output ratio becomes;
• We call it this ratio of output signal to input signal,
G(s), as the Transfer Function of the system.
• Block diagrams
2.3 Control System Representation
20.
By
Biruk
T.
20
2.4 System MathematicalModelling
Mathematical Modelling of Electrical Networks
oElectrical circuits with passive elements:
Example:
Determine the mathematical modelling and the transfer
function for the following electrical system considering
the voltage source as an input & voltage across the
capacitor as an output.
By
Biruk
T.
22
• Taking theLaplace transform assuming all initial
conditions zero:
• Solving the transfer function
Vc(s)/V(s)-Output/Input, we obtain:
• Block diagram representation:
2.4 System Mathematical Modelling
23.
By
Biruk
T.
23
• To simplifysolving our problem, we can take the
Laplace transform equation of voltage-current
relation for all the three electrical elements as
follows(assuming zero initial conditions):
oFor the Capacitor:
oFor Resistor:
oFor Inductor:
oIn general for any impedance combination:
2.4 System Mathematical Modelling
24.
By
Biruk
T.
24
• Hence, theabove problem can be easily solved as:
• Solving V/I
• Calculating voltage across the capacitor in terms of
loop current I:
• Then the mathematical modelling of the system in
the form of TF will be:
2.4 System Mathematical Modelling
25.
By
Biruk
T.
25
oElectrical circuits withactive elements:
• Operational amplifier
It is an electronic amplifier used as a basic
building block for implementing transfer functions:
Circuit diagram for operational amplifier
2.4 System Mathematical Modelling
By
Biruk
T.
27
• Characteristics ofoperational Amplifier:
o Differential input : V2(t) – V1(t)
o High input impedance : Zi = ∞ (ideal)
o Low output impedance: Zo = 0 (ideal)
o High constant gain amplification A= ∞ (ideal)
o Hence, the output Vo(t) = A(V2(t) – V1(t))
• Operational amplifiers:
o Inverting operational amplifier
o Non-inverting operational amplifier
2.4 System Mathematical Modelling
28.
By
Biruk
T.
28
• Inverting operationalamplifier
• From the characteristics of operational amplifier,
since the input impedance is high =0 and from
KCL:
If V2(t) is grounded, the
amplifier is called an
inverting operational
amplifier.
2.4 System Mathematical Modelling
I1(s) = -I2(s)
29.
By
Biruk
T.
29
• Considering thegain A is large VI(t) = 0,
thus
oI1(s) = Vi(s)/Z1(s) and
oI2(s) = Vo(s)/Z2(s)
• Equating the above two equation the
transfer function for an inverting
amplifier configured as above becomes:
2.4 System Mathematical Modelling
By
Biruk
T.
32
• Non- InvertingOperational Amplifier:
General non inverting
operational amplifier
Using voltage division
Substituting the above
equations:
For large gain A:
2.4 System Mathematical Modelling
By
Biruk
T.
34
Tip:
• Transfer function& connection diagram for
analogue integrator and differentiator operational
amplifiers.
V2 s
( )
V1 s
( )
1
RCs
V2 s
( )
V1 s
( )
RCs
2.4 System Mathematical Modelling
By
Biruk
T.
36
Example
Determine the transferfunction for the mechanical system taking
the force on the mass as an input and the displacement as output.
2.4 System Mathematical Modelling
f(t) control force
fe (t)= k x(t) linear spring, elastic force,
fa (t) = µv(t) linear viscous friction, friction force
37.
By
Biruk
T.
37
Solution
• Free bodydiagram in time and frequency domain
• Applying newton’s law: ∑ f = 0
In deferential equation form
Taking Laplace transform
The transfer function becomes:
2.4 System Mathematical Modelling
m a(t) = f(t) - fe (t) - fa (t)
38.
By
Biruk
T.
38
• In MechanicalSystems, the number of equations of motion
required is equal to the number of linearly independent
motion which implies a point of motion in a system can still
move if other points of motion are held still or the vice versa.
• It is also called Degree of Freedom.
Exercise: Find the transfer function,
Answer:
2.4 System Mathematical Modelling
By
Biruk
T.
41
Solution
Torques on J1
dueonly to the
motion of J1
Torques on J1
due only to the
motion of J2
Final free-body
diagram for J1
For the first momentum
2.4 System Mathematical Modelling
42.
By
Biruk
T.
42
• For thesecond momentum
Torques on J2
due only to the
motion of J1
Torques on J2 due
only to the motion
ofJ1
Final free-body
diagram for J 2
2.4 System Mathematical Modelling
43.
By
Biruk
T.
43
• From theabove two free body diagram:
Block diagram
2.4 System Mathematical Modelling
44.
By
Biruk
T.
44
oMechanical Systems withGears:
• Most of the systems which are driven by motors
are associated with gear trains for driving the
load, which provides mechanical advantage for
rotational systems.
o An input gear with radius r1
and N1 teeth is rotated through
angle 1(t) due to a torque,
ϴ
T1(t).
o An output gear with radius r2
and N2 teeth responds by
rotating through angle 2(t) and
ϴ
delivering a torque, T2(t)-.
o Let us now find the relation-ship
between the rotation of
Gear1, 1(t) and Gear2, 2(t)
ϴ ϴ
2.4 System Mathematical Modelling
45.
By
Biruk
T.
45
• The distancetravelled along each gear
circumstance is equal:
• The number of teeth along the circumstance is
proportional with the radius:
• Torque relation for input and output gear:
• From the above equations we get:
2.4 System Mathematical Modelling
By
Biruk
T.
47
Solution
a) Equivalent
system atthe
output after
reflection of input
torque
b) Equivalent
system at the input
after reflection of
impedances
2.4 System Mathematical Modelling
48.
By
Biruk
T.
48
• Hence theequation of motion for the first case:
• Substituting 2 with 1,
ϴ ϴ 2= 1
ϴ ϴ
• After simplification
Which gives representation in the form of part b
2.4 System Mathematical Modelling
49.
By
Biruk
T.
49
Exercise:
Find the transferfunction for the following system
taking the angular displacement of the second
inertia as an output when we apply an input torque
on the first inertia:
2.4 System Mathematical Modelling
50.
By
Biruk
T.
50
oMathematical Modelling for
ElectromechanicalSystems:
• Most systems in Mechatronics are of the mixed type,
e.g., electromechanical, hydromechanical, etc
• Electromechanical systems are systems which have
both electrical and mechanical variable.
• It has different application areas: Robot control,
Trackers (ex. Sun & star tracking), Computer tape
& Disk drives, different servo applications.
• Motor is one of the electromechanical system which
yields a displacement output taking voltage as
an input:
2.4 System Mathematical Modelling
51.
By
Biruk
T.
51
Example:
• Mathematical modellingfor DC motor
(Electromechanical system)
Input: Voltage u
Output: Angular velocity,
or angular position, ϴ
ea
ia
dc
Ra La
J
m
Dm
eb
2.4 System Mathematical Modelling
By
Biruk
T.
53
• Power transformation
•Combing previous equations results in the
following mathematical model:
• Taking Laplace transform of the system’s
differential equations with zero initial conditions
gives:
a
t
m i
K
T
m
b
b ω
K
e
0
a
a
m
b
i
e
t
m
m
a
a
a
a
K
-
Dω
ω
J
K
i
R
dt
di
L
2.4 System Mathematical Modelling
54.
By
Biruk
T.
54
• Eliminating Iayields the input-output transfer
function
• Most of the time Ra >>La for DC motors. Hence, we
can take La = 0.
• Assuming small inductance, La 0
{¿(La 𝑠+Ra)I𝑎(𝑠)+K𝑏 Ω𝑚 (𝑠)=𝐸𝑎(𝑠)
¿(Js+D)Ω𝑚 (s)− Kt 𝐼𝑎(𝑠)=0
Ωm(s)
Ea(s)
=
Kt
La J s
2
+(J Ra+D La) 𝑠+ D Ra+K t 𝐾𝑏
Kt/Ra
𝐽𝑠+(𝐷+𝐾𝑡𝐾𝑏/𝑅𝑎)
2.4 System Mathematical Modelling
55.
By
Biruk
T.
55
Reading assignment 1
•Mathematical Modelling for fluid Systems:
o Hydraulic and
o Pneumatic systems
• Mathematical Modelling for thermal Systems:
2.4 System Mathematical Modelling
By
Biruk
T.
57
Block diagram reduction
•Block arrangements
oCascade/series
oParallel
oFeedback
Cascaded/series blocks
Considering that the
interconnected subsystem has
no loading effect on the
adjacent subsystem.
2.5 Block Diagram Algebra
58.
By
Biruk
T.
58
Parallel blocks
Blocks withtheir input signals has the same takeoff
point and their output signal sinks at the same summing
junction.
2.5 Block Diagram Algebra
By
Biruk
T.
60
Rules
Moving blocks
If necessaryfor block reduction move blocks before and
after a summing points, pickoff points.
1. Moving block before a summing point
2. Moving block ahead a summing point
2.5 Block Diagram Algebra
By
Biruk
T.
67
2.6 Signal flowGraph
• Signal-flow graphs are an alternative to block diagrams.
• Unlike block diagrams, which consist of blocks, signals,
summing junctions, and pickoff points,
• A signal-flow graph consists only of branches which
represent systems, and nodes which represent signals.
• A signal is a node with the signal's name written
adjacent to it.
R(s) C(s)
)
(s
G
)
(s
R )
(s
C
68.
By
Biruk
T.
68
oTerminologies on Signalflow graphs
• Node: It is a point representing a variable.
o Input Node : Node which has only outgoing branches.
X1 is input node.
o Output node/ sink node: Only incoming branches,
X2.
o Mixed nodes: Has both incoming and outgoing
branches.
• Branch : A line joining two nodes.
• Transmittance : It is the gain between two
nodes. It is generally written on the branch near
the arrow i.e. G.
2.6 Signal flow Graph
branch node
X2
X1 G
node
By
Biruk
T.
70
NB:
oIf a summingpoint is placed before a take off point in
the direction of signal flow, in such a case the summing
point and take off point shall be represented by a single
node.
oIf a summing point is placed after a take off point in
the direction of signal flow, in such a case the summing
point and take off point shall be represented by separate
nodes connected by a branch having transmittance unity.
2.6 Signal flow Graph
By
Biruk
T.
72
oSignal flow graphreduction
• It is a technique for reducing signal-flow graphs to
single transfer functions that relate the output of a
system to its input.
• To reduce signal flow graphs we will follow
Mason’s Rule.
• First let’s define terminologies which helps to
evaluate Mason’s Rule.
• Path: It is the traversal of connected branches in
the direction of branch arrows, such that no node is
traversed more than once.
2.6 Signal flow Graph
73.
By
Biruk
T.
73
• Forward path: A path which originates from the
input node and terminates at the output node and
along which no node is traversed more than once.
• Forward Path gain : It is the product of branch
transmittances of a forward path.
• Loop : Path that originates and terminates at the
same node and along which no other node is
traversed more than once.
• Self loop: Path that originates and terminates at
the same node.
o Loop gain: it is the product of branch transmittances
of a loop.
2.6 Signal flow Graph
74.
By
Biruk
T.
74
• Non-touching loops:Loops that don’t have any
common node or branch.
Example 1
o Forward Path: direct path from R(s) to C(s)
o Forward path gain 1: G1G2G3G4
o Forward path gain 2: G5G6G7G8
L 1 = G2 H2 L 2 = H3
L3= G7 H7
Non-touching loops are L1 & L2, L1 & L3, L2 &L3
Self loop: L2 =H3
2.6 Signal flow Graph
By
Biruk
T.
76
• For theabove flow graph: we have two forward paths
and their corresponding gain becomes:
• Non touching loops:
• Non touching loop gain
o The product of loop gains from non-touching loops taken
two, three, four, or more at a time
• All three of the non-touching-loop gains taken two at
a time are
2.6 Signal flow Graph
77.
By
Biruk
T.
77
• In ourexample there are no non-touching-loop
gains taken three at a time since three non-
touching loops do not exist.
At this point we can drive Mason’s Equation:
• The Transfer function C(s)/R(s):
Where;
k= number of
forward paths
Tk= the k forward-
path gain
th
2.6 Signal flow Graph
78.
By
Biruk
T.
78
∆ =1 – (Σ loop gains) + (Σ non-touching loop
gains taken two at a time) – (Σ non-touching loop
gains taken three at a time)+ so on.
∆ k = 1 – (loop-gain which does not touch the Kth
forward path)
Example:
Find the transfer function C(s)/R(s) from the signal flow
graph.
2.6 Signal flow Graph
79.
By
Biruk
T.
79
Solution:
• It hasonly one forward path gain:
• Identifying loop gains: there are fours
• Identifying non-touching loop and calculating
gains:
• Taken two at a time:
T1 =
2.6 Signal flow Graph
80.
By
Biruk
T.
80
Taken three ata time:
Calculating
(Since we have only one forward path)
2.6 Signal flow Graph
Substituting the above equation in to the Mason’s rule: