The present invention relates generally to a decimation filter and, more particularly, to an improved cascaded integrator-comb (CIC) decimation filter.
Reference is now made to
Each integrator 12, as shown schematically in
Each differentiator 16, as shown schematically in
Let XNin be the signal at the input of the first integrator 12 in the string, and let n be the index of the samples of the signal x. XNin may be represented as:
XNin=x(0), x(1), x(2), . . . , x(n), . . . , x(n+k),
Let XNint be the integration signal 20 at the output of the last integrator 12(N). XNint may be represented as:
XNint=x(0), x(0)+x(1), x(0)+x(1)+x(2), . . . , x(0)+x(1)+ . . . +x(n),
Let XND be the decimated signal 22 at the output of the decimator 14. The decimator 14 functions to output every D-th sample of the signal XNint, which would represent the integration signal 20 at the samples where n=0, D, 2D, . . . .
XND may be represented as:
XND=X(0), X(D), X(2D),
where:
X(0)=x(0),
X(D)=x(0)+x(1)+ . . . +x(D),
X(2D)=x(0)+x(1)+ . . . +x(2D),
and so on.
Let XNout be the signal at the output of the (first) differentiator 16(N) in the string. XNout may be represented as:
XNout=X(D)−X(0), X(2D)−X(D), X(3D)−X(2D),
This may also be represented as follows:
XNout=Σn=0Dx(n)−x(0), Σn=D2Dx(n)−Σn=0Dx(n),
The foregoing may be graphically represented as shown in
There is a need in the art to reduce the size and power consumption of the CIC decimation filter with negligible or no associated performance penalty.
In an embodiment, a cascaded integrator-comb (CIC) decimation filter comprises: N integrator stages coupled in series; a decimator having an input coupled to receive an integrated signal that is output from the N stages of integrators coupled in series; N−1 differentiator stages coupled in series and configured to receive a decimated signal that is output from the decimator; wherein the N integrator stages coupled in series include a last integrator stage in the series having an output generating the integrated signal; and wherein the last integrator stage is controlled to periodically reset the integrated signal.
In an embodiment, a cascaded integrator-comb (CIC) decimation filter comprises: N integrator stages coupled in series; a decimator having an input coupled to receive an integrated signal that is output from the N integrator stages coupled in series and configured to periodically output samples of a decimated signal and periodically assert an integration reset signal; and N−1 differentiator stages coupled in series and configured to receive the decimated signal that is output from the decimator; wherein the integration reset signal is applied to a last integrator stage of said N integrator stages coupled in series to cause a feedback delay element of the last integrator stage to be reset to zero.
In an embodiment, a method comprises: integrating samples of an input digital signal to generate an integration signal; decimating samples of the integration signal to generate a decimation signal; differentiating samples of the decimation signal; and periodically resetting the integration signal.
For a better understanding of the embodiments, reference will now be made by way of example only to the accompanying figures in which:
Reference is now made to
The N stages of integrators 52(1) to 52(N) are connected in cascade series with the (first) integrator 52(1) in the string having an input configured to receive an input signal IN (where the input signal IN is a digital signal and the integrators operate at a sampling frequency of the input digital signal). The output of the integrator 52(1) is coupled to the input of the next integrator 52(2) stage in the string, and this connectivity is repeated across the string of included integrators. The output of the (last) integrator 52(N) stage in the string produces an integration signal 60 that is applied to the input of a rate changer in the form of a decimator 54 (also referred to in the art as a down-sampler). The decimator 54 operates to decimate the integration signal 60 and generate a decimated signal 62. As an example, the decimator 54 may select for output as the decimated signal 62 every D-th sample of the integration signal 60 so as to provide a down sampling rate of D. The N−1 stages of differentiators 56(1) to 56(N−1) are connected in cascade series with the (first) differentiator 56(N−1) stage in the string having an input configured to receive the decimated signal 62. The output of the differentiator 56(N−1) is coupled to the input of the next differentiator 56(N−2) stage in the string, and this connectivity is repeated across the string of included differentiators. The output of the (last) differentiator 56(1) stage in the string produces an output signal OUT which is the result of filtering the input signal IN (where the output signal OUT is a digital signal and the differentiators operate at a sampling frequency of the output digital signal). The down sampling rate of D effectuates the rate change from the sampling frequency of the input digital signal to the sampling frequency of the output digital signal.
Each integrator 52, except for the last integrator 52(N), may be implemented as shown schematically in
Each differentiator 56 may be implemented as shown schematically in
The reset signal 70 is generated by the decimator 54 once every D counts of the decimation operation. In other words, the reset signal 70 is asserted each time the decimator 54 outputs a new sample of the decimated signal 62. In response to the assertion of the reset signal 70, the last integrator 52(N) is reset and the integration signal 60 output from the last integrator 52(N) has a feedback delay contribution of zero. The implementation of the reset operation may be accomplished, as discussed herein with respect to an integrator of the type shown in
It will be noted that the last integrator 52(N) in the string has a non-modulo implementation which is different from the modulo integrator operation of the integrators 12 of the CIC decimation filter 10 of
Let XNin be the signal at the input of the first integrator 52 in the string, and let n be the index of the samples of the signal x. XNin may be represented as:
XNin=x(0), x(1), x(2), . . . , x(n), . . . , x(n+k),
Let XNint be the integration signal 60 at the output of the last integrator 52(N). It will be remembered that the last integrator 52(N) is reset once every D counts. XNint may be represented as:
For counts 0 to D; XNint=x(0), x(0)+x(1), x(0)+x(1)+x(2), . . . , x(0)+x(1)+ . . . +x(D)
For counts D+1 to 2D; XNint=x(D+1), x(D+1)+x(D+2), x(D+1)+x(D+2)+x(D+3), . . . , x(D+1)+x(D+2)+ . . . +x(2D).
For counts 2D+1 to 3D; XNint=x(2D+1), x(2D+1)+x(2D+2), x(2D+1)+x(2D+2)+x(2D+3), . . . , x(2D+1)+x(2D+2)+ . . . +x(3D). And so on.
Let XND be the decimated signal 62 at the output of the decimator 54. The decimator 54 functions to output every D-th sample of the signal XNint, which would represent the integration signal 20 at the samples where n=0, D, 2D, . . . .
XND=X(0), X(D), X(2D),
where:
X(0)=XNint(0)=x(0),
X(D)=XNint(D)=x(1)+ . . . +x(D),
X(2D)=XNint(2D)=x(D+1)+x(D+2)+ . . . +x(2D),
X(3D)=XNint(3D)=x(2D+1)+x(2D+2)+ . . . +x(3D),
and so on.
This may also be represented as follows:
XND=Σ
n=0
D
x(n)−x(0), Σn=D2Dx(n)−Σn=0Dx(n),
Notably, this XND output is equal to the XNout output from the first differentiator 16(N) of the of the CIC decimation filter 10 of
The foregoing may be graphically represented as shown in
It will be noted that the example shown in
The implementation of the CIC decimation filter 50 of
The system of
The system may include a processor and a memory, the memory having the computer executable instructions for executing a process for implementing the CIC filtering operation. The computer executable instructions, in whole or in part, may also be stored on a computer readable medium separated from the system on which the instructions are executed. The computer readable medium may include any volatile or non-volatile storage medium such as flash memory, compact disc memory, and the like.
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.
This application claims the priority benefit of U.S. Provisional Application for Patent No. 62/681,777 filed Jun. 7, 2018, the disclosure of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62681777 | Jun 2018 | US |