Transfer Functions
In this post, we introduce the idea of transfer functions in the context of signal processing. In particular, we distinguish between the case of continuous-time signals (such as an analogue circuit board) and discrete-time signals used in DSP.
Continuous Systems
Laplace transform
The Laplace transform of a function is given by:
Note that the argument is a complex number.
Transfer function (in Laplace domain)
Suppose we have a system which maps the continuous time-based signal to the output signal . (An example could be an analogue circuit which acts on an audio signal.)
Then the transfer function is given by:
where and .
Frequency response
We can use the transfer function to evaluate the response of the system to a given frequency. Suppose we have a frequency (radians per second), then we denote as the response or gain. The function is given by:
Discrete systems
We now consider a digital system in which the input signal is sampled with a constant time interval .
FIR filter
A discrete FIR filter (Finite Impulse Response) acts on a signal which is sampled digitally at regular time intervals.
Such a filter takes the input where and produces an output . We shall only consider causal filters where the response depends only on the current and previous input samples.
A general filter th order filter can be written as:
The output from a th order FIR depends only on the current input sample and the previous input samples.
IIR filter
A general discrete IIR (infinite impulse response) filter can be written as:
Z-transform
Given a discrete signal , , the Z-transform, is given by:
Transfer function in the Z-domain
Given a discrete system with input signal and output , the transfer function in the Z-domain is :
where is the Z-transform of the input signal and is the Z-transform of the output.
For the case of the IIR filter above, we have:
Frequency response
As for the continuous case, we can use the transfer function to evaluate the response of the system to a given input frequency. Suppose we have a frequency (radians per second), then the response is given by:
where is the sampling interval (in seconds).