Digital-to-analog converter and method of operating
09906237 ยท 2018-02-27
Assignee
Inventors
- Jagannathan Venkataraman (Bangalore, IN)
- Eeshan Miglani (Madhya Pradesh, IN)
- Karthikeyan Gunasekaran (Tamil Nadu, IN)
Cpc classification
H03M1/00
ELECTRICITY
H03M3/436
ELECTRICITY
H03M3/454
ELECTRICITY
H03M3/50
ELECTRICITY
International classification
Abstract
A digital-to-analog converter includes an adder having a plurality of inputs and an output coupled to the output of the converter. The converter further includes a plurality of digital-to-analog (DAC) elements, each DAC element has an output coupled to an input of the adder, and each DAC element has a DAC element input. A plurality of comparators have outputs coupled to a DAC element input. A first input of each comparator is coupled to the input of the converter. A second input of each comparator is selectively coupled to one of a predetermined voltage and a pseudo-random bit sequence (PRBS[n]).
Claims
1. A digital-to-analog converter comprising: an adder having a plurality of inputs and an output, the output of the adder being coupled to the output of the converter; a plurality of digital-to-analog (DAC) elements, each DAC element having an output coupled to an input of the adder, and each DAC element having a DAC element input; and a plurality of comparators, the output of each comparator coupled to a single DAC element input, a first input of each comparator coupled to the input of the converter, a second input of each comparator selectively coupled to one of a predetermined voltage input and a pseudo-random bit sequence (PRBS[n]) input.
2. The converter of claim 1, further comprising a processor operable to select which of the plurality of comparator second inputs is selectively coupled to the predetermined voltage input or to the PRBS[n] input.
3. The converter of claim 2, wherein the processor is operable to a couple a second input of one of the plurality of comparators to the PRBS[n] input while decoupling the second input of the one comparator from the predetermined voltage input.
4. The converter of claim 2, wherein the processor is operable to selectively couple a second input of a first comparator to the PRBS[n] input and concurrently selectively couple a second input of a second comparator to the complement of the PRBS[n] input.
5. The converter of claim 1, further comprising a resistive network having a plurality of nodes, each node providing a predetermined voltage selectively coupled to each of the second inputs of the plurality of comparators.
6. The converter of claim 5, further comprising a plurality of switches, each switch coupled in parallel with individual resistors in the resistive network, wherein the individual switches are operable to shunt individual resistors coupled to second inputs of comparators.
7. The converter of claim 1, further comprising a resistive network operable to provide the plurality of predetermined voltages, wherein the second input of each comparator is selectively coupled to: at least one predetermined voltage of the resistive network, the PRBS[n] input, or the complement of the PRBS[n] input.
8. The converter of claim 7, further comprising a plurality of switches, each switch coupled in parallel with individual resistors in the resistive network, wherein the individual switches are operable to shunt individual resistors coupled to second inputs of comparators having second inputs coupled to the PRBS[n] input or the complement of the PRBS[n] input.
9. A delta-sigma modulator comprising: a loop filter having a filter input and a filter output; a digital signal generator operable to generate a digital signal; a digital-to-analog converter (DAC) comprising: a digital input coupled to the filter output; an analog output coupled to the filter input; a plurality of comparators, each comparator having a first input coupled to the digital input and each comparator having a second input selectively coupled to one of the digital signal and a predetermined voltage; a plurality of DAC elements, the input of each DAC element coupled to an output of one of the plurality of comparators and the outputs of the plurality of DAC elements coupled to the analog output; and a corrector coupled to the filter output, the corrector operable to apply a correction coefficient to the filter output; and an estimator coupled to the corrector and the digital signal generator, the estimator operable to generate the correction coefficient in response to a comparator being coupled to the digital signal and decoupled from the predetermined voltage.
10. The modulator of claim 9, further comprising a decimation filter coupled between the corrector and the estimator.
11. The modulator of claim 9, wherein the digital signal generator is a pseudo random bit sequence generator and the digital signal is a pseudo random bit sequence.
12. The modulator of claim 9, wherein the correction coefficient compensates for errors caused by at least one DAC element.
13. The modulator of claim 12, wherein the correction coefficient compensates for static errors in at least one DAC element.
14. The modulator of claim 12, wherein the correction coefficient compensates for dynamic errors in at least one DAC element.
15. The modulator of claim 9, further comprising switches operable to selectively couple the second input of a first comparator to the digital signal and selectively couple the second input a second comparator to the complement of the digital signal, and wherein the estimator is operable to generate the correction coefficient in response to the output of a first DAC element coupled to the output of the first comparator and the output of a second DAC element coupled to the output of the second comparator.
16. A method of calibrating a delta-sigma modulator having a delta sigma filter and a feedback digital-to-analog converter (DAC) having a plurality of DAC elements, the method comprising: decoupling a first DAC element from an input of the DAC; coupling the first DAC element to a digital signal; converting the digital signal to an analog signal using the first DAC element; analyzing the output of the delta-sigma filter in response to the analog signal, the analyzing determining at least one error in the digital-to-analog conversion performed by the first DAC element; and applying a correction coefficient to the output of the delta-sigma filter in response to the analysis of the output of the delta-sigma filter, the correction coefficient compensating for the at least one error in the output of the first DAC element.
17. The method of claim 16, wherein the digital signal is a pseudo-random bit sequence.
18. The method of claim 16, further comprising: recoupling the first DAC element to the input of the DAC; decoupling a second DAC element from an input of the DAC; coupling the second DAC element to the digital signal; converting the digital signal to an analog signal using the second DAC element; and analyzing the output of the delta-sigma filter in response to the analog signal generated by the second DAC element, the analyzing determining at least one error in the digital-to-analog conversion performed by the second DAC element; and wherein the applying further includes applying a correction coefficient to the output of the delta-sigma filter in response to the analyzing, the correction coefficient compensating for the at least one error generated by the second DAC element.
19. The method of claim 16 further comprising: decoupling a second DAC element from an input of the DAC; coupling the second DAC element to the complement of the digital signal; converting the complement of the digital signal to an analog signal using the second DAC element; adding the analog signal generated by the first DAC element to the analog signal generated by the second DAC element to generate a cumulative analog signal; analyzing the output of the delta-sigma filter in response to the cumulative analog signal, the analyzing determining at least one error in the digital-to-analog conversion performed by the first DAC element and the second DAC element; and wherein applying a correction coefficient includes applying a correction signal to the output of the delta-sigma filter in response the analysis of the output of the delta-sigma filter in response to the cumulative analog signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) As previously noted, delta-sigma (, DS, sigma-delta, ) modulation is a method for encoding analog signals into digital signals and is implemented in many applications including analog-to-digital converters (ADCs) and digital-to-analog converters (DACs). The description herein is focused in delta-sigma modulation implemented in ADCs, which are referred to as delta-sigma ADCs. A delta-sigma modulator first encodes an analog signal using high-frequency delta-sigma modulation. The delta-sigma modulator then applies a digital filter to generate a higher-resolution, but with a lower sample-frequency digital output. Conversely, a delta-sigma DAC encodes a high-resolution digital input signal into a lower-resolution, but a higher sample-frequency signal is mapped to voltages. The signal is smoothed with an analog filter to generate an analog output signal. In both cases, the temporary use of a lower-resolution signal simplifies circuit design and improves efficiency.
(12)
(13) The output of the delta-sigma modulator 102 is coupled to the input of a digital decimating filter 124 that includes a digital filter 126 and a decimator 128. The digital filter 126 converts the signal 120 to a sampled signal of the analog input signal V.sub.IN as shown by the signal 130. The signal 130 is sampled at a very high rate, which in many examples is much higher than the Nyquist rate of the input signal V.sub.IN. The decimator 128 reduces the sampling rate to generate an output signal 134, which, in the example of
(14)
(15) The output of the adder 206 is coupled to the input of a delta-sigma () loop filter 210, which is followed by a quantizer 214. The combination of the filter 210 and the quantizer 214 generates signals having amplitudes proportional to those of the signal V23. The delta-sigma modulator 102 is a multi-bit device, so it has several data lines, each representative of a bit of the output signal V.sub.OUT. The output of the quantizer 214 is coupled to the input of a DAC 220. The DAC 220 converts the signal output from the quantizer 214 to the analog voltage V21. The aforementioned components constitute a negative feedback loop with high gain in the filter 210 in the frequency band of interest, which results in the voltage V21 being almost equal to the input voltage V.sub.IN in the frequency band of interest. Since the voltage V22 is a digital representation of the voltage V21, the voltage V22 is an accurate digital representation of the input voltage V.sub.IN in the frequency band of interest. It is noted that the accuracy with which the voltage V22 matches the voltage V21 depends on the accuracy of the DAC 220.
(16)
(17) A plurality of comparators 306 have first inputs (non-inverting inputs) that are coupled to the input 300 and second inputs (inverting inputs) that are coupled to the above-described voltages in the resistor network 304. A first comparator 308 has its second input coupled to the voltage V31, a second comparator 310 has its second input coupled to the node N31, a third comparator 312 has its second input coupled to the node N32, and a fourth comparator 314 has its second input coupled to the voltage V32.
(18) The outputs of the comparators 306 are coupled to inputs of a plurality of digital-to-analog converters (DACs) 320 that are sometimes referred to as individual DAC elements. A first DAC 322 is coupled to the output of the first comparator 308, a second DAC 324 is coupled to the output of the second comparator 310, a third DAC 326 is coupled to the output of the output of the third comparator 312, and a fourth DAC 328 is coupled to the output of the fourth comparator 314. The outputs of the DACs 320 are all coupled to an adder 340 that outputs the voltage V21.
(19) The DACs 320 are subject to mismatch and inter-symbol interference (ISI) between the DACs 320. These mismatches and the ISI cause errors in the signal V21, which limits the performance of the ADC 100,
(20)
Total Error=.sub.mismatch,iD.sup.i[n]+.sub.ISI,i|D.sup.i[n]D.sup.i[n1]|Equation (1)
where D.sup.i[n] is a digital bit controlling the i.sup.th DAC in the n.sup.th clock cycle. When D.sup.i[n] equals 1, the DAC is active in the n.sup.th clock cycle. When D.sup.i[n] equals 0, the DAC is inactive in n.sup.th clock cycle. Thus, the mismatch error .sub.mismatch occurs only when the DAC is active or when D.sup.i [n]=1. This part of the total error can be written as .sub.mismatch,iD.sup.i[n]. The function to represent transition from active to inactive or inactive to active is |D.sup.i[n]D.sup.i[n1]| and at every transition an .sub.ISI,i error is introduced, so the expression for this error is shown as equation (2) as follows:
.sub.ISI,i|D.sup.i[n]D.sup.i[n1]|Equation (2)
The delta-sigma modulators and modulation methods described below cancel the errors described with reference to
(21)
(22) The modulator 500 has an input 502 that receives an analog signal V51, which may be the signal V.sub.IN in
(23) The output of the adder 504 is coupled to the input of a delta-sigma loop filter 516 that functions in the same manner as the delta-sigma loop filter 210 of
(24)
(25) A plurality of comparators 620 have first inputs (non-inverting inputs in the example of
(26) The outputs of the comparators 620 are coupled to a plurality of DACs 640, which include a first DAC 642, a second DAC 644, a third DAC 646, and a fourth DAC 648. In an ideal situation, the DACs 640 should all be equal, meaning that they output identical voltages for given inputs and their reaction times are equal. One of the DACs 640 serves as the DAC 508 of
(27) The switches 612 and 632 described herein are controlled by a processor 654, which determines the states of the switches 612 and 632. Under normal decoding, the switches 612 are open and the switches 632 are set to couple the second inputs of the comparators 620 to the resistor array 610. As shown in
(28)
OUTPUT=|PRBS[n]PRBS[n1]|.sub.dynamic,i*stf[n]*filter[n]Equation (3)
where .sub.dynamic,i is the dynamic error of the DAC element i, which is currently controlled by the PRBS[n]. Similarly for mismatch error .sub.mismatch,i the output signal is proportional to the PRBS[n] and has a function per equation (4) as follows:
OUTPUT=PRBS[n].sub.mismatch,i*stf[n]*filter[n]Equation (4)
(29) Based on equations (3) and (4), the total output with the PRBS[n] is given by equation (5) as follows:
TOTAL OUTPUT=|PRBS[n]PRBS[n1]|.sub.dynamic,i*stf[n]*filter[n]PRBS[n].sub.mismatch,i*stf[n]*filter[n]+V51*stf[n]*filter[n]Equation (5)
(30) In order to determine the variable .sub.dynamic,i, the total output is correlated with |PRBS[n]PRBS[n1]|*stf[n]*filter[n]. In order to determine .sub.mismatch,i, the total output is correlated with PRBS[n]*stf[n]*filter[n]. Because PRBS[n] and |PRBS[n]PRBS[n1]| have no correlation, the two errors, static and dynamic, can be determined together. Once .sub.mismatch,i and .sub.dynamic,i are determined for each DAC element, they are used to correct the DAC error in the corrector 520. One such operation the corrector 520 may perform is provided by equation (6), which corrects the error introduced by DAC mismatch and dynamic errors as follows:
Output=V56+D.sub.i[n].sub.mismatch,i+|D.sub.i[n]D.sub.i[n1]|.sub.dynamic,iEquation (6)
(31) Reference is made to
(32) The third DAC 646 functions as the DAC 508 and it ideally outputs a high voltage when it receives a logic 1 and zero volts when it receives a logic 0 from the comparator 626. The effects of the PRBS[n] on the third DAC 646 are passed to the corrector 520 as the signal V56. More specifically, the effects of the PRBS[n] are encoded as the digital data generated by the loop filter 516 and the quantizer 518, which is received by the corrector 520. Initially, the effects of the PRBS[n] have not been analyzed, so there is no correction coefficient transmitted to the corrector 520. In situations where analysis has been completed, the corrector 520 applies correction to the digital data generated by the loop filter 516 and the quantizer 518 to offset for static and/or dynamic errors. For example, the corrector 520 may apply equation (6) to offset or correct for the static and dynamic errors.
(33) In the example of
(34)
(35) The first DAC 810 processes a PRBS[n] and the second DAC 812 processes a PRBS[n] generated by the PRBS generator 530. The analog outputs of the DAC elements 804, 810 and 812 are input to an adder 816. The output of the adder 816 is input to the adder 504. One of the DAC elements 810/812 receives a logic 1 signal and the other DAC element 810/812 receives a logic 0 signal, so their outputs should cancel each other rendering zero volts. However, due to dynamic errors in the DAC elements, the outputs of DACs 810 and 812 may not cancel each other. As shown by the graph 406, dynamic errors 420 occur due to ISI mismatch. The estimator 524 determines the effects of the ISI errors and generates a correction coefficient for every bit of the output of the loop filter 516 to correct for the error. The corrector 520 applies the correction coefficients prior to the decimation filter 528, which attenuates the errors.
(36)
(37) A resistor array 928 is coupled between a voltage V91 and a voltage V92. The voltage V91 may be the same as the highest voltage of the PRBS[n] and the voltage V92 may be ground. The resistor array 928 includes four resistors, referred to individually as R91, R92, R93, and R94. A plurality of nodes are located in the resistor array 928. A node N91 is coupled to the voltage V91, a node N92 is coupled between resistor R91 and resistor R92, a node N93 is coupled between resistor R92 and resistor R93, a node N94 is coupled between resistor R93 and resistor R94, and a node N95 is coupled to the source V92.
(38) A plurality of switches 930 couple second inputs (inverting inputs) of the comparators 912 to the signal V56, the PRBS[n], or the PRBS[n]. The switches include a switch SW91 coupled to the first comparator 914, a switch SW92 coupled to the second comparator 916, a switch SW93 coupled to the third comparator 918, a switch SW94 coupled to the fourth comparator 920, and a switch SW95 coupled to the fifth comparator 922. A plurality of switches 934 are coupled in parallel with individual resistors in the resistor array 928 and shunt or short individual resistors in the resistor array 928. A switch SW96 is coupled in parallel with resistor R91, a switch SW97 is coupled in parallel with resistor R92, a switch SW98 is coupled in parallel with resistor R93, and a switch SW99 is coupled in parallel with resistor R94. A processor 936 controls the states of the switches SW91-SW99.
(39) The outputs of the comparators 912 are coupled to the inputs of a plurality of DAC elements 940. A first DAC element 942 is coupled to the output of the first comparator 914, a second DAC element 944 is coupled to the output of the second comparator 916, a third DAC element 946 is coupled to the output of the third comparator 918, a fourth DAC element 948 is coupled to the output of the fourth comparator 920, and a fifth DAC element 950 is coupled to the output of the fifth comparator 922. The outputs of the DAC elements 942 are coupled to the inputs of the adder 816.
(40) In the example DAC 802, the fourth DAC element 948 is processing the PRBS[n] and the fifth DAC element 950 is processing the PRBS[n] as noted by the states of the switches SW94 and SW95, which are set by the processor 936. More specifically, the DAC elements 948 and 950 are converting the PRBS[n] and PRBS[n] to analog signals. The processor 936 also closes switches SW98 and SW99 so that resistors R93 and R94 do not interfere with the signal V91. Because the PRBS[n] and PRBS[n] are complementary, their combination functions as an impulse function, which determines the dynamic error or ISI in the DAC elements 948 and 950 when applied to the estimator 524,
(41)
(42) While some examples of component sheets and orientation methods have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed and that the appended claims are intended to be construed to include such variations except insofar as limited by the prior art.