1. Technical Field
The present invention relates generally to electronic circuits, and more specifically, the invention relates to switched mode power supplies.
2. Background Information
A typical requirement for power supplies of electronic equipment is that they limit their output power. One reason to limit output power is to meet the requirements of safety agencies for prevention of personal injury. Another reason to limit output power is to avoid damage to electronic components from an overload.
Power supplies typically have self-protection circuits that respond when an output becomes unregulated for a specified time. However, if output power is not limited, a fault at a load can consume enough power to cause damage or to exceed regulatory requirements while the outputs remain regulated. Thus, the self-protection feature can be ineffective if the power supply can deliver too much power.
A common way to limit output power of a switching power supply is to limit the current in a power switch at the input of the power supply. The maximum output power is related to the peak current in the switch. Inherent delays in the responses of electrical circuits create an error between the desired limit for peak current in the switch and the actual maximum peak current in the switch. The error is greater at higher input voltages, causing the maximum output power to be greater at higher input voltages than it is at lower input voltages.
The present invention detailed illustrated by way of example and not limitation in the accompanying Figures.
Embodiments of a power supply regulator that may be utilized in a power supply are disclosed. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one having ordinary skill in the art that the specific detail need not be employed to practice the present invention. Well-known methods related to the implementation have not been described in detail in order to avoid obscuring the present invention.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases “for one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
As will be discussed, the power from a switching power supply may be limited according to embodiments of the present invention by limiting the current in a switch of the power supply. For one embodiment, a switch is coupled to an energy transfer element of a power supply with a controller generating a drive signal to control switching of the switch to regulate the output of the power supply. The controller includes a current limiter, which will adjust the drive signal to limit a current though the switch to a variable current limit value. For one embodiment, the current limiter based on the input line voltage of the power supply sets the variable current limit value. For example, the variable current limit may be to a nominal current limit value for nominal or a low input line voltage. If, however, the input line voltage is relatively high, then the variable current limit is set to a reduced current limit value in accordance with the teachings of the present invention. For one embodiment, the controller deduces the magnitude of the input voltage by measuring how long the current takes to go between two values and the variable current limit is then adjusted accordingly.
The variable current limit value for the switch is adjusted according to the input voltage of the power supply to compensate for a delay between the time when the current reaches the current limit and the time when the switch turns off. A lower value of current limit for higher input voltages prevents excess output power at high input voltage. For one embodiment, input voltage may be determined indirectly from a measurement of time to reach current limit from an initial value of zero current when the power supply operates in discontinuous conduction mode. In general, a design can deliver a required output power and also limit the maximum output power over the operating range of input voltage by compensating for the error between desired maximum peak current in the switch and the actual maximum peak current in the switch.
As will be discussed, a measurement of time is used to determine an appropriate adjustment of the desired maximum peak current in the switch to meet the requirements of the design. A current limit threshold for a switch is adjusted in response to a measurement of time during the conduction of the switch to compensate for the undesirable influence of input line voltage on the actual peak current in the switch. For instance, a relatively high input line voltage is indicated for an embodiment of the present invention if an over current condition is identified during a first switching cycle after a skipped switching cycle of the switch.
As will be discussed, it is likely that the power supply will operate in a discontinuous conduction mode of operation in the first switching cycle after a skipped switching cycle. In this situation, the energy in the energy transfer element typically goes to zero before the switch turns on in the next switching cycle. Therefore, if an over current condition occurs during this first switching cycle with the energy in the energy transfer element initially at zero at the beginning of the switching cycle, a high input line condition is indicated, and the variable current limit is set accordingly to the reduced value in accordance with the teachings of the present invention. If, on the other hand, an over current condition is not identified in the first switching cycle after a skipped switching cycle of the switch, then it is assumed that the input line voltage of the power supply is nominal or relatively low, and the variable current limit is set accordingly to the nominal value in accordance with the teachings of the present invention.
To illustrate,
As illustrated in the power supply example of
A clamp circuit 110 is coupled to the primary winding 175 of the energy transfer element T1125 to control the maximum voltage on the switch S1120. In one embodiment, switch S1120 is a transistor such as for example a power metal oxide semiconductor field effect transistor (MOSFET). In one embodiment, controller 145 includes integrated circuits and discrete electrical components. The operation of switch S1120 produces pulsating current in the rectifier D1130 that is filtered by capacitor C1135 to produce a substantially constant output voltage VO or a substantially constant output current IO at the load 165.
The output quantity to be regulated is UO 150, that in general could be an output voltage VO, an output current IO, or a combination of the two. A feedback circuit 160 is coupled to the output quantity UO 150 to produce a feedback signal UFB 155 that is an input to the controller 145. Controller 145 also includes a current sensor coupled to receive current sense 140 that senses a current ID 115 in switch S1120. Any of the many known ways to measure a switched current, such as for example a current transformer, or for example the voltage across a discrete resistor, or for example the voltage across a transistor when the transistor is conducting, may be used to measure current ID 115. The controller may use current sense signal 140 to regulate the output UO 150 or to prevent damage to the switch S1120.
To illustrate,
A complication in the use of a lower current limit value to compensate for the delay is that in general ΔIDELAY will be larger at higher input voltages than at lower input voltages because ID increases at a greater rate when the input voltage is high. Therefore, a power supply that uses a single compensated current limit ILIMIT2 to limit maximum output power to the desired value at a high input voltage would have less than the desired maximum output power at low input voltage. Indeed, if the circuit to limit the power has only one desired limit for peak current such as IPEAK2, a design that meets the requirement for maximum power at high input voltage may be unable to deliver the required power at low input voltage.
For one embodiment, a power supply may use a first compensated current limit ILIMIT1 at a low input voltage and a second compensated current limit ILIMIT2 at high input voltage to limit the maximum output power to a desired value over a wide range of input voltages in accordance with the teachings of the present invention.
To illustrate,
Once the switch is turned on, the state of the current limit signal ILIM is evaluated in Block 535. The on time of the switch is compared to the maximum permissible on time in Block 540. Block 545 turns off the switch immediately if ILIM is high or if the on time exceeds the maximum on time tDMAX. After the switch turns off, Block 550 directs the flow depending on whether the mode of operation was CCM or DCM when the switch turned on. The mode is DCM if the energy in the energy transfer element goes to zero before the switch turns on. In one embodiment, a single switching period with the switch disabled is sufficient to reduce the energy to zero. Therefore, in one embodiment, Block 550 has a memory of whether or not the switch was enabled during a previous switching period to determine the mode of operation at the start of the present switching period.
If the mode of operation was not DCM, the controller continues with the interpretation of the feedback signal in Block 515. If the mode of operation was DCM, the flow is diverted to Block 555. Block 555 compares the time to reach current limit against the reference time tLIMMAX. Although delays in practical circuits prevent exact measurement of the time tLIM to reach the current limit, it is sufficient to measure a signal that includes the delays for an approximate measurement of tLIM. For one embodiment, the sum of tLIM and delay td, which is the on time tON in
If the time to reach current limit is less than tLIMMAX, the controller sets a reduced current limit in Block 530. The reduced current limit for a high input voltage corresponds to ILIMIT2 in
A feedback terminal 754 receives a feedback signal UFB. A modulator 752 interprets the feedback signal UFB to set an enable signal 744 high or low. An oscillator 756 provides a clock signal 748 and a DMAX signal 746 to determine respectively the length of a switching period and the maximum on time of the switch 736. Switch 736 may be on while DMAX 746 is low. Switch 736 is off while DMAX 746 is high. AND gate 740 sets latch 738 to turn on switch 736 with drive signal 757 at the beginning of a switching period if the enable signal 744 is high. OR gate 742 resets latch 738 to turn off switch 736 with drive signal 757 if switch current ID 706 exceeds the current limit or if signal DMAX 746 goes high.
Switch current ID 706 is sensed as a voltage VID that is compared to a current limit voltage VILIMIT by a comparator 704. Resistor 732 with current sources 728 and 730 generates current limit voltage VILIMIT. Current source 730 is switched on and off by p-channel transistor 724. In one embodiment, current source 730 is one-tenth the value of current source 728. Thus, the current limit voltage VILIMIT increases by 10 percent to make a nominal current limit 10 percent higher than a reduced current limit when current source 730 is switched on.
The drive signal 757 that is output by latch 738 is delayed by leading edge blanking time tLEB delay 734 before being received by AND gate 708. AND gate 708 receives the output of current limit comparator 704 and the output of leading edge blanking time delay 734 to provide an over current signal 760. Leading edge blanking time tLEB delay 734 is long enough to allow switch 736 to discharge stray capacitance on drain terminal 702. Discharge of stray capacitance at drain terminal 702 can produce a high drain current ID 706 that temporarily exceeds the current limit, but is unrelated to the output of the power supply. The leading edge blanking time tLEB delay 734 prevents the over current signal 760 from going high during a time tLEB after switch 736 turns on. Over current signal 760 in
Flip-flop 750 remembers the state of enable signal 744 at the beginning of the switching period. Flip-flop 750 is clocked at the start of every switching period by the complement of DMAX signal 746 from inverter 720. A change in the state of the clocked enable signal 745 from one switching period to the next switching period is detected by XOR gate 716.
XOR gate 716 with delay 718 at one input receives the clocked enable signal 745 to set latch 714 whenever there is a change in the clocked enable signal 745. Delay 718 is long enough to produce an output that sets latch 714. In one embodiment, delay 718 is ten nanoseconds. Latch 714 is set at the beginning of a switching period whenever there has been a change in the state of the clocked enable signal 745 from the previous switching period.
Latch 726 is allowed to set if enable signal 744 is high at the beginning of the current switching period. Inverter 722 resets latch 726 if enable signal 744 is low at the beginning of the current switching period.
Latch 714 is set to indicate DCM operation in the present switching period. DCM is indicated when the output of latch 714 is high. Latch 726 is set to reduce the current limit.
In the embodiment of
It is appreciated that although
In the foregoing detailed description, the methods and apparatuses of the present invention have been described with reference to a specific exemplary embodiment thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present invention. The present specification and figures are accordingly to be regarded as illustrative rather than restrictive.
This application is a continuation of U.S. application Ser. No. 12/488,427, filed Jun. 19, 2009, now pending, which is a continuation of U.S. application Ser. No. 12/052,609, filed Mar. 20, 2008, which is issued as U.S. Pat. No. 7,567,070 on Jul. 28, 2009, which is a continuation of U.S. application Ser. No. 11/732,209, filed Apr. 2, 2007, which issued as U.S. Pat. No. 7,359,225 on Apr. 15, 2008, which is a continuation of U.S. application Ser. No. 11/179,144, filed Jul. 11, 2005, which issued as U.S. Pat. No. 7,215,107 on May 8, 2007. U.S. patent application Ser. No. 12/488,427 and U.S. Pat. Nos. 7,567,070, 7,359,225, 7,215,107 are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4037271 | Keller | Jul 1977 | A |
4371824 | Gritter | Feb 1983 | A |
4692853 | de Sartre et al. | Sep 1987 | A |
5285366 | Zaretsky | Feb 1994 | A |
6313976 | Balakrishnan et al. | Nov 2001 | B1 |
6333624 | Ball et al. | Dec 2001 | B1 |
6351398 | Balakrishnan et al. | Feb 2002 | B1 |
6359410 | Randolph | Mar 2002 | B1 |
6611439 | Yang et al. | Aug 2003 | B1 |
6768655 | Yang et al. | Jul 2004 | B1 |
6781357 | Balakrishnan et al. | Aug 2004 | B2 |
6833692 | Balakrishnan et al. | Dec 2004 | B2 |
6963496 | Bimbaud | Nov 2005 | B2 |
7049794 | Wong et al. | May 2006 | B2 |
7109696 | Balakrishnan et al. | Sep 2006 | B2 |
7116564 | Takahashi | Oct 2006 | B2 |
7161815 | Mori | Jan 2007 | B2 |
7215107 | Djenguerian et al. | May 2007 | B2 |
7218086 | Ritter et al. | May 2007 | B1 |
7359225 | Djenguerian et al. | Apr 2008 | B2 |
7394669 | Fahlenkamp et al. | Jul 2008 | B2 |
7567070 | Djenguerian et al. | Jul 2009 | B2 |
20030132738 | Balakrishnan et al. | Jul 2003 | A1 |
20050231986 | Kasprzak et al. | Oct 2005 | A1 |
20060171175 | Zhu et al. | Aug 2006 | A1 |
Number | Date | Country |
---|---|---|
1298778 | Apr 2003 | EP |
2003-189612 | Apr 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20110267843 A1 | Nov 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12488427 | Jun 2009 | US |
Child | 13180227 | US | |
Parent | 12052609 | Mar 2008 | US |
Child | 12488427 | US | |
Parent | 11732209 | Apr 2007 | US |
Child | 12052609 | US | |
Parent | 11179144 | Jul 2005 | US |
Child | 11732209 | US |