1. Field of the Invention
The present invention relates to electronics. More specifically, the present invention relates to digital to analog converters.
2. Description of the Related Art
Digital to analog converters are widely used for converting digital signals to corresponding analog signals for many electronic circuits. For example, a high resolution, high speed digital to analog converter (DAC) may find application in video circuits, high quality audio, instrumentation applications, and in the transmit path for high dynamic range communications applications. It may also be used in high speed analog to digital converters (ADCs) that utilize DACs such as successive approximation ADCs or subranging ADCs.
A common type of DAC, the current summing DAC, generates an analog output signal by selectively switching a number of current sources (or cells) into or out of a current summing device in response to a digital input signal. Because of process variables, the multiple current sources required by the DAC cannot be fabricated to exact values. In fact, current sources can vary from one to the next, even on the same die. These inaccuracies result in distortions in the analog output signal. The current sources therefore need to be trimmed to meet the accuracy requirements of the DAC. They can be trimmed to equal one another (unary DACs) or to provide currents with binary weights (binary DACs).
The prior art accomplished this trimming in various ways. The most straightforward method used is to trim the current setting resistors of the current sources with a laser, in effect changing the value of the resistor chain by burning material off to raise the resistance. This technique has several problems. One significant problem is that an expensive trimming laser system must be used. In addition, this process can only be done prior to packaging and therefore will not be able to correct for any post-trim stresses the chip might encounter during cleaning, packaging and sealing. Because the resistors are subject to change when stressed, they must be placed on the chip in locations that will minimize the stress they experience. This impacts and limits the IC layout. There are also issues with time since the trim process must be approached linearly (i.e., a binary search cannot be used). This, of course, adds costs to the device. Furthermore, any mistakes made by the laser trimming process cannot be done. If too much of a resistor is trimmed off, all of the resistors will need to be retrimmed.
There are other approaches that allow for resistor trimming, but they generally require significant pad areas because of the high voltages and/or currents required to blow fuse links. These restrictions limit the number of corrections that can be made, thereby limiting the overall resolution or dynamic range of the DAC.
Another approach is to add a second variable current source to each cell to make the total steered current correct to the accuracy required. The variable current source can be trimmed over a small range of current to allow for the required adjustment to be made. For each current source to be adjusted (and there are typically several), an extra node is connected to each current summing bus. This extra loading on the current bus will impact the settling time of the DAC and slow down its operating speed. This is not acceptable in many applications.
Hence, there is a need in the art for an improved system or method for trimming current sources in digital to analog converters that overcomes the shortcomings of prior art approaches.
The need in the art is addressed by the digitally trimmed current source of the present invention. The novel current source includes a first circuit for generating a current in response to an applied voltage and a resistance variable in response to a control signal, and a second circuit for supplying the control signal. The first circuit includes a resistive network comprised of a plurality of resistors; a plurality of switches, each switch coupled to one of the resistors and adapted to selectively switch the resistor in and out of the resistive network in response to the control signal; and a transistor adapted to apply a voltage across the resistive network to generate a current. In an alternative embodiment, the current source includes two resistors connected in series, a mechanism for applying a voltage across the resistors to generate a current, and a digital to analog converter adapted to apply a voltage or current at the node between the two resistors to change the current in response to a control signal.
Illustrative embodiments and exemplary applications will now be described with reference to the accompanying drawings to disclose the advantageous teachings of the present invention.
While the present invention is described herein with reference to illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those having ordinary skill in the art and access to the teachings provided herein will recognize additional modifications, applications, and embodiments within the scope thereof and additional fields in which the present invention would be of significant utility.
Each current cell 12 and 14 includes a pair of steering switches (Q1, Q2 in the first cell 12, and Q3, Q4 in the second cell 14) coupled to a current source 20 and 22, respectively. As shown in
The function of the switches Q1 and Q2 is to steer the current IBIT1 out of either the first bus 16 or the second bus 18 depending on the digital code input to the pair. For example, if VS1 was positive with respect to {overscore (V)}S1, then Q1 would be turned on and Q2 off. Therefore, I1=IBIT1 and I2=0. If VS1 was negative with respect to {overscore (V)}S1, then Q1 would be turned off and Q2 on, resulting in I1=0 and I2=IBIT1. The second pair of transistors, Q3 and Q4, will function the same way in response to the code VS2.
The current sources in the cells are either equal (for a unary DAC) or binarily weighted (for a binary DAC). Thus, the current IBIT1 can equal IBIT2 for a unary weighted DAC, or IBIT1 can equal IBIT2/2 or 2IBIT2 for a binary weighted DAC. In either case, the current sources must be trimmed to an accuracy commensurate with the overall accuracy intended for the DAC. In some cases, this can be to accuracies approaching 0.001% of the desired current. Since the fabrication variability will often only match the current sources to about 1%, some method is needed to trim the current sources so that the required accuracies will be met.
One method is to add a variable current source to each current steering cell to make the total current steered correct to the accuracy required.
This technique, however, has several problems. One significant problem is that an expensive trimming laser system must typically be used. In addition, this process can typically only be done prior to packaging and therefore will not be able to correct for any post-trim stresses the chip might encounter during cleaning, packaging and sealing. Because the resistors are subject to change when stressed, they must generally be placed on the chip in locations that will minimize the stress they experience. This impacts and limits the IC layout. There are also issues with time since the trim process must be approached linearly (i.e., a binary search cannot be used). This, of course, adds costs to the device.
There are other approaches that allow for resistor trimming, but they generally require significant pad areas because of the high voltages and/or currents required to blow fuse links. These restrictions limit the number of corrections that can be made, thereby limiting the overall resolution or dynamic range of the DAC.
The present invention accomplishes the trimming of the resistor, Rvar, in an entirely different fashion.
The value REQ of the resistive network 42 when all the switches are closed is given by:
If, however, as an example, only S2 was closed and all other switches were open, then REQ would be given by
Thus, the current I generated by the current source 40 can be adjusted or trimmed by adjusting the resistance REQ of a resistive network 42 through the selective switching of resistors (Ra, Rb, . . . , Rm) in and out of the resistive network 42.
If the resistors Ra, Rb, Rc, . . . , Rm are binarily weighted resistors, then REQ could be trimmed to a value with resolution equal to the number of switches (S1, S2, . . . , Sm) and resistors (Ra, Rb, . . . , Rm). The resistors however do not have to be binarily weighted. The key feature is that the resultant trim be monotonic. The process technology will affect the weights.
The resistive network 42′ includes a bank of resistors 44′ connected in parallel to a resistor R2 between the nodes A and B. The resistor bank 44′ includes a plurality of resistors (Ra, Rb, Rc, . . . , Rm) connected in parallel between nodes A and B, and a plurality of switches (M1, M2, M3, . . . , Mm), each switch coupled to one of the resistors (Ra, Rb, . . . , Rm, respectively). The switches (M1, M2, . . . , Mm) selectively switch the resistors (Ra, Rb, . . . , Rm) in and out of the resistive network 42′ in accordance with control signals (Za, Zb, . . . , Zm) applied to the gates of the transistors (M1, M2, . . . , Mm). In this embodiment, the switches (M1, M2, . . . , Mm) are implemented using CMOS (specifically NMOS) switches. The invention, however, is not limited thereto. Other process technologies can be used without departing from the scope of the present teachings.
The NMOS switches (M1, M2, . . . , Mm) can be controlled in a variety of ways. For example, a serial register 43 can be used to supply the control signals (Za, Zb, . . . , Zm). Digital words for manipulating the switches can be loaded into the register 43 via a serial port 45. The switches can then be adjusted until the current is at the desired value (this process can be done automatically using a feedback loop). Other methods for providing the control signals can be used without departing from the scope of the present teachings.
Key to this approach is the way the current I can be adjusted. The mechanism is simply that the resistance between point A and point B is varied by selectively switching in a set of weighted (e.g. binary) resistors (Ra, Rb, . . . , Rm) across R2. So, in the broadest sense, the current I can be varied by changing which NMOS switches are on and which are off, since as the resistance of the sum of R1+REQ+R3 varies, where REQ is the resistance of the resistive network 42′, so does I vary. The following design approach is given to aid in the understanding of how the circuit works.
First, consider the contribution of the ‘on’ resistance of the NMOS switches (M1, M2, . . . , Mm). Since the voltage across these switches will be very low, they will be operating in their linear region. Their resistance will be added to Ra, Rb, etc. This is easily understood; however, it is important to keep the current density in each of the NMOS cells constant so that they will track over temperature and other process variations. This can be done by paralleling the required number of NMOS cells according to their respective position in the binary network. For example, in a 4-bit binary network, the LSB resistor Ra, having a resistance R, would be switched with 8 NMOS switches; the LSB+1 resistor Rb, having a resistance 2R, would be switched with 4 NMOS switches; the LSB+2 resistor Rc having a resistance 4R, would be switched with 2 NMOS switches; and the LSB+3 resistor Rd, having a resistance 8R, would be switched with 1 NMOS switch. Thus, the number of transistors used to implement each switch (M1, M2, . . . , MM) is determined by the weight of the resistor that the switch is coupled to. By paralleling the NMOS switches, the contribution of each switch's error is kept constant and smaller than the appropriate LSB.
As an example, suppose the current I is desired to be equal to 1.0 mA, and assume that the resistors RTOT=R1+R2+R3 can be fabricated within a +/−0.5% tolerance and RTOT is approximately 4000 Ω. Assuming VE=4.0 V, the resistance between nodes A and B needs to be adjusted by a range of 4000×0.005 or +/−20 Ω.
Further assume that the current needs to be adjustable to an accuracy of 13 bits. This is one part in 8192 or 0.0122%. This would require an adjustment to the resistor bank 44′ of an LSB (least significant bit) of approximately 0.48 Ω. Since the desired adjustment range is +/−20 Ω or 40 Ω, each resolution step needs to be less than 0.48 ohm. This means that the binary ladder 44′ must have at least 40/0.48=83 steps.
Let R2=200 Ω. The LSB sizes will be non-linear over the range of 200 to approximately 160 Ω because of the fixed value of R2. Therefore, select the binary resistor network to have 8 bits. The resistor values are chosen so that they will be binarily weighted, i.e. Ra=1 k Ω, Rb=2 k Ω, . . . , Rh=128K Ω. With all the NMOS switches turned on, the resistance REQ between points A and B is equal to R2 in parallel with Ra in parallel with Rb in parallel with Rc, . . . , in parallel with Rh. Since R2=200 Ω, this is:
When all the switches are in the open state, the resistance between nodes A and B is equal to R2, or 200 Ω. Therefore, if R1+R3=4000−(200+143)/2=3828 Ω (a reasonable value for R3=50 Ω), the total resistance of R1+REQ+R3 can be adjusted from 3828+200=4028 Ω to 3828+143=3971 Ω, a +/−28 Ω range on either side of 4000 Ω. The goal of adjusting over +/−20 Ω has therefore been met.
The LSB step size should then be calculated to ensure that it is less than 0.48 Ω. The largest LSB step will be taken when all switches are off and then the LSB is switched on. The resistance from point A to point B will switch from 200 Ω in parallel with 128000 Ω, which equals 199.687 Ω, an LSB size of 0.31 Ω. This meets the desired objective.
Thus, the current I can be adjusted to the design value with the range and resolution required. The above design analysis is certainly not the only way this design could be approached. It is offered as a way to see how the circuit will function.
This approach, while satisfying all of the design requirements, utilizes many individual resistors. In fact, for Ra=1 k Ω through Rh=128K Ω, assuming the common resistor value of 4 k Ω, the following table (and the many combinations thereof—this is just one example) would apply:
These resistors take a significant area on the die and it would be helpful if fewer resistors could be used to provide the same range of adjustment. This leads to an improved implementation.
In the embodiments shown in
In general, the resistive network 42″ may include any number of resistors RA, RB, . . . RL, connected in series between node A and node B, and one or more resistor, banks (44, 46), each bank including a plurality of switchable resistors, and connected in parallel across one or more of the series resistors RA, RB, . . . RL.
The implementation of
The next step will be to ensure that two additional criteria are met by the second resistor bank 46. First, the LSB must switch in steps of less than 0.48 Ω. Secondly, the range of the second resistor bank 46 must extend over the largest LSB swing of the first resistor bank 44, which is equal to 200 Ω−(200 Ω in parallel with 8000 Ω)=4.87 Ω. These two conditions are satisfied in the selection of RB.
First, RB in parallel with 8000 Ω must be greater than RB−0.48 Ω. Thus:
R
B
2−0.48RB<3840Ω [4]
RB<62Ω [5]
Second, RB in parallel with 533 Ω (the total resistance of the second resistor bank 46 with all the switches on) must be less than RB−4.87 Ω:
R
B
2−4.87RB>2596Ω [7]
RB>54Ω [8]
Therefore, if RB is between 54 Ω and 62 Ω, it will meet both criteria and the resistive network 42″ shown in
As shown in
The DAC 52 could either be a voltage or a current output DAC: either type can be used to adjust the current I. Without the DAC 52, the current I is approximately given by: I=VREF/(R1+R3). This is because R3 is connected to ground. If the DAC 52 changes the voltage at the node between R1 and R3, this will change the current I. For example, if the DAC 52 changes the voltage at that node to 0 V, then the current I would become I=VREF/R1. As the output of the DAC 52 becomes more negative, the voltage drop across R1 gets larger and the current I gets larger. If the output of the DAC 52 becomes more positive, then the voltage drop across R1 gets smaller and the current I gets smaller. Thus, the current I generated by the current source 50 can be adjusted by controlling the DAC 52.
As a numerical example, consider a voltage trim DAC implementation, R1 is targeted for 3950 Ω and R3=50 Ω. With a 1% variation of R1, the trim DAC 52 can be designed to output between 10 and 90 mV. This would cover the expected 1% range of resistor variance. With a current trim DAC implementation, change the R1 target to 3900 Ω+/−40 Ω. Then the trim DAC 52 could be unipolar, always sourcing current and its range would be 0.198 mA to 1.82 mA. R3 would remain at 50 Ω. The resolution of either trim DAC 52 would be set by the desired resolution required of the DAC cell 12. The DAC 52 could be designed so that temperature, variations would not affect the accuracy of the trim because the same reference current circuits are used in the DAC trim 52 and for the LSB current. An equally important benefit of this approach would be that the DAC 52 could be made without resistors, utilizing instead current-setting transistors. This would use very little chip area.
All of the implementations described allow for adjustments of I to create matching current sources in a DAC. Key to this approach is that while the adjustments are made digitally, they are all made outside of the switching signal paths and, therefore, do not cause any degradation of the primary DAC's settling time or speed of conversion. While the invention has been described for use in DAC cells, it could be adapted for use in other applications without departing from the scope of the present invention.
Thus, the present invention has been described herein with reference to a particular embodiment for a particular application. Those having ordinary skill in the art and access to the present teachings will recognized additional modifications, applications and embodiments within the scope thereof.
It is therefore intended by the appended claims to cover any and all such applications, modifications and embodiments within the scope of the present invention.
Accordingly,
This application claims the benefit of U.S. Provisional Application No. 60/480,106, filed Jun. 20, 2003, the disclosure of which is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4899152 | Barrow et al. | Feb 1990 | A |
5012178 | Weiss et al. | Apr 1991 | A |
5585751 | Iizuka | Dec 1996 | A |
5612696 | Kim | Mar 1997 | A |
5870049 | Huang et al. | Feb 1999 | A |
6072415 | Cheng | Jun 2000 | A |
6198418 | Ishizuka | Mar 2001 | B1 |
6329940 | Dedic | Dec 2001 | B1 |
6337648 | Kiriaki | Jan 2002 | B1 |
6583744 | Bright | Jun 2003 | B1 |
6831580 | Bae | Dec 2004 | B1 |
Number | Date | Country | |
---|---|---|---|
20040257058 A1 | Dec 2004 | US |
Number | Date | Country | |
---|---|---|---|
60480106 | Jun 2003 | US |