Limit-cycle-absent allpass filter lattice structure

Information

  • Patent Grant
  • 6711599
  • Patent Number
    6,711,599
  • Date Filed
    Wednesday, November 29, 2000
    23 years ago
  • Date Issued
    Tuesday, March 23, 2004
    20 years ago
Abstract
A lattice-based second-order allpass filter (200) providing a digital filter, absent of limit cycles, includes interconnected quantizers(214, 224), delays (232, 240), multipliers (210, 220), and adders (208, 216, 228) for defining a transfer function, where the circuit corresponds in order and values to intrinsic values of the transfer function. The quantizers are connected in series after the multipliers to eliminate any double precision additions which give rise to the appearance of parasitic oscillations. The savings in hardware results from locating the quantizers after the multipliers; thus, eliminating all double precision additions that are mandatory in the classical second-order lattice structure. The second-order allpass filter coefficients that retain the limit-cycle-absent property of the filter correspond to specific guidelines.
Description




FIELD OF THE INVENTION




This invention pertains to digital signal processing and more particularly to limit cycle-absent second-order allpass digital filters.




BACKGROUND OF THE INVENTION




In conventional Infinite Impulse Response (IIR) digital filters, limit cycles are sometimes referred to as a multiplier round-off limit cycle. These are low-level oscillations that can exist in an otherwise stable filter as a result of the nonlinearity associated with rounding or truncating internal filter calculations. These limit cycles, usually under the zero-input condition, encountered in a recursive digital filter using finite word-length computations are a common problem that are annoying and difficult to eliminate. The cause of limit cycles or zero-input oscillations lies in the use of non-linear quantizers in the feedback loops of a recursive digital filter. Since a limit cycling filter behaves as a weak non-linear system, it is quite complicated or even impossible to prescribe the conditions under which limit cycles will indeed occur. Nor is it a simple task to design limit-cycle-absent digital filters in a generalized sense.




Limit cycles can exist in both fixed-point and floating-point IIR digital filter implementations. Many techniques have been proposed for testing a realization for limit cycles and for bounding their amplitude when they do exist. In fixed-point realizations it is possible to prevent limit cycles by choosing a state-space realization for which any internal transient is guaranteed to decay to zero and then using magnitude truncation of internal calculations in place of rounding.




As an example in one application, with the use of first and second order allpass filters as building blocks to design audio equalizers, it is still difficult to actually achieve limit-cycle absent systems that are more efficient. Even employing some specific techniques given in “Insights into digital filters made as the sum of two allpass functions,” A. N. Willson, Jr. and H. Orchard, IEEE Trans. Circuits Systems, vol. 42, p. 129-137, lattice networks do not eliminate limit cycle oscillations. In addition, according to “Explicit formulas for lattice wave digital filters,” L. Gazsi, IEEE Trans. Circuits Systems, vol. CAS-32, p. 68-88, 1985, wave digital filters tend to be almost free of limit cycle parasitic oscillations but do not eliminate limit cycle parasitic oscillations. Neither do the digital filter techniques employed in “A class of low-noise computationally efficient recursive digital filters with applications to sampling rate alternation,” R. Ansari and B. Liu, IEEE Trans. Acoust. Speech, Signal processing, vol. ASSP-33, p. 90-97, Feb. 1985, actually achieve limit-cycle-absent systems. All of the aforementioned references provide examples of attempts to achieve limit-cycle-absent systems and are incorporated by reference herein.




An alternative embodiment of direct form IIR filter realization used to reduce limit cycles is the lattice realization which is usually formed directly from an unfactored and unexpanded transfer function. The implementation of stable first-order allpass filters, such as the allpass filter


10


shown in

FIG. 1

, does not suffer a limit cycle problem if the quantizer located behind the multipliers meets the Barkin conditions disclosed in “Frequency domain criteria for the absence of zero-input limit cycles in nonlinear discrete-time systems, with applications to digital filters,” T. Claasen et al., IEEE Trans. Circuits System, vol. CAS-22, p.232-239, March 1975, which is incorporated by reference herein. The Barkin conditions require that the quantization function exhibit magnitude truncation.




For second-order allpass filters, such as the allpass filter


50


shown in

FIG. 2

, however, the magnitude truncation alone fails to ensure limit-cycle absent systems. Thus, more complicated techniques must be implemented. The frequency domain criteria is disclosed in the Claasen paper. To establish the number of sufficient conditions in order to achieve limit-cycle-absent allpass filters, double precision computing is implemented. Double-precision computing involves positioning two magnitude-truncation quantizers in front of the delay elements. In this way the limit-cycle absent objective is reached and the expense relating to performing double-precision computations is reduced or avoided.





FIG. 3

displays the modified filter structure of

FIG. 2

which includes a zero-input and introduces two magnitude-truncation quantizers that are positioned before the delay elements. Since the type-0 lattice structure allpass filter


100


of

FIG. 3

includes quantizers positioned right before the delay elements, each state variable is quantized independently of others. Unfortunately, the type-0 lattice structure requires many more computations because double precision numbers occur after the multipliers.




Therefore, it would be desirable to have an allpass digital filter, absent of limit cycles, having minimum hardware requirements and computations.




SUMMARY OF THE INVENTION




The present invention provides a lattice-based second-order allpass filter wherein the structure promotes a digital filter, absent of limit cycles. A digital filter circuit includes interconnected quantizers, delays, multipliers, and adders for defining a transfer function, where the circuit corresponds in order and values to intrinsic values of the transfer function. The quantizers are connected in series after the multipliers to eliminate any double precision additions which give rise to the appearance of parasitic oscillations. The savings in hardware results from locating the quantizers after the multipliers; thus, eliminating all double precision additions that are mandatory in the classical second-order lattice structure. The second-order allpass filter coefficients that retain the limit-cycle-absent property of the filter correspond to specific guidelines.











BRIEF DESCRIPTION OF THE DRAWINGS




For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying drawings in which like reference numbers indicate like features and wherein:





FIG. 1

is a schematic of a first-order allpass filter lattice structure.





FIG. 2

is a schematic of a second-order allpass filter lattice structure.





FIG. 3

is a type-0 second-order allpass lattice filter with two quantizers.





FIG. 4

is a type-1 second-order allpass lattice filter with two quantizers in accordance with the present invention.











DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS




The present invention is best understood by comparison with the prior art. Hence, this detailed description begins with a discussion of known second-order allpass lattice structure as illustrated in FIG.


3


.

FIG. 3

displays the modified filter structure of

FIG. 2

which includes a zero-input and introduces two magnitude-truncation quantizers that are positioned before the delay elements. X


1


(z), X


2


(z), Y


1


(z) and Y


2


(z) are z-transforms of x


1


(k), x


2


(k), y


1


(k) and y


2


(k), respectively.




In the embodiment shown in

FIG. 3

, the signal y(t) to be filtered is applied to signal input


105


, and thereby to multiplier


110


. The signal output of multiplier


110


is applied to accumulators


104


,


112


, and


120


. The signal output of accumulator


112


is applied to multiplier


116


. The signal output of multiplier


116


is applied to accumulators


120


and


132


. The signal


122


output of accumulator


120


is applied to quantizer


124


. The signal output of quantizer


124


is applied to unit delay


128


. The signal output of unit delay


128


is applied to accumulators


112


and


132


. The signal output of accumulator


132


is applied to quantizer


136


. The signal output of quantizer


136


is applied to unit delay


140


. The signal output unit delay


140


is applied to accumulator


104


. The outputs of multiplier


110


and unit delay


140


along with the signal input


105


are summed at output accumulator


104


to produce the filter output


102


, represented by signal z(t).




Following the rules outlined in “Frequency domain criteria for the absence of zero-input limit cycles in nonlinear discrete-time systems, with applications to digital filters,” T. Claasen et al., IEEE Trans. Circuits System, vol. CAS-22, p.232-239, March 1975, a 2×2 transmission matrix W(z) is determined by the equation:








X


(


z


)=


W


(


z


)


Y


(


z


)






where X(z)=[X


1


(z)X


2


(z)]


T


and Y(z)=[Y


1


(z)Y


2


(z)]


T


. Theorem 4 in the aforementioned Claasen et al. paper states that, if for m=0 to L/2((L-1)/2 with L being odd), the Hemitian part of:







W


(


z




m


)−DIAG(1)




is negative definite, where Z


m


=e(2


i(2mπ/L)


, limit cycles of length L will be absent.




The transmission matrix W(z) of the system depicted in

FIG. 3

is given by:











W


(
z
)


=

[





-
αβ







z

-
1







(

1
-
α

)



z

-
1









-

β


(

1
+
α

)





z

-
1







-
α







z

-
1






]









W
H

=


1
2



[




(



-
αβ







z

-
1



-

αβ





z

-
2

)




(



(

1
-
α

)



z

-
1



-


β


(

1
+
α

)



z


)






(



-

β


(

1
+
α

)





z

-
1



+


(

1
-
α

)


z


)




(



-
α







z

-
1



-

α





z

-
2

)




]







[
2
]













To find out whether the above matrix is negative definite or not, the roots of the polynomial |λI−W


H


|=λ


2


+bλ+c are examined. Simple algebraic manipulations produce the two parameters b and c as:








b=


2+α(1+β)cosø








c=1−0.25((1−α)


2





2


(1+α)


2


)−0.5β(1−β


2


)+α(1+β)cosø+β(cosø)


2


  [3]






Recall that the absolute values of α and β are less than 1 for the sake of stability. Thus, we have b>0. The positive value for c, however, is not guaranteed for all possible values of (φ, α, and β. Nevertheless, in the calculation of equation [3] specified values of α and β may be selected to insure that b>1 and c>0. Notice that the lattice structure of

FIG. 3

is a type-0 which includes quantizers positioned right before the delay elements. Thus, each state variable is quantized independently of others. Unfortunately, the type-0 lattice structure requires many more computations because double precision numbers occur after the multipliers.




Therefore, it would be desirable to have an allpass digital filter, absent of limit cycles, having minimum hardware requirements and computations.





FIG. 4

displays a second order allpass type-1 lattice filter with two quantizers in accordance with the present invention. In the embodiment shown, the signal y(t) to be filtered is applied to signal input


205


, and thereby to multiplier


210


. The signal output of multiplier


210


is applied to quantizer


214


. The signal output of quantizer


214


is applied to accumulators


204


,


216


, and


228


. The signal output of accumulator


216


is applied to multiplier


220


. The signal output of multiplier


220


is applied to quantizer


224


. The output of quantizer


224


is applied to accumulator


228


and accumulator


236


. The signal output of accumulator


228


is applied to unit delay


232


. The signal output of unit delay


232


is applied to accumulators


236


and


216


. The signal output of accumulator


236


is applied to unit delay


240


. The signal output of unit delay


240


is applied to accumulator


204


. The outputs of quantizer


214


and unit delay


240


along with the signal input


205


are summed at output accumulator


204


to produce the filter output


202


, represented by signal z(t).




It is well known that a second-order allpass filter can be described by transfer function:







H


(
z
)


=


β
+


α


(

1
+
β

)




z

-
1



+

z

-
2




1
+


α


(

1
+
β

)




z

-
1



+

β






z

-
2















wherein the absolute value of α and β is less than one.




In order to avoid double-precision additions, the quantizers in the type-1 lattice structure are placed right after the multipliers. The Hemitian part of the transmission matrix for the system depicted in

FIG. 4

is derived as follows:










W
H

=


1
2



[




(



-
β







z

-
1



-

β






z
2


-
2

)





-


β

-
1




(

1
+

z

-
1



)



+

α


(

1
-
z

)










-
β







z


(

1
+
z

)




z

-
1



+

α


(

1
-

z

-
1



)






(



-
α







z

-
1



-

α





z

-
2

)




]






(
4
)













Accordingly, the polynomial |λI−W


H


Å=λ


2


+bλ+c has the following parameters:








b=


2+αcosφ+βcos2φ










c=


1−0.5(α


2





2


)−0.5(2α+α


2


−β


2


+αβ)cosφ−1+αcos φ)βcos1φ−0.5αβcos3φ  [5]






In order to generate a type-1 lattice structure free of limit cycles, the allpass coefficients, α and β, must satisfy conditions such that b and c are positive values. By implication, the quadrature equation, λ


2


+bλ+c, has two negative-value roots given 0≦φ≦π.




The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention in the use of such terms and expressions of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims which follow.



Claims
  • 1. An allpass digital filter, comprising:a digital filter circuit means comprising interconnected quantizers, delays, multipliers, and adders for defining a transfer function, said circuit means corresponding in order and values to intrinsic values of the transfer function, each of said quantizers coupled in series after a respective one of said multipliers to eliminate any double precision additions; wherein said circuit means having the transfer function: H⁢(z)=β+α⁢(1+β)⁢z-1+z-21+α⁢(1+β)⁢z-1+β⁢ ⁢z-2wherein the absolute value of α is less than one and absolute value of β is less than one.
  • 2. A digital filter having a filter signal input, a filter signal output and a filter transfer function comprising:a first multiplier responsive to the filter signal input; a first quantizer responsive to the first multiplier; a first accumulator responsive to the first quantizer; a second multiplier responsive to the first accumulator; a second quantizer responsive to the second multiplier, the first and second quantizers coupled in series after a respective one of the first and second multipliers to eliminate any double precision additions; a second accumulator responsive to the second quantizer and the first quantizer; a first unit delay responsive to the second accumulator and having an output applied to the first accumulator; a third accumulator responsive to the second quantizer and the first unit delay; a second unit delay responsive to the third accumulator; and a fourth accumulator responsive to the second unit delay and the first quantizer, the fourth accumulator for providing a filter signal output.
Parent Case Info

This application claims priority under 35 U.S.C. 119(e) based upon Provisional Application Ser. No. 60/169,007, filed Dec. 3, 1999.

US Referenced Citations (14)
Number Name Date Kind
4569030 Butterweck et al. Feb 1986 A
4623872 Rainer Nov 1986 A
4823296 Millar Apr 1989 A
4825396 Gazzi Apr 1989 A
5015934 Holley et al. May 1991 A
5148382 Kishi Sep 1992 A
5448010 Smith, III Sep 1995 A
5623318 Lee Apr 1997 A
5629881 Leeb et al. May 1997 A
5636322 Ono Jun 1997 A
5740091 Fukui et al. Apr 1998 A
5798954 Ishibata Aug 1998 A
6112218 Gandhi et al. Aug 2000 A
6263354 Gandhi Jul 2001 B1
Provisional Applications (1)
Number Date Country
60/169007 Dec 1999 US