Based on the emergency service circuit of UPS
Technical field
The utility model relates to uninterrupted power supply technical field, is specifically related to a kind of emergency service circuit based on UPS.
Background technology
Nowadays mini electrical equipment is of a great variety, brings great convenience to daily life, and correspondingly, people also more and more rely on these power consumption equipments to process some affairs.When having a power failure, the power consumption equipment (such as server) of some keys is also equipped with UPS(uninterrupted power supply) come for its continued power, but many mini electrical equipments, such as mobile phone, but can not obtain electric energy and supplement.Present smart mobile phone is standby is generally about one day, therefore, once power failure duration was more than one day, the mobile phone of many people all faces the problem of running down of battery shutdown, once the running down of battery of mobile phone and cannot charging, owner just cannot contact other people by mobile phone, brings great inconvenience to the work of owner and life.
Summary of the invention
The utility model provides a kind of emergency service circuit based on UPS, and it can change outwards to power to the cell voltage of UPS, works on to maintain mini electrical equipment within power failure a period of time or provides electric energy to supplement to it.
For achieving the above object, the utility model provides technical scheme.
Based on the emergency service circuit of UPS, comprise buck converter, divider resistance R5, switching tube Q1, switching tube Q2 and switching tube Q3, in two controlled conduction terminal of switching tube Q3, one connects the positive pole of the battery of described UPS, another connects the input of buck converter, for powering to buck converter from the battery electricity-taking of described UPS, this is the power circuit of these power supply circuits, between the both positive and negative polarity being connected across the battery of described UPS after the controlled conduction terminal series connection of two of divider resistance R5 and switching tube Q2, the wherein contact of the positive pole of the battery of divider resistance R5 one end connecting valve pipe Q3 and described UPS, the control end of other end connecting valve pipe Q3, the Enable Pin of buck converter is connected to the contact of divider resistance R5 and switching tube Q2, in two controlled conduction terminal of switching tube Q1, one connects VCC power supply, another connects the negative pole of the battery of described UPS, the control end of switching tube Q2 is connected to a controlled conduction terminal of switching tube Q1 and the contact of VCC power supply, the control end one road external power supply of switching tube Q1, another road connects the indication end a being used to indicate the operating state of described UPS, this is the ON-OFF control circuit of these power supply circuits, under described UPS is in start operating state, indication end a is just in low level, the control end of switching tube Q1 obtains low level from indication end a, switching tube Q1 ends, the control end of switching tube Q2 obtains high level from VCC power supply, switching tube Q2 conducting, the Enable Pin of buck converter obtains low level via switching tube Q2 from the negative pole of the battery of described UPS on the one hand, buck converter is unlocked, the control end of positive pole level to switching tube Q3 after divider resistance R5 dividing potential drop of the battery of described UPS provides low level on the other hand, switching tube Q3 conducting, the positive pole of the battery of described UPS is powered to buck converter via switching tube Q3, the output of buck converter is outwards powered.
Wherein, also comprise delayed start-up circuit, it comprises electric capacity C6 and discharge resistance R7, and two controlled conduction terminal of electric capacity C6, discharge resistance R7 and switching tube Q2 form a closed loop, and the Enable Pin of buck converter is also connected to the positive pole of electric capacity C6.
Wherein, also comprise output circuit, output circuit connects the output of buck converter and outwards powers, output circuit comprises fast recovery diode D5 and inductance L 1, fast recovery diode D5 positive pole connects the negative pole of the battery of described UPS, and negative pole connects the output of buck converter, and inductance L 1 one end connects the contact of the output of fast recovery diode D5 and buck converter, the other end is as the output of output circuit, and buck converter is outwards powered by output circuit.
Wherein, output circuit also comprises dividing potential drop diode D8, and dividing potential drop diode D8 connects with inductance L 1, and the contact of the positive pole of inductance L 1 and dividing potential drop diode D8 is as the first voltage output end, and the negative pole of dividing potential drop diode D8 is as the second voltage output end.
Wherein, also comprise storage capacitor C1 and storage capacitor C4, storage capacitor C1 one end connects the negative pole of the battery of described UPS, and the other end connects the output of output circuit, and storage capacitor C4 one end connects the input of buck converter, other end ground connection.
Wherein, switching tube Q1 and switching tube Q2 is NPN type triode, and switching tube Q3 is PNP type triode.
Wherein, the model of buck converter is XL1509.
Wherein, also comprise USB circuit, it comprises at least one USB interface and a circuit for detecting be connected with this USB interface, each USB interface power pins VBUS connects the output of output circuit, grounding pin ground connection, each circuit for detecting comprises two resistance, and between the power pins VBUS being connected across the USB interface be connected with this circuit for detecting after these two resistant series and grounding pin, two transfer of data pin D+ and D-of this USB interface are all connected to the contact of these two resistance.
The beneficial effects of the utility model are: power supply circuits of the present utility model are from the battery electricity-taking of UPS, the voltage needed for mini electrical equipment voltage transitions is become outwards to power again, therefore when having a power failure, mini electrical equipment also can utilize the electric energy of the battery reserve of UPS to carry out maintenance work or obtain electric energy and supplement, run into the situation of the transient-power failure of a day or several days, user also can normally use these mini electrical equipments, thus reduces the inconvenience having a power failure and bring to the live and work of user.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of the emergency service circuit based on UPS of the present utility model.
Fig. 2 is the circuit theory diagrams of USB circuit.
Reference numeral comprises: power circuit 1, ON-OFF control circuit 2, delayed start-up circuit 3, output circuit 4, USB circuit 5, circuit for detecting 51 and circuit for detecting 52.
Embodiment
Below in conjunction with the drawings and specific embodiments, the utility model is elaborated.
As shown in Figure 1, the emergency service circuit based on UPS of the present embodiment comprises power circuit 1, ON-OFF control circuit 2, delayed start-up circuit 3 and output circuit 4, U1 is buck converter, its model is XL1509, as shown in Figure 1, the a of ON-OFF control circuit 2 is the indication end of the operating state being used to indicate UPS, UPS has utility mode, battery inverter mode and bypass mode three kinds of operating states, the INPUT of ON-OFF control circuit 2, Battery and Bypass is the pin of the corresponding above-mentioned three kinds of operating states of difference of the controller of UPS, each pin in above-mentioned three pins is output low level when UPS is in the operating state corresponding with it only, otherwise output high level.
As shown in Figure 1, when UPS is in one of them operating state of utility mode, battery inverter mode and bypass mode, INPUT pin, Battery pin and one of them output low level of Bypass pin, the base level of NPN type triode Q1 is just dragged down, therefore triode Q1 ends, the base stage being now all the triode Q2 of NPN type obtains high level via resistance R3 from VCC power supply, therefore triode Q2 conducting.After triode Q2 conducting, on the one hand, the base level of PNP type triode Q3 becomes low level because divider resistance R5 has pressure drop, therefore triode Q3 conducting, the positive pole B+ of the battery of UPS is input to the input VIN pin of buck converter U1 via triode Q3 and diode D6, on the other hand, electric capacity C6, discharge resistance R7 and triode Q2 forms a closed loop, electric capacity C6 is discharged by this loop, the level of the Enable Pin ON/OFF pin of buck converter U1 slowly reduces with the discharge process of electric capacity C6, because electric capacity has the characteristic that both end voltage can not suddenly change, the level of the Enable Pin ON/OFF pin of buck converter U1 is just reduced to the degree being enough to open buck converter U1 after a period of time of triode Q2 conducting, therefore the effect of delayed start-up circuit 3 makes buck converter U1 delayed start-up, the start-up time in the moment and buck converter U1 that obtain voltage from the positive pole B+ of the battery of UPS to allow the input VIN pin of buck converter U1 is not at synchronization, the loop of opening the input VIN pin of moment from the positive pole B+ of UPS battery to buck converter U1 at buck converter U1 so can be avoided to occur excessive transient current, thus, triode Q3 just can select the triode that rated current is less, reduce costs.After buck converter U1 opens, its output OUTPUT output frequency is about 154.8KHz square wave, this square wave exports+5V voltage from output circuit 4 after the electric capacity C1 and C2 post filtering of output circuit 4, for obtaining more output voltage, as shown in Figure 1, output circuit 4 is also provided with diode D8, and because diode D8 has pressure drop ,+5V voltage exports+4.2V voltage after diode D8.+ the 5V that the power supply circuits of the present embodiment outwards provide and+4.2V voltage, can such as, for various mini electrical equipment, Mini-type audio equipment etc.Inductance L 1 and fast recovery diode D5 coordinate; the waveform of the pulse signal that buck converter U1 can be made to export becomes level and smooth; in addition; fast recovery diode D5 coordinates can play at output current limiting with buck converter U1, and output short-circuit duration long and overload when protective circuit effect.
As shown in Figure 1, when UPS is in off-mode, INPUT pin, Battery pin and Bypass pin all export high level, the base stage of triode Q1 obtains high level, therefore triode Q1 conducting, after triode Q1 conducting, the base level of triode Q2 is dragged down by the negative pole B-of the battery of UPS, therefore triode Q2 ends.After triode Q2 ends, on the one hand, the base level of triode Q3 becomes high level, therefore triode Q3 ends, the input VIN pin no-voltage input of buck converter U1; On the other hand, the positive pole B+ of the battery of UPS charges to electric capacity C6 via divider resistance R5, resistance R6 and discharge resistance R7, the voltage at electric capacity C6 two ends raises, the level of the Enable Pin ON/OFF pin of buck converter U1 becomes high level, buck converter U1 is blocked, quit work, the power supply circuits of the present embodiment are not outwards powered.The power supply circuits of the present embodiment stop outwards power supply after UPS shutdown, prevent the battery of UPS from suffering damage because of lasting low discharging current.
As shown in Figure 1, electric capacity C1 and electric capacity C4 is also used as storage capacitor, UPS utility mode, switch between battery inverter mode and bypass mode time, there will be of short duration power-off, in the process occurring above-mentioned power-off, electric capacity C4 can give buck converter U1 continued power, electric capacity C1 then can maintain output circuit 4 voltage export do not interrupt, thus avoid UPS carry out operating state switch time impact to the power supply circuits of the present embodiment.
As shown in Figure 2, the power supply circuits of the present embodiment also comprise USB circuit 5, USB circuit 5 comprises USB interface J1 and J2, and the circuit for detecting 51 and 52 corresponding with USB interface J1 and J2 respectively, the resistance R11 of circuit for detecting 51 and resistance R12 dividing potential drop produce the voltage that mobile phone can be detected to give transfer of data pin D+ and D-of USB interface J1; In like manner, the resistance R13 of circuit for detecting 52 and resistance R14 dividing potential drop produce the voltage that mobile phone can be detected to give transfer of data pin D+ and D-of USB interface J2, and the power supply circuits of the present embodiment like this just can charge the phone.The USB circuit 5 of the power supply circuits of this enforcement, compared to existing USB circuit 5, structure is more simple.
Finally should be noted that; above embodiment is only in order to illustrate the technical solution of the utility model; but not the restriction to the utility model protection range; although done to explain to the utility model with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can modify to the technical solution of the utility model or equivalent replacement, and not depart from essence and the scope of technical solutions of the utility model.