The bilinear transform (also known as Tustin's method, after
Arnold Tustin) is used in
digital signal processing
Digital signal processing (DSP) is the use of digital processing, such as by computers or more specialized digital signal processors, to perform a wide variety of signal processing operations. The digital signals processed in this manner are a ...
and discrete-time
control theory
Control theory is a field of control engineering and applied mathematics that deals with the control system, control of dynamical systems in engineered processes and machines. The objective is to develop a model or algorithm governing the applic ...
to transform continuous-time system representations to discrete-time and vice versa.
The bilinear transform is a special case of a
conformal map
In mathematics, a conformal map is a function (mathematics), function that locally preserves angles, but not necessarily lengths.
More formally, let U and V be open subsets of \mathbb^n. A function f:U\to V is called conformal (or angle-prese ...
ping (namely, a
Möbius transformation), often used for converting a
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
of a
linear
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
,
time-invariant (
LTI) filter in the
continuous-time domain (often named an
analog filter
Analogue Filter (signal processing), filters are a basic building block of signal processing much used in electronics. Amongst their many applications are the separation of an audio signal before application to bass (music), bass, mid-range sp ...
) to a transfer function
of a linear, shift-invariant filter in the
discrete
Discrete may refer to:
*Discrete particle or quantum in physics, for example in quantum theory
* Discrete device, an electronic component with just one circuit element, either passive or active, other than an integrated circuit
* Discrete group, ...
-time domain (often named a
digital filter
In signal processing, a digital filter is a system that performs mathematical operations on a Sampling (signal processing), sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other ma ...
although there are analog filters constructed with
switched capacitors that are discrete-time filters). It maps positions on the
axis,
, in the
s-plane to the
unit circle
In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucli ...
,
, in the
z-plane. Other bilinear transforms can be used for warping the
frequency response
In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and Phase (waves), phase of the output as a function of input frequency. The frequency response is widely used in the design and ...
of any discrete-time linear system (for example to approximate the non-linear frequency resolution of the human auditory system) and are implementable in the discrete domain by replacing a system's unit delays
with first order
all-pass filters.
The transform preserves
stability and maps every point of the
frequency response
In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and Phase (waves), phase of the output as a function of input frequency. The frequency response is widely used in the design and ...
of the continuous-time filter,
to a corresponding point in the frequency response of the discrete-time filter,
although to a somewhat different frequency, as shown in the
Frequency warping section below. This means that for every feature that one sees in the frequency response of the analog filter, there is a corresponding feature, with identical gain and phase shift, in the frequency response of the digital filter but, perhaps, at a somewhat different frequency. The change in frequency is barely noticeable at low frequencies but is quite evident at frequencies close to the
Nyquist frequency
In signal processing, the Nyquist frequency (or folding frequency), named after Harry Nyquist, is a characteristic of a Sampling (signal processing), sampler, which converts a continuous function or signal into a discrete sequence. For a given S ...
.
Discrete-time approximation
The bilinear transform is a first-order
Padé approximant of the natural logarithm function that is an exact mapping of the ''z''-plane to the ''s''-plane. When the
Laplace transform
In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
is performed on a discrete-time signal (with each element of the discrete-time sequence attached to a correspondingly delayed
unit impulse
Unit may refer to:
General measurement
* Unit of measurement, a definite magnitude of a physical quantity, defined and adopted by convention or by law
**International System of Units (SI), modern form of the metric system
**English units, histo ...
), the result is precisely the
Z transform of the discrete-time sequence with the substitution of
:
where
is the
numerical integration
In analysis, numerical integration comprises a broad family of algorithms for calculating the numerical value of a definite integral.
The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for "numerical integr ...
step size of the
trapezoidal rule used in the bilinear transform derivation; or, in other words, the sampling period. The above bilinear approximation can be solved for
or a similar approximation for
can be performed.
The inverse of this mapping (and its first-order bilinear
approximation) is
:
The bilinear transform essentially uses this first order approximation and substitutes into the continuous-time transfer function,
:
That is
:
Stability and minimum-phase property preserved
A continuous-time causal filter is
stable if the
poles
Pole or poles may refer to:
People
*Poles (people), another term for Polish people, from the country of Poland
* Pole (surname), including a list of people with the name
* Pole (musician) (Stefan Betke, born 1967), German electronic music artist
...
of its transfer function fall in the left half of the
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
s-plane. A discrete-time causal filter is stable if the poles of its transfer function fall inside the
unit circle
In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucli ...
in the
complex z-plane. The bilinear transform maps the left half of the complex s-plane to the interior of the unit circle in the z-plane. Thus, filters designed in the continuous-time domain that are stable are converted to filters in the discrete-time domain that preserve that stability.
Likewise, a continuous-time filter is
minimum-phase if the
zeros of its transfer function fall in the left half of the complex s-plane. A discrete-time filter is minimum-phase if the zeros of its transfer function fall inside the unit circle in the complex z-plane. Then the same mapping property assures that continuous-time filters that are minimum-phase are converted to discrete-time filters that preserve that property of being minimum-phase.
Transformation of a General LTI System
A general
LTI system has the transfer function
The order of the transfer function is the greater of and (in practice this is most likely as the transfer function must be
proper for the system to be stable). Applying the bilinear transform
where is defined as either or otherwise if using
frequency warping, gives
Multiplying the numerator and denominator by the largest power of present, , gives
It can be seen here that after the transformation, the degree of the numerator and denominator are both .
Consider then the pole-zero form of the continuous-time transfer function
The roots of the numerator and denominator polynomials, and , are the
zeros and poles of the system. The bilinear transform is a
one-to-one mapping, hence these can be transformed to the z-domain using
yielding some of the discretized transfer function's zeros and poles and
As described above, the degree of the numerator and denominator are now both , in other words there is now an equal number of zeros and poles. The multiplication by means the additional zeros or poles are
Given the full set of zeros and poles, the z-domain transfer function is then
Example
As an example take a simple
low-pass RC filter. This continuous-time filter has a transfer function
:
If we wish to implement this filter as a digital filter, we can apply the bilinear transform by substituting for
the formula above; after some reworking, we get the following filter representation:
:
The coefficients of the denominator are the 'feed-backward' coefficients and the coefficients of the numerator are the 'feed-forward' coefficients used for implementing a real-time
digital filter
In signal processing, a digital filter is a system that performs mathematical operations on a Sampling (signal processing), sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other ma ...
.
Transformation for a general first-order continuous-time filter
It is possible to relate the coefficients of a continuous-time, analog filter with those of a similar discrete-time digital filter created through the bilinear transform process. Transforming a general, first-order continuous-time filter with the given transfer function
:
using the bilinear transform (without prewarping any frequency specification) requires the substitution of
:
where
:
.
However, if the frequency warping compensation as described below is used in the bilinear transform, so that both analog and digital filter gain and phase agree at frequency
, then
:
.
This results in a discrete-time digital filter with coefficients expressed in terms of the coefficients of the original continuous time filter:
:
Normally the constant term in the denominator must be normalized to 1 before deriving the corresponding
difference equation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
. This results in
:
The difference equation (using the
Direct form I) is
:
General second-order biquad transformation
A similar process can be used for a general second-order filter with the given transfer function
:
This results in a discrete-time
digital biquad filter with coefficients expressed in terms of the coefficients of the original continuous time filter:
:
Again, the constant term in the denominator is generally normalized to 1 before deriving the corresponding
difference equation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
. This results in
:
The difference equation (using the
Direct form I) is
:
Frequency warping
To determine the frequency response of a continuous-time filter, the
transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
is evaluated at
which is on the
axis. Likewise, to determine the frequency response of a discrete-time filter, the transfer function
is evaluated at
which is on the unit circle,
. The bilinear transform maps the
axis of the ''s''-plane (which is the domain of
) to the unit circle of the ''z''-plane,
(which is the domain of
), but it is not the same mapping
which also maps the
axis to the unit circle. When the actual frequency of
is input to the discrete-time filter designed by use of the bilinear transform, then it is desired to know at what frequency,
, for the continuous-time filter that this
is mapped to.
:
:
This shows that every point on the unit circle in the discrete-time filter z-plane,
is mapped to a point on the
axis on the continuous-time filter s-plane,
. That is, the discrete-time to continuous-time frequency mapping of the bilinear transform is
:
and the inverse mapping is
:
The discrete-time filter behaves at frequency
the same way that the continuous-time filter behaves at frequency
. Specifically, the gain and phase shift that the discrete-time filter has at frequency
is the same gain and phase shift that the continuous-time filter has at frequency
. This means that every feature, every "bump" that is visible in the frequency response of the continuous-time filter is also visible in the discrete-time filter, but at a different frequency. For low frequencies (that is, when
or
), then the features are mapped to a ''slightly'' different frequency;
.
One can see that the entire continuous frequency range
:
is mapped onto the fundamental frequency interval
:
The continuous-time filter frequency
corresponds to the discrete-time filter frequency
and the continuous-time filter frequency
correspond to the discrete-time filter frequency
One can also see that there is a nonlinear relationship between
and
This effect of the bilinear transform is called frequency warping. The continuous-time filter can be designed to compensate for this frequency warping by setting
for every frequency specification that the designer has control over (such as corner frequency or center frequency). This is called pre-warping the filter design.
It is possible, however, to compensate for the frequency warping by pre-warping a frequency specification
(usually a resonant frequency or the frequency of the most significant feature of the frequency response) of the continuous-time system. These pre-warped specifications may then be used in the bilinear transform to obtain the desired discrete-time system. When designing a digital filter as an approximation of a continuous time filter, the frequency response (both amplitude and phase) of the digital filter can be made to match the frequency response of the continuous filter at a specified frequency
, as well as matching at DC, if the following transform is substituted into the continuous filter transfer function.
This is a modified version of Tustin's transform shown above.
:
However, note that this transform becomes the original transform
:
as
.
The main advantage of the warping phenomenon is the absence of aliasing distortion of the frequency response characteristic, such as observed with
Impulse invariance.
See also
*
Impulse invariance
*
Matched Z-transform method
References
External links
MIT OpenCourseWare Signal Processing: Continuous to Discrete Filter DesignLecture Notes on Discrete EquivalentsThe Art of VA Filter Design
{{DEFAULTSORT:Bilinear Transform
Digital signal processing
Transforms
Control theory