Line-voltage detection method, power controller and power supply with brown-out protection and brown-in mechanism
10691189 ยท 2020-06-23
Assignee
Inventors
Cpc classification
H02H7/1222
ELECTRICITY
G06F1/28
PHYSICS
G06F1/30
PHYSICS
International classification
G06F1/28
PHYSICS
G06F1/30
PHYSICS
Abstract
A power controller makes use of a line-voltage detection method to perform brown-out protection and brown-in mechanism. The power controller has a high-voltage node connected via a current-limiting resistor to a line voltage, and a high-voltage startup transistor connected to the high-voltage node. The input voltage at the high-voltage node is divided to provide a fraction result. An offset current flowing through the high-voltage startup transistor and the current-limiting resistor is provided in response to the fraction result. The offset current is stopped in response to the fraction result when the offset current flows through the high-voltage startup transistor and the current-limiting resistor.
Claims
1. A line-voltage detection method for a power controller with a high-voltage node connected via a current-limiting resistor to a line voltage generated by rectifying an alternating-current input voltage, wherein the power controller includes a high-voltage startup transistor, the line-voltage detection method comprising: dividing a first input voltage at the high-voltage node to provide a fraction result; providing an offset current flowing through the high-voltage startup transistor and the current-limiting resistor in response to the fraction result; and stopping the offset current in response to the fraction result when the offset current flows through the high-voltage startup transistor and the current-limiting resistor.
2. The line-voltage detection method as claimed in claim 1, comprising: comparing the fraction result with a reference voltage, so as to determine whether to provide or stop the offset current.
3. The line-voltage detection method as claimed in claim 1, comprising: stopping the offset current eventually if the line voltage is outside a predetermined range between an upper limit voltage and a lower limit voltage; wherein the upper limit voltage is higher than the lower limit voltage.
4. The line-voltage detection method as claimed in claim 3, wherein the upper limit voltage is in association with the current-limiting resistor.
5. The line-voltage detection method as claimed in claim 3, comprising: periodically stopping and providing the offset current when the line voltage is within the predetermined range.
6. The line-voltage detection method as claimed in claim 5, comprising: providing a clock signal; and periodically providing the offset current in response to the clock signal when the line voltage is within the predetermined range.
7. The line-voltage detection method as claimed in claim 1, comprising: providing a charging current flowing from the line voltage, through the high-voltage startup transistor, so as to charge an operating voltage capacitor.
8. A power controller with brown-in mechanism, comprising: a high-voltage node, connected to a line voltage via a current-limiting resistor; a high-voltage startup transistor connected between an operating voltage capacitor, for providing a charging current flowing through the high-voltage startup transistor to charge the operating voltage capacitor; a controllable current source configured for pulling an offset current; a voltage divider for providing a fraction result of an input voltage at the high-voltage node; a management circuit for controlling the controllable current source in response to the fraction result, thereby optionally providing the offset current flowing through the current-limiting resistor and the high-voltage startup transistor; a signal generator for providing a PWM signal to a power switch; and a brown-in mechanism circuit coupled to enable the signal generator in response to the fraction result.
9. The power controller as claimed in claim 8, wherein the management circuit comprises: a comparator for comparing the fraction result with a reference voltage to provide a comparison result; a single pulse generator for providing a pulse signal in response to the comparison result; and a control circuit for turning ON the controllable current source when the pulse signal appears.
10. The power controller as claimed in claim 9, wherein the control circuit receives a clock signal, and turns ON the controllable current source when a signal edge of the clock signal appears.
11. The power controller as claimed in claim 9, wherein the single pulse generator comprises: a debouncing circuit for passing the comparison result to be an acknowledgement signal if the comparison result has been stable at a first logic value for a predetermined debounce-time; and a logic circuit for generating the pulse signal in response to the acknowledgement signal and the comparison result; wherein the brown-in mechanism circuit coupled to enable the signal generator in response to the acknowledgement signal.
12. The power controller as claimed in claim 9, comprising: a brown-out protection circuit coupled to disenable the signal generator when the comparison result has been stable at a logic value for a predetermined debounce-time.
13. A power supply with brown-in mechanism, comprising: a current-limiting resistor; a power switch; an operating voltage capacitor; and a power controller, in form of an integrated circuit, comprising: a high-voltage node, as a first pin of the integrated circuit, connected to a line voltage via the current-limiting resistor; an operating voltage source node, as a second pin of the integrated circuit, wherein the operating voltage capacitor is connected to the operating voltage source node; a high-voltage startup transistor connected between the operating voltage source node and the high-voltage node, for providing a charging current flowing through the high-voltage startup transistor to charge the operating voltage capacitor; a management circuit coupled to detect an input voltage at the high-voltage node; and a signal generator coupled to the management circuit for providing a PWM signal to the power switch; wherein when the line voltage exceeds an upper limit voltage the signal generator is enabled to provide the PWM signal, thereby performing brown-in mechanism; and the upper limit voltage is in association with resistance of the current-limiting resistor.
14. The power supply as claimed in claim 13, wherein when the line voltage goes below a lower limit voltage the signal generator is disenabled to stop providing the PWM signal, thereby performing brown-out protection, the lower limit voltage is less than the upper limit voltage, and a difference between the upper and lower limit voltages is in association with the resistance of the current-limiting resistor.
15. The power supply as claimed in claim 14, wherein the power controller comprises: a controllable current source configured for pulling an offset current; wherein when the line voltage is within a range defined between the upper and lower limit voltages the management circuit turns ON and OFF the controllable current source periodically; and the offset current, when the controllable current source is turned ON, flows from the line voltage, through the current-limiting resistor and the high-voltage startup transistor.
16. The power supply as claimed in claim 15, wherein the management circuit turns OFF the controllable current source eventually if the line voltage is outside the range.
17. The power supply as claimed in claim 14, wherein the lower limit voltage is substantially independent to the current-limiting resistor.
18. The power supply as claimed in claim 13, wherein the power controller comprises: a voltage divider for providing a fraction result of the input voltage at the high-voltage node; wherein the management circuit compares the fraction result with a reference voltage to provide a comparison result.
19. The power supply as claimed in claim 18, wherein the management circuit comprises: a single pulse generator for providing a pulse signal in response to the comparison result; wherein the single pulse generator is coupled to control a controllable current source pulling an offset current flowing through the current-limiting resistor and the high-voltage startup transistor.
20. The power supply as claimed in claim 18, wherein the power controller comprises: a brown-in mechanism circuit coupled to enable the signal generator in response to the comparison result.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings. In the drawings, like reference numerals refer to like parts throughout the various figures unless otherwise specified. These drawings are not necessarily drawn to scale. Likewise, the relative sizes of elements illustrated by the drawings may differ from the relative sizes depicted.
(2) The invention can be more fully understood by the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8)
(9) Inside power controller 18c is a high-voltage startup transistor 46 connected to high-voltage node HV, which could be a pin of a packaged integrated circuit. For instance, high-voltage startup transistor 46 is a depletion-mode metal-oxide-semiconductor (MOS) transistor, or a depletion-mode junction field effect transistor (JFET), capable of sustaining a drain-to-source voltage more than 400V, or as high as 800V. During a high-voltage startup procedure, power switch 26 is constantly turned OFF, and high-voltage startup transistor 46 is ON to conduct a charging current charging operating voltage capacitor 28 via diode 202 and operating voltage source node VCC, so operating voltage V.sub.CC rises. Operating voltage source node VCC could be a pin of power controller 18c if power controller 18c is in form of an integrated circuit. When operating voltage V.sub.CC exceeds a predetermined level, 20 volt for example, the high-voltage startup procedure concludes, high-voltage startup transistor 46 is turned OFF, probably because of the rise in the source voltage of the high-voltage startup transistor 46, and the charging current stops. Operating voltage V.sub.CC is the power source that power controller 18c relies on for normal operations. As shown in
(10) Power controller 18c includes controllable current source 206, voltage divider 40c, management circuit 204, a brown-out protection circuit 208, brown-in mechanism circuit 210 and signal generator 212.
(11) Voltage divider 40c includes two resistors 42c and 44c connected in series between high-voltage node HV and ground line GND. The joint between resistors 42c and 44c can feed fraction result V.sub.BNO of the input voltage V.sub.HV at high-voltage node HV to management circuit 204, which in response controls controllable current source 206. In other words, voltage divider 40c divides input voltage V.sub.HV at high-voltage node HV to provide fraction result V.sub.BNO which is substantially in proportion to input voltage V.sub.HV.
(12) Management circuit 204 could turn ON controllable current source 206, which accordingly pulls an offset current I.sub.OS, whose value is IOS, a positive number. Offset current I.sub.OS flows from line voltage V.sub.LINE, through current-limiting resistor 20, high-voltage node HV, high-voltage startup transistor 46, and controllable current source 206, and to ground line GND. When controllable current source 206 is turned OFF, offset current I.sub.OS is about 0 A or disappears. Controllable current source 206 could be forbidden to be turned ON until a high-voltage startup procedure concludes or operating voltage V.sub.CC is high enough.
(13) As demonstrated in
(14) Single pulse generator 222 includes debouncing circuit 230, NOT gate 234, and AND gate 232. Debouncing circuit 230 passes comparison result S.sub.CHK to be acknowledgement signal S.sub.BI if comparison result S.sub.CHK has been stable at 1 in logic for a predetermined debounce-time T.sub.DEB1. According to one embodiment of this invention, acknowledgement signal S.sub.BI is 0 in logic if comparison result S.sub.CHK is 0 in logic. Acknowledgement signal S.sub.BI becomes 1 in logic only if comparison result S.sub.CHK has remained as 1 for debounce-time T.sub.DEB1, which for example is about 300 us. NOT gate 234 and AND gate 232 together work as a logic circuit to generate pulse signal S.sub.RES in response to comparison result S.sub.CHK and acknowledgement single S.sub.BI.
(15) Control circuit 224 receives clock signal CLK and pulse signal S.sub.RES to control controllable current source 206. When pulse signal S.sub.RES does not exist, being 0 in logic, D flip-flop 240 is reset all the time, keeping its output 0 in logic and turning controllable current source 206 OFF. When pulse signal S.sub.RES occurs, being 1 in logic, D flip-flop 240, which is then updated by a flowing rising edge of clock signal CLK, can turn controllable current source 206 ON through AND gate 242. According to one embodiment of the invention, the cycle time of clock signal CLK is about 100 us.
(16) Brown-in mechanism circuit 210 receives acknowledgement signal S.sub.BI. Acknowledgement signal S.sub.BI, if it is 1 in logic, sets SR flip-flop 213 to enable signal generator 212, which in response starts providing PWM signal S.sub.PWM to turn ON and OFF power switch 26, so power conversion to output voltage V.sub.OUT commences.
(17) Brown-out protection circuit 208 receives comparison result S.sub.CHK, and includes NOT gate 211 and debouncing circuit 209. Debouncing circuit 209 is the same with debouncing circuit 230 in view of functionality, but debouncing circuit 209 has debounce-time T.sub.DEB2 different from debounce-time T.sub.DEB1 of debouncing circuit 230, and debounce-time T.sub.DEB2 is 180 ms according to embodiments of the invention. In other words, when comparison result S.sub.CHK has continued to be 0 in logic for 180 ms, brown-out protection circuit 208 resets SR flip-flop 213 to disenable signal generator 212. As a result, signal generator 212 stops providing PWM signal S.sub.PWM, power switch 26 is kept being OFF, and power conversion to output voltage V.sub.OUT ceases.
(18) According to embodiment of the invention, the resistance of current-limiting resistor 20 is about tens of thousands of ohms, and those of resistors 42c and 44c are each about tens of millions of ohms.
(19)
(20) For the front, left half of
(21) Before moment t1, offset current I.sub.OS is 0 A, line voltage V.sub.LINE is under lower limit voltage V.sub.BTM, and outside a predetermined range RG defined between lower limit voltage V.sub.BTM and upper limit voltage V.sub.TOP. In the meantime, fraction result V.sub.BNO being about K*V.sub.LINE where K is the fraction defined by voltage divider 40c, is less than reference voltage V.sub.REF. Acknowledgement signal S.sub.BI and comparison result S.sub.CHK both are 0 in logic. So pulse signal S.sub.RES is 0 in logic and control circuit 224 turns controllable current source 206 OFF. Offset current I.sub.OS is about 0 A, disappearing.
(22) At moment t1, line voltage V.sub.LINE goes up beyond lower limit voltage V.sub.BTM, and starts entering within the predetermined range RG. Meanwhile, fraction result V.sub.BNO exceeds reference voltage V.sub.REF so comparison result S.sub.CHK turns from 0 into 1, and pulse signal S.sub.RES follows to become 1 in logic in response. After moment t1, the first subsequent rising edge of clock signal CLK accordingly turns ON controllable current source 206 to make offset current I.sub.OS appear, having a constant positive value of IOS.
(23) The appearing of offset current I.sub.OS drops input voltage V.sub.HV and fraction result V.sub.BNO quickly because offset current I.sub.OS goes through current-limiting resistor 20. The drop of fraction result V.sub.BNO will be about K*IOS*RHV, where RHV is the resistance of current-limiting resistor 20. Fraction result V.sub.BNO, therefore, could go down below reference voltage V.sub.REF to turn comparison result S.sub.CHK into 0 in logic, pulse signal S.sub.RES becomes 0, control circuit 224 in response turns OFF controllable current source 206, and offset current I.sub.OS ends immediately. This analysis implies the appearing of offset current I.sub.OS could cause automatic shutdown of itself via a feedback path. As shown in
(24) The shutdown of offset current I.sub.OS makes the drop of fraction result V.sub.BNO disappear, fraction result V.sub.BNO recovers, so comparison result S.sub.CHK turns from 0 into 1 in logic. As detailed before, offset current I.sub.OS will reappear when another subsequent rising edge of clock signal CLK reaches D flip-flop 240, and once again offset current I.sub.OS will last for only a very short period of time before it ends. In other words, offset current I.sub.OS appears periodically and lasts only for a very short period of time each time when clock signal CLK has a rising edge.
(25) At moment t2, line voltage V.sub.LINE is equal to upper limit voltage V.sub.TOP. As shown during the period of time from moment t1 to moment t2 in
(26) Since moment t2, line voltage V.sub.LINE has exceeded upper limit voltage V.sub.TOP and is not within the predetermined range RG. Since then, no matter whether offset current I.sub.OS appears or not, fraction result V.sub.BNO is larger than reference voltage V.sub.REF, and comparison result S.sub.CHK is always 1 in logic. Pulse signal S.sub.RES is going to have a pulse with a pulse width of debounce-time T.sub.DEB1 defined by debouncing circuit 230, which is 300 us for example. During the pulse of pulse signal S.sub.RES, the appearing or shutdown of offset current I.sub.OS is solely controlled by clock signal CLK, meaning that offset current I.sub.OS appears if clock signal CLK is 1 and that it disappears if clock signal CLK is 0. This circuit behavior is illustrated by the signal waveforms in
(27) When comparison result S.sub.CHK has continued to be 1 for debounce-time T.sub.DEB1, debouncing circuit 230 turns acknowledgement signal S.sub.BI from 0 into 1 in logic, the pulse of pulse signal S.sub.RES concludes, so offset current I.sub.OS disappears or shuts down constantly, as shown at moment t3 in
(28) As demonstrated in
(29) In the right half of
(30) Based on the analysis in view of
(31) The above analysis can witness that upper limit voltage V.sub.T0p and lower limit voltage V.sub.BTM comply with the following equations (1) and (2) respectively.
K*(V.sub.TOPRHV*IOS)=V.sub.REF(1)
K*V.sub.BTM=V.sub.REF(2)
(32) Equation (1) clearly indicates that upper limit voltage V.sub.T0p is in association with resistance RHV of current-limiting resistor 20. Even though value IOS and reference voltage V.sub.REF are both predetermined values that cannot be changed once power controller 18c is fabricated in form of an integrated circuit, a system designer nevertheless can choose current-limiting resistor 20 with appropriate resistance RHV to modify upper limit voltage V.sub.TOP. Bottom limit voltage V.sub.BTM is substantially independent to current-limiting resistor 20 however. Bottom limit voltage V.sub.BTM is unchangeable since it depends primarily on reference voltage V.sub.REF and K, two default factors in an integrated circuit.
(33) According to embodiments of the invention, upper limit voltage V.sub.T0P is used to be the brown-in reference for brown-in mechanism, and it is adjustable by choosing current-limiting resistor 20. When line voltage V.sub.LINE has been steady above upper limit voltage V.sub.TOP acknowledgement signal S.sub.BI becomes 1 in logic and brown-in mechanism circuit 210 enables signal generator 212, which according generates PWM signal S.sub.PWM to start power conversion of a power supply.
(34) Bottom limit voltage V.sub.BTM is used to be the brown-out reference for brown-out protection, and it cannot be adjusted when the integrated circuit of power controller 18c completes its fabrication. When line voltage V.sub.LINE has been steady under bottom limit voltage V.sub.BTM for more than 180 ms, output of debouncing circuit 209 becomes 1 in logic, so SR flip-flop 213 is reset to disenable signal generator 212, thereby stopping power conversion of a power supply.
(35) The embodiment in
(36)
(37) Even though this invention is detailed by way of AC-to-DC flyback power supplies, but it is not limited to however. Embodiments of the invention could include boosters, buck converters, buck boosters, and so forth.
(38) While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.