







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth analysis of transfer functions, their impulse response, frequency response, and stability in the context of statistical time-series analysis, signal processing, and control engineering. the mathematical relationship between input and output sequences, the BIBO condition, finite impulse response (FIR) and infinite impulse response (IIR) transfer functions, and the stability investigation using partial-fraction decomposition.
Typology: Schemes and Mind Maps
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Article type: Focus Article
Stephen Pollock
University of Leicester
Impulse response, Frequency response, Spectral density
In statistical time-series analysis, signal processing and control engineering, a transfer function is a mathematical relationship between a numerical input to a dynamic system and the resulting output. The theory of transfer functions describes how the input/output relationship is affected by the structure of the transfer function.
The theory of the transfer functions of linear time-invariant (LTI) systems has been available for many years. It was developed originally in connection with electrical and mechanical systems described in continuous time. The basic theory can be attributed largely to Oliver Heaviside (1850–1925) [3] [4].
With the advent of digital signal processing, the emphasis has shifted to discrete- time representations. These are also appropriate to problems in statistical time-series analysis, where the data are in the form of sequences of stochastic values sampled at regular intervals.
In the discrete case, a univariate and causal transfer function mapping from an input sequence {xt} to an output sequence {yt} can be represented by the equation
∑^ p
j=
aj yt−j =
∑^ q
j=
bj xt−j , with a 0 = 1. (1)
Here, the condition that a 0 = 1 serves to identify yt as the current output and the elements yt− 1 ,... , yt−p as feedback or as lagged dependent variables. The sum of the input variables on RHS of the equation, weighted by their coefficients, is described as a distributed lag scheme. (See Dhrymes [2] for a treatment of distributed lags in the context of econometric estimation.) The condition of causality implies that xt+j and yt+j , which are ahead of time t, are excluded from the equation.
Figure 1: The impulse response of the transfer function b(z)/a(z) with a(z) = 1. 0 −
impulse response is liable to continue indefinitely, albeit that, in a stable system, it will converge to zero. Then, there is an infinite impulse response (IIR) transfer function.
When a(z) = 1, the impulse response can be found via the equation b(z) = a(z)ψ(z). An example is provided by the case where p = 2 and q = 1. Then,
b 0 + b 1 z =
1 + a 1 z + a 2 z^2
ψ 0 + ψ 1 z + ψ 2 z^2 + · · ·
By performing the multiplication on the RHS, and by equating the coefficients of the same powers of z on the two sides of the equation, it is found that
b 0 = ψ 0 , b 1 = ψ 1 + a 1 ψ 0 , 0 = ψ 2 + a 1 ψ 1 + a 2 ψ 0 , .. . 0 = ψn + a 1 ψn− 1 + a 2 ψn− 2 ,
ψ 0 = b 0 , ψ 1 = b 1 − a 1 ψ 0 , ψ 2 = −a 1 ψ 1 − a 2 ψ 0 , .. . ψn = −a 1 ψn− 1 − a 2 ψn− 2.
The resulting sequence is just the recursive solution of the homogenous difference equation yt + a 1 yt− 1 + a 2 yt− 2 = 0, subject to the initial conditions y 0 = b 0 and y 1 = b 1 − a 1 y 0.
The transfer function is fully characterised by its response to an impulse. One is re- minded that all of the harmonics of a bell are revealed when it is stuck by a single blow of the clapper, which constitutes an impulse. Figure 1 provides an example of an impulse response.
The stability of a rational transfer function b(z)/a(z) can be investigated using its partial-fraction decomposition, which gives rise to a sum of simpler transfer functions that can be analysed readily.
If the degree of the numerator of b(z)/a(z) exceeds that of the denominator, then long division can be used to obtain a quotient polynomial and a remainder that is a proper rational function. The quotient polynomial will correspond to a stable transfer function; and the remainder will be the subject of the decomposition.
Assume that b(z)/a(z) is a proper rational function in which the denominator is fac- torised as
a(z) =
∏^ r
j=
(1 − z/λj )nj^ , (7)
where nj is the multiplicity of the root λj , and where
j nj^ =^ p^ is the degree of the polynomial. Then, the so-called Heaviside partial-fraction decomposition is
b(z) a(z)
∑^ r
j=
∑^ nj
k=
cjk (1 − z/λj )k^
and the task is to find the series expansions of the partial fractions. (See Arfken [1] and Taylor and Mellott [10] for references to the Heaviside expansion.)
Consider, first, the case of a partial fraction that contains a distinct (unrepeated) real- valued root λ. The expansion is
c 1 − z/λ
= c{1 + z/λ + (z/λ)^2 + · · · }. (9)
For this to converge for all |z| ≤ 1 , it is necessary and sufficient that |λ| > 1 ; and this is necessary and sufficient for the satisfaction of the BIBO condition which is that the impulse response function must be absolutely summable: ∑
j
|ψj | < ∞. (10)
Here, we are setting ψj = (1/λ)j^. For a proof of that (10) is the BIBO condition for an LTI system, see, for example, Kac [6] or Pollock [7].
Next, consider the case where a(z) has a distinct pair of conjugate complex roots λ and λ∗. These will come from a partial fraction with a quadratic denominator:
gz + d (1 − z/λ)(1 − z/λ∗)
c 1 − z/λ
c∗ 1 − z/λ∗^
It can be seen that c = (gλ + d)/(1 − λ/λ∗) and c∗^ = (gλ∗^ + d)/(1 − λ∗/λ) are also conjugate complex numbers.
The expansion of (9) applies to complex roots as well as to real roots:
c 1 − z/λ
c∗ 1 − z/λ∗^
= c
1 + z/λ + (z/λ)^2 + · · ·
+c∗^
1 + z/λ∗^ + (z/λ∗)^2 + · · ·
This result can be understood by regarding the LHS of (15) as a representation of n transfer functions in series, each of which fulfils the BIBO condition.
The general conclusion is that the transfer function is stable if and only if all of the roots of the denominator polynomial a(z), which are described as the poles of the transfer function, lie outside the unit circle in the complex plane.
It is helpful to represent the poles of the transfer function graphically by showing their locations within the complex plane together with the locations of the roots of the nu- merator polynomial, which are described as the zeros of the transfer function.
It is more convenient to represent the poles and zeros of b(z−^1 )/a(z−^1 ), which are the reciprocals of those of b(z)/a(z). For a stable and invertible transfer function, these must lie within the unit circle. This recourse has been adopted for Figure 2, which shows the pole–zero diagram for the transfer function that gives rise to Figure 1.
One must also consider the response of the transfer function to a simple sinusoidal signal. Any finite data sequence can be expressed as a sum of discretely sampled sine and cosine functions with frequencies that are integer multiples of a fundamental frequency that produces one cycle in the period spanned by the sequence. The finite sequence is to be regarded as a single cycle within a infinite sequence, which is the periodic extension of the data.
Consider, therefore, the consequences of mapping the signal sequence {xt = cos(ωt)} through the transfer function with the coefficients {ψ 0 , ψ 1 ,... }. The output is
y(t) =
j
ψj cos
ω[t − j]
By virtue of the trigonometrical identity cos(A − B) = cos A cos B + sin A sin B, this becomes
y(t) =
j
ψj cos(ωj)
cos(ωt) +
j
ψj sin(ωj)
sin(ωt)
= α cos(ωt) + β sin(ωt) = ρ cos(ωt − θ), (17)
where
α =
j
ψj cos(ωj), β =
j
ψj sin(ωj),
ρ^2 = α^2 + β^2 and θ = tan−^1
( (^) β α
It can be seen that the transfer function has a twofold effect upon the signal. First, there is a gain effect whereby the amplitude of the sinusoid is increased or diminished by the factor ρ. Then, there is a phase effect whereby the peak of the sinusoid is displaced by
a time delay of θ/ω periods. The frequency of the output is the same as the frequency of the input, which is a fundamental feature of all linear dynamic systems.
Observe that the response of the transfer function to a sinusoid of a particular frequency is akin to the response of a bell to a tuning fork. It gives very limited information regarding the characteristics of the system. To obtain full information, it is necessary to excite the system over the whole range of frequencies.
In a discrete-time system, there is a problem of aliasing whereby signal frequencies (i.e. angular velocities) in excess of π radians per sampling interval are confounded with frequencies within the interval [0, π]. To understand this, consider a cosine wave of unit amplitude and zero phase with a frequency ω in the interval π < ω < 2 π that is sampled at unit intervals. Let ω∗^ = 2π − ω. Then
cos(ωt) = cos
(2π − ω∗)t
= cos(2π) cos(ω∗t) + sin(2π) sin(ω∗t) = cos(ω∗t); (19)
which indicates that ω and ω∗^ are observationally indistinguishable. Here, ω∗^ ∈ [0, π] is described as the alias of ω > π.
The maximum frequency in discrete data is π radians per sampling interval and, as the Shannon–Nyquist sampling theorem indicates, aliasing is avoided only if there are at least two observations in the time that it takes the signal component of highest fre- quency to complete a cycle. In that case, the discrete representation will contain all of the available information on the system. (The classical article of Shannon [9] that conveys this result is readily available in its reprinted form.)
Any stationary stochastic process defined over the doubly infinite set of positive and negative integers can be expressed as a weighted combination of the non-denumerable infinity of sines and cosines that have frequencies in Nyquist interval [0, π]. Thus, if xt is an element of such a process, then it can be represented by
xt =
∫ (^) π
0
cos(ωt)dA(ω) + sin(ωt)dB(ω)
∫ (^) π
−π
eiωtdZ(ω). (20)
This is commonly described as the spectral representation of the process generating xt. Here, dA(ω) and dB(ω) are the infinitesimal increments of stochastic functions, defined on the frequency interval, that are everywhere continuous but nowhere differen- tiable. Moreover, it is assumed that the increments dA(ω) and dB(ω) are uncorrelated with each other and with preceding and succeeding increments. (See Pollock [7] or Priestley [8] for fuller accounts.)
The concise expression on the RHS of (20) entails the following definitions:
dZ(ω) =
dA(ω) − idB(ω) 2
and dZ(−ω) = dZ∗(ω) =
dA(ω) + idB(ω) 2
θ(ω) = arctan
ψj sin(ωj) ∑ ψj cos(ωj)
The two components of the frequency response are the amplitude response or the gain |ψ(ω)| and the phase response θ(ω). Their definitions subsume those of (18). These two functions of ω, which are circular or periodic, are plotted in Figures 3 and 4 over the interval [−π, π].
−π −π/2 0 π/2 π
π
−π
Figure 4: The phase plot to accompany Figure 3.
In general, the phase response does not relate in any simple way to the lags of the transfer function relationship that are perceptible via the impulse response function. An exception concerns the transfer function ψ(z) = z that imposes a delay of one period. Then, the phase response is a line of unit slope passing through the origin, rising to π when ω = π and falling to −π when ω = −π; and the absolute time delay that is imposed on all frequencies is τ = θ(ω)/ω = 1.
The frequency response is just the discrete-time Fourier transform of the impulse re- sponse function. Therefore, the quantities of (25) and (26) can be expressed in terms of the z-transform of the functions with z = e−iω^. They can be obtained in this way from the following expressions:
ψ(z) =
j
ψj zj^ , |ψ(z)|^2 = ψ(z)ψ(z−^1 ), θ(z) = Arg{ψ(z)}. (27)
In that case, there is a minor abuse of notation when we write ψ(ω) in place of ψ(e−iω^ ).
As ω progresses from −π to π, or, equally, as z = e−iω^ travels around the unit circle in the complex plane, the frequency-response function defines a trajectory that becomes a closed contour when ω reaches π.
The points on the trajectory are characterised by their polar co-ordinates. These are the modulus |ψ(ω)|, which is the length of the radius vector joining ψ(ω) to the origin, and
Re
Im
Figure 5: The path described in the complex plane by the frequency response function corresponding to the gain and phase functions of Figures 3 and 4. The trajectory orig- inates, when ω = 0, in the point on the real axis marked by a dot and it travels in the direction of the arrow, of which the tip is reached when ω = π/ 4.
the argument Arg{ψ(ω)} = θ(ω) which is the (anticlockwise) angle in radians which the radius makes with the positive real axis. Figure 5 provides an illustration.
The spectral density fy (ω) of the output process y(t) is given by
fy (ω)dω = E{dZy (ω)dZ y∗ (ω)} = ψ(ω)ψ∗(ω)E{dZx(ω)dZ x∗ (ω)} = |ψ(ω)|^2 fx(ω)dω. (28)
When the input sequence is a white-noise process with a uniform spectral density func- tion fε(ω) = σ ε^2 /(2π), this becomes the spectral density function of an autoregressive moving-average (ARMA) process. In the notation of the z-transform, the autocovari- ance generating function of the ARMA process is
γ(z) = σ^2 ε
b(z)b(z−^1 ) a(z)a(z−^1 ) = σ^2 ε ψ(z)ψ(z−^1 ). (29)
Setting z = e−iω^ and dividing by 2 π gives the spectral density function in the form of
fy (ω) = γ(e−iω^ ) 2 π
In calculating this, we would evaluate the numerator and the denominator of γ(e−iω^ ) separately.
The theory of linear time-invariant transfer functions is part of the basic gram- mar of systems analysis. Whereas it finds numerous applications in electrical
[1] Arfken, G. Mathematical Methods for Physicists, Third Edition. Academic Press, San Diego, California, 1986.
[2] Dhrymes, P.J. Distributed Lags: Problems of Estimation and Formulation. Holden- Day, San Francisco 1971.
[3] Heaviside, O. Electrical Papers. American Mathematical Society, 1970.
[4] Heaviside, O. Electromagnetic Theory. E. Benn, London 1925, reprinted by Amer- ican Mathematical Society, 1971.
[5] Jury, E.I. Theory and Application of the z-Transform Method. John Wiley and Sons, New York, 1964.
[6] Kac, R. Introduction to Digital Signal Processing. McGraw-Hill Book Co., New York, 1982.
[7] Pollock, D.S.G. A Handbook of Time-Series Analysis, Signal Processing and Dynam- ics. Academic Press, London 1999.
[8] Priestley, M.B. Spectral Analysis and Time Series, Academic Press, London, 1981.
[9] Shannon, C.E. Communication in the Presence of Noise, Proceedings of the Institute of Radio Engineers, 37, 10–21, reprinted in Proceedings of the IEEE, 86, 447–457, 1998.
[10] Taylor, F. and Mellott, J. Hands-on Digital Signal Processing. McGraw-Hill, New York, 1998.
Autoregressive process, Discrete Fourier transform, Filtering for time series and signals