In typical storage systems such as solid state drives or hard disk drives, it is important that the power supply do not have sudden fault such as power dip or power failure. In the event that such power failure occurs, the storage system will need to perform data backup. This is to prevent any loss of data information during this power failure period. Power failure detection circuit therefore becomes important in this type of system.
There are a few disadvantages to this type of conventional way of detecting power supply failure. Firstly, the storage capacitor 5 CVSTG needs to be of a very large value so as to prolong the back-up timing. This is especially so when detection input level is very low. With the large capacitor, this will in turn result in higher system component cost as well as larger printed circuit board design space which are undesirable when it comes to product design.
Secondly, back-up timing sustained by the storage capacitor 5 CVSTG will vary when input detection level of PVIN is varied. When power failure detection level is of the lowest, this will result in the shortest back-up timing for the system. Therefore, it is necessary to change the storage capacitor 5 CVSTG value under different power failure detection voltage to be designed. This makes design lead time longer and causes system component inventory to be difficult to be managed since changing power failure detection level will result in changing another hardware component for storage capacitor 5 CVSTG.
Thirdly, the backup charge from the storage capacitor 5 could back flow to the failure power supply. Depending on the type of power failure, the back-up timing could be greatly impact due to additional leakage path to the failure power source. Furthermore, without isolation of the failure power source, the logic output of power detector 1 could become erratic if PVIN node has too much noise.
According to the present invention, a power failure prevention system according to a first embodiment comprising:
a supply voltage source;
a voltage output;
a charge-pump controller, serving as a charge pump under normal conditions, and to stop operation when the supply voltage level drops below a predetermined level;
a switch, controlling the electrical connection between a supply voltage source and a voltage output, to close under normal conditions and to open when the supply voltage level drops below a predetermined level;
a charge storage capacitor, coupled to said charge pump controller and a dump controller;
an input supply capacitor, coupled to said supply voltage source;
an output capacitor, coupled to said voltage output;
a pump capacitor, coupled to said charge pump controller, together serves as a charge pump to generate up to two times the voltage level of said supply voltage source across said charge storage capacitor; and
a dump controller, coupled to said voltage output, directing the energy from charge storage capacitor to said voltage output, when the supply voltage level drops below a predetermined level, thus maintaining the voltage output level to almost equal to initial voltage level of said supply voltage source.
The summary described herein is merely describing one embodiment of a plurality of embodiments as will be described in the ‘DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS’.
It will be recognized that some or all of the Figures are schematic representations for purposes of illustration and do not necessarily depict the actual relative sizes or locations of the elements shown.
Referring to
The first embodiment has a charge-pump controller 11, a dump controller 12, a switch 13, an input supply capacitor 14, a charge storage capacitor 15, an output capacitor 16 and a pump capacitor 17.
In normal operation, a supply voltage source is connected at PVIN. When the PVIN voltage source level has increased to an appropriate voltage level, the switch 13 is closed in order to direct the voltage supply from PVIN to PVOUT. The PVOUT is the output voltage source for other subsequent circuits. At the same time, the charge storage operation is initiated and the dump controller 12 is in off condition. The charge-pump controller 11 is slowly storing or charging the charge storage capacitor 15 by using the power from PVIN. Firstly, the pump capacitor 17 can be charged to almost equivalent or partial of PVIN voltage. Then the charge in the pump capacitor 17 is being transferred or pumped to the charge storage capacitor 15. Generally, the charge storage capacitor 15 is much bigger than the pump capacitor 17. The charge storage capacitor 15 is normally in high capacitance and arranged with multiple pieces as parallel. Hence, the charge-pump controller 11 has to repeat this charging and pumping operation continuously until a predetermined VSTG voltage is reached. The maximum voltage level which can be charged and stored in charge storage capacitor 15 is about 2 times the PVIN voltage level. If by combining more than 1 stage of pump capacitor 17, it is possible for the storage voltage to achieve more than 2 times the PVIN voltage. When the pre-determined VSTG is reached, the charging operation frequency may be reduced in order to avoid switching loss of charge-pump controller 11. The energy which can be stored in the charge capacitor 15 is based on formula,
E=½×C×VSTG2,
where C is the capacitance of the charge storage capacitor 15.
Generally in order to maximize the backup storage energy, either the value of the capacitance or VSTG has to be increased.
The next event of operation is the backup charge dumping operation due to the PVIN supply being reduced or disconnected. When the PVIN voltage drops to a predetermined voltage level, the switch 13 is opened and charge-pump controller 11 stops operation. Then the dump controller 12 starts operation by directing the backup energy from charge storage capacitor 15 to the PVOUT. The energy of charge storage capacitor 15 is slowly being discharged or reduced due to the energy consumption of subsequent circuits which connected to PVOUT. The backup energy can only be sustained for a limited time period depending on the power consumption at PVOUT. The dump controller 12 always maintains the PVOUT voltage level almost similar to previous PVIN voltage level, as long as the VSTG voltage level is higher than previous PVIN voltage level. The dump controller 12 is usually a linear regulator or LDO which can regulate PVOUT at a constant voltage level. The dump controller 12 must be able to withstand the higher voltage input at VSTG. Normally after the VSTG voltage has been discharged lower than previous PVIN voltage level, the dump controller 12 enters into under-voltage protection mode.
In the under-voltage protection mode, dump controller 12 turns off PVOUT, effectively bringing PVOUT to ground.
Referring to
The said first embodiment has an advantage over the prior art in
Referring to
The second embodiment has a boost controller 21, a buck controller 22, a switch 23, an input supply capacitor 24, a charge storage capacitor 25, an output capacitor 26, a boost inductor 27 and a buck inductor 28.
Similar to the first embodiment, at normal operation, a supply voltage source is connected at PVIN. When the PVIN voltage source level has increased to an appropriate voltage level, the switch 23 is closed in order to direct the voltage supply from PVIN to PVOUT. The PVOUT has now become the main voltage source for other subsequent circuits. At the same time, the charge storage operation is initiated and the buck controller 22 is in off condition. The boost controller 21 is slowly storing or charging the charge storage capacitor 25 by using the power from PVIN after switch 23. Firstly, the boost inductor 27 is energized by allowing current flow through it for certain time period. Then this inductive current is diverted to charge the charge storage capacitor 25 which is normally in high capacitance and arranged with multiple pieces as parallel. The boost controller 21 has to repeat energizing boost inductor 27 and charging the charge storage capacitor 25 operations continuously until a pre-determined VSTG voltage is reached. By using only one boost inductor 27 and boost controller 21, the VSTG backup storage voltage which is much higher than PVIN voltage level can be achieved. When the predetermined VSTG is reached, the boost controller 21 is able to change from continuous switching mode to power saving mode. The energy which can be stored in the charge capacitor 25 is based on formula,
E=½×C×VSTG2,
where C is the capacitance of the charge storage capacitor 25.
Generally in order to maximize the backup storage energy, either capacitance or VSTG has to be increased.
The next event or operation is the backup charge dumping operation due to the PVIN supply being reduced or disconnected. When the PVIN voltage drops to a predetermined voltage level, the switch 23 is opened and boost controller 21 stops operation. The buck controller 22 starts operation by directing the backup energy from charge storage capacitor 25 to the PVOUT. The energy of charge storage capacitor 25 is slowly being discharged or reduced due to the energy consumption of subsequent circuits which are connected to PVOUT. The backup energy can only be sustained for a limited time period depending on the power consumption at PVOUT. As long as the VSTG voltage level is higher than previous PVIN voltage level, buck controller 22 always maintains the PVOUT voltage level almost similar to previous PVIN voltage level. In order to maintain the PVOUT voltage at a constant level, the buck controller 22 controls the energizing and de-energizing time period for buck inductor 28 based on the feedback information from PVOUT. Comparing to linear regulator, buck controller 22 has higher efficiency. Hence, the backup charge dumping time period can be extended for the same amount of energy stored in charge capacitor 25. The buck controller 22 must be able to withstand the higher voltage input at VSTG. Normally after the VSTG voltage has been discharged lower than previous PVIN voltage level, the buck controller 22 enters into under-voltage protection mode.
In the under-voltage protection mode, buck controller 22 turns off PVOUT, effectively bringing PVOUT to ground.
Referring to
Embodiment 2 not only share the same advantage as Embodiment 1 over prior art in
Firstly, charge pump can only achieve 2 times the PVIN voltage if a single capacitor element is used. Boost converter on the other hand can achieve higher storage voltage, using a single inductor element. A higher storage voltage significantly reduces the amount of storage capacitance needed during backup as capacitor storage energy is a squared function of its storage voltage.
Secondly, the output voltage of such boost converter can be made independent of its input supply variation. Charge pump derives it storage voltage from PVIN, its storage energy reduces in square function with its input supply voltage. This relationship further differentiates the usefulness of Embodiment 2.
Referring to
The third embodiment has a boost-buck controller 31, an output inductor 32, a switch 33, an input supply capacitor 34, a charge storage capacitor 35 and an output capacitor 36.
Similar to the first and second embodiments, a supply voltage source is connected at PVIN. When the PVIN voltage source level has increased to an appropriate voltage level, the switch 33 is closed, in order to direct the voltage supply from PVIN to PVOUT. The PVOUT has now become the main voltage source for other subsequent circuits. At the same time, the boost-buck controller 31 is in the boost DC-DC converter mode (hereinafter referred to as ‘boost mode’) and the charge storage operation is initiated. The boost-buck controller 31 is slowly storing or charging the charge storage capacitor 35 by using the power from PVIN via switch 33. Firstly, the output inductor 32 is energized by allowing current flow through it for a certain time period. Then this inductive current is diverted to charge the charge storage capacitor 35 which is normally of high capacitance value and arranged with multiple pieces in parallel. The boost-buck controller 31 has to repeatedly energize the output inductor 32 and charge the charge storage capacitor 35 continuously until a pre-determined VSTG voltage is reached. By using only one output inductor 32 and boost-buck controller 31, the VSTG backup storage voltage which is much higher than PVIN voltage level can be achieved. When the pre-determined VSTG is reached, the boost-buck controller 31 is able to change from continuous switching mode to power saving mode. The energy which can be stored in the charge storage capacitor 35 is based on formula,
E=½×C×VSTG2,
where C is the capacitance of the charge storage capacitor 35.
Generally in order to maximize to backup storage energy, either capacitance or VSTG have to be increased.
The next event or operation is the backup charge dumping operation due to the PVIN supply being reduced or disconnected. When the PVIN voltage drops to a predetermined voltage level, the switch 33 is opened and boost-buck controller 31 changes operation from boost mode to the buck DC-DC converter mode (hereinafter referred to as ‘buck mode’). Buck mode directs the backup energy from charge storage capacitor 35 to the PVOUT. The energy of charge storage capacitor 35 is slowly being discharged or reduced due to the energy consumption of subsequent circuits connected to PVOUT. The backup energy can only be sustained for a limited time period depending on the power consumption at PVOUT. The boost-buck controller 31 always maintains the PVOUT voltage level almost similar to previous PVIN voltage level, as long as the VSTG voltage level is higher than previous PVIN voltage level. In order to maintain the PVOUT voltage at a constant level, the boost-buck controller 31 controls the energizing and de-energizing time period for output inductor 32 based on the feedback information from PVOUT.
Similarly, the boost-buck controller 31 must be able to withstand the higher voltage input at VSTG. Normally after the VSTG voltage has been discharged lower than previous PVIN voltage level, the boost-buck controller 31 enters into under-voltage protection mode.
In the under-voltage protection mode, boost-buck controller 31 turns off PVOUT, effectively bringing PVOUT to ground.
Compared with the second embodiment, the third embodiment is much more compact and simple.
Firstly, the original two controllers have been integrated as one boost-buck controller; many similar circuit functions can be shared through novel circuit implementation. This greatly reduces the amount of silicon area required and thereby lowers the cost of the product.
Secondly, apart from just requiring a single inductor element, the highly integrated boost-buck controller reduces the package pin out and thereby reduces the external BOM. It simplifies customer application with less external components to consider and also reduces PCB area requirement.
In
The voltage input node 101 is connected to the primary power supply PVIN during the charge storage operation. The load switch 102 is connected between the voltage input node 101 and voltage output node 103. The load switch may conduct in BOOST mode and may open in BUCK mode. The voltage output node 103 is connected to the output of buck-boost DC-DC controller system 104 though inductor 106. The voltage output node 103 may supply a regulated voltage to the electronic device in BUCK mode.
An exemplary implementation of feedback block 130 comprises of voltage divider 124 formed by resistors R1 and R2, configured to monitor the voltage input node 101, and a voltage divider 123 formed by resistors R3 and R4, configured to monitor the voltage of an energy storage capacitor 105. The input voltage PVIN is divided down by the resistor divider 124 to a voltage VFB, which functions as a feedback to the buck-boost DC-DC controller circuit 131. The voltage VSTG is divided down by the resistor divider 123 to a voltage VFB
An alternative implementation of the third embodiment would be that the input voltage PVIN may be used directly without resistor divider 124.
The buck-boost DC-DC controller circuit 131 further comprises pre-drivers 114 and 115, which are connected to the gate of the low-side power switch M2 and high-side power switch M1 respectively, of said power switch block 132.
Peak current detection comparator 116 with a pre-determined offset voltage 125 at its inverting input terminal compares the voltage across the drain and source terminals of the low-side power switch and outputs an over-current limit signal and zero-current detection signal to control logic 120 via COMP1_OUT, thus providing the over-current protection and skip mode control for the buck-boost DC-DC controller circuit 131. COMP1_OUT is the output node of Peak current detection comparator 116. The polarity and the location of the offset voltage 125 is not limited only to the diagram shown, its polarity could be reversed and it can also be inserted at the non-inverting input terminal of the comparator
Reference generator 113 is connected to soft-start capacitor Css and soft-start resistor Rss. The soft-start capacitor Css, soft-start resistor Rss and reference generator 113 determine the soft-start time of the buck-boost DC-DC circuit 131 in BOOST mode, such that the input rush current in BOOST mode can be limited to a known level. In an alternative exemplary implementation, the soft-start capacitor Css and soft-start resistor RSS is excluded.
Multiplexer circuit 117, that acts as the operation mode switch between BOOST to BUCK modes, comprises of a combination of analog and digital multiplexers that connect between one or more analog nodes or logic input & output. The Multiplexer circuit 117 accepts a logic input So, that decides the switch connection of sw1, sw2, sw3 & sw4. The comparator logic combination from dump logic 112 is connected to So.
The default switch position for sw1, sw2, sw3 & sw4 is as shown in
During the initial startup, SW 102 is closed, connecting PVIN to the inductor 106 at node 103. The output from dump logic 112 is reset to BOOST mode when PVIN is connected. The Reference Generator 113 will initiate a soft start slope to the non-inverting input of Error Amplifier 119. When VFB
V
STG
=V
REF×(R3+R4)/R4
Switch sw3 disconnects the Peak current detect comparator output COMP1_OUT to the Ton Generator 118, and the system now operates in constant frequency during BUCK mode.
Switch sw4 connects the inverting input of the error amplifier 119 to the resistor feedback of PVIN, The error amplifier 119 output is connected to the Control Logic 120 via Ton generator 118, that will determine when to trigger the next Ton pulse.
At normal startup, VSTG will be regulated to the voltage threshold defined by the voltage divider 123. Storage PG Comparator 111, determines if the VSTG voltage charges above a predetermined threshold. Dump Comparator 110 determines if the PVIN voltage drops below a certain threshold through resistor divider 124. In event of PVIN failure such as voltage being too low for proper circuit operation, disconnected or short circuit, DUMP Comparator 110 will be able to detect the failure condition as PVIN voltage will drop to a certain threshold. If VSTG has already charged above the Storage PG comparator 111 threshold, the system will enter BUCK mode. The switch SW 102 will be opened and the buck-boost DC-DC controller system 104 disconnected from the PVIN supply. The output from dump logic 112 is set to BUCK mode. At the same time, it will send a one shot reset pulse to the control logic 120 to reset its state machine. The control logic 120 will further output signals to turn off power switches M1 and M2. This logic reset prevents any indeterministic state when switch over from BOOST to BUCK mode. In BUCK mode, Error Amplifier 119 regulates the system voltage by monitoring VFB through sw4 connection. When VFB is lower than the VREF, the Error amplifier 119 output will change its logic state and causes the Ton generator 118 to trigger a Ton logic pulse width via control logic 120. The high-side power switch M1 will turn on and discharges the storage capacitor 105 CVSTG back to VOUT through inductor 106. High-side power switch M1 remains turned on until the end of Ton pulse width. At the end of Ton pulse, high-side power switch M1 is turned off while low-side power switch M2 is turned on after some dead time. The inductor current will continue to flow from the ground to VOUT. Each time VFB goes below VREF, the above BUCK discharging operation is repeated. The operation of the synchronous BUCK discharging is not only limited to discontinuous conduction mode; the inductor current is discharged to zero before next cycle, it could also operate in continuous conduction mode. During BUCK mode operation, VOUT is regulated to a voltage level defined as:
V
OUT
=V
REF×(R1+R2)/R2
The BUCK operation continues until the voltage at storage capacitor 105 CVSTG, is depleted to a minimum voltage supply the system can function.
The third embodiment in