This invention relates to bandgap reference circuits, and more particularly to bi-directional trimming circuits for bandgap references.
Bandgap reference circuits are commonly used to generate a stable reference voltage from the silicon bandgap. Bandgap reference generator circuits may be used in DC-DC converters, Analog-to-Digital Converters (ADC), low dropout drivers, and many other kinds of analog circuits.
The base-to-emitter voltage Vbe in a PNP transistor, shown in equation EQN1,
where VT is thermal voltage, A is the emitter-base junction area, and Js is the current density. The base-emitter voltage Vbe is relatively constant because a large collector current Ic variation only causes a small Vbe variation. A pair of ratioed PNP transistors can be used to sink current in a voltage divider network that generates the reference voltage. A feedback loop can be included with an op amp that has compare inputs tapped from nodes within the voltage divider network. Many variations of this basic circuit are in use.
The basic bandgap reference circuit creates a reference voltage that is independent of temperature, supply voltage, and process variations. However, the feedback loop can introduce an offset that does vary with the process. These process variations can be compensated for by trimming the resistance value of a resistor in the voltage divider network.
After the circuit is fabricated, a test probe is dropped onto a pad on the voltage reference node or another related node. The reference voltage is measured using the test probe. The resistance value is trimmed or adjusted by blowing fuses or trimming resistors with a laser, programming registers that control the resistance value, or by some other method. The reference voltage is measured again, and the resistance value again adjusted. Several iterations may be used to fine-tune the reference voltage by successively trimming smaller resistance values.
While trimming is useful, it is difficult to precisely tune the resistance value. The reference voltage may be overshot without any way to compensate when permanent fuses are blown. Trimming is often one-dimensional, either increasing or decreasing the reference voltage.
What is desired is a bi-directional trimming circuit for a bandgap reference circuit. A reference circuit that can trim the reference voltage both up and down is desired.
The present invention relates to an improvement in trimable bandgap reference circuits. The following description is presented to enable one of ordinary skill in the art to make and use the invention as provided in the context of a particular application and its requirements. Various modifications to the preferred embodiment will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.
A bandgap reference voltage Vbg is generated by p-channel bias transistor 16, which has its gate driven by a bias voltage Vbias, and has its source connected to the power supply, and by p-channel generating transistor 18, which has its drain grounded and its gate driven by the output of op amp 10. Op amp 10 has differential inputs receiving nodes V+, V−. Node V+ is the emitter of PNP transistor 12, while node V− is generated between parallel resistor 24 and difference resistor 26.
A voltage divider network is connected between Vbg and PNP transistors 12, 14. Sensing resistor 20 is connected between Vbg and node V1. Current is split at node V1. One branch of current passes from node V1 through parallel resistor 22 to node V+ and PNP transistor 12, while the other branch of current passes from node V1 through parallel resistor 24 to node V−, then through difference resistor 26 to the emitter of PNP transistor 14.
When Vbg rises above is set point, more current flows through the voltage divider network due to the higher Vbg. In particular, more current flows through sensing resistor 20, raising V1. More current also flows in both branches. The higher current flow through difference resistor 26 raises V− relative to V+, since the emitter voltages of both of PNP transistors 12, 14 remains near Vbe, which is very stable.
The higher V− applied to the inverting input of op amp 10 causes the output of op amp 10 to fall in voltage. The lower voltage output by op amp 10 to the gate of p-channel generating transistor 18 increases current flow through p-channel generating transistor 18. Thus higher current through p-channel generating transistor 18 pulls Vbg to a lower voltage, thus compensating for the initial rise in Vbg.
A similar but opposite feedback occurs when Vbg falls in voltage, causing op amp 10 to compensate and raise Vbg. Thus Vbg is a stable reference voltage. The voltage of Vbg can be probed by touching Vbg probe pad 50 with a mechanical probe and measuring the probe's voltage.
The bandgap voltage Vbg, can be calculated using the following equation:
where R1 is the resistance of sensing resistor 20, R2 is the resistance of both parallel resistors 22, 24, which have equal resistances, and R3 is the resistance of difference resistor 26. Vbe1 is the base-emitter voltage of PNP transistor 12, N is the ratio of emitter areas of PNP transistors 14, 12, and VT is thermal voltage.
Each of trimming-up resistors 44 has a fuse 52 in parallel. Fuse 52 is between pads 54. Probes can be applied to pads 54 around fuse 52, and a high current flowed through the probes to melt or otherwise blow fuse 52. Once fuse 52 is blown, the trimming-up resistor 44 in parallel with that fuse 52 is now in series with sensing resistor 20, and its resistance is added to R1 in EQN2.
When none of fuses 52 is blown, R1 is equal to the resistance of sensing resistor 20. When multiple fuses 52 are blown, R1 is the sum of the resistance of sensing resistor 20 and all trimming-up resistors 44 that are in parallel with blown fuses 52.
The resistance values of trimming-up resistors 44 can be binary-weighted. For example, fuse F1 enables resistance R, fuse F2 enables resistance 2*R, fuse F3 enables resistance 4*R, . . . fuse FP enables resistance 2(P-1)*R.
The trimmed resistance value R1 can be increased as more and more fuses 52 are blown. The larger R1 increases Vbg as EQN2 shows. However, there is no way to lower Vbg, since fuses can only be blown open, not shorted once blown open. Thus trimming-up resistors 44 are useful for raising Vbg, or trimming up. A total of P+1 trimming pads 54 are needed for P fuses 52 and P trimming-up resistors 44.
Each of trimming-down resistors 48 has a fuse 56 in parallel. Fuse 56 is between pads 58. Probes can be applied to pads 58 around fuse 56, and a high current flowed through the probes to melt or otherwise blow fuse 56. Once fuse 56 is blown, the trimming-down resistor 48 in parallel with that fuse 56 is now in series with difference resistor 26, and its resistance is added to R3 in EQN2.
When none of fuses 56 is blown, R3 is equal to the resistance of difference resistor 26. When multiple fuses 56 are blown, R3 is the sum of the resistance of difference resistor 26 and all trimming-down resistors 48 that are in parallel with blown fuses 56.
The resistance values of trimming-down resistors 48 can be binary-weighted. For example, fuse F1 enables resistance R, fuse F2 enables resistance 2*R, fuse F3 enables resistance 4*R, . . . fuse FM enables resistance 2(M-1)*R.
The trimmed resistance value R3 can be increased as more and more fuses 56 are blown. The larger R3 decreases Vbg as EQN2 shows. However, there is no way to raise Vbg, since fuses can only be blown open, not shorted once blown open. Thus trimming-down resistors 48 are useful for lowering Vbg, or trimming down. A total of M+1 trimming pads 58 are needed for M fuses 56 and M trimming-down resistors 48. Vbg probe pad 50 is also needed, while in
When only trimming-up is available, such as the circuit of
When only trimming-down is available, such as the circuit of
Both curves 104, 106 are undesirable. However, when both trimming-up and trimming-down are incorporated into the same circuit, such as shown in
Test time is reduced, since some circuits do not need any trimming at all, such as when process conditions match the design values. Since process variations are typically a Gaussian distribution, the initial value of Vref can be chosen to correspond to the peak of the Gaussian distribution of process variations. Targeting the initial resistances values and Vref to match the process conditions at the Gaussian peak can result in many circuits not needing any trimming at all. Only process outlier circuits need trimming.
Trimming time can be further reduce since both up and down trimming are available. If the target is overshot, trimming can be performed in the opposite direction. Less caution needs to be exercised when blowing fuses. This can result in faster trimming times.
The temperature coefficients of curves 104, 106 are poor, as their slopes show. In contrast, the temperature coefficient of curve 102 is good, as shown by its relatively flat slope. When the circuit operates over a given range of temperatures, a lower variation of Vref is achieved with curve 102 than with curves 104, 106; thus the bi-directional trimming Vref has a better temperature coefficient.
Vref=Vbg*(R5/(R4+R5) EQN3
where R4 is the resistance of output resistor 30 and R5 is the resistance of Sink resistor 32.
Each of trimming-up resistors 44 has a fuse 52 in parallel between pads 54. Probes can be applied to pads 54 around fuse 52, and a high current flowed through the probes to melt or otherwise blow fuse 52. Once fuse 52 is blown, the trimming-up resistor 44 in parallel with that fuse 52 is now in series with sensing resistor 20, and its resistance is added to R1 in EQN2.
When none of fuses 52 is blown, R1 is equal to the resistance of sensing resistor 20. When multiple fuses 52 are blown, R1 is the sum of the resistance of sensing resistor 20 and all trimming-up resistors 44 that are in parallel with blown fuses 52.
The resistance values of trimming-up resistors 44 can be binary-weighted. For example, fuse F1 enables resistance R, fuse F3 enables resistance 2*R, fuse F5 enables resistance 4*R, . . . fuse FP enables resistance 2(P-1)*R.
The trimmed resistance value R1 can be increased as more and more fuses 52 are blown. The larger R1 increases Vbg as EQN2 shows, and the larger Vbg increases Vref as EQN3 shows.
Trimming-down resistors 48 are in series with output resistor 30. Each of trimming-down resistors 48 has a fuse 56 in parallel. Fuse 56 is between pads 58. Probes can be applied to pads 58 around fuse 56, and a high current flowed through the probes to melt or otherwise blow fuse 56. Once fuse 56 is blown, the trimming-down resistor 48 in parallel with that fuse 56 is now in series with difference resistor 26, and its resistance is added to R4 in EQN3.
When none of fuses 56 is blown, R4 is equal to the resistance of output resistor 30. When multiple fuses 56 are blown, R4 is the sum of the resistance of output resistor 30 and all trimming-down resistors 48 that are in parallel with blown fuses 56.
The resistance values of trimming-down resistors 48 can be binary-weighted. For example, fuse F2 enables resistance R, fuse F4 enables resistance 2*R, fuse F6 enables resistance 4*R, . . . fuse FM enables resistance 2(M-1)*R.
The trimmed resistance value R4 can be increased as more and more fuses 56 are blown. The larger R4 decreases Vref as EQN3 shows. Thus Vref can be increased (trimmed up) by blowing additional fuses 52, and Vref can be decreased (trimmed down) by blowing additional fuses 56. Trimming is bi-directional.
Vbg probe pad 50 can be shared for use in blowing both the top F1 trimming-up fuse 52 and the top F2 trimming-down fuse 56. A total of P trimming pads 54 are needed for P fuses 52 and P trimming-up resistors 44, plus a total of M trimming pads 58 for M fuses 56 and M trimming-down resistors 48. The total pads needed are P+M+1.
When the measured Vref is below the target range, step 122, then one or more fuses parallel to trimming-up resistors 44 are blown, step 124. This increases R1, Vbg, and Vref. The measuring process can be repeated iteratively with step 120.
When the measured Vref is above the target range, step 122, then one or more fuses parallel to trimming-down resistors 48 are blown, step 126. This increases R4 and Vref, although Vbg is not changed. The measuring process can be repeated iteratively with step 120. Note that both trimming up and trimming down can be performed on the same circuit when multiple iterations of
Register 110 is initially loaded with all zeros (0000), which causes switches 42, 46 to conduct and bypass trimming-up resistors 44 and trimming-down resistors 48. During up-trimming, the digital value stored in register 110 is altered, causing some of select signals S1, S3, . . . SP to go high. The high select signal turns off one of switches 42, forcing current through one of trimming-up resistors 44, increasing resistance R1, Vbg, and Vref. Likewise, during down-trimming, the digital value stored in register 110 is altered, causing some of select signals S2, S4, . . . SM to go high. The high select signal turns off one of switches 46, forcing current through one of trimming-down resistors 48, increasing resistance R3 and Vref.
The digital value in register 110 can change so that some select signals change from high back to low. Unlike fuses 52 which are permanently blown, switches 42, 46 can toggle back and forth between on and off states during trimming. Thus trimming is more flexible using switches 42, 46.
Register 110 can hold two binary values that drive select signals to binary-weighed trimming-up resistors 44 and trimming-down resistors 48. Probe pads are not needed between switches 42, 46, since fuses are not blown. Instead, only one pad (not shown) is needed for Vref.
The trimmed resistance value R1 can be increased as more and more switches 42 are turned off. The larger R1 increases Vref as EQN2 shows. The trimmed resistance value R4 can be increased as more and more switches 46 are turned off. The larger R4 decreases Vref as EQN3 shows. Thus Vref can be increased (trimmed up) by opening additional switches 42, and Vref can be decreased (trimmed down) by opening additional switches 46. Trimming is bi-directional.
The measured Vref is compared to a target Vref, or a target range for Vref, step 122. When the measured Vref is within a target range of Vref values, step 122, then trimming is completed. The circuit does not need any further trimming. This event is expected to be common since the initial worst Vref can be designed for the typical process, rather than a worst-case process as is needed for circuits that only trim in one direction.
When the measured Vref is below the target range, step 122, then one or more switches 42 parallel to trimming-up resistors 44 are opened by driving logic 1 onto their gates, step 134. This increases R1, Vbg, and Vref. The measuring process can be repeated iteratively with step 120, with the digital values stored in register 110 changed. For example, a sequencer or state machine or other logic could drive the value into register 110, or a program being executed could load new values into register 110.
When the measured Vref is above the target range, step 122, then one or more switches 46 parallel to trimming-down resistors 48 are opened by driving logic 1 onto their gates, step 126. This increases R4 and Vref, although Vbg is not changed. The measuring process can be repeated iteratively with step 120. Note that both trimming up and trimming down can be performed on the same circuit when multiple iterations of
Ideally, the current in both branches is equal, and the resistances of parallel resistors 22, 24 are also equal. However, offsets in the op amp can skew these currents and make them non-equal, affecting Vbg and Vref.
Sensing resistor 20 drives node V1 from Vbg. The current through sensing resistor 20 is split into two branches at node V1. The left current branch passes through trimming-down resistors 48 and parallel resistor 22 to node V+ and PNP transistor 12. The right current branch from node V1 passes through trimming-up resistors 44 and parallel resistor 24 to node V−, and then through difference resistor 26 and PNP transistor 14.
R21 is the resistance of parallel resistor 22 plus the sum of resistances of any enabled trimming-down resistors 48. R22 is the resistance of parallel resistor 24 plus the sum of resistances of any enabled trimming-up resistors 44. As
Each of trimming-up resistors 44 has a fuse 52 in parallel between pads 54. Probes can be applied to pads 54 around fuse 52, and a high current flowed through the probes to melt or otherwise blow fuse 52. Once fuse 52 is blown, the trimming-up resistor 44 in parallel with that fuse 52 is now in series with sensing resistor 20, and its resistance increases that of parallel resistor 24, which is R22.
Trimming-down resistors 48 are in series with parallel resistor 22. Each of trimming-down resistors 48 has a fuse 56 in parallel. Fuse 56 is between pads 58. Probes can be applied to pads 58 around fuse 56, and a high current flowed through the probes to melt or otherwise blow fuse 56. Once fuse 56 is blown, the trimming-down resistor 48 in parallel with that fuse 56 is now in series with difference resistor 26, and its resistance is added to R21.
The resistance values of trimming-up resistors 44 and trimming-down resistors 48 can be binary-weighted. For example, fuse F1 enables resistance R, fuse F3 enables resistance 2*R, fuse F5 enables resistance 4*R, . . . fuse FP enables resistance 2(P-1)*R. The trimmed resistance value R22 can be increased as more and more fuses 52 are blown. The larger R22 increases Vref.
The trimmed resistance value R21 can be increased as more and more fuses 56 are blown. The more R21 increases, the more Vref decreases. Thus Vref can be increased (trimmed up) by blowing additional fuses 52, and Vref can be decreased (trimmed down) by blowing additional fuses 56. Trimming is bi-directional and is performed as in
Fuses 52 are replaced by switches 42, which are in parallel with trimming-up resistors 44. The gates of p-channel transistors in switches 42 are activated to conduct when register 110 outputs a low voltage (logic zero) and to isolate when register 110 outputs a high voltage (logic 1), emulating a blown fuse.
Register 110 is initially loaded with all zeros (0000), which causes switches 42, 46 to conduct and bypass trimming-up resistors 44 and trimming-down resistors 48. During up-trimming, the digital value stored in register 110 is altered, causing some of select signals S1, S3, . . . SP to go high. The high select signal turns off one of switches 42, forcing current through one of trimming-up resistors 44, increasing resistance R22, Vbg, and Vref. Likewise, during down-trimming, the digital value stored in register 110 is altered, causing some of select signals S2, S4, . . . SM to go high. The high select signal turns off one of switches 46, forcing current through one of trimming-down resistors 48, increasing resistance R21 and decreasing Vref.
The trimmed resistance value R21 can be increased as more and more switches 46 are turned off. The more R21 increases, the more Vref decreases. Thus Vref can be increased (trimmed up) by disabling additional switches 42, and Vref can be decreased (trimmed down) by disabling additional switches 46. Trimming is bi-directional and is performed as in
Several other embodiments are contemplated by the inventors. For example, while initial values in register 110 of all zeros have been described, other initial values could be substituted. The initial values could be adjusted as processes shift over long periods of time, or as process improvements are made or process device shrinks occur. A full transmission gate with both p-channel and n-channel transistors in parallel could be substituted, with complementary select signals applied to the p-channel and n-channel gates. Inversions could be added to the select signals, or gating or clocking could be added. N-channel transistors could replace p-channel transistors with other modifications to control signal logic. The inverting and non-inverting inputs to the op amp may be swapped, and an n-channel transistor used for p-channel generating transistor 18, or an inverter added.
While equal resistance values for parallel resistors 22, 24 have been described, these could have different resistance values, and EQN2 adjusted. More complex voltage divider networks could be substituted, and capacitors for filtering or other purposes could be added. Resistance values that are substantially equal could be within a few percent of each other, such as within 5% and still be considered equal.
The background of the invention section may contain background information about the problem or environment of the invention rather than describe prior art by others. Thus inclusion of material in the background section is not an admission of prior art by the Applicant.
Any methods or processes described herein are machine-implemented or computer-implemented and are intended to be performed by machine, computer, or other device and are not intended to be performed solely by humans without such machine assistance. Tangible results generated may include reports or other machine-generated displays on display devices such as computer monitors, projection devices, audio-generating devices, and related media devices, and may include hardcopy printouts that are also machine-generated. Computer control of other machines is another tangible result.
Any advantages and benefits described may not apply to all embodiments of the invention. When the word “means” is recited in a claim element, Applicant intends for the claim element to fall under 35 USC Sect. 112, paragraph 6. Often a label of one or more words precedes the word “means”. The word or words preceding the word “means” is a label intended to ease referencing of claim elements and is not intended to convey a structural limitation. Such means-plus-function claims are intended to cover not only the structures described herein for performing the function and their structural equivalents, but also equivalent structures. For example, although a nail and a screw have different structures, they are equivalent structures since they both perform the function of fastening. Claims that do not use the word “means” are not intended to fall under 35 USC Sect. 112, paragraph 6. Signals are typically electronic signals, but may be optical signals such as can be carried over a fiber optic line.
The foregoing description of the embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto.
Number | Name | Date | Kind |
---|---|---|---|
4412241 | Nelson | Oct 1983 | A |
5325045 | Sundby | Jun 1994 | A |
6218822 | MacQuigg | Apr 2001 | B1 |
6949971 | Jang | Sep 2005 | B2 |
7230473 | Tadeparthy et al. | Jun 2007 | B2 |
7453252 | Megaw | Nov 2008 | B1 |
7538597 | Kwong et al. | May 2009 | B2 |
7633333 | Ma | Dec 2009 | B2 |
7688054 | Cave | Mar 2010 | B2 |
7880459 | Harvey | Feb 2011 | B2 |
7920011 | Tseng | Apr 2011 | B1 |
8022751 | Le et al. | Sep 2011 | B2 |
20010011886 | Kobayashi | Aug 2001 | A1 |
20020030526 | McClure et al. | Mar 2002 | A1 |
20040245975 | Tran et al. | Dec 2004 | A1 |
20040245977 | Tran | Dec 2004 | A1 |
20070052473 | McLeod | Mar 2007 | A1 |
20070126495 | Ivanov et al. | Jun 2007 | A1 |
20070252573 | Tachibana et al. | Nov 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20110163799 A1 | Jul 2011 | US |