SYSTEM AND METHOD OF DIGITAL TO ANALOG CONVERSION WITH IMPROVED LINEARITY AND ACCURACY
20250300671 · 2025-09-25
Inventors
Cpc classification
H03M1/68
ELECTRICITY
H03M1/0668
ELECTRICITY
H03M3/50
ELECTRICITY
H03M3/338
ELECTRICITY
International classification
Abstract
A system and method of digital to analog conversion including modulating a digital value D.sub.N-K with an oversampling delta sigma modulator to provide an M-bit coarse quantized value DM, in which D.sub.N-K comprises N-K least significant bits of an N-bit digital input value D.sub.N and in which quantization error may be shaped to a higher frequency above a signal band of interest, adding D.sub.M to a value D.sub.K to provide a select value D.sub.KM in which D.sub.K includes the K remaining most significant bits of D.sub.N, and applying mismatch shaping of a total of at least P=2.sup.K elements of a P-element DAC per cycle based on D.sub.KM to provide an analog output value. The analog output value may be filtered with a low-pass filter to provide a filtered analog output value. An order of low-pass filtering may be one more than an order of modulating.
Claims
1. A digital to analog converter, comprising: an oversampling delta sigma modulator configured to modulate a digital value D.sub.N-K to provide an M-bit quantized value D.sub.M, wherein D.sub.N-K comprises N-K least significant bits of an N-bit digital input value D.sub.N; an adder configured to add the D.sub.M value to a digital value D.sub.K to provide a digital select value D.sub.KM, wherein the D.sub.K value comprises the K remaining most significant bits of the D.sub.N value; and dynamic element matching circuitry configured to apply mismatch shaping of a total of at least P=2.sup.K elements of a P-element digital to analog converter (DAC) per cycle based on the D.sub.KM value, wherein the P-element DAC provides an analog output value.
2. The digital to analog converter of claim 1, wherein the delta sigma modulator is configured as a Q order delta sigma modulator configured to shape quantization error to a higher frequency above a signal band of interest in which Q is at least one; and further comprising a low-pass filter with an order of at least Q+1 configured to filter the analog output value to provide a filtered analog output value.
3. The digital to analog converter of claim 1, wherein the delta sigma modulator includes a quantizer comprising a multibit comparator providing D.sub.M as a multibit output in which M is greater than 1.
4. The digital to analog converter of claim 1, wherein P=2.sup.K+(M2)+2.sup.M11.
5. The digital to analog converter of claim 1, wherein the dynamic element matching circuitry is configured to select D.sub.KM elements from among a total of the P elements of the P-element DAC per cycle based on a data-weighted averaging algorithm to provide the analog output value based on a sum of selected elements.
6. The digital to analog converter of claim 1, wherein the P-element DAC comprises: a parallel set of P unary DACs; and an adder configured to add outputs of selected ones of the set of P unary DACs per cycle to provide the analog output value.
7. The digital to analog converter of claim 1, wherein: the dynamic element matching circuitry is configured to output a set of P complementary binary signals each having a first state when selected or a second state when not selected; and wherein the P-element DAC comprises: a parallel set of P current-steering circuits, each configured to be controlled by a corresponding one of the set of P complementary binary signals to provide a corresponding one of a set of P bidirectional current signal pairs; and summing buffer circuitry having a summing input configured to sum outputs of the set of P bidirectional current signal pairs and an output providing the analog output value as a differential signal.
8. The digital to analog converter of claim 7, wherein each P current-steering circuit comprises: a current source configured to provide a nominal current level to an upper node; a current sink configured to sink the nominal current level from a lower node; a first switch coupled between the upper node and a first intermediate node, wherein the first switch is controlled by a first bit of a corresponding one of the set of P complementary binary signals; a second switch coupled between the first intermediate node and the lower node, wherein the second switch is controlled by a second bit of the corresponding one of the set of P complementary binary signals; a third switch coupled between the upper node and a second intermediate node, wherein the third switch is controlled by the second bit of the corresponding one of the set of P complementary binary signals; and a fourth switch coupled between the second intermediate node and the lower node, wherein the second switch is controlled by the first bit of the corresponding one of the set of P complementary binary signals; wherein the first intermediate node develops a first bidirectional current signal and the second intermediate node develops a second bidirectional current signal of a corresponding one of the set of P bidirectional current signal pairs.
9. The digital to analog converter of claim 7, wherein the summing buffer circuitry comprises: a differential buffer amplifier having a first input coupled to a first intermediate node of each of the P current-steering circuits, having a second input coupled to a second intermediate node of each of the P current-steering circuits, a first output providing a first polarity of the analog output value, and a second output providing a second polarity of the analog output value; a first resistor-capacitor circuit coupled between the first input and the first output of the differential buffer amplifier; and a second resistor-capacitor circuit coupled between the second input and the second output of the differential buffer amplifier.
10. The digital to analog converter of claim 9, wherein the summing buffer circuitry comprises a first order low-pass filter, wherein the delta sigma modulator is configured as a second-order multibit delta sigma modulator, further comprising a low-pass filter configured as a second-order low-pass filter to filter the analog output value to provide a filtered analog output value.
11. A method of digital to analog conversion, comprising: modulating a digital value D.sub.N-K with an oversampling delta sigma modulator to provide an M-bit coarse quantized value D.sub.M, wherein D.sub.N-K comprises N-K least significant bits of an N-bit digital input value D.sub.N; adding the D.sub.M value to a digital value D.sub.K to provide a digital select value D.sub.KM, wherein the D.sub.K value comprises the K remaining most significant bits of the D.sub.N value; and applying mismatch shaping of a total of at least P=2.sup.K elements of a P-element digital to analog converter (DAC) per cycle based on the D.sub.KM value and providing an analog output value.
12. The method of claim 11, wherein the modulating comprises modulating with the delta sigma modulator configured as a Q order delta sigma modulator in which Q is at least one for shaping quantization error to a higher frequency above a signal band of interest; and further comprising low-pass filtering at an order of at least Q+1 to filter the analog output value to provide a filtered analog output value.
13. The method of claim 11, wherein the quantizing comprises comparing using a multibit comparator and providing DM as a multibit output in which M is greater than 1.
14. The method of claim 11, wherein the applying mismatch shaping comprises applying mismatch shaping of P=2.sup.K+(M2)+2.sup.M11 elements of the P-element DAC.
15. The method of claim 11, wherein the applying mismatch shaping comprises: using a data-weighted averaging algorithm for selecting D.sub.KM elements from among a total of the P elements of the P-element DAC per cycle; and summing outputs of selected elements for providing the analog output value.
16. The method of claim 11, wherein the applying mismatch shaping comprises: selecting D.sub.KM DACs from a parallel set of P unary DACs per cycle based on the data-weighted averaging algorithm; and adding outputs of selected ones of the set of P unary DACs per cycle to provide the analog output value.
17. The method of claim 15, wherein the using a data-weighted averaging algorithm comprises outputting a set of P complementary binary signals each having a first state when selected or a second state when not selected; wherein the selecting comprises controlling each of a parallel set of P current-steering circuits by a corresponding one of the set of P complementary binary signals for providing a corresponding one of a set of P bidirectional current signal pairs; and wherein the summing outputs comprises summing outputs of the set of P bidirectional current signal pairs for providing the analog output value as a differential signal.
18. The method of claim 17, wherein the controlling each of a parallel set of P current-steering circuits by a corresponding one of the set of P complementary binary signals comprises: when selected, sourcing a nominal current to a first current node and sinking the nominal current from a second current node for providing a first bidirectional current of the corresponding one of a set of P bidirectional current signal pairs; and when not selected, sourcing a nominal current to the second current node and sinking the nominal current from the first current node for providing a second bidirectional current of the corresponding one of a set of P bidirectional current signal pairs.
19. The method of claim 17, wherein the summing outputs comprises: coupling a first current node of each of a parallel set of P current-steering circuits to a first summing node; coupling a second current node of each of a parallel set of P current-steering circuits to a second summing node; and buffering the first and second nodes through inputs of a differential buffer amplifier with resistor-capacitor feedback circuitry for providing the analog output value as a differential signal at a differential output of the differential buffer amplifier.
20. The method of claim 17, further comprising: chopping the set of P complementary binary signals at a chopping frequency to provide a set of P chopped complementary binary signals and controlling each of the parallel set of P current-steering circuits by a corresponding one of the set of P chopped complementary binary signals; chopping the set of P bidirectional current signal pairs at the chopping frequency to provide a set of P chopped binary current signal pairs; and chopping the differential signal at a differential output of a differential buffer amplifier at the chopping frequency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Embodiments of the present invention are illustrated by way of example and are not limited
[0004] by the accompanying figures. Similar references in the figures may indicate similar elements. Elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale.
[0005]
[0006]
[0007]
[0008]
[0009]
[0010] of
[0011]
[0012]
DETAILED DESCRIPTION
[0013] A single-bit delta-sigma modulator (DSM) is inherently linear, but has a significant amount of quantization noise. A multibit DSM reduces quantization noise at the expense of reduced linearity. As described herein, a DSM is used to convert the lower LSBs of the digital input value for providing a 1- or 2-bit noise-shaped quantized value, which is summed with the MSBs of the digital input value to provide a sum value. The binary sum value is converted by dynamic element matching (DEM) to a thermometer value provided to a P-element DAC which provides a preliminary analog output value. The preliminary analog output value is filtered by a low-pass filter (LPF) to provide a final analog output value with improved linearity and accuracy, in which the LPF is configured to remove the shaped quantization noise introduced by the DSM.
[0014]
[0015] The fine value D.sub.N-K is provided to an input of the DSM 102 having an output providing an M-bit quantized value D.sub.M. M is an integer that is significantly less than N-K to reduce the number of bits. In one embodiment, for example, M is such that N>>K+M in order to reduce the integer value P, which is or otherwise corresponds with the number of elements of the DAC 108. In one embodiment, M is only 1 or 2 bits. The adder 104 adds the coarse input value D.sub.K and the quantized value D.sub.M to provide a sum value D.sub.KM having K+ bits. It is noted that adding an M-bit value to a K-bit value does not necessarily mean that the sum has K+M bits. In fact, since K>M and M may have a small number of bits, such as only 1 or 2 bits, the number of bits K.sup.+ of the sum may be K or K+1 bits depending upon K and M, in which K.sup.+ is a simplified notation to reflect that the actual number of bits of the sum value D.sub.KM depends upon the particular implementation. The sum value D.sub.KM is provided to an input of the DEM circuit 106, which outputs a select or control value D.sub.P generally including P bits or P values. D.sub.P is provided to respective inputs of the DAC 108, which converts D.sub.P to a preliminary analog value PAO. PAO is provided to an input of the LPF 110, which filters out higher frequency noise above a target signal frequency band of PAO to provide the filtered analog output value AOUT.
[0016] In one embodiment, the DSM 102 has an order Q, where Q is a natural number, and total low-pass filtering of the DAC 100, including the LPF 110, has an order Q+1. If the DAC 108 does not otherwise include a first-order LPF, then the LPF 110 is a Q+1 order LPF. If, however, the DAC 108 does include low-pass filtering, such as a first-order LPF, then the LPF 110 may be a Q order LPF.
[0017]
[0018] The fine value D.sub.N-K, which may also be referred to as a quantization error .sub.1 of the coarse input value D.sub.K, is provided to an input of an adder 201, which subtracts a feedback value F from D.sub.N-K to provide a difference value DIF. DIF is provided to an input of a first integrator 204, which provides a first integrated value I1 to an input of a second integrator 206, which outputs a second integrated value I2. I2 is provided to an input of a first gain block 208 shown having a gain of 1, which has an output that is provided to an input of an adder 210. I1 is provided to an input of a second gain block 212 shown having a gain of 2, which has an output that is provided to another input of the adder 210. The gains of the gain blocks 208 and 212 are exemplary only and may be different depending upon the particular loop filter design. The adder 210 adds the outputs of the gain blocks 208 and 212 and provides the sum to an input of a quantizer shown as an idealized 2-bit comparator 216. A physical implementation of the comparator 216 adds another quantization error which is represented by an adder 214 receiving a second quantization error .sub.2. Thus, the quantization error .sub.2 is not actually added to the output of the adder 210 but instead represents the quantization error of the comparator 216. The comparator 216 has an output providing the D.sub.M value, which is fed back to an input of a z.sup.1 delay block 218, having an output providing the feedback value F to the other input of the input adder 201.
[0019] Integrators incorporated within the DSM 202 may be configured in any suitable manner, such as delaying or non-delaying integrators. In the illustrated embodiment, the integrators 204 and 206 are configured as non-delaying integrators. In the illustrated embodiment, each of the integrators 204 and 206 has an adder having a first input receiving the input value and an output providing the integrated value, which is fed back to an input of a z.sup.1 delay block, having an output provided to a second input of the adder of the integrator. Thus, the delayed output of the delay block is added to the input to provide the output integrated value. Other integrator configurations are contemplated. The comparator 216 is shown as a 2-bit comparator so that D.sub.M has 2 bits (i.e., M=2), although 1-bit comparators (e.g., M=1) or comparators in which M>2 are contemplated. In one embodiment, for example, M=2 in which the levels of DM at the output of the comparator 216 are 1, 0, 1, and 2.
[0020] The fine value D.sub.N-K (also known as the quantization error .sub.1) is quantized into the D.sub.M value by the DSM 102 (e.g., the DSM 202) according to the following equation (1):
[0023] In one embodiment, the number of elements P of the DAC 108 can be reduced significantly, achieving a significant reduction in area and switched elements compared to a Nyquist DAC. This reduction of the number of elements of the DAC 108 is a tradeoff with increased sampling frequency. The assumption STF1 only holds if the DAC elements controlled by M is equal to the DAC elements controlled by K, which is not the case with mismatch. As described herein, this assumption can be achieved by dynamic element matching (DEM), which shapes the signal power of the mismatch of the devices of the DAC 108. The DEM 106 cycles the elements of the DAC 108, both Nyquist and noise-shaped. In a first order configuration with a 1-bit DSM 102, P=2.sup.K. In higher order configurations in which M>1, P=2.sup.K+(M2)+2.sup.M11. For one embodiment in which K=6 and M=2, P=65.
[0024] Besides element matching and using a sufficiently high oversampling ratio of the DSM 102 to enable STF=1 to hold, it is also desired to employ over-ranging in the DSM 102. This allows the DSM 102 to quantize D.sub.N-K when it is close to 0 or (normalized) 1. This may be implemented by making the positive output of the DSM 102 equal to the LSB+1 element of the coarse conversion D.sub.K. The negative output of the DSM 102 is equal to LSB of D.sub.K, which is easily implemented since summing is done in the digital domain. Over-ranging gives the penalty that 2.sub.M1 additional DAC elements are needed. For low values of M, however, this penalty is sufficiently small.
[0025]
[0026] The set of selected unit values are summed together by the output adder to form the analog output value PAO in each cycle. Generally speaking, the digital value of D.sub.KM determines the number of the P elements of the DAC 308 to select in any given cycle, which is decoded from a binary value into a thermometer select value D.sub.P. Each of the selected DAC elements contributes 1/P of the full-range value of PAO in each cycle. The unit outputs of the selected DACs are summed together by the output adder 314 in each cycle to develop the value of PAO. The DWA algorithm determines which of the P elements are selected in each cycle, in which the selection changes from cycle to cycle according to the DWA algorithm to avoid favoring any particular one or any particular group of the DACs 312 over time. The DWA algorithm effectively averages the selection of DAC elements in such a manner so that each the P elements are equally weighted over time to minimize mismatch errors between the DACs 312. Various DWA algorithms may be used, such as cyclical selection or random or pseudo random selection or the like.
[0027]
[0028] In the first cycle (1), the input value D.sub.KM corresponds with a selection of 5 DAC elements (or just elements), in which the first 5 elements numbered 1 to 5 are shaded to indicate the particular DAC elements selected in the first cycle. In the second cycle (2), the input value D.sub.KM corresponds with a selection of 6 elements. Instead of beginning again with the first element 1 in cycle (2), the next 6 elements numbered 6 to 11 are shaded to indicate the particular DAC elements selected in the second cycle. In the third cycle (3), the input value D.sub.KM corresponds with a selection of 4 elements, so that the next 4 elements numbered 12 to 15 are selected. In the fourth cycle (4), the input value D.sub.KM corresponds with a selection of 6 elements. Beginning from where the last cycle (3) left off, the last element numbered 16 is selected along with the first 5 elements numbered 1 to 5. Thus, for cycle 4, since the last element 16 has been reached, selection cycles or wraps around back to the beginning to continue the selection. The next cycle (5) is similar to the second cycle (2) in which the next 6 elements numbered 6 to 11 are selected. The next cycle (6) includes 5 elements so that the next 6 elements numbered 12 to 16 are selected including the last element. The next cycle (7) is similar to cycle (1) to select 5 elements in which selection wraps around to the beginning, so that elements 1 to 5 are selected. Operation continues in this manner for subsequent cycles.
[0029] It is appreciated that given the cyclical selection of DAC elements over time as illustrated in
[0030] The DWA algorithm shown in
[0031]
[0032] In the illustrated embodiment, the digital front end 502 provides D.sub.P as the set of P complimentary binary signals D.sub.P,i and
[0033] The DAC 508 includes a set of P current-steering circuits 520 and a common summing buffer circuit 522. The P current-steering circuits 520 are numbered based on the index i from 1 to P, each receiving and controlled by a corresponding pair of complementary D.sub.P,i and
[0034] The first current-steering circuit 520 (i=1) includes a current source 530 having an input coupled to a supply voltage VDD and an output coupled to drive a unit current I.sub.0 to an upper node 532, and a current sink 534 having an input coupled to a lower node 536 and an output coupled to sink the unit current I.sub.0 from the lower node 536 to a supply voltage reference, such as ground (GND). A first switch S1 has switched terminals coupled between the upper node 532 and a first intermediate node 538 and has a control terminal receiving D.sub.P,1, and a second switch S2 has switched terminals coupled between the first intermediate node 538 and the lower node 536 and has a control terminal receiving
[0035] In operation of the first current-steering circuit 520 (for i=1), when D.sub.P,1 is 1 so that
[0036] As previously stated, each of the P current-steering circuits 520 are configured in substantially the same manner, so that each includes a current source (e.g., 530) sourcing the unit current I.sub.0 to an upper node (e.g., 532) and a current sink (e.g., 534) sinking the unit current I.sub.0 from a lower node (e.g., 536) to GND and four switches (e.g., S1-S4) that are controlled by corresponding values D.sub.P,i and
[0037] The DAC digital front end 502 outputs a new set of D.sub.P signals each cycle, which are converted by the set of P current-steering circuits 520 into a sum of P source or sink currents flowing into and out of each of the intermediate nodes 538 and 540 developing a first current I.sub.T+ shown flowing through the upper summing junction node 542, and a second current I.sub.T shown flowing through the lower summing junction node 544. It is appreciated, of course, that each of the I.sub.T+ and I.sub.T are bidirectional currents having a magnitude and direction based on the sum of source and sink currents developed by the P current-steering circuits 520 as controlled by the set of D.sub.P signals for each cycle and may flow in either direction. In each cycle in which DP is updated, a new pair of bidirectional I.sub.T+ and I.sub.T currents are developed. A sequential series of I.sub.T+ and I.sub.T bidirectional current pairs is converted by the summing buffer circuit 522 into the preliminary analog output signal PAO, which in this case is a differential voltage that varies over time based on the digital input value D.sub.N. The LPF 510 filters out higher frequency noise above the target signal band of the preliminary analog output signal PAO to provide the filtered analog output signal AOUT, which is also a differential voltage.
[0038] It is noted that the buffer circuit 522 including the summing junction nodes 542 and 544 buffered by the buffer amplifier 546 and including the feedback resistor-capacitor configuration including the resistors and capacitors R1, R2, C1, and C2 collectively operates as a first order LPF. In this manner, the order of the LPF 510 may be reduced from Q+1 to Q.
[0039]
[0040] The chopping circuit 602 is interposed between the DAC digital front end 502 and the current-steering circuits 520, in which the pair of complimentary binary signals D.sub.P,i and
[0041] Operation of the DAC 600 is substantially similar to operation of the DAC 500, in which the digital input value D.sub.N provided to the input of the DAC digital front end 502 is converted to the differential analog output value AOUT provided at the output of the LPF 510. Again, the inclusion of chopping performed by the chop circuits 602, 604, and 606 increases linearity and improves noise performance of the DAC 600 as compared to the DAC 500 as previously described. The buffer circuit 522 forming a first order LPF filters the upconverted flicker noise (1/f). Also, the summing junctions and collective configuration of the buffer amplifier 546 of the DAC 600 also operate as a first order LPF, so that the order of the LPF 510 may be reduced from Q+1 to Q.
[0042]
[0043] The positive polarity of PAO is provided through RA1 to a node 721 which is further coupled to a negative input of the diff amp 720 and to one end each of CA1, RA2, and RA3. The other ends of CA1 and RA2 are coupled to a node 723, which is coupled to a negative output of diff amp 720. The other end of RA3 is coupled to an output node 728 developing the negative polarity of AOUT. RA4 is coupled between node 723 and a node 725, which is further coupled to a negative input of the diff amp 730 and to one end of CA2. The other end of CA2 is coupled to the output node 727 developing the positive polarity of AOUT. In a similar manner, the negative polarity of PAO is provided through RB1 to a node 722 which is further coupled to a positive input of the diff amp 720 and to one end each of CB1, RB2, and RB3. The other ends of CB1 and RB2 are coupled to a node 724, which is coupled to a positive output of diff amp 720. The other end of RB3 is coupled to the output node 727. RB4 is coupled between node 724 and a node 726, which is further coupled to a positive input of the diff amp 730 and to one end of CB2. The other end of CB2 is coupled to the output node 728.
[0044] The illustrated LPF 710 is exemplary only in which the particular implementation may depend upon the particular signal bandwidth and the application. For audio applications, a passive inductor-capacitor (LC) filter may be included, similar to what might be used for class-D amplifiers. The LC filter may be implemented off-chip. When a monolithic solution is desired in which all of the components are provided on the same chip, an active filter may be used. Also, the order of the LPF may be increased by one when the corresponding implementation of the DAC 108 does not include a first-order LPF.
[0045] Although the present invention has been described in connection with several embodiments, the invention is not intended to be limited to the specific forms set forth herein. On the contrary, it is intended to cover such alternatives, modifications, and equivalents as can be reasonably included within the scope of the invention as defined by the appended claims. For example, variations of positive circuitry or negative circuitry may be used in various embodiments in which the present invention is not limited to specific circuitry polarities, device types or voltage or error levels or the like. For example, circuitry states, such as circuitry low and circuitry high may be reversed depending upon whether the pin or signal is implemented in positive or negative circuitry or the like. In some cases, the circuitry state may be programmable in which the circuitry state may be reversed for a given circuitry function.
[0046] The terms a or an, as used herein, are defined as one or more than one. Also, the use of introductory phrases such as at least one and one or more in the claims should not be construed to imply that the introduction of another claim element by the indefinite articles a or an limits any particular claim containing such introduced claim element to inventions containing only one such element, even when the same claim includes the introductory phrases one or more or at least one and indefinite articles such as a or an. The same holds true for the use of definite articles. Unless stated otherwise, terms such as first and second are used to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements.