Me Lab Prelim Laboratory
Me Lab Prelim Laboratory
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
SEMESTER:
YEAR/SECTION:
Prepared by:
GILBERT R. ESQUILLO, PME
1
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
COURSE DESCRIPTION
OBJECTIVES
2
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Module 1
Introduction to Control System
INTRODUCTION
Control Systems is an interdisciplinary topic involving all different
types of engineering and it has applications everywhere, from small
electronic circuits to a big industrial robot. Even our own body is a
very good example of a control system. How? We shall see!
OBJECTIVE
After completing this module, you should be able to determine the
difference between open-loop control system and a closed-loop control
system.
DISCUSSION
Before we find out what control systems are, let’s first understand
what is meant by a system. A system is a collection of things that
are put together with the intention to perform a specific task. When
we excite a system with an input, we get a certain response. A
resistor, a capacitor, an air conditioner, an automobile are some
examples of systems. Sometimes a system is referred to as a
“plant.”
3
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Now, the potato being cooked depends on a lot of factors like the
size of the potato, its freshness, etc. Simply setting a fixed time
in the timer doesn’t ensure that the potato is cooked. So, what do
we do?
Here, if the potato is not fully cooked, the cookometer will add up
extra cooking time and make sure the potato is fully cooked.
Open loop systems are one way signal flow systems. As these systems
doesn’t contain any feedback i.e., the output is not fed back to the
input, these are also known as Non-Feedback Systems.
4
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Disadvantages
The bandwidth of open loop control system is less.
The non-feedback system doesn’t facilitate the process of
automation.
Open loop systems are inaccurate in nature and also unreliable.
If their output is affected by some external disturbances,
there is no way to correct them automatically as these are non-
feedback systems
5
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Advantages
can control for external factors
more reliable and stable output
resilient to disturbances and changes
more resource-efficient
Disadvantages
more complex
requires tuning or integration
susceptible to oscillation or runaway conditions
sensor failure can cause unwanted system performance
6
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
7
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
MODULE 2
LAPLACE TRANSFORM
INTRODUCTION
Laplace Transform is widely used by electronic engineers to solve
quickly differential equations occurring in the analysis of
electronic circuits. In system modeling, Laplace Transform is used to
simplify calculations in system modeling, where large number of
differential equations are used.
The Laplace Transform can be interpreted as a transformation from
time domain where inputs and outputs are functions of time to the
frequency domain where inputs and outputs are functions of complex
angular frequency.
Laplace Transform methods have a key role to play in the modern
approach to the analysis and design of engineering system. The
concepts of Laplace Transforms are applied in the area of science and
technology such as Electric circuit analysis, Communication
engineering, Control engineering and Nuclear physics etc.
The Laplace equations are used to describe the steady-state
conduction heat transfer without any heat sources or sinks. Laplace
equations can be used to determine the potential at any point between
two surfaces when the potential of both surfaces is known.
OBJECTIVE
After completing this module, you should be able to have an
understanding how to use Laplace Transform in Science and
Engineering fields, specifically, Control Engineering.
DISCUSSION
8
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Laf(t) aL f (t )
2. Linearity Property
If a and b are constant while f(t) and g(t) are functions of t
whose Laplace transform exists, then
9
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Example: f (t ) 5t 2
Solution:
L(5t 2) 5 L(t ) sL(1)
1 1
L(5t 2) 5 2 2
s s
5 2
L(5t 2) 2
s s
1
L(5t 2) 2 5 2 s
s
Solution:
n!
L (t n )
s n 1
3!
L (t 3 ) 31
s
6
L (t 3 ) 4
s
Thus,
L e 2t t 3
6
s 2 4
Lg(t) e as F ( s )
f t 12 t 1
Example: Find the Laplace transform of g (t )
0 t 1
Solution:
Lg t e as F (s)
F ( s) L(t 2 ) and a=1
10
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
2
F ( s)
s3
Thus,
2
Lg t e s 3
s
2e s
Lg t 3
s
Solution:
1 s
If Lf(at) F , then by change of scale property,
a a
s2 s 1
Lf(t)
2s 12 s 1
2
s s
1
1 2 2
Lf(2t) x 2
2 s s
2 2 1 2 1
s2 s
1
1 4 2
Lf(2t) x
2
s 12 s 1
2
1 4
1 2
s 2s 4
Lf(2t) x
2 1 s 12 s 2
2
Lf(2t)
s 2s 4
2
4s 1 s 2
2
11
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
6. Multiplication by Power of t
If Lf(t) F ( s ) , then,
L t n f(t) 1
n dn
ds n
F s 1 F n s
n
Where n=1, 2, 3, …
Solution:
L t n f(t) 1
n dn
ds n
F s
s
Lcos2t
s 22
2
s
Lcos2t 2
s 4
1
1 d s
Ltcos2t 1 1 2
ds s 4
( s 2 4)(1) s(2 s)
Ltcos2t
( s 2 4) 2
s 2 4 2s 2
Ltcos2t 2 2
( s 4)
4 s2
Ltcos2t
s2 4
2
s 4
2
Ltcos2t
s 2
4
2
7. Division by t
If Lf(t) F ( s ) , then,
f t
L F u du
t s
f t
Provided lim exists.
t 0
t
sin t
Example: Find the Laplace transform of f (t ) .
t
Solution:
12
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
1
Lsint
s 1
2
sint du
L 2
t s u 1
sint
arctan u s
L
t
sint
limarctan u s
a
L
t a
sint
L limarctan a arctan s
t a
Let
z=arctan a - arctan s
x=arctan a, tan x = a
y=arctan s, tan y = s
Hence,
z = x - y
Thus,
13
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
sint a s
L lim arctan
t a
1 as
a s
sint
L lim arctan a a
t a 1 as
a a
s
1
sint a
L lim arctan
t a
1
s
a
s
1
sint
L arctan
t 1 s
a
s
1
sint
L arctan
t 1 s
a
sint 1 0
L arctan
t 0 s
sint 1
L arctan
t s
8. Transforms of Derivatives
The Laplace transform of the derivative f’(t) exists when s > a,
and
L f n (t) s n L f t s n 1 f 0 s n 2 f ' 0 s n 3 f " 0
Lf" t s 2 L f t sf (0) f ' (0) Lf" t s 2 L f t sf (0) f ' (0)
14
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Thus,
Lf' t e st f (t ) 0 f (t )( se st dt )
0
f (t )
Lf' t st s e st f (t )dt )
e 0 0
f (t )
Lf' t st sL f t
e 0
f (t )
Lf' t st sL f t
e 0
f ( ) f (0)
Lf' t 0 sL f t
e e
Lf' t f (0) sL f t
Lf' t sL f t f (0)
15
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Solution:
f (t ) t 3 ........... f (0) 0
f ' (t ) 3t 2 ........ f ' (0) 0
f " (t ) 6t......... f " (0) 0
f " ' (t ) 6
16
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Inverse of Transform
17
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Theorem 1.
If a and b are constants,
L-1af(s) bg(s) aL1 f ( s ) bL1 g ( s )
Theorem 2.
L-1f(s) e at L1 f s a
8 3s s 2
Example 1: Find the inverse transform of .
s3
Solution:
8 3s s 2 1 8 3s s 2
L1 L 3
s3 s s3 s3
8 3s s 2 1 1 1 1 1 1
L1 3 8 L 3 3L 2 L
s s s s
8 3s s 2 t 31 t 21
L1 8 3 1
s3 3 1! 2 1!
8 3s s 2 t2 t
L1 3 8 3 1
s 2 1
8 3s s 2
L1 3 4t 3t 1
2
s
Solution:
5 4s 1 1 s
L1 2 5 L1 4L 2
s 2 s 9 s2 s 9
5 4s 1 s
L1 2 5e 2t L1 4 L1 2 2
s 2 s 9 s s 3 5 4s
2
5 4s s2 s 9
L1 2 5e 2t 1 4 cos 3t
s 2 s 9
5 4s
L1 2 5e 4 cos 3t
2t
s 2 s 9
18
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
SKILL-ASSESSMENT EXERCISES 2
7 7 6
1. Find the inverse transform of . (Ans. sin 6t )
s 6 2
6
s5
2. Perform the indicated operation: L1 2 .
s s 6
8 3
(Ans. e 3t e 2t )
5 5
3. Find the Laplace transform of f (t ) sin 2 t using the transform of
2
derivatives. (Ans. )
s s 4
2
4. Find the Laplace transform of f (t ) e 5t using the transform of
1
derivatives. (Ans. )
s 5
sin 2 t 1 s2 4
5. Find the Laplace transform of f (t ) . (Ans. ln 2 )
t 4 s
2 s ( s 2 27)
6. Find the Laplace transform of f (t ) t 2 cos 3t . (Ans. )
9
3
s 2
7. Supposed that the Laplace transform of a certain funtion f (t ) is
s2 s 1
, find the Laplace transform of f(2t).
(2 s 1) 2 ( s 1)
s 2 2s 4
(Ans. )
4s 1 s 2
2
f (t 2)3 t 2
8. Find the Laplace transform of g (t )
0 t2
6e 2 s
(Ans. )
s4
2
9. Find the Laplace transform of f (t ) et sinh 2t .(Ans. )
s 2s 3
2
s
L(cosh at ) .
s a2
2
19
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
MODULE 3
TRANSFER FUNCTION
INTRODUCTION
In engineering, a transfer function (also known as system function or
network function) of a system, sub-system, or component is
mathematical function that theoretically models the system's output
for each possible input. They are widely used in electronics and
control systems. In some simple cases, this function is a two-
dimensional graph of an independent scalar input versus the dependent
scalar output, called a transfer curve or characteristic curve.
Transfer functions for components are used to design and analyze
systems assembled from components, particularly using the block
diagram technique, in electronics and control theory.
The dimensions and units of the transfer function model the output
response of the device for a range of possible inputs. For example,
the transfer function of a two-port electronic circuit like an
amplifier might be a two-dimensional graph of the scalar voltage at
the output as a function of the scalar voltage applied to the input;
the transfer function of an electromechanical actuator might be the
mechanical displacement of the movable arm as a function of
electrical current applied to the device; the transfer function of a
photodetector might be the output voltage as a function of the
luminous intensity of incident light of a given wavelength.
OBJECTIVE
After completing this module, you should be able to used transfer
functions to design and analyze systems assembled from components,
particularly using the block diagram technique, in electronics and
control theory.
DISCUSSION
20
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Where r(t) and c(t) are time domain function of input and output
signal respectively.
There two are major ways of obtaining a transfer function for the
control system. The ways are:
21
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
by a block diagram.
Block diagram reduction techniques are applied to obtain the desired
transfer function.
Signal Flow Graphs: The modified form of a block diagram is a signal
flow graph. Block diagram gives a pictorial representation of a
control system. Signal flow graph further shortens the representation
of a control system.
Solution:
Solution:
For impulse response, the output C(s) of the system is equal
to transfer function of the system.
22
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Solution:
The differential equation form of the above statement is
23
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
The mechanical
system requires just one differential equation, called the equation
of motion, to describe it. We will begin by assuming 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. Using our assumed direction of
positive motion, we 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. Next, we 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.
24
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
SOLUTION:
Begin the solution by drawing the free-body diagram shown in
Figure 1(a). Place on the mass all forces felt by the mass. We assume
the mass is traveling toward the right. Thus, only the applied force
points to the right; all other forces impede the motion and act to
oppose it. Hence, the spring, viscous damper, and the force due to
acceleration point to the left. We now write the differential
equation of motion using Newton’s law to sum to zero all of the
forces shown on the mass in Figure 1 (a.1):
Or
25
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
which is represented
in Figure 1(b).
SOLUTION:
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 to M1 through the system. We
will consider these two sources separately. If we hold M2 still and
move M1 to the right, we see the forces shown in Figure 2.1(a). If we
hold M1 still and move M2 to the right, we see the forces shown
in Figure 2.1(b). The total force on M1 is the superposition, or sum,
of the forces just discussed. This result is shown in Figure 2.1(c).
For M2, we proceed in a similar fashion: 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. The results
appear in Figure 2.2.
26
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
27
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Ans.
equation .
Ans.
3. Find the differential equation corresponding to the transfer
function
Ans.
4. Find the ramp response for a system whose transfer function is
Ans.
5. Find the transfer function, G(s)= X(s)/F(s), for the translational
mechanical system shown in Figure below.
28
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Ans.
29
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
MODULE 4
BLOCK DIAGRAM AND SIGNAL FLOW GRAPH
INTRODUCTION
In this section, multiple subsystems are represented in two ways: as block
diagrams and as signal-flow graphs. Although neither representation is
limited to a particular analysis and design technique, block diagrams are
usually used for frequency-domain analysis and design, and signal-flow
graphs for state-space analysis.
DISCUSSION
Block Diagram
31
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Figure 3.0. The space shuttle consists of multiple subsystems. Can you
identify those that are control systems or parts of control systems?
32
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Summing junctions
– points were signals are algebraically summed (–)
subtraction indicated by a negative sign near where the
signal joins the summing junction
1.Cascade Form
Or
(1.0)
which is the product of the subsystems’ transfer functions.
33
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
(1.1)
Similarly, the network of Figure 3.3(b) has the following transfer
function:
(1.2)
34
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
(1.3)
(1.4)
Equations (1.3) and (1.4) are not the same: Eq. (1.3) has one more term
for the coefficient of s in the denominator and is correct.
One way to prevent loading is to use an amplifier between the two networks,
as shown in Figure 3.3(d). The amplifier has a high-impedance input, so
that it does not load the previous network. At the same time, it has a
low-impedance output, so that it
looks like a pure voltage source to the subsequent network. With the
amplifier included, the equivalent transfer function is the product of
the transfer functions and the gain, K, of the amplifier.
2.Parallel Form
(1.5)
35
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
3. Feedback Form
The third topology is the feedback form. The feedback system forms the
basis for our study of control systems engineering.
Let us derive the transfer function that represents the system from its
input to its output. The typical feedback system is shown in Figure 3.5(a);
a simplified model is shown in Figure 3.5(b). Directing our attention to
the simplified model,
(1.6)
(1.7)
36
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Substituting Eq. (1.7) into Eq. (1.6) and solving for the transfer
function, C(s)/R(s)= Ge(s), we obtain the equivalent, or closed-loop,
transfer function shown in Figure 3.5(c),
(1.8)
37
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
SAMPLE PROBLEMS
Example 1. Consider a closed-loop system shown here and find the transfer
function of the system:
SOLUTION:
Reducing the 3 directly connected blocks in series into a single block,
we will have:
Further, we can see 3 blocks are present that are connected in parallel.
Thus, on reducing blocks in parallel, we will have:
38
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Therefore,
39
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Node
Node is a point which represents either a variable or a signal. There are
three types of nodes — input node, output node and mixed node.The junction
points that are used to represent varaibles.
Branch - Is a line segment which joins two nodes. It has both gain and
direction.
Mixed Node − It is a node, which has both incoming and outgoing branches.
40
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
The nodes present in this signal flow graph are y1, y2, y3 and y4.
y1 and y4 are the input node and output node, respectively.
y2 and y3 are mixed nodes
y2 = a12y1+a42y4
y3=a23y2+a53y5
y4=a34y3
y5=a45y4+a35y3
y6=a56y5
There will be six nodes (y1, y2, y3, y4, y5 and y6) and eight branches
in this signal flow graph. The gains of the branches are a12, a23, a34,
a45, a56, a42, a53 and a35.
To get the overall signal flow graph, draw the signal flow graph for each
equation, then combine all these signal flow graphs and then follow the
steps given below
41
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Step 3 − Signal flow graph for y4=a34y3 is shown in the following figure.
Step 5 − Signal flow graph for y6=a56y5 is shown in the following figure.
42
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
Example 3. Let us convert the following block diagram into its equivalent
signal flow graph.
Represent the input signal R(s) and output signal C(s) of block diagram
as input node R(s) and output node C(s) of signal flow graph.
Just for reference, the remaining nodes (y1 to y9) are labelled in the
block diagram. There are nine nodes other than input and output nodes.
That is four nodes for four summing points, four nodes for four take-off
points and one node for the variable between blocks G1 and G2.
43
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
2. Using Block Diagram Reduction, find the transfer function of the system
whose block diagram is shown in the below figure.
3. Using the block diagram reduction technique, determine the closed loop
transfer function C(s)/R(s).
44
SOUTHERN LUZON STATE UNIVERSITY
COLLEGE OF ENGINEERING
LUCBAN, QUEZON
4. In the signal flow graph of figure, the gain c/r will be:
5. The signal flow graph of a system is shown in the below figure. The
transfer function c(s)/R(s) of the system is:
45