System and method for measuring the DC-transfer characteristic of an analog-to-digital converter
09584146 ยท 2017-02-28
Assignee
Inventors
- Frank Op 't Eynde (Wilsele, BE)
- Nathan Egan (Burlington, MA, US)
- Khurram Muhammad (Fort Worth, TX, US)
- Tien-Yu Lo (Hsinchu, TW)
- Chi-Lun Lo (Taoyuan County, TW)
- Michael A. Ashburn (Groton, MA, US)
Cpc classification
H03M3/50
ELECTRICITY
International classification
Abstract
Systems and methods for measuring and compensating a DC-transfer characteristic of analog-to-digital converters are described. A test-signal generator comprising a sigma-delta modulator may provide calibration signals to an ADC. An output from the ADC may be filtered with a notch filter to suppress quantization noise at discrete frequencies introduced by the sigma-delta modulator. The resulting filtered signal may be compared against an input digital signal to the test-signal generator to determine a transfer characteristic of the ADC.
Claims
1. A calibration circuit for an analog-to-digital (ADC) converter, the calibration circuit comprising: a test-signal generator comprising a first-order, digital, sigma-delta modulator that is configured to be connected to an analog input of the ADC; a digital-to-analog converter (DAC) arranged to be coupled between an output of the test-signal generator and the analog input of the ADC; and a digital filter connected to an output of the ADC, wherein the digital filter has attenuating notches at a plurality of frequencies that correspond to frequencies at which quantization noise tones are generated by the test-signal generator.
2. The calibration circuit of claim 1, wherein the sigma-delta modulator is configured to produce an output signal that varies between only two signal levels and the DAC is configured to convert an input signal having only two signal levels.
3. The calibration circuit of claim 1, wherein the ADC comprises a voltage-controlled-oscillator-based ADC.
4. The calibration circuit of claim 1, wherein the ADC comprises a multi-bit sigma-delta modulator.
5. The calibration circuit of claim 1, wherein a bit resolution of the ADC is any integer value from N=12 to N=24.
6. The calibration circuit of claim 1, wherein the digital filter is a digital comb filter.
7. The calibration circuit of claim 1, wherein the test-signal generator is configured to output a pulse-density modulated signal.
8. A calibration circuit for an analog-to-digital (ADC) converter, the calibration circuit comprising: a test-signal generator configured to be connected to an analog input of the ADC; a digital filter connected to an output of the ADC, wherein the digital filter has attenuating notches at a plurality of frequencies that correspond to frequencies at which quantization noise tones are generated by the test-signal generator; and a low-pass filter arranged to be coupled between the output of the test-signal generator and the analog input to the ADC.
9. The calibration circuit of claim 6, wherein the low-pass filter is an analog low-pass filter and has a cut-off frequency at a value approximately equal to or smaller than f.sub.clk/2M, where f.sub.clk is a clock frequency at which the test-signal generator is configured to operate and 2M+1 corresponds to a number of calibration measurements for the ADC.
10. The calibration circuit of claim 6, wherein the low-pass filter is included in a transimpedance amplifier that is coupled to an input of the ADC, and the low-pass filter has a cut-off frequency at a value approximately equal to or greater than fclk/2M, where fclk is a clock frequency at which the test-signal generator is configured to operate and 2M+1 corresponds to a number of calibration measurements for the ADC.
11. The calibration circuit of claim 6, wherein the low-pass filter attenuates at least some of the quantization noise tones by at least 2 dB.
12. A calibration circuit for an analog-to-digital (ADC) converter, the calibration circuit comprising: a test-signal generator configured to be connected to an analog input of the ADC; and a digital filter connected to an output of the ADC, wherein the digital filter has attenuating notches at a plurality of frequencies that correspond to frequencies at which quantization noise tones are generated by the test-signal generator, wherein the test-signal generator is configured to operate at a clock frequency f.sub.clk and the attenuating notches of the digital filter are located at integer multiples of f.sub.clk/2M where 2M+1 corresponds to a number of calibration measurements for the ADC.
13. A calibration circuit for an analog-to-digital (ADC) converter, the calibration circuit comprising: a test-signal generator configured to be connected to an analog input of the ADC; a digital filter connected to an output of the ADC, wherein the digital filter has attenuating notches at a plurality of frequencies that correspond to frequencies at which quantization noise tones are generated by the test-signal generator; and a distortion corrector coupled to an output of the ADC, wherein the distortion corrector is configured to compensate for distortion introduced by the ADC, wherein the distortion corrector comprises a look-up table and an interpolator.
14. The calibration circuit of claim 13, wherein the interpolator is configured to receive values from the look-up table and compute an interpolated correction value that is used to correct a digital signal from the ADC, and wherein the computed interpolated correction value is based upon the received values from the look-up table.
15. The calibration circuit of claim 14, wherein the distortion corrector is configured to select the received values from the look-up table based upon a portion of the digital signal received from the ADC to which the computed interpolated correction value is applied.
16. A method for calibrating an analog-to-digital converter (ADC), the method comprising: applying a calibration signal from a test-signal generator to an analog input of the ADC; and filtering an output digital signal from the ADC with a digital filter, wherein the digital filter has attenuating notches at a plurality of frequencies that correspond to frequencies at which quantization noise tones are generated by the test-signal generator.
17. The method of claim 16, wherein the test-signal generator comprises a first-order, digital, sigma-delta modulator that outputs a signal having only two signal levels, and the method further comprises: converting an output from the sigma-delta modulator with a two-level digital-to-analog converter (DAC) configured to receive only two input signal levels; and low-pass filtering an output from the two-level DAC.
18. The method of claim 16, further comprising: applying a first calibration value to the input of the test-signal generator; receiving a first output value from the ADC; applying a reference value to the input of the test-signal generator; receiving a reference output value from the ADC; calculating a first difference value by taking a difference between the first output value and the reference output value; and calibrating the ADC for the first calibration value based upon the first difference value.
19. The method of claim 18, wherein the reference value corresponds to a value that is approximately at a middle of an input range for the ADC.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The skilled artisan will understand that the figures, described herein, are for illustration purposes only. It is to be understood that in some instances various aspects of the embodiments may be shown exaggerated or enlarged to facilitate an understanding of the embodiments. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the teachings. In the drawings, like reference characters generally refer to like features, functionally similar and/or structurally similar elements throughout the various figures. Where the drawings relate to microfabricated circuits, only one device and/or circuit may be shown to simplify the drawings. In practice, a large number of devices or circuits may be fabricated in parallel across a large area of a substrate or entire substrate. Additionally, a depicted device or circuit may be integrated within a larger circuit.
(2) When referring to the drawings in the following detailed description, spatial references top, bottom, upper, lower, vertical, horizontal, and the like may be used. Such references are used for teaching purposes, and are not intended as absolute references for embodied devices. An embodied device may be oriented spatially in any suitable manner that may be different from the orientations shown in the drawings. The drawings are not intended to limit the scope of the present teachings in any way.
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16) Features and advantages of the illustrated embodiments will become more apparent from the detailed description set forth below when taken in conjunction with the drawings.
DETAILED DESCRIPTION
(17) The inventors have recognized and appreciated that the performance of some conventional multibit-quantizing ADCs can be improved by measuring DC-transfer characteristic of an ADC and applying signal-correction after conversion to compensate for conversion-related nonlinearities and distortions introduced by an ADC.
(18) The inventors have conceived and developed calibration circuitry and systems for applying calibration signals from a simplified test-signal source to an input of an ADC, filtering the output signal from the ADC to selectively suppress noise introduced by the test-signal source, and measure the resulting signal to determine a transfer characteristic of the ADC. The inventors have further recognized and appreciated that measurement techniques can be implemented to reduce unwanted effects of noise during calibration. In some implementations, the calibration circuitry may be included on-chip (i.e., integrated onto a same chip with an ADC), so that ADC errors can be measured and corrected at any time the ADC is in operation.
(19) In overview and referring now to
(20) The ADC 110 may be any type of multi-bit analog-to-digital converter. The ADC may be a VCO-based ADC or may comprise a sigma-delta modulator, according to some embodiments. The sigma-delta modulator may be a first-order or second-order sigma-delta modulator. In some embodiments, the sigma-delta modulator may be a third-order, or higher-order, sigma-delta modulator. The ADC may receive a clock signal having a frequency f.sub.s that determines a sampling frequency of the ADC.
(21) A signal processing circuit 170 may comprise logic elements and other circuit elements arranged to at least receive and process signals from the output of the digital filter 130. For example, signal processing circuit 170 may compare signals received from digital filter 130 with signals applied to the test-signal generator 105. In some embodiments, signal processing circuit 170 may comprise a microprocessor of an electronic device such as a smart phone. In some implementations, signal processing circuit 170 may comprise a digital subtraction circuit, a digital comparator, a digital-signal processor, a field-programmable gate array, a microcontroller, or a combination thereof.
(22) In normal operation, the switch 104 may connect the analog input terminal 102 to the ADC. An analog signal received at an analog input terminal is converted by the ADC 110 to an N-bit digital signal, where N corresponds to the resolution of the ADC. The analog signal may be received from a low-noise amplifier of a radio-frequency receiver. The value N may be equal to or greater than 12, in some embodiments. In some cases, N may be may be equal to or greater than 16. In some implementations, N may be any integer value from 12 to 24.
(23) The ADC may introduce conversion errors, as described in connection with
(24) To obtain an accurate digital signal from a distortion corrector 120, the correction values that are applied by the distortion corrector should be determined with a high degree of accuracy. Correction values may be determined by accurately measuring conversion distortions of the ADC 110. These conversion distortions may be determined from calibration measurements that can be made at any time for the ADC using the calibration system 100. Calibration measurements may be made by configuring the switch 104 to connect the test-signal generator 105 to the ADC, disconnecting the analog input, applying a sequence of calibration signals to the ADC, and evaluating output signals from the ADC to determine whether they match the calibration signals applied to the ADC. One method for applying calibration signals to the ADC is to apply carefully calibrated DC voltages at the input of the ADC. However, carefully calibrated DC voltages for an ADC having 12-bit resolution or greater requires a precision DC voltage source, which the inventors have recognized can be difficult and/or expensive to implement on-chip.
(25) Instead of using a precision DC source, the inventors have recognized and appreciated that a simplified test-signal generator 105 may be used in some implementations to provide calibration signals to the ADC. Inputs to the simplified test-signal generator may be digital words applied at a calibration input terminal 101. The input digital words may come from an on-chip source (e.g., signal processing circuit 170) or off-chip source. The test-signal generator converts a digital word to a calibration signal that is applied to the ADC 110. The ADC converts the calibration signal back to a digital word that is filtered by the digital filter 130 for reasons explained in further detail below. A digital word applied to the test-signal generator can be compared against a filtered digital output (taken after digital filter 130) from the ADC to determine conversion errors of the ADC with a high degree of accuracy.
(26) As a simplified example for a 6-bit ADC, if a digital word [000011] is applied to the test-signal generator 105 and an output from the digital filter 130 is found to be [000101], then a correction value of [000010] may be computed by the signal processing circuit 170 as a value to subtract from converted ADC output values of [000101]. The correction value may be sent to and stored by the distortion corrector 120 for use during normal operation. Further details of the test-signal generator 105, distortion corrector 120, and digital filter will now be described.
(27)
(28) An example of a first-order, digital sigma-delta modulator is depicted in the circuit diagram of
(29) The sigma-delta modulator 210 may receive an R-bit digital input word representing the desired value of the DC signal at node 250, and output a pulse-density modulated bit stream 230 that toggles between two digital values +D.sub.ref and D.sub.ref at each calibration point. An example of a pulse-density modulated bit stream from a digital sigma-delta modulator 210 for one calibration point is depicted in
(30) Output from the digital sigma-delta modulator may be coupled to a two-level digital-to-analog converter (two-level DAC) 220. In some embodiments, this DAC may comprise a two-level current source, as depicted in
(31) According to some embodiments, there is no analog reconstruction filter connected between the test-signal generator 105 and the ADC 110. The inventors have recognized and appreciated that some conventional ADC calibration techniques use an analog reconstruction filter before the ADC 110 to process a test signal and produce a clean (smooth and/or constant) analog signal at the input of the ADC. The inventors have also recognized that including an analog reconstruction filter would require an appreciable amount of substrate real estate if included on-chip. For example, an analog reconstruction filter may require more space on-chip than an ADC 110, and therefore may not be practical for some implementations. A test-signal generator 105 comprising a first-order, digital sigma-delta modulator would require less on-chip real estate.
(32) The inventors have further recognized and appreciated that a first-order, digital sigma-delta modulator driven by a DC input signal produces a quantization noise spectrum consisting of discrete tones 310 in the frequency domain, as depicted in
(33) The inventors have recognized and appreciated that the quantization noise spectrum from the sigma-delta modulator is related to the discrete calibration points as follows. The input to the sigma-delta modulator may be denoted as J/M, whereby J is an integer that varies between M and M in integer steps. The quantization noise of a First-order sigma-delta modulator driven by a DC input signal typically consists of a series of discrete tones. When the DC input signal equals J/M, the quantization noise spectrum introduced the modulator output consists of discrete tones with frequencies given by:
(34)
(35) where f.sub.clk is the clocking frequency for the sigma-delta modulator, and K is an integer that ranges from 1 to M. Even though J varies between M and M, the noise tones 310 appear at the same frequency locations for each value of J. Accordingly, the same digital filter 130 can be used to suppress noise for all 2M+1 calibration measurements.
(36) As depicted in
(37) In some embodiments, the digital filter 130 may be implemented as a digital comb filter. In some implementations, the digital filter 130 may be a moving-average filter, averaging the ADC output signal over a multiple of 2M clock cycles. An example of digital comb filter is depicted in the circuit diagram of
(38) By filtering out the noise tones 310, the recovered digital signals at the calibration output terminal 150 may be compared against the digital word applied at the calibration input terminal 101 to determine ADC errors. An example of ADC conversion error values 410 for each of the 2M+1 calibration points (e.g., 33 points according to one embodiment) is depicted in
(39) As described above, the 2M+1 calibration points may be distributed over the range of the ADC and evenly spaced. In some implementations, the calibration points may not be distributed evenly over the ADC range. According to some embodiments, ADC error values along the segments 420 between the calibration points may be calculated by interpolation from adjacent measured error values 410 using a polynomial fit (e.g., a second-order polynomial or higher-order polynomial) to the adjacent error values. Other functional fits may be used in some embodiments. As an example, fitting parameters may be calculated for a segment 420a based on three or more adjacent measured error values 410a. When a second-order polynomial function is used, the fitting parameters may comprise the coefficients c.sub.0, c.sub.1, c.sub.2 in the following expression where V.sub.n corresponds to a measured ADC digital output value.
ADC.sub.error=c.sub.0+c.sub.1V.sub.n+c.sub.2V.sub.n.sup.2(2)
(40) Any suitable regression analysis may be used to determine the coefficients, e.g., ordinary least squares analysis, linear regression, etc. Once the fitting parameters have been calculated, interpolated ADC.sub.error values may be computed for other ADC values. Determination of the fitting parameters and the interpolation of ADC errors may be done by the distortion corrector 120, according to some embodiments, or may be done by a signal processing circuit 170. In some implementations, both the signal processing circuit 170 and distortion corrector may participate in determining the fitting parameters and interpolating values of ADC errors.
(41) Although EQ. 2 uses a second-order polynomial to estimate interpolated ADC errors, higher-order polynomials may be used in some embodiments. According to some implementations, a third-order polynomial, or higher, may be used to estimate ADC errors. For higher-order polynomials, additional coefficient values c.sub.n may be determined.
(42) According to some implementations, the fitting parameters for each segment 420 may be computed based on a received ADC value. When a digital value is received from the ADC 110, a segment 420 corresponding to the received ADC value may first be identified. According to some embodiments, an identifier for a segment 420 may comprise the P most significant bits (MSBs) of a converted signal from the ADC, where P corresponds to the number (2M+1) of measured ADC error values 410 that are used to calibrate the ADC 110 according to the following expression: P=log.sub.2(2M). For the above example that uses 33 calibration points (M=16 and P=5), each of the 32 segments 420 between the measured ADC errors 410 may be identified from the 5 most significant bits (MSBs) of the converted ADC signal. The upper bits may be read from the received ADC digital signal, and used to identify a segment 420a. Once the segment is identified, measured error values 410a adjacent the segment may be retrieved from storage (e.g., from a look-up table (LUT)) that may be indexed with the segment identifier. As an example, the segment 420a depicted in
(43)
(44) In some embodiments, a multiplier (not shown) may be used instead of an adder 540 in the circuit of
(45) The LUT 520 may comprise RAM memory elements, flipflops, or other memory elements, according to some embodiments, and data may be written to, and read from, the LUT 520 over an input-output data port 550. The LUT may store 2M+1 values (e.g., correction or error values determined using the test-signal generator 105 and digital filter 130 as described above). The value of M may range from 12 to 24 in some embodiments, though fewer or more values may be used in other cases. The entries of the LUT may be calculated correction values, or may be measured ADC errors from which correction values may be calculated.
(46) The LUT 520 may receive all or a portion of each digital output value from the ADC 110. In some implementations, additional bit-sorting circuitry (not shown) may be included with the distortion corrector to provide the LUT with only the P most significant bits of each digital value received from the ADC 110. In some embodiments, the LUT may be configured to recognize the P most significant bits of each digital value received from the ADC 110. Regardless of how the P most significant bits are provided to or identified by the LUT 520, the LUT may be configured to provide three or more measured ADC error values, or their corresponding correction values, to interpolator 530 over a digital connection 525. The provided values may be identified by the P most significant bits.
(47) Interpolator 530 may comprise data processing circuitry (e.g., computational logic circuitry, digital-signal processing circuitry, field-programmable gate arrays, or the like) that receives the three or more values from the LUT 520 and receives or identifies the remaining lower bits (e.g., [N-P:1]) of a received digital signal from the ADC 110. The interpolator 530 may compute an ADC error value and/or corresponding correction value based on the received values from the LUT and the lower bits of the received digital signal. For example, the interpolator may compute fitting parameters for a function that fits the values received from the LUT, and then compute a correction value based upon these fitting parameters and the lower bits of the received digital signal. For example, the fitting parameters may comprise polynomial coefficients that are used in EQ. 2 and the lower bits may be used for the value V.sub.n. Once a correction value is computed, it may be added to the digital signal from the ADC by adder 540 to compensate for distortions introduced by the ADC 110.
(48) Referring again to
(49) However, the inventors have recognized and appreciated that the unfiltered noise tones 310 can introduce higher-order errors in the ADC 110. For example, an ADC typically exhibits nonlinearity in its conversion of analog signals, as depicted in
(50) However, a digital filter 130 may not suppress the intermodulation and harmonic distortion products that appear at DC. For example, the digital filter transmission curve in
(51) The inventors have recognized and appreciated that distortion components at DC can be reduced by placing a small analog low-pass filter prior to the ADC input. For example, an analog low-pass filter 620 may be placed after the two-level DAC 220, as depicted in the calibration circuit 602 of
(52) In some embodiments, the intermodulation products of quantization noise tones 310 are small compared to the quantization noise tones themselves. This is especially true when the ADC nonlinearity is a mild nonlinearity. Voltage-controlled oscillator (VCO) based ADCs typically exhibit mild conversion nonlinearity. Therefore, the embodiments are well suited for use with VCO-based ADCs.
(53) Another noise consideration relates to the two-level DAC. Because there is no analog reconstruction filter, thermal noise at the output of the two level DAC 220 can appear unfiltered at the input of the ADC 110. Some of this noise may not be filtered by the low-pass filter 620. Together with the white noise of the ADC, the combined noise can create thermal and white noise-related errors during calibration measurements. However, measurement errors due to white noise can be reduced by averaging the white noise over a longer measurement time. For example, doubling the calibration measurement time yields a reduction of this measurement error by 3 dB.
(54) Another source of noise is flicker noise introduced by the two-level DAC 220. The flicker noise may also appear unfiltered to the input of the ADC. Together with the flicker noise of the ADC itself, the combined flicker noise can create flicker noise-related measurement errors during calibration measurements. Since flicker noise is typically concentrated at low frequencies, increasing the measurement time during calibration has a small effect on reducing error caused by the flicker noise.
(55) The inventors have recognized and appreciated that the effect of flicker noise can be reduced by changing an order in which calibration measurements are made. One method for making calibration measurements is to sweep the input signal to the ADC 110 monotonically from a lowest value to a highest value over the range of the ADC or vice versa. For example, a calibration process may consist of 2M+1 calibration measurements with DC input signals given by J/M, where J ranges from M to +M in unit steps. The resulting measurements would be: 1) Measurement with J=M. 2) Measurement with J=M+1. 3) Measurement with J=M+2. . . . 2M+1) Measurement with J=+M.
(56) Instead of making the calibration measurements according to the above sequence, the influence of flicker noise can be attenuated by the following measurement algorithm: 1) Measurement with J=M minus measurement with J=0. 2) measurement with J=M+1 minus a new measurement with J=0. 3) measurement with J=M+2 minus a new measurement with J=0. . . . 2N+1) measurement with J=+M minus a new measurement with J=0.
(57) The above calibration measurement sequence that subtracts a reference measurement at a fixed value can attenuate flicker noise according to a technique known as correlated double sampling. The flicker noise is filtered with a filter characteristic given by:
|H(f)|=|2 sin fT.sub.m|(3)
where T.sub.m is the duration of one calibration measurement. Since flicker noise is dominant at low frequencies where |H(f)| is smaller than one, the effect of flicker noise can be reduced using the correlated double sampling technique.
(58)
(59) For the circuit of
(60) During a calibration procedure, a switch 104 preceding the TIA may force the input signal from input terminal 102 to be equal to zero (e.g., ground the input), while connecting an output from a two-level current-mode DAC 225 to the TIA input. The two-level DAC 225 may be driven by a signal obtained from a single-bit, first-order, digital sigma-delta modulator 210. The sigma-delta modulator may be driven by a clock signal at a frequency f.sub.clk, and a constant digital multi-bit calibration signal may be applied to the calibration input terminal 101 of the sigma-delta modulator for each calibration measurement. This calibration input signal can span 2M+1 discrete values (e.g., M/M, (M+1)/M, (M+2)/M, . . . (M1)/M, M/M) at the output of the two-level DAC 220, according to some embodiments.
(61) During calibration, the TIA 630 may provide low-pass filtering, and attenuate the discrete quantization noise tones 310 appearing at multiples of f.sub.clk/2M that are generated by the single-bit, first-order, digital sigma-delta modulator 210. In this way, measurement errors due to intermodulations of quantization noise tones, generated by the nonlinear ADC characteristic, can be largely prevented.
CONCLUSION
(62) The terms approximately and about may be used to mean within 20% of a target dimension in some embodiments, within 10% of a target dimension in some embodiments, within 5% of a target dimension in some embodiments, and yet within 2% of a target dimension in some embodiments. The terms approximately and about may include the target dimension.
(63) The technology described herein may be embodied as a method, of which at least some acts have been described. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than described, which may include performing some acts simultaneously, even though described as sequential acts in illustrative embodiments. Additionally, a method may include more acts than those described, in some embodiments, and fewer acts than those described in other embodiments.
(64) Having thus described at least one illustrative embodiment of the invention, various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description is by way of example only and is not intended as limiting. The invention is limited only as defined in the following claims and the equivalents thereto.