Transfer Functions: Student Report Mahmoud Mohamed Khodeir
Transfer Functions: Student Report Mahmoud Mohamed Khodeir
Transfer Functions: Student Report Mahmoud Mohamed Khodeir
Transfer Functions
Student report
2019 \ 2020
Transfer Functions
−1
The basic idea of the transfer function comes from looking at the fre-
quency response of a system. Suppose that we have an input signal that is
periodic. Then we can always decompose this signal into the sum of a set
of sines and cosines,
∞
X
u(t) = ak sin(kωt) + bk cos(kωt),
k=1
y
0.5 0.5
1
0 0 0
0 0.5 1 0 2 4 0 0.5 1
x x x
z=0 z=0.2 z=−0.2
1 20
1
0.5 0.5 10
0 0 0
y
y
−0.5 −0.5 −10
−1
−1 −20
0 5 10 15 0 5 10 15 0 5 10 15
x x x
where σ < 0 determines the decay rate. Many other signals can be rep-
resented by linear combinations of exponentials. Figure 8.2 give examples
of signals that can be represented by complex exponentials. As in the case
of sinusoidal signals, we will allow complex valued signals in the derivation
that follows, although in practice we always add together combinations of
signals that result in real-valued functions.
To investigate how a linear system responds to the exponential input
u(t) = est we consider the state space system
ẋ = Ax + Bu
(8.2)
y = Cx + Du.
Let the input signal be u(t) = est and assume that s 6= λi (A), i = 1, . . . , n,
where λi (A) is the ith eigenvalue of A. The state is then given by
Z t Z t
x(t) = eAt x(0) + eA(t−τ ) Besτ dτ = eAt x(0) + eAt e(sI−A)τ B dτ.
0 0
a linear combination of the exponential functions est and eAt . The first term
in equation (8.3) is the transient response of the system. Recall that eAT
can be written in terms of the eigenvalues of A (using the Jordan form) and
hence the transient response is a linear combinations of terms of the form
eλi t , where λi are eigenvalues of A. If the system is stable then eAT → 0 as
t → ∞ and this term dies away.
The second term of the output (8.3) is proportional to the input u(t) =
est . This term is called the pure exponential response. If the initial state is
chosen as
x(0) = (sI − A)−1 B,
then the output only consists of the pure exponential response and both the
state and the output are proportional to the input:
is the transfer function from input to state. Note that this latter transfer
function is actually a vector of n transfer functions (one for each state).
Using transfer functions the response of the system (8.2) to an exponential
input is thus
y(t) = CeAt x(0) − (sI − A)−1 B + Gyu (s)est . (8.5)
the system and are particularly problematic when Re s ≥ 0, since this can
result in bounded inputs creating unbounded outputs. This situation can
only happen when the system has eigenvalues with either positive or zero
real part, and hence it relates to the stability of the system. In particular,
if a linear system is asymptotically stable, then bounded inputs will always
produce bounded outputs.
Coordinate Changes
The matrices A, B and C in equation (8.2) depend on the choice of coor-
dinate system for the states. Since the transfer function relates input to
outputs, it should be invariant to coordinate changes in the state space. To
show this, consider the model (8.2) and introduce new coordinates z by the
transformation z = T x, where T is a nonsingular matrix. The system is
then described by
This system has the same form as equation (8.2) but the matrices A, B and
C are different:
à = T AT −1 B̃ = T B C̃ = CT −1 D̃ = D. (8.6)
which is identical to the transfer function (8.4) computed from the system
description (8.2). The transfer function is thus invariant to changes of the
coordinates in the state space.
Another property of the transfer function is that it corresponds to the por-
tion of the state space dynamics that are both reachable and observable. In
particular, if we make use of the Kalman decomposition (Section 7.5), then
the transfer function only depends on the dynamics on the reachable and
observable subspace, Sro (Exercise 2).
8.2. DERIVATION OF THE TRANSFER FUNCTION
dn y dn−1 y dm u dm−1 u
+ a1 + · · · + an y = b 0 + b 1 + · · · + bm u, (8.7)
dtn dtn−1 dtm dtm−1
where u is the input and y is the output. This type of description arises in
many applications, as described briefly in Section 2.2. Note that here we
have generalized our previous system description to allow both the input
and its derivatives to appear.
To determine the transfer function of the system (8.7), let the input be
u(t) = est . Since the system is linear, there is an output of the system
that is also an exponential function y(t) = y0 est . Inserting the signals in
equation (8.7) we find
and the response of the system can be completely described by two polyno-
mials
a(s) = sn + a1 sn−1 + · · · + an−1 s + an
(8.8)
b(s) = b0 sm + b1 sm−1 + · · · + bm−1 s + bm .
b(s) st
y(t) = y0 est = e = G(s)u(t). (8.9)
a(s)
The transfer function of the system (8.7) is thus the rational function
b(s)
G(s) = , (8.10)
a(s)
where the polynomials a(s) and b(s) are given by equation (8.8). Notice that
the transfer function for the system (8.7) can be obtained by inspection,
since the coefficients of a(s) and b(s) are precisely the coefficients of the
derivatives of u and y.
Equations (8.7)–(8.10) can be used to compute the transfer functions of
many simple ODEs. The following table gives some of the more common
forms:
CHAPTER 8. TRANSFER FUNCTIONS
The first five of these follow directly from the analysis above. For the PID
controller, we let the input be u(t) = est and search for a solution y(t) = est .
It follows that
ki
y(t) = kp est + kd sest + est ,
s
giving the indicated transfer function.
Time delays appear in many systems: typical examples are delays in
nerve propagation, communication and mass transport. A system with a
time delay has the input/output relation
As before the input be u(t) = est . Assuming that there is an output of the
form y(t) = y0 est and inserting into equation (8.11) we get
The transfer function of a time delay is thus G(s) = e−sT which is not a
rational function, but is analytic except at infinity.