Dynamic power supply sensor for multi-power supply applications
10283963 ยท 2019-05-07
Assignee
Inventors
Cpc classification
H02J3/1892
ELECTRICITY
G05B13/021
PHYSICS
International classification
H02J3/18
ELECTRICITY
Abstract
In general, the subject matter described in this disclosure can be embodied in a system that implements power supply protection. The system includes first circuitry, second circuitry, a first power supply that is configured to power the first circuitry, and a second power supply that is configured to power the first circuitry and the second circuitry. The system also includes a power supply sensor including an input that is connected to the first power supply, and an output. The system also includes a hysteresis buffer including an input that is connected to the output of the power supply sensor, and an output that is connected to the first circuitry in a configuration that transitions the first circuitry to a protected state as a result of the hysteresis buffer transitioning output states.
Claims
1. A system that implements power supply protection, comprising: first circuitry; second circuitry; a first power supply that is configured to power the first circuitry, wherein the first power supply is configured to power the first circuitry through an arrangement in which the first circuitry is connected between a first potential provided by the first power supply and a reference potential; a second power supply that is configured to power the first circuitry and the second circuitry, wherein the second power supply is configured to power the first circuitry through an arrangement in which the first circuitry is connected between a second potential provided by the second power supply and the reference potential, simultaneous with the first circuitry being connected between the first potential provided by the first power supply and the reference potential, the first potential being different from the second potential; a power supply sensor including: (i) an input that is connected to the first power supply, and (ii) an output; and a hysteresis buffer including: (i) an input that is connected to the output of the power supply sensor, and (ii) an output that is connected to the first circuitry in a configuration that transitions the first circuitry to a protected state as a result of the hysteresis buffer transitioning output states, wherein the hysteresis buffer is arranged to transition the first circuitry to the protected state as a result of the input of the hysteresis buffer receiving, from the output of the power supply sensor, a signal indicating that power provided to the input of the power supply sensor by the first power supply has decreased.
2. The system of claim 1, wherein the hysteresis buffer is configured to generate digital output signals from analog input signals received at the input to the hysteresis buffer.
3. The system of claim 2, wherein the hysteresis buffer includes a Schmitt trigger.
4. The system of claim 1, wherein the first power supply is configured to not power the second circuitry.
5. The system of claim 1, wherein a potential of the first power supply is independent from a potential of the second power supply.
6. The system of claim 1, wherein the power supply sensor comprises a diode-resistor network.
7. The system of claim 1, wherein the power supply sensor comprises a resistor-divider network.
8. The system of claim 1, wherein: the first circuitry includes a first sub-circuit block of a particular circuit; and the second circuitry includes a second sub-circuit block of the particular circuit.
9. The system of claim 1, wherein the signal indicating that power provided to the input of the power supply sensor by the first power supply has decreased comprises the signal indicating that potential provided to the input of the power supply sensor by the first power supply has decreased.
10. The system of claim 1, further comprising a bias circuit switch providing at least part of a connection between the output of the hysteresis buffer and the first circuitry.
11. The system of claim 10, wherein the bias circuit switch is configured to set a DC operational value of the first circuitry as a result of an input of the bias circuit switch receiving a transition between output states from the hysteresis buffer.
12. The system of claim 10, wherein the bias circuit switch is configured to interrupt bias current provided to the first circuitry to provide improved voltage tolerance when no current is present through a circuit component of the first circuit.
13. A system that implements power supply protection, comprising: first circuitry; second circuitry; a first power supply that is configured to power the first circuitry; a second power supply that is configured to power the first circuitry and the second circuitry; a power supply sensor including: (i) an input that is connected to the first power supply, and (ii) an output; a hysteresis buffer including: (i) an input that is connected to the output of the power supply sensor, and (ii) an output that is connected to the first circuitry in a configuration that transitions the first circuitry to a protected state as a result of the hysteresis buffer transitioning output states; and a bias circuit switch providing at least part of a connection between the output of the hysteresis buffer and the first circuitry.
14. The system of claim 13, wherein the bias circuit switch is configured to set a DC operational value of the first circuitry as a result of an input of the bias circuit switch receiving a transition between output states from the hysteresis buffer.
15. The system of claim 13, wherein the bias circuit switch is configured to interrupt bias current provided to the first circuitry to provide improved voltage tolerance when no current is present through a circuit component of the first circuit.
16. The system of claim 13, wherein the first power supply is configured to not power the second circuitry.
17. The system of claim 13, wherein the power supply sensor comprises a diode-resistor network.
18. A power supply detector, comprising: a diode connected to a first power supply; a resistor connected between the diode and ground; a hysteresis buffer including an input that is connected between the diode and the resistor; and a current bias switch including: (i) an input that is connected to an output of the hysteresis buffer, and (ii) an output that is connected to a protected circuit and that is configured to drive an operational DC level of the protected circuit to different states based on a signal received at the input of the current bias switch from the output of the hysteresis buffer.
19. The power supply detector of claim 18, wherein the hysteresis buffer includes a Schmidt trigger.
20. The power supply detector of claim 18, wherein the current bias switch is powered by a different power supply than the first power supply.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For a more complete understanding of the invention, reference is made to the following description and accompanying drawings.
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) Some analog and digital circuits employ multiple power supplies. The purpose varies depending on the application, but a common reason is to increase headroom for higher performance (faster devices, low noise, and low distortion) or to add functionality such as when standing current logic gates are used.
(7)
(8) This particular configuration is an example of a scenario in which turning off a power supply can be harmful. Specifically, the power supply V.sub.DD2 may supply a greater voltage/potential than the breakdown levels of certain components of Block A, such as collector to emitter voltage in bipolar transistors. As such, should the DPM system turn V.sub.DD1 OFF/LOW while leaving V.sub.DD2 ON/HIGH, there is a risk of the voltage provided by V.sub.DD2 harming electronic components of Block A.
(9) A solution to alleviate this problem is to power down all power supplies that provide power to Block A. In such a situation, there is no risk of breaking devices. But as indicated above, in many applications, other portions of the circuit may need to remain on. This results in a situation in which power supplies that are used in DPM cannot be shared with other parts of the system that are not used in DPM, or with other sub-circuit blocks that are under DPM management but may not be switched off at the same time as another sub-circuit block that is being switched off. One answer is to increase the number of power supplies, but this result is undesirable, for example, due to extra cost and/or size.
(10) A solution is to add a sensor that detects when V.sub.DD1 is powering down, and to quickly send a signal to certain components in Block A (e.g., transistors), to transition those components to a protected state in which the voltage provided from V.sub.DD2 will not harm the newly-transitioned circuit components.
(11)
(12) The resistor voltage (V.sub.D) as a function of the dynamic power supply voltage to be sensed (V.sub.DD1) is expressed in Equation (1).
(13)
(14) In this example, I.sub.S is a constant that represents the reverse saturation current, n is the number of diodes, and V.sub.T is a constant that represents the thermal voltage of the diode. The maximum voltage across the resistor (V.sub.Rmax) occurs when V.sub.DD1 is completely on. The minimum voltage across the resistor (V.sub.Rmin) occurs when V.sub.DD1 is completely off.
(15) This diode-resistor scheme provides a simple and flexible sensor solution, certain benefits of which are described in additional detail later. At this point, however, it is worth noting how this scheme can be expanded to fit different power supply levels by adding additional diodes (and potentially resistors) in series to create a multiple diode-resistor network [2]. The additional diodes increase the threshold voltage level at which V.sub.DD1 transitions V.sub.R between ON and OFF.
(16)
(17) As an initial example, suppose that V.sub.DD1 is on and the DPM system has determined to turn V.sub.DD1 off to power down sub-circuit Block A in order to limit power usage. The system could sense the voltage of V.sub.DD1 directly or a proportion of that voltage could be sensed through a resistor divider network (e.g., two resistors in series between V.sub.DD1 and ground, with the voltage sensed at the connection between the resistors). The relationship between V.sub.DD1 and V.sub.R, when V.sub.R represents the voltage either of V.sub.DD1 directly or through a resistor divider network, is illustrated in
(18) Contrast these results with those of a resistor-diode network, which is represented by the solid, curved line [3]. As illustrated by the curved line [3], V.sub.R drops off much more quickly when V.sub.DD1 declines from its ON/HIGH state, due to the I-V characteristics of the diode. For example, once the voltage across a diode has increased from 0 to pass the threshold voltage of the diode, the current passing through the diode increases exponentially in comparison to the voltage across the diode. This results in a situation in which minor increases in voltage across the diode cause even greater increases in current across the diode. Conversely, when the voltage across the diode is at its highest in the ON/HIGH state of the power supply, and decreases in voltage will lead to even greater decreases in current, which leads to exponentially declining voltage across resistor R.sub.1.
(19) Both the resistor-network and resistor-diode options result in situations in which V.sub.DD1 decreases and components of sub-circuit Block A potentially remain at risk of damage due to V.sub.DD2 remaining ON. At some point the circuit will transition the circuitry to a protected mode, but before that transition there remains that risk of damage. The time period between V.sub.DD1 declining and the circuitry being transitioned into a protected mode is referred herein as the transient time period. Should this transient time period last longer than the thermal response of the affected circuitry, damage to that circuitry can occur. As such, it is beneficial to minimize the length of this transient time period. The response curves [3] and [4] illustrate how the diode-resistor network provides a faster transition from ON/HIGH to OFF/LOW, which is triggered when the respective curves [3] and [4] drop below the lower threshold voltage [6] of the Schmidt trigger. Indeed, the illustration in
(20) Stated in other words, the speed at which a power supply sensor transitions corresponds to the speed at which the power supply transitions. A typical power supply, however, transitions slower than the thermal response of a transistor and thus it can be unwise to wait for the power supply to transition to an OFF state before switching the circuit that it was powered in to a protected state. As such, to avoid damage to circuitry, a sensor that measures the output of one of the power supplies can be formed using a diode-resistor network that is connected to a hysteresis buffer (e.g., a Schmidt trigger) to define a boundary for the transition at which circuitry is transitioned to a protected state. A diode-resistor network is a mechanism to quickly reach the boundary of the hysteresis buffer, although direct measurement of the power supply or a measurement using a resistor-divider network is also suitable in certain design circumstances.
(21)
(22) As a result, the DPM system sends a signal that causes V.sub.DD1 to turn off or reduce its power. In response, the voltage of V.sub.DD1 begins to decline. At the same time, a voltage (V.sub.R) generated by diode-resistor network [8] also begins to decline. The declining voltage of V.sub.R as a function of the declining voltage of V.sub.DD1 is illustrated in
(23) At some point, the declining voltage V.sub.R falls beneath a boundary set by a hysteresis buffer [9]. At this point, the hysteresis buffer switches from an ON/HIGH state to an OFF/LOW state (e.g., by switching from 5 volts to 0 volts).
(24) The hysteresis buffer [9] drives a bias circuit switch [10]. The switch [10] interrupts or allows the flux of current from a bias current mirror that sets the DC operational values on the protected circuit [11]. The switch may have no effect on the bias reference during normal operation, but during bias shut down, the switch may interrupt the current flow in the mirror. This action can eliminate the bias current in all of the protected circuit [11]. Without a bias current, transistors may be able to tolerate a larger potential across them, which may be the case if one or more other power supplies remain on.
(25) As shown in
(26) The circuit shown in
(27) Furthermore, the bias circuit switch [10] is only one of many different manners in which to transform the output of a hysteresis buffer into a signal that can drive a circuit into a protected mode (and it is possible to configure a system in which the hysteresis buffer directly drives a circuit into a protected mode). Moreover, the example ON/OFF states described throughout this document are merely exemplary. For example, various combinations of one or more of the diode-resistor network [8], the hysteresis buffer [9], and the bias circuit switch [10] may be configured to generate an OFF/LOW state when the protected circuit [11] is to be driven into a protected mode.
(28) It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention herein described and all statements of the scope of the invention which, as a matter of language, might be said to fall therebetween.