Bandgap voltage reference circuits are temperature independent voltage reference circuits commonly used in integrated circuits to provide a constant voltage regardless of temperature changes, variations in power supply voltages, or changes in their load. They commonly have an output voltage of about 1.21V, corresponding to the band gap of silicon.
Due to their use as a stable voltage reference, any glitches, disruptions, ringing or other noise in their outputs may be unacceptable. During startup of a system including a bandgap voltage reference circuit, it may also be desirable that the output of the bandgap voltage reference circuit smoothly rise to its designed constant voltage output without any glitches, disruptions, ringing or other noise.
In an implementation, a circuit includes a bandgap voltage reference circuit configured to produce a bandgap reference voltage output, a bandgap startup pulldown circuit coupled with the bandgap reference voltage output, configured to hold the bandgap reference voltage output low during a pre-charge phase, and a pre-charge circuit, configured to charge a capacitive node within the circuit during the pre-charge phase.
In another implementation, a system includes a proportional to absolute temperature (PTAT) current generator and scaling circuit, configured to produce a reference current, and a bandgap voltage reference circuit configured to produce a bandgap reference voltage output.
The system also includes a bandgap voltage sense circuit, configured to compare the bandgap reference voltage output to a threshold voltage, the threshold voltage based at least in part on the reference current, and a pre-charge circuit, configured to pre-charge a capacitive node within the system when a voltage on the capacitive node is less than a voltage of a bias signal, and to pulldown the bandgap reference voltage output when the bandgap reference voltage output is less than the threshold voltage.
Many aspects of the disclosure can be better understood with reference to the following drawings. While several implementations are described in connection with these drawings, the disclosure is not limited to the implementations disclosed herein. On the contrary, the intent is to cover all alternatives, modifications, and equivalents.
The following descriptions of various example embodiments and implementations of a startup circuit for a bandgap voltage reference circuit. As discussed above, any glitches, disruptions, ringing or other noise on the output of the bandgap voltage reference circuit is unacceptable, including during startup. To quickly startup a bandgap voltage reference circuit, a startup circuit is used to quickly bring up the bandgap reference voltage output. This startup circuit controls a bandgap adjustment transistor to quickly charge the output node of the bandgap voltage reference circuit and then shuts off once the bandgap reference voltage output reaches a threshold voltage based at least in part on a reference current.
However, as described in detail below, in some embodiments, there still may be ringing and glitches on the bandgap reference voltage output during startup. Example embodiments described herein include the use of a pulldown to temporarily pulldown the output node of the bandgap voltage reference circuit, and a pre-charge circuit to pre-charge certain high-capacitance nodes within the system during startup. This pulldown transistor ensures that the bandgap reference voltage does not have an overshoot until proper biasing of internal high capacitive nodes are completed.
This provides for a smooth startup of the bandgap voltage reference circuit without any glitches or ringing on its output. This provides a technical advantage of providing a reference voltage to various circuits in a system without any undesirable transients even during startup of the system.
The bandgap voltage reference circuit 110 includes a first bandgap voltage output V1103, a second bandgap voltage output V2104, and a bandgap reference voltage output VBG 101. The production of first bandgap voltage output V1103 and second bandgap voltage output V2104 is illustrated in
The error amplifier X1150 includes a first input coupled with the first bandgap voltage output V1103, and a second input coupled with the second bandgap voltage output V2104. In some embodiments, error amplifier X1150 is an operational amplifier configured to output a bias signal Vbias 102 based at least in part on the first bandgap voltage output V1103 and the second bandgap voltage output V2104.
The bandgap adjustment transistor T1160 includes a gate coupled with the bias signal Vbias 102, a source coupled with power supply VDDS, and a drain coupled with the bandgap reference voltage output VBG 101.
The startup circuit 130 includes an input coupled with the bandgap reference voltage output VBG 101 and an output coupled with the gate of the bandgap adjustment transistor T1160. During a startup phase, the startup circuit 130 is configured to pulldown the gate of the bandgap adjustment transistor T1160.
The pulldown circuit 140 is coupled with the bandgap reference voltage output VBG 101, and is configured to hold the bandgap reference voltage output VBG 101 low during a pre-charge phase. In some example embodiments, pulldown circuit 140 is a pulldown transistor connected to a ground.
The pre-charge circuit 120 is coupled with the error amplifier X1150, and configured to charge one or more capacitive nodes within the error amplifier X1150 during the pre-charge phase.
During startup, the power supply VDDS slowly rises and the startup circuit 130 pulls the gate of the bandgap adjustment transistor T1160 to ground until the bandgap reference voltage output VBG 101 rises. Since the bandgap reference voltage output VBG 101 node has low capacitance, it rises quickly. Once the bandgap reference voltage output VBG 101 rises past a threshold value, the startup circuit 130 releases the gate of the bandgap adjustment transistor T1160 and allows the remainder of the circuit to operate normally.
However, when the startup circuit 130 releases the gate of the bandgap adjustment transistor T1160, the error amplifier X1150 may not have started its normal, stable operation and may not be driving the bias signal Vbias 102 to the gate of the bandgap adjustment transistor T1160. This causes the bandgap adjustment transistor T1160 to open, which allows the bandgap reference voltage output VBG 101 to drop. Once the bandgap reference voltage output VBG 101 drops below the threshold value, the startup circuit 130 again pulls the gate of the bandgap adjustment transistor T1160 to ground, opening the bandgap adjustment transistor T1160 and driving the bandgap reference voltage output VBG 101 from the power supply VDDS. Depending on the speed that the error amplifier X1150 begins operation, this ringing of the bandgap reference voltage output VBG 101 may be severe.
In this example embodiment, the startup phase is divided into two phases; first a pre-charge phase, then the remainder of the startup phase. During the pre-charge phase, the gate of T1160 and VBG 101 are pulled low. VBG 101 is pulled low until one or more high capacitive nodes inside error amplifier 150 pre-charge to a required voltage, and then the remainder of the startup phase continues. In the startup phase, the VBG 101 pulldown 140 is turned off resulting in VBG 101 rising and then the startup circuit 130 disables itself by releasing the gate of T1160 (Vbias 102).
To prevent ringing of the bandgap reference voltage output VBG 101, pulldown circuit 140 is added to the circuit and configured to pulldown the bandgap reference voltage output VBG 101 during the pre-charge phase so that the error amplifier X1150 has time to pre-charge its internal high capacitance nodes. Once the pre-charge phase is complete, pulldown circuit 140 is configured to release the bandgap reference voltage output VBG 101, beginning the remainder of the startup phase. In the remainder of the startup phase, the bandgap reference node rises, and disables the startup circuit 130, and then normal operation of the bandgap voltage reference circuit 110 begins.
The proportional to absolute temperature (PTAT) current generator and scaling circuit 202, is configured to produce a scaled reference voltage or current (or both). In this example embodiment, PTAT current generator and scaling circuit 202 produces signals IPTAT-A 221 and IPTAT-B 222 corresponding to a reference current that is proportional to the absolute temperature. Signals IPTAT-A 221 and IPTAT-B 222 are used by other circuits within the startup system 200 to control current mirrors which provide currents mirroring the reference current within the PTAT current generator and scaling circuit 202 that is proportional to the absolute temperature. Signal IPTAT-A 221 controls p-type transistors and signal IPTAT-B 222 controls n-type transistors configured as current mirrors within other circuits in the startup system 200. These current mirrors duplicate the reference current from PTAT current generator and scaling circuit 202.
This reference current acts as a current for pre-charging high capacitance nodes within error amplifier 212, and as a reference current for comparing bandgap reference voltage output VBG 227.
In various configurations, the PTAT current generator and scaling circuit 202 is capable of producing either reference currents, reference voltages, or both for use throughout the other circuits. Various circuits within startup system 200 use either reference currents, reference voltages, or both, as reference voltages may be produced from reference currents and vice versa.
The bandgap core circuit 214 has a first bandgap voltage output V1103, a second bandgap voltage output V2104, and a bandgap reference voltage output VBG 227. The production of first bandgap voltage output V1103 and second bandgap voltage output V2104 is illustrated in
The error amplifier 212 has a first input coupled with the first bandgap voltage output V1103 and a second input coupled with the second bandgap voltage output V2104. It is configured to output a bias signal Vbias 226 based at least in part on the first bandgap voltage output V1103 and the second bandgap voltage output V2104.
The bandgap core circuit 214 may include a bandgap adjustment transistor (e.g., transistor T1160 of
The bandgap voltage sense circuit 206 is configured to compare the bandgap reference voltage output VBG 227 to a threshold voltage. In this example embodiment, the threshold voltage is represented by signals IPTAT-A 221 and IPTAT-B 222 which are outputs of the PTAT current generator and scaling circuit 202 and correspond to a reference current that is proportional to the absolute temperature within the PTAT current generator and scaling circuit 202 and are used in current mirrors within other circuits in the startup system 200 and to compare with the bandgap reference voltage output VBG 227 dependent current within the bandgap voltage sense circuit 206. The bandgap reference voltage dependent current is generated by connecting the bandgap reference voltage output VBG 227 to the gate of N9320.
Low and high voltages of the bandgap reference voltage output VBG 227 are detected by generating a current which is dependent on the bandgap reference voltage output VBG 227 and is compared with the reference current. The current comparator output is a digital logic signal. In this example embodiment, the threshold voltage is based on the reference current and the threshold voltage of transistor N9320 of
During the pre-charge phase, the pre-charge circuit 208 is configured to pre-charge a capacitive node PC 225 within the error amplifier 212 when a voltage on the capacitive node is less than a voltage of the bias signal Vbias 226, and to pulldown the bandgap reference voltage output VBG 227 when the bandgap reference voltage output VBG 227 is less than the predetermined threshold voltage as determined by the bandgap voltage sense circuit 206.
In this example embodiment, PTAT current generator and scaling circuit 202 includes transistors P1-P4 and N1-N8, along with resistor R1. It is configured to produce a reference current proportional to the absolute temperature and supply a reference voltage corresponding to that current to other circuits within the startup system 200. In this embodiment the reference voltage includes two signals IPTAT-A 221 and IPTAT-B 222 that are used by current mirrors in other circuits to produce currents corresponding to the reference current within PTAT current generator and scaling circuit 202. IPTAT-A 221 and IPTAT-B 222 are also used in a comparison with the bandgap reference voltage output VBG 227 within the bandgap voltage sense circuit 206 to determine when the bandgap reference voltage output VBG 227 is less than the reference voltage.
Bandgap voltage sense circuit 206 includes transistors P5318, P6319, N9320, and N10321. It receives the bandgap reference voltage output VBG 227 which is coupled with the gate of N9320 from the bandgap core circuit 214. It also receives IPTAT-A 221 and IPTAT-B 222 from the PTAT current generator and scaling circuit 202 and uses them to compare VBG 227 to a reference voltage corresponding to the reference current proportional to the absolute temperature. It produces outputs VBG_HIGH 301 and VBG_LOW 302 that are used to control a transfer gate (P10314 and N13315) within bandgap startup pulldown circuit 204.
Bandgap startup pulldown circuit 204 includes transistors P7311, P8312, P9313, P10314, N11316, N12317 and N13318. Transistors P10314 and N13315 form a transfer gate controlled by signals VBG_HIGH 301 and VBG_LOW 302 and configured to pulldown Vbias 226 when the transfer gate is open.
In this example embodiment, pre-charge circuit 208 includes transistors P11401, P12402, N14404, N21403, and N22405. N14404 is configured to pull VBG 227 to ground when activated. Pre-charge circuit 208 receives control signal IPTAT-A 221 from the PTAT current generator and scaling circuit 202 and uses it to pre-charge high capacitive nodes within error amplifier 212. When activated, pre-charge circuit 208 drives the pre-charge signal PC 225 to pre-charge the gates of transistors N17416, N18413, and N19410 within error amplifier 212.
The bandgap current bias circuit 210 includes transistors P18406 and N20407. P18406 mirrors the bandgap current flowing through T1160 and causes it to flow through N20407. N2407 mirrors this current into N17416, N18413, and N19410 which in turn set bias currents within error amplifier 212.
Error amplifier 212 includes transistors P14411, P15408, P16412, P17409, N15414, N16415, N17416, N18413, and N19410. During startup the gates of transistors N17416, N18413, and N19410 are pre-charged by pre-charge circuit 208. The error amplifier 212 has a first input (the gate of N16415) coupled with the first bandgap voltage output V1103 and a second input (the gate of N15414) coupled with the second bandgap voltage output V2104. It is configured to output a bias signal Vbias 226 based at least in part on the first bandgap voltage output V1103 and the second bandgap voltage output V2104. In some embodiments, the error amplifier 212 is implemented as an operational amplifier circuit.
Bandgap core circuit 214 includes a bandgap voltage reference circuit 430 such as bandgap voltage reference circuit 110 from
In this example embodiment, transistors PNP1422 and PNP2423 are identical, and resistors R1418, R2419, R3420, and R4421 are selected to produce substantially different currents through transistors PNP1422 and PNP2423. Some example embodiments are configured to produce a 10:1 ratio of currents through transistors PNP1422 and PNP2423. The difference between these currents corresponds to a difference between the first bandgap voltage output V1103, and the second bandgap voltage output V2104. Each of the voltage outputs has a temperature coefficient. Error amplifier 212 provides feedback to bandgap core circuit 214 via Vbias 226 which controls the overall current through transistors PNP1422 and PNP2423 resulting in the bandgap reference voltage output VBG 227 having a very low temperature coefficient.
This example test circuit 500 includes the bandgap voltage reference circuit 110, error amplifier 150, startup circuit 130, and bandgap adjustment transistor T1160, all from
However, due to capacitive nodes within the error amplifier 150, the output OUT 501 of the error amplifier 150 has not yet stabilized enough to properly drive the gate of T1160, and the bandgap adjustment transistor T1160 remains open further driving up the bandgap reference voltage output VBG 503.
At time T1610 of the simulation, the error amplifier 150 fails to regulate the bandgap loop, OUT 501 quickly rises, and the error amplifier 150 turns off the bandgap adjustment transistor T1160, and because of this, VBG 503 begins to drop below the threshold voltage for the startup circuit 130. Once the bandgap reference voltage output VBG 503 drops below the threshold value, the startup circuit 130 again pulls the gate of the bandgap adjustment transistor T1160 to ground, opening the bandgap adjustment transistor T1160 and driving the bandgap reference voltage output VBG 503 from the power supply VDDS. Depending on the speed that the error amplifier X1150 begins operation, this ringing of the bandgap reference voltage output VBG 503 may be severe.
In a first simulation, VBG 503 is illustrated in curve 706 and is seen to rise slowly from 0V to its normal operational value of 1.21V over a period of time. At observation point 710 and time T1722, VBG 503 has only risen to 473 mV at point 714 while, VDDS has risen to 2.533V at point 712. Voltages at this observation point 710 may be undesirable as they may lead to multiple stable operating points as illustrated in
In a second simulation, VBG 503 is illustrated in curve 708 after pre-charge circuit 120 and pulldown 140 from
In this example simulation, the input IN 502 to the gate of the bandgap adjustment transistor T1160 is ramped from a high voltage (2.533V) to ground, and the output OUT 501 of the error amplifier 150, is simulated in curve 806 where it is seen to briefly spike above the input IN 502 to the gate of the bandgap adjustment transistor T1160 at point 822, resulting in a potentially undesirable operating point, where VBG 503 is at 473 mV at point 820. Another potentially undesirable operating point occurs when OUT 501 drops back across IN 502. At time T2812, OUT 501 stabilizes at 2.533V, crossing IN 502 at point 832, corresponding to a desired operating point with VBG 503 at 1.21V at point 830.
In a second simulation, OUT 501 is illustrated in curve 808 after pre-charge circuit 120 and pulldown 140 from
At initial state 904, the bandgap core circuit 214 is disabled and Enable_BGAP is low. When the power supply VDDS crosses a power supply threshold voltage, Enable_BGAP is enabled, control transfers to state 906 while the bandgap reference voltage output VBG 227 is compared to the predetermined threshold voltage. If the bandgap reference voltage output VBG 227 is greater to or equal than the predetermined threshold voltage control is passed to state 908, which will be described further below.
If the bandgap reference voltage output VBG 227 is less than the predetermined threshold voltage, pre-charge states 914 are initiated and control passes to state 916, where the bandgap reference voltage output VBG 227 is pulled to ground by the pulldown transistor N14404 of
In state 920, pulldown transistor N14404 of
State 912 is used to compare the output of error amplifier 212 and a bandgap bias current to a multiple of the reference current from PTAT current generator and scaling circuit 202. While the output of error amplifier 212 and the bandgap bias current are greater than the multiple of the reference current from PTAT current generator and scaling circuit 202, the bandgap core circuit 214 is functioning correctly and the signal VBG_OK is asserted. Otherwise, the signal VBG_OK is de-asserted indicating an error condition.
The included descriptions and figures depict specific embodiments to teach those skilled in the art how to make and use the best mode. For the purpose of teaching inventive principles, some conventional aspects have been simplified or omitted. Those skilled in the art will appreciate variations from these embodiments that fall within the scope of the invention. Those skilled in the art will also appreciate that the features described above may be combined in various ways to form multiple embodiments. As a result, the invention is not limited to the specific embodiments described above, but only by the claims and their equivalents.
A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
A circuit or device that is described herein as including certain components may instead be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.
While certain components may be described herein as being of a particular process technology, these components may be exchanged for components of other process technologies. Circuits described herein are reconfigurable to include the replaced components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the shown resistor. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same terminals. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two terminals as the single resistor or capacitor.
Uses of the phrase “ground voltage potential” in the foregoing description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. In this description, unless otherwise stated, “about,” “approximately” or “substantially” preceding a parameter means being within +/−10 percent of that parameter. Modifications are possible in the described examples, and other examples are possible within the scope of the claims.