Lecture6 Transfer Functions 2024
Lecture6 Transfer Functions 2024
Topics covered:
• Input - Output
• Block diagrams
1 Introduction
In this course we will primarily be dealing with linear time-invariant systems
and Classical Control Theory, which is a branch of control theory that uses
the Laplace transform as a basic tool to model LTI systems. As was briefly
discussed, the Laplace transform allows us to convert a linear time-invariant,
ordinary di↵erential equation into a transfer function, which a frequency-
domain type of model.
1
2 Input - Output for Systems
2.1 Notions
It is important that we clarify the meanings of the terms INPUT and OUT-
PUT in control theory.
• It informs how the output is a↵ected by the input. This implies that,
for a given system, a di↵erent choice of input and/or output leads to a
di↵erent transfer function
2
Example 1: Take the example of a house heating system. One choice of
input-output variables is heater fuel burn rate and kitchen temperature, but
equally valid would be the choice of outside temperature and living room
temperature.
Example 2: Gear-train: Let gear 1 be the input or drive gear, and gear 2
be the output or driven gear.
• Input gear: N1 teeth
• Output gear: N2 teeth
3
If we know torque applied on the input gear T1 (t) at time t, we want to
find the torque applied on the output gear T2 (t) we can use:
N2
T2 (t) = T1 (t) ! ..............................
N1
4
3 The Transfer Function (TF)
Definition: The Transfer Function is the ratio of the Laplace transform of
the output over the Laplace transform of the input, with all initial conditions
assumed to be zero.
Assuming all initial conditions are zero and taking the Laplace transform
of both sides, we obtain:
...............................................................
We can write
Y (s) = G(s)R(s),
and represent the system in the following block diagram form.
...........................
5
If the TF and input of the system are known, we can calculate the response
by simply multiplying the two.
Example 1: Find the transfer function of the following system and then
determine its response to a unit step input
..................................................
...................................................
1
Since r(t) = u(t), R(s) = and
s
= ..............................
where
k1 = .........................
k2 = .............................
6
Y (s) = ..............................................
y(t) = .................................................
s2 + 4s + 3
G(s) = .
s3 + 3s2 + 7s + 5
........................................................
7
4 Transfer modeling of electrical networks
• We will discuss the application of the transfer function to the mathemat-
ical modeling of electrical circuits
• Applying the Laplace transform for the above formulations between volt-
age and current results in:
– Resistor: ....................................
– Capacitor: ...................................
– Inductor: ....................................
• Assuming that V (s) is the output and I(s) is the input, the transfer
function (inductance) is defined as:
...........................................................
8
• Similarly, the relationship between the voltage and current can be also
defined as:
– Resistor: ........................
– Capacitor: .........................
– Inductor: ...........................
• Assuming that I(s) is the output and V (s) is the input, the transfer
function (admitance) is defined as:
...........................................................
• Mesh and nodal analysis are two very powerful methods for analyzing
any circuit. These methods are based on the systematic application of
Kirchho↵’s laws.
9
4.1 Mesh analysis
Mesh analysis is a method used to obtain transfer functions based on Kirch-
ho↵’s voltage law. Voltages are summed around loops or meshes.
Example 1: Find the transfer function relating the capacitor voltage Vc (s) to
the input voltage V (s) in the figure below:
• Inputs: ....................
• Outputs: ......................
2. Summing the voltages around the loop, assuming zero initial conditions
..........................................................
10
dq(t)
(a) Change variables from current to charge using: i(t) = dt results
in: ..........................................................
(b) Considering that q(t) = Cvc (t) the above equation can be written
as:
..........................................................
..........................................................
..........................................................
11
4.2 Nodal analysis
Nodal analysis is a method to obtain the transfer function using Kirchho↵’s
current law in which currents are summed at the nodes of the system.
Steps:
2. Replace passive element values with their admittance and all sources and
time variables with their Laplace transforms
Example 3: Consider the simple circuit defined previously. Using nodal anal-
ysis compute the transfer function Vc(t)/V(t)
Solution:
The transfer function can be obtained by summing currents flowing out
of the node whose voltage is v(t). We assume currents leaving the node are
positive and currents entering the node are negative.
• Inputs: .............................................
• Outputs: ............................................
12
2. By taking the Laplace transform for the relationships between voltage
and current across a capacitor, resistor and inductor, the transform cir-
cuit becomes:
V (s)
3. From the impedance function we know that I(s) = Z(s) results in:
......................................
4. Solving the above equation for transfer function Vc (s)/V (s), yields:
......................................
13
4.3 TF of Translational Mechanical Systems
Impedance
Component Voltage-current Voltage-charge
Z(s) = V (s)/I(s)
R
Capacitor v(t) = C1 i(t)dt 1/Cs v(t) = C1 q(t)
Resistor v(t) = Ri(t) R v(t) = Rdq(t)/dt
Inductor v(t) = Ldi(t)/dt Ls v(t) = Ld2 q(t)/dt2
Electrical Mechanical
Voltage Force
Current Velocity
Charge Displacement
Resistor Damper
Capacitor Spring
Inductor Mass
Kircho↵’s voltage law Newton’s 2nd law
(Sum of impedances) I(s) (Sum of impedances) X(s)
= (Sum of applied voltages) = (Sum of applied forces)
14
Example 1 Find the TF X(s)/F (s) of the mass-spring-damper system
..............................................................
..............................................................
15
Figure 1: Complex mechanical system
Solution: We’ll have one equation for the motion of mass 1 and one for the
motion of mass 2.
! !
Sum of impedances Sum of impedances
X1 (s) X2 (s)
connected to M1 only between M1 and M2
!
Sum of external
=
forces applied to M1
! !
Sum of impedances Sum of impedances
X1 (s) + X2 (s)
between M1 and M2 connected to M2 only
!
Sum of external
=
forces applied to M2
16
4.4 TF of Rotational Mechanical Systems
Rotational mechanical systems are handled the same way as translational
ones, except that:
force ! torque
translational rotational
!
displacement/velocity displacement/velocity
mass ! inertia.
17
Example 3: Determine the s-domain equations of motion for the system be-
low.
18