Field of the Invention
This invention relates generally to integrated circuits, and more particularly to a circuit for generating a substrate bias voltage for an integrated circuit.
Background of the Invention
In the design of integrated circuits having MOS (metal-oxide semiconductor) transistors, it is sometimes important to provide a stable bias voltage to a substrate of the integrated circuit. One reason to provide a bias voltage is to prevent local coupling that may inadvertantly forward bias PN junctions on the integrated circuit. Another reason to provide a bias voltage to the substrate of an integrated circuit is to control the threshold voltage (V.sub.T) of the MOS transistors. The V.sub.T of a MOS transistor is the minimum gate voltage required to form a conductive channel between the source and drain regions. The V.sub.T of a MOS transistor may be varied to improve performance of an integrated circuit. As integrated circuits having MOS transistors are required to operate at lower power supply voltages it becomes more important to be able to control V.sub.T accurately. Also, as the size of the MOS transistors are reduced (below about 0.5 micron), in an effort to increase density, the V.sub.T becomes very sensitive to changes in the substrate bias voltage.
A typical substrate bias circuit includes a level detection circuit, an oscillator, and a charge pump. The level detection circuit monitors the level of the substrate bias voltage and provides a control signal to activate or deactivate the oscillator. When activated, the oscillator provides timing signals to control the output of the charge pump. The output of the charge pump is fed back to the level detector to control the level of the substrate bias voltage.
However, the typical level detection circuit does not provide the accuracy needed in order to precisely control and stabilize V.sub.T when the MOS transistors are scaled down. Also, temperature and process variations can change the operating characteristics of integrated circuits, and can produce wide variations in MOS transistor performance. In addition, variations in the power supply voltage can affect the output of the substrate bias circuit, making it more difficult to provide a stable substrate bias voltage.
Summary of the Invention
Accordingly, there is provided, in one form, a substrate bias generating circuit for providing a substrate bias voltage. The substrate bias generating circuit includes a first current source, a voltage level sensing circuit, an oscillator, and a charge pump. The first current source has a first terminal coupled to a first power supply voltage terminal, and a second terminal. The second terminal provides a first substantially constant current proportional to a reference voltage. The voltage level sensing circuit has a first resistor, and senses when a magnitude of the substrate bias voltage decreases below a predetermined voltage drop across the first resistor. In response, the voltage level sensing circuit provides a first control signal. The oscillator is coupled to the voltage level sensing circuit, and produces a series of pulses at a predetermined frequency in response to the first control signal. The charge pump has an input node coupled to the oscillator for receiving the series of pulses, and an output node for providing the substrate bias voltage in response to the series of pulses. These and other features and advantages will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.
Brief Description of the Drawings
The sole FIGURE illustrates in partial schematic diagram form and partial block diagram form a substrate bias generating circuit in accordance with the present invention.
Description of a Preferred Embodiment
The sole FIGURE illustrates in partial schematic diagram form and partial block diagram form substrate bias generating circuit 20 in accordance with the present invention. Substrate bias generating circuit 20 includes voltage-to-current converter circuit 22, P-channel transistors 34 and 35, voltage level sensing circuit 36, N-channel transistor 42, level converter circuit 43, oscillator 47, and charge pump 49.
Voltage-to-current converter circuit 22 includes differential amplifier 23, P-channel transistor 31, and resistor 32. Differential amplifier 23 includes current mirror 24, bipolar NPN transistors 27 and 28, and resistor 29. Current mirror 24 includes P-channel transistors 25 and 26. P-channel transistor 25 has a source connected to a first power supply voltage terminal labeled "V.sub.DD ", a gate, and a drain connected to node 101. P-channel transistor 26 has a source connected to V.sub.DD, and a gate and a drain connected to the gate of P-channel transistor 25. Bipolar transistor 27 has a collector connected to the drain of P-channel transistor 25 at node 101, a base connected to an output terminal of bandgap voltage generating circuit 21, for receiving a bandgap generated reference voltage labeled "V.sub.BG ", and an emitter. Bipolar NPN transistor 28 has a collector connected to the drain of P-channel transistor 26, a base connected to node 102, and an emitter connected to the emitter of NPN transistor 27. Resistor 29 has a first terminal connected to the emitters of NPN transistors 27 and 28, and a second terminal connected to a second power supply voltage terminal labeled "V.sub.SS ". P-channel transistor 31 has a source connected to V.sub.DD, a gate connected to the drain of P-channel transistor 25 at node 101, and a drain connected to the base of NPN transistor 28 at node 102. Resistor 32 has a first terminal connected to the drain of P-channel transistor 31 at node 102, and a second terminal connected to V.sub.SS.
P-channel transistor 34 has a source connected to V.sub.DD, a gate connected to the gate of P-channel transistor 31, and a drain. P-channel transistor 35 has a source connected to V.sub.DD, a gate connected to the gate of P-channel transistor 31, and a drain connected to node 104. P-channel transistor 34 and 35 are constant current sources for providing a relatively constant current to voltage level sensing circuit 36.
Voltage level sensing circuit 36 includes resistors 38 and 39, and N-channel transistor 41. Resistor 38 has a first terminal connected to the drain of P-channel transistor 34, and a second terminal connected to node 103. Resistor 39 has a first terminal connected to the second terminal of resistor 38 at node 103, and a second terminal. N-channel transistor 41 has a drain connected to the drain of P-channel transistor 35 at node 104, a gate connected to the second terminal of resistor 38 at node 103, and a source connected to V.sub.SS. Node 104 is an output node of voltage level sensing circuit 36 for providing a first control signal. Diode-connected N-channel transistor 42 has a gate and a drain connected to the second terminal of resistor 39, and a source and a substrate terminal for receiving a substrate bias voltage labeled "V.sub.BB ".
Level converter circuit 43 includes P-channel transistor 44 and N-channel transistor 45. P-channel transistor 44 has a source connected to V.sub.DD, a gate connected the gate of P-channel transistor 31, and a drain connected to node 105. N-channel transistor 45 has a drain connected to the drain of P-channel transistor 44 at node 105, a gate connected to the drain of N-channel transistor 41 at node 104, and a source connected to V.sub.SS. Node 105 is an output node of level converter 43 for providing a second control signal. Note that all of the N-channel transistors and P-channel transistors are MOS transistors and have their substrate terminals connected to V.sub.SS, except for N-channel transistor 42, which has its substrate terminal coupled to its source for receiving substrate bias voltage V.sub.BB.
Oscillator 47 has an input terminal connected to the drain of P-channel transistor 44 at node 105, and an output terminal. Charge pump 49 has an input terminal connected to the output terminal of oscillator 47, and an output terminal for providing substrate bias voltage V.sub.BB to semiconductor substrate 50.
In the preferred embodiment, substrate bias generating circuit 20 provides a precisely controlled substrate bias voltage V.sub.BB to an isolated P- well in an SRAM (not shown) that has a triple well structure. In a triple well structure, the memory cell array is contained in a P- well. Only the P- substrate well housing the cell array is biased in order to avoid affecting the operation of peripheral circuits housed in other wells. The triple well structure is used because it provides increased immunity to soft error caused by alpha particle emissions.
In operation, substrate bias voltage V.sub.BB is provided at the output terminal of charge pump 49. Voltage level sensing circuit 36 monitors the voltage level of substrate bias voltage V.sub.BB and provides the first control signal at node 104 to activate or deactivate oscillator 47. When the voltage at node 103 rises above the threshold voltage of N-channel transistor 41, indicating that substrate bias voltage V.sub.BB has risen above the predetermined voltage level, N-channel transistor 41 is conductive, which causes oscillator 47 to be activated. When the voltage at node 103 is below V.sub.T, indicating that substrate bias voltage V.sub.BB is below the predetermined voltage level, N-channel transistor 41 substantially non-conductive, which causes oscillator 47 to be deactivated. Oscillator 47 is a conventional ring oscillator for providing a clock signal to charge pump 49 at a predetermined frequency. Charge pump 49 is a conventional charge pump for "pumping down" the voltage level of P- substrate well 50. P- substrate well 50 is pumped down to a predetermined voltage level below the lower power supply voltage (usually a negative voltage). The amount P- substrate well 50 is pumped down may be adjusted, depending on the particular application.
When voltage level sensing circuit 36 senses, or detects that substrate bias voltage V.sub.BB has increased above the predetermined voltage level, the voltage at node 103 becomes high enough to make N-channel transistor 41 conductive. The first control signal at node 104 becomes a low voltage, causing N-channel transistor 45 to be substantially non-conductive. The second control signal at node 105 is therefore a logic high, thus activating oscillator 47. Level converter 43 level converts, or amplifies the analog voltage levels of the first control signal to logic levels with sufficient voltage swing to reliably activate and deactivate oscillator 47. When activated, oscillator 47 provides a clock signal to activate charge pump 49. Charge pump 49 provides substrate bias voltage V.sub.BB to P- substrate 50. When substrate bias voltage V.sub.BB is reduced to the predetermined voltage level, voltage level sensing circuit 36 provides the first control signal as a high voltage at node 104, which is provided to the gate of N-channel transistor 45. N-channel transistor 45 becomes conductive, causing the second control signal at node 105 to become a logic low to deactivate oscillator 47, which in turn deactivates charge pump 49.
V.sub.BG generator 21 is a conventional bandgap voltage generator circuit. A conventional bandgap voltage generator uses the bandgap voltage of silicon to provide a stable reference voltage. For this application, bandgap voltage is equal to about 1.26 volts and is independent of the power supply voltage.
Voltage-to-current converter circuit 22 generates an output current proportional to bandgap generated reference voltage V.sub.BG. Bandgap generated reference voltage V.sub.BG is provided to the base of NPN transistor 27 of voltage-to-current converter circuit 22, causing a collector current designated as I.sub.27 to flow through NPN transistor 27. This current is "mirrored" by current mirror 24, causing a collector current designated as I.sub.28 to flow through NPN transistor 28. P-channel transistor 31 receives a gate voltage from the collector of transistor 27 at node 101. Node 101 is an output node of differential amplifier 23. P-channel transistor 31 and resistor 32 complete a feedback path from the collector of NPN transistor 27 at node 101 to the base of NPN transistor 28, causing node 102 to follow the voltage variations at the base of NPN transistor 27. Therefore, the voltage at node 102 is approximately equal to bandgap reference voltage V.sub.BG. Current I.sub.27 is equal to current I.sub.28 if the sizes of NPN transistors 27 and 28 are the same and current mirror 24 is symmetrical. Assuming NPN transistor 28 has negligible base current, a drain current through P-channel transistor 31, designated as I.sub.31, is equal to approximately V.sub.BG divided by R.sub.32, where R.sub.32 is the resistance of resistor 32. Since bandgap generated reference voltage V.sub.BG is constant, current I.sub.31 is relatively constant assuming R.sub.32 is constant. Therefore, P-channel transistor 31 provides a relatively constant current source based on bandgap generated reference voltage V.sub.BG.
A first current, designated as I.sub.34, through P-channel transistor 34 mirrors current I.sub.31. Also, a second current, designated as I.sub.35, through P-channel transistor 35 mirrors current I.sub.31. The percentage of current mirrored by P-channel transistors 34 and 35 depends on the relative dimensions and sizes of P-channel transistors 34 and 35 to those of P-channel transistor 31. Therefore, I.sub.34 =.eta.I.sub.31, where .eta. is the percentage of current being mirrored. If I.sub.31 =V.sub.BG /R.sub.32, as discussed above, then I.sub.34 =.eta.V.sub.BG /R.sub.32. Thus, P-channel transistors 34 and 35 are also relatively constant Current sources based on bandgap generated reference voltage V.sub.BG, and are therefore independent of V.sub.DD. N-channel transistor 44 also provides a substantially constant current source for level converter 43.
A voltage at node 103 (the gate-to-source voltage of N-channel transistor 41), designated as V.sub.103, is equal to about I.sub.34 R.sub.39 +V.sub.DS42 -.vertline.V.sub.BB .vertline., where R.sub.39 is the resistance of resistor 39, V.sub.DS42 is the drain-source voltage of N-channel transistor 42, and .vertline.V.sub.BB .vertline. is the absolute value, or magnitude of substrate bias voltage V.sub.BB. From the above equation for V.sub.103, it is clear that
N-channel transistor 42 is diode connected and compensates for temperature and process variations of N-channel transistor 41. V.sub.DS42 is approximately equal to V.sub.103 if N-channel transistor 42 is the same size as N-channel transistor 41 and if they are positioned at approximately the same location and orientation on the integrated circuit. If that is the case, V.sub.DS42 .apprxeq.V.sub.103 and
Since current I.sub.34 is based on bandgap generated reference voltage V.sub.BG, as shown above, and resistor 39 compensates for the temperature and process variations of resistor 32, then substrate bias voltage V.sub.BB has approximately the same accuracy and stability as bandgap generated reference voltage V.sub.BG, and is therefore independent of the power supply voltage.
The voltage level of substrate bias voltage V.sub.BB, may be easily adjusted by varying the value of R.sub.39. However, the particular voltage level of substrate bias voltage V.sub.BB also depends on the limitations of the particular charge pump circuit used for charge pump 49.
In a preferred embodiment, V.sub.DD is at ground potential and V.sub.SS is supplied with a power supply voltage equal to approximately -5.0 volts. However, in other embodiments, V.sub.DD may be supplied with a positive power supply voltage with V.sub.SS at ground potential.
Substrate bias generating circuit 20 therefore provides the advantage of precisely controlling substrate bias voltage V.sub.BB that is based on bandgap generated reference voltage V.sub.BG and is independent of process, temperature, and power supply variations.
While the invention has been described in the context of a preferred embodiment, it will be apparent to those skilled in the art that the present invention may be modified in numerous ways and may assume many embodiments other than that specifically set out and described above. For example, even though substrate bias generating circuit 20 has been disclosed in a preferred embodiment for pumping down a P- substrate well, it may also be used anywhere a precisely controlled negative voltage is required. Accordingly, it is intended by the appended claims to cover all modifications of the invention which fall within the true spirit and scope of the invention.