Shuffler-free ADC error compensation
By using the method of feedback signal and gain correction in the analog-to-digital converter, the problem of difficult error compensation in the analog-to-digital converter is solved, efficient signal conversion and accuracy are achieved, and interference from the shuffling device is avoided.
Patent Information
- Application Number
- CN202310316377.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
Existing analog-to-digital converters (ADCs) have difficulty in error compensation when converting analog signals into digital signals. In particular, errors in digital-to-analog converters (DACs) pose challenges to accurately simulating feedback signals.
A combination of an analog-to-digital converter circuit (ADC), a digital-to-analog converter circuit (DAC), and a compensation circuit is used to correct the digital output by generating a feedback signal, and apply gain to the digital input of the DAC based on the feedback signal to reduce errors. This method does not use a shuffling device and directly compensates for the error of the DAC.
Efficient and robust error compensation for the analog-to-digital converter is achieved, the accuracy and efficiency of signal conversion are improved, and random interference on the signal input by the shuffling device is avoided.
Smart Images

Figure CN118694367A
Abstract
Description
Technical Field
[0001] Aspects of various embodiments relate to processing signals involving converting analog signals into digital signals in an analog-to-digital converter (ADC), for example where a digital-to-analog converter (DAC) output signal is combined with an analog ADC input signal. Background Art
[0002] Numerous signal processing applications involve converting received analog signals into digital values for processing. Such methods have been widely implemented for successfully processing signals in many different applications. For such applications, accurately converting and otherwise processing signals can be challenging, and much effort may be put into ensuring that the resulting signal is accurate.
[0003] One type of ADC involves sigma-delta conversion, where an analog input signal is sampled and quantized into a digital signal. The digital signal can be processed by a unary DAC, where the resulting analog signal is added to the input signal to reduce errors in quantization. However, while this approach has been useful, errors in the DAC and / or other existing errors make it challenging to provide an accurate analog feedback signal.
[0004] These and other issues have challenged the efficiency and accuracy of various signal processing and conversion implementations for a variety of applications. Summary of the invention
[0005] It may be desirable to provide efficient and robust error compensation for an analog-to-digital converter.
[0006] Various example embodiments are directed to problems such as those set forth above and / or other problems that may be apparent from the following disclosure regarding processing signals and, in particular, regarding conversion of analog signals to digital signals.
[0007] According to one aspect of the present disclosure, a device for error compensation is described, the device comprising:
[0008] i) an analog-to-digital converter circuit (ADC) configured and arranged to convert an analog signal (as an input signal) into a digital (output) signal (as a digital output);
[0009] ii) at least two (in particular, exactly two) digital-to-analog converter circuits (DACs), each DAC being configured and arranged to convert part of said digital signal into a further analog signal (DAC analog output signal); and
[0010] iii) a compensation circuit configured and arranged to correct the digital output of the ADC by:
[0011] a) for each DAC, generating a feedback signal indicative of an incompatibility (DAC error producing a difference) between an analog output of the DAC which has been converted from a digital signal generated by the ADC and a digital input provided to the DAC (in other words: for each DAC, generating a feedback signal indicative of an incompatibility between an analog output of the DAC converted into a digital signal by the ADC and the digital input provided to the DAC);
[0012] b) for each DAC, applying a respective gain to the digital input provided to the (corresponding) DAC based on the (generated) feedback signal for the (corresponding) DAC, providing a modified digital signal (corresponding to the respective DAC) in the DAC; and
[0013] c) generating a corrected output based on a combination of the digital signal output from the ADC and the modified digital signal provided by (corresponding to) the (corresponding) DAC (specifically, the digital circuit system (compensation circuit) provides the modified digital signal).
[0014] In particular, the digital inputs provided to the at least two DACs are non-randomized. In particular, the apparatus does not contain shuffling means.
[0015] According to further aspects of the present disclosure, a method for error compensation in an analog-to-digital converter circuit (ADC) having a digital-to-analog converter circuit (DAC) that generates an analog signal used in converting an analog input signal into a digital signal is described, the method comprising:
[0016] For each corresponding bit of the digital signal converted by the DAC,
[0017] i) generating a feedback signal indicative of a mismatch between an analog output of the DAC and a digital signal input provided to the DAC, the analog output having been converted by the ADC into the digital signal;
[0018] ii) applying gain to the bits of the digital signal converted by the DAC based on the feedback signal; and
[0019] iii) compensating for errors in the DAC using the corresponding bits of the digital signal to which the gain is applied.
[0020] In particular, the digital input provided to the DAC is hereby de-randomized.
[0021] In the context of this document, the term "non-randomized" (or non-scrambled, non-shuffled) may specifically refer to a situation where no randomization operation has been performed with respect to these digital inputs. Although in prior art examples, randomization operations are performed on the DAC digital inputs (e.g., using a PRBS sequence), this may not be the case in the present disclosure. In particular, there is no shuffler device applied with respect to the digital inputs provided to the DAC circuit. The term "shuffling device" (or scrambling device or random selection device) may refer to a device, such as a circuit, configured to randomize the input data to provide a constant probability.
[0022] In the context of this document, the term "non-compliance" may specifically refer to the error to be estimated and corrected. In a specific example, the term non-compliance may refer to the error as a deviation from the ideal unit step LSB contribution of a single DAC circuit when measured at the output of an ADC to an integrator.
[0023] According to example embodiments, the present disclosure may be based on the idea that error compensation for efficient and robust error compensation of an analog-to-digital converter may be provided when using an error compensation circuit providing a digital input to a DAC whereby the digital input is not shuffled.
[0024] In the prior art approach, a shuffle device is applied to provide a random selection to the digital inputs of the DAC elements. This random selection ensures that all DAC elements have a similar probability to have a +1 or -1 control signal (see the detailed discussion of error estimation below).
[0025] The inventors have surprisingly discovered that such a shuffle device may not be needed for a number of applications. Specifically, error detection (DAC error estimation) may work without a shuffle device in applications where all DAC circuits (unit elements) are switching (converging). Unexpectedly, it may not be necessary for all DAC elements to have the same probability between +1 or -1. Preferred applications may include using exactly two DAC circuits, providing large input and / or out-of-band signals, and providing high noise transfer function gain.
[0026] In certain example embodiments, aspects of the present disclosure relate to determining mismatches between respective digital-to-analog converter (DAC) circuits, and compensating for the mismatches. This method may, for example, involve determining mismatch values for respective DACs by correlating usage of individual DAC components with (compensated) output signals of the ADCs (e.g., multi-bit sigma-delta ADCs). In this context, each DAC circuit may be part of an overall DAC, where each DAC circuit converts LSB units or other portions of a digital signal converted by the overall DAC.
[0027] According to one or more aspects of the present disclosure, a device for error compensation includes: an analog-to-digital converter (ADC) circuit configured and arranged to convert an analog signal into a digital signal; a plurality of digital-to-analog converter (DAC) circuits, each of which is configured and arranged to convert a portion of the digital signal into an analog signal; and a compensation circuit configured and arranged to correct the output of the ADC circuit. Specifically, the compensation circuit corrects the output by generating a feedback signal for each DAC circuit representing the incompatibility between the analog output of the DAC circuit converted into a digital signal by the ADC circuit and the digital input provided to the DAC circuit. A corresponding gain is applied to the digital input from each DAC circuit based on the feedback signal for the corresponding DAC circuit, and a modified digital input is provided in the DAC circuit. A corrected output is then generated based on a combination of the digital signal output from the ADC and the modified digital input provided to the corresponding DAC circuit.
[0028] Another aspect of the present disclosure relates to a method for error compensation in an analog-to-digital converter (ADC) circuit having a digital-to-analog converter (DAC) circuit that generates an analog signal used when converting an analog input signal into a digital signal. For each corresponding LSB unit of a digital signal converted by the DAC circuit, a feedback signal is generated and the feedback signal represents a mismatch between an analog output of the DAC circuit converted into a digital signal by the ADC circuit and a digital signal input provided to the DAC circuit. A gain is applied to a unit of the digital signal converted by the DAC circuit based on the feedback signal. Errors in the DAC circuit are compensated using the corresponding bits of the digital signal, wherein the gain is applied to the digital signal.
[0029] Another aspect of the present disclosure relates to an apparatus for estimating and correcting errors in an analog-to-digital converter (ADC) circuit. The apparatus includes a plurality of variable gain circuits, each configured and arranged to apply a gain to a portion of a signal provided to a digital-to-analog converter (DAC) circuit based on a feedback signal for a corresponding portion of the signal. The feedback circuit is configured and arranged to generate a corresponding feedback signal for each DAC circuit, each feedback signal being based on an output of the DAC circuit for which the feedback signal is provided and an input signal provided to the DAC circuit. An output circuit is configured and arranged to correct an output of the ADC circuit using a corresponding output of the variable gain circuit.
[0030] The above discussion / summary is not intended to describe each embodiment or every implementation of the present disclosure.The following figures and detailed description also exemplify various embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Various example embodiments may be more fully understood from the following detailed description considered in conjunction with the accompanying drawings, in which:
[0032] Figure 1 An ADC device with feedback according to the present disclosure is shown;
[0033] Figure 2 Another ADC device with feedback according to the present disclosure is shown;
[0034] Figure 3 is a data flow diagram according to the present disclosure;
[0035] Figure 4 Another apparatus for compensating for errors in an ADC according to the present disclosure is shown;
[0036] Figure 5 A DAC element estimation and correction circuit according to the present disclosure is shown;
[0037] Figure 6 Another device for correcting ADC errors according to the present disclosure is shown;
[0038] Figure 7 A DAC element estimation and correction circuit according to the present disclosure is shown;
[0039] Figure 8 Another apparatus for correcting ADC errors according to the present disclosure is shown; and
[0040] Fig. 9 Another DAC element estimation and correction circuit according to the present disclosure is shown.
[0041] Fig.10 The DAC error estimate for exactly two DAC circuits is shown to converge without using a shuffle arrangement.
[0042] Fig.11 A comparison between the raw ADC output and the DAC error correction for exactly two DAC circuits without using a shuffling device is shown.
[0043] Fig.12 The DAC error estimation for three DAC circuits is shown to converge without using a shuffle device.
[0044] Fig.13 A comparison between the raw ADC output and the DAC error correction for three DAC circuits without using a shuffling device is shown.
[0045] Although the various embodiments discussed herein are subject to modification and alternative forms, aspects of the various embodiments have been shown by way of example in the drawings and will be described in detail. However, it should be understood that it is not intended to limit the present disclosure to the specific embodiments described. On the contrary, it is intended to cover all modifications, equivalents, and alternatives that fall within the scope of the present disclosure including the aspects defined in the claims. In addition, the term "example" as used throughout this application is by way of illustration only and is not limiting. DETAILED DESCRIPTION
[0046] Aspects of the present disclosure are considered applicable to a variety of different types of devices, systems and methods involving signal processing, just as they are applicable to many different types of communications. In certain embodiments, aspects of the present disclosure have been shown to be beneficial when used in the context of radio communications (e.g., radio communications utilized in automobiles and other vehicles), and are beneficial when used in these and other applications where Σ-Δ ADCs may be employed. In some embodiments, signals converted from analog to digital form are processed to provide feedback and associated corrections to facilitate characterization and correction of mismatches, errors or other processing aspects. Although various aspects may be understood through the following discussion of non-limiting examples using exemplary situations, they need not be limited thereto.
[0047] Various embodiments are directed to improving signal processing in ADCs such as delta-sigma ADCs. An analog signal is sampled and quantized into a digital signal and delta modulated (encoding the voltage or current of the input signal). The corresponding signal (e.g., a digital signal or a corresponding thermometer code used in generating a digital signal) passes through one or more 1-bit DACs. The resulting analog feedback signal from the DAC is subtracted (delta) from the input analog signal being processed (the sigma operation may be implemented in a loop filter, which may include an integrator (sigma)). As part of this process, feedback is generated and provided to a signal corresponding to the corresponding output of the DAC, which accounts for mismatches on the corresponding DAC and improves the resulting signal subtracted from the input analog signal.
[0048] As used herein, a DAC may refer to a corresponding unit (e.g., circuit) therein with a mismatch between the units being estimated and compensated. For example, a 2-bit quantizer may be used, where the 2-bit value is encoded into a 3-bit code that provides a representation of how the DAC unit is configured.
[0049] In the following description, various specific details are set forth to describe the specific examples presented herein. However, it should be apparent to those skilled in the art that one or more other examples and / or variations of these examples may be practiced without all the specific details given below. In other cases, well-known features are not described in detail to avoid confusing the description of the examples herein. For ease of illustration, the same reference numerals may be used in different figures to refer to the same elements or additional instances of the same elements. Moreover, although various aspects and features may be described in individual figures in some cases, it should be understood that features from one figure or embodiment may be combined with features of another figure or embodiment, although the combination is not explicitly shown or explicitly described as a combination.
[0050] Various embodiments relate to circuit systems and related methods for conversion of analog signals to digital signals. Such embodiments may, for example, relate to a sigma-delta (SD) analog-to-digital converter (ADC). An analog loop filter having a transmission "H" may be fed with a signal obtained by subtracting a main analog input signal and a feedback signal generated by a digital-to-analog converter (DAC). The output of the loop filter may be sampled and quantized at a high sampling rate. The quantizer resolution may typically be low, such as 2 binary bits, and the quantizer may produce a multi-bit (e.g., 3-bit) thermometer coded output. In the present disclosure, the thermometer code is not shuffled by a random control signal (e.g., a pseudo-random signal), and therefore, a scrambled thermometer code is not produced, but an unscrambled thermometer code "D [2:0] In a more specific embodiment, the value of the summed thermometer coded bit is equal to the sum of the elements at the output of the quantizer. The digital representation of Dx is 0 and 1, where binary 0 is represented by -1 and binary 1 is represented by +1. The combined output Y can be calculated by the following equation:
[0051] Y = D0 + D1 + D2, Equation 1
[0052] Where D0, D1 and D2 are the respective bit outputs of the DAC. The unshuffled data is converted into the analog domain by the DAC, which may include exactly two or more (e.g., three) unit elements (circuits), each unit element having a unit element value "u". Such unit elements may, for example, be implemented as respective DAC circuits that together form the bit outputs of the DAC. Depending on D [2:0] , each unit can be activated as +u or -u. The outputs of the at least two unit elements are combined before being subtracted from the input signal. In the following detailed description, three DAC circuit systems are described. However, the same description may also be valid for systems with two DAC circuits or more than three DAC circuits.
[0053] Each DAC element may have some mismatch compared to the desired value u for that DAC element. The mismatch is given by ε[2:0] The output frequency domain representation of Y for this ∑ date cycle is equal to:
[0054] Y=X·H-(D0+D1+D2)·u·H+Q e -(D0·ε0+D1·ε1+D2·ε2)·H, Equation 2
[0055]
[0056] The last term is the error due to static DAC mismatch, which can be corrected by adding a term with opposite value. The transfer function,
[0057]
[0058] The frequency of the frequency band of interest may be constant. In this case, given that D [2:0] When there is a way to extract the error ε [2:0] The error term can be compensated when the combined output signal Y is compared with the individual D [2:0] Multiplication yields:
[0059]
[0060]
[0061]
[0062] Because D x is +1 or -1, so D x 2 = 1. Assume that the probabilities P(D0, = 1), P(D1 = 1) and P(D2 = 1) are equal (with the conditions described below, it is not necessary to ensure this by the shuffle control signal):
[0063] AVG(D0)=AVG(D1)=AVG(D2) Equation 8
[0064] Next, the following applies to Y.D x The first term in the equation:
[0065]
[0066] This means that the same mean value can be subtracted from each error signal.
[0067] for The average values may not be the same because Q e May depend on the DAC components chosen. contains mainly high frequency content, since this is filtered by the NTF of the modulator. By low-pass filtering Y so that high frequency noise is suppressed, This limits The final term in the error signal contains the contribution of the data signal D [2:0] DAC element error information modulated and filtered by STF. There are three errors (ε [2:0] ). It is possible to linearize a 3-element DAC with two variables. This simplifies the problem; one variable is eliminated by enforcing the following restrictions:
[0068] ε0+ε1+ε2=0 Equation 10
[0069] This produces a DAC gain error that can be corrected. From Equation 8, the following equation can be derived:
[0070] AVG(D0·D1)=AVG(D2·D3)=AVG(D0·D3)=AVG(D x ·D y ){x≠y} Equation 11
[0071] With this simplification, the last term of Equation 5 can be reduced to
[0072]
[0073] When Y is low-pass filtered so that the term (Q e ·D x ) / (1+u·H), together with Equation 10 and Equation 11, Equation 5, Equation 6, and Equation 7 can be approximated for low frequencies as (D x ·D y Some are averages):
[0074]
[0075]
[0076]
[0077] The second term in Equation 13 is a measure of the DAC component error, ε0, since D x 2 =1, and D x ·D y The average value of is usually less than 1. The same applies to the other equations for ε1 and ε2. The remaining first term is the same for all three equations, so if we subtract the average of the three error signals, this term is eliminated.
[0078] As can be implemented according to one of the above example embodiments and / or one or more other example embodiments, an apparatus and / or method involves: an analog-to-digital converter (ADC) circuit, the analog-to-digital converter circuit being configured and arranged to convert an analog signal into a digital signal, and a plurality of digital-to-analog converter (DAC) circuits, each DAC circuit being configured and arranged to convert a portion of the digital signal into an analog signal. A compensation circuit is configured and arranged to generate a compensation output by generating a feedback signal for the output of each DAC circuit based on an indication of the incompatibility between the analog conversion of the digital signal and the signal corresponding to the combined output of the analog conversions performed by all DAC circuits. A gain is applied to a digital signal corresponding to an input provided to each DAC circuit based on the feedback signal, and a compensation output is generated based on a digital signal output by the ADC circuit and a modified digital signal (wherein the gain is applied to the modified digital signal). In some embodiments, different gains are applied to different inputs of the inputs provided to the DAC circuit, each gain being adapted to the mismatch of the output of the DAC circuit relative to the output of the other DAC circuits. In certain embodiments, the ADC circuit generates quantized bits, which are also used to provide a corrected output.
[0079] The compensation circuit can be implemented in various ways using various components. In some embodiments, the DAC input signal is generated by combining the digital input provided to the DAC with the digital output of the ADC to generate a corrected output. For each corresponding component of the specific unit corresponding to the DAC of the corrected output, the corresponding component is multiplied by the modified digital input of a specific DAC in the DAC. The average product of the DAC is generated by combining the multiplied product with the multiplied product of other components corresponding to other DACs in the DAC of the corrected output to provide a combined product and dividing the combined product by the total number of DACs. Then the average product is subtracted from the multiplied product and a feedback signal for a specific DAC in the DAC is generated based on the difference. In certain embodiments, the average value is subtracted from the feedback signal after integration. In addition, the compensation circuit may, for example, include a variable gain amplifier and a feedback circuit, which are configured to apply a variable gain to the digital input for generating a feedback signal for each corresponding digital input.
[0080] In certain embodiments, the feedback signal is generated by combining the digital input provided to the DAC with the digital output of the ADC to produce a corrected output. For each corresponding component of the corrected output corresponding to a particular one of the DACs, the corresponding component is multiplied by the modified digital input for the particular one of the DACs. The feedback signal can also be generated by subtracting the average value corresponding to the digital input provided to all DACs. The result of the subtraction can be further combined with the feedback signal. The feedback signal can also be generated by setting a variable gain for the DAC circuit to compensate for the analog conversion of the portion of the digital signal to which the variable gain is being applied.
[0081] In some embodiments, the ADC circuit converts the analog signal into a digital 01 signal with quantized bits. For each quantized bit, the DAC circuit converts the corresponding quantized bit into an analog value. The compensation circuit generates a feedback signal based on the representation of the incompatibility between the analog conversion of the quantized bit and the combination of the quantized bits provided as input to the DAC circuit, and applies a gain to each quantized bit provided as input to the DAC circuit based on the feedback signal. A corrected output is generated based on the quantized bit modified by the corresponding gain applied to the quantized bit. In this context, the feedback signal can be generated by subtracting the average value of the digital output corresponding to all DACs for the corresponding value corresponding to each DAC circuit. The feedback signal can also be generated by combining the result of the subtraction with the feedback signal. In addition, different gain values can be applied to different quantized bits in the quantized bits provided to the corresponding DAC circuits, and each gain value is adapted to the mismatch of the output of the ADC circuit relative to the corresponding input provided to the DAC circuit.
[0082] In conjunction with one or more embodiments, a variety of methods may be used to generate an input signal provided to a DAC as characterized herein. In some cases, the provided quantized bits are generated, and the quantized bits are not randomized as inputs provided to multiple DAC circuits. In other embodiments, the input signal is generated according to and / or based on the output of an ADC.
[0083] The following describes exemplary embodiments of how all DAC circuits (unit elements) may be forced to switch (i.e., converge during the DAC error estimation procedure), thereby making the application of a shuffle device unnecessary. Specifically, these examples include the following options: using exactly two DAC circuits, applying an out-of-band input signal, applying a large input signal, and using a large NTF gain. However, these may only represent examples, and the described DAC error estimation (and compensation) may also work without the use of a shuffle device for other applications.
[0084] For example, when exactly two DAC circuits are used, it has been found that DAC calibration can converge to the correct output level (see Fig.10and 11 ).
[0085] Another example where a shuffle device is not needed may be a case where all DAC circuits are activated by other techniques. An example may be the application of a high NTF gain. Thus, the term "high" refers to a case where the NTF gain is high enough to ensure that the closed loop switches all DAC circuits (unit elements). In other words, the NTF gain is high enough when the calibration of all DAC circuits converges.
[0086] Another example would be applying a large input signal to the ADC. As described above for high NTF gain, if all DAC circuits (unit elements) switch / converge, the input signal will be large enough. Therefore, depending on the system applied, the term "large" can refer to quite different values (see also in this regard Fig.12 and 13 ).
[0087] According to an exemplary embodiment, generating a feedback signal includes: for each respective component of a corrected output corresponding to a particular one of the DACs, multiplying the corrected output by a digital input for the particular one of the DACs to generate a respective product; generating an average product of the DACs by adding all respective products to generate a product sum and dividing the product sum by a total number of DACs; and subtracting the average product from each respective product and generating a feedback signal for the particular one of the DACs based on the difference.
[0088] Various methods may be implemented according to the devices characterized herein above. In addition, such methods may be implemented with the devices shown in the drawings and characterized below.
[0089] Now turning to the diagram, Figure 1 A device 100 that can be implemented according to one or more embodiments is shown. The device 100 includes a plurality of DAC units (1 to N), two DACs 110 and 120 are shown for simplicity. In an embodiment, exactly two DACs are applied. Each DAC receives a digital input, such as an analog signal being processed by an ADC 130. The outputs of the respective DACs are combined at the ADC 130 and used with the analog input signal to produce a digital output for feedback. Specifically, at block 112, the digital input provided to the DAC 110 is combined with the output of the ADC, at block 122, the digital input provided to the DAC 120 is combined with the output of the ADC, and the respective outputs combined at blocks 112 and 122 are averaged at block 140 and used to produce a feedback signal at each of blocks 114 and 124. The respective feedback signals are provided to a combining circuit 130, which applies a gain to the respective digital input and combines the input to which the gain is applied with the output of the ADC to provide a corrected output.
[0090] Figure 2 An apparatus 200 that may be used for DAC error estimation and compensation according to one or more embodiments is shown. The apparatus includes a DAC block 205 that generates a corresponding output bit that is processed at 210 by an applied feedback gain to provide a corrected output. Blocks 220 and 230 are used to generate a corresponding feedback gain signal provided for each DAC output. Referring to the upper DAC output for DAC1, the output is passed to filter 211 and low pass filtered (e.g., to provide Term attenuation). Each DAC element is filtered individually so that DAC correction can be performed after filtering. Variable gain circuit 212 is used to apply a gain factor to the filtered output, which can correct the DAC error. The gain value can be 1+estimated DAC error. At 215, the gain-corrected outputs of the DACs are added together to form a corrected output signal.
[0091] As shown at block 214, the DAC output signal is delayed "(z-?)" to compensate for the delay in the low pass filter. The multipliers (including 213) multiply the compensated output (low pass filtered, corrected Y) with the individual DAC outputs. This is in accordance with Equations 13, 14, and 15 (Y·D) as noted above. x ) generate error indicator values. These error indicators contain portions of the input signal time transfer function (STF), and the error indicators may be the same on average for all three indicators. An average of the three error signals is generated at 222 and 223 (e.g., added and divided by three), and then subtracted from each error indicator as shown at 221. What remains is the (average) last term of Equation 13, Equation 14, and Equation 15, which is an indicator of the error value. Three individual first order control loops with integrator circuitry (231, 232, 233) minimize these error values by adapting the error correction actuators, and provide outputs that are fed back to the variable gain circuit at 212 and used to provide a corrected output from adder 215 (e.g., as an ADC input).
[0092] Figure 3It is a flow chart of a method for converting an analog signal into a digital signal and related error compensation that can be implemented according to one or more embodiments. At block 300, a digital signal is converted into an analog signal at a plurality of DACs. At block 310, an input analog signal is converted in an ADC using analog outputs from a plurality of DACs. At block 320, a feedback signal is generated based on an input signal provided to the DAC and a mismatch represented in the output of the ADC, the mismatch corresponding to an analog mismatch in the output of the DAC. At block 330, a gain is applied to a signal corresponding to those signals provided to the DAC as input. Therefore, this provides a modified signal corresponding to the actual input provided to the DAC, the modified signal being modified to take into account the error in the operation of the DAC to convert the actual input into an analog signal. At block 340, the output of the ADC is corrected using the modified signal. This output can be provided, for example, for use at block 320, as shown by the arrows in the diagram.
[0093] Figure 4 Another device 400 for compensating errors in an ADC is shown. The device 400 includes a 2-bit (4-level) DAC 410 that is manipulated by a 3-bit thermometer code D[2:0], which is an unscrambled code that has not yet been provided to a random selector circuit (shuffler). Static DAC element errors are given by ε p / n0 The D[2:0] thermometer code can be generated internally or provided as an input from an external source. The following 3-bit codes in Table 1 with associated DAC output levels can be generated:
[0094] Table 1
[0095] D*[2] D*[1] D*[0] Expected DAC Level DAC level + error 0 0 0 -3*e <![CDATA[-3*e+ε n0 +e n1 +e n2 ]]> 0 0 1 -1*e <![CDATA[-1*e+ε p0 +e n1 +e n2 ]]> 0 1 0 -1*e <![CDATA[-1*e+ε n0 +e p1 +e n2 ]]> 1 0 0 -1*e <![CDATA[-1*e+ε n0 +e n1 +e p2 ]]> 0 1 1 1*e <![CDATA[1*e+ε n0 +e p1 +e p2 ]]> 1 1 0 1*e <![CDATA[1*e+ε p0 +e p1 +e n2 ]]> 1 0 1 1*e <![CDATA[1*e+ε p0 +e n1 +e p2 ]]> 1 1 1 3*e <![CDATA[3*e+ε p0 +e p1 +e p2 ]]>
[0096] The output of the DAC is combined with the analog input signal and provided to an analog transfer function circuit 430, which may be partially linear or nonlinear and include an ADC circuit. The digital output of the analog transfer function circuit is provided along with the D*[2:0] code as an input for a DAC element estimation and correction circuit 440, which may operate as described above to provide corrections relative to the corresponding values generated in the DAC 410.
[0097] Figure 5 DAC element estimation and correction circuit 500 is shown according to another example embodiment. Individual bits D*[2:0] are multiplied by 1+ / - correction factors, where the correction factors may compensate for ε p / n0 [2:0] error. Using digital combining function / circuit 520, the corrected value is combined with input 501 generated by the analog-to-digital conversion circuit. In this context, Figure 4Circuit 500 is implemented by circuit 440 in FIG. 5 , where input 501 is provided by analog transfer function circuit 430. Combination function Y cor The output of is the corrected output and can be used for further processing.
[0098] In some embodiments, the filter circuit 530 uses a passband range to filter the output Y cor The filter is filtered, and the passband range is tuned so that the DAC error is degrading the performance in the passband frequency range. The output of this filter is combined with the individual D*[2:0] bits (which can be delayed via delay circuit 540 to accommodate optional filters and H A Filter circuit 530 and delay circuit 540 may be interchanged.
[0099] The outputs of correlators 531, 532, and 533 provide a measure of how the individual DAC elements affect the combined output signal. A strong correlation may exist because the corrected output Y cor Constructed (in part) by D*[2:0]. This common correlation can be removed by subtracting the average output value from each correlator output, where the average output value is produced at 550 and 552 and the subtraction is performed for the correlations 531, 532 and 533 at 561, 562 and 563, respectively. The outputs of correlators 531, 532 and 533 (where the common correlation is subtracted) are fed to an integrator with a small integrator gain. The integrator output is used to manipulate the correction factor that is multiplied by D*[2:0]. When the integrator has stabilized, the correction value should make all correlator outputs "balanced" on average, so there is no difference on average between the correlator outputs.
[0100] Figure 6 Another apparatus 600 for correcting ADC errors according to another example embodiment is shown. The apparatus 600 is similar to Figure 4 The device 400 of the present invention has a DAC 610, an analog transfer function circuit 630, and a DAC element estimation and correction circuit 640. The analog transfer function circuit 630 includes a summing node where the DAC signal is subtracted from the input signal, and the analog transfer function circuit 630 then includes an analog loop filter, and the output of the analog loop filter is quantized. Typically, the quantizer has a relatively low resolution. The resolution for a certain frequency band can be increased by oversampling the quantizer clock and the filter transmission of the loop filter. Any error in the feedback will produce a 1-to-1 error on the digital output. In this ∑-Δ case, D*[2:0] can be used as the actual digital output signal (uncompensated).
[0101] Figure 7DAC element estimation and correction circuit 700 according to another example embodiment is shown. Circuit 700 may, for example, be implemented for the sigma-delta case, for example via Figure 6 circuit 640, and in a manner similar to that of Figure 5 1 and 2 are implemented in the manner shown and described (with components numbered in a similar manner). Using digital combining function / circuit 720, the corrected value is combined with input 701 generated by the analog-to-digital conversion circuit. Circuit 700 further includes optional filter circuit 730 and delay circuit 740, wherein the filter circuit uses multipliers 731, 732 and 733 to output Y associated with individual D*[2:0] bits. cor An average output value from each correlator output is generated at 750 / 752 and subtracted from the outputs of correlators 731, 732, and 733 at 761, 762, and 763, respectively, and provided to integrator 770. The integrator output is used to manipulate the correction factor that is multiplied by D*[2:0].
[0102] In some embodiments involving sigma-delta applications, the two inputs provided to the digital combination function / circuit 720 are D*[2:0], thereby utilizing the compensated output and ignoring input 701. The compensated signal is filtered in this case due to quantization noise. A bandpass or lowpass filter filters out the quantization noise. In certain embodiments, strong signals are filtered to mitigate the reduction in convergence accuracy of the error estimation system that may occur due to strong signals. This approach can improve estimation accuracy and thereby increase convergence speed.
[0103] Figure 8 Another apparatus 800 for correcting ADC errors according to another example embodiment is shown. The apparatus 800 is similar to Figure 4 The device 400 of FIG. 4 has a DAC 810, an analog transfer function circuit (with an ADC) 830, and a DAC element estimation and correction circuit 840. The analog input signal is quantized to the digital domain in two steps, first via coarse digitization (e.g., to level 4) at block 821, and via fine digitization at the analog transfer function circuit 830. The resulting digital code is subtracted from the input signal via the DAC 810 and subtractor 831, and further quantized by the fine ADC 832. The output code is constructed by adding the coarse ADC code and the fine ADC code within the DAC element estimation and correction circuit 840. In some embodiments, the linearity of the fine ADC is relaxed because the input signal is small (although visible in the resulting output code).
[0104] Fig. 9Another DAC element estimation and correction circuit 900 according to another example embodiment is shown. The circuit 900 may be implemented, for example, as Figure 8 The circuit 840 in FIG. Figure 5 The digital combination function / circuit 920 combines input 901 with the corrected input D[2:0], and multipliers 931, 932 and 933 make the output Y cor The correlation outputs are averaged via averaging circuitry 950 / 952, where the average is subtracted from the correlation outputs by subtraction circuitry 961, 962 and 963, the subtracted outputs being provided to integrator 970 to provide respective feedback signals for compensating for each respective input component as shown. Figure 8 In implementation, the coarse code may be calibrated with a variable gain before being added to the fine code.
[0105] Fig.10 The DAC error estimation for exactly two DAC circuits is shown to converge without using a shuffling device (eg, a scrambler or randomizer circuit). It can be seen that when exactly two DAC circuits (elements) are used, the DAC calibration converges to the correct level even without applying a shuffling device. Fig.10 The dashed line in represents the target level, while the solid line represents the error estimate convergence over time. In this specific example, an input signal in the frequency band of interest of -17 dBFS is applied.
[0106] Fig.11 1 shows a comparison between the original ADC output and the DAC error correction for exactly two DAC circuits without using a shuffle device. In other words, the spectrum of the corrected signal after the DAC error estimate has converged is shown (see above). Fig.10 ). It can be clearly seen that the noise level of the DAC error-corrected spectrum is significantly improved compared to the original uncorrected ADC output spectrum.
[0107] for Fig.12 and 13 In the example shown in , three DAC circuits (3 unit elements (2 bits)) without shuffling means are applied. A large input signal (large enough to make all DAC circuits converge) with a high frequency (specifically, an out-of-band frequency) is provided at the ADC input. The probability of the DAC circuit being +1 or -1 is not equal (because no shuffling means are used), but for example: element 1 = 80% probability of 1, element 2 = 50% probability of 1, element 3 = 20% probability of 1. Therefore, the precondition that the probabilities should be equal is not met. However, most unexpectedly, Fig.12 It is clearly shown that the system converges to the correct correction value, and Fig.13It is shown that the noise in the spectrum is improved after DAC error correction.
[0108] Fig.12 The DAC error estimation for three DAC circuits is shown to converge without using a shuffle device. Even without applying a shuffle device, the DAC calibration converges to the correct level. Fig.12 The dashed line in represents the target level, while the solid line represents the convergence of the error estimate over time.
[0109] Fig.13 FIG. 4 shows a comparison between the original ADC output and the DAC error correction for three DAC circuits without using a shuffle device. In other words, FIG. 4 shows the spectrum of the corrected signal after the DAC error estimate converges (see FIG. 4 above). Fig.12 ). It can be clearly seen that the noise level of the DAC error-corrected spectrum is significantly improved compared to the original uncorrected ADC output spectrum.
[0110] Terms illustrating orientations such as upper / lower, left / right, top / bottom, and above / below may be used herein to refer to the relative positions of elements as shown in the drawings. It should be understood that the terms are used for convenience of labeling only, and in actual use, the orientation of the disclosed structures may be different from the orientation shown in the drawings. Therefore, the terms should not be interpreted in a restrictive manner.
[0111] Unless otherwise indicated, those skilled in the art will recognize that various terms used in the specification (including claims) mean the ordinary meanings in the art. As an example, the present specification describes and / or illustrates aspects that can be used to implement the claimed disclosure with the aid of various circuits or circuit systems, which can be shown as or using, for example, blocks, modules, devices, systems, units, controllers, converters, integrators, and / or other circuit type depictions (e.g., Figure 1 112, 114, 122, 124, 130, and 140 depict blocks / modules as described herein). Such circuits or circuit systems are used with other elements to illustrate how certain embodiments may be implemented in form or structure, steps, functions, operations, activities, etc. For example, in certain embodiments described above, as may be Figures 1 to 9 In the method shown in , one or more modules are discrete logic circuits or programmable logic circuits configured and arranged to implement these operations / activities. In some embodiments, this programmable circuit is one or more computer circuits, including a memory circuit system for storing and accessing a program to be executed as a set (or multiple sets) of instructions (and / or to be used as configuration data to define how to execute the programmable circuit), and the algorithm or process described in this article in conjunction with error estimation, for example, in conjunction with Figure 3The illustrated and described algorithms or processes are used by programmable circuits to perform the associated steps, functions, operations, acquisitions, etc. Depending on the application, the instructions (and / or configuration data) may be configured to be implemented in a logic circuit system, where the instructions (whether represented in the form of object code, firmware, or software) are stored in and accessible from a memory (circuitry). As another example, where the specification may refer to "a first [type of structure]," "a second [type of structure]," etc., where [type of structure] may be replaced by terms such as ["circuit," "circuitry," etc.], the adjectives "first" and "second" are not intended to imply any description of the structure or provide any substantive meaning; rather, such adjectives are used merely as an English antecedent to distinguish one such similarly named structure from another similarly named structure (e.g., "a first circuit configured to combine ..." is interpreted as "a circuit configured to combine ...").
[0112] Based on the above discussion and illustration, those skilled in the art will readily recognize that various modifications and changes may be made to the various embodiments without strictly following the exemplary embodiments and applications shown and described herein. For example, the methods illustrated in the figures may involve steps performed in various orders, wherein one or more aspects of the embodiments herein are retained, or may involve fewer or more steps. For example, in Figure 3 The method characterized by Figure 1 and 2 One or both of the devices shown in Figure 4 and 5 ,pass Figure 6 and 7 and through Figure 8 and 9 As another example, different ways of generating feedback may be employed to suit a particular application and / or utilize available components while achieving the described functional operations. Such modifications do not depart from the true spirit and scope of the various aspects of the present disclosure, including those set forth in the claims.
Claims
1. A device (100) for error compensation, characterized in that: The device (100) comprises: an analog-to-digital converter circuit ADC (130) configured and arranged to convert (310) an analog signal as an input signal into a digital signal as a digital output; At least two digital-to-analog converter circuits DAC (110, 120), each DAC (110, 120) is configured and arranged to convert (300) part of the digital signal into another analog signal; and A compensation circuit (200, 500, 700, 900) configured and arranged to correct the digital output of the ADC (130) by: For each DAC (110, 120), generating (320) a feedback signal indicative of incompatibility between an analog output of the DAC (110, 120) converted into a digital signal by the ADC (130) and a digital input provided to the DAC (110, 120); For each DAC (110, 120), applying (330) a respective gain to the digital input provided to the DAC (110, 120) based on the feedback signal for the DAC (110, 120), providing a modified digital signal; and generating (340) a corrected output based on a combination of the digital signal output from the ADC (130) and the modified digital signal provided by the DAC (110, 120); Wherein the digital inputs provided to the at least two DACs (110, 120) are non-randomized.
2. The device (100) according to claim 1, characterized in that The compensation circuit (200, 500, 700, 900) is configured and arranged to generate the feedback signal by: combining the digital input provided to the DAC (110, 120) with the digital output of the ADC (130) to produce the corrected output; as well as For each respective component of the corrected output corresponding to a particular one of the DACs (110, 120), multiplying the respective components with a modified digital input for the particular one of the DACs (110, 120), By combining the multiplied product with the corrected output and the DAC (110, combining the products of the multiplications of the other components corresponding to the other DACs in the DACs (110, 120) to provide a combined product and dividing the combined product by the total number of the DACs (110, 120) to produce an average product of the DACs (110, 120), and The average product is subtracted from the multiplied product and the feedback signal for the particular one of the DACs (110, 120) is generated based on the difference.
3. The device (100) according to claim 1, characterized in that The compensation circuit (200, 500, 700, 900) is configured and arranged to generate the feedback signal by: combining the digital input provided to the DAC (110, 120) with the digital signal output from the ADC (130) to produce the corrected output, For each respective component of the corrected output corresponding to a particular one of the DACs (110, 120), the respective component is multiplied by the modified digital signal for the particular DAC (110, 120).
4. The device (100) according to any of the preceding claims, characterized in that For each digital input for each DAC (110, 120), the compensation circuit (200, 500, 700, 900) includes a variable gain amplifier (214) and a feedback circuit configured to apply a variable gain to the digital input for generating the feedback signal.
5. The device (100) according to any of the preceding claims, characterized in that Generating the feedback signal includes one of the following operations: (a): setting a variable gain for the DAC (110, 120) to compensate for analog conversion of the portion of the digital signal to which the variable gain is being applied; as well as (b) subtracting an average value corresponding to the digital inputs provided to all of the DACs (110, 120), including optionally combining a result of the subtraction with the feedback signal.
6. The device (100) according to any of the preceding claims, characterized in that For respective ones of the DACs (110, 120), applying the respective gains comprises applying different gains to different ones of the inputs provided to the DACs (110, 120), each gain being adapted to a mismatch of the output of the DAC (110, 120) relative to the output of the other DACs (110, 120).
7. The device (100) according to claim 1, characterized in that: The ADC (130) is configured and arranged to convert the analog signal into the digital signal by generating the digital signal having quantized bits; The DAC (110, 120) is configured and arranged to, for each quantized bit, convert the corresponding quantized bit into an analog value; and The compensation circuit (200, 500, 700, 900) is configured and arranged to: generating the feedback signal based on an indication of incompatibility between the analog conversion of the quantized bits and a combination of quantized bits provided as input to the DAC (110, 120); applying the gain to each quantized bit provided as input to the DAC (110, 120) based on the feedback signal; and The corrected output is generated based on the quantized bits modified by the respective gains applied to the quantized bits.
8. The device (100) according to claim 7, characterized in that Generating the feedback signal includes subtracting an average of the digital outputs corresponding to all of the DACs (110, 120) from a respective value corresponding to each DAC (110, 120), including optionally combining a result of the subtraction with the feedback signal.
9. A method for error compensation in an analog-to-digital converter circuit ADC (130), the analog-to-digital converter circuit having a digital-to-analog converter circuit DAC (110, 120) for generating an analog signal used when converting an analog input signal into a digital signal, characterized in that: The method comprises: For each corresponding bit of the digital signal converted by the DAC, generating (320) a feedback signal representing a mismatch between an analog output of the DAC (110, 120) converted into a digital signal by the ADC (130) and a digital signal input provided to the DAC (110, 120); and applying (330) gain to the bits of the digital signal converted by the DAC (110, 120) based on the feedback signal; and compensating (340) for errors in the DAC (110, 120) using the corresponding bits of the digital signal to which the gain is applied; Wherein the digital input provided to the DAC (110, 120) is non-randomized.
10. The method according to claim 9, characterized in that Generating the feedback signal includes at least one of the following operations: (a): subtracting an average value corresponding to all bits provided to the DAC (110, 120) from the value of the bit for which the feedback signal is generated; (b) multiplying the corresponding bit with a corresponding bit output by the ADC (110, 120); or (c) setting the gain to a variable gain, the variable gain compensating for conversion of a digital bit to which the variable gain is being applied.
