Digital filter

Electrical computers: arithmetic processing and calculating – Electrical digital calculating computer – Particular function performed

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06405230

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to digital filters.
2. Description of the Prior Art
In digital signal processing apparatus such as a digital audio mixing console, recursive digital filters are used for signal processing operations such as those required in equalisation sections.
The general form of a transfer response of a first order recursive digital filter is:
H

(
z
)
=
a
0
+
a
1

z
-
1
1
+
b
1

z
-
1
(
1
)
This equation is implemented digitally as a series of multiplies and delays, corresponding to each term in the equation.
An example implementation of the filter of equation (1) is shown in
FIG. 1
of the accompanying drawings. In
FIG. 1
, the input signal samples are supplied to a multiplier
10
(multiplication by a coefficient a
0
) and also to a one-sample delay (z
−1
)
20
. Samples delayed by the delay
20
are multiplied
30
by a coefficient a
1
. An adder
40
adds the output of the multipliers
10
,
30
and the output of a further multiplier
60
which multiplies output samples y(n), delayed
50
by one sample, by a coefficient b
1
. The output of the adder
40
forms the output samples y(n).
A problem with the use of such filters is that the so-called limit cycle behaviour can reduce the performance of the filters in high fidelity audio applications.
One example of this limit cycle behaviour is the response of a filter when the input of the filter is reduced to zero. Rounding errors caused by the use of finite precision arithmetic mean that the output of the filter does not necessarily reduce to zero when the input reduces to zero. Instead, the output can stay at a non-zero value or oscillate about zero. In an audio system this is heard as a deterioration of the audio performance.
An example of limit cycle behaviour can be derived from equation 1. The difference equation by which output samples y(n) may be calculated from input samples x(n) is as follows:
y(n)=a
0
x(n)+a
1
x(n−1)−b
1
y(n−1)  (2)
To demonstrate the zero input limit cycle behaviour, x(n) and x(n−1) are set to zero and an initial condition is substituted for y(n−1):
y(n)=0−b
1
y(n−1)  (3)
In a specific example, for a filter having a sampling rate of 25Hz and a decay time of approximately 2 seconds, a
0
=a
1
=0.045, and b
1
=−0.955. Taking the initial condition of y(−1)=15, the following outputs for integer arithmetic can be derived:
n
y(n) exact
y(n) rounded
−1
15.0
15
0
14.325
14
1
13.68
13
2
13.06
12
3
12.4768
11
4
11.915
11
5
11.379
11
6
10.867
11
7
10.378
11
. . .
. . .
. . .
infinity
0
11
This example demonstrates a limit cycle with zero frequency (i.e. a steady error value is output). However, if b
1
were positive then the rounded y(n) would alternate in sign, oscillating at one half of the sampling rate. As the absolute value of b
1
approaches 1, the magnitude of the zero input limit cycle output gets larger and larger.
Attempts to overcome or alleviate this problem have included varying the circuit or program design used to implement the filter—for example, the so-called “Lattice form”, the “Transpose form”, the “Gold-Rader Structure” and others have been tried, but even where these filters have given a slightly improved limit cycle performance, they have had a worse performance in another area important in audio applications.
Double precision operation has also been tried, as a straightforward way of reducing the effect of the rounding errors which lead to limit cycle problems, but their use requires too much processing capacity to be a useful solution. In some instances, where double precision operations (e.g. multiplies or additions) are built from combinations of single precision operations, it has been found that a double precision filter requires seven times the number of operations of an equivalent single precision filter.
SUMMARY OF THE INVENTION
This invention provides a recursive nth-order digital filter, where n is greater than 1, the filter having a pole-zero pair substantially co-located in the z-plane.
The elegantly simple solution provided by the invention is to change the way in which a filter response is calculated (i.e. implemented as a digital filter) without necessarily changing the actual response of the filter.
Referring to the example of equation (1) above, the response described in equation (1) is multiplied by a further expression having an identical numerator and denominator (i.e. a further expression equal to one):
H

(
z
)
=
a
0
+
a
1

z
-
1
1
+
b
1

z
-
1
·
1
+
γ



z
-
1
1
+
γ



z
-
1
(
4
)
This gives a revised expression which is equal to the first equation given above.
H

(
z
)
=
a
0
+
z
-
1

(
a
0

γ
+
a
1
)
+
γ



a
1

z
-
2
1
+
z
-
1

(
b
1
+
γ
)
+
b
1

γ



z
-
2
(
5
)
Because this expression is equal to the first expression given above, it provides the same filter response. However, more terms are used in calculating the response, which has the effect that when it is implemented digitally, limit cycle problems caused by rounding errors are reduced.
Another view of the revised filter implementation is that the equivalent of an additional pole and an additional zero have been added at identical positions in the z plane. The filter of equation (5) is now a second order filter but has the same frequency and phase response (except in limit cycle behaviour) as the first order filter of equation (1). The additional processing overhead required to implement the revised filter of equation (5) is much less than the seven-fold increase needed to use double precision arithmetic. In embodiments of the invention (e.g. an audio filter embodiment to be described below) an improvement of around 10 dB in the signal to noise ratio can be obtained at audio frequencies below about 100 Hz.
The invention also provides a method of generating filter coefficients to provide a desired nth order filter response (e.g. where n is an integer greater than or equal to 1), the method comprising adding one or more substantially co-located pole and zero pairs to form an (n+m)th order filter having the desired nth order filter response (e.g. where m is an integer equal to 1 or more).


REFERENCES:
patent: 4213187 (1980-07-01), Lawrence et al.
patent: 4305133 (1981-12-01), Amada et al.
patent: 4920507 (1990-04-01), Takeda
patent: 5148382 (1992-09-01), Kishi
patent: 5195140 (1993-03-01), Kudo et al.
patent: 5687101 (1997-11-01), Lee
patent: 5740091 (1998-04-01), Fukui et al.
patent: 5894428 (1999-04-01), Harada
patent: 2081 544 (1982-02-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Digital filter does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Digital filter, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Digital filter will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2955270

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.