WO1999030173A1 - System and method for programmable brown-out detection and differentiation - Google Patents

System and method for programmable brown-out detection and differentiation Download PDF

Info

Publication number
WO1999030173A1
WO1999030173A1 PCT/US1998/026375 US9826375W WO9930173A1 WO 1999030173 A1 WO1999030173 A1 WO 1999030173A1 US 9826375 W US9826375 W US 9826375W WO 9930173 A1 WO9930173 A1 WO 9930173A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
voltage
switch
value
brown
Prior art date
Application number
PCT/US1998/026375
Other languages
French (fr)
Inventor
Bruce L. Inn
Original Assignee
Scenix Semiconductor, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Scenix Semiconductor, Inc. filed Critical Scenix Semiconductor, Inc.
Publication of WO1999030173A1 publication Critical patent/WO1999030173A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16504Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed
    • G01R19/16519Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed using FET's
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • G01R19/16538Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
    • G01R19/16547Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies voltage or current in AC supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • G01R19/16538Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
    • G01R19/16552Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies in I.C. power supplies

Definitions

  • the invention relates to the field of computer microcontrollers and more particularly to the field of programmable brown-out detection in a microcontroller environment.
  • Microcontrollers are devices that can control the operation of many items, e.g., braking systems in automobiles, automatic water sprinklers, and cellular telephones. Microcontrollers generally receive power from a supply voltage that is external to the microcontroller. In order to ensure proper operation, many conventional microcontrollers employ a brown-out detection system for detecting drops in the voltage level of a signal received from the supply voltage.
  • Brown-out detection systems detect when a supply voltage level drops below a minimum level that is necessary for proper operation of the microcontroller and/or the item using the microcontroller. Brown-out detection systems protect the microcontroller against total power failure and against "dips" in the received voltage signal .
  • the received voltage signal is compared with a predetermined voltage reference signal. If the received voltage signal drops below the predetermined voltage reference signal the microcontroller issues a reset signal which ensures that the microcontroller will not operate with a low input voltage which, otherwise, can result in a malfunction of the microcontroller.
  • a problem with such conventional systems is the requirement that the reference voltage and the ratio between the supply voltage and a voltage supply comparison voltage be predetermined.
  • Another problem with conventional brown-out detection systems is that they are not capable of distinguishing between a real brown-out condition from mere signal noise without expensive circuitry which requires additional elements, e.g., hysteresis logic.
  • a true brown-out event may correspond to a sustained drop m the level of the received voltage signal or may correspond to a fast deep drop in the voltage signal level.
  • transitory noise from input/output (I/O) switching can cause relatively shallow dips of the supply voltage which drop below the reference voltage and quickly return to an acceptable voltage level.
  • Conventional brown-out detection circuits immediately initiates a microcontroller reset after the first instance of the voltage level dropping below the voltage reference. The operation of the microcontroller begins again only if the received voltage signal level exceeds the reference voltage after the expiration of a set period. Such conventional systems cause an unnecessary disruption in the microcontroller operation.
  • Some conventional systems disclose a device that purports to distinguish between real brown-out events and transitory voltage swings.
  • Yach requires two separate filtered voltage sample signals (VI and V2) .
  • the VI signal is filtered once and the V2 signal is filtered twice, see Figures 5A and 5B in Yach.
  • the voltage level of VI and V2 with respect to V DD is based solely upon the filters and upon the resistors 36, 37, and 38 in Figure 5B, i.e., the values of VI and V2 are not programmable and are used merely to provide hysteresis boundaries.
  • the hysteresis voltages (VI, V2) are both compared to a reference voltage and a reset signal is only generated if the voltage level of both VI and V2 are less than the reference voltage.
  • the Yach system only clears the reset (begins normal operation) after the voltage level of both VI and V2 exceed the reference voltage.
  • the invention is a system and method for detecting brown- out conditions in a microcontroller, enabling a user to program the brown out detection system, and distinguishing between real brown-out events and transitory voltage swings without requiring expensive and time consuming logic.
  • the invention compares a sense voltage to a reference voltage and filters the resulting signal to distinguish between a true- brown out signal and transitory voltage swings.
  • the invention uses one or more program bits that vary the ratio of the supply voltage and the sense voltage. That is, the sense voltage is programmable and is dependent upon the value of the supply voltage and the value of the program bits.
  • the present invention generates a comparison output signal based upon the comparison of the supply voltage and the sense voltage. The comparison output signal is filtered to distinguish between a real brown-out event and transitory voltage swings.
  • FIG 1 is a block diagram of a brown-out detection circuit according to one embodiment of the present invention.
  • Figure 2 is a more detailed illustration of the brown-out detection circuit according to one embodiment of the present invention.
  • Figure 3 are timing diagrams illustrating the voltage levels at various nodes of the brown-out detection circuit illustrated in Figure 2 for a supply voltage signal according to one embodiment of the present invention.
  • FIG. 1 is a block diagram of a brown-out detection circuit according to one embodiment of the present invention.
  • the brown-out detection circuit of one embodiment includes a programmable voltage module 102, a reference voltage module 104, a comparator 106, a filter 108, and an optional buffer amplifier 110.
  • the programmable voltage module 102 receives the supply voltage V DD and one or more program bits. In one embodiment of the present invention two program bits (PI and P2) are used.
  • the programmable voltage module 102 outputs a voltage V SENSE that is received by the comparator 106.
  • the value of V SENSE is dependent upon the value of V DD and the value of the program bits (PI, P2) .
  • the reference voltage module 104 generates a reference voltage (V REF ) that is received by the comparator 106.
  • the comparator 106 compares V SENSE and V REF to generate a signal V C0MP0UT that is filtered by the filter 108 to distinguish between a true brown-out condition and a transient voltage drop.
  • the filtered signal can be received by a buffer and amplifier 110 that translates V C0MP0UT to logic levels compatible with the system in which the brown out system is used.
  • FIG. 2 is a more detailed illustration of the brown-out detection circuit according to one embodiment of the present invention.
  • the programmable voltage module 102 includes five resistors and two transistors.
  • the resistors are R1A, RIB, R2A, R2B, and R2C.
  • the transistors are n-channel metal oxide semiconductor field effect transistors (nmos) and are referred to as MN7A, MN7B in Figure 2.
  • R1A is a 4 kilo-ohm (k) resistor
  • RIB is a 28k resistor
  • R2C is a 20k resistor
  • R2B is a 10k resistor
  • R2A is a 10k resistor.
  • the two transistors have a width of 10 microns (U) and a length of 1 U.
  • MN7A receives the first program signal (PI) at its gate and operates in parallel with resistor R2B.
  • MN7B receives the second program signal (P2) at its gate and operates in parallel with resistor R2A.
  • the output of the programmable voltage module appears at the node between resistor RIB and R2C.
  • the programmable voltage module receives a signal from the supply voltage (V DD ) and divides the voltage using the resistors (R1A- B, R2A-C) to generate the output voltage V SENSE that is proportional to the supply voltage V DD .
  • the ratio of V SENSE /V DD is programmable by the user. Specifically, if the user sets the first program signal (PI) high, the gate of MN7A will exceed its source and the transistor MN7A conducts to effectively form a short circuit in parallel to resistor R2B. The result is that the ratio of V SENSE /V DD decreases and the output voltage V SENSE decreases for a given supply voltage.
  • the reference voltage module 104 includes three transistors and a resistor.
  • the three transistors are nmos transistors MN1A and MN1B and p-channel metal oxide semiconductor field effect transistor (pmos) MP9.
  • the resistor is reference number R5.
  • transistors MN1A and MN1B each have a length of 5 U and a width of 10 U.
  • Transistor MP9 has a length of 2 U and a width of 15 U.
  • Resistor R5 has a resistance of 400k, which can be accomplished using a transistor having a length of 250 U and having a width of 2.5 U, for example.
  • the reference signal V REF is the signal at the node between the drain of MN1A and the drain of MP9. It will be apparent that the reference voltage is substantially constant and does not substantially vary based upon variations in the supply voltage V DD because the impedance of resistor R5 is so great when compared to the incremental impedance across MN1A and MN1B.
  • the comparator 106 includes five transistors, nmos transistors MN3 and MN4 and pmos transistors MP ⁇ , MP7, and MP8.
  • transistors MN3 and MN4 have a width of 20 U and a length of 4 U.
  • Transistors MP6 and MP7 have length of 2 U and a width of 20 U and transistor MPS has a length of 2 U and a width of 10 U.
  • MP8 conducts and biases MP6 and MP7.
  • V SENSE exceeds V REF MP7 is conducting while MP6 is not significantly conducting and V C0MP0UT begins rising.
  • V REF exceeds V SENSE MP6 is conducting while MP6 is not significantly conducting and V C0MP0UT begins decreasing.
  • the output of the comparator 106 is a signal at the drain of MN3 , i.e., V C0MP0UT .
  • the output of the comparator 106 (V COMP0UT ) is filtered using, in this embodiment, an RC filter 108 comprising capacitor Cl and resistor R3.
  • the resistor is a 2000k resistor and the capacitor has a capacitance of approximately 3 picofarads.
  • the filter 108 reduces the effect of transient voltage variations. For example, a small voltage variation or a small voltage spike is filtered so that a brown out signal is not generated to eliminate unnecessary brown out signals.
  • the filter 106 does not prevent the detection of a large voltage variation, e.g., a large voltage spike. That is, the filter 108 distinguishes between a real brown-out condition and a transient voltage variation.
  • the output of the filter 106 is received by the buffer 110.
  • the buffer 110 includes two transistors identified as MP5 and MN2.
  • Transistor MP5 is a pmos transistor having a length of 2 U and a width of 10 U.
  • Transistor MN2 is an nmos transistor having a length of 2 U and a width of 10 _U.
  • the buffer 110 illustrated in Figure 2 is an inverter that buffers the output of the comparator 106 and filter 108.
  • the output of the buffer 110 is a brown out signal (BR_0UT) .
  • the brown out signal is transmitted through additional logic (not shown) such that the signal (BR_OUT) transitions quickly between a "low” voltage and a "high” voltage and vice versa.
  • additional logic is a series of inverters. The operation of the brown-out circuit illustrated in Figure 2 is described in additional detail below with reference to the timing diagram example illustrated in Figure 3.
  • FIG. 2 illustrates an additional shut down function that will cause the present invention to generate a brown-out signal (BR_OUT) .
  • the shutdown function logic includes transistors MP1, MP2 , MP3 , and MN5.
  • MP1 is a pmos transistor having a length of 2 U and a width of 10 U
  • MP2 is a pmos transistor having a length of 3 U and a width of 20 U
  • MP3 is a pmos transistor having a length of 1 U and a width of 5 U
  • MN5 is an nmos transistor having a length of 1 U and a width of 5 U.
  • the shutdown signal (SHDN) and its complementary value (SHDN_N) are received in the locations illustrated in Figure 2. In shutdown mode the SHDN signal is high which causes transistor MP3 to conduct and brings the gate of transistor MP5 to a voltage low enough to cause MP5 to conduct. Transistor MP5 conducts and the brown-out signal is proportional to V DD .
  • FIGS. 3 are timing diagrams illustrating the voltage levels at various nodes of the brown-out detection circuit illustrated in Figure 2 for a supply voltage signal according to one embodiment of the present invention.
  • V DD supply voltage signal
  • V REF and V SENSE voltages received by the comparator 106
  • V ⁇ MP0OT The filtered voltage signal V ⁇ MP0OT is illustrated in the timing diagram 3 (c) .
  • the brown out signal (BR_OUT) output from the buffer 110 is illustrated in the timing diagram 3 (d) .
  • V SENSE begins decreasing, while V REF remains substantially constant.
  • V REF remains substantially constant.
  • V SENSE drops below V REF and the value of V C0MP0UT begins to drop.
  • the supply voltage V DD begins to increase at T 2 and is back to its normal value, e.g., 5 volts or 3.3. volts, at time T 3 .
  • the voltage level of the filtered signal V C0MP0UT drops slowly until it drops below a minimum required voltage level at time T 2 which causes the brown out signal (BR_OUT) to begin rising.
  • V C0MP0UT begins rising and reaches its original voltage level at time T 4 .
  • the brown out signal reaches its peak at T 5 and is back to its original voltage level at time ⁇ 4 .

Abstract

A system and method for detecting brown-out conditions in a microcontroller, enabling a user to program the brown-out detection system, and distinguishing between real brown-out events and transitory voltage swings without requiring expensive and time consuming logic. The invention compares a sense voltage to a reference voltage and filters the resulting signal to distinguish between a true-brown out signal and transitory voltage swings. The invention uses one or more program bits that vary the ratio of the supply voltage and the sense voltage. That is, the sense voltage is programmable and is dependent upon the value of the supply voltage and the value of the program bits. The present invention generates a comparison output signal based upon the comparison of the supply voltage and the sense voltage. The comparison output signal is filtered to distinguish between a real brown-out event and transitory voltage swings.

Description

SYSTEM AND METHOD FOR PROGRAMMABLE
BROWN-OUT DETECTION AND DIFFERENTIATION
Inventor: Bruce L. Inn BACKGROUND OF THE INVENTION
1. Field of the Invention
The invention relates to the field of computer microcontrollers and more particularly to the field of programmable brown-out detection in a microcontroller environment.
2. Description of Background Art
Recent advances in technology have led to an increase in performance and a decrease in size of semiconductor microcontroller or microprocessor chips. Microcontrollers are devices that can control the operation of many items, e.g., braking systems in automobiles, automatic water sprinklers, and cellular telephones. Microcontrollers generally receive power from a supply voltage that is external to the microcontroller. In order to ensure proper operation, many conventional microcontrollers employ a brown-out detection system for detecting drops in the voltage level of a signal received from the supply voltage.
Brown-out detection systems detect when a supply voltage level drops below a minimum level that is necessary for proper operation of the microcontroller and/or the item using the microcontroller. Brown-out detection systems protect the microcontroller against total power failure and against "dips" in the received voltage signal .
In some conventional brown-out systems the received voltage signal is compared with a predetermined voltage reference signal. If the received voltage signal drops below the predetermined voltage reference signal the microcontroller issues a reset signal which ensures that the microcontroller will not operate with a low input voltage which, otherwise, can result in a malfunction of the microcontroller. A problem with such conventional systems is the requirement that the reference voltage and the ratio between the supply voltage and a voltage supply comparison voltage be predetermined. Another problem with conventional brown-out detection systems is that they are not capable of distinguishing between a real brown-out condition from mere signal noise without expensive circuitry which requires additional elements, e.g., hysteresis logic. As an example, a true brown-out event may correspond to a sustained drop m the level of the received voltage signal or may correspond to a fast deep drop in the voltage signal level. However, transitory noise from input/output (I/O) switching, for example, can cause relatively shallow dips of the supply voltage which drop below the reference voltage and quickly return to an acceptable voltage level. Conventional brown-out detection circuits immediately initiates a microcontroller reset after the first instance of the voltage level dropping below the voltage reference. The operation of the microcontroller begins again only if the received voltage signal level exceeds the reference voltage after the expiration of a set period. Such conventional systems cause an unnecessary disruption in the microcontroller operation. Some conventional systems disclose a device that purports to distinguish between real brown-out events and transitory voltage swings. However, such systems require expensive logic including multiple filters and hysteresis. Specifically, U.S. Patent 5,606,511 to Yach (hereafter referred to as "Yach"), which is incorporated by reference herein in its entirety, describes a brown-out detection system that purports to distinguish between real brown-out conditions and transitory noise signals. Yach describes a system in which at least two voltages are sampled and filtered from the voltage supply signal (VDD) , see Figure 2, 5A, and 5B in Yach, for example.
Yach requires two separate filtered voltage sample signals (VI and V2) . The VI signal is filtered once and the V2 signal is filtered twice, see Figures 5A and 5B in Yach. The voltage level of VI and V2 with respect to VDD is based solely upon the filters and upon the resistors 36, 37, and 38 in Figure 5B, i.e., the values of VI and V2 are not programmable and are used merely to provide hysteresis boundaries. The hysteresis voltages (VI, V2) are both compared to a reference voltage and a reset signal is only generated if the voltage level of both VI and V2 are less than the reference voltage. Similarly, the Yach system only clears the reset (begins normal operation) after the voltage level of both VI and V2 exceed the reference voltage. Yach states beginning at column 2, line 53 that " [h] ysteresis greatly assists the dual comparator to distinguish a true brown-out event from normal noise or other slight perturbations, and is achieved be dual sampling of the power supply and establishing a pair of trip points for comparison with excursion of the supply voltage level." It is apparent that the Yach system is a complex and expensive technique .
What is needed is a system and method: (1) for detecting brown-out conditions in a microcontroller; (2) for enabling a user to program the brown out detection system; and (3) for distinguishing between real brown-out events and transitory voltage swings without requiring expensive and time consuming logic .
SUMMARY OF THE INVENTION The invention is a system and method for detecting brown- out conditions in a microcontroller, enabling a user to program the brown out detection system, and distinguishing between real brown-out events and transitory voltage swings without requiring expensive and time consuming logic. The invention compares a sense voltage to a reference voltage and filters the resulting signal to distinguish between a true- brown out signal and transitory voltage swings. The invention uses one or more program bits that vary the ratio of the supply voltage and the sense voltage. That is, the sense voltage is programmable and is dependent upon the value of the supply voltage and the value of the program bits. The present invention generates a comparison output signal based upon the comparison of the supply voltage and the sense voltage. The comparison output signal is filtered to distinguish between a real brown-out event and transitory voltage swings. BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 is a block diagram of a brown-out detection circuit according to one embodiment of the present invention. Figure 2 is a more detailed illustration of the brown-out detection circuit according to one embodiment of the present invention.
Figure 3 are timing diagrams illustrating the voltage levels at various nodes of the brown-out detection circuit illustrated in Figure 2 for a supply voltage signal according to one embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention is now described with reference to the figures where like reference numbers indicate identical or functionally similar elements. Also in the figures, the left most digits of each reference number corresponds to the figure in which the reference number is first used. Figure 1 is a block diagram of a brown-out detection circuit according to one embodiment of the present invention. The brown-out detection circuit of one embodiment includes a programmable voltage module 102, a reference voltage module 104, a comparator 106, a filter 108, and an optional buffer amplifier 110. The programmable voltage module 102 receives the supply voltage VDD and one or more program bits. In one embodiment of the present invention two program bits (PI and P2) are used. The programmable voltage module 102 outputs a voltage VSENSE that is received by the comparator 106. The value of VSENSE is dependent upon the value of VDD and the value of the program bits (PI, P2) . The reference voltage module 104 generates a reference voltage (VREF) that is received by the comparator 106. The comparator 106 compares VSENSE and VREF to generate a signal VC0MP0UT that is filtered by the filter 108 to distinguish between a true brown-out condition and a transient voltage drop. The filtered signal can be received by a buffer and amplifier 110 that translates VC0MP0UT to logic levels compatible with the system in which the brown out system is used. Figure 2 is a more detailed illustration of the brown-out detection circuit according to one embodiment of the present invention. In this embodiment the programmable voltage module 102 includes five resistors and two transistors. The resistors are R1A, RIB, R2A, R2B, and R2C. The transistors are n-channel metal oxide semiconductor field effect transistors (nmos) and are referred to as MN7A, MN7B in Figure 2. In this embodiment R1A is a 4 kilo-ohm (k) resistor, RIB is a 28k resistor, R2C is a 20k resistor, R2B is a 10k resistor, and R2A is a 10k resistor. The two transistors have a width of 10 microns (U) and a length of 1 U. MN7A receives the first program signal (PI) at its gate and operates in parallel with resistor R2B. MN7B receives the second program signal (P2) at its gate and operates in parallel with resistor R2A.
The output of the programmable voltage module (VSENSE) appears at the node between resistor RIB and R2C. The programmable voltage module receives a signal from the supply voltage (VDD) and divides the voltage using the resistors (R1A- B, R2A-C) to generate the output voltage VSENSE that is proportional to the supply voltage VDD. However, the ratio of VSENSE/VDD is programmable by the user. Specifically, if the user sets the first program signal (PI) high, the gate of MN7A will exceed its source and the transistor MN7A conducts to effectively form a short circuit in parallel to resistor R2B. The result is that the ratio of VSENSE/VDD decreases and the output voltage VSENSE decreases for a given supply voltage.
Similarly, if the user sets the second program signal (P2) high, the gate of MN7B will exceed its source and the transistor MN7B conducts to effectively form a short circuit in parallel to resistor R2A. The result is that the ratio of VSENSE/VDD decreases and the output voltage VSENSE decreases for a given supply voltage. If both PI and P2 are set high, the ratio further decreases. It will be apparent to persons skilled in the art that various resistor values and transistor strengths can be used without departing from the scope of the present invention. In alternate embodiments, additional transistor/resistor pairs are present and additional program signals are received in order to enable the user to more precisely set the VSENSE/VDD ratio.
The reference voltage module 104 includes three transistors and a resistor. The three transistors are nmos transistors MN1A and MN1B and p-channel metal oxide semiconductor field effect transistor (pmos) MP9. The resistor is reference number R5. In this embodiment transistors MN1A and MN1B each have a length of 5 U and a width of 10 U. Transistor MP9 has a length of 2 U and a width of 15 U. Resistor R5 has a resistance of 400k, which can be accomplished using a transistor having a length of 250 U and having a width of 2.5 U, for example. The reference signal VREF is the signal at the node between the drain of MN1A and the drain of MP9. It will be apparent that the reference voltage is substantially constant and does not substantially vary based upon variations in the supply voltage VDD because the impedance of resistor R5 is so great when compared to the incremental impedance across MN1A and MN1B.
The comparator 106 includes five transistors, nmos transistors MN3 and MN4 and pmos transistors MPβ, MP7, and MP8. In this embodiment, transistors MN3 and MN4 have a width of 20 U and a length of 4 U. Transistors MP6 and MP7 have length of 2 U and a width of 20 U and transistor MPS has a length of 2 U and a width of 10 U. When the gate of MP8 is low compared to its source, MP8 conducts and biases MP6 and MP7. When VSENSE exceeds VREF MP7 is conducting while MP6 is not significantly conducting and VC0MP0UT begins rising. When VREF exceeds VSENSE MP6 is conducting while MP6 is not significantly conducting and VC0MP0UT begins decreasing. The output of the comparator 106 is a signal at the drain of MN3 , i.e., VC0MP0UT. The output of the comparator 106 (VCOMP0UT) is filtered using, in this embodiment, an RC filter 108 comprising capacitor Cl and resistor R3. In the embodiment illustrated in Figure 2 the resistor is a 2000k resistor and the capacitor has a capacitance of approximately 3 picofarads. The filter 108 reduces the effect of transient voltage variations. For example, a small voltage variation or a small voltage spike is filtered so that a brown out signal is not generated to eliminate unnecessary brown out signals. However, the filter 106 does not prevent the detection of a large voltage variation, e.g., a large voltage spike. That is, the filter 108 distinguishes between a real brown-out condition and a transient voltage variation. The output of the filter 106 is received by the buffer 110. The buffer 110 includes two transistors identified as MP5 and MN2. Transistor MP5 is a pmos transistor having a length of 2 U and a width of 10 U. Transistor MN2 is an nmos transistor having a length of 2 U and a width of 10 _U. The buffer 110 illustrated in Figure 2 is an inverter that buffers the output of the comparator 106 and filter 108. The output of the buffer 110 is a brown out signal (BR_0UT) . In one embodiment, the brown out signal is transmitted through additional logic (not shown) such that the signal (BR_OUT) transitions quickly between a "low" voltage and a "high" voltage and vice versa. One example of such logic is a series of inverters. The operation of the brown-out circuit illustrated in Figure 2 is described in additional detail below with reference to the timing diagram example illustrated in Figure 3.
Although optional for the present invention, Figure 2 illustrates an additional shut down function that will cause the present invention to generate a brown-out signal (BR_OUT) . The shutdown function logic includes transistors MP1, MP2 , MP3 , and MN5. In one embodiment, MP1 is a pmos transistor having a length of 2 U and a width of 10 U, MP2 is a pmos transistor having a length of 3 U and a width of 20 U, MP3 is a pmos transistor having a length of 1 U and a width of 5 U, and MN5 is an nmos transistor having a length of 1 U and a width of 5 U. The shutdown signal (SHDN) and its complementary value (SHDN_N) are received in the locations illustrated in Figure 2. In shutdown mode the SHDN signal is high which causes transistor MP3 to conduct and brings the gate of transistor MP5 to a voltage low enough to cause MP5 to conduct. Transistor MP5 conducts and the brown-out signal is proportional to VDD.
Figure 3 are timing diagrams illustrating the voltage levels at various nodes of the brown-out detection circuit illustrated in Figure 2 for a supply voltage signal according to one embodiment of the present invention. One example of a supply voltage signal (VDD) is illustrated in the timing diagram 3 (a) . The voltages received by the comparator 106 (VREF and VSENSE) are illustrated in the timing diagram 3 (b) . The filtered voltage signal V∞MP0OT is illustrated in the timing diagram 3 (c) . The brown out signal (BR_OUT) output from the buffer 110 is illustrated in the timing diagram 3 (d) .
At time T0 the supply voltage signal begins a voltage spike. At this time VSENSE begins decreasing, while VREF remains substantially constant. At Tx VSENSE drops below VREF and the value of VC0MP0UT begins to drop. The supply voltage VDD begins to increase at T2 and is back to its normal value, e.g., 5 volts or 3.3. volts, at time T3. Due to the filter 110, the voltage level of the filtered signal VC0MP0UT drops slowly until it drops below a minimum required voltage level at time T2 which causes the brown out signal (BR_OUT) to begin rising. At time T3 VC0MP0UT begins rising and reaches its original voltage level at time T4. The brown out signal reaches its peak at T5 and is back to its original voltage level at time τ4.
While the invention has been particularly shown and described with reference to a preferred embodiment and several alternate embodiments, it will be understood by persons skilled in the relevant art that various changes m form and details can be made therein without departing from the spirit and scope of the invention.

Claims

CLAIMSWhat is claimed is:
1. A system for detecting a brown-out condition in a microcontroller, the microcontroller receiving a supply voltage signal, the system comprising: a programmable voltage generator, disposed to receive the supply voltage signal and a first programming signal, for generating a first voltage signal having a voltage level that is substantially equal to a first percentage of said supply voltage if said first programming signal has a first value, and is substantially equal to a second percentage of said supply voltage if said first programming signal has a second value; a voltage reference generator for generating a voltage reference signal; a comparator, disposed to receive said first voltage signal and said reference voltage signal, for comparing voltage levels of said first voltage signal and said reference voltage signal and generating a comparator output signal representing the result of said comparison; and a filter for filtering said comparator output signal and for distinguishing between real brown-out condition from a transient voltage swings that do not represent a real brownout event .
2. The system of claim 1, wherein said programmable voltage generator further comprises: one or more drop resistors having a first input node and a first output node for receiving said supply voltage at said first input node; a first switch resistor positioned between said output node and a low voltage node; and a first programmable switch coupled in parallel to said first switch resistor and receiving said first programming signal, said first programmable switch forming a low impedance path across said first switch resistor when said first programming signal has said first value, said first
-9-
SUBST1TUTE SHEET (RULE 26) programmable switch forming a high impedance path across said first switch resistor when said first programming signal has said second value.
3. The system of claim 2, wherein said first percentage is less than said second percentage.
4. The system of claim 3, further comprising: a second switch resistor positioned between said output node and a low voltage node; and a second programmable switch coupled in parallel to said second switch resistor and receiving a second programming signal, said second programmable switch forming a low impedance path across said second switch resistor when said second programming signal has said first value, said second programmable switch forming a high impedance path across said second switch resistor when said second programming signal has said second value.
5. The system of claim 4, wherein said first and second switch resistors are coupled serially.
6. The system of claim 2, further comprising: a buffer, coupled to said filter, for generating a brown out signal .
7. The system of claim 1, further comprising: a shutdown module, for receiving a shutdown signal and for setting a reset signal in response to said shutdown signal.
8. A method for detecting a brown-out condition in a microcontroller comprising the steps of: receiving a voltage supply signal; receiving a first programming signal; generating a first voltage signal in response to said supply signal and said first programming signal, said first voltage signal having a voltage level that is substantially equal to a first percentage of said supply voltage if said first programming signal has a first value, and is substantially equal to a second percentage of said supply voltage if said first programming signal has a second value; generating a voltage reference signal; comparing voltage levels of said first voltage signal and said reference voltage signal and generating a comparator output signal representing the result of said comparison; and filtering said comparator output signal and for distinguishing between real brown-out condition from a transient voltage swings that do not represent a real brownout event .
9. The method of claim 8, wherein a first input node of a first of one or more drop resistor receives said supply voltage, said one or more drop resistors having a first output node .
10. The method of claim 9, wherein a first switch resistor is positioned between said output node and a low voltage node and is coupled in parallel to said first switch resistor.
11. The method of claim 10, further comprising the steps of: forming a low impedance path via said first programmable switch across said first switch resistor when said first programming signal has said first value; and forming a high impedance path via said first programmable switch across said first switch resistor when said first programming signal has said second value.
12. The method of claim 11, wherein said first percentage is less than said second percentage.
13. The method of claim 11, further comprising the steps of: receiving a second programming signal at a second programmable switch that is coupled in parallel to a second switch resistor, forming a low impedance path via said second programmable switch across said second switch resistor when said second programming signal has said first value; and forming a high impedance path via said second programmable switch across said second switch resistor when said second programming signal has said second value.
14. The method of claim 13, wherein said first and second switch resistors are coupled serially.
15. The method of claim 8, further comprising the step of: buffering said filtered signal to generate a brown out signal .
16. A system for detecting a brown-out condition in a microcontroller comprising: first means for receiving a voltage supply signal; second means for receiving a first programming signal; first generating means for generating a first voltage signal in response to said supply signal and said first programming signal, said first voltage signal having a voltage level that is substantially equal to a first percentage of said supply voltage if said first programming signal has a first value, and is substantially equal to a second percentage of said supply voltage if said first programming signal has a second value; second generating means for generating a voltage reference signal; comparison means for comparing voltage levels of said first voltage signal and said reference voltage signal and generating a comparator output signal representing the result of said comparison; and filter means for filtering said comparator output signal and for distinguishing between real brown-out condition from a transient voltage swings that do not represent a real brownout event .
17. The system of claim 16, wherein a first input node of a first of one or more drop resistor receives said supply voltage, said one or more drop resistors having a first output node .
18. The system of claim 17, wherein a first switch resistor is positioned between said output node and a low voltage node and is coupled in parallel to said first switch resistor.
19. The system of claim 18, further comprising: first impedance means for forming a low impedance path via said first programmable switch across said first switch resistor when said first programming signal has said first value and for forming a high impedance path via said first programmable switch across said first switch resistor when said first programming signal has said second value.
20. The system of claim 19, wherein said first percentage is less than said second percentage.
21. The system of claim 19, further comprising: third means for receiving a second programming signal at a second programmable switch that is coupled in parallel to a second switch resistor; and second impedance means for forming a low impedance path via said second programmable switch across said second switch resistor when said second programming signal has said first value and for forming a high impedance path via said second programmable switch across said second switch resistor when said second programming signal has said second value.
22. The system of claim 21, wherein said first and second switch resistors are coupled serially.
23. The system of claim 22, further comprising: shutdown means, for receiving a shutdown signal and for setting a reset signal in response to said shutdown signal .
24. The system of claim 16, further comprising: buffering means for buffering said filtered signal to generate a brown out signal .
25. The system of claim 24, further comprising: shutdown means, for receiving a shutdown signal and for setting a reset signal in response to said shutdown signal.
PCT/US1998/026375 1997-12-12 1998-12-10 System and method for programmable brown-out detection and differentiation WO1999030173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/990,518 1997-12-12
US08/990,518 US5943635A (en) 1997-12-12 1997-12-12 System and method for programmable brown-out detection and differentiation

Publications (1)

Publication Number Publication Date
WO1999030173A1 true WO1999030173A1 (en) 1999-06-17

Family

ID=25536241

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1998/026375 WO1999030173A1 (en) 1997-12-12 1998-12-10 System and method for programmable brown-out detection and differentiation

Country Status (2)

Country Link
US (1) US5943635A (en)
WO (1) WO1999030173A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011094102A3 (en) * 2010-01-26 2011-11-03 Freescale Semiconductor, Inc. Data processing system having brown-out detection circuit
WO2013187908A1 (en) * 2012-06-15 2013-12-19 Thomson Licencing Early power failure detection circuit
WO2016015538A1 (en) * 2014-07-28 2016-02-04 无锡华润上华半导体有限公司 Brown out detector having sequential control function

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6124732A (en) * 1998-07-15 2000-09-26 Lucent Technologies, Inc. Signaling voltage range discriminator
US7225088B2 (en) * 1998-09-16 2007-05-29 Microchip Technology Incorporated Programmable power supply and brownout detector for electronic equipment
US6304823B1 (en) * 1998-09-16 2001-10-16 Microchip Technology Incorporated Microprocessor power supply system including a programmable power supply and a programmable brownout detector
KR100289846B1 (en) * 1998-09-29 2001-05-15 윤종용 Low power consumption voltage controller
US6894804B2 (en) * 2001-10-03 2005-05-17 Toshiba Tec Kabushiki Kaisha Method to dynamically perform document layout functions
US7693669B2 (en) * 2005-04-12 2010-04-06 Atmel Corporation Method and circuit for detecting a brown out condition
US7589568B2 (en) * 2007-05-04 2009-09-15 Microchip Technology Incorporated Variable power and response time brown-out-reset circuit
WO2010126486A1 (en) * 2009-04-28 2010-11-04 Semiconductor Components Industries, Llc Method of and circuit for brown-out detection
EP2625533B1 (en) * 2010-10-04 2021-09-29 NXP USA, Inc. Low-voltage exit detector, error detector, low-voltage safe controller, brown-out detection method, and brown-out self-healing method
US8253453B2 (en) 2010-10-28 2012-08-28 Freescale Semiconductor, Inc. Brown-out detection circuit
US9594099B2 (en) 2011-10-12 2017-03-14 Semiconductor Components Industries, Llc Method of and circuit for brown-out detection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581206A (en) * 1995-07-28 1996-12-03 Micron Quantum Devices, Inc. Power level detection circuit
US5606511A (en) * 1995-01-05 1997-02-25 Microchip Technology Incorporated Microcontroller with brownout detection
US5739700A (en) * 1996-09-09 1998-04-14 International Business Machines Corporation Method and apparatus with dual circuitry for shifting the level of a signal

Family Cites Families (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3670246A (en) * 1970-03-16 1972-06-13 Forbro Design Corp Under-voltage monitoring device having time delay means for regulated power supplies
US3969635A (en) * 1974-02-25 1976-07-13 Wilke William G Voltage condition monitor
US4031463A (en) * 1976-03-01 1977-06-21 Control Data Corporation Power brown-out detector
US4155041A (en) * 1976-05-13 1979-05-15 Burns Richard C System for reducing noise transients
US4117526A (en) * 1976-08-06 1978-09-26 Tri-Venture Undervoltage protection device
JPS54162577A (en) * 1978-06-14 1979-12-24 Hitachi Ltd Low voltage detecting circuit
US4210829A (en) * 1978-10-02 1980-07-01 National Semiconductor Corporation Power up circuit with high noise immunity
US4234920A (en) * 1978-11-24 1980-11-18 Engineered Systems, Inc. Power failure detection and restart system
US4301380A (en) * 1979-05-01 1981-11-17 Motorola, Inc. Voltage detector
US4296338A (en) * 1979-05-01 1981-10-20 Motorola, Inc. Power on and low voltage reset circuit
US4260907A (en) * 1979-06-12 1981-04-07 Telex Computer Products, Inc. Power-on-reset circuit with power fail detection
US4327410A (en) * 1980-03-26 1982-04-27 Ncr Corporation Processor auto-recovery system
US4354613A (en) * 1980-05-15 1982-10-19 Trafalgar Industries, Inc. Microprocessor based vending apparatus
US4422163A (en) * 1981-09-03 1983-12-20 Vend-A-Copy, Inc. Power down circuit for data protection in a microprocessor-based system
US4523295A (en) * 1982-09-07 1985-06-11 Zenith Electronics Corporation Power loss compensation for programmable memory control system
JPS6019220A (en) * 1983-07-13 1985-01-31 Fujitsu Ltd Microcomputer
US4562550A (en) * 1983-11-01 1985-12-31 General Electric Company Remote load control relay processor
US4567539A (en) * 1984-03-23 1986-01-28 Siemens Corporate Research & Support, Inc. Power interruption and brownout detector
DE3424412A1 (en) * 1984-07-03 1986-01-16 M.A.N.- Roland Druckmaschinen AG, 6050 Offenbach CONTROL DEVICE FOR AN ACTUATOR ON A PRINTING MACHINE
US4701639A (en) * 1985-12-09 1987-10-20 National Semiconductor Corporation Threshold detector circuit and method
US4716463A (en) * 1986-10-24 1987-12-29 Zenith Electronics Corporation Power down sense circuit
US4857770A (en) * 1988-02-29 1989-08-15 Advanced Micro Devices, Inc. Output buffer arrangement for reducing chip noise without speed penalty
US5237699A (en) * 1988-08-31 1993-08-17 Dallas Semiconductor Corp. Nonvolatile microprocessor with predetermined state on power-down
JP2779813B2 (en) * 1988-09-06 1998-07-23 セイコーエプソン株式会社 computer
US5359233A (en) * 1990-09-28 1994-10-25 Dallas Semiconductor Corporation Reset monitor for detection of power failure and external reset
US5164613A (en) * 1990-09-28 1992-11-17 Dallas Semiconductor Corporation Reset monitor
US5321323A (en) * 1990-12-14 1994-06-14 Dallas Semiconductor Corporation Surge limited low power transceiver circuit
US5258758A (en) * 1991-01-31 1993-11-02 Crystal Semiconductor Corporation DAC shutdown for low power supply condition
US5187389A (en) * 1991-05-03 1993-02-16 National Semiconductor Corporation Noise resistant low voltage brownout detector with shut off option
US5265018A (en) * 1991-06-03 1993-11-23 Ford New Holland, Inc. Transmission speed matching control
US5267157A (en) * 1991-06-03 1993-11-30 Ford New Holland, Inc. Transmission start-up control
US5315549A (en) * 1991-06-11 1994-05-24 Dallas Semiconductor Corporation Memory controller for nonvolatile RAM operation, systems and methods
GB9112867D0 (en) * 1991-06-14 1991-07-31 Huntleigh Technology Plc Power fail detection circuit
US5330513A (en) * 1992-05-01 1994-07-19 Medtronic, Inc. Diagnostic function data storage and telemetry out for rate responsive cardiac pacemaker
US5365214A (en) * 1992-08-24 1994-11-15 Dimango Products Corporation Musical wireless alerting system
US5550362A (en) * 1992-11-20 1996-08-27 Intermec Corporation Method and apparatus for calibrating a bar code scanner
DE4314533C1 (en) * 1993-05-03 1994-05-19 Siemens Ag Microprocessor battery-supply voltage monitoring circuit - has low-voltage detector for generating reset when supply is between first and second low voltages, and comparator for generating signal when supply is above higher voltage to operate processor
US5564010A (en) * 1993-05-24 1996-10-08 Thomson Consumer Electronics, Inc. Reset signal generator, for generating resets of multiple duration
US5406140A (en) * 1993-06-07 1995-04-11 National Semiconductor Corporation Voltage translation and overvoltage protection
KR960000894B1 (en) * 1993-07-02 1996-01-13 삼성전자주식회사 Source voltage sensing circuit of semiconductor memory device
DE69325277T2 (en) * 1993-12-31 2000-01-20 St Microelectronics Srl Circuit for detecting a drop in supply voltage
US5678049A (en) * 1994-06-06 1997-10-14 Intel Corporation Method and apparatus for the remote programming of a power supply
US5717907A (en) * 1994-08-17 1998-02-10 Alcatel Network Systems, Inc. Method and apparatus for generating a reset pulse responsive to a threshold voltage and to a system clock
US5767698A (en) * 1996-06-06 1998-06-16 International Business Machines Corporation High speed differential output driver with common reference

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5606511A (en) * 1995-01-05 1997-02-25 Microchip Technology Incorporated Microcontroller with brownout detection
US5581206A (en) * 1995-07-28 1996-12-03 Micron Quantum Devices, Inc. Power level detection circuit
US5739700A (en) * 1996-09-09 1998-04-14 International Business Machines Corporation Method and apparatus with dual circuitry for shifting the level of a signal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011094102A3 (en) * 2010-01-26 2011-11-03 Freescale Semiconductor, Inc. Data processing system having brown-out detection circuit
EP2529376A4 (en) * 2010-01-26 2017-11-15 NXP USA, Inc. Data processing system having brown-out detection circuit
WO2013187908A1 (en) * 2012-06-15 2013-12-19 Thomson Licencing Early power failure detection circuit
US10473727B2 (en) 2012-06-15 2019-11-12 Interdigital Ce Patent Holdings Early power failure detection circuit
WO2016015538A1 (en) * 2014-07-28 2016-02-04 无锡华润上华半导体有限公司 Brown out detector having sequential control function
US10254353B2 (en) 2014-07-28 2019-04-09 Csmc Technologies Fabi Co., Ltd. Brown out detector having sequential control function

Also Published As

Publication number Publication date
US5943635A (en) 1999-08-24

Similar Documents

Publication Publication Date Title
US5943635A (en) System and method for programmable brown-out detection and differentiation
US5581206A (en) Power level detection circuit
US5668483A (en) CMOS buffer having stable threshold voltage
US7274226B2 (en) Power source voltage monitoring circuit for self-monitoring its power source voltage
KR100593565B1 (en) Power-on detection and enabling circuit with very fast detection of power-off
KR100248171B1 (en) Ic for generating reset signal
US6486710B1 (en) Differential voltage magnitude comparator
CN100419911C (en) Power-up circuit in semiconductor memory device
US6046617A (en) CMOS level detection circuit with hysteresis having disable/enable function and method
US11843401B2 (en) Transmitter with slew rate control
JPH0887338A (en) System for switching power supply and for scrubbing defect
KR20040014153A (en) Semiconductor integrated circuit having internal power supply voltage down conversion circuit
US7116537B2 (en) Surge current prevention circuit and DC power supply
EP1362424B1 (en) Three terminal noninverting transistor switch
US6657422B2 (en) Current mirror circuit
EP0320779B1 (en) Sense amplifier
CN114153262A (en) Semiconductor integrated circuit for power supply
CN111736087A (en) Power supply detection circuit
US20200036351A1 (en) Signal level detection and overrange signal limiter and clamp for electronic circuits
JP2003124811A (en) Clamp circuit
JP4440214B2 (en) Semiconductor device
US7501836B2 (en) Apparatus and method for determining capacitance variation in an integrated circuit
JP2540765B2 (en) Malfunction prevention test circuit
US7088139B1 (en) Low power tri-level decoder circuit
TWI783694B (en) Comparator circuit having false-alarm preventing mechanism and operation method of the same

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
122 Ep: pct application non-entry in european phase