US 20050040806 A1
A voltage monitor having a bandgap reference circuit driven by a voltage to be monitored. The bandgap reference circuit produces a voltage and a second voltage that each vary with the voltage to be monitored. The magnitudes of these voltages are compared by an open loop comparator to provide a high speed output state. The output of the voltage monitor can be used to monitor a supply voltage and produce a reset signal to a processor if the supply voltage falls to a magnitude below a specified threshold.
1. An integrated circuit with a voltage monitor circuit, for monitoring the supply voltage of the integrated circuit, which integrated circuit is processor based, comprising:
an open loop bandgap detection circuit having first and second pn junctions, said open loop bandgap detection circuit driven by the supply voltage to be monitored;
a first node associated with said first pn junction for providing a first voltage and driven by said open loop bandgap detection circuit, which said first voltage varies as a function of the voltage to be monitored at a first rate;
a second node associated with a second pn junction that provides a second voltage and driven by said open loop bandgap detection circuit, which said second voltage varies as a function of the voltage to be monitored at a second rate different than said first rate; and
a comparator circuit having a first input coupled to a voltage produced by said first node, and a second input coupled to a voltage produced by said second node to determine when said first and second voltages are within a predetermined separation and polarity, and provide as an output a reset signal to the processor.
2. The integrated circuit of
3. The integrated circuit of
4. The integrated circuit of
5. The integrated circuit of
6. The integrated circuit of
7. The integrated circuit of
8. The integrated circuit of
9. The integrated circuit of
10. The integrated circuit of
11. The integrated circuit of
12. An integrated circuit with a voltage monitor circuit, for monitoring the supply voltage of the integrated circuit, which integrated circuit is processor based, comprising:
a first resistor having a first terminal and a second terminal;
a first pn junction device having a first terminal and a second terminal, the first terminal of said first pn junction device connected in series with the second terminal of said first resistor to define a first node;
a second resistor having a first terminal and a second terminal, the supply voltage to be monitored being coupled to the first terminals of said first and second resistors;
a third resistor having a first terminal and a second terminal, the first terminal of said third resistor connected to the second terminal of said second resistor to define a second node;
a second pn junction device having a first terminal and a second terminal, the first terminal of said second pn junction device connected to the second terminal of said third resistor;
the second terminals of said first and second pn junction devices connected to a common potential;
the voltage on said first node varying as a function of the voltage to be monitored at a first rate, and the voltage on said second node varying as a function of the voltage to be monitored at a second rate different than said first rate; and
a comparator circuit having a first input coupled to the first node, and said comparator circuit having a second input coupled to the second node, and an output of said comparator circuit providing an output of said voltage monitor circuit, and provide the output as a reset signal to the processor.
13. The integrated circuit of
14. A method of monitoring a supply voltage on an integrated circuit, which integrated circuit is processor based, comprising the steps of:
applying to a supply input on the integrated circuit a voltage to be monitored as the supply voltage to an open loop bandgap detection circuit;
generating by the said open bandgap detection circuit a first voltage associated with current driven through a first nonlinear device and a second voltage associated with current driven through a second nonlinear device that each vary with the voltage to be monitored;
comparing with a comparator circuit the first voltage with the second voltage, and providing an output indicating a condition of the voltage to be monitored, and applying it to a processor on the integrated circuit as a reset signal.
15. The method of
16. The method of
17. The integrated circuit of
18. The integrated circuit of
19. The method of
20. The method of
This is a Continuation application of U.S. Ser. No. 10/430,517, filed on May 6, 2003, entitled PROCESSOR BASED INTEGRATED CIRCUIT WITH A SUPPLY VOLTAGE MONITOR USING BANDGAP DEVICE WITHOUT FEEDBACK (Atty. Dkt. CYGL-26,365), which is a Continuation of U.S. application Ser. No. 09/901,851 filed Jul. 9, 2001, identified by attorney docket number CYGL-25,717 and entitled “SUPPLY VOLTAGE MONITOR USING BANDGAP DEVICE WITHOUT FEEDBACK,” the entire disclosure of which is incorporated herein by reference.
This invention relates in general to circuits for monitoring the magnitude of voltages, and more particularly to bandgap reference circuits that do not utilize feedback amplifiers for driving the bandgap devices.
Most electrical circuits require a supply voltage for powering the various components of the circuits. Supply voltages themselves are generally maintained within specified limits to assure proper operation of the circuits powered thereby. There are many types of regulator circuits that maintain the supply voltage within prescribed limits. In order to monitor the supply voltage and determine whether it is operating within its limits, a stable reference voltage is used for comparison with the supply voltage. In the event that the supply voltage is too far above the operating range, or too low, an output of the voltage monitor circuit can be used to deactivate the voltage supply itself, or disable the powered circuits so that unreliable circuit operation does not occur.
Voltage monitor circuits are especially useful in processor controlled circuits so that if the supply voltage becomes too low, the processor can be disabled or maintained in a reset condition so that improper processor operation does not occur. In this way, the processor will not process instructions with circuits of the processor operating in an unreliable condition, due to inadequate supply voltages.
There are many other electrical circuits that require a reference voltage in order to compare a stable voltage with an unknown voltage. A reference voltage is a necessary circuit in many analog voltage circuits, such as A/D and D/A converters. Analog comparators in general employ a reference voltage on one input thereof, and the unknown voltage on the other input. The state of the comparator output is an indication of whether the unknown voltage is above or below the known reference voltage.
Circuit designers have typically relied on bandgap circuits to generate precision reference voltages that are stable and highly independent of temperature. The bandgap voltage of a semiconductor junction is utilized in many reference voltage circuits to produce a stable and known voltage. It is well known that the bandgap voltage of a silicon pn junction is about 1.21 volts.
One bandgap reference voltage circuit that is of a typical design is shown in
When the feedback amplifier 26 is operating in a state of equilibrium, the junction voltages of the diodes 12 and 14 are somewhat different, due to the difference injunction area. The difference in the junction voltages is reflected across the resistor 20. When the voltages at nodes 22 and 24 are substantially equal, the output 28 of the feedback amplifier 26 is ideally the temperature compensated bandgap voltage of about 1.25 volt.
When utilized to monitor a supply voltage, the reference voltage Vref at the output 28 of the circuit 10 can be coupled to the noninverting input of a comparator 30. The supply voltage (Vdd) is connected to a resistor divider which includes resistors 32 and 34. The node 36 between resistors 32 and 34 is coupled to the inverting input of the comparator 30. The voltage of the node 36 is the threshold voltage which establishes the lower limit of the supply voltage. When the supply voltage is reduced in magnitude, for whatever reason, the threshold voltage at node 36 of the divider will be lowered in an amount proportional to the values of the resistors 32 and 34. If the voltage at node 36 goes below the reference voltage Vref, then the output of the comparator 30 will be driven to a high state. The output of the comparator 30 can be used as a reset signal to a processor to prevent operation thereof when the supply voltage is below a prescribed magnitude. In the event that the supply voltage returns to an acceptable magnitude, the output of the comparator 30 will switch to the other state and allow the processor to resume processing instructions.
While the reference voltage circuit 10 of
From the foregoing, it can be seen that need exists for a bandgap circuit configuration that is fast reacting, requires less power supply current, and can operate at low supply voltages. A need exists for a voltage monitor circuit that is well adapted for use with reset circuits of processors.
The present invention disclosed and claimed herein, in one aspect thereof, comprises a bandgap voltage reference circuit coupled to a comparator. The comparator does not provide feedback for powering the bandgap circuit, thereby improving the response time of the reference voltage circuit. Rather, the bandgap circuit is driven directly by the supply voltage which, when the voltage thereof falls below a threshold, or rises above the threshold, the output of the comparator changes in a corresponding manner. By using a comparator rather than a feedback amplifier coupled to the bandgap circuit, the voltage monitor circuit can function in a high speed manner with lower supply voltages.
Voltages other than supply voltages can be monitored by simply driving the bandgap circuit of the invention with such voltage.
In accordance with other aspects of the invention, the resistors of the bandgap reference circuit can be fabricated in the semiconductor material, using shared resistors associated with both of the diodes of the bandgap reference circuit. Also, some of the semiconductor resistors can be fabricated as two separate resistors, thereby allowing more precise resistor values.
In accordance with yet another feature of the invention, the comparator circuit can be designed as a fine comparator that is highly sensitive, and a coarse comparator that continues to function at low voltages when the fine comparator would not otherwise be able to function properly.
Another feature of the invention includes circuitry that can enable and disable the bandgap reference circuit. The enable/disable circuitry can disable the bandgap circuit and drive the output of the comparator circuit to a predefined state. This feature is useful in processor circuits where, if the supply voltage is too low and would otherwise keep the processor in a reset state, the output state of the bandgap reference circuit can be driven to a state that allows the processor to operate, if possible, with the low supply voltage.
Further features and advantages will become apparent from the following and more particular description of the preferred and other embodiments of the invention, as illustrated in the accompanying drawings in which like reference character generally refer to the same parts or elements throughout the views, and in which:
With reference now to
The bandgap circuit 38 is connected to a comparator 44, rather than to a feedback amplifier 26 as shown in
One terminal of each of the resistors 16 and 18 is connected to the voltage to be monitored. If the supply voltage is being monitored, then the supply voltage (Vdd) is connected to the resistors 16 and 18 as shown. For any voltage being monitored by the reference circuit 38, the voltage at nodes 22 and 24 will vary with variations in the monitored voltage. However, when the voltage being monitored crosses the temperature compensated bandgap voltage of about 1.25 volts, the output of the comparator 44 will change. The state of the output of the comparator 44 indicates whether the voltage being monitored is greater are less than the reference bandgap voltage. The function of optional scaling resistors 40 and 42 will be described below.
The bandgap circuit 38 voltage is highly independent of the temperature of the circuit, and independent of the processing variations inherent in the fabrication of the pn junctions. The value of resistor 18 is made to exactly match that of resistor 16. Because both resistors 16 and 18 are coupled to the same voltage, namely Vdd in the example, the bandgap circuit 38 integrated with the comparator 44 is utilized to provide an output logic state, rather than having to use a feedback amplifier 26 with the bandgap circuit 10, in addition to a separate comparator 30 and resistor divider, as shown in
Because there is no amplifier feedback involved in the bandgap reference of
In the event that one desires to compare the voltage to be monitored with a voltage other than the 1.25 volt temperature compensated bandgap voltage, then the scaling resistors 40 and 42 can be bridged across the respective diodes 12 and 14. Preferable, the resistance of resistor 40 is the same as that of resistor 42. With this configuration, the reference voltage can be varied so as to be greater than 1.25 volts. Those skilled in the art can readily determine the resistance of resistors 40 and 42 that is necessary to achieve a desired reference voltage. More particularly, the ratio of resistor 16 and scaling resistor 40 (and the ratio of resistor 18 and scaling resistor 42) determines the extent that the voltage to be monitored is scaled upwardly. Other scaling circuits can be devised by those skilled in the art to achieve a reference voltage less than the bandgap voltage.
The output of the comparator 44 can be used as a reset signal (RST) for controlling the operation of a processor, microcontroller, microprocessor or other programmed circuit. If the supply voltage has a magnitude greater than the bandgap reference voltage, then the RST output of the comparator 44 is low and the processor is not forced into a reset condition. If, on the other hand, the supply voltage becomes lower than the bandgap reference voltage, then the output of the comparator 44 is driven to a high state, thereby forcing the processor to a reset state. In the event that the supply voltage returns to the proper magnitude, then the comparator output returns to the low state without second order transients, and allows the processor to resume operations in a fast and reliable manner.
While the bandgap reference described in connection with
Reference is now made to
The bandgap reference circuit 52 includes a first bipolar transistor 62 that is connected as a diode. In like manner, also included is a second bipolar transistor 64 connected as a diode. The semiconductor resistors connected to the respective diodes 62 and 64 are formed as plural individual resistors to facilitate the fabrication of precision resistors in the semiconductor material. It is well known that a single large-value resistor is more difficult to make, as compared to plural smaller resistors connected together to achieve the same value. Accordingly, resistors 66, 68 and 70 correspond to resistor 16 of
By using a common resistor 66, the number and area required for the resistors is minimized. The resistors 68 and 70 are fabricated as two individual resistors connected in series to achieve a more predictable resistance, as compared to fabricating a single larger resistor. Resistors 72 an 74 are fabricated as two resistors for the same reasons as resistors 68 and 70. Resistor 76 functions to shift the level of the voltage at node 80 to assure a suitable voltage range for driving the n-channel transistors of the fine comparator 56. The resistor 78 corresponds to the resistor 76 and provides a similar level shifting function for the voltage provided at node 82.
Resistors 84 and 86 are scaling resistors that correspond to the resistor 40 of
The supply voltage monitor 50 of
The bias circuit 54 provides the necessary bias voltages for the fine comparator 56. The fine comparator 56 has a noninverting input 96 for sensing the bandgap reference voltage at node 82 of the bandgap reference circuit 52. The fine comparator 56 has an inverting input 98 for sensing the voltage to be monitored at node 80. The fine comparator 56 is designed to be highly sensitive to the differences between the voltages to be compared. To that end, the fine comparator 56 operates at low supply voltages, but when the supply voltage drops too low, the fine comparator 56 ceases to function. In this situation, the coarse comparator 58 resumes operation to carry out the comparison, albeit in a less sensitive manner. The coarse comparator 58 functions in a single-ended manner to provide logic output states corresponding to the results of the comparison.
The logic circuit 60 is adapted to provide a logic output of a desired state when the bandgap reference circuit is disabled. Indeed, the bandgap reference circuit 52 can be disabled by driving the enable signal on input 94 low. This drives the en_b signal on line 100 to a logic high, which turns off the enable transistor 90, thereby disconnecting the supply voltage from the bandgap reference circuit 52. The logic low on the enable input 94 is also coupled to transistor 102 of the logic circuit 60. When driven to a logic low, transistor 102 conducts and drives the RST signal output of the bandgap reference 50 to a logic high. This logic state of the RST signal indicates to the processor, or to other circuits, that the supply voltage is within prescribed limits, when indeed the opposite may be the case. Thus, when a supply voltage that is too low to permit proper operation of the processor, the processor can nevertheless be allowed to continue operation by asserting the enable signal on input 94 to a low state.
In view of the foregoing, a precision supply voltage monitor has been disclosed, which is a more efficient circuit in terms of speed of operation, fewer components, and operates at a lower power supply voltage.
Although the preferred and other embodiments have been described in detail, it should be understood that various changes, substitutions and alterations can be made therein without departing from the spirit and scope of the invention, as defined by the appended claims. For example, two voltage monitor circuits can be used to determine whether a voltage is within a given range. Also, the voltage monitor circuit can be configured to determine if a voltage is above a given threshold. As can be appreciated, the voltage monitor of the invention can be utilized in many applications.