Professional Documents
Culture Documents
SYSTEMS
1/11/2016
Topics to be covered include:
Introduction
A brief history of control.
Introducing of some advanced control system.
Important parts of a control system.
1/11/2016
Introduction
System An interconnection of elements and devices for a desired purpose.
1/11/2016
History of Control Engineering
18th Century James Watt’s centrifugal governor for the speed control of a steam
engine.
1920s Minorsky worked on automatic controllers for steering ships.
1930s Nyquist developed a method for analyzing the stability of controlled systems
1940s Frequency response methods made it possibl e to design linear closed-loop
control systems
1950s Root-locus method due to Evans was fully d eveloped
1960s State space methods, optimal control, adaptiv e control and
1980s Learning controls are begun to investigated and developed.
……………………….
……………………….
……………………….
1/11/2016 4
Dr. Ali Karimpour Feb 2013
History of Control Engineering
1/11/2016
History of Control Engineering
1/11/2016
Control System Design process
1. Establish control goals
1/11/2016
Control Systems
• Human System
i. Pancreas
• Regulates blood glucose level
ii. Adrenaline
• Automatically generated to increase the heart rate and oxygen in
• times of flight
iii. Eye
• Follow moving object
iv. Hand
• Pick up an object and place it at a predetermined location
v. Temperature
Regulated temperature of 36°C to 37°C
1/11/2016
A manual level control
system
1/11/2016
Control system for a boiler of a thermal
plant
1/11/2016
A modern high voltage
tranformator
1/11/2016
Transportation
Car and Driver
Desired Actual
course course
of travel + Error Steering of travel
Driver Automobile
Mechanism
-
1/11/2016
Control benefits
1/11/2016
Plant
The physical layout of a plant is an intrinsic part of
control problems.
1/11/2016
Typical flatness control set-up for rolling mill
1/11/2016
A modern rolling mill
1/11/2016
Computing
1/11/2016
In
Summary
In summary:
1/11/2016
In
Summary
Better Sensors
Provide better Vision
BetterActuators
Provide more Muscle
Better Control(Computing)
Provides more finesse by combining sensors and
actuators in more intelligent ways
1/11/2016
Mathematical Modeling of Mechanical Systems
with examples of Mechanical systems &
Electrical systems, Transfer Function with simple
Examples
02/02/2016 1
Learning Outcomes:
02/02/2016 2
Force-velocity, force-displacement, and impedance
relationships for springs, viscous dampers, and mass
02/02/2016 3
where, K, f v, and M are called spring constant, coefficient of viscous friction, and mass, respectively.
Analogies Between Electrical and
Mechanical Components
• Mechanical systems, like electrical networks, have three passive, linear components.
• Two of them, the spring and the mass, are energy-storage elements;
• The two energy-storage elements are analogous to the two electrical energy-storage
• The motion of translation is defined as a motion that takes place along a straight or
curved path. The variables that are used to describe translational motion are acceleration,
velocity,
02/02/2016 and displacement. 4
Newton’s Second Law
𝑭 = 𝑴𝒂
02/02/2016 5
Steps to Obtain the Transfer Function
of Mechanical System.
• The mechanical system requires just one differential equation, called the equation of
motion, to describe it.
• Assume a positive direction of motion, for example, to the right.
• This assumed positive direction of motion is similar to assuming a current direction in an
electrical loop.
• First, draw a free-body diagram, placing on the body all forces that act on the body either
in the direction of motion or opposite to it.
• Second, use Newton’s law to form a differential equation of motion by summing the
forces and setting the sum equal to zero.
• Finally, assuming zero initial conditions, we take the Laplace transform of the differential
equation, separate the variables, and arrive at the transfer function.
02/02/2016 6
Example-1: Find the transfer function, X(s)/F(s), of the system.
• Second step is to write the differential equation of motion using Newton’s law to sum to
zero all of the forces shown on the mass.
02/02/2016 7
Example-1: Continue.
• Third step is to take the Laplace transform, assuming zero initial conditions,
Block Diagram
02/02/2016 8
Impedance Approach to Obtain the
Transfer Function of Mechanical
System.
• Taking the Laplace transform of the force-displacement terms of mechanical
components , we get
02/02/2016 9
Example-2: Solve example-1 using the Impedance Approach.
02/02/2016 10
Example-3: Find the transfer function, X2(s)/F(s), of the system.
• The system has two degrees of freedom, since each mass can be moved in the horizontal
direction while the other is held still.
• Thus, two simultaneous equations of motion will be required to describe the system.
• The two equations come from free-body diagrams of each mass.
• Superposition is used to draw the free body diagrams.
• For example, the forces on M1 are due to (1) its own motion and (2) the motion of M2
transmitted toM1 through the system.
• We will consider these two sources separately.
02/02/2016 11
Example-3: Continue.
Case-I: Forces on M1
All forces on M1
Figure-1.
Case-II: Forces on M2
All forces on M2
02/02/2016 Figure-2. 12
Example-3:
Case-I: Continue.
Forces on M1
• If we hold M2 still and move M1 to the right, we see the forces shown in Figure-1.
• The total force on M1 is the superposition, or sum of the forces, as shown in Figure-1(c).
All forces on M1
Figure-1:
a. Forces on M1 due only to motion of M1;
b. forces on M1 due only to motion of M2;
c. all forces on M1.
• The Laplace transform of the equations of motion can be written from Figure-1 (c) as;
(1)
02/02/2016 13
Example-3:
Case-II: Continue.
Forces on M2
• If we hold M1 still and move M2 to the right, we see the forces shown in Figure-2.
• For M2, First we move M2 to the right while holding M1 still;
• then we move M1 to the right and hold M2 still.
• For each case we evaluate the forces on M2.
All forces on M2
Figure-2:
a. Forces on M2 due only to motion of M2;
b. forces on M2 due only to motion of M1;
c. all forces on M2.
• The Laplace transform of the equations of motion can be written from Figure-2 (c) as;
(2)
02/02/2016 14
Example-3: Continue.
(1)
(2)
Block Diagram
• Where,
02/02/2016 15
Example-4: Write, but do not solve, the equations of motion for the
mechanical network shown below.
• The system has three degrees of freedom, since each of the three masses can be moved
independently while the others are held still.
• M1 has two springs, two viscous dampers, and mass associated with its motion.
• There is one spring between M1 and M2 and one viscous damper between M1 and M3.
02/02/2016 16
Electric Circuit Analogs
• An electric circuit that is analogous to a system from another discipline is called an
electric circuit analog.
• The mechanical systems with which we worked can be represented by equivalent
electric circuits.
• Analogs can be obtained by comparing the equations of motion of a mechanical
system, with either electrical mesh or nodal equations.
• When compared with mesh equations, the resulting electrical circuit is called a series
analog.
• When compared with nodal equations, the resulting electrical circuit is called a
parallel analog.
02/02/2016 17
Series Analog
02/02/2016 18
Analogous Quantities
02/02/2016 19
Mechanical
Electrical
Analog I
Equation
(Force-Current)
02/02/2016 20
voltage of ground=0 velocity of ground=0
(you can apply any current to (you can apply any force to
ground and voltage remains 0) ground and velocity remains 0)
02/02/2016 21
Conversion from Electrical to Mechanical 1 -- Visual Method
a
Draw over circuit, replacing
electrical elements with their
analogs; current sources replaced by
force generators, voltage sources by
input velocities, resistors with
friction elements, inductors with
springs, and capacitors (which must
be grounded) by capacitors. Each
node becomes a position.
02/02/2016 22
The Laplace Transform
Definition
s t
L( f ( t ) ) f ( t) e dt = F(s)
0
s t
f ( t) e dt
this means that the integral converges
0
02/02/2016 23
The Laplace Transform
s t
F1( s ) e dt 1 ( s t ) 1
= e
0 s s
( a t )
b) f2( t) e
( a t ) ( s t )
F2( s ) e e dt 1 [ ( s a) t ] 1
= e F2( s )
0 s1 sa
02/02/2016 24
The Laplace Transform
F
1 s
a a
2. Time scaling f ( at )
d
3. Frequency differentiation t f ( t) F( s )
ds
( a t )
4. Frequency shifting f ( t) e F( s a)
f ( t)
5. Frequency Integration F( s ) d s
t
0
R 1 I( s )
V1( s ) Z1( s ) R
Cs
1
1 Z2( s )
V2( s ) Cs I( s ) Cs
1
V2( s ) Cs Z2( s )
V1( s ) 1 Z1( s ) Z2( s )
R
Cs
02/02/2016 26
Converting a Mechanical System to a Series Analog
Example-5: Draw a series analog for the mechanical system.
(2)
• Eqs (1) & (2) are analogous t0 electrical mesh equations after conversion to velocity.
Thus,
(3)
02/02/2016 (4) 27
Example-5: Continue.
(3)
(4)
02/02/2016 28
Parallel Analog
(1) (2)
(1)
(2)
02/02/2016 30
Example-6: Continue.
(1)
(2)
• The Equation (1) and (2) are also analogous to electrical node equations.
• Coefficients represent sums of electrical admittances.
• Admittances associated with M1 form the elements connected to the first node,
• whereas mechanical admittances b/w the two masses are common to the two nodes.
• Mechanical admittances associated with M2 form the elements connected to the second
node.
• The result is shown in the Figure below, where v1(t) and v2(t) are the velocities of M1
and M2, respectively.
02/02/2016 31
Block Diagram Algebra-its Use in Feedforward Compensation
Figure : Single block diagram representation
G1 G2 G1G2
G1
G1 G2
G2
G G
G
3. Moving a summing point ahead of a block
G G
1
G
G G
1
G
G G
G
6. Eliminating a feedback loop
G
G
1 GH
H
G
G
1 G
H 1
A B B A
Example 1
(a)
G4
R (s ) Y (s )
G1 G2 G3
H2
H1
I
G4
R(s) B A
Y (s )
G1 G2 G3
H2
H1 G2
Solution:
1. Moving pickoff point A ahead of block G2
H2
H1G2
1 H 2 (GH4 2 G2G3 )
G2 H1
G4 G2G3
Using rule 6
R(s) G1 (G4 G2G3 ) Y (s )
1 G1G 2 H1 H 2 (G4 G2G3 )
Y ( s) G1 (G4 G2G3 )
T ( s)
R ( s ) 1 G1G 2 H1 H 2 (G4 G2G3 ) G1 (G4 G2G3 )
(b)
R(s) Y (s )
G1 G2
H1 H2
H3
Solution:
1. Eliminate loop I
R(s) A
G2 I
B
Y (s )
G1 G2
H1
1 GH2 H
2
2
H3
G2
2. Moving pickoff point A behind block 1 G2 H 2
R(s) A G2 B
Y (s )
G1
1 G2 H 2
1 G2 H 2 II
H1 1 G2 H 2
G2 H 3 H1 ( )
G2
H3 Not a feedback loop
3. Eliminate loop II
R(s) G1G2 Y (s )
1 G2 H 2
H 1 (1 G2 H 2 )
H3
G2
Using rule 6
Y (s) G1G2
T ( s)
R( s) 1 G2 H 2 G1G2 H 3 G1 H1 G1G2 H1 H 2
(c)
H4
R(s) Y (s )
G1 G2 G3 G4
H3
H2
H1
Solution:
1. Moving pickoff point A behind block G4
I
H4
R(s) Y (s )
A B
G1 G2 G3 G4
H3 1
H3 G4 G4
H2 1
H2
G4 G4
H1
2. Eliminate loop I and Simplify
R(s) II Y (s )
G2G3G4 B
G1
1 G3G4 H 4
H3
G4
H2
G4 III
H1
R(s) G1G2G3G4 Y (s )
1 G3G4 H 4 G2G3 H 3
H 2 G4 H 1
G4
Using rule 6
Y ( s) G1G2G3G4
T (s)
R( s) 1 G2G3 H 3 G3G4 H 4 G1G2G3 H 2 G1G2G3G4 H1
(d)
H2
R(s) A Y (s )
G1 G2 G3 B
H1
G4
Solution:
1. Moving pickoff point A behind block G3
I
H2
R(s) A B Y (s )
G1 G2 G3
1
H1 G3
1
H1 G3
G4
2. Eliminate loop I & Simplify
H2
B
G2 G3 B G2G3
1 H1
H2
H1 G3 G3
II
R(s) G2G3 Y (s )
G1 1 G2 H1 G2G3 H 2
H1
G3
G4
3. Eliminate loop II
R(s) G1G2G3 Y (s )
1 G2 H1 G2G3 H 2 G1G2 H1
G4
Y ( s) G1G2G3
T ( s) G4
R( s) 1 G2 H1 G2G3 H 2 G1G2 H1
Example 2
Determine the effect of R and N on Y in the
following diagram
N
G4
R Y
G1 G2
H1
G3
In this linear system, the output Y contains two parts,
one part is related to R and the other is caused by N:
Y Y1 Y2 T1R T2 N
Y1 YN 0 T1R
Y2 YR 0 T2 N
Thus, the output Y is given as follows:
Y Y1 Y2 YN 0 YR0
Solution:
1. Swap the summing points A and B
N
G4
II
R G2 Y
G1
1 G2 H1
B A
G3
3. Let N=0
R G1G2 Y
G1G3
1 G2 H1
G1G2
G1G3
1 G2 H1
G4
M
N Y
G1G2G4 G1G2
G1G3G4 G1G3
1 G2 H1 1 G2 H1
6. Eliminate above loops:
1
G1G2G4
1 G1G3G4 G1G2
N 1 G2 H1 1 G1G3 Y
1 G2 H1
Y Y1 Y2
1
[(G1G2 G1G3 G1G2G3 H1 ) R
1 G2 H1 G1G2 G1G3 G1G2G3 H1
(1 G2 H1 G1G2G4 G1G3G4 G1G2G3G4 H1 ) N ]
End
Signal Fow Graph, Masons Gain
formula
1
Outline
• Introduction to Signal Flow Graphs
– Definitions
– Terminologies
– Examples
• Mason’s Gain Formula
– Examples
• Signal Flow Graph from Block Diagrams
• Design Examples
2
Introduction
• Alternative method to block diagram representation,
developed by Samuel Jefferson Mason.
3
Fundamentals of Signal Flow Graphs
• Consider a simple equation below and draw its signal flow graph:
y ax
• The signal flow graph of the equation is shown below;
a y
x
4
Signal-Flow Graph Models
5
Signal-Flow Graph Models
r1 and r2 are inputs and x1 and x2 are outputs
a11 x1 a12 x2 r1 x1
a21 x1 a22 x2 r2 x2
6
Signal-Flow Graph Models
7
Construct the signal flow graph for the following set of
simultaneous equations.
• There are four variables in the equations (i.e., x1,x2,x3,and x4) therefore four nodes are
required to construct the signal flow graph.
• Arrange these four nodes from left to right and connect them with the associated
branches.
8
Terminologies
• An input node or source contain only the outgoing branches. i.e., X1
• An output node or sink contain only the incoming branches. i.e., X4
• A path is a continuous, unidirectional succession of branches along which no
node is passed more than ones. i.e.,
X1 to X2 to X3 to X4 X1 to X2 to X4 X2 to X3 to X4
• A forward path is a path from the input node to the output node. i.e.,
X1 to X2 to X3 to X4 , and X1 to X2 to X4 , are forward paths.
• A feedback path or feedback loop is a path which originates and terminates on
the same node. i.e.; X2 to X3 and back to X2 is a feedback path.
9
Terminologies
• A self-loop is a feedback loop consisting of a single branch. i.e.; A33 is a self
loop.
• The gain of a branch is the transmission function of that branch.
• The path gain is the product of branch gains encountered in traversing a path.
i.e. the gain of forwards path X1 to X2 to X3 to X4 is A21A32A43
• The loop gain is the product of the branch gains of the loop. i.e., the loop gain
of the feedback loop from X2 to X3 and back to X2 is A32A23.
• Two loops, paths, or loop and a path are said to be non-touching if they have
no nodes in common.
10
Consider the signal flow graph below and identify the following
a) Input node.
b) Output node.
c) Forward paths.
d) Feedback paths (loops).
e) Determine the loop gains of the feedback loops.
f) Determine the path gains of the forward paths.
g) Non-touching loops
11
Consider the signal flow graph below and identify the following
12
Consider the signal flow graph below and identify the following
13
Consider the signal flow graph below and identify the following
14
Consider the signal flow graph below and identify the
following
a) Input node.
b) Output node.
c) Forward paths.
d) Feedback paths.
e) Self loop.
f) Determine the loop gains of the feedback loops.
g) Determine the path gains of the forward paths.
15
Input and output Nodes
a) Input node
b) Output node
16
(c) Forward Paths
17
(d) Feedback Paths or Loops
18
(d) Feedback Paths or Loops
19
(d) Feedback Paths or Loops
20
(d) Feedback Paths or Loops
21
(e) Self Loop(s)
22
(f) Loop Gains of the Feedback Loops
23
(g) Path Gains of the Forward Paths
24
Mason’s Rule (Mason, 1953)
• The block diagram reduction technique requires successive
application of fundamental relationships in order to arrive at the
system transfer function.
• On the other hand, Mason’s rule for reducing a signal-flow graph
to a single transfer function requires the application of one
formula.
• The formula was derived by S. J. Mason when he related the
signal-flow graph to the simultaneous equations that can be
written from the graph.
25
Mason’s Rule:
• The transfer function, C(s)/R(s), of a system represented by a signal-flow graph
is;
n
Pi i
C( s ) i 1
R( s )
Where
∆i = value of Δ for the part of the block diagram that does not touch the i-
th forward path (Δi = 1 if there are no non-touching loops to the i-th path.)
27
Systematic approach
28
Example#1: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph
Therefore, C P11 P2 2
R
There are three feedback loops
1 L1 L2 L3
30
Example#1: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph
32
Example#2: Apply Mason’s Rule to calculate the transfer function
of the system represented by following Signal Flow Graph
P1
P2
1 G2 H 2 H 3G3 G6 H 6 G7 H 7
G2 H 2G6 H 6 G2 H 2G7 H 7 H 3G3G6 H 6 H 3G3G7 H 7
34
Example#2: continue
Eliminate forward path-1
1 1 L3 L4
1 1 G6 H 6 G7 H 7
2 1 L1 L2
2 1 G2 H 2 G3 H 3
35
Example#2: continue
Y ( s ) P11 P2 2
R( s )
36
Example#3
• Find the transfer function, C(s)/R(s), for the signal-flow
graph in figure below.
37
Example#3
• There is only one forward Path.
38
Example#3
• There are four feedback loops.
39
Example#3
• Non-touching loops taken two at a time.
40
Example#3
• Non-touching loops taken three at a time.
41
Example#3
42
Example#4: Apply Mason’s Rule to calculate the transfer function
of the system represented by following Signal Flow Graph
3
Pi i
C( s ) i 1 P11 P2 2 P3 3
R( s )
43
Example#4: Forward Paths
44
Example#4: Loop Gains of the Feedback Loops
L1 A32 A23
L5 A76 A67
L2 A43 A34 L9 A72 A57 A45 A34 A23
L6 A77
L3 A54 A45 L10 A72 A67 A56 A45 A34 A23
L7 A42 A34 A23
L4 A65 A56
L8 A65 A76 A67
45
Example#4: two non-touching loops
L1 L3 L2 L4 L3 L5 L4 L6 L5 L7 L7 L8
L1L4 L2 L5 L3 L6 L4 L7
L1L5 L2 L6
L1L6 L2 L8
L1 L8
46
Example#4: Three non-touching loops
L1 L3 L2 L4 L3 L5 L4 L6 L5 L7 L7 L8
L1L4 L2 L5 L3 L6 L4 L7
L1L5 L2 L6
L1L6 L2 L8
L1 L8
47
From Block Diagram to Signal-Flow Graph Models
Example#5
H1
H3
-H1
R(s) 1 E(s) G1 X1 G2 X2 G3 X3 G4 C(s)
-H2
-H3
48
From Block Diagram to Signal-Flow Graph Models
Example#5
-H1
R(s) 1 E(s) G1 X1 G2 X2 G3 G4 X3 1 C(s)
-H2
-H3
C ( s) G1G2G3G4
G
R( s ) 1 G1G2G3G4 H 3 G2G3 H 2 G3G4 H 1
49
Example#6
-
- X1 Y1
G1
R(s) + + C(s)
E(s)
- -X +
2
G2
- Y2
-1
X1 G1 Y1
-1
-1 1
R(s) 1 E(s) C(s)
1 1 1
X2 G2 Y2
-1
-1
50
Example#6
-1
X1 G1 Y1
-1 1
R(s) 1 E(s) -1 C(s)
1 X2 1 Y2 1
G2
-1 -1
7 loops:
3 ‘2 non-touching loops’ :
51
Example#6
-1
X1 G1 Y1
-1 1
R(s) 1 E(s) -1 C(s)
1 X2 1 Y2 1
G2
-1 -1
We have
C( s ) pk k
R( s )
G G1 2G1G2
2
1 2G2 4G1G2
53
Example-7: Determine the transfer function C/R for the block diagram below
by signal flow graph techniques.
• The signal flow graph of the above block diagram is shown below.
• Because the loops touch the nodes of P1, • Hence the control ratio T = C/R is
hence
1
V1 ( s ) I1 ( s ) I1 ( s ) R
Cs
CsV1 ( s ) CsV2 ( s ) I1 ( s )
V2 ( s ) I1 ( s )R
Cs
Cs R
V1 (s ) I1 (s ) V2 (s )
56
Design Example#2
57
Design Example#2
58
Design Example#2
59