Method and apparatus for enhancing dynamic range in an analog-to-digital converter
11606100 · 2023-03-14
Assignee
Inventors
Cpc classification
H03M1/183
ELECTRICITY
International classification
H03M1/00
ELECTRICITY
H03M1/18
ELECTRICITY
H03M1/06
ELECTRICITY
Abstract
Described herein is an apparatus and method for enhancing the dynamic range of an analog-to-digital converter (ADC). In one embodiment of the present approach, an analog input signal is amplified in a programmable gain amplifier (PGA) before the ADC receives the signal, so that the gain applied to an input signal, and gain (or attenuation) later applied in order to balance the overall gain of the circuit, occurs only in either the analog domain; in the prior art, gain occurs partly in each domain. The ADC gain is then adjusted to compensate for gain of the PGA and balance the overall gain of the circuit. In another embodiment, the ADC gain is adjusted, and gain of a digital gain element that receives the signal from the ADC is adjusted to compensate for the ADC gain and balance the overall gain of the circuit, eliminating the need for a PGA.
Claims
1. A circuit that enhances the dynamic range of an analog-to-digital converter, comprising: a programmable gain amplifier configured to receive an analog input signal and produce an amplified analog signal; an analog-to-digital converter having adjustable gain and configured to receive and digitize the amplified analog signal, and to output a digital signal; and a controller configured to: detect the level of the analog input signal; and adjust the gain of the programmable gain amplifier and the gain of the analog-to-digital converter based upon the detected analog input signal level; wherein: the programmable gain amplifier comprises a first element of adjustable impedance and is configured to change gain in response to the value of the impedance of the first element; the analog-to-digital converter comprises a second element of adjustable impedance and is configured to change gain in response to the value of the impedance of the second element; whereby the total gain of the circuit is responsive to the ratio of the values, and may be kept constant by maintaining a selected ratio of the impedances of the first and second elements.
2. The circuit of claim 1 further comprising a digital filter configured to receive and filter the amplified digital signal.
3. A circuit that enhances the dynamic range of an analog-to-digital converter, comprising: a programmable gain amplifier configured to receive an analog input signal and produce an amplified analog signal; an analog-to-digital converter having adjustable gain and configured to receive and digitize the amplified analog signal, and to output a digital signal; and a controller configured to: detect the level of the analog input signal; and adjust the gain of the programmable gain amplifier and the gain of the analog-to-digital converter based upon the detected analog input signal level; wherein the analog-to-digital converter comprises a delta-sigma modulator; and wherein the delta-sigma modulator comprises: first and second adjustable resistors each having a first end and a second end, and configured to receive an input differential analog signal at the first ends; a sampling circuit having two inputs and two outputs, a first input connected to the second end of the first resistor and a second input connected to the second end of the second resistor, and configured to receive the input differential analog signal from the resistors and produce a series of differential output values representing samples of the input differential analog signal; a multi-bit quantizer configured to receive the differential output values from the sampling circuit and produce a series of digital values corresponding to the differential output values from the sampling circuit; a digital-to-analog converter having an input and two outputs configured to receive the series of digital values from the multi-bit quantizer and convert them into a reconstituted differential analog signal; and first and second feedback resistors of a fixed value each having a first end and a second end, and configured to receive the reconstituted differential analog signal from the digital-to-analog converter at the first ends, the second end of the first feedback resistor connected to the first input of the sampling circuit and the second end of the second feedback resistor connected to the second input of the sampling circuit; whereby the gain of the sigma-delta modulator may be adjusted by adjusting the value of the first and second adjustable resistors.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE INVENTION
(11) Described herein an apparatus and method for enhancing the dynamic range of an analog-to-digital converter (ADC). In one embodiment of the present approach, gain applied to an input signal, and gain (or attenuation) later applied in order to balance the overall gain of the circuit, occurs entirely in the analog domain. This is in contrast to the prior art, in which the gain occurs partly in each domain, with a programmable gain amplifier (PGA) amplifying the analog input signal in the analog domain and a digital gain element applying gain to compensate in the digital domain.
(12) In this embodiment of the present approach, an analog input signal is amplified in a programmable gain amplifier (PGA) before the ADC receives the analog signal. The gain of the ADC is then adjusted to compensate for the gain of the PGA and balance the overall gain of the circuit. In this embodiment, all of the gain and/or attenuation occurs in the analog domain.
(13) In another embodiment of the present approach, rather than adjusting gain to the input signal in the PGA as in the prior art, gain in the ADC is adjusted, and then gain in a digital gain element that receives the digital signal from the ADC is also adjusted to compensate for the gain of the ADC and balance the overall gain of the circuit. In this embodiment, the PGA may be either replaced by a fixed-gain amplifier or even removed completely.
(14) Having gain applied to the input signal, and the subsequent adjustment to balance the gain, occur entirely in the analog domain according to the first embodiment of the present approach avoids issues such as gain synchronization, gain mismatch, etc. that are seen in the prior art circuits in which the gain occurs partly in each domain.
(15) As described above, in prior art circuits such as circuit 200 of
(16) By contrast, under the first embodiment of the present approach, the gain of the PGA and the gain of the ADC are matched, so that all of the gain occurs in the analog domain.
(17)
(18) As in the prior art circuit 200 of
(19) One of skill in the art will appreciate that controller 210, and its peak detection function, may be placed anywhere in circuit 300 (and in fact in circuit 200 of
(20) By adjusting the gain of ADC 312 to correspond to that of PGA 102, the gain balancing that allows for the dynamic range enhancement is performed seamlessly in the analog domain between the PGA and the ADC. This completely avoids the issues of gain synchronization, gain mismatch, etc., that occur in the prior art due to the combining of gain in the analog domain with gain in the digital domain.
(21)
(22) In circuit 600, a subcircuit 616 that functions as a PGA comprises resistors R.sub.1a, and R.sub.1b, resistors R.sub.2a and R.sub.2b, and amplifier A1. Resistors R.sub.1a, and R.sub.1b of equal resistance to each other provide fixed input resistance to amplifier A1, while resistors Rea and R.sub.2b, also of equal resistance to each other but not necessarily to R.sub.1a, and R.sub.1b, control the variable feedback resistance of the PGA. The gain of subcircuit 616 is thus defined by the ratio between R.sub.2 and R.sub.1.
(23) A multi-bit delta-sigma modulator 618 that functions as an ADC comprises resistors R.sub.3a, R.sub.2b, R.sub.4a and R.sub.4b, a sampling circuit H(s), a multi-bit quantizer, and a digital-to-analog converter (DAC) that feeds back the output of the quantizer to the input of sampling circuit H(s). Similarly to subcircuit 616, resistors R.sub.3a and R.sub.3b control the variable input resistance of delta-sigma modulator 618, while resistors R.sub.4a and R.sub.4b provide fixed output resistance of the feedback DAC, and thus of delta-sigma modulator 618. The gain of delta-sigma modulator 618 is thus similarly defined by the ratio between R.sub.3 and R.sub.4.
(24) The gain of the signal path of circuit 600 can be expressed as the product of the gain of subcircuit (PGA) 616 and delta-sigma modulator (ADC) 618, or:
(25)
where G.sub.total is the total gain of the signal chain, G.sub.PGA is the gain of the PGA stage, and G.sub.ADC is the gain of the ADC stage. One of skill in the art will appreciate that it is desirable to keep the total gain of the signal chain constant, and that this may be accomplished by modifying the values of any of the resistors R.sub.1 to R.sub.4 as long as one or more of the other resistor values are modified to compensate.
(26) However, one of skill in the art will also appreciate that it is desirable that positive gain occurs early in the chain and attenuation occurs later, thus allowing output noise to be lowered, rather than having positive gain occur later and increase any noise. As above, the gain of PGA subcircuit 616 is defined by the ratio between R.sub.2 and R.sub.1 and its gain is thus increased when R.sub.2 is increased if R.sub.1 is not changed, i.e., is a resistor of fixed value as shown in circuit 600.
(27) Further, in the embodiment of circuit 600, R.sub.4 is also a resistor of fixed value. Thus, as will be apparent from the equation above, when the ratio between R.sub.4 and R.sub.1 is fixed, the total gain will be kept constant if the ratio between the two variable resistors R.sub.2 and R.sub.3 is kept constant. In practice, known layout techniques can be employed to keep R.sub.2 and R.sub.3 well matched to minimize the signal chain variation; the matching of resistors to within 0.1% can be readily achieved in most processes. This results in negligible total gain error in the signal path.
(28) One of skill in the art will appreciate that an alternative embodiment would keep R.sub.2 fixed and reduce R.sub.1 and R.sub.4 rather than increasing R.sub.2 as above, and using the gain formula above will be able to implement such a circuit that will provide the desired total gain G.sub.total. However, a designer may wish to avoid changing R.sub.4 as this will change the output impedance of the ADC, and impact how the ADC responds to high signals versus low signals.
(29) One of skill in the art will also appreciate that impedances may be provided by elements other than resistors, and that the gain of a PGA and an ADC may be adjusted by adjusting the impedances of such elements, or of resistors, in configurations other than that shown in circuit 600 and still fall within the present approach. In such embodiments it will be desirable to keep the ratio of the gain of the PGA and the gain of the ADC, and thus the overall gain of the signal chain, constant as the impedances are adjusted, and to have the positive gain occur early in the signal chain and the attenuation occur later to minimize noise in the final signal.
(30)
(31) While in this second embodiment all of the gain does not occur in the analog domain as in the first embodiment, it does have an advantage over the prior art in that a fixed-gain amplifier is generally less complex and costly than a PGA. Further, in some instances, even the fixed-gain amplifier 414 may be omitted. However, it is desirable that the source of the signal received by the ADC be of low impedance, which can be provided by an amplifier 414 (or a PGA of the prior art or the first embodiment described above) having a low output impedance. Omitting amplifier 414 entirely will thus be more difficult to implement efficiently.
(32) As in circuit 300 of
(33) As may be seen in
(34)
(35) As in circuit 600 of
(36) As above, one of skill in the art will appreciate that the PGA, such as PGA 102 in
(37) In
(38)
(39) At step 902, a PGA, such as PGA 102 in circuit 300 of
(40) At step 904 an ADC having adjustable gain, such as ADC 312 of
(41) At step 906 a controller, such as peak detector and controller 210 in
(42) At step 910, the output of the ADC is filtered by, for example, digital filter 106 in the figures herein. One of skill in the art will be able to select an appropriate filter for a given application.
(43) It will be appreciated that each of these steps occurs continuously as the circuit is operating, and that the steps may overlap or appear to occur approximately simultaneously. For example, as seen in
(44)
(45) At step 1002, a fixed-gain amplifier, such as amplifier 414 in circuits 400 and 500 of
(46) At step 1004 an ADC having adjustable gain, such as ADC 312 of
(47) At step 1006 a controller, such as peak detector and controller 210 in
(48) At step 1010, the amplified digital signal from the digital gain element is filtered by, for example, digital filter 106 in the figures herein. In an alternative embodiment, the digital signal output of the ADC is filtered before it is amplified (or attenuated) by the digital gain element. As above, one of skill in the art will be able to select an appropriate filter for a given application.
(49) It will be appreciated that each of these steps occurs continuously as the circuit is operating, and that the steps may overlap or appear to occur approximately simultaneously. For example, as seen in
(50) By combining these features, it is possible to construct a circuit that enhances the dynamic range of a circuit containing an ADC. In one embodiment, the present approach eliminates issues such as gain synchronization, gain mismatch, etc., by balancing gain exclusively within either the analog or digital domain. In another embodiment, a PGA may be either replaced by a fixed-gain amplifier or omitted entirely. One of skill in the art will appreciate that ADCs appropriate for digitizing a wide variety of signals may be constructed according to these principles.
(51) The disclosed system has been explained above with reference to several embodiments. Other embodiments will be apparent to those skilled in the art in light of this disclosure. Certain aspects of the described method and apparatus may readily be implemented using configurations other than those described in the embodiments above, or in conjunction with elements other than or in addition to those described above.
(52) For example, as explained herein and is well understood by those of skill in the art, various design choices will be apparent depending upon the desired signal or application to be addressed by an ADC. Further, the illustration of transistors and the associated feedback loops, resistors, etc., is exemplary; one of skill in the art will be able to select the appropriate number of transistors and related elements that is appropriate for a particular application.
(53) These and other variations upon the embodiments are intended to be covered by the present disclosure, which is limited only by the appended claims.