This application claims the benefit of Chinese Patent Application No. 201710338452.4, filed on May 15, 2017, which is incorporated herein by reference in its entirety.
The present invention generally relates to the field of power electronic technology, and more particularly to detection methods and circuits, and associated controllers and switching power supplies.
A switching power supply may generally include a main power converter and a controller. The controller in the switching power supply can connect to the main power converter, and the controller may output a switching control signal to control a main switch in the main power converter to be turned on or turned off, such that the switching power supply converts the input voltage into the voltage output required by the load. In order to prevent the power supply chip from being damaged due to a too high output voltage of the switching power supply, the controller may be provided with an output voltage detection circuit in order to achieve the output overvoltage protection for the switching power supply.
Reference may now be made in detail to particular embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention may be described in conjunction with the preferred embodiments, it may be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents that may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it may be readily apparent to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, processes, components, structures, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present invention.
Switching power supplies are widely applied in the driving of light-emitting diode (LED) light. In this application, it may be desirable that the switching power supply has good constant current output control. In order to achieve this purpose, the demagnetization time of an inductor of the switching power supply may need to be detected. That is, a zero crossing point of an inductor current may need to be detected. For the switching power supply of which a reference voltage at a negative terminal of an output terminal is zero, voltage divider resistors may be used to feed back the output voltage. In an isolated converter, the feedback signal of the output voltage may also be obtained by using the auxiliary winding. The controller may directly detect the output voltage based on the feedback signal of the output voltage. In some switching power supplies, the demagnetization time instant of the inductor may generally be detected by detecting the voltage at the high-voltage terminal of the power switch. Alternatively, an auxiliary winding can be added to the inductor, and the voltage across the auxiliary winding may be detected in order to detect the demagnetization time instant.
The controller in some switching power supplies may be provided with two detection pins, in order to detect the output voltage and the demagnetization time instant, and this may not facilitate miniaturization of the switching power supply. For some switching power supplies of which a reference voltage at a negative terminal of an output terminal is not zero, it may not be suitable to have output information of the switching power supply directly fed back by using a resistor divider network or an auxiliary winding, in order to detect an output voltage. In particular embodiments, a detection method can be used for detecting an output voltage of a switching power supply, and in particular for detecting an output voltage of a switching power supply of which a reference voltage at a negative terminal of an output terminal is not zero.
In particular embodiments, a detection method can include acquiring a first branch current (e.g., I1) that changes with a first voltage at a first terminal (e.g., J1) of an inductor of the switching power supply. The detection method can also include acquiring a second branch current (e.g., I2) that changes with a second voltage at a second terminal (e.g., J2) of the inductor. The detection method can also include controlling both the first and second branch currents to flow to a same detection terminal. The detection method can also include detecting the output voltage based on a first current flowing through the detection terminal during a first time period, and a second current flowing through the detection terminal during a second time period. The “first time period” may be a time period during which a main power switch in the switching power supply is turned on, and the “second time period” may be a time period during which the main power switch in the switching power supply is turned off. The “first current” may be a sum of the first and second branch currents during the first time period, and the “second current” may be a sum of the first and second branch currents during the second time period.
For example, the first terminal of the inductor may be a current input terminal of the inductor, and the second terminal of the inductor can be a current output terminal of the inductor. In one example, the first branch current that changes with the first voltage at the first terminal of the inductor of the switching power supply, and the second branch current that changes with the second voltage at the second terminal of the inductor may be acquired by setting a voltage at the detection terminal as a “third voltage” being a fixed value in the following way. A difference between the first and third voltages may be converted into a current to acquire the first branch current, and a difference between the second and third voltages may be converted into a current to acquire the second branch current.
Referring now to
As shown in
For example, the peripheral circuit may include a first branch current generation circuit configured to generate branch current I1, and a second branch current generation circuit configured to generate branch current I2. The first branch current generation circuit can connect between node J1 of inductor L and a detection terminal, and the second branch current generation circuit can connect between node J2 of inductor L and the detection terminal. For example, the detection terminal can connect to pin PIN_DEMAG_OVP of the control chip. The control chip may be provided with a clamping circuit inside, in order to set a voltage at pin PIN_DEMAG_OVP as a third voltage that is a fixed value. In this case, the first branch current generation circuit may convert a difference between first and third voltages into the first branch current I1 by resistor R1, and the second branch current generation circuit may convert a difference between second and third voltages into branch current I2 by resistor R2.
Both branch currents I1 and I2 may flow to the detection terminal (e.g., pin PIN_DEMAG_OVP). In addition, the control chip may be provided with an output voltage detection circuit configured to detect an output voltage of the switching power supply based on the first and second currents. For example, detecting the output voltage by the output voltage detection circuit may include acquiring a characterization parameter for characterizing the output voltage based on the first and second currents, and comparing the characterization parameter against a reference parameter in order to detect the output voltage.
For example, the process of acquiring the characterization parameter for characterizing the output voltage based on the first and second currents may include: acquiring and storing, during the first time period, a first proportion parameter that is in a first proportion to the first current; acquiring, during the second time period, a second proportion parameter that is in a second proportion to the second current; and acquiring the characterization parameter based on a difference between the first and second proportion parameters. A ratio of a resistance between the second terminal of the inductor and the detection terminal to a resistance between the first terminal of the inductor and the detection terminal is equal to k. That is, an equivalent resistance of the second branch current generation circuit is k times of an equivalent resistance of the first branch current generation circuit, and k times the first proportion is equal to (k+1) times the second proportion. An example detection circuit for performing the example detection method in certain embodiments can include the first and second branch current generation circuits, and the output voltage detection circuit, as described herein. The first detection circuit may be part of the controller of the switching power supply.
As shown in the example of
The equivalent resistance of the first branch current generation circuit is R1, and the equivalent resistance of the second branch current generation circuit is R2. As described above, R2=kR1 (R2 is equal to k times of R1). During the first time period, branch current I1 is equal to (Vin−Vc)/R1. Since the third voltage is close to the voltage across resistor Rs when main power switch M is turned on, branch current I2 may be considered to be approximately equal to zero during the first time period. In this case, “first” current It1 flowing through pin PIN_DEMAG_OVP during the first time period may be indicated by It1=I1+I2=(Vin−Vc)/R1. During the second time period, branch current I1 is equal to (Vin-Vc)/R1, and branch current I2 is equal to (Vin+Vout−Vc)/kR1. In this case, “second” current It2 flowing through pin PIN_DEMAG_OVP during the second time period can be as indicated by It2=I1+I2=[(k+1)(Vin−Vc)+Vout]/kR1. Due to kIt2−(k+1)It1=Vout/R1, characterization parameter Vout/R1 for output voltage Vout may be acquired based on currents It1 and It2.
In this example, a first proportion parameter that is in a first proportion to current It1 may be acquired and stored during the first time period, and a second proportion parameter that is in a second proportion to current It2 can be acquired during the second time period. The first and second proportions may meet a condition that k times of the first proportion is equal to (k+1) times of the second proportion. Characterization parameter Vout/R1 may be acquired based on a difference between the first and second proportion parameters. Characterization parameter Vout/R1 can be compared against a reference parameter in order to detect output voltage Vout. In this way, whether current output voltage Vout is an overvoltage can be determined, thereby protecting the switching power supply.
Referring now to
As described above, R2=kR1 (R2 is equal to k times of R1). During the first time period, branch current I1 is equal to (Vin−Vc)/R1, and branch current I2 is equal to (Vout−Vc)/kR1. In order to simplify the subsequent derivation, both of Vc and Vd may be temporarily ignored during the subsequent derivation process since both Vc and Vd are relatively small fixed values (e.g., both of Vc and Vd are considered to be zero in this example). In this case, current It1 flowing through pin PIN_DEMAG_OVP during the first time period may be indicated by It1=I1+I2=(kVin+Vout)/kR1. During the second time period, branch current I1 is equal to (Vin−Vc)/R1, and branch current I2 is equal to (Vin+Vout+Vd-Vc)/kR1. In this case, current It2 flowing through pin PIN_DEMAG_OVP during the second time period may be indicated by It2=I1+I2=[(k+1) Vin+Vout]/kR1. Due to (k+1) It1−kIt2=Vout/kR1, characterization parameter Vout/kR1 for output voltage Vout may be acquired based on currents It1 and It2.
In this example, a first proportion parameter that is in a first proportion to current It1 may be acquired and stored during the first time period, and a second proportion parameter that is in a second proportion to current It2 can be acquired during the second time period. The first and second proportions can meet a condition that k times the first proportion is equal to (k+1) times the second proportion. Characterization parameter Vout/kR1 may be acquired based on a difference between the first and second proportion parameters. Characterization parameter Vout/kR1 can be compared against a reference parameter to detect output voltage Vout. In this way, whether current output voltage Vout is an overvoltage can be determined, thereby protecting the switching power supply.
In the switching power supply described above, since voltages Vc and Vd are ignored in the calculation process, detected output voltage Vout may from the actual output voltage by a reserved amount which is determined by Vc and Vd. Since voltages Vc and Vd are generally low, the reserved amount may also be small and thus may not affect detection on the output voltage. For example, during the process of comparing the characterization parameter for output voltage Vout against the reference parameter, the reference parameter may be set based on the reserved amount, thereby accurately detecting the output voltage. In addition, this example detection method may also be used to detect input voltage Vin. Since the relationship between output voltage Vout and input voltage Vin may be determined based on the topology of the switching power supply, input voltage Vin may be obtained after output voltage Vout is detected.
In order to detect both an output voltage of a switching power supply and a demagnetization time instant of an inductor of the switching power supply by using the same pin, another detection method may be provided in particular embodiments. This particular detection method may differ from detection method discussed above in that the demagnetization time instant of the switching power supply may be detected based on the first and second currents. In this particular example, the controller shown in
For example, the demagnetization time instant detection circuit may detect the demagnetization time instant based on the first current flowing through the detection terminal during the first time period, and the second current flowing through the detection terminal during the second time period. For example, information on the first current can be acquired and stored during the first time period, and whether the second current meets a predetermined condition can be detected during the second time period. If the second current meets the predetermined condition, this can indicate that demagnetization of the inductor ends. The predetermined condition may be a relation between the first and second currents at a time instant when the first voltage is equal to the second voltage.
In the example switching power supply with the buck-boost topology shown in
Detecting the demagnetization time instant based on the first current flowing through the detection terminal during the first time period, and the second current flowing through the detection terminal during the second time period, may be performed as follows. During the first time period, a third proportion parameter that is in a third proportion to current It1 can be acquired and stored. During the second time period, a fourth proportion parameter that is in a fourth proportion to current It2 may be compared against the third proportion parameter to detect whether the second current meets the predetermined condition, in order to detect whether demagnetization of the inductor ends. The third and fourth proportions may meet a condition whereby (k+1) times the fourth proportion is equal to k times the third proportion. For example, in the case of k=1, 2 times current It1 may be acquired and stored during the first time period, and current It2 (e.g., the fourth proportion is 1) may be directly compared against the stored 2 times of current It1 during the second time period. In the case that current It2 is equal to the stored 2 times of current It1, it can be indicated that demagnetization of inductor L has completed.
In the example switching power supply with the buck topology shown in
In this case, current It2 before the time instant when the demagnetization of inductor L ends can be indicated by It2=I1+I2=[(k+1)Vin+Vout]/kR1, and current It2 at the time instant when the demagnetization of inductor L ends may be indicated by It2=I1+I2=(k+1)Vin/kR1. The second current before the time instant when the demagnetization of inductor L ends can be indicated as It21, and the second current at the time instant when the demagnetization of inductor L ends may be indicated as It22, i.e., It21=[(k+1)Vin+Vout]/kR1, and It22=(k+1)Vin/kR1. Due to It21−It1=Vin/kR1, It22 may be equal to (k+1)(It21−It1). Since the values of Vc and Vd can be ignored during the derivation process, It22+ΔV may actually be equal to (k+1)(It21−It1), where ΔV is a reserved amount determined based on Vc and Vd. For example, the values of Vc and Vd may be set appropriately for the sake of simplifying design of the circuit. The values of Vc and Vd can be set such that the values have little influence on the demagnetization time instant detection of inductor L, and may even be negligible when the reserved amount ΔV is zero.
In the switching power supply shown in
A seventh proportion parameter that is in a seventh proportion to current It2 may be compared against the second difference to detect whether the second current meets the predetermined condition, in order to detect whether demagnetization of the inductor ends. In a case that the fifth proportion is equal to the sixth proportion (e.g., both of the fifth and sixth proportions are equal to 1), a ratio of the seventh proportion to the sixth proportion may be equal to a ratio of the first difference to the second difference. For example, in the case of k=1, current It1 may be stored during the first time period, and two times a difference between currents It2 and It1 may initially be acquired. Then, current It2 can be compared against two times the difference during the second time period. In the case that current It2 is equal to the two times of the difference, this can indicate that the demagnetization of inductor L has ended.
In order to reduce the number of controller pins so as to facilitate miniaturization of the switching power supply, the above-mentioned pin PIN_DEMAG_OVP may function as a multiplexed pin for detecting the output voltage and the demagnetization time instant as described herein. That is, in the first example, in addition to detecting the output voltage based on currents It1 and It2 flowing through pin PIN_DEMAG_OVP, the control chip may further be provided with the demagnetization time instant detection circuit. Thus, the demagnetization time instant may be detected based on the first and second currents according to the demagnetization time instant detection approach discussed above.
In addition to detecting the demagnetization time instant based on currents It1 and It2 flowing through pin PIN_DEMAG_OVP, the control chip may further be provided with the output voltage detection circuit. Thus, the output voltage may be detected based on the first and second currents according to the example output voltage detection method discussed above. In the case that pin PIN_DEMAG_OVP serves as the multiplexed pin for output voltage detection and demagnetization time instant detection, the first detection circuit for detecting the output voltage, and the second detection circuit for detecting the demagnetization time instant in the controller of the switching power supply may share the first and second branch current generation circuits.
In this way, both the output voltage of the switching power supply and the demagnetization time instant of the inductor of the switching power supply can be detected by using the same pin, thereby facilitating the miniaturization of the switching power supply, and reducing manufacturing costs of the switching power supply.
The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with modifications as are suited to particular use(s) contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2017 1 0338452 | May 2017 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
4035703 | Hablutzel | Jul 1977 | A |
5892671 | Frano̧is | Apr 1999 | A |
8115402 | Kuang et al. | Feb 2012 | B2 |
8922174 | Xu | Dec 2014 | B2 |
9054592 | Yao et al. | Jun 2015 | B2 |
9054597 | Zhao et al. | Jun 2015 | B2 |
9225168 | Ogawa | Dec 2015 | B2 |
9287793 | Zhang et al. | Mar 2016 | B2 |
9391511 | Yu et al. | Jul 2016 | B2 |
9559591 | Hang | Jan 2017 | B2 |
9577533 | Yu et al. | Feb 2017 | B2 |
9755521 | Cai | Sep 2017 | B2 |
9991811 | Song | Jun 2018 | B1 |
10110131 | Yu | Oct 2018 | B2 |
10122257 | Huang | Nov 2018 | B2 |
20040004470 | Yoshida | Jan 2004 | A1 |
20100128499 | Mansfield | May 2010 | A1 |
20100327838 | Melanson | Dec 2010 | A1 |
20110084677 | Sji et al. | Apr 2011 | A1 |
20110199023 | Zimmermann | Aug 2011 | A1 |
20120026766 | Adragna | Feb 2012 | A1 |
20120086422 | Ito | Apr 2012 | A1 |
20120112795 | Wang et al. | May 2012 | A1 |
20120139514 | Paatero | Jun 2012 | A1 |
20130241512 | Yamada | Sep 2013 | A1 |
20140112028 | Fahlenkamp | Apr 2014 | A1 |
20150311807 | Oswald | Oct 2015 | A1 |
20160109488 | Dearborn | Apr 2016 | A1 |
20160197545 | Nemoto | Jul 2016 | A1 |
20160294292 | Huang | Oct 2016 | A1 |
20160301407 | Chen | Oct 2016 | A1 |
20170213677 | Yu | Jul 2017 | A1 |
Number | Date | Country | |
---|---|---|---|
20180331622 A1 | Nov 2018 | US |