A MULTIPLE STAGE DECIMATION FILTER

Abstract: A decimation filter includes a zero insertion filter (12) having an input and an output, wherein the input forms an input of the decimation filter; a cascade of four comb filters having a first accumulator stage (14-1) and a second stage having a first differentiator portion (14-2-1) and second differentiator portion wherein the first stage has an input coupled to the output of the zero insertion filter and an output, the first differentiator portion has an input coupled to the output of the first stage and an output, and the second differentiator portion has an input coupled to the output of the first differentiator portion and an output, and a frequency shaping filter (16) having an input and an output, wherein the input is coupled to the output of the second differentiator portion and the output forms an output of the decimation filter.

Description: S P E C I F IC A T I O N A MULTIPLE STAGE DECIMATION FILTER BACKGROUND OF THE INVENTION 1. Field Of The Invention The present invention relates to decimation filters employed for use in an A D converter that oversamples the analog signal input to the A/D converter. More particularly, the present invention relates to a multiple stage decimation filter that employs cascaded comb filters and a zero insertion filter to provide high attenuation in the stop band to effectively suppress quantization noise and attenuate out-of-band noise, and a steep transition between the pass band and the stop band. 2. The Prior Art It is common in audio design and in various types of signal processing to employ an A/D modulator in an A/D converter that samples a signal well above the Nyquist rate to obtain a high resolution A/D converter, since it is well known that the resolution of a Nyquist rate A/D converter is limited by the injection of noise from the digital portion of the A/D modulator that is aliased into the passband. Further, a Nyquist rate A/D converter requires effective antialiasing filters, high performance sample and hold circuits and jitter free timing. An A/D modulator that samples the analog input signal at a rate well above the Nyquist rate is termed an oversampling A/D modulator. Though different type of oversampling A/D modulators are known, a widely employed oversampling A/D modulator is the delta-sigma modulator. The delta-sigma modulator is often employed because it may be implemented using relatively simple and high-tolerance analog components, while maintaining good linearity because the delta-sigma modulator typically employs single-bit quantization. In the A/D converter, the A/D modulator oversamples the analog signal at a frequency well above the Nyquist rate to form short digital words, and the decimator inputs these short words, and down samples them to form an output of longer words at the Nyquist rate. Processing signals at the Nyquist rate is well known and understood by those of ordinary skill in art, and accordingly will not be described herein in detail, however, it should be appreciated that the Nyquist frequency is twice the cutoff frequency for the signal being sampled. Because the sample rate of the over-sampled A/D modulator is requires complex circuitry for signal processing, the bit stream form the A/D modulator is commonly decimated by a decimation filter to provide a sample rate that can be more readily processed. The downsampling order of the decimation, D, is the ratio of the oversampling frequency, Fs, to the Nyquist frequency, Fn. For an A/D converter employing an oversampled A/D modulator, the decimation filter should have a steep transition between the passband and the stopband to avoids the use of an anti-aliasing analog filter on the front end of the A/D converter. Further, the decimation filter should suppress or attenuate noise. There are typically two types of noise that the decimation filter must suppress or attenuate. These are quantization noise and out-of-band noise or signal. Quantization noise is created by the A/D modulator in the transformation of the analog input to the digital output, and is considered by those of ordinary skill in the art as an error signal. Quantization noise is typically quite minimal in the base band, however, quantization noise can become quite severe in higher frequency bands above the base band. Out-of-band noise and signal are signals occurring at a frequency that is outside the selected frequency range of the analog signal that is being converted to a digital signal. To meet these criteria in the decimation filter, a one stage finite impulse response filter (FLR) or a one stage infinite impulse response filter (HF) is quite complicated and difficult to implement. A multi-stage, multi-rate decimation filter as an efficient manner of implementing the decimation filter has been proposed by Karema, et al. "An Oversampled Sigma-Delta Converter Circuit Using Two-Stage Fourth Order Modulator", LEEE Proceedings ISCAS '90, pp. 3279-3282, May 1990. Karema et al. discloses a two-stage decimation filter. The first stage in the decimation filter employs a cascade of comb filters with a length of DO, DO+1 or D0+2, for the decimation of the oversampled bit stream to 4Fn or 2Fn. As is well understood by those of ordinary skill in the art, the length DO is the downsampling order of the first stage and is commonly equal to D/4 or D/2. As described above, D represents the overall downsampling order of the decimation, and is the ratio of Fs to Fn. The cascade of comb filters is relatively simple and provides attenuation in the stopband. The second stage of the decimation filter is a quarter band or half band filter that requires relatively less restriction on the stop band, but requires a steep transition. The second stage of the decimation filter is more complicated to implement than the first stage. Although known decimation filters provide some amount attenuation in the stopband and some degree of steepness in transition between the stopband and the passband, there exists a need for greater attenuation in the stopband and a greater degree of steepness between the stopband and the passband than is presently provided in the art. Further, there also exists a need to realize the implementation of the decimation filter in very efficient manner to reduce the silicon area in an integrated circuit required by the decimation filter. BRIEF DESCRIPTION OF THE INVENTION According to the present invention, a decimator is implemented as a filter having high attention in the stop band and a steep transition between the stop band and the pass band of the decimation filter. The high attenuation in the stop band and a steep transition between the stop band and the pass band of the filter implementing the decimator are desired to prevent the quantization noise and out-of-band noise or signal from aliasing back into the base band after the high sample rate output from the A/D modulator is down sampled by the decimator. According to the present invention, a decimator includes a zero insertion filter having an input and an output, wherein the input forms an input of the decimation filter. The input to the zero insertion filter is a 1-bit input stream oversampled at 1.28 MHz. The output of the zero insertion filter is a 6-bit word at a sample rate of 1.28 MHz. The output of the zero insertion filter is coupled to a cascade of four comb filters having a first accumulator stage and a second stage having a first differentiator portion and second differentiator portion wherein the first stage has an input coupled to the output of the zero insertion filter and an output, the first differentiator portion has an input coupled to the output of the first stage and an output, and the second differentiator portion has an input coupled to the output of the first differentiator portion and an output. A down sampling of 32 occurs in the first accumulator stage to provide a 31-bit word at a sample rate of 40 KHz. A down sampling of 2 occurs in the first differentiator portion of the second stage to provide a 31 -bit word at a sample rate of 20 KHz. The output of the second differentiator portion of the second stage is a 26-bit word at a sample rate of 20 KHz. A frequency shaping filter having an input and an output, wherein the input is coupled to the output of the second differentiator portion, performs a 26-bit addition and substraction to provide a 16- bit output that forms an output of the decimation filter, According to another aspect of the present invention, the zero insertion filter includes a serial shift register and an adder. The serial shift register is implemented as a four phase delay line to reduce the number of storage units in the serial shift register that are required for a given number of delay time periods. In the four phase delay line for serial shift register there are storage cells which are divided sequentially into groups of three storage cells. After each group of three storage cells, a free storage cell is disposed. Four non-overlapping clock signals CLKO, CLK1, CLK2, and CLK3 are provided to each of the storage cells and the free storage cells, respectively. By employing a four phase delay line to implement the serial shift register, rather than the more common two-phase delay line that includes a free storage cell between each storage cell, the amount of integrated circuit area required to implement the serial shift register is significantly reduced. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 A is a block diagram of a decimation filter including a zero insertion filter, a cascade of comb filters, and a frequency shaping filter according to the present invention. FIG. IB is a block diagram illustrating the transfer functions of the decimation filter of FIG. 1A according to the present invention. FIG. 2 is block diagram of a zero insertion filter suitable for use according to the present invention. FIG. 3 A is signal flow diagram of the first stage of the cascade of comb filters according to the present invention. FIG. 3B is signal flow diagram of the first portion of the second stage of the cascade of comb filters according to the present invention. FIG. 3C is signal flow diagram of the second portion of the second stage of the cascade of comb filters according to the present invention. FIG. 4 is signal flow diagram of the frequency shaping filter according to the present invention. FIG. 5 is a graph of the output of a decimation filter according to the present invention in response to a 4 KHz signal from a 3rd order A/D modulator. DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT Those of ordinary skill in the art will realize that the following description of the present invention is illustrative only and not in any way limiting. Other embodiments of the invention will readily suggest themselves to such skilled persons. According to the present invention, a decimator suitable for use with an oversampled A/D modulator in an A/D converter is disclosed herein. The decimator is implemented as a filter having high attention in the stop band and a steep transition between the stop band and the pass band of the decimation filter. According to the present invention, the high attenuation in the stop band and a steep transition between the stop band and the pass band of the filter implementing the decimator are desired to prevent the quantization noise and out-of-band noise or signal from aliasing back into the base band after the high sample rate output from the A/D modulator is down sampled by the decimator. Turning now to FIGS. 1 A and IB, block diagrams of a decimation filter 10 according to the present invention are illustrated. In decimation filter 10, a digital signal, Fs, sampled and output from an A/D modulator at a frequency of 1.28 MHz is fed into a zero insertion filter 12. The output of zero insertion filter 12 is input at a frequency of 1.28 MHz to a cascade of comb filters 14. As the digital signal passes through the cascade of comb filters 14, the digital signal is down sampled to 20 KHz. The output of the cascade of comb filters 14 is fed into a frequency shaping filter 16. The output of the frequency shaping filer is a digital signal, Fn, at the Nyquist frequency. Since the over sampling rate, Fs, is 1.28 MHz and the Nyquist frequency, Fn, is 20 KHz, the decimation order, D, of the decimation filter 10 is 64. The zero insertion filter 12, the cascade of comb filters 14, and the frequency shaping filter 16 provide the filter characteristics to the decimation filter 10. The zero insertion filter 12 is employed to provide a steeper transition between the passband and the stopband. The zero insertion filter 12 implements a steeper transition between the passband and the stopband by adding zeros around the cutoff frequency. The additional zeros provided by the zero insertion filter 12 notch out the filter around the cutoff frequency. According to the present invention, the zero insertion filter 12 may be expressed as the following transfer function: H(Z)= π i +Z ' i=0 In order to achieve a dynamic range of greater than 90dB, the parameters for the transfer function of the zero insertion filter 12 were chosen as m=3, and M Q =51, M^l, M 2 =29, M 3 =20. Accordingly, the transfer function is represented by the following expression: ( ι +z- 51 ) (ι +z- 37 ) ( ι +z- 29 ) ( ι +z- 20 ) An implementation of the transfer function for the zero insertion filter 12 is illustrated in FIG. 2. The zero insertion filter includes a 138-bit serial shift register 18 and an adder 20. The output of the zero insertion filter 12 is formed as a 6-bit output of the adder 20. According to the present invention, the 138-bit serial shift register 18 is implemented as a four phase delay line to reduce the number of storage units in the 138-bit serial shift register 20 that are required for a given number of delay time periods. It should be appreciated that other implementations of the zero insertion filter 12 are known to those of ordinary skill in the art. In the four phase delay line for the 138-bit serial shift register 18, there are 138 storage cells 22 labelled as Z through Z . These 138 storage cells are divided sequentially into groups of three storage cells 22-1, 22-2 and 22-3. After each group of three storage cells 22-1, 22-2 and 22-3, a free storage cell 24 labelled X is disposed. (There is not a free storage cell 24 after cell Z because the data is simply shifted out of the storage register 18). Four non- overlapping clock signals CLKO, CLKl, CLK2, and CLK3 are provided to each of the storage cells 22-3, 22-2, 22-1 and the free storage cells 24, respectively. By employing a four phase delay line to implement the 138-bit serial shift register 18, rather than the more common two- phase delay line that includes a free storage cell between each storage cell, the amount of integrated circuit area required to implement the 138-bit serial shift register 18 is significantly reduced. In the operation of the shift register 18, the four non-overlapping clock signals CLKO, CLKl, CLK2, and CLK3 are separately applied to the storage cells 22-3, 22-2, 22-1 and the free storage cells 24, respectively. First, the CLKO signal is asserted to shift the contents of storage cells 22-3 into the free storage cells 24. Next, the CLKl signal is asserted to shift the contents of storage cells 22-2 into the storage cells 22-3. Next, the CLK2 signal is asserted to shift the contents of storage cells 22-1 into the storage cells 22-2. Finally, the CLK3 signal is asserted to shift the contents of the free storage cells 24 into the storage cells 22-1. The bits bO, b20, b29, b37, b49, b51, b57, b66, b71, b80, b86, b88, blOO, bl08, bl l7, and bl37, associated with the corresponding storage cells 22-1, 22-2 and 22-3, as shown for example by the bO bit associated with the storage cell 22-1 labelled Z°, are summed in the adder 20 to provide the six bit output of the zero insertion filter 12. The cascade of comb filters 14 can be expressed by the following transfer function: To achieve a dynamic range of greater than 90dB, the parameters in the transfer function for the cascade of four comb filters 14 are n=3, N Q =64, and N 1 =N 2 =N 3 =96. With N Q =64, the length of the first comb filter is 64 and with N 1 =N 2 =N 3 =96, the length of the second, third and fourth comb filters is 96. It should be appreciated that the four cascaded comb filters each have a length that is much greater than the DO length of the comb filters previously employed. According to the present invention, the cascade of comb filters 14 is implemented in two stages 14-1 and 14-2. The first stage 14-1 of the cascade of comb filters 14 implementing the denominator of the transfer function of the cascade of comb filters 14 has the 6-bit output of the zero insertion filter 12 as an input. A 31 bit modulo accumulation is performed at 1.28 MHz that implements the following expression: 1 ( 1 -Z " ι' \) 4 A signal flow diagram implementing the first stage 14-1 is depicted in FIG. 3 A. The signal sample delays are denoted in the signal flow diagram as Z "1 . Different circuit implementations for signal flow diagram of the first stage 14-1 depicted in FIG. 3 A are well known in the art and will not be included herein to avoid overcomplicating the disclosure and obscuring the present invention. The outputs of the first stage 14-1 are 32-bit words which are down sampled by a factor of 32 such that every 32nd 32-bit word is selected as an input to the second stage 14-2. The second stage 14-2 of the cascade of comb filters 14 implementing the numerator of the transfer function of the cascade of comb filters 14 is separated into two portions 14-2-1 and 14-2-2. The first portion 14-2- 1 of the second stage 14-2 of the cascade of comb filters 14 operates on 31 bits at a rate of 40 KHz due to the down sampling between the first and second stages 14-1 and 14-2, respectively, of the cascade of comb filters 14. The first portion 14-2-1 of the second stage 14-2 of the cascade of comb filters 14 may be implemented by the following expression: (ι-z- 3 ) (ι -z- 3 ) (ι -z- 3 ) A signal flow diagram implementing the first portion 14-2-1 of the second stage 14-2 is depicted in FIG. 3B. The signal sample delays are denoted in the signal flow diagram as Z "1 . Different circuit implementations for signal flow diagram of the first portion 14-2-1 of the second stage 14-2 as depicted in FIG. 3B are well known in the art and will not be included herein to avoid overcomplicating the disclosure and obscuring the present invention. The output of the first portion 14-2- 1 of the second stage 14-2 of the cascade of comb filters 14 are 31-bit words which are down sampled by a factor of 2 such that every other 31-bit word is selected as an input to the second portion 14-2-2 of the second stage 14-2 of the cascade of comb filters 14. The second portion 14-2-2 of the second stage 14-2 operates on 31 bits at a rate of 20 KHz. The second portion 14-2-2 of the second stage 14-2 of the cascade of comb filters 14 may be implemented by the following expression: ( 1 - Z - 1 ) A signal flow diagram implementing the second portion 14-2-2 of the second stage 14-2 is depicted in FIG. 3C. The signal sample delays are denoted in the signal flow diagram as Z " 3 . Different circuit implementations for signal flow diagram of the first portion 14-2-2 of the second stage 14-2 as depicted in FIG. 3C are well known in the art and will not be included herein to avoid overcomplicating the disclosure and obscuring the present invention. It is known that either cascading comb filters or employing comb filters of a longer length increases attenuation in the stop band of a filter and improves the steepness of the transition between the passband and the stopband. However, unlike the prior art described above, that employs comb filters of the same length, such as DO, DO+1 or DO+2 followed by a half-band or quarter-band filter, the cascade of comb filters 14 of the present invention employ a longer length on the order of D to 2D, without the additional half-band or quarter-band filter. The comb filters in the cascade of comb filters 14 according to the present invention may be either of the same length or of different lengths. The frequency shaping filter 16 operates at 20 KHz on 26 bits of inputs from the output of the second portion 14-2-2 of the second stage 14-2 of the cascade of comb filters 14. The frequency shaping filter 16 performs 26 bit addition and subtraction to form an output of 16 bits at 20 KHz. The frequency shaping filter 16 is implemented by the following transfer function: ( l - Z _ 1 ) ( l - 0.5Z _ 1 ) H Z = ■ ( l - ( l - 2- 5 ) z-' ) ( l + 0.5Z- 1 ) A signal flow diagram implementing the frequency shaping filter 16 is depicted in FIG. 4. The signal sample delays are denoted in the signal flow diagram as Z "1 . Different circuit implementations for signal flow diagram of the frequency shaping filter 16 as depicted in FIG. 4 are well known in the art and will not be included herein to avoid overcomplicating the disclosure and obscuring the present invention. In FIG. 5, the output of the decimation filter 10 according to the present invention in response to a 4 KHz signal form a 3rd order A/D modulator is illustrated. From the output spectrum illustrated in FIG. 5, by integrating the noise over the entire baseband, the signal-to- noise ratio is determined to be 93 dB. While embodiments and applications of this invention have been shown and described, it would be apparent to those skilled in the art that many more modifications than mentioned above are possible without departing from the inventive concepts herein. The invention, therefore, is not to be restricted except in the spirit of the appended claims.

Claims: What is Claimed is: 1. A decimation filter comprising: a zero insertion filter having an input and an output, said input forming an input of said decimation filter; a cascade of comb filters having a first accumulator stage and a second stage having a first differentiator portion and second differentiator portion, said first stage having an input coupled to said output of said zero insertion filter and an output, said first differentiator portion having an input coupled to said output of said first stage and an output, and said second differentiator portion having an input coupled to said output of said first differentiator portion and an output; and a frequency shaping filter having an input and an output, said input coupled to said output of said second differentiator portion and said output forming an output of said decimation filter.

Inventors: FANG XIAOLING, HUANG RENYUAN, FANG, XIAOLING, HUANG, RENYUAN
Applicants: SONIC INNOVATIONS INC, SONIC INNOVATIONS, INC.
Application year: 2000
Main classification: H03H17
IPC codes: H03H17, H03M1