Control Engineering
ME-339
Lec 04: Transfer Function
1
Transfer Function
A nth order linear time invariant differential
equation can be expressed as:
c(t) is the output, r(t) is the input and a, b are the
coefficients dependent on the system.
Taking Laplace transform of both sides:
2
Transfer Function
Assuming that all initial conditions are zero, the equation
reduces to:
Rearranging
G(s) is called the Transfer function of the system and
evaluate it with zero initial conditions.
Transfer function relates input and output of a
system/subsystem.
3
Transfer Function
Block Diagram of a transfer function
Transfer
function examples (in detail for
mechanical and electrical system)
4
5
6
7
Test Waveforms in Control System
8
Transfer Functions
• Electrical Network
• Mechanical System
9
Electrical System Transfer Functions
10
Electrical Network Transfer Functions
Goal: Apply transfer function to mathematical models of
electric circuits.
Table below represents voltage and current relationships
for different components under zero initial conditions.
11
Electrical Network Transfer Functions
Kirchhoff’s laws
• KVL = sum of all voltages around a closed loop
equals zero
• KCL = sum of all currents at a node equals zero
Strategy:
• Use the laws, whichever is convenient/suitable for
the electrical network and then equate equal to
zero.
• Using these relationships write the differential
equation, and take Laplace transform.
• Find the transfer function.
12
Example – Transfer Function via Mesh Analysis
Find the transfer function relating capacitor
voltage Vc(s) to input voltage V(s)
Solution:
Assuming zero initial conditions, sum the
voltages around the loop
13
Example – Transfer Function via Mesh Analysis
Taking LT and rearranging the equations:
14
Example – Transfer Function via Mesh Analysis
15
Example – Transfer Function via Mesh Analysis
How concept of impedance simplifies the
solution?
Difference between impedance and R?
• Unlike R, Impedance is applicable to
capacitors and inductors and carries
information for dynamic behaviour of the
component.
16
Transformed circuit
17
Example 2.7
18
Example 2.7
19
Complex Circuit via Mesh Analysis
20
Transfer functions- Multi loop
21
Complex Circuit via Nodal Analysis
22
Example 2.12
which states that a voltage source, V(s), in series with an impedance, Z s(s), can
be replaced by a current source, I(s) — V(s)/Zs(s), in parallel with Zs(s).
23
Translational Mechanical System
Transfer Functions
24
Translational Mechanical System Transfer Functions
K = spring constant
fv = coefficient of
viscous friction
M = mass
25
Translational Mechanical System Transfer Functions
Mechanical systems have direct analogy
with Electrical Systems
Energy storage elements:
• Spring and mass <------> capacitor and inductor
Energy dissipating element:
• Viscous damper <------> resistance
26
Translational Mechanical System Transfer Functions
Mechanical Force <-----> Electrical
Voltage
Mechanical Velocity <------> Electrical
Current
Displacement <---->
charge
27
Example – One Equation of Motion
Find the transfer function, X(s)/F(s).
Solution:
Step 1: Free Body Diagram:
Step 2: Write differential equation of motion using Newton’s law.
Step 3: Take Laplace transform, assuming zero initial conditions
28
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following
system
For problems with multiple degree of freedom, we draw the
free-body diagram for each point of motion and then use
superposition. For each free-body diagram we begin by
holding all other points of motion still and finding the forces
acting on the body due only to its own motion.
29
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
The system has two degrees of freedom, since both masses
can be moved in the horizontal direction while other is held
still.
30
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
Step 1: Get equation of motion by free body diagram for
each mass M1 and M2.
• For M1
Hold M2 Still and move M1 towards Hold M1 Still and move M2 towards
right right
31
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
Step 1: Get equation of motion by free body diagram for
each mass M1 and M2.
• For M1 ,the total force is superposition or sum of the two forces:
+ =
32
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
Step 1: Get equation of motion by free body diagram for
each mass M1 and M2.
• For M2
Hold M1 Still and move M2 towards Hold M2 Still and move M1 towards
right right
33
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
Step 1: Get equation of motion by free body diagram for
each mass M1 and M2.
• For M2 ,the total force is superposition or sum of the two forces:
+ =
34
Transfer Function – Two degree of freedom
Find the transfer function X2(s)/F(s) for the following system
Step 2: Write the equation of Motions for both M1 and M2.
35
Rotational Mechanical System
Transfer Functions
36
Introduction
Allconcepts remain same but instead of
translation, we now consider rotation
Torque replaces force
Angular displacement replaces
translational displacement
Mass is replaced by inertia
37
Spring
Constant
D = Coefficient
of viscous
friction
J = Moment of
Inertia
38
Example
Find the transfer function θ2(s)/T(s)
2 degrees of freedom, since each inertia can be held still while other is
rotated. Therefore 2 equations can be formed
J1 Still,
Torques on J1 Total/Sum
J 2
rotating
J2 Still,
J1
rotating
39
Example
Find the transfer function θ2(s)/T(s)
2 degrees of freedom, since each inertia can be held
still while other is rotated. Therefore 2 equations can
be formed J Still,
2
Total/Sum
J
Torques on J 1
2 rotating
J1 Still,
J2
rotating
40
Example
Find the transfer function θ2(s)/T(s)
2 degrees of freedom, since each inertia can be held
still while other is rotated. Therefore 2 equations can
be formed
Equations of Motion
41
Transfer Function for Systems with gears
Important since systems with motor are
difficult to be found without gears.
Gears provide mechanical advantage to
rotational systems.
• Gears allow you to match the drive system and the
load- a tradeoff between speed and torque.
• E.g. going uphill (more torque and less speed) and
vice versa for straight path.
• For these systems, no backlash is considered.
42
What is backlash?
Loose fit between two meshed gears
Driver gear rotates through a small angle
before making contact with meshed
gear.
As a result, angular displacement of
output gear doesn’t occur until a small
angular displacement of input gear has
occurred.
43
Transfer Function for Systems with gears
Notations
• r radius
• N number of teeth
• T torque
• Θ angular displacement
As the gear turns, the distance travelled along each gears
circumference is the same
As the ratio of number of teeth along circumference is in the
same proportion as the ratio of radii
44
Transfer Function for Systems with gears
Relationship between input torque T1 and delivered torque
T2?
Assuming no losses i.e., gear don't absorb or store energy:
energy in gear 1 = energy in gear 2
So
45
Transfer Function for Systems with gears
Important relations
46
Transfer Function for Systems with gears
Affect on mechanical impedances due to gears?
• Figure shows gear driving a rotational inertia, viscous damper and spring.
Representing equivalent system at Theta1 without gears.
Can we reflect mechanical impedances from output to input, thereby
eliminating gears.
Equivalent system by reflecting
Rotational System driven by input at the output
Gears
Since
T1 can be reflected to the output by multiplying N2/N1. Therefore eq of motion:
47
Transfer Function for Systems with
gears
Now convert θ2 into equivalent θ1 so that it will
look as if it were written at input.
Equivalent system by reflecting Equivalent system at the
input at the output input after reflection of
impedances
Since
θ1 can be reflected to the output by multiplying
N1/N2
48
Transfer Function for Systems with
gears
Equivalent system at the input after reflection of impedances
*Rotational Mechanical impedances can be
reflected through gear trains by multiplying the
Mechanical impedance by the ratio
49
Example
Find the transfer function θ2(s)/T1(s)
First, reflect impedances(J1 and D1) by using (N 2/N1)2 and Torque (T1) by
using (N2/N1) from input to output
50
Gear Trains
A gear train is used to implement large gear ratio by
cascading smaller gear ratios.
*For gear trains, the
equivalent gear ratio is simply
the product of individual gear
ratios
51
Example 2.22
52
53
displacement and current are not analogous.
54
Electric circuit analogs
55
Example 2.24
56