The present embodiments relate to undervoltage hysteresis.
Electronic and other electrical devices often act unpredictably or may be damaged if operated at low supply voltages. For example, an integrated circuit may be rated for operation at 4.5 Volts, but not at 4.2 Volts. A range of suitable power supply voltage levels may be specified. The integrated circuit may enter an indeterminate or other inappropriate state if the voltage level of the power supply falls below the range. Analog circuits may also exhibit improper behavior if operated at low voltages. Motors may be damaged if operated at less than the rated supply voltage.
A detection circuit is often used to monitor the supply voltage and disable functions if the voltage level of the power supply is less than a minimum required voltage or an undervoltage threshold (e.g., 4.2 Volts for power analog circuits driving motors). The detection circuit monitors the voltage level of the power supply and provides a signal indicative of whether the power supply is adequate. A control circuit then uses the signal to determine whether to disable or enable operation of the electrical devices. Disabling operation of an electrical device is referred to as undervoltage lockout.
The detection circuit may be configured to avoid unnecessary or excessive deactivation of system features. For example, the undervoltage determination often involves a temporal component. Filtering may be used. In this way, very narrow or brief changes (e.g., spikes) in the voltage level of the power supply are often filtered out.
Further attempts to avoid excessive cycling into and out of an undervoltage lockout may involve hysteresis. With hysteresis, the voltage level at which an increasing (rising) supply is deemed adequate may differ from the voltage level, or undervoltage threshold, at which a decreasing (falling) supply is deemed inadequate. The size, or spread, of the difference may be used to decrease how frequently system features are deactivated and reactivated in connection with undervoltage lockout.
The use of hysteresis may undesirably raise the minimum turn on voltage of a system. Different system components may have different minimum voltage supply levels. For example, control circuitry may be operational at voltage levels around 4.5 Volts, while such voltage levels may be insufficient to operate power driver circuits.
The components and the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the various embodiments. Moreover, in the figures, like reference numerals designate corresponding parts throughout the different views.
Embodiments of methods and circuits for undervoltage hysteresis are described. The undervoltage hysteresis may adapt or vary in accordance with a state of the system in which the hysteresis is implemented. A system may be placed in an undervoltage state upon detection of an undervoltage condition. Different activation thresholds may then be used to establish different hysteresis levels. For instance, the different activation thresholds may be used to determine at what voltage level or to what extent features are disabled or enabled. The voltage levels at which, and/or the extent to which, devices are activated or deactivated may also be varied in accordance with the system state. One or more of the activation thresholds may also be used to determine whether the system continues to reside in the undervoltage state.
Varying the hysteresis and power levels based on system state may be used to avoid oscillations during operation of an undervoltage detection circuit. Oscillation may occur as the detection circuit enters and exits the undervoltage condition. Entering and exiting the undervoltage condition may create large changes in the supply voltage sensed by the detection circuit as circuits or devices are disabled and enabled. That is, the current associated with the circuits or devices that are enabled or disabled modulates the supply voltage through the source impedance of that voltage (V=IR). For example, the voltage sensed by the detection circuit may swing 2 Volts (V) if an impedance of 1 Ohm is present (e.g., via a reverse blocking diode) between the power supply and a driver circuit for a DC motor that draws a current of 2 Amperes (A). The change in current through the impedance results in a 2 V step down from the supply voltage each time the DC motor is powered. If the 2 V drop falls below the undervoltage threshold, then the detection circuit cuts power to the driver circuit. But once the 2 A current ceases to flow through the 1 Ohm impedance, the voltage sensed by the detection circuit reverts back to a level 2 V higher. The undervoltage detection circuit may thus oscillate. The disclosed embodiments may be used to address such oscillation issues without resorting to a large (e.g., multiple Volt) hysteresis, which would undesirably raise the minimum operating voltage of the system.
The state-based hysteresis of the disclosed embodiments may allow a system to be operated at very low supply voltage levels. The disclosed embodiments may eliminate or reduce oscillation of the undervoltage detection circuits as loads are activated and deactivated despite operating at such low supply voltage levels. The disclosed embodiments may achieve low supply voltage operation without relying on a charge pump, thereby reducing conducted emissions.
The disclosed embodiments include undervoltage detection methods and systems with multiple thresholds to support different hysteresis for different system states. For example, a first activation threshold may be established for hysteresis when the system resides in an undervoltage state. Current may be provided at a first (e.g., lower) level when the first activation threshold is exceeded while the system resides in the undervoltage state. A second (e.g., higher) activation threshold may be established for hysteresis to return the system to a normal, or non-undervoltage, operating state. Current may then be provided at a second (e.g., higher) level when the second activation threshold is exceeded, and the system resides in the normal operating state. Alternatively or additionally, for a falling supply, circuits or other loads may be selectively disabled or deactivated as the supply voltage passes one or more thresholds. Such selective deactivation is analogous to the selective activation of the load(s) in connection with a rising supply.
The undervoltage detection of the disclosed embodiments may be implemented with one or more comparators. For example, a comparator with hysteresis (a hysteresis comparator) may be used to determine a state of the power supply. The lower (or falling) threshold of the hysteresis comparator may be used to determine when a falling supply voltage causes the system to be placed in the undervoltage state. The upper (or rising) threshold of the hysteresis comparator may be used to determine when a rising supply causes the system to return to the normal operating state. Another comparator (e.g., a non-hysteresis comparator) may be provided to enable activation of a driver circuit at a third threshold other than the thresholds used to establish the power supply states. For example, the third threshold may be another activation threshold disposed between the rising and falling thresholds of the hysteresis comparator. Activation of the driver circuit at the third threshold may be at a power or current level less than the full rated current drive level of the driver circuit (e.g., the drive level for the normal operating state). Additional, fewer, or alternative comparators may be used. For example, a single comparator may be used to handle all of the thresholds. In other cases, three comparators are used, with each comparator establishing a respective threshold.
In some cases, the electrical system 10 is a vehicular electrical system. The power supply VB may be a 12 Volt vehicular battery. The voltage level may vary. In these and other cases, the loads 14, 16 are two of a number of loads controlled by the detection circuit 12. The nature and characteristics of the electrical system 10 may vary considerably. For example, detection circuit 12 may support the operation of any number of loads.
The detection circuit 12 may be integrated with one or more other control circuits. For example, the detection circuit 12 may include or be integrated with a control circuit responsive to one or more sensed switches, such as a push-button switch (e.g., a power window push-button switch) or other normally open sensed switch. The state of the sensed switch determines whether power is delivered to one or both of the loads 14, 16. The detection circuit 12 may also include or be integrated with wetting current circuitry to provide wetting current to the sensed switch. For example, the wetting current circuitry and/or other internal circuits may be one of the loads 14, 16.
In the example of
The system 10 may have alternative or additional components disposed along the line 20 carrying current to the detection circuit 12 and the loads 14, 16. For example, the system 10 may include a wiring harness. These and other components, including wiring of the line 20 itself, present an impedance between the power supply VB and the detection circuit 12. A voltage drop is developed across the impedance when current flows through the line 20 to deliver power to one or both of the loads 14, 16. The detection circuit 12 is configured to avoid undervoltage oscillation that may otherwise arise as the loads 14, 16 are activated and deactivated.
The detection circuit 12 includes a driver circuit 22 and a controller 24. The driver circuit 22 is configured to provide power to one or more external or internal loads. The controller 24 is configured to direct the operation of the driver circuit 22. In this example, the driver circuit 22 provides power to both of the loads 14, 16. The driver circuit 22, or a portion thereof, may be disposed in the current path of the loads 14, 16. For example, the driver circuit 22 may include a respective power transistor, such as a discrete power field effect transistor (FET) device, or other switch serially disposed between the power supply VB and the respective load 14, 16. The current path may include one or more output pins or other output ports of the detection circuit 12.
The composition, configuration, and other characteristics of the driver circuit 22 may vary considerably. For instance, the driver circuit 22 may include any number of transistors or other switches to control the delivery of power to the loads 14, 16. The transistors may include low voltage or logic transistors as well as power transistors. Various types of power transistor devices may be used, including, for instance, bipolar junction transistor devices. Other types of switches may be used, including, for instance, relays. The detection circuit 12 may have any number of driver circuits.
The driver circuit 22 may not be included in the detection circuit 12 in some cases. For example, the controller 24 may direct the operation (e.g., activate) other types of loads directly, e.g., without an intermediate driver circuit. The loads activated or deactivated by the controller 24 may be internal (e.g., within the detection circuit 12) or external (e.g., outside of the detection circuit 12).
The detection circuit 10 also includes a plurality of comparators 26-28 coupled to the controller 24 and the power supply VB. In this example, the non-inverting input terminals of the comparators 26-28 are coupled to the power supply VB via a resistor 30. The resistor 30 is part of a voltage divider, or resistor ladder, that includes a resistor 32 to lower the voltage level of the power supply VB. Other resistive or coupling networks may be used to, e.g., allow low voltage comparators to be used. For instance, each comparator 26-28 may have a respective resistor to establish different voltage levels based on the voltage level of the power supply VB. In other cases, a resistor ladder or other resistive arrangement is not present, and the power supply VB is directly measured.
The comparators 26-28 are configured to determine where the voltage level of the power supply VB falls relative to a plurality of thresholds. The thresholds are used to determine the state of the power supply VB, as well as whether and to what extent power should be delivered to the driver circuit 22 and the loads 14, 16. In this example, the voltage level of the power supply VB is compared with three thresholds. The comparator 26 determines whether the voltage level of the power supply VB is below an undervoltage threshold VT1. The comparator 27 determines whether the voltage level of the power supply VB exceeds a first activation threshold VT2. The comparator 28 determines whether the voltage level of the power supply VB exceeds a second activation threshold VT3.
The activation threshold VT2 is lower than the activation threshold VT3. The activation threshold VT2 may correspond with a lower voltage level, but one at which the driver circuit 22 and one or more of the loads 14, 16 are operational. For example, the activation threshold VT2 may be at or near the bottom of a range of operating voltage levels for one or more of the driver circuit 22 and the loads 14, 16. In an automotive example of the system 10, the activation threshold VT2 may fall in a range from about 4 Volts to about 5 Volts. The activation threshold VT3, in contrast, may correspond with a voltage level in the normal operating range at which the current drop across the system impedance does not cause the sensed voltage for the power supply VB to fall below the undervoltage threshold VT1. Other thresholds may be used. For instance, the thresholds may vary considerably based upon several factors, including, for instance, the rated voltage level of the power supply VB, the configuration of the driver circuit 22, and the loads 14, 16.
In the embodiment of
Various active circuitry may be used to establish or generate reference voltages for use as the thresholds VT1-VT3. For example, the detection circuit 12 may include one or more voltage regulators, such as zener diodes, to generate stable reference voltages. Passive circuitry may also be used. For example, one or more voltage dividers may be used in combination with the voltage regulator(s) to generate reference voltages for one or more of the respective thresholds VT1-VT3. In some cases, the circuitry used to generate the reference voltage(s) may be integrated with the circuitry used to provide the comparator function.
The number of thresholds may vary. For example, the detection circuit 12 may be configured to support more than two activation thresholds. As a result, the number of power supply states may also vary. For example, the detection circuit 12 may distinguish between multiple voltage ranges to establish any number of operational states in addition to the undervoltage state.
A respective output signal is generated by each comparator 26-28. Each output signal is indicative of whether the respective threshold has been exceeded or passed. Exceeding or passing a threshold may involve a rising voltage going higher than the threshold, as in the activation thresholds VT2, VT3. Exceeding or passing a threshold may also involve a falling voltage going lower than the threshold, as in the undervoltage threshold. In this example, the controller 24 is coupled to each comparator 26-28 to receive the output signals. Other circuit topologies may be used to provide the signals to the controller 24.
The thresholds are used to determine the state of the power supply VB. The undervoltage threshold VT1 is used to determine when the power supply VB enters an undervoltage state (or condition). The system 10 enters the undervoltage state once the voltage level of the power supply VB falls below the undervoltage threshold VT1. In the example of
The controller 24 is configured to establish the power supply state in accordance with the output signals from the comparators 26-28. The controller 24 is then configured to control the driver circuit 22 in accordance with the power supply state. In the example of
The controller 24 may implement control logic (e.g., a control procedure) to direct the operation of the driver circuit 22. The control logic is based on the power supply state. The controller 24 is configured (e.g., via the control logic) to disable the driver circuit 22 if the voltage level of the power supply VB falls below the undervoltage threshold VT1. The driver circuit 22 may then be activated to provide power to one or both of the loads 14, 16 if the voltage level of the power supply VB rises above one of the activation thresholds VT2, VT3. The power level at which the driver circuit 22 is activated may depend on which activation threshold VT2, VT3 is exceeded, as well as the power supply state. For instance, power is provided at a lower power level if the voltage level exceeds the activation threshold VT2 and if the system still resides in the undervoltage state. The lower power level may be used to prevent the voltage sensed for the power supply VB from falling below the undervoltage threshold VT1 due to the voltage drop across the system impedance. Power is provided at a higher power level if the voltage level exceeds the activation threshold VT3, at which point the power supply state is changed from the undervoltage state to a non-undervoltage state. Further details and examples of the control logic are described and shown in connection with
The controller 24 may generate one or more output signals to control the driver circuit 22. In the example of
The configuration of the controller 24 may vary from the example shown. A variety of microcontrollers or other control units may be used. The processing and memory units or elements of the controller 24 may be configured and provided in various ways. For instance, the control logic may be hardwired into the controller 24 and/or provided via firmware or software. The memory 32 may be or include embedded memory. The memory 32 may include any combination of volatile and non-volatile memory. For example, the memory may be or include various types of random access memory (RAM), read-only memory (ROM), such as electrically erasable programmable ROM (EEPROM). The configuration and characteristics of the memory 32 may vary considerably. For instance, the memory 32 may be integrated with the microprocessor 30 or other processing unit to any desired extent.
The controller 24 may be integrated with other elements of the detection circuit 12 to a varying extent. For example, the controller 20 may be integrated with the other elements as a system on a chip “SoC” or as an application-specific integrated circuit (ASIC). In other cases, the controller 20 is disposed on a discrete chip, and integrated with the other elements of the detection circuit 12 on a circuit board. The controller 24 may thus be customized for undervoltage detection in various ways.
The controller 24 may include one or more modules or units dedicated to specific functions. For example, the controller 24 may include a digital-to-analog converter to generate one or more control signals, such as an amplitude control signal. Additionally or alternatively, the controller 24 includes a pulse width modulation (PWM) generator or module to generate a PWM control signal.
The controller 24 may be one of several controllers or control units in the system 10. Any number of loads 14, 16 may be controlled by each controller 24. Some of the components of the controller 24 may be replicated. For example, a respective instance of the controller component may be provided for each load 14, 16.
In the example of
The thresholds of the comparators 46, 48 may be compared to different voltages representative of the power supply voltage. In the example of
The controller 42 may generate one or more control signals for the driver circuit 44, as described above in connection with
The activation thresholds VT2 and VT3 are used when the battery voltage VB is rising, an example of which is indicated by an arrow 304. The threshold VT2 is a lower activation threshold. In this example, the lower activation threshold VT2 is at about 4.4 Volts. Once the battery voltage VB exceeds the activation threshold VT2, power is provided at a first (or lower) level.
The system remains in the undervoltage state until the activation threshold VT3 is exceeded. In this example, the second or higher activation threshold VT3 is at about 5.25 Volts. Once the battery voltage VB exceeds the activation threshold VT3, power is provided at a second (or higher) level. The second level may be a full rated level.
Additional or alternative activation thresholds may be used. For example, three or more activation thresholds may be used. The three or more activation thresholds may correspond with three or more levels at which power is provided. The multiple power levels may be useful for gradually increasing the power without causing the sensed battery voltage VB to drop below the undervoltage threshold VT1.
The method 400 may begin with, or include, the activation in an act 402 of a controller, such as a microcontroller or other control IC. The act 402 may be implemented in connection with a startup sequence and/or in connection with a reset procedure. In the example of
The supply voltage is detected or sensed in an act 406. The detection may occur in various ways and include various components. For example, comparators and/or analog-to-digital converters may be used. The act 406 may be periodically implemented. For instance, the supply voltage may be sampled or otherwise detected at a desired rate.
A decision block 408 determines whether a voltage level of the power supply is below a first threshold, such as the undervoltage thresholds described above. If so, the system is placed in an undervoltage state. In the example of
A state of the system is updated in an act 412 to reflect the undervoltage condition. The act 412 may include storing data indicative of the undervoltage state in a memory. For example, a flag may be updated.
As shown in
Control passes to another decision block 414 once, during a subsequent iteration, the voltage level is no longer below the undervoltage threshold. The decision block 414 determines whether the state resides in the undervoltage state. If not, then the system state does not change and the driver circuit(s) and/or load(s) remain disabled. Control may return to the act 406 for further supply voltage detection.
If the state resides in the undervoltage state, then control passes to yet another decision block 416 for control logic involving a number of activation thresholds higher than the undervoltage threshold, as described above. In this example, there are two activation thresholds with which a rising supply voltage is compared. If the voltage level fails to exceed either one, then control may return to the act 406 for another iteration. The system remains in the undervoltage state and the driver circuit(s) and/or load(s) remain disabled.
Control passes to an act 418 if the voltage level exceeds a lower activation threshold of the activation thresholds. The load(s) are then activated in the act 418 at a first power level. For example, a driver circuit is directed in the act 418 to provide power at a first (lower) power level. Control passes to an act 420 if the voltage level exceeds a higher activation threshold of the activation thresholds. The load(s) are then activated in the act 420 at a second (higher) power level. For example, the driver circuit is directed in the act 420 to provide power at the second (higher) power level. As described above, the first power level is lower than the second power level. For example, the second power level may be at or near a full rated drive level for the driver circuit. The first power level may be offset from the full rated drive level by an amount such that activating the driver circuit at the first power level does not drop the detected voltage level below the undervoltage threshold.
The act 418 may include sending a number of control signals to a driver circuit. Two control signals are provided in some cases. A first control signal is sent and configured to activate the driver circuit. The first control signal may thus be a binary signal. A second control signal is sent and configured to establish a level at which the driver circuit provides the power. For example, an amplitude control signal may be sent to the driver circuit. Alternatively or additionally, the control signal may be configured to direct the driver circuit to provide power to a subset of a plurality of loads. Alternatively or additionally, a pulse width modulation control signal may be sent to the driver circuit. Any combination of these and other control signals may be used to modulate the power level and thereby avoid oscillation in the undervoltage detection system.
In the example of
The act 420 may also include sending a number of control signals to a driver circuit. The control signals may correspond with those described above in connection with the act 418. For example, the first control signal may again be used to activate (e.g., enable the operation of) the driver circuit. The value, data, or other characteristic(s) of the second control signal may be adjusted to direct the driver circuit to provide power at the second power level.
In an act 422, the system is removed from the undervoltage state. In the example of
Described above are multi-threshold supply detection systems that control at what voltage which circuits are enabled/disabled, and how. The above-described methods and systems address undervoltage detection of a power supply in which circuits and/or other loads are disabled at low supply voltage levels to ensure reliable and predictable system operation and/or to avoid damage to components. The loads may be internal or external. As described above, enabling and disabling the load(s) changes the supply current, which, in turn, modulates the measured level of the supply voltage due to the source impedance of the supply (e.g., resistance in a wiring harness, connectors, and/or a reverse blocking diode). Modulation of the supply voltage measurement may cause the undervoltage detection to oscillate.
The state-based control techniques and/or partial activation of the load(s) of the above-described methods and systems are configured to avoid such modulation. The state-based control and/or partial load activation may allow functionality to be provided at the lowest possible supply voltage level without oscillating into and out of the undervoltage condition. The partial load activation may be or involve pulse width modulation and/or other techniques, such as linear or continuous reduction in the load current or supplied voltage.
In a first aspect, a method of undervoltage detection includes detecting a voltage level for a power supply of a system, placing the system in an undervoltage state if the detected voltage level is below an undervoltage threshold, activating the load at a first power level if the detected voltage level exceeds a first activation threshold and if the system resides in the undervoltage state, and activating the load at a second power level if the detected voltage level exceeds a second activation threshold.
In a second aspect, a method of undervoltage detection includes detecting a voltage level for a power supply of a system, disabling a load and placing the system in an undervoltage state if the voltage level is below an undervoltage threshold, activating the load at a first power level if the detected voltage level exceeds a first activation threshold and if the system resides in the undervoltage state, and activating the load at a second power level if the detected voltage level exceeds a second activation threshold. The first power level is lower than the second power level. The undervoltage threshold is lower than the first and second activation thresholds. The first activation threshold is lower than the second activation threshold.
In a third aspect, a system for undervoltage detection includes a driver circuit to provide power to a load, a controller configured to direct operation of the driver circuit, the controller including a memory in which data indicative of a power supply state is stored. The system further includes a plurality of comparators coupled to the controller and a power supply for the driver circuit, the plurality of comparators being configured to detect whether a voltage level of the power supply is below an undervoltage threshold, whether the voltage level exceeds a first activation threshold, and whether the voltage level exceeds a second activation threshold. The controller is further configured to disable the driver circuit and store data in the memory indicative of an undervoltage state if the voltage level falls below the undervoltage threshold. The controller is further configured to activate the driver circuit to provide power at a first power level if the voltage level exceeds the first activation threshold and if the system resides in the undervoltage state. The controller is further configured to direct the driver circuit to provide power at a second power level if the detected voltage level exceeds the second activation threshold.
Although described in connection with electrical devices in vehicles, the disclosed embodiments are not limited to any particular type of load or device context. A wide variety of loads may be driven via the systems described herein. The state-based undervoltage detection of the disclosed embodiments is thus not limited to motors (or DC motors), lamps, or other types of loads commonly present on vehicles.
The disclosed embodiments are also compatible with a variety of different power supplies. The disclosed embodiments are not limited to uses involving automotive batteries or 12-Volt batteries. A wide variety of batteries and other DC power supplies may be sensed via the disclosed embodiments.
Embodiments of the present invention are defined by the following claims and their equivalents, and nothing in this section should be taken as a limitation on those claims. Further aspects and advantages of the invention are discussed above in conjunction with the disclosed embodiments and may be later claimed independently or in combination.
While the invention has been described above by reference to various embodiments, it should be understood that many changes and modifications may be made without departing from the scope of the invention. It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention.