The invention relates to semiconductor processes and circuitry. The invention particularly relates to such circuitry that requires an accurate output over a range of temperatures. The effect of such temperature drift is particularly noticeable in circuitry such as voltage or current reference circuits but may also affect the operation of amplifiers.
Within the field of semiconductor circuits, certain categories of circuitry require a reliable operation over a range of temperatures. One such circuit which may be used to provide a constant reference source is shown in
A problem with providing such reference circuits is that there are a number of parameters which may provide variances in the performance of the reference circuit which leads to errors. For example, as a result of process variations in the transistors implemented in typical reference circuits, the base emitter voltage of the transistors may change. Even if the transistors are set to operate at the same emitter current, this may vary by as much as 10-20 mV, thereby causing errors in the reference output.
Another source of error is due to the typical technique used in the generation of the PTAT voltage in such reference circuits. The PTAT voltage is typically generated by means of a voltage AVBE, being the difference in the base-emitter voltages of two transistors provided in the circuit which operate at different current densities. The value of ΔVBE is then amplified to produce the required PTAT voltage value for use in such bandgap circuits. As the PTAT voltage is a scaled replica of ΔVBE, any offsets present in the ΔVBE are also amplified and added, which results in errors. Furthermore, additional errors may be introduced during the packaging of such circuits. For example, the moulding stress that may be applied to the transistor during the packaging may contribute to an additional shift in the reference value.
In typical bandgap voltage references, the output voltage requires trimming or adjusting so as to achieve a constant output voltage reference over a range of temperatures. This is typically achieved by altering the PTAT voltage, as due to the exponential relationship between the current and the base-emitter voltage of a bipolar transistor, it is more difficult to alter the CTAT voltage. Typically, both the absolute voltage and the temperature slope of a bandgap voltage reference must be trimmed, with the assumption that the base-emitter voltage of the bipolar transistor has a precise value at absolute zero. The base emitter voltage at zero Kelvin is known as the bandgap voltage. Due to the process variations, both the output voltage and the temperature slope or temperature coefficient (TC) for a real bandgap voltage reference will have different values from device to device. This causes problems if a precise absolute voltage and minimum temperature coefficient are required. When the PTAT voltage is adjusted at room temperature so as to correct the temperature slope, the adjustment turns the slope around 0 Kelvin, which causes the absolute voltage to also change. Therefore, once the temperature slope has been corrected, the absolute voltage must also be corrected. This correction in absolute voltage may in turn alter the temperature slope. As a result, the trimming process typically requires the step of correction of the temperature slope followed by the step of correction of the absolute voltage to be repeated several times. This means that when a precise absolute voltage and minimum temperature coefficient is required, a lengthy iterative process of trimming slope and absolute voltage must be employed.
Another way to trim the reference voltage is to record a minimum of two reference voltage values at two different temperatures, in order to find the temperature slope, and then to adjust the PTAT voltage by a corresponding amount and shift the reference voltage (or the gain) with a temperature constant value. However temperature trimming of units in production quantities using this technique has the drawback of requiring multiple handling and tracking of the individual units during temperature test.
A number of techniques have been developed to provide for the compensation of the temperature effect. An example of such a technique is disclosed in U.S. Pat. No. 6,075,354 (the content of which is incorporated herein by way of reference). In this document, three currents DAC's are provided to interface with a bandgap voltage generator, a first provided to trim first order temperature slope variations of the output reference voltage, a second to compensate for temperature slope curvature and a third to provide scalar gain adjustment. In order to adjust ΔVBE for the slope correction, the technique is used of pushing an external correction current through the first or second diode of the main bandgap cell. A drawback of this scheme is that as the PTAT voltage changes, the reference voltage slope also changes, which affects the absolute value of the reference voltage.
Another U.S. Pat. (No. 6,329,804 ) also describes a slope and level trim DAC for voltage references. In order to trim the reference voltage slope, a current switching DAC is used to inject a PTAT trimming current into one of the two diodes in the main bandgap cell. However, as in the case of U.S. Pat. No. 6,075,354, this patent also has the drawback that a change in ΔVBE changes both the slope and absolute value of the reference voltage.
There is therefore a need for a method and circuit that provides a simple way of trimming the reference voltage in which both reference voltage and temperature coefficient (or the slope) can be separately adjusted.
It is an object of the present invention to provide method and circuit for compensating for temperature effects during operation of semiconductor circuits to overcome the above mentioned problems. It is a further object to provide an analog and digital solution for carrying out the present invention.
Accordingly, the present invention, as set out in the appended claims, provides a method for compensating for temperature effects in the operation of semiconductor circuitry comprising the acts or steps of scaling an output value of said circuit to a desired output value at a first temperature and matching said output value, at a second temperature, to said desired output value, whereby said desired output value at said first temperature remains unchanged. In the case of reference voltage, the method is implemented assuming that the second order effects such as “curvature” in the reference voltage variation over temperature range is removed and the reference voltage variation over temperature range is a straight line. According to the proposed method the absolute voltage is trimmed first. At the first or reference temperature (typically room temperature), the reference voltage is scaled to the desired value by a temperature independent voltage. Then, at a second temperature, the output voltage slope is corrected by adding or subtracting a voltage which is always zero at the reference temperature and because of that it has no effect on absolute value. In effect, the invention is based on the analysis that the output is provided by a straight line defined by two points. In the first step, the line is scaled to force it to cross a fixed predetermined point. Then, at a second temperature, the line is rotated about this fixed point.
In a first embodiment, the first step is effected by shifting the reference by a constant value either up or down to a desired output value. This is typically achieved by forcing a constant current through a resistor. The current can be generated by a balanced PTAT/CTAT current or by reflecting the reference voltage across a resistor. In essence, and using the assumption that the output is a straight line defined by the equation y=mx+c, then this step can be equated to the addition of “c”.
The second step is effected at a different second temperature and the rotation of the slope is achieved by the addition or subtraction of the difference of two balanced trimming PTAT and CTAT currents. These trimming currents are balanced in such a way that at the first temperature their sum or difference is zero and the combined current has a double slope compared to each individual current.
An additional step may be provided between the first and second steps, the additional step adapted to ensure that the difference between the PTAT and CTAT currents at the first temperature is equal to zero. This can be effected by a tuning of the PTAT or CTAT current sources to achieve the balancing between the two.
In another embodiment there is provided a method scaling an output voltage of said circuit to a desired output voltage value at a first temperature by a temperature independent voltage and correcting at a second temperature the slope of a line representative of said desired output voltage over a temperature range to provide said desired output voltage at said second temperature by adding or subtracting a correcting voltage whereby said correcting voltage is always zero at said first temperature, and whereby said desired output voltage value at said first temperature remains unchanged.
In a further embodiment there is provided a semiconductor circuit adapted to provide compensation for temperature effects during operation comprising means for scaling an output of said circuit to a desired output value at a first temperature and means for matching said output value, at a second temperature, to said desired output value, whereby said desired output value at said first temperature remains unchanged.
Ideally the value of a constant current, which generates the constant voltage value is controlled by a current source coupled to a DAC and a value of a user controlled input code applied to said DAC determines the value of the constant current. Multiplexors can be provided whether the constant voltage value is to be added or subtracted.
Preferably the trimming currents are controlled by a first and a second DAC, the output of said first and second DAC connected to at least one multiplexor, whereby a control signal applied to said multiplexor controls the addition or subtraction of said difference. The tuning of the trimming currents is carried out by a tuning DAC coupled to one of said currents, by adjusting a value of a user controlled input to said tuning DAC.
In another embodiment of the present invention there is provided a semiconductor circuit adapted to provide compensation for temperature effects during operation, the circuit comprising a digital control means for digitally scaling an output voltage of said circuit to a desired output voltage value at a first temperature and digitally matching said output voltage value, at a second temperature, to said desired output voltage value, whereby said desired output voltage value at said first temperature remains unchanged.
Preferably the digital control means comprises a register, coupled to the inputs of each DAC, wherein the output values from said register determine the value of the input codes to each DAC. The register can be connected to a digital control unit and memory, the value of said input codes are stored in said memory, and the transfer of said input codes from memory to the register is controlled by said digital control unit.
There is also provided a computer program product comprising a medium having embodied therein program instructions for causing a computer program to carry out any of the above method steps or acts or sequences of steps or acts, which medium may embody on or include a record medium, carrier signal or read-only memory.
The adjustment effected by the present invention may be applied either before or after packaging of the device and as such it will be appreciated that it may be repeated at a later date to compensate for degradation of the performance of the circuitry over time. Such a later repetition of the steps can be used to re-calibrate the circuitry.
The invention will now be described with reference to preferred embodiments as illustrated in
As shown in
In
As shown in
It will be appreciated that the configuration of the first block 300 as provided in
Once the output voltage reference value is adjusted until the desired output value is reached, the binary numbers 301 are stored into a memory. In a preferred embodiment of this invention the binary numbers 301 are stored in a non-volatile memory such an EEPROM.
Referring again to
The second control block includes a first and second current source 102, 103, one PTAT and one CTAT. The two current sources 102, 103 are then individually coupled to respective DACs 104, 105. DACs 104 and 105 are controlled by a common binary input code 101. The outputs of the DACs are cross-coupled and are fed as inputs to multiplexors 106, 107. The operation of the multiplexors are controlled by a common control signal 108. It can be seen that one of the inputs to the multiplexors 106, 107 is a current having the value of the difference between the CTAT and PTAT currents, while the other input is the same current with opposite sign. A further current source, 111, acts as an input to a DAC 109, the output of which is fed to DAC 104. A binary input 110 controls the operation of the tuning DAC 109.
In order to ensure that each of the current sources 102, 103 are matched, and therefore do not contribute to errors in the performance of the voltage reference block, it is desirable that at a first temperature the PTAT and CTAT currents are balanced to produce a zero difference. Once the voltage reference has been set using the first control block 300 at the first temperature, typically room temperature, an alteration of the current through DACs 104, 105 by means of control 101 should not effect the reference voltage, if the circuit is balanced.
In order to check whether the PTAT and CTAT currents are balanced, the control 110 for the current through tuning DAC 109 and the control 101 for DACs 104 and 105 should be set to a minimum at the first temperature, and the value of the reference voltage, Vref, recorded. Once Vref is recorded, control 101 can be set to its maximum value, and the value of Vref monitored. If the value of Vref changes when the control value 101 is changed, this implies that the PTAT and CTAT currents are not balanced. This is because, if the value of PTAT and CTAT currents were equal, the input currents to the multiplexors 106 and 107, being the difference between CTAT and PTAT currents as described earlier, should be zero at this first temperature, as explained with reference to
The main function of the second control block 100 is to reduce the temperature slope of the circuit to zero, so that the voltage reference will remain constant over a temperature range. This is the second calibration step of the invention. The step of reducing the temperature slope to zero is carried out by altering the temperature of the circuit from the first temperature to a second temperature, and adjusting the voltage reference until the output voltage for this second temperature is the same as the required voltage at the first temperature. During this step, the temperature of the circuit should be increased to a second temperature, and the output of the voltage reference circuit Vref monitored. It will be noted that with the increase in circuit temperature, the value of the output voltage shifts if the digital input 101 is zero. This can be corrected by effecting a rotation of the line defining the output, so that the temperature slope becomes zero. Such rotation is effected by applying a variable input code 101 from the second control block 100 until the desired value is once again reached. Once this has been achieved the control value 101 is stored into the memory and the temperature slope should remain at zero over the entire temperature range of interest.
The adjustment of a negative temperature slope is the converse of a positive slope adjustment.
It will be appreciated that the performance of this second calibration step at the second temperature does not effect the value defined as a result of the first calibration. Similarly to the interface between the first calibration block 300 and the voltage reference, no change is effected to the base emitter voltage of the transistor 203.
It will be understood that all three blocks described above with reference to
In the embodiment of
In this embodiment of
As shown in
According to the present invention, the amplifier's offset can be compensated by the coupling of a first and second control block to the components of the amplifier. As shown in
A current source 505 forces a PTAT current into the input of a push-pull current DAC 506. The current DAC 506 is controlled at the digital inputs by the input code 508 and sign 509 so that its output current is circulated across resistor 502 to add or subtract an extra PTAT voltage across resistor 502. Similarly, a current source 510 forces a CTAT current to the input of a push-pull current DAC 511. The current DAC 511 is controlled at the digital inputs by the input code 513 and sign 514 so that its output current is circulated across resistor 502 to add or subtract a CTAT voltage across resistor 502.
The input codes, 508, 513 and the sign codes 509, 514 are stored into the two registers, 507 and 512. The registers 507 and 512 are connected to a digital control unit 516 via a bus 517. The digital control unit 516 has also a memory 518.
If the signs 509 and 514 are such that PTAT and CTAT trimming currents are added through the resistor 502, and the codes 508 and 513 represent fractions N1 and N2 respectively, the reference voltage changes from its initial value, Vinit, to:
Vref=Vinit+(IPTAT*N1+ICTAT*N2)r502 (1)
As previously discussed, the reference voltage needs to be trimmed or calibrated in such a way than when absolute voltage is corrected, the slope is not affected and conversely when the references slope is corrected, the absolute value is not affected.
In order to check that at a first temperature, Tr, the PTAT and CTAT currents are balanced the following procedure can be performed. The signs 509 and 514 are set—one as logic “1” and one as logic “0”, and input codes 508 and 513 are set to a common maximum value Nmax. N2 should then be digitally scaled by a coefficient Nd until the reference voltage remains at Vinit as Eq. 2 shows:
Vref=Vinit=(IPTAT*Nmax−ICTAT*Nmax*Nd)r502=Vinit (2)
The coefficient Nd is then stored into the memory 518. At the same first temperature, the sign 514 is set to logic “1” and the reference voltage is scaled up or down by a corresponding input code N1 to the desired value, Vdes:
Vref=Vinit+(IPTAT*N1−ICTAT*N1*Nd)r502=Vdes (3)
The register 507 can then be loaded with the code Ni and the register 512 is loaded with the code N1*Nd.
At the second temperature, if the reference voltage changes, the register 507 is changed from N1 to N1+N3 and the register 512 is changed from N1*Nd to (N1−N3)*Nd until the reference voltage remains at the desired value Vdes. Accordingly, the reference voltage is:
Vr=Vinit+(IPTAT*N1+ICTAT*N1*Nd+IPTAT*N3−ICTAT*N3*Nd)r502=Vdes (4)
It can be seen from Eq. 4, that at the first temperature the last two terms in the brackets cancel each other and the reference voltage remains at the desired value, Vdes as required.
One advantage of the embodiment according to
It will be understood that the hereinbefore description has been based on the assumption that temperature drift is a linear effect. In reality, such effects normally include a bow effect or quadratic feature. It will be appreciated that such effects can be compensated or linearised by suitable techniques such as that described in, co-pending and co-assigned, U.S. application Ser. No. 10/375,359 filed on 27 Feb. 2003 and U.S. application Ser. No. 10/330,315 as filed 27 Dec. 2002.
The present invention provides a technique that compensates for the effect of temperature drift in operation of semiconductor circuits based on an assumption that the response is linear and that knowledge of two points on a line can define that response. The invention provides a first set of values that trim the operation of the circuitry to a pre-determined value, typically a value equal to the desired value for room temperature operation. At a second temperature, which is physically applied to the circuitry, a second value can be determined. The second value effects a rotation of the linearly defined output response to a value equal to that for the room temperature value. The two control values are then interfaced with the circuitry during normal operation to compensate for any effect of temperature drift. The invention has the useful property that the adjustment of the absolute value and the adjustment of the temperature coefficient are independent.
As the control values are externally applied, it will be understood that the compensation effect can be determined post-packaging, and as such the effect of any stress introduced during the packaging can be incorporated into the determined values. The invention is also advantageous in that the technique can be applied or re-applied at a later time so as to re-calibrate the operation and therefore compensate for any degradation due to time. Furthermore, the present invention enables the provision of an accurate reference circuit that can be implemented wholly in CMOS technology, obviating the need for incorporating BJT type devices.
Although the present invention has been described with reference to preferred embodiments it will be appreciated that it is not intended to limit the present invention except as may be deemed necessary in the light of the appended claims. It is further appreciated that certain features of the invention, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the invention which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination.
The embodiments in the invention described with reference to the drawings comprise a computer apparatus and/or processes performed in a computer apparatus. However, the invention also extends to computer programs, particularly computer programs stored on or in a carrier adapted to bring the invention into practice. The program may be in the form of source code, object code, or a code intermediate source and object code, such as in partially compiled form or in any other form suitable for use in the implementation of the method according to the invention. The carrier may comprise a storage medium such as ROM, e.g., CD ROM, or magnetic recording medium, e.g., a floppy disk or hard disk. The carrier may be an electrical or optical signal which may be transmitted via an electrical or an optical cable or by radio or other means.
The invention is not limited to the embodiments hereinbefore described but may be varied in both construction and detail.
The words “comprises/comprising” and the words “having/including” when used herein with reference to the present invention are used to specify the presence of stated features, integers, steps or components but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof.
Number | Name | Date | Kind |
---|---|---|---|
4399398 | Wittlinger | Aug 1983 | A |
4475103 | Brokaw et al. | Oct 1984 | A |
4603291 | Nelson | Jul 1986 | A |
4714872 | Traa | Dec 1987 | A |
4808908 | Lewis et al. | Feb 1989 | A |
4939442 | Carvajal et al. | Jul 1990 | A |
5053640 | Yum | Oct 1991 | A |
5119015 | Watanabe | Jun 1992 | A |
5229711 | Inoue | Jul 1993 | A |
5325045 | Sundby | Jun 1994 | A |
5352973 | Audy | Oct 1994 | A |
5424628 | Nguyen | Jun 1995 | A |
5512817 | Nagaraj | Apr 1996 | A |
5563504 | Gilbert et al. | Oct 1996 | A |
5646518 | Lakshmikumar et al. | Jul 1997 | A |
5821807 | Brooks | Oct 1998 | A |
5828329 | Burns | Oct 1998 | A |
5933045 | Audy et al. | Aug 1999 | A |
5952873 | Rincon-Mora | Sep 1999 | A |
5982201 | Brokaw et al. | Nov 1999 | A |
6002293 | Brokaw | Dec 1999 | A |
6075354 | Smith et al. | Jun 2000 | A |
6157245 | Rincon-Mora | Dec 2000 | A |
6218822 | MacQuigg | Apr 2001 | B1 |
6225796 | Nguyen | May 2001 | B1 |
6255807 | Doorenbos et al. | Jul 2001 | B1 |
6329804 | Mercer | Dec 2001 | B1 |
6329868 | Furman | Dec 2001 | B1 |
6356161 | Nolan et al. | Mar 2002 | B1 |
6373330 | Holloway | Apr 2002 | B1 |
6426669 | Friedman et al. | Jul 2002 | B1 |
6462625 | Kim | Oct 2002 | B2 |
6483372 | Bowers | Nov 2002 | B1 |
6489787 | McFadden | Dec 2002 | B1 |
6489835 | Yu et al. | Dec 2002 | B1 |
6501256 | Jaussi et al. | Dec 2002 | B1 |
6529066 | Guenot et al. | Mar 2003 | B1 |
6531857 | Ju | Mar 2003 | B2 |
6590372 | Wiles, Jr. | Jul 2003 | B1 |
6614209 | Gregoire, Jr. | Sep 2003 | B1 |
6642699 | Gregoire | Nov 2003 | B1 |
6661713 | Kuo | Dec 2003 | B1 |
6664847 | Ye | Dec 2003 | B1 |
6690228 | Chen et al. | Feb 2004 | B1 |
6791307 | Harrison | Sep 2004 | B2 |
6798286 | Dauphinee et al. | Sep 2004 | B2 |
6828847 | Marinca | Dec 2004 | B1 |
6836160 | Li | Dec 2004 | B2 |
6853238 | Dempsey et al. | Feb 2005 | B1 |
6885178 | Marinca | Apr 2005 | B2 |
6891358 | Marinca | May 2005 | B2 |
6894544 | Gubbins | May 2005 | B2 |
6919753 | Wang et al. | Jul 2005 | B2 |
6930538 | Chatal | Aug 2005 | B2 |
6958643 | Rosenthal | Oct 2005 | B2 |
6987416 | Ker et al. | Jan 2006 | B2 |
6992533 | Hollinger et al. | Jan 2006 | B2 |
7012416 | Marinca | Mar 2006 | B2 |
7057444 | Illegems | Jun 2006 | B2 |
7068100 | Dauphinee et al. | Jun 2006 | B2 |
7088085 | Marinca | Aug 2006 | B2 |
7091761 | Stark et al. | Aug 2006 | B2 |
7112948 | Daly et al. | Sep 2006 | B2 |
7170336 | Hsu | Jan 2007 | B2 |
7173407 | Marinca | Feb 2007 | B2 |
7193454 | Marinca | Mar 2007 | B1 |
7199646 | Zupcau et al. | Apr 2007 | B1 |
7211993 | Marinca | May 2007 | B2 |
7224210 | Garlapati et al. | May 2007 | B2 |
7236047 | Tachibana et al. | Jun 2007 | B2 |
7248098 | Teo | Jul 2007 | B1 |
7260377 | Burns et al. | Aug 2007 | B2 |
7301321 | Uang et al. | Nov 2007 | B1 |
7372244 | Marinca | May 2008 | B2 |
7411380 | Chang et al. | Aug 2008 | B2 |
7472030 | Scheuerlein | Dec 2008 | B2 |
7482798 | Han | Jan 2009 | B2 |
20030234638 | Eshraghi et al. | Dec 2003 | A1 |
20050194957 | Brokaw | Sep 2005 | A1 |
20050237045 | Lee et al. | Oct 2005 | A1 |
20060017457 | Pan et al. | Jan 2006 | A1 |
20060038608 | Ozawa | Feb 2006 | A1 |
20080018319 | Chang et al. | Jan 2008 | A1 |
20080074172 | Marinca | Mar 2008 | A1 |
20080224759 | Marinca | Sep 2008 | A1 |
20080265860 | Dempsey et al. | Oct 2008 | A1 |
Number | Date | Country |
---|---|---|
0510530 | Oct 1992 | EP |
1359490 | Nov 2003 | EP |
1359490 | Nov 2003 | EP |
4-167010 | Jun 1992 | JP |
0115143 | Dec 2007 | KR |
Number | Date | Country | |
---|---|---|---|
20050073290 A1 | Apr 2005 | US |