This invention relates to an integrated digital calibration circuit and digital to analog converter (DAC) for adjusting, modifying, modulating or correcting DAC transfer function end points.
Adjustment and control of DAC end points e.g. zero scale, full scale or gain and offset is desirable in a number of circumstances. One of the more important uses is end point error correction. That is correction of zero scale and full scale errors and gain and offset errors.
Digital to analog converter (DAC) transfer function end point errors e.g. zero scale and full scale errors; offset and gain errors have historically been a problem effecting (DAC) accuracy. Previous attempts to reduce such errors have included laser trimming which applied to resistors only and required special hardware and wafer fabrication techniques and added significantly to the cost. Mixed signal (analog/digital) calibration is another approach but its results can be risky, performance is limiting and less dependable. It too increases expense. One common approach is to design for the optimal nominal desired result. But the higher the accuracy desired the greater the expense: more precision design and production required, added software and/or circuitry and more expensive fabrication techniques. In addition, compensating for such errors in systems including the DACs, and their preceding reference path plus subsequent analog chain of circuits (i.e. analog signal chain) requires even greater complexity and expense either in additional and highly accurate integrated circuitry or calibrating system(s) procedures integrated into the system software.
It is therefore an object of this invention to provide an improved integrated programmable digital calibration circuit and digital to analog converter (DAC) to adjust DAC transfer function end points.
It is a further object of this invention to provide an improved integrated programmable digital calibration circuit and digital to analog converter (DAC) which provides accuracy and performance while maintaining lower cost and complexity.
It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which employs a wholly digital, less expensive approach.
It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which can adjust end points not only in the DAC but in associated analog circuitry as well.
It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which reduces demands on external control circuits such as microcontrollers, DSPs and CPUs.
It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which can adjust zero scale and full scale and gain and offset.
It is a further object of this invention to provide an improved integrated digital calibration circuit and digital to analog converter (DAC) to compensate for DAC transfer function end point error.
It is a further object of this invention to provide an improved integrated digital calibration circuit and digital to analog converter (DAC) which provides greater accuracy and performance while maintaining lower cost and complexity.
It is a further object of this invention to provide an improved integrated digital calibration circuit which employs a wholly digital less expensive approach.
It is a further object of this invention to provide an improved integrated digital calibration circuit which can reduce errors not only in the DAC but in associated analog circuitry as well.
It is a further object of this invention to provide an improved integrated digital calibration circuit which reduces demands on external control circuits such as microcontrollers, DSP's and CPU's.
It is a further object of this invention to provide an improved integrated digital calibration circuit which can correct zero scale and full scale errors and gain and offset errors.
The invention results from the realization that a simple and inexpensive, but much more accurate, DAC can be achieved by integrating a calibration unit with the DAC to provide the DAC transfer function end point coefficients, e.g. gain and offset coefficients, zero scale and full scale coefficients, digitally, to the DAC, which coefficients can be stored externally or internally, on the calibration circuit or on a chip which holds both the calibration circuit and the DAC, and can be applied to adjust the DAC end points or the DAC end points and the end points of the analog circuits associated with the DAC and further the memory can be made user accessible for post fabrication error correction programming for the DAC and/or associated analog circuits.
This invention features a programmable integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined of the end point coefficients of the digital to analog converter transfer function and an arithmetic logic unit for applying the coefficients of the end points to the DAC input signal to adjust the end points of the DAC.
In a preferred embodiment the end point coefficients may include the offset coefficient and gain coefficient. The arithmetic logic unit may include an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal. The end point coefficients may include the zero scale and full scale coefficients. The arithmetic logic unit may include an arithmetic circuit for algebraically using the zero scale output and ideal output and normalizing them in respect to the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them in respect to the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC. The digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit. The memory may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined end point coefficient of the DAC transfer function and includes an arithmetic logic unit for applying the end point coefficients to the DAC input signal to compensate for the end point coefficients of the DAC and the analog signal circuit.
In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features a programmable integrated digital calibration circuit and digital to analog converter including a digital to analog converter and a digital calibration circuit including a memory for storing the predetermined offset coefficient and gain coefficient of the digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal to adjust the gain and offset errors of the DAC.
In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined offset coefficient and gain coefficient of the DAC and the analog signal circuit and includes an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal to adjust the gain and offset of the DAC and the analog signal circuit.
In preferred embodiments the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it. The memory may be a user accessible programmable memory.
The invention also features an integrated programmable digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined zero scale and full scale coefficients of the digital to analog converter DAC and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC to adjust the zero scale and full scale of said DAC.
In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it and the memory may be user accessible programmable memory.
The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing predetermined zero scale and full scale coefficients of the DAC and the analog signal circuit and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those coefficients to the input signal to the DAC to adjust the zero scale and full scale offset of the DAC and the analog signal circuit.
In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or external to it and the memory may be a user accessible programmable memory.
This invention features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined complements of the end point errors of the digital to analog converter transfer function and an arithmetic logic unit for applying the complements of the end point errors to the DAC input signal to compensate for the end point errors of the DAC.
In a preferred embodiment the complements of the end point errors may include the offset error and gain error. The arithmetic logic unit may include an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal. The complements of the end point errors may include the zero scale and full scale error coefficients. The arithmetic logic unit may include an arithmetic circuit for algebraically counting the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC. The digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit. The memory may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined complements of the end point error of the DAC transfer function and includes an arithmetic logic unit for applying the complements of the end point error to the DAC input signal to compensate for the end point errors of the DAC and the analog signal circuit.
In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter and a digital calibration circuit including a memory for storing the predetermined offset error coefficient and gain error coefficient of the digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal to compensate the gain and offset errors of the DAC.
In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.
The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined offset error coefficient and gain error coefficient of the DAC and the analog signal circuit and includes an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal to compensate the gain and offset error of the DAC and the analog signal circuit.
In preferred embodiments the digital calibration circuit DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it. The memory may be a user accessible programmable memory.
The invention also features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined zero scale and full scale error coefficients of the digital to analog converter DAC and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC to compensate for the zero scale and full scale errors of said DAC.
In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it and the memory may be user accessible programmable memory.
The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing predetermined zero scale and full scale error coefficients of the DAC and the analog signal circuit and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC to compensate for the zero scale and full scale offset errors of the DAC and the analog signal circuit.
In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or external to it and the memory may be a user accessible programmable memory.
Other objects, features and advantages will occur to those skilled in the art from the following description of a preferred embodiment and the accompanying drawings, in which:
Aside from the preferred embodiment or embodiments disclosed below, this invention is capable of other embodiments and of being practiced or being carried out in various ways. Thus, it is to be understood that the invention is not limited in its application to the details of construction and the arrangements of components set forth in the following description or illustrated in the drawings.
The invention contemplates the adjustment of DAC end points or DAC plus analog signal current chain end points for any reason of control or adjustment. However, one of the more important applications is to correct end point errors such as zero scale, full scale errors and gain and offset errors. This error correction application is the subject of the specific embodiment disclosed but is by no means a limitation of the scope of the invention which includes end point adjustment for any reason.
Digital to analog converter (DAC) transfer function end point errors can be treated as gain and offset errors or as zero scale and full scale errors. There is shown in
In another view,
In one embodiment according to this invention a DAC 30,
y=mx+c (1)
where y is the output, m is the gain or slope error coefficient, c is the offset coefficient and x is the input.
Equation No. 1 is a classic, generic textbook linear algebraic expression, using real numbers by default. In the case of a digital to analog converter the digital input of the DAC has finite, quantized resolution. Hence, quantized, finite resolution digital numbers are appropriate in the expressions for DACs. For this reason, we use a modified version of this expression in practice:
y=(m+c2)/d)+c Eq (2)
where: c2 is a second constant digital term and d is a divider factor used to scale down the output number.
A specific, preferred embodiment is:
y=((m+1)*/2^N)*x+c Eq (3)
If the gain factor (m) has N effective bits of resolution, the maximum (or fullscale) m value=2^N−1. In equation (2), with fullscale m (m=2^N−1), the effective gain=(2^N−1+1)/2^N=1.
The choice of “+1” factor in equation (2) is for implementation reasons. M=2^N−1=>gain =1. Any digital constant can be used instead of +1. Similarly, the division by 2^N operation equates to positioning the taps from the digital multiplier output, as is known to those skilled in the art, and a different divider factor could also be chosen.
For gains of greater than unity, the range of m+1 is greater than the divider factor d.
The values of m and c, may be stored in a memory 50 which may be on chip 34 but external to digital calibration circuit 32, or they may be contained within digital calibration circuit 32 memory 50′ or may be external to both DAC 30 and digital calibration circuit 32 and chip 34 as shown by memory 50″. When memory 50″ is provided external to chip 34 it may be made accessible and programmable by the user so that not just the input signal x but the offset coefficient c and gain coefficient m may be chosen to compensate for DAC errors or for DAC errors and errors contributed by any one or more of the subsequent analog signal circuits in chain 40.
Included in digital calibration circuit 32 is an arithmetic logic unit 33, such as arithmetic circuit 52,
That is, divider 55 divided by d the product p of the DAC input x and gain offset m to obtain a quotient q which is then added to the offset c by adder 56 where d is a divider factor used to scale down the output number. Or as shown at 52b,
That is, before the gain offset m is multiplied by the DAC input x to obtain product p, the gain offset is combined with a second constant c2, 59.
Alternatively, as shown in
The calibration cycle starts with setting the DAC input at zero, step 100,
To correct for end point error using the zero scale zs coefficient and the full scale fs coefficient the coefficient zs can be obtained arithmetically by algebraically summing the voltage out at zero scale minus the voltage out at zero scale ideal and normalizing that or dividing it by the least significant bit size.
The full scale correction coefficient fs can be obtained in by algebraically summing the Vout full scale minus the Vout full scale ideal and normalizing that with the least significant bit size.
Note that the calibration system 36 can include software, a DSP or a microcontroller or other device to effect the determination of m and c or zs and fs.
We can extend example No. 1 and use the same data to calculate new coefficients as follows:
Although specific features of the invention are shown in some drawings and not in others, this is for convenience only as each feature may be combined with any or all of the other features in accordance with the invention. The words “including”, “comprising”, “having”, and “with” as used herein are to be interpreted broadly and comprehensively and are not limited to any physical interconnection. Moreover, any embodiments disclosed in the subject application are not to be taken as the only possible embodiments.
Other embodiments will occur to those skilled in the art and are within the following claims:
This application claims priority of U.S. Provisional Ser. No. 60/413,909, Dempsey et at entitled DIGITAL-TO-ANALOG CONVERTER SYSTEM CALIBRATION, filed Sep. 26, 2002; and U.S. Provisional Ser. No. 60/414,166, Dempsey et al. entitled DIGITAL-TO-ANALOG CONVERTER CALIBRATION ARCHITECTURE & SCHEME, filed Sep. 27, 2002.
Number | Name | Date | Kind |
---|---|---|---|
3878749 | Woron | Apr 1975 | A |
4212072 | Huelsman et al. | Jul 1980 | A |
4222107 | Mrozowski et al. | Sep 1980 | A |
4829236 | Brenardi et al. | May 1989 | A |
4835535 | Shibayama et al. | May 1989 | A |
5012241 | Kuttner | Apr 1991 | A |
5054039 | Blackmon et al. | Oct 1991 | A |
5134401 | McCartney et al. | Jul 1992 | A |
5248970 | Sooch et al. | Sep 1993 | A |
5343196 | Harston | Aug 1994 | A |
5442355 | Cummins | Aug 1995 | A |
5570090 | Cummins | Oct 1996 | A |
5583501 | Henrion et al. | Dec 1996 | A |
5594612 | Henrion | Jan 1997 | A |
5642116 | Gersbach | Jun 1997 | A |
5666118 | Gersbach | Sep 1997 | A |
5703586 | Tucholski | Dec 1997 | A |
5760720 | Nolan et al. | Jun 1998 | A |
5969657 | Dempsey et al. | Oct 1999 | A |
5995033 | Roeckner et al. | Nov 1999 | A |
6191715 | Fowers | Feb 2001 | B1 |
6208278 | Toosky | Mar 2001 | B1 |
6226562 | Philpott | May 2001 | B1 |
6292125 | Conroy | Sep 2001 | B1 |
6351228 | Kutsuno et al. | Feb 2002 | B1 |
6392574 | Toosky | May 2002 | B1 |
6456112 | Perez | Sep 2002 | B1 |
6667703 | Reuveni et al. | Dec 2003 | B1 |
Number | Date | Country | |
---|---|---|---|
20040085234 A1 | May 2004 | US |
Number | Date | Country | |
---|---|---|---|
60414166 | Sep 2002 | US | |
60413909 | Sep 2002 | US |