This application claims the benefit of Chinese Patent Application No. 201210535481.7, filed on Dec. 12, 2012, which is incorporated herein by reference in its entirety.
The present invention relates to power supplies, and more particularly to a switch power supply controller and a controlling method.
Switch mode power supplies can efficiently convert electrical power from a source to a load, or to several different loads, with each corresponding to a different output. The main transistor of a switching-mode supply can switch between on and off states at a given operating frequency, and voltage regulation can be achieved by varying the ratio of the on-to-off time of the main transistor. Switch mode power supplies may have relatively high power conversion efficiency, as compared to other types of power converters. Switch mode power supplies may also be substantially smaller and lighter than a linear supply due to the smaller transformer size and weight.
In one embodiment, a switch power supply controller can include: (i) a switch configured to operate in a first state and a second state during each switch cycle to convert an input signal to an output signal as part of a switch mode power supply; (ii) a switch time regulating circuit configured to compare a duration of the first state of the switch in a present switch cycle against an expected first state duration; (iii) the switch time regulating circuit being configured to decrease a duration of the second state of the switch in the present switch cycle when the first state duration is greater than the expected first state duration, where a first state duration for a next switch cycle is decreased due to the second state duration of the present cycle being decreased; and (iv) the switch time regulating circuit being configured to increase the second state duration in the present switch cycle when the first state duration is less than the expected first state duration, where a first state duration for a next switch cycle is increased due to the second state duration of the present cycle being increased.
In one embodiment, a method of controlling a switch in a switch power supply can include: (i) comparing a duration of a first state of the switch in a present switch cycle against an expected first state duration of the switch, where the switch operates in the first state and a second state during each switch cycle; (ii) decreasing a duration of the second state of the switch in the present switch cycle when the first state duration is greater than the expected first state duration, where a first state duration for a next switch cycle is decreased due to the second state duration of the present cycle being decreased; and (iii) increasing the second state duration in the present switch cycle when the first state duration is less than the expected first state duration, where a first state duration for a next switch cycle is increased due to the second state duration of the present cycle being increased. Embodiments of the present invention can provide several advantages over conventional approaches, as may become readily apparent from the detailed description of preferred embodiments below.
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.
A common control solution of a switching-mode or “switch” power supply is peak current control mode. In peak current control mode, when the inductance current in the switch power supply rises to a level of feedback error amplification signal COMP of the output voltage, the main switch can be turned. This state can remain until fixed-frequency clock signal CLK arrives to control the main switch to turn on. As shown in
Because of minimum on time Ton-min, and the inductance current continuously rising until time t2, the main switch can turn off then to satisfy the condition of the minimum on time. When the main switch is turned off, the slope that the inductance current falls is relatively small, and at time t3, the fixed-frequency clock signal CLK can control the main switch to turn on again. Here, the inductance current may not fall to a level of feedback error amplification signal COMP. Therefore, when the load is short-circuited, the inductance current may remain above feedback error amplification signal COMP, and may have a tendency to rise.
In order to prevent the inductance current from continuously rising, the frequency can be lowered to perform short-circuit protection, as shown in waveforms (b1) and (b2) of
In one embodiment, a switch power supply controller can include: (i) a switch configured to operate in a first state and a second state during each switch cycle to convert an input signal to an output signal as part of a switch mode power supply; (ii) a switch time regulating circuit configured to compare a duration of the first state of the switch in a present switch cycle against an expected first state duration; (iii) the switch time regulating circuit being configured to decrease a duration of the second state of the switch in the present switch cycle when the first state duration is greater than the expected first state duration, where a first state duration for a next switch cycle is decreased due to the second state duration of the present cycle being decreased; and (iv) the switch time regulating circuit being configured to increase the second state duration in the present switch cycle when the first state duration is less than the expected first state duration, where a first state duration for a next switch cycle is increased due to the second state duration of the present cycle being increased.
Referring now to
For example, the DC converter can operate in a peak current control mode, whereby the inductance current is sampled and compared against feedback error amplification signal COMP of the output voltage. When the inductance current iL rises to a level of feedback error amplification signal COMP, the output signal of comparator CMP1 can control switch S1 to turn off via the RS flip-flop. Switch time regulating circuit 21 can be used to compare the on time Ton (the first state duration) against expected first state duration Ton-ref, and to control the off time of switch S1 according to the comparison result. For example, the comparison result from comparator CMP1 can be used to control switch S1 to turn on again after certain or predetermined time.
When on time Ton of switch S1 is greater than expected first state duration Ton-ref, switch time regulating circuit 21 can reduce the off time for the present switch cycle, such that the on time of the next switch cycle can be reduced. When on time Ton of switch S1 is less than expected first state duration Ton-ref, switch time regulating circuit 21 can increase its off time for the present switch cycle, so that the on time of the next switch cycle is increased. Further, on time Ton may be controlled to be approximately a same time or duration as that of expected first state duration Ton-ref. In this way, second state duration control in a given present switch cycle can be utilized to adjust a first state duration for a next switch cycle.
Referring now to
In addition, when on time Ton of switch S1 is less than time Ton-ref, by extending the off time, inductance current iL can be reduced to a lower level or state. In the next switch cycle, inductance current iL may need additional time to rise to a level of feedback error amplification signal COMP, thus increasing on time Ton. In this way, the on time of switch S1 can be kept at substantially that of the expected first state duration, such that the switch power supply operates in a constant on time mode. Alternatively, the off time can be selected to be controlled in the same manner so that the switch power supply may operate in a constant off time mode. Thus, particular embodiments are suitable for both constant on time and constant off time mode control.
Referring back to
Timing circuit 22 can time the off time, to control the off time of switch S1 to substantially match reference voltage signal Vref. In other words, when reference voltage signal Vref becomes higher or lower with the change of on time Ton, the off time of switch S1 can be adaptively adjusted. Thus in particular embodiments, the switch power supply controller can set an expected first state duration of the switch state (e.g., the on state), and adjust the time of the inverse state (e.g., the off state) in real time based on a comparison of the expected first state duration against the actual switch time or state duration. Therefore, when the switch power supply load is short-circuited, instead of preventing current overshoot by reducing the switch frequency, the operating frequency can be intelligently adjusted according to the actual conditions of each switch cycle. In this way, potential problems of being unable to start because the inductance current is reduced too low can be avoided.
Referring now to
The charging and discharging control circuit can include current source IS1, switch 41, switch 42, current source IS2, and a logic circuit including a NAND-gate a NOR-gate, and an inverter, as shown. The charging and discharging control circuit can receive signal Ton denoting the on time and signal Ton-ref denoting the expected first state duration. For example, signal Ton can be provided to the NAND-gate and the NOR-gate after being inverted. The NAND-gate and the NOR-gate can also receive signal Ton-ref, as shown. When switch S1 is turned on, signal Ton and signal Ton-ref may both be high, and the NAND-gate output can also be high. Switch 41 (e.g., a PMOS transistor) can be off, and the NOR-gate output can be low. Switch 42 (e.g., a NMOS transistor) may also be off, and the voltage (e.g., reference voltage signal Vref) at capacitor C1 can remain substantially unchanged. Of course, other logic gates and/or circuit structures can also be employed in particular embodiments to implement reference voltage generating circuit 201.
When the on time of switch S1 is less than the expected first state duration (e.g., when signal Ton-ref is high while signal Ton is low), the NAND-gate and the NOR-gate can each output a low level. Thus, switch 41 can be turned on, and switch 42 can be turned off. At this time, current source IS1 may start to charge capacitor C1, and reference voltage signal Vref can begin to rise. When the on time of switch S1 is longer or greater than the expected first state duration (e.g., when signal Ton is high while signal Ton-ref is low), the NAND-gate and the NOR-gate can each output a high level. Thus, switch 41 can be turned off and switch 42 can be turned on. In this case, capacitor C1 can discharge by current source IS2, and reference voltage signal Vref may begin to decrease.
Timing circuit 202 can include a ramp signal generating circuit and a comparison circuit. For example, the ramp signal generating circuit can include current source IS3, capacitor C2, and switch 43. For example, the action of switch 43 may be kept consistent with that of switch S1. When switch S1 is off, switch 43 may also be turned off to control current source IS3 to charge capacitor C2. In this way, the voltage of capacitor C2 can be a ramp signal with certain or predetermined slope.
The comparison circuit can be realized by comparator 44, and its in-phase input can receive the ramp signal, and its inverted input can receive reference voltage signal Vref. When the ramp signal rises to a level of reference voltage signal Vref, the output of comparator 44 can control switch S1 to turn on again via the RS flip-flop. Thus, when the on time of switch S1 is less than the expected first state duration, the greater the difference value between the on and expected on times of switch S1, and the higher the corresponding reference voltage signal Vref. Thus, the rising time of the ramp signal can correspondingly be extended such that the off time of switch S1 can be extended. In contrast, when the on time of switch S1 is greater than the expected first state duration, the value of reference voltage signal Vref can be reduced such that the off time of switch S1 is also reduced.
Referring now to
Due to the extension of the off time, inductance current iL may fall to a lower value. Thus, from time t2, switch S1 can be turned on, and the time taken for inductance current iL to rise to a level of feedback error amplification COMP can also be correspondingly extended. In this fashion, time Ton can be extended as compared with the previous switch cycle. This cycle to cycle timing adjustment can be repeated, and on time Ton can become closer to expected first state duration Ton-ref. Finally, from time t5, on time Ton can be equal to expected first state duration Ton-ref, and the DC converter may enter into a load short-circuit protection state with stable operation. During this process, inductance current iL can fall but not to zero, and thus the inductance current may remain in a continuous conductive mode (CCM).
Referring now to
Due to the falling of reference voltage signal Vref, the time that it takes for capacitance voltage VC2 to rise to a level of reference voltage signal Vref can be reduced, such that the off time (and the off time from time t2 to t3) may also be reduced. For the same reason, from time t4 to t5, reference voltage signal Vref can be further reduced, and finally from time t6, on time Ton may be equal to expected on time Ton-ref. Thus, the DC converter can enter into a heavy load state with stable operation.
Thus in particular embodiments, an expected first state duration of the switch state can be set, and a second state duration can be adjusted in real time according to a comparison between the expected first state duration and actual switch time state. This can also ensure that the switch power supply operates in a constant on time mode or a constant off time mode in normal operation. In addition, during short circuit protection of the power supply load, because the switch on time can be reduced as compared with the expected first state duration, extending the off time can ensure the inductance current does not overshoot. Further, when jumping or abruptly changing from the heavy load start, the off time can be again reduced to ensure that the inductance current is kept at the CCM, rather than an interrupted on mode, for a successful and fast start of the switch power supply.
In the particular examples shown in
In one embodiment, a method of controlling a switch in a switch power supply can include: (i) comparing a duration of a first state of the switch in a present switch cycle against an expected first state duration of the switch, where the switch operates in the first state and a second state during each switch cycle; (ii) decreasing a duration of the second state of the switch in the present switch cycle when the first state duration is greater than the expected first state duration, where a first state duration for a next switch cycle is decreased due to the second state duration of the present cycle being decreased; and (iii) increasing the second state duration in the present switch cycle when the first state duration is less than the expected first state duration, where a first state duration for a next switch cycle is increased due to the second state duration of the present cycle being increased.
Referring now to
If the first state duration is greater than the expected first state duration at 704, the duration of the second state of the switch can be decreased in the present switch cycle at 706. A first state duration for a next switch cycle can be decreased due to the second state duration of the present cycle being decreased. For example, the inductance current can discharge to a level higher than a previous cycle level such that inductance current iL can reach a level of feedback error amplification signal COMP to end the on state of the next switch cycle earlier.
If the first state duration is less than the expected first state duration at 704, the duration of the second state of the switch can be increased in the present switch cycle at 708. The first state duration for the next switch cycle can be increased due to the second state duration of the present cycle being increased. For example, the inductance current can discharge to a level lower than a previous cycle level such that inductance current iL may take longer to reach a level of feedback error amplification signal COMP to end the on state of the next switch cycle.
In particular embodiments, the switch power supply can operate in a peak current control mode. In comparing the first state duration against the expected first state duration, a reference voltage signal based on the first state duration and the expected first state duration can be obtained. The second state duration can be controlled to substantially match that of the reference voltage signal. For example, to obtain a reference voltage signal, a signal indicating the first state and the expected first state durations can be received. Depending on whether the first state duration is greater than or less than the expected first state duration, a capacitor can be charged or discharged based on the difference between the first state duration and the expected first state duration. For example, a voltage across the capacitor (e.g., C1) can be configured as the reference voltage signal.
In order to control the second (e.g., off) state duration to substantially match that of the reference voltage signal, a ramp signal with a certain or predetermined slope can be output at the start time of the second state. For example, in response to the transition of switch S1 from on to off, the ramp signal can be output. The ramp signal can be compared against the reference voltage signal, and the second state can be ended when the ramp signal rises to a level of the reference voltage signal. In this way, the duration of the second or off state in a present switching cycle can be controlled.
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 the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
201210535481.7 | Dec 2012 | CN | national |