Clock balanced segmentation digital filter provided with optimun area of data path

The present invention generally relates to provide a clock balanced segmentation digital filter, which is provided with an optimum area of a data path. The digital filter includes a controlling unit, which is connecting with a register, a multiplexer unit, and an arithmetic and logic unit. The present invention utilizes the controlling unit to initialize the filter parameter stored in the register and to segment the whole logic operation procedure to a plurality of operation steps and to arrange the operation procedure. The multiplexer unit is connecting with the register and the arithmetic and logic unit. The multiplexer unit controlled by the controlling unit is choosing the require parameter and data to output into the arithmetic and logic unit to perform the operation. The operation result is stored in the register for using as the following operation parameter. The present is provided with advantages of scaling down the area of logic circuit, low power consumption and rapid operation.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to a filter, and more particularly relates to a clock balanced segmentation digital filter, which is provided with a simple circuit design and a small area.

2. Description of the Prior Art

Currently, with the improvement of the digital technology and highly application of the integrated circuits, using the digital technology to treatment the signal is become a commonly used method. The procedure of the conventional digital signal treatment includes utilizing an analog/digital converter (A/D converter) to convert the analog signal to the digital signal representation. Then, the digital signal is perform an appropriate treatment and the obtained result is returned to an analog output signal via the analog/digital converter (A/D converter). Hence, the key of the digital signal treatment is to use the digital filter selectively treating the signal.

In general, the main function of the common filter is to make the signal, after the complex operation formula designed therein, to enhance the amplitude of vibration or the frequency characteristic of the required signal at a specified frequency range so as to obtain the output signal with a high quality and an anti-miscellaneous ability at the specified frequency to reduce the unwanted amplitude of vibration or the unwanted frequency characteristic. The circuit operation design of the prior filter, because each operation formula must require a operation unit to perform the operation, so the filter, which is required complex operation, must utilize a plurality of adders, subtracters, multipliers, and operation unit to compose the required operation circuit for the filter. Hence, the filter requires hardware with complex design and a larger area for arranging the hardware. Presently, the prior filter cannot match the microminiaturized require of the filter. Besides, owing to each operation unit have a delay time in the operation, the prior filter used such adders, subtracters, multipliers therein will cause the require of a longer delay time of the operation of the whole filter, so the filter can not achieve the rapid require of wave filtering.

Obviously, the main spirit of the present invention is to provide digital filter with a small area and rapid operation, and then some disadvantages of well-known technology are overcome.

SUMMARY OF THE INVENTION

The primary object of the invention is to provide a digital filter, which is utilizing the technology of the sharing resource to compress the complex operation procedure of the signal treatment of the digital filter so as the present invention can only require one adder-subtracter and one shifter to achieve the equal effect and provide with the advantages of scaling down the area of logic circuit, low power consumption and rapid operation.

Another object of the invention is to provide a simple designed digital filter to properly segment the length of the logic operation to effectively enhance the speed of the clock so as the digital filter can achieve the advantage of rapid operation.

In order to achieve previous objects, the present invention provides a digital filter. The clock balanced segmentation digital filter includes the following elements. An arithmetic and logic unit is composing of an adder-subtracter and a shifter. A register is used for storing the filter parameter and operation data, which are required for the operation. A controlling unit is connecting with the register and a multiplexer unit so as the multiplexer unit controlled by the controlling unit is choosing the require parameter and data to output into the arithmetic and logic unit to perform the operation and then the operation result is stored in the register for using as the following operation parameter.

DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring to theFIG. 1a digital filter10includes an infinite impulse response (IIR) controlling device12and an arithmetic and logic unit14. Wherein, the IIR controlling device12comprises a register16, a controlling unit18and a multiplexer unit (MUX)20. The register16is connecting with the controlling unit18so as to utilize the register16storing the required filter parameter in the operation and receiving the operation data from the controlling unit18. In the beginning of the operation, the filter parameter stored in the register16is initialized by the controlling unit18. However, the multiplexer unit (MUX)20is connected to the controlling unit18, the register16, and the arithmetic and logic unit14, so the multiplexer unit (MUX)20is according to the control of the controlling unit18to choosing the required filter parameter and the operation data in the operation to output into the arithmetic and logic unit14. At the same time, the arithmetic and logic unit14would directly receive the data from the controlling unit18to match the filter parameter and to perform the operation. The new obtained parameter from the operation is stored into the register16to use for the operation parameter in the following use.

Referring to theFIG. 2, the arithmetic and logic unit14mentioned above is composed of an adder-subtracter22and a shifter24. Wherein, the adder-subtracter22is provided with three input ends and one output end, respectively shown as a1, a2, a3, a4. The input end a1and the input end a2are connected with the multiplexer unit (MUX)20. The input end a3is connected with the controlling unit18and the output end a4is connected with the register16. In the present invention, the input end a1and the input end a2are respectively receiving two numerals, such as the filter parameter or data inputted from the multiplexer unit (MUX)20. The input end a3is receiving the performing signal from the controlling unit18to perform adding or subtracting to those two numerals. After adding or subtracting those two numerals via the adder-subtracter22, the output end a4of the adder-subtracter22is outputting a numeral (a new operation parameter) into the register16of the IIR controlling device12and to be stored therein. In the same reason, the shifter24is arranged two input ends connecting with the multiplexer unit (MUX)20and one output end connecting with the register16, respectively shown as s1, s2, s3. In the present invention, a numeral is inputted into the input end s1and the required bit amount to shift the numeral is inputted into the input end s2for the numeral inputted via the output end s3after the operation of the shifter24and stored in the register16for the following operation. Besides, in the whole IIR controlling device12, such as shown in theFIG. 2, except four circuit ends a1′, a2′, a3′, and a4′ used for the internal output end and input end of the adder-subtracter mentioned above, and except three circuit ends s1′, s2′, s3′ used for the internal output end and input end of the shifter, there are another four circuit ends respectively for reset input, clock input, external filtering-required data input, the storbe signal input, such as external input ends are respectively shown as R, C, D1, and S1. Besides, there are another two circuit ends, such shown as D2and S2, are respectively used for inputting data after the treatment of the filter and outputting the storbe signal.

The present invention utilizes the controlling unit18mentioned above to control the internal operation procedure of the whole digital filter. When the digital filter is performing the initializing step, the controlling unit18only provides few necessary parameters to store into the register16and appropriately segment the length of the logic operation. The logic operation is speared into few simple operation steps (such as numeral adding, numeral subtracting, and numeral shifting) to help the operation of the adder-subtracter22and the shifter24and arrange the order of each operation step at the same time. After, the multiplexer unit (MUX)20controlled by the controlling unit18is choosing two operated-required numerals from the register16and then transferring into the arithmetic and logic unit14to perform the operation to produce a new parameter and then storing in the register16. Repeating and repeating the above steps, there are more and more parameters stored in the register16until the controlling unit18finishing the whole logic operation.

To sum up the forgoing, the present invention merely utilizes one adder-subtracter22and one shifter24to compose of the arithmetic and logic unit14repeating performing numeral operations. The present invention is utilizing the technology of the sharing resource to compress the complex operation procedure of the signal treatment of the digital filter so as the present invention only require one adder-subtracter and one shifter to achieve the equal effect and provide with the advantages of scaling down the area of logic circuit, low power consumption and match the microminiaturized require of the filter. Furthermore, the present invention properly segments the length of the logic operation to effectively enhance the speed of the clock so as the digital filter can achieve the advantage of rapid operation.

Of course, it is to be understood that the invention described herein need not be limited to these disclosed embodiments. Various modification and similar changes are still possible within the spirit of this invention. In this way, all such variations and modifications are included within the intended scope of the invention and the scope of this invention should be defined by the appended claims.