SIGMA-DELTA ANALOG-TO-DIGITAL CONVERTER CIRCUIT WITH REAL TIME CORRECTION FOR DIGITAL-TO-ANALOG CONVERTER MISMATCH ERROR
20210351780 · 2021-11-11
Assignee
Inventors
Cpc classification
H03M3/368
ELECTRICITY
H03M1/1014
ELECTRICITY
H03M1/0648
ELECTRICITY
H03M1/0665
ELECTRICITY
H03M1/0809
ELECTRICITY
International classification
Abstract
An estimate of unit current element mismatch error in a digital to analog converter circuit is obtained through a correlation process. Unit current elements of the digital to analog converter circuit are actuated by bits of a thermometer coded signal generated in response to a quantization output signal. A correlation circuit generates the estimates of the unit current element mismatch error from a correlation of a first signal derived from the thermometer coded signal and a second signal derived from the quantization output signal.
Claims
1. A circuit for estimating unit current element mismatch error in a digital to analog converter circuit, where unit current elements of the digital to analog converter circuit are actuated in response to bits of a thermometer coded signal generated in response to a quantization output signal, comprising: a correlation circuit configured to generate estimates of the unit current element mismatch error from a correlation of a first signal derived from the thermometer coded signal and a second signal derived from the quantization output signal.
2. The circuit of claim 1, wherein bits of the thermometer coded signal are randomly scrambled.
3. The circuit of claim 1, further comprising: a first signal processing circuit configured to process the thermometer coded signal to generate a signal measure that is constant and independent of the thermometer code of thermometer coded signal; a second signal processing circuit configured to filter the signal measure to generate a filtered signal measure; and a third signal processing circuit configured to filter the quantization output signal to generate a filtered quantization output signal; wherein the correlation circuit functions to correlate the filtered signal measure and the filtered quantization output signal to generate the estimates of the unit current element mismatch error.
4. The circuit of claim 3, wherein the filtering by the second signal processing circuit is high pass filtering.
5. The circuit of claim 3, wherein the filtering by the second signal processing circuit is combination of a high pass filtering and error transfer filtering.
6. The circuit of claim 3, wherein the filtering by the third signal processing circuit is high pass filtering.
7. The circuit of claim 3, wherein the first signal processing circuit comprises: a summation circuit configured to sum bits of the thermometer coded signal; a fraction circuit configured to divide the summed bits of the thermometer coded signal by a number of the bits in the thermometer coded signal to produce an output signal; and a subtraction circuit configured to generate the signal measure by subtracting the output signal from the bits of the thermometer coded signal.
8. A system, comprising: a quantization circuit configured to generate a quantization output signal; a digital to analog converter (DAC) circuit including unit current elements that are actuated in response to bits of a thermometer coded signal generated in response to the quantization output signal; and an error estimation circuit configured to estimate unit current element mismatch error in the digital to analog converter circuit, wherein the error estimation circuit comprises: a correlation circuit configured to generate the estimates of the unit current element mismatch error from a correlation of a first signal derived from the thermometer coded signal and a second signal derived from the quantization output signal.
9. The system of claim 8, further comprising: a replica DAC circuit that receives the quantization output signal and is configured to apply a correction for the unit current element mismatch error in response to the estimates of the unit current element mismatch error generated by the correlation circuit.
10. The system of claim 9, wherein the quantization circuit and digital to analog converter circuit are circuit components of a sigma-delta analog to digital converter and the quantization output signal is an analog to digital converter output signal.
11. The system of claim 10, wherein the sigma-delta analog to digital converter further comprises: a loop filter having an input configured to receive a difference signal derived from an an analog signal output from the digital to analog converter circuit and an output coupled to an input of the quantization circuit.
12. The system of claim 10, further comprising a decimation filter having an input coupled to an output of the replica DAC circuit.
13. The system of claim 8, further comprising a scrambling circuit configured to scramble bits of the thermometer coded signal input to the digital to analog converter.
14. The system of claim 8, wherein the correlation circuit comprises: a first signal processing circuit configured to process the thermometer coded signal to generate a signal measure that is constant and independent of the thermometer code of thermometer coded signal; a second signal processing circuit configured to filter the signal measure to generate a filtered signal measure; and a third signal processing circuit configured to filter the quantization output signal to generate a filtered quantization output signal; wherein the correlation circuit functions to correlate the filtered signal measure and the filtered quantization output signal to generate the estimates of the unit current element mismatch error.
15. The system of claim 14, wherein the filtering by the second signal processing circuit is high pass filtering.
16. The system of claim 14, wherein the filtering by the second signal processing circuit is combination of a high pass filtering and error transfer filtering.
17. The system of claim 14, wherein the filtering by the third signal processing circuit is high pass filtering.
18. The system of claim 14, wherein the first signal processing circuit comprises: a summation circuit configured to sum bits of the thermometer coded signal; a fraction circuit configured to divide the summed bits of the thermometer coded signal by a number of the bits in the thermometer coded signal to produce an output signal; and a subtraction circuit configured to generate the signal measure by subtracting the output signal from the bits of the thermometer coded signal.
19. A sigma-delta modulator, comprising: a differencing circuit having a first input configured to receive an input signal and a second input configured to receive a feedback signal and an output configured to generate a difference signal; a loop filter circuit configured to filter the difference signal and generate a change signal; a quantization circuit configured to sample the change signal at a sampling frequency rate, quantize the sampled change signal and generate a stream of code words; a digital-to-analog converter (DAC) circuit configured to generate the feedback signal by converting a thermometer coded signal generated in response to the stream of code words, wherein the DAC circuit has a non-ideal operation due to mismatch error; a replica DAC circuit that provides a digital replication of the DAC circuit, said digital replication comprising estimated error programming which accounts for the non-ideal operation of the DAC circuit due to mismatch error; and an error estimation circuit configured to generate the estimated error programming from a correlation of the thermometer coded signal and the stream of code words.
20. The sigma-delta modulator of claim 19, wherein the error estimation circuit comprises: a first signal processing circuit configured to process the thermometer coded signal to generate a signal measure that is constant and independent of the thermometer code of thermometer coded signal; a second signal processing circuit configured to filter the signal measure to generate a filtered signal measure; and a third signal processing circuit configured to filter the stream of code words to generate a filtered stream of code words; wherein the correlation circuit functions to correlate the filtered signal measure and the filtered stream of code words to generate the estimated error programming.
21. The sigma-delta modulator of claim 20, further comprising a scrambling circuit configured to scramble bits of the thermometer coded signal input to the digital to analog converter.
22. The sigma-delta modulator of claim 20, wherein the filtering by the second signal processing circuit is high pass filtering.
23. The sigma-delta modulator of claim 22, wherein the filtering by the second signal processing circuit is combination of a high pass filtering and error transfer filtering.
24. The sigma-delta modulator of claim 22, wherein the filtering by the third signal processing circuit is high pass filtering.
25. The sigma-delta modulator of claim 22, wherein the first signal processing circuit comprises: a summation circuit configured to sum bits of the thermometer coded signal; a fraction circuit configured to divide the summed bits of the thermometer coded signal by a number of the bits in the thermometer coded signal to produce an output signal; and a subtraction circuit configured to generate the signal measure by subtracting the output signal from the bits of the thermometer coded signal.
26. The sigma-delta modulator of claim 19, further comprising a decimation filter having an input coupled to an output of the replica DAC circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0027] For a better understanding of the embodiments, reference will now be made by way of example only to the accompanying figures in which:
[0028]
[0029]
[0030]
[0031]
[0032]
DETAILED DESCRIPTION
[0033] Reference is now made to
[0034] The sigma-delta modulator circuit 112 implements a loop filter 116 with a K-order integration circuit implementation. In the illustration of
[0035] The stream of N-bit code words for the digital output signal B produced by the N-bit quantization circuit 124 are input to the scrambling circuit 128 to be passed through, after scrambling, to the N-bit DAC circuit 126 in the feedback path. This stream of N-bit code words for the digital output signal B is further input to a replica DAC circuit 118. In this context, the replica DAC circuit 118 is programmed by an error estimation circuit 140 to digitally model the operation of the feedback N-bit DAC circuit 126. In other words, to digitally model the ideal DAC operation plus the DAC error introduced by the non-linear operation of the unit elements. In response to this programming, the replica DAC circuit 118 processes the ADC output v(k) to remove the DAC error.
[0036] The replica DAC circuit 118 provides a digital replication of the analog N-bit DAC circuit 126, that replication specifically accounting for the non-ideal operation of the N-bit DAC circuit 126 due to element mismatch. More specifically, the replica DAC circuit 118 is programmed with a plurality of digital code words that are directly proportional to the value of the mismatched unit elements of the analog N-bit DAC circuit 126. In other words, digital codes corresponding to the analog value of the unit element error e.sub.i. The digital code words can be of any selected precision P, and are determined by the error estimation circuit 140. It will be appreciated that if the digital model provided by the replica DAC circuit 118 is substantially identical to the non-ideal actual operation of the analog N-bit DAC circuit 126, then the digital signal E output from the digital DAC copy circuit 118 will be functionally equivalent to the analog feedback signal D output from the analog N-bit DAC circuit 126. In this context, “functionally equivalent” means that an analog conversion of the digital value for the digital signal E generated in response to signal B by the digital DAC copy circuit 118 is substantially equal to the corresponding analog value for the analog feedback signal D generated in response to that same signal B. The digital signal E output by the digital DAC copy circuit 118 comprises a stream of P-bit code words (where P>N, the higher resolution provided by P bits being necessary to provide fractional components necessary to account for effects of the mismatch error). The difference in bits (P−N) defines the degree of substantial equality that is achievable.
[0037] The operation of the replica DAC circuit 118 may be better understood through the use of an example. Assume that the scrambled thermometer coded selecting signal b.sub.1(k) would activate two unit current elements. If the analog N-bit DAC circuit 126 had an ideal functional operation, the analog voltage for the analog feedback signal D output from the analog N-bit DAC circuit 126 would have a value of 2*Δ. However, due to mismatch error, the voltage of the generated analog feedback signal D output from the analog N-bit DAC circuit 126 instead has a value of 2*Δ+e.sub.1Δ+e.sub.2Δ. The error estimation circuit 140 operates to process the scrambled thermometer coded selecting signal b.sub.i(k) and the ADC output v(k) to estimate the error e.sub.i for each of the unit current elements. The replica DAC circuit 118 is programmed with the estimation of the error e.sub.i. So, with consideration to the forgoing example, the digital signal E output from the replica DAC circuit 118 will be a code word with a precision of P-bits formed by summing the N-bit digital code for 2*Δ (i.e., the ideal response) plus the digital code for Δ times the sum of the programmed digital code words for the unit element errors e.sub.1 and e.sub.2 (i.e., Δ(e.sub.1+e.sub.2)) which is the introduced mismatch error.
[0038] The circuit 110 further includes a decimator circuit 114 that accumulates and averages the P-bit code words in the stream of the digital output signal E to generate a digital signal C comprised of a stream of multi-bit (M-bit) digital words at a data rate set by a decimation rate fd, where fd<<fs and 1<N<P<<M. The decimator circuit 114 implements a low pass filtering to effectively remove the high-passed signal components of the quantization error and mismatch error.
[0039] As previously noted, the ADC output v(k) of the sigma-delta analog-to-digital converter circuit consists of:
[0040] 1) the filtered input signal u′(k) which is equal to u(k).Math.stf(k), where stf(k) is impulse response of the signal transfer function (STF(z)) of the system;
[0041] 2) the filtered quantization noise q′(k) which is equal to q(k).Math.ntf(k), where ntf(k) is the impulse response of the noise transfer function (NTF(z)) of the system; and
[0042] 3) the filtered DAC error Σ.sub.i=1.sup.Nb.sub.1′(k).Math.e.sub.i, where b.sub.i′(k)=b.sub.i(k).Math.etf(k) and etf(k) is the impulse response of the error transfer function (ETF(z)) of the system.
[0043] The ADC output v(k) is thus given by the equation:
v(k)=u′(k)+q′(k)+Σ.sub.i=1.sup.Nb.sub.i′(k).Math.e.sub.i
[0044] The error estimation circuit 140 receives the scrambled thermometer code word b.sub.i(k) output from the data weighted averaging (DWA) scrambler circuit 128 and the digital output signal B (v.sub.i(k)) produced by the N-bit quantization circuit 124. These signals are processed to estimate the unit element errors (the estimated errors referred to herein as ê.sub.i). The replica DAC circuit 118 is then programmed with these estimated errors ê.sub.i, and a DAC error correction term:
DAC err corr=Σ.sub.i=1.sup.Nb.sub.i′(k).Math.ê.sub.i
[0045] is eliminated from the ADC output v(k) by the replica DAC circuit 118 to substantially cancel the DAC error Σ.sub.i=1.sup.Nb.sub.i′(k).Math.e.sub.i and obtain a corrected ADC output v.sub.c(k):
v.sub.c(k)=u′(k)+q′(k)
[0046] The corrected ADC output v.sub.c(k) is then processed through the decimator 114 at the decimation rate fd to generate the digital output signal C.
[0047] Reference is now made to
[0048] A summation circuit 160 receives the scrambled thermometer code word b.sub.i(k) and calculates the Σ.sub.i=1.sup.Nb.sub.i(k) component and a divider circuit 162 applies the 1/N fraction. The output of the divider circuit 162 is applied to one input of a subtraction circuit 164. Another input of the subtraction circuit 164 receives the scrambled thermometer code word b.sub.i(k) signal and performs the subtraction operation to generate the term n.sub.i(k).
[0049] It can be shown that for all values of b.sub.i(k), the sum of n.sub.i(k) is zero:
Σ.sub.i=1.sup.Nn.sub.i(k)=0
[0050] A determination is now made as to whether the generated term n.sub.i(k) has any impact on the actual DAC output and the corresponding ADC output. With reference again to the non-ideal DAC output of:
a.sub.actual(k)=ΔΣ.sub.i=1.sup.Nb.sub.i(k)+ΔΣ.sub.i=1.sup.Nb.sub.i(k).Math.e.sub.i
[0051] and, since Σ.sub.i=1.sup.Ne.sub.i=0 for a given DAC, then:
a.sub.actual(k)=ΔΣ.sub.i=1.sup.Nb.sub.i(k)+ΔΣ.sub.i=1.sup.Nn.sub.i(k).Math.e.sub.i
[0052] As a result, the DAC error can be represented as:
DAC error=ΔΣ.sub.i=1.sup.Nn.sub.i(k).Math.e.sub.i
[0053] Substituting for the term n.sub.i(k), the ADC output can be re-written as:
v(k)=u′(k)+q′(k)+Σ.sub.i=1.sup.Nn.sub.i′(k).Math.e.sub.i
[0054] where: u′(k) is the input signal A passed through the modulator STF(z) and q′(k) is the shaped quantization error. A first signal conditioning circuit 168 receives the signal n.sub.i(k) and applies a filtering 168a and a decimation 168b to generate the signal n.sub.i′(k). Filtering is needed to remove the STF passed input signal u′(k) from the modulator output. This is done to de-correlate v(k) with the input signal u(k) because any signal component present in the output will interfere with the correlation operation. In this context, n.sub.i′(k) is the STF passed version of n.sub.i(k). Recall that n.sub.i(k) is injected into the loop (via feedback) at the summation node at the input. So, n.sub.i(k) and u(k) both pass through an identical STF and are labeled as n.sub.i′(k) and u′(k), respectively. The filtering 168a has a transfer function that is a combination of error transfer function (ETF(z)) and a high pass filtering. As a result, the overall signal conditioning operation is therefore one of a polyphase decimation filtering.
[0055] Since the scrambled thermometer code word b.sub.i(k) signal and the input signal u′(k) can be assumed to be decorrelated, the correlation between v(k) and n.sub.i′(k) can be computed to obtain an estimate of the errors. The correlation may be mathematically expressed as:
CORR[v(k),n.sub.i′(k)]=CORR[u′(k),n.sub.i′(k)]+CORR[q′(k),n.sub.i′(k)]+CORR{[Σ.sub.j=1.sup.Ne.sub.j.Math.n.sub.j′(k)],n.sub.i′(k)}
[0056] For every i there are N number of j's where N is the number of DAC elements. Intuitively, the above-expression means that N bit streams (STF passed n.sub.i′(k)) emerging from feedback DAC input (because DAC has N inputs) when correlated with the modulator output (which is a summation of applied codes to DAC+DAC error represented by [Σ.sub.j=1.sup.Ne.sub.j.Math.n.sub.j′(k)]) provides N outputs that are proportional to the DAC element error). To elaborate further, ‘i’ is the digital part of the equation, where ‘i’ data lines exist as unique physical entities. ‘j’ is the index to represent DAC passed, STF passed, quantizer passed mashed/summed data, where ‘j’ individually is no longer discernable.
[0057] The first two terms of the foregoing equation evaluate to zero under the following assumed conditions:
[0058] a) e.sub.i terms follow a normal distribution and are relatively constant over a period;
[0059] b) the input signal u(k) is filtered out from the ADC output; and
[0060] c) the quantization error q′(k) is white, uniformly distributed and uncorrelated to n.sub.i′(k).
[0061] With these assumptions in place, the correlation may be simplified and mathematically expressed as:
CORR[v′(k),n.sub.i′(k)]=e.sub.i+{Σ.sub.j=1,j≠i.sup.Ne.sub.j(k).Math.CORR[n.sub.j′(k),n.sub.i′(k)]}
[0062] where: v′(k) is the ADC output filtered so that it does not contain the input signal. The error estimation circuit 140 accordingly includes a second signal conditioning circuit 172 that receives the signal v(k) as output from the quantizer and applies a high pass filtering (HPF, reference 172a) and a decimation 172b function to produce the signal v′(k). The overall signal conditioning operation is therefore one of a polyphase decimation high pass filtering.
[0063] It will be noted at this point that the signal b.sub.i(k) branches out of the scrambler 128 into the following two paths:
[0064] a) for v.sub.i′(k): the path comprises a DAC, the STF, and the quantizer followed by a polyphase decimation high pass filter (using the second signal conditioning circuit 172); and
[0065] b) for n.sub.i′(k): the path comprises a digital approximation of the STF and a polyphase decimation high pass filtering (using the first signal conditioning circuit 168).
[0066] A correlation circuit 180 performs the correlation CORR[v′(k),n.sub.i′(k)]. This correlation operation produces a matrix of size N×1 as follows:
[0067] is an N×N Matrix.
[0068] The estimated error terms e.sub.j, can be computed as follows:
[0069] The R matrix consists of a correlation of n.sub.j′(k) and n.sub.i′(k) which can be computed easily. The estimated errors ê.sub.i can then be calculated as:
[0070] Once ê.sub.i is estimated, the replica DAC at ADC output is populated with these estimated error values. The correction block to remove the DAC error in the replica DAC is a low rate multiply and add operation which can easily be accommodated in the subsequent digital filter chain. Because the estimation and computation operations run at a much lower rate than the modulator itself, there is a significant savings in power consumption. This solution is attractive for use in wide-band, high-speed, high performance sigma-delta modulators.
[0071] While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.