1. Field of the Invention
The present invention relates to electronics. More specifically, the present invention relates to analog to digital converters.
2. Description of the Related Art:
Analog to digital converters are widely used for converting analog signals to corresponding digital signals for many electronic circuits. For example, a high resolution, high-speed analog to digital converter (ADC) may find application in the cellular infrastructure market, broadband communications, video circuits, radar, and electronic warfare applications. In the field of analog to digital conversion, there continue to be many driving goals, such as speed, increased number of bits (relating to dynamic range and spur-free operation), power consumption, and size. Two of the most critical specifications remain speed and dynamic range.
The fastest ADC architecture is called “flash” conversion. A flash ADC produces an N-bit digital output in one step using a comparator bank comprised of 2N/1 parallel comparators. This architecture, however, is limited in dynamic range to about 8 bits, since the number of comparators grows rapidly as the number of bits N becomes larger. The next fastest converter technique is a subranging pipelined architecture.
Subranging ADCs typically use a low resolution flash quantizer during a first stage or “coarse pass” to convert an analog input signal into the most significant bits (MSB) of its digital value. An analog version of the MSB word, generated by a digital to analog converter (DAC), is then subtracted from the input signal at a summing node to produce a residue or residual signal. The residue signal is subsequently digitized by one or more additional stages or “fine passes” to produce the least significant bits (LSB) of the input signal. The digital words produced by each stage are combined by digital error correcting circuitry to produce a digital output representing the original analog input signal.
For high speed, large dynamic range ADCs, it is often necessary to drive the first, and often other, stages of a subranging converter with a sample and hold (S/H) circuit. The S/H circuit samples the voltage of the input signal and, ideally, holds that voltage constant while the summing node subtracts out a precise voltage generated by the DAC output current and a load resistor. The output voltage of a typical S/H, however, is nonlinearly dependent on its output current, which changes depending on the output current of the DAC. Consequently, an accurate residue signal cannot be obtained, causing errors in the analog to digital conversion.
For large dynamic range converters, it is therefore necessary to keep the S/H output current nearly constant in order to keep the S/H output voltage a linear representation of the input signal. The conventional solution accomplishes this by using a second complementary output current generated by the DAC to keep the S/H output current constant. This approach, however, requires multiple trim cycles because the value of the complementary DAC current changes whenever the first DAC output current is trimmed. Multiple trim cycles are time consuming and therefore costly, particularly when high accuracies are required for large dynamic range ADCs. When a differential configuration is used, reduced trim time is even more important since two precision DACs need to be trimmed.
Hence, there is a need in the art for an improved system or method for keeping the S/H output current in a subranging ADC constant that requires less trim time than prior art solutions.
The need in the art is addressed by the subtraction circuit of the present invention. The novel subtraction circuit includes a first circuit for providing an impedance between an input node and an output node, a second circuit for generating a first current and applying the first current to the output node to produce a desired voltage drop between the input and output nodes, and a third circuit for independently generating a second current relative to the first current and applying the second current to the input node to regulate a current input to the first circuit at the input node. The second and third circuits are implemented using two digital to analog converters, a precision DAC for generating the first current and a non-trimmed “dummy” DAC for generating the second current. In an illustrative embodiment, the subtraction circuit is used in the reconstruction stage of a subranging analog to digital converter to regulate the output current of a S/H circuit.
Illustrative embodiments and exemplary applications will now be described with reference to the accompanying drawings to disclose the advantageous teachings of the present invention.
While the present invention is described herein with reference to illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those having ordinary skill in the art and access to the teachings provided herein will recognize additional modifications, applications, and embodiments within the scope thereof and additional fields in which the present invention would be of significant utility.
The first quantizer 20 is typically a low resolution ADC such as a flash converter, which includes a comparator bank 22 and latches 24. The reconstruction circuit 28 includes a digital to analog converter (DAC) 30 for generating an analog version of the output of the quantizer 20; a summing node 32 for subtracting the output of the DAC 30 from the sampled input signal V1; a resistor R connected between the output node 31 of the S/H 12 and the summing node 32; and an amplifier 34 for amplifying the residue signal generated by the summing node 32. The amplifier 34 typically includes an op amp 36 and two resistors RF and R1 connected in a feedback configuration.
In the subranging ADC 10 shown in
The voltage VA at the summing node 32 is ideally given by VA=V1−IDACR, where IDAC is the output current of the DAC 30 and V1 is the output voltage of the S/H 12. The output stage of the S/H 12, however, typically includes an emitter follower having a finite output impedance. This causes the voltage V1 to become nonlinearly dependent on the S/H output current, which changes with the DAC output current IDAC. Consequently, an accurate residue signal cannot be obtained, causing errors in the analog to digital conversion. Therefore, for large dynamic range converters, it is necessary to keep the S/H output current nearly constant in order to keep the S/H output voltage a linear representation of the input signal.
As shown in
By connecting the collector of Q1 to the S/H output node 31, the current is shifted from one side of R to the other (since I1 and I2 are complementary currents), keeping the S/H output current IFS to approximately 2VIN full scale/2N×R. This will meet the objective to keep V1 a linear-function of VIN. However, a problem arises with this implementation. Since I1 and I2 are derived from the same current source 66, when I2 is trimmed (the current source 66 is actually trimmed), then I1 will also change. Because of this dependence of I1 on I2, multiple trim cycles are required to achieve an optimum trim value for I2.
A simple analysis will help to illustrate this problem. First, recognize that there is a finite output impedance rO associated with the S/H 12. The S/H output voltage V1 is therefore given by V1=VIN−rOIFS. Two end point conditions need to be satisfied. First, for VIN=0, I1 on and I2 off, VO should be 0 V. Second, for VIN=ΔVIN, I1 off and I2 on, VO should be 0 V. These conditions are met by trimming IOFFSET and I2.
For the first condition, VO=VIN−rOIFS+RIOFFSET and IFS=I1−IOFFSET. This gives VO=VIN−rO(I1−IOFFSET)+RIOFFSET=VIN−rOI1+(rO+R)IOFFSET. Substituting VO=VIN=0 results in:
IOFFSET=rOI1/(rO+R). [1]
For the second condition, VO=VIN−(rO+R)IFS and IFS=I2−IOFFSET. This gives VO=VIN−(rO+R)(I2−IOFFSET). Substituting VO=0 and VIN=ΔVIN results in:
I2=ΔVIN/(rO+R)+IOFFSET. [2]
Substituting Eqn. 1 into Eqn. 2 gives:
I2=ΔVIN/(rO+R)+rOI1/(rO+R) [3]
Letting I1=I2 results in I2=ΔVIN/R, an exact solution.
While this analysis provides us with an exact solution, an example will show that it takes multiple iterations to approach it in practice. Because of process variations, the DAC cells are designed to higher than optimum current values, and then trimmed until accuracy requirements are met. So, as an example, let I3=I1=1.2 mA, rO=25 Ω, R=64 Ω, and ΔVIN=64 mV.
In the first step of the trimming process, in order to set VO=0 for VIN=0, the offset current IOFFSET is set to IOFFSET=rOI1/(rO+R)=0.000337079 (from Eqn. 1).
In the second step, in order to set VO=0 for VIN=64 mV, the DAC current I2 is trimmed (by trimming I3 from the current source 66) to I2=ΔVIN/(rO+R)+IOFFSET=0.001056180 (from Eqn. 2).
Trimming I3, however, also changes the value of I1. The value of VO therefore needs to be rechecked for VIN=0, the first condition. Substituting IOFFSET=0.000337079 and I1=I2 =0.001056180, gives VO=VIN−rOI1+(rO+R)IOFFSET=0.003595531. VO is therefore no longer equal to 0, so the circuit must be re-trimmed.
During the second iteration, the first step is repeated using I1 with a new value of 0.00105618, setting the offset current to IOFFSET=rOI1/(rO+R)=0.00029668 (from Eqn. 1).
Repeating the second step using the new IOFFSET, the DAC current I2 is trimmed (by trimming I3 from the current source 66) to I2=ΔVIN/(rO+R)+IOFFSET=0.001015781 (from Eqn. 2).
Rechecking VO for VIN=0 again, gives VO=VIN−rOI1+(rO+R)IOFFSET=0.001009995. VO is getting closer to 0 V, but more iterations will be required if the ADC is to achieve the accuracy required for a large dynamic range ADC.
One important point needs to be made here. The above example was simplified (only one DAC switch was used) to clarify the problem and process. When a real DAC is used, one with multiple switches and current sources (a typical DAC includes 31 current sources), the trim scenario would be to set IOFFSET, trim all of the current sources, then re-trim IOFFSET, re-trim all 31 current sources, and so on until the desired accuracy is achieved. Having to re-trim all 31 current sources and IOFFSET multiple times to get to the required accuracy is very time consuming and therefore, costly.
An analog input signal VIN is applied to an input terminal 11 connected to a sample and hold (S/H) circuit 12, which outputs a voltage V1. The sampled voltage V1 is input to the first subranging stage 114, which includes a first quantizer 20 for digitizing V1 to its N most significant bits and a novel reconstruction circuit 128 for subtracting an analog version of the N-bit digital word from the sampled input signal V1 to generate a residue signal. The residue signal is then digitized by the second stage 16, which includes a second quantizer 40 for generating an M+1 bit digital output (one bit is for error correction) from the residue signal. An error correction circuit 18 combines the N-bit and M+1 bit words to produce an M+N bit digital output representing the original analog input signal.
Depending on the circuit implementation, the input to the quantizer 20 may be the S/H output voltage V1, or the input voltage VIN from the input terminal 11(as shown by a dotted line). In addition, for an ADC having more than two stages, each subranging stage may be driven by a S/H circuit. The teachings of the present invention may be applied to the S/H of each subranging stage to keep each S/H output current constant.
The novel reconstruction circuit 128 includes two DACs 30 and 130. As with the prior art implementations, the first DAC 30 generates a current I2 from the MSB output 52 of the quantizer 20 and applies the current I2 to a summing node 32, generating a desired voltage drop across a resistor R and a residue voltage VA at the summing node 32. The resistor R is connected between the output node 31 of the S/H 12 and the summing node 32. In accordance with the teachings of the present invention, the reconstruction circuit 128 also includes a second “dummy” DAC 130 adapted to output a complementary current I1, generated independent of I2, and apply the current I1 to the S/H output node 31, such that the S/H output current IFS is held approximately constant. The reconstruction circuit 128 may also include a current source 38 for coupling an offset current IOFFSET to the summing node 32, and an amplifier 34 for amplifying the voltage VA at the summing node 32 and outputting a voltage VO to the second quantizer 40.
In the illustrative embodiment, the quantizer 20 outputs the MSB signal 52, as well as its complementary signal 54. The MSB signal 52 is applied to the first DAC 30, while the complementary signal is applied to the second DAC 130. As discussed above, each DAC may be configured to output two complementary signals. In the single-ended implementation shown in
Thus, the present invention holds the S/H output current IFS constant by utilizing complementary currents generated by two separate DACs. The first DAC 30 is a precision DAC, trimmed to accurately add or subtract I2 from the summing node 32 to produce an accurate residue signal VA. The second “dummy” DAC 130 is used to provide the complementary current I1 used to keep the S/H output current IFS constant. The current I1 is therefore independent of I2. When the first DAC 30 is trimmed, there is no impact on the second DAC 130 or its output current I1, so when the initial condition is rechecked, IOFFSET is still correct to return VO to 0 V. Therefore, only one trim cycle is required, saving the time and cost associated with the multiple trim cycles required by the prior art.
The first DAC 30 should be a precision DAC, trimmed to accurately add or subtract I2 from the summing node 32 so that VA is never greater than 2VIN full scale/2N. The second DAC 130, however, does not need to be a precision DAC and does not require trimming. The output current I1 of the second DAC-130 changes as the complement of the output current I2 of the first DAC 30. Thus, when I2 increases a ΔI2 step, I1 decreases a ΔI1 step, where ΔI1 and ΔI2 are almost identical, thereby always keeping the change in the S/H output current IFS equal to or less than +VIN full scale/(2N×R). This keeps the S/H output voltage V1 linear. The current change ΔI1 does not need to be exactly equal to ΔI2 for this invention to work. The dummy DAC 130 therefore does not need to be a precision DAC. This leads to an additional benefit when the ADC is implemented differentially.
When the invention is used in a differential configuration, the same two DACs as described for
In contrast,
In the conventional implementation, both DACs must be precision DACs. In the novel implementation of the present invention, only one DAC needs to be a precision DAC. The second “dummy” DAC does not need to be trimmed. A precision DAC, due to its requirement to be accurately trimmed, requires significantly greater die area to implement. Therefore, the present invention requires much less trim time in either single-ended or differential implementations, and, additionally, less die area when used differentially.
One other subject should be mentioned although it does not change the outcomes of any previous arguments and is offered here only for completeness. In the simplified analysis given above for the conventional ADC of
The Early effect does not impact the ADC implementation of the present invention.
In the preferred embodiment, the common mode voltage and the output voltage range of operation are set so that IOFFSET is a current sink. This is done so that the current source (sink) can be implemented with NPN transistors. Settling time is critical in high speed ADCs and NPN current sources settle considerably faster than those implemented with PNP transistors. Other process technologies can be used, however, without departing from the scope of the present teachings.
Another feature of the present invention is that parasitic capacitive coupling from the output of the S/H 12 to the summing node 32 of the amplifier 34 can be avoided.
Thus, the present invention has been described herein with reference to a particular embodiment for a particular application. Those having ordinary skill in the art and access to the present teachings will recognize additional modifications, applications and embodiments within the scope thereof.
It is therefore intended by the appended claims to cover any and all such applications, modifications and embodiments within the scope of the present invention.
Accordingly,
This application claims the benefit of U.S. Provisional Application No. 60/495,765, filed Aug. 14, 2003, the disclosure of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
60495765 | Aug 2003 | US |