This application claims the priority benefit of China application serial no. 201210583817.7, filed on Dec. 28, 2012. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Field of the Invention
The invention generally relates to a delta-sigma modulation apparatus, and more particularly, to a delta-sigma modulation apparatus and a dynamic element-matching circuit thereof.
2. Description of Related Art
The dynamic element-matching circuit in an existing multi-digit delta-sigma modulation apparatus has to be designed to overcome the non-linear characteristic of a digital-to-analog converter (DAC) in the delta-sigma modulation apparatus. In a high-speed data transmission application, the working frequency of a delta-sigma modulation apparatus is usually limited by the operation time of a dynamic element-matching circuit.
Besides, the delayer 120 also outputs the delayed addition result to the logic circuit 130. The logic circuit 130 receives the outputs of the delayer 120 and the adder 110 and performs a logic operation on the consecutive input matching data DIN produced at different time points to generate an output matching data DOUT.
The conventional dynamic element-matching circuit 100 requires a multi-digit adder 110 to perform the addition operation. The adder 110 allows the input matching data DIN to be sent to the logic circuit 130. As a result, the hardware cost of the dynamic element-matching circuit 100 is increased.
Accordingly, the invention is directed to a delta-sigma modulation apparatus and a dynamic element-matching circuit thereof, in which the circuit area, and accordingly the hardware cost, is effectively reduced.
The invention provides a dynamic element-matching circuit including a data aligner, a logic operation circuit, and a delayer. The data aligner receives an input matching data and a pointer signal and shifts the input matching data according to the pointer signal to generate an output matching data. The logic operation circuit is coupled to the data aligner. The logic operation circuit receives the output matching data and performs a logic operation on the output matching data to generate a preceding pointer signal. The delayer is coupled to the logic operation circuit and the data aligner. The delayer receives the preceding pointer signal and delays the preceding pointer signal according to a sample clock pulse to generate the pointer signal.
According to an embodiment of the invention, the logic operation circuit includes N AND gates. The input of the 1st AND gate receives reverse value of the 1st output bit and the Nth output bit among the output bits of the output matching data, and the output of the 1st AND gate generates the 1st bit of the preceding pointer signal. The input of the ith AND gate receives reverse value of the ith output bit and the (i−1)th output bit among the output bits of the output matching data, and the output of the ith AND gate generates the ith bit of the preceding pointer signal.
According to an embodiment of the invention, the logic operation circuit includes N NAND gates and N NOT gates. The input of the 1st NAND gate receives reverse value of the 1st output bit and the Nth output bit among the output bits of the output matching data, and the input of the ith NAND gate receives reverse value of the ith output bit and the (i−1)th output bit among the output bits of the output matching data. The inputs of the NOT gates are respectively coupled to the outputs of the NAND gates, and the outputs of the NOT gates generate the preceding pointer signal.
According to an embodiment of the invention, the data aligner is a lookup table. The lookup table records a corresponding relationship among the input matching data, the pointer signal, and the output matching data.
According to an embodiment of the invention, the delayer is a latch. The latch latches the preceding pointer signal according to the sample clock pulse and provides the latched preceding pointer signal as the pointer signal according to the sample clock pulse.
The invention provides a delta-sigma modulation apparatus including an arithmetic unit, a filter, an analog-to-digital converter (ADC), a digital-to-analog converter (DAC), and a dynamic element-matching circuit. The arithmetic unit receives an analog input signal and an output of the DAC and performs an arithmetic operation on the analog input signal and the output of the DAC to generate an operation result. The filter receives the operation result from the arithmetic unit and amplifies and filters the operation result. The ADC coupled to the filter performs an analog-to-digital conversion operation on the operation result to generate an output data. The dynamic element-matching circuit receives the output data and performs a dynamic element-matching alignment on the output data. The DAC receives the output of the dynamic element-matching circuit and performs a digital-to-analog conversion operation. The dynamic element-matching circuit includes a data aligner, a logic operation circuit, and a delayer. The data aligner receives an input matching data and a pointer signal and shifts the input matching data according to the pointer signal to generate an output matching data. The logic operation circuit is coupled to the data aligner. The logic operation circuit receives the output matching data and performs a logic operation on the output matching data to generate a preceding pointer signal. The delayer is coupled to the logic operation circuit and the data aligner. The delayer receives the preceding pointer signal and delays the preceding pointer signal according to a sample clock pulse to generate the pointer signal.
As described above, in the invention, a logic operation circuit receives an output signal generated by a data aligner and generates a pointer signal, and the data aligner generates a new output signal according to the pointer signal and an input signal. Thus, no adder is needed in the data aligner. Accordingly, the power consumption and layout area of the circuit are effectively reduced, the hardware cost and power consumption of a delta-sigma modulation apparatus are also effectively reduced.
These and other exemplary embodiments, features, aspects, and advantages of the invention will be described and become more apparent from the detailed description of exemplary embodiments when read in conjunction with accompanying drawings.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The delayer 230 is coupled to the logic operation circuit 220 and the data aligner 210. The delayer 230 receives a sample clock pulse TS and delays the preceding pointer signal PPTR generated by the logic operation circuit 220 according to the sample clock pulse TS to generate the pointer signal PTR. To be specific, the delayer 230 delays the preceding pointer signal PPTR by a cycle of the sample clock pulse TS to generate the pointer signal PTR.
It should be noted that in the present embodiment, the data aligner 210 directly receives the input matching data DIN and shifts the input matching data DIN according to the pointer signal PTR to generate the output matching data DOUT. In other words, no adder is disposed on the path for the data aligner 210 to receive the input matching data DIN. Accordingly, the input matching data DIN can be quickly sent into the data aligner 210, and accordingly the processing rate of the dynamic element-matching circuit 200 can be increased.
In addition, the logic operation circuit 220 is a logic circuit without any adder. The logic operation circuit 220 directly receives the output matching data DOUT from the data aligner 210 and performs a logic operation on the output matching data DOUT to generate the preceding pointer signal PPTR. In the present embodiment, the logic operation circuit 220 generates the preceding pointer signal PPTR according to the transition state of the output matching data DOUT. For example, when the 1st to the 6th output bits of the output matching data DOUT respectively have the binary values 001100, the 2nd to the 3rd output bits of the output matching data DOUTtransit from 0 to 1. Accordingly, the 3rd bit of the preceding pointer signal PPTR generated by the logic operation circuit 220 is 1, while the other bits of the preceding pointer signal PPTR are all 0. If the 1st to the 6th output bits of the output matching data DOUT respectively have the binary values 000011, the 4th to the 5th output bits of the output matching data DOUT transit from 0 to 1. Accordingly, the 5th bit of the preceding pointer signal PPTR generated by the logic operation circuit 220 is 1, while the other bits of the preceding pointer signal PPTR are all 0.
To be specific, assuming that the output matching data DOUT is a logic signal having N output bits (N is a positive integer greater than 1), the logic operation circuit 220 performs an AND operation on the reverse value of the 1st output bit and the Nth output bit among the output bits of the output matching data DOUT to generate the 1st bit of the preceding pointer signal PPTR. The logic operation circuit 220 also performs an AND operation on the reverse value of the ith output bit and the (i+1)th output bit among the output bits of the output matching data DOUT to generate the ith bit of the preceding pointer signal PPTR. Herein N is a positive integer greater than 1, and i is a positive integer greater than 1 and smaller than N.
The logic operation circuit 220 performs a logic operation on the output matching data DOUT to generate the preceding pointer signal PPTR, which is different from the technique adopted by a conventional dynamic element-matching circuit in which the preceding pointer signal is generated through an addition operation performed on the input matching data. Thereby, no adder is required by the logic operation circuit 220 in the present embodiment.
The data aligner 210 shifts the input matching data DIN according to the pointer signal PTR to generate the output matching data DOUT. In the present embodiment, the data aligner 210 is a lookup table. The lookup table records a corresponding relationship among the input matching data DIN, the pointer signal PTR, and the output matching data DOUT. Namely, when the data aligner 210 receives the input matching data DIN and the pointer signal PTR, it finds out and outputs the output matching data DOUT according to the corresponding relationship among the input matching data DIN, the pointer signal PTR, and the output matching data DOUT recorded in the lookup table.
It should be noted that in the present embodiment, no adder is required in the dynamic element-matching circuit 200. Namely, the circuit area of the dynamic element-matching circuit 200 is not increased due to any multi-digit adder. Thus, the hardware circuit cost is effectively reduced.
Referring to
It should be noted that the implementation with 4 AND gates and NAND gates illustrated in
The D-type flip-flops OFF1-OFFN temporarily store the preceding pointer signal PPTR according to the sample clock pulse TS and provides the preceding pointer signal PPTR as the pointer signal PTR after delaying for one cycle of the sample clock pulse TS.
When the bits PTR[1]-PTR[3] of the pointer signal PTR respectively received by the selectors 511-533 are enabled (for example, assigned with the logic value 1), the selectors respectively receiving the bits PTR[1]-PTR[3] (which have the logic value 1) of the pointer signal PTR output the input bits DIN[1], DIN[2] which are horizontally input, and DIN[3] (as shown in
Assuming that the input bits DIN[1], DIN[2], and DIN[3] respectively have the logic values 0, 1, and 1, when the second bit PTR[2] of the pointer signal PTR has the logic value 1 and the other bits of the pointer signal PTR have the logic value 0, the selector 532 receives the bit PTR[2] of the pointer signal PTR (which has the logic value 1) and sends the input bit DIN[3] (which has the logic value 1) to the selector 523. The selector 523 sends the input bit DIN[3] received by the selector 532 to the selector 511, and the selector 511 outputs the received input bit DIN[3] as an output bit DOUT[1]. Similarly, the selector 522 receives the bit PTR[2] (which has the logic value 1) of the pointer signal PTR and sends the input bit DIN[2] (which has the logic value 1) to the selector 513. The selector 513 outputs the received input bit DIN[2] as an output bit DOUT[3]. Additionally, the selector 512 receives the bit PTR[2] (which has the logic value 1) of the pointer signal PTR, and the selectors 512 and sends the input bit DIN[1] (which has the logic value 0) as an output bit DOUT[2]. Namely, the output bits DOUT[1]-DOUT[3] respectively have the logic values 1, 0, and 1.
However, the data aligner 210 composed of 3×3 selectors illustrated in
It should be mentioned herein that in the present embodiment, at most one of the bits PTR[1]-PTR[3] of the pointer signal PTR can have the logic value 1.
The delta-sigma modulation apparatus 600 further includes the DAC 640. The DAC 640 is serially connected on the path of the dynamic element-matching circuit 200 for sending the output matching data DOUT to the arithmetic unit 610.
Please note that the dynamic element-matching circuit 200 in the present embodiment is exactly the same as the dynamic element-matching circuit 200 illustrated in
As described above, the invention provides a dynamic element-matching circuit without any adder, such that the time for transmitting an input matching data to a logic operation circuit is shortened. Besides, since no adder is required, the circuit area and the hardware cost of the dynamic element-matching circuit are effectively reduced, and the power consumption when the dynamic element-matching circuit is in operation is also effectively reduced.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
201210583817.7 | Dec 2012 | CN | national |