1. Field of the Invention
The present invention relates to a circuit design, and more particularly, to a circuit design of a pulse width modulation (PWM) controller and the application thereof.
2. Description of the Related Art
A PWM controller is widely used in a switching voltage regulator.
Generally, the PWM controller 18 features multiple functions if implemented in a single chip, such as over-current protection, under voltage lockout (UVLO), and enable/disable control. The over-current protection is used to detect the current flowing through the high side transistor 12 or low side transistor 14. If the current is larger than an over-current threshold, the PWM controller is stopped so as to protect the components of the switch voltage regulator from being damaged by a large current. The UVLO function is to temporarily lock the PWM controller 18 if the input voltage Vin is lower than a threshold. The consideration of the UVLO function is to reduce static power consumption and increase the reliability of the output voltage Vout. The function of the enable/disable signal is to activate and deactivate the operation of the PWM controller. In addition, a power-sensing function can be used to detect the input voltage Vin of the switching voltage regulator. If the input voltage Vin is greater than a threshold, the PWM controller is prepared for activation so as to shorten the time to boot the switching voltage regulator.
However, it is a general requirement to implement a powerful chip but at the same time limit the number of pins in a package. Therefore, to implement the above functions without increasing the number of pins is a major objective of PWM controller chip design.
The present invention proposes a PWM controller for controlling a switching voltage regulator, and the PWM controller comprises a first comparator, a second comparator and a third comparator. The first comparator is configured to detect voltages of a first node and a second node so as to determine when to stop the PWM controller. The PWM controller is stopped if a first potential is lower than a threshold, and the first potential derives from the voltage of the first node by a level shift of a first voltage difference. The second comparator is configured to detect the voltage of the first node and then to compare the voltage with a power reference voltage so as to determine whether the PWM controller receives necessary power. The third comparator is configured to compare the voltage of the second node with an enable reference voltage so as to determine when to disable the PWN controller.
The present invention proposes another PWM controller for controlling a switching voltage regulator. The PWM controller generates a lock and protection signal, a power-sensing signal and a disable signal based on the voltages of a first node and a second node, and is packaged with exactly eight pins. The eight pins includes a phase pin, an enable pin, a feedback pin, a power pin, a ground pin, a low side switch control pin, a voltage rising pin and a high side switch control pin. The phase pin is configured to capture the voltage of the first node. The enable pin is configured to capture the voltage of the second node. The feedback pin is configured to receive a feedback signal from the output of the switch voltage regulator. The power pin and ground pin are used to receive a supply voltage. The low side switch control pin is configured to output a low side switch control signal to control the low side switch, wherein the low side switch control signal is generated by reference to the voltages of the power pin, ground pin, feedback signal, lock and protection signal, power sensing signal and disable signal. The high side switch control pin is configured to output a high side switch control signal to control the high side switch, wherein the high side switch control signal is generated by reference to the voltages of the voltage rising pin, phase pin, feedback signal, lock and protection signal, power sensing signal and disable signal.
The proposed method for controlling a PWM controller comprises the steps of: capturing the voltages of a first node and a second node of a PWM controller; setting a first potential, wherein the first potential is a level shift derived from the voltage of the first node; stopping the operation of the PWM controller if the first potential is lower than the voltage of the second node; determining that the PWM controller has received necessary power if the first potential is higher than a power reference voltage; and disabling the PWM controller if the voltage of the second node is lower than an enable reference voltage.
The invention will be described according to the appended drawings in which:
One function of the lock and protection circuit 208 is under-voltage lockout (UVLO), which can be implemented by a first comparator. When the input voltage Vin is too low for the internal elements of the PWM controller 206 to maintain normal operations, the UVLO function e activated to suspend the operations of the internal elements so as to avoid unpredictable results. In one embodiment of the present invention, the lock and protection circuit 208 detects the voltage VLX of the first node LX of the PWM controller and makes a level shift V1 to form a first potential. If the first potential is lower than the voltage VEN of the second node EN/OCSET of the PWM controller 206, the lock and protection circuit 208 will send out a lock and protection signal UVLO/OC to stop the operation of the PWM controller 206. In other embodiments of the present invention, the level shift V1 is determined by the current I1 of the first current source and a first resistor R1, that is, the current I1 can flow in or flow out the first node LX, depending on the design of the circuit.
The lock and protection circuit 208 has another function of over-current protection, which can be implemented by a second comparator. When the current of the high side switch 202 or low side switch 204 is too large, the lock and protection circuit 208 stops the operation of the PWM controller 206 to protect the high side switch 202 or low side switch 204 from damage by over current. The method of detecting over current is similar to the method of detecting under voltage lockout, that is, first capturing the voltage VLX of the first node of the PWM controller, and then making a level shift V1 to form a first potential. If the first potential is smaller than the voltage VEN of the second node, the PWM controller is stopped.
The PWM controller 206 can include an enable detecting circuit 212, which can be implemented by a third comparator. The enable detecting circuit 212 is used to detect the voltage VEN of the second node of the PWM controller to activate or deactivate the PWM controller 206. In one embodiment of the present invention, the enable detecting circuit 212 compares the voltage VEN of the second node with an enable reference voltage Venref. If the voltage VEN of the second node is smaller than the enable reference voltage Venref, the enable detecting circuit 212 sends out a disable signal DIS to disable the PWM controller 206.
The present PWM controller 206 further includes a power sensing circuit 210, which compares the first potential with a power reference voltage Vinref. If the first potential is greater than the power reference voltage Vinref, the power sensing circuit 210 determines that the PWM controller 206 receives necessary power. In one embodiment of the present invention, when the enable detecting circuit 212 stops sending out the disable signal DIS, it does not mean that the internal components of the PWM controller have resumed work again. It is necessary to await the first potential greater than the power reference voltage Vinref. Meanwhile, the PWM controller is confirmed to receive the necessary power.
In a preferred embodiment of the present invention, the PWM controller is packaged with exactly eight pins.
In one embodiment of the present invention, the over-current threshold IOCSET can be adjusted by reference to the over-current setting resistor RSET, as represented by the following formula:
where RDS(on) represents an equivalent resistance when the low side switch is on, and I1, R1, IOCSET, RDS(on) are regarded as constants. Therefore, the present PWM controller can adjust over-current threshold by reference to different high, low side switches or load circuits.
In one embodiment of the present invention, the PWM controller is packaged with exactly eight pins, and features disable/enable, under-voltage lockout, over-current protection and power sensing functions. In contrast to ten pins or more used in prior PWM controllers, the present invention saves a significant amount of material cost. In addition, because the over-current threshold can be adjusted by changing the resistance of the over-current setting resistor, the present invention possesses the advantage of high flexibility to adapt to different high, low side switches and load circuits.
The above-described embodiments of the present invention are intended to be illustrative only. Numerous alternative embodiments may be devised by persons skilled in the art without departing from the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
097102798 | Jan 2008 | TW | national |