CN105912089A - Battery redundancy method, device and system - Google Patents

Battery redundancy method, device and system Download PDF

Info

Publication number
CN105912089A
CN105912089A CN201610213586.9A CN201610213586A CN105912089A CN 105912089 A CN105912089 A CN 105912089A CN 201610213586 A CN201610213586 A CN 201610213586A CN 105912089 A CN105912089 A CN 105912089A
Authority
CN
China
Prior art keywords
bbu
switch module
psu
power supply
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610213586.9A
Other languages
Chinese (zh)
Inventor
陈荫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610213586.9A priority Critical patent/CN105912089A/en
Publication of CN105912089A publication Critical patent/CN105912089A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a battery redundancy method, device and system. The battery redundancy method includes that: while determining that a PSU is in a power supply failure, a CPLD firstly sends a turn-off command to a switch module corresponding to the PSU in order to control the switch module to be in a disconnection state, and then sends a turn-on enable signal to a BBU in order to control the BBU to be in a power supplying state; the CPLD sends a turn-on command to a switch module corresponding to the BBU in order to control the switch module to be in a connection state, and in this way, a power supply mode is switched into a BBU power supplying mode. When the PSU is in the power supply failure, the CPLD can sequentially sends corresponding control commands to the BBU and the two switch modules to control the BBU and the two switch modules to be in corresponding states, and in this way, the power supply mode can be automatically changed from the PPS power supplying mode to the BBU power supplying mode. The battery redundancy method, device and system can ensure normal work of a server when the PSU is in the power supply failure.

Description

A kind of method of battery redundancy, Apparatus and system
Technical field
The present invention relates to field of computer technology, particularly to method, the device of a kind of battery redundancy and be System.
Background technology
Along with developing rapidly of science and technology, server performance improves day by day also with the market demand.Delay Machine is easily caused the loss of server service data, therefore, should avoid in server running as far as possible Delay machine phenomenon.At present, server is powered by single PSU module.Owing to using single PSU It is powered, therefore when power supply trouble occurs in PSU, it is impossible to ensure the normal work of server.
Summary of the invention
The invention provides a kind of method of battery redundancy, Apparatus and system, it is possible at PSU, power supply occurs During fault, it is ensured that server normally works.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, a kind of method that the invention provides battery redundancy, it is applied to complicated programmable logic device Part CPLD, wherein, described CPLD respectively with external power source PSU, external cell backup units BBU, The outside second that outside first switch module corresponding with described PSU is corresponding with described BBU is opened Pass module is connected, and pre-sets first time period, also includes:
When determining that power supply trouble occurs in described PSU, in described first time period, open to described first Close module and send closing control instruction, so that the state of described first switch module is controlled as off-state;
And complete to perform described after described first switch module sends closing control instruction, respectively Send to open to described BBU and enable signal, so that the power supply state of described BBU is controlled as opening, Send to described second switch module and open control instruction, so that the state of described second switch module is controlled For connected state.
Further, also include:
Pre-set for the second time period;
When the described power supply trouble determining described PSU eliminates, within described second time period, to described Second switch module sends closing control instruction, to control the state of described second switch module for disconnecting State;
And complete to perform described after described second switch module sends closing control instruction, respectively Send to close to described BBU and enable signal, so that the power supply state of described BBU is controlled as closed mode, Send to described first switch module and open control instruction, so that the state of described first switch module is controlled For connected state.
Further, described first time period includes: 20~100ns.
Further, described determine that power supply trouble occurs in described PSU, including: receiving described PSU When the abnormal electrical power supply sent enables signal, determine that power supply trouble occurs in described PSU.
On the other hand, the invention provides a kind of complex programmable logic device (CPLD), described CPLD Outside corresponding with described PSU with external power source PSU, external cell backup units BBU respectively First switch module, the outside second switch module corresponding with described BBU are connected, including:
Unit is set, is used for arranging first time period;
Processing unit, for when determining that power supply trouble occurs in described PSU, in described first time period, Closing control instruction is sent, the state of described first switch module to be controlled to described first switch module For off-state;And described send closing control to described first switch module and instruct it completing to perform After, send to described BBU respectively and open enable signal, to control the power supply state of described BBU to be Opening, sends to described second switch module and opens control instruction, with by described second switch module State control as connected state.
Further, described unit is set, is additionally operable to arrange for the second time period;
Described processing unit, is additionally operable to when the described power supply trouble determining described PSU eliminates, described In second time period, send closing control instruction to described second switch module, with by described second switch The state of module controls as off-state;And described send to described second switch module completing to perform After closing control instruction, send to described BBU respectively and close enable signal, with by described BBU's Power supply state controls to be closed mode, sends to described first switch module and opens control instruction, with by institute The state stating the first switch module controls as connected state.
On the other hand, the invention provides the system of a kind of battery redundancy, for powering for external equipment, Including: any of the above-described described complex programmable logic device (CPLD), power ps U, battery back list Unit's BBU first switch module corresponding with described PSU, and corresponding with described BBU the Two switch modules, wherein,
Described CPLD respectively with described PSU, described BBU, described first switch module and described second Switch module is connected;Described PSU is connected with described first switch module, described BBU and described second Switch module is connected;
Described PSU, when being used for occurring power supply trouble, stops powering described external equipment;
Described BBU, for receiving the unlatching enable signal that described CPLD sends, and described When second switch module is in connected state, start described external equipment is powered;
Described first switch module, for receiving the closing control instruction that described CPLD sends, and passes through Perform the closing control instruction that described CPLD sends, to be off;
Described second switch module, for receiving the unlatching control instruction that described CPLD sends, and passes through Perform the unlatching control instruction that described CPLD sends, to be in connected state.
Further, described first switch module includes: two-way blocking switch and controller.
Further, described second switch module includes: two-way blocking switch and controller.
Further, described PSU is connected with described BBU;
Described PSU, is additionally operable to, when described power supply trouble eliminates, start to charge described BBU;? During described BBU charging complete, terminate described BBU is charged.
Further, this system also includes: baseboard management controller BMC, wherein,
Described BMC is connected with described BBU;
Described BMC, during for receiving the unlatching enable signal of described CPLD transmission at described BBU, Monitor power supply cruising time and the dump energy of described BBU;When monitor described power supply cruising time and When any one in described dump energy reaches respective settings threshold value, export warning reminding signal.
Further, during described BBU is positioned at described PSU.
Further, described external equipment respectively with described first switch module and described second switch module It is connected.
The invention provides a kind of method of battery redundancy, Apparatus and system, CPLD is determining that PSU goes out During existing power supply trouble, within the time period set in advance, first send out to the switch module corresponding with PSU Send out code to control it as off-state;The most respectively to BBU send open enable signal with Control it as power supply state, send open command to be controlled to the switch module corresponding with BBU It is made as connected state, thus switches to BBU to power powering mode.Owing to power supply event occurring at PSU During barrier, corresponding control instruction can be sent, with control by CPLD order to BBU and two switch modules Making it is corresponding state, thus completes powering mode and supply power to, from PSU, the automatic switchover that BBU powers. Therefore, the present invention can be when there is power supply trouble in PSU, it is ensured that server normally works.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method for a kind of battery redundancy that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the another kind of battery redundancy that one embodiment of the invention provides;
Fig. 3 is the schematic diagram of a kind of CPLD that one embodiment of the invention provides;
Fig. 4 is the schematic diagram of the system of a kind of battery redundancy that one embodiment of the invention provides;
Fig. 5 is the schematic diagram of the system of the another kind of battery redundancy that one embodiment of the invention provides;
Fig. 6 is the schematic diagram of the system of another battery redundancy that one embodiment of the invention provides;
Fig. 7 is that the system of a kind of battery redundancy that one embodiment of the invention provides is closed with the connection of external equipment The schematic diagram of system.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments, based on Embodiment in the present invention, those of ordinary skill in the art are institute on the premise of not making creative work The every other embodiment obtained, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, a kind of method embodiments providing battery redundancy, it is applied to CPLD (Complex Programmable Logic Device, CPLD), can include following Step:
Step 101: described CPLD respectively with outside PSU (Power Supply Units, power supply), Outside outside BBU (Battery Backup Units, battery back unit) is corresponding with described PSU Portion's the first switch module, the outside second switch module corresponding with described BBU are connected, and pre-set First time period.
Step 102: when determining that power supply trouble occurs in described PSU, in described first time period, to Described first switch module sends closing control instruction, to control the state of described first switch module to be Off-state.
Step 103: and described send closing control instruction to described first switch module completing to perform Afterwards, send to described BBU respectively and open enable signal, with by the power supply state control of described BBU For opening, send to described second switch module and open control instruction, with by described second switch mould The state of block controls as connected state.
A kind of method embodiments providing battery redundancy, CPLD is determining that power supply occurs in PSU During fault, within the time period set in advance, first send to the switch module corresponding with PSU and close Instruction is to control it as off-state;Send to BBU to open the most respectively and enable signal to be controlled It is made as power supply state, sends open command with the company of controlling it as to the switch module corresponding with BBU Logical state, thus switch to BBU to power powering mode.Due to when there is power supply trouble in PSU, Corresponding control instructions can be sent by CPLD order to BBU and two switch modules, controlling it be Corresponding state, thus complete powering mode and supply power to, from PSU, the automatic switchover that BBU powers.Therefore, The embodiment of the present invention can be when there is power supply trouble in PSU, it is ensured that server normally works.
In a kind of possible implementation, in order to illustrate when the power supply trouble of PSU eliminates, mould of powering The switching of formula realizes process, so, farther include:
Pre-set for the second time period;
When the described power supply trouble determining described PSU eliminates, within described second time period, to described Second switch module sends closing control instruction, to control the state of described second switch module for disconnecting State;
And complete to perform described after described second switch module sends closing control instruction, respectively Send to close to described BBU and enable signal, so that the power supply state of described BBU is controlled as closed mode, Send to described first switch module and open control instruction, so that the state of described first switch module is controlled For connected state.
In a kind of possible implementation, in order to avoid power-off occurring in powering mode handoff procedure Risk, need to quickly transmit coherent signal, so, described first time period includes: 20~100ns.
In a kind of possible implementation, in order to illustrate that a kind of common CPLD determines that PSU occurs The mode of power supply trouble, so, described determine that power supply trouble occurs in described PSU, including: receiving When the abnormal electrical power supply that described PSU sends enables signal, determine that power supply trouble occurs in described PSU.In detail Ground, it can be fault signal that described power supply enables signal.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings and specifically real The present invention is described in further detail to execute example.
As in figure 2 it is shown, the method that one embodiment of the invention provides battery redundancy, the method can be wrapped Include following steps:
Step 201: set up respectively the corresponding switch P of CPLD with PSU, BBU with PSU and The annexation of switch B corresponding for BBU, sets up switch P Yu PSU respectively, is powered equipment Annexation, the annexation set up respectively and switch B Yu BBU, being powered equipment, and set up PSU Annexation with BBU.
In detail, P with PSU is corresponding for switch, therefore when the equipment of being powered is powered by PSU, Need to ensure that switch P is in connected state.Accordingly, B with BBU is corresponding for switch, therefore works as BBU When the equipment of being powered is powered, need to ensure that switch B is in connected state.
In detail, PSU can be server board level power supply.Accordingly, the equipment that is powered can be service Any one or more in device is powered module.
In the present embodiment, BBU may be located in PSU, for example, it is possible to BBU is arranged on PSU Internal.In a kind of possible implementation, BBU can be equally located on outside PSU.
The battery redundant fashion that the embodiment of the present invention provides, is that PSU is superfluous with the power supply of rechargeable battery BBU Remaining, rather than the power supply redundancy between multiple PSU.The power supply redundant fashion of PSU Yu BBU, Ke Yiying For without configuring multiple PSU, but it is likely to occur this application scenarios of power-off or PSU faults itself. BBU is when power supply trouble occurs in PSU, it is possible to the equipment of being powered carries out normal power supply, does not affect clothes The normal work of business device.And the price of BBU is low compared with PSU, compared with redundancy of powering with many PSU, PSU Decrease with the power input cost of redundant fashion of BBU.
Additionally, due to BBU can be arranged on inside PSU, therefore for the clothes of available finite volume Business device, in the case of not affecting server external structure and intraware fixed position, equally profit With the BBU in PSU, it is achieved the power supply redundancy of this server, to ensure that it is when PSU power supply trouble Can normally work.
In the present embodiment, the foundation of above-mentioned various annexation can be able to reality by board built-in circuit Existing.For example, it is possible to the PSU by CPLD, comprising BBU, switch P, switch B and be powered equipment It is arranged on same board, and sets up corresponding annexation by board built-in circuit.
Step 202:CPLD arranges first time period and the second time period.
In the present embodiment, the second time period can be identical with first time period, such as, be 20~ 100ns.This time period can be configured according to the actual requirements.
When power supply trouble occurs in PSU, in order to not affect the normal work of server, need CPLD fast Send and enable signal to BBU, switch P and switch B, to realize the quick power supply of BBU fastly.Cause This, the transmission of signal can be that nanosecond is other, and such as, CPLD can send letter in 20~100ns Number.
In the present embodiment, the signal that CPLD sends can be that high level enables signal.
Step 203: when PSU monitor power supply trouble occurs time, stop in first time period being supplied Electricity equipment is powered, and sends fault signal to CPLD.
In detail, power supply trouble can include power-off, and/or, PSU faults itself.
Specifically, PSU can comprise a monitoring means, for monitoring whether that power supply event occurs in real time Barrier.Power supply trouble occur when detecting, during such as unexpected power-off, PSU mono-aspect can stop exporting electric current, I.e. stop by switch P circuit, the equipment of being powered being powered;Send to CPLD the most simultaneously Fault signal.
Step 204:CPLD receive PSU send fault signal time, in first time period to Switch P sends closing control instruction.
In the present embodiment, CPLD is when receiving the fault signal that PSU sends, it may be determined that PSU Power supply trouble occurs.
Additionally, CPLD determines that PSU occurs that the alternatively possible implementation of power supply trouble can be, CPLD monitors the power supply state of PSU the most in real time, to judge whether it power supply trouble occurs, and without PSU sends fault signal.For example, it is possible to monitor whether the supply voltage of PSU is less than setting threshold value etc..
CPLD, after determining that power supply trouble occurs in PSU, needs powering mode by PSU power switching Power for BBU, the realization of this switching need its within rank time nanosecond, to BBU, switch P, Switch B sends and enables signal accordingly.Such as, first CPLD sends closing control instruction to switch P, So that switch P is by performing this instruction to be off, thus reach to cut off from PSU through switch P To being powered these power supply circuits of equipment.
Step 205: switch P receives the closing control instruction that CPLD sends, and by performing this closedown Control instruction is to be off.
In detail, switch P can be by bidirectional blocking (two-way blocking switch) and controller (controller) forms.Such as, the controller in switch P is receiving the closedown that CPLD sends During control instruction, can be become by closure state to control bidirectional blocking by performing this instruction For off-state.
Meanwhile, when needing hot_swap (hot plug) function in view of server, controller is permissible There is softstart (soft start) function.
In one implementation, open control instruction if first sending to BBU, then send out to switch P Send closing control to instruct, then there may be BBU and start power supply, but switch B disconnects, switch P connection Situation, this situation can cause the electric current of BBU to pour in down a chimney to PSU.Therefore, in the present embodiment, In order to avoid occurring that electric current pours in down a chimney phenomenon during powering to BBU from PSU power switching, opening Before opening BBU, it is necessary first to close the switch P corresponding with PSU, therefore CPLD can be first to switch P Transmission closing control instructs.
But, can be to complete in nanosecond rank owing to CPLD enables the transmission of signal, therefore may deposit In signal delay in various degree.For this situation, switch P can be set as by bidirectional The two-way blocking switch module of blocking and controller composition, can avoid the occurrence of above-mentioned electricity further Stream pours in down a chimney phenomenon.
In the present embodiment, when needs switching powering mode, on the one hand, CPLD can be according to predetermined Signal transmission order to send each enable signal, on the other hand, involved switch can be two-way Blocking switch module.By this implementation, can be prevented effectively from powering mode handoff procedure and be caned The electric current that can occur pours in down a chimney phenomenon.
Step 206: after sending closing control instruction to switch P, CPLD is in first time period Send enable signal to BBU respectively, send to switch B and open control instruction.
In one implementation, CPLD to switch P send closing control instruction after, Ke Yitong Time to BBU and switch B send enable signal accordingly.
Step 207: switch B receives the unlatching control instruction that CPLD sends, and by performing this unlatching Control instruction is to be in connected state.
Similar with switch P, switch B is equally by bidirectional blocking and controller Composition.
Additionally, switch B can also be by N mosfet (Metal-Oxide-Semiconductor Field-Effect Transistor, Metal-Oxide Semiconductor field-effect transistor) and controller composition.Meanwhile, for Realizing being switched fast of powering mode, the opening speed of mosfet wants fast equally, therefore can select threshold value The mosfet that voltage is less, opening speed is fast.Same, may be selected that the controller of quickly response.
Step 208:BBU receives the enable signal that CPLD sends, and is in connection at switch B During state, start the equipment of being powered is powered.
BBU, after receiving enable signal, opens the output of self electric current, and is at switch B During connected state, can pass through from BBU through switching B to being powered these power supply circuits of equipment to being supplied Electricity equipment is powered.
Additionally, in a kind of possible implementation, it is also possible to set up BBU Yu BMC (Baseboard Management Controller, baseboard management controller) annexation.Wherein, BMC can be BBU receives the enable signal that CPLD sends, i.e. BBU starts to be powered the equipment of being powered Time, the power supply cruising time of monitoring BBU and dump energy.Owing to powering period at BBU, server Load program is indefinite, thus can BMC monitor power supply cruising time and dump energy in any one Individual when reaching respective settings threshold value, export warning reminding signal.Such as, the setting threshold powered cruising time Value can be predetermined total the 20% of duration of powering, and the setting threshold value of dump energy can be the 20% of total electricity.
Step 209: when PSU monitors the elimination of described power supply trouble, opens the output of self electric current, and Right signal is sent to CPLD.
Monitor with PSU and occur that the implementation of power supply trouble is similar, eliminate at power supply trouble, as prominent So after power-off a period of time during normal power-up, PSU equally monitors the situation that power supply trouble eliminates. Then, PSU mono-aspect can automatically turn on the output of self electric current, to be changed to connected state at switch P Time, by switch P circuit, the equipment of being powered can be powered, on the other hand can send out to CPLD Send right signal.
Step 210:CPLD receive PSU send right signal time, within the second time period to Switch B sends closing control instruction.
Similar with CPLD reception fault signal, when it receives the right signal that PSU sends, May determine that the power supply trouble of PSU eliminates.Accordingly, CPLD determines what PSU power supply trouble eliminated Alternatively possible implementation can be, CPLD monitors the power supply state of PSU the most in real time, to judge Whether its power supply trouble is eliminated, and sends right signal without PSU.
Same, when needing that BBU powering mode is switched to PSU powering mode, can first make switch B disconnects, to be first turned off the supply line that the equipment of being powered is powered by BBU by switch B.
Step 211: switch B receives the closing control instruction that CPLD sends, and by performing this closedown Control instruction is to be off.
Step 212: after sending closing control instruction to switch B, CPLD is within the second time period Send disable signal to BBU respectively, send to switch P and open control instruction.
In one implementation, CPLD to switch B send closing control instruction after, Ke Yitong Time to BBU and switch P send enable signal accordingly.
Step 213:BBU, when receiving the disable signal that CPLD sends, stops being powered equipment Power supply.
BBU, when receiving disable signal, can be automatically stopped the output of self electric current, right to stop The equipment of being powered is powered.It is apparent that when switching B and disconnecting, BBU powering mode terminates.
Step 214: switch P receives the unlatching control instruction that CPLD sends, and by performing this unlatching Control instruction is to be in connected state.
Step 215: when switching P and processing connected state, PSU starts to be powered the equipment of being powered.
When switching P and being in connected state, PSU can be through switch P circuit, again to being powered equipment It is powered, thus completes powering mode and supply power to, from BBU, the switching that PSU powers.
Step 216:PSU, while being powered the equipment of being powered, starts to charge BBU, with And when BBU charging complete, terminate BBU is charged.
Due to the consumption of the existing distinct program of the electricity of storage in BBU powering phase, BBU, therefore PSU powering phase, BBU can be charged by PSU, until BBU charges to full.This mode Powering mode can be switched in real time, to ensure so that follow-up time PSU power supply trouble occurs again Server normally works.
In the present embodiment, when there is power supply trouble in PSU, can quickly by powering mode by PSU Power switching is that BBU powers, and when PSU power supply trouble eliminates, then by powering mode by BBU Power switching returns PSU and powers, and charges to BBU full, in case the switching of follow-up powering mode is used, Thus ensure that server can normally work, it is to avoid the loss of data that the server machine of delaying suddenly is caused occurs Phenomenon.
As it is shown on figure 3, embodiments provide a kind of CPLD30, described CPLD30 respectively with Outside PSU, outside outside the first switch module corresponding with described PSU for BBU and described BBU Corresponding outside second switch module is connected, and may include that
Unit 301 is set, is used for arranging first time period;
Processing unit 302, for when determining that power supply trouble occurs in described PSU, in the described very first time In section, send closing control instruction to described first switch module, with the shape by described first switch module State controls as off-state;And described send closing control to described first switch module completing to perform After instruction, send to described BBU respectively and open enable signal, with the power supply state by described BBU Controlling is opening, sends to described second switch module and opens control instruction, to open described second The state closing module controls as connected state.
In one embodiment of the invention, described unit 301 is set, when being further used for arranging second Between section;
Described processing unit 302, is further used for when the described power supply trouble determining described PSU eliminates, Within described second time period, send closing control instruction to described second switch module, with by described the The state of two switch modules controls as off-state;And complete to perform described to described second switch mould After block sends closing control instruction, send to described BBU respectively and close enable signal, with by described The power supply state of BBU controls to be closed mode, sends to described first switch module and opens control instruction, So that the state of described first switch module is controlled as connected state.
As shown in Figure 4, embodiments provide the system of a kind of battery redundancy, for setting for outside Standby 40 power supplies, may include that any of the above-described CPLD30, PSU50, BBU60 and described PSU50 The first corresponding switch module 70, and the second switch module 80 corresponding with described BBU60, Wherein,
Described CPLD30 respectively with described PSU50, described BBU60, described first switch module 70 It is connected with described second switch module 80;Described PSU50 is connected with described first switch module 70, institute State BBU60 to be connected with described second switch module 80;
Described PSU50, when being used for occurring power supply trouble, stops powering described external equipment 40;
Described BBU60, for receiving the unlatching enable signal that described CPLD30 sends, Yi Ji When described second switch module 80 is in connected state, start described external equipment 40 is powered;
Described first switch module 70, for receiving the closing control instruction that described CPLD30 sends, and The closing control sent by performing described CPLD30 instructs, to be off;
Described second switch module 80, for receiving the unlatching control instruction that described CPLD30 sends, and By performing the unlatching control instruction that described CPLD30 sends, to be in connected state.
In detail, PSU50 can be server board level power supply, and external equipment 40 can be this server In any one or more unit module to be powered or equipment.
In one embodiment of the invention, described first switch module 70 includes: two-way blocking switch and Controller.In detail, two-way blocking switch can be bidirectional blocking, and controller can be controller。
In one embodiment of the invention, described second switch module 80 includes: two-way blocking switch and Controller.
In detail, the first switch module 70 and second switch module 80 can be all by bidirectional The two-way blocking switch module of blocking and controller composition.
In one embodiment of the invention, refer to Fig. 5, described PSU50 and described BBU60 phase Even;
Described PSU50, is further used for, when described power supply trouble eliminates, starting described BBU60 Charging;When described BBU60 charging complete, terminate described BBU60 is charged.
In one embodiment of the invention, refer to Fig. 6, this system also includes: BMC90, wherein,
Described BMC90 is connected with described BBU60;
Described BMC90, for receiving, at described BBU60, the unlatching enable that described CPLD30 sends During signal, monitor power supply cruising time and the dump energy of described BBU60;When monitoring described power supply When any one in cruising time and described dump energy reaches respective settings threshold value, export warning reminding Signal.
In one embodiment of the invention, during described BBU60 is positioned at described PSU50.In detail, BBU60 can be arranged on inside PSU50.
In one embodiment of the invention, refer to Fig. 7, described external equipment 40 is superfluous with battery respectively Described first switch module 70 in remaining system is connected with described second switch module 80.In detail, when When first switch module 70 is in connected state, second switch module is off, can be by PSU Powered to external equipment 40 by the first switch module 70 place circuit, on the contrary, then can be by BBU Powered to external equipment 40 by second switch module 80 place circuit.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the present invention Embodiment of the method is based on same design, and particular content can be found in the narration in the inventive method embodiment, this Place repeats no more.
In sum, each embodiment of the present invention at least has the advantages that
1, in the embodiment of the present invention, CPLD, when determining that power supply trouble occurs in PSU, is presetting Time period in, first send out code to control it as breaking to the switch module corresponding with PSU Open state;The most respectively to BBU send open enable signal to control it as power supply state, to Switch module transmission open command corresponding for BBU is to control it as connected state, thus mould of powering Formula switches to BBU to power.Due to when there is power supply trouble in PSU, can be by CPLD order to BBU Send corresponding control instructions with two switch modules, with control its as corresponding state, thus complete mould of powering Formula supplies power to, from PSU, the automatic switchover that BBU powers.Therefore, the embodiment of the present invention can go out at PSU During existing power supply trouble, it is ensured that server normally works.
2, in the embodiment of the present invention, battery redundant fashion is the power supply redundancy of PSU and rechargeable battery BBU, Rather than the power supply redundancy between multiple PSU.The power supply redundant fashion of PSU Yu BBU, can apply to Without configuring multiple PSU, but it is likely to occur this application scenarios of power-off or PSU faults itself.BBU When there is power supply trouble in PSU, it is possible to the equipment of being powered is carried out normal power supply, does not affect server Normal work.And the price of BBU is low compared with PSU, compared with redundancy of powering with many PSU, PSU and BBU The input cost of power supply redundant fashion decreases.
3, in the embodiment of the present invention, owing to BBU can be arranged on inside PSU, therefore for available The server of finite volume, in the case of not affecting server external structure and intraware fixed position, Equally utilize the BBU in PSU, it is achieved the power supply redundancy of this server, to ensure that it is at PSU Can normally work during power supply trouble.
4, in the embodiment of the present invention, when needs switching powering mode, on the one hand, CPLD can be according to Predetermined signal transmission order is to send each enable signal, and on the other hand, involved switch can be Two-way blocking switch module.By this implementation, can be prevented effectively from powering mode handoff procedure The electric current being likely to occur pours in down a chimney phenomenon.
5, in the embodiment of the present invention, when there is power supply trouble in PSU, can quickly by powering mode by PSU power switching is that BBU powers, and when PSU power supply trouble eliminates, then by powering mode by BBU power switching returns PSU and powers, and charges to BBU full, in case follow-up powering mode switches it With, thus ensure that server can normally work, it is to avoid the data that the server machine of delaying suddenly is caused occur Loss.
It should be noted that in this article, the relational terms of such as first and second etc be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply this Relation or the order of any this reality is there is between a little entities or operation.And, term " includes ", " comprise " or its any other variant is intended to comprising of nonexcludability, so that include that one is The process of row key element, method, article or equipment not only include those key elements, but also include the brightest Other key elements really listed, or also include intrinsic for this process, method, article or equipment Key element.In the case of there is no more restriction, statement " include one " and limit Key element, it is not excluded that there is also another in including the process of described key element, method, article or equipment Outer identical factor.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in embodied on computer readable Storage medium in, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned Storage medium include: various Jie that can store program code such as ROM, RAM, magnetic disc or CD In matter.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate this The technical scheme of invention, is not intended to limit protection scope of the present invention.All spirit in the present invention and former Any modification, equivalent substitution and improvement etc. done within then, are all contained in protection scope of the present invention.

Claims (10)

1. the method for a battery redundancy, it is characterised in that be applied to CPLD CPLD, wherein, described CPLD respectively with external power source PSU, external cell backup units BBU, The outside second that outside first switch module corresponding with described PSU is corresponding with described BBU is opened Pass module is connected, and pre-sets first time period, also includes:
When determining that power supply trouble occurs in described PSU, in described first time period, open to described first Close module and send closing control instruction, so that the state of described first switch module is controlled as off-state;
And complete to perform described after described first switch module sends closing control instruction, respectively Send to open to described BBU and enable signal, so that the power supply state of described BBU is controlled as opening, Send to described second switch module and open control instruction, so that the state of described second switch module is controlled For connected state.
Method the most according to claim 1, it is characterised in that farther include:
Pre-set for the second time period;
When the described power supply trouble determining described PSU eliminates, within described second time period, to described Second switch module sends closing control instruction, to control the state of described second switch module for disconnecting State;
And complete to perform described after described second switch module sends closing control instruction, respectively Send to close to described BBU and enable signal, so that the power supply state of described BBU is controlled as closed mode, Send to described first switch module and open control instruction, so that the state of described first switch module is controlled For connected state.
3. according to described method arbitrary in claim 1 and 2, it is characterised in that
Described first time period includes: 20~100ns;
And/or,
Described determine that power supply trouble occurs in described PSU, including: receiving the confession that described PSU sends When electrical anomaly enables signal, determine that power supply trouble occurs in described PSU.
4. a complex programmable logic device (CPLD), it is characterised in that described CPLD is respectively with outward Portion power ps U, the external cell backup units BBU outside first corresponding with described PSU switchs Module, the outside second switch module corresponding with described BBU are connected, including:
Unit is set, is used for arranging first time period;
Processing unit, for when determining that power supply trouble occurs in described PSU, in described first time period, Closing control instruction is sent, the state of described first switch module to be controlled to described first switch module For off-state;And described send closing control to described first switch module and instruct it completing to perform After, send to described BBU respectively and open enable signal, to control the power supply state of described BBU to be Opening, sends to described second switch module and opens control instruction, with by described second switch module State control as connected state.
CPLD the most according to claim 4, it is characterised in that
Described unit is set, is further used for arranging for the second time period;
Described processing unit, is further used for when the described power supply trouble determining described PSU eliminates, In described second time period, send closing control instruction to described second switch module, with by described second The state of switch module controls as off-state;And complete to perform described to described second switch module After sending closing control instruction, send to described BBU respectively and close enable signal, with by described BBU Power supply state control as closed mode, send to described first switch module and open control instruction, with will The state of described first switch module controls as connected state.
6. the system of a battery redundancy, it is characterised in that for powering for external equipment, described battery The system of redundancy includes: the CPLD as described in arbitrary in claim 4 and 5 The first switch module that CPLD, power ps U, battery back unit B BU are corresponding with described PSU, And the second switch module corresponding with described BBU, wherein,
Described CPLD respectively with described PSU, described BBU, described first switch module and described second Switch module is connected;Described PSU is connected with described first switch module, described BBU and described second Switch module is connected;
Described PSU, when being used for occurring power supply trouble, stops powering described external equipment;
Described BBU, for receiving the unlatching enable signal that described CPLD sends, and described When second switch module is in connected state, start described external equipment is powered;
Described first switch module, for receiving the closing control instruction that described CPLD sends, and passes through Perform the closing control instruction that described CPLD sends, to be off;
Described second switch module, for receiving the unlatching control instruction that described CPLD sends, and passes through Perform the unlatching control instruction that described CPLD sends, to be in connected state.
The system of battery redundancy the most according to claim 6, it is characterised in that
Described first switch module includes: two-way blocking switch and controller;
And/or,
Described second switch module includes: two-way blocking switch and controller.
The system of battery redundancy the most according to claim 6, it is characterised in that
Described PSU is connected with described BBU;
Described PSU, is further used for, when described power supply trouble eliminates, starting to charge described BBU; When described BBU charging complete, terminate described BBU is charged.
The system of battery redundancy the most according to claim 6, it is characterised in that also include: substrate Management Controller BMC, wherein,
Described BMC is connected with described BBU;
Described BMC, during for receiving the unlatching enable signal of described CPLD transmission at described BBU, Monitor power supply cruising time and the dump energy of described BBU;When monitor described power supply cruising time and When any one in described dump energy reaches respective settings threshold value, export warning reminding signal.
10. according to the system of described battery redundancy arbitrary in claim 6 to 9, it is characterised in that
Described BBU is positioned in described PSU;
And/or,
Described external equipment is connected with described first switch module and described second switch module respectively.
CN201610213586.9A 2016-04-07 2016-04-07 Battery redundancy method, device and system Pending CN105912089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610213586.9A CN105912089A (en) 2016-04-07 2016-04-07 Battery redundancy method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610213586.9A CN105912089A (en) 2016-04-07 2016-04-07 Battery redundancy method, device and system

Publications (1)

Publication Number Publication Date
CN105912089A true CN105912089A (en) 2016-08-31

Family

ID=56745389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610213586.9A Pending CN105912089A (en) 2016-04-07 2016-04-07 Battery redundancy method, device and system

Country Status (1)

Country Link
CN (1) CN105912089A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656336A (en) * 2016-12-31 2017-05-10 南京泰通科技股份有限公司 Active-standby signal processing method of LTE base station baseband processing board
CN107026759A (en) * 2017-04-21 2017-08-08 深圳市同泰怡信息技术有限公司 The firmware and its development approach of a kind of remote management BBU modules based on BMC
CN107037868A (en) * 2017-05-23 2017-08-11 郑州云海信息技术有限公司 A kind of cold standby TURP based on storage system changes system and method
CN107085461A (en) * 2017-04-18 2017-08-22 深圳市同泰怡信息技术有限公司 Based on separate modular backup power supply module and its application method
CN107369474A (en) * 2017-07-31 2017-11-21 郑州云海信息技术有限公司 A kind of method and system for detecting storage batteries
CN107436414A (en) * 2017-08-03 2017-12-05 郑州云海信息技术有限公司 BBU validity test method and apparatus in a kind of storage system
CN107976570A (en) * 2017-11-21 2018-05-01 郑州云海信息技术有限公司 Power consumption test method, device and medium during a kind of storage system data backup
CN108039770A (en) * 2018-01-15 2018-05-15 郑州云海信息技术有限公司 A kind of server power supply adapter and battery powered seamless handover method and circuit
CN108762464A (en) * 2018-05-11 2018-11-06 郑州云海信息技术有限公司 A kind of control system and method monitoring standby electricity based on CPLD
CN109726055A (en) * 2017-10-31 2019-05-07 杭州华为数字技术有限公司 Detect the method and computer equipment of PCIe chip exception
CN111475011A (en) * 2020-03-08 2020-07-31 苏州浪潮智能科技有限公司 Server N +1 redundant power supply power control system and method
CN111864885A (en) * 2020-07-14 2020-10-30 苏州浪潮智能科技有限公司 Hard disk power supply control device and method
CN115549286A (en) * 2022-11-30 2022-12-30 苏州浪潮智能科技有限公司 Server power supply method, system, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212273A1 (en) * 2006-01-13 2008-09-04 Sun Microsystems, Inc. Compact rackmount storage server
CN103812147A (en) * 2012-11-08 2014-05-21 鸿富锦精密工业(深圳)有限公司 Battery charging control system
CN104035892A (en) * 2014-06-17 2014-09-10 英业达科技有限公司 Server system and cluster system
CN204808189U (en) * 2015-02-27 2015-11-25 浙江大华技术股份有限公司 Power controlling means , memory and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212273A1 (en) * 2006-01-13 2008-09-04 Sun Microsystems, Inc. Compact rackmount storage server
CN103812147A (en) * 2012-11-08 2014-05-21 鸿富锦精密工业(深圳)有限公司 Battery charging control system
CN104035892A (en) * 2014-06-17 2014-09-10 英业达科技有限公司 Server system and cluster system
CN204808189U (en) * 2015-02-27 2015-11-25 浙江大华技术股份有限公司 Power controlling means , memory and equipment

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656336A (en) * 2016-12-31 2017-05-10 南京泰通科技股份有限公司 Active-standby signal processing method of LTE base station baseband processing board
CN107085461A (en) * 2017-04-18 2017-08-22 深圳市同泰怡信息技术有限公司 Based on separate modular backup power supply module and its application method
CN107026759A (en) * 2017-04-21 2017-08-08 深圳市同泰怡信息技术有限公司 The firmware and its development approach of a kind of remote management BBU modules based on BMC
CN107037868A (en) * 2017-05-23 2017-08-11 郑州云海信息技术有限公司 A kind of cold standby TURP based on storage system changes system and method
CN107369474A (en) * 2017-07-31 2017-11-21 郑州云海信息技术有限公司 A kind of method and system for detecting storage batteries
CN107369474B (en) * 2017-07-31 2020-07-24 苏州浪潮智能科技有限公司 Method and system for detecting electricity storage battery
CN107436414A (en) * 2017-08-03 2017-12-05 郑州云海信息技术有限公司 BBU validity test method and apparatus in a kind of storage system
CN109726055B (en) * 2017-10-31 2021-01-12 华为技术有限公司 Method for detecting PCIe chip abnormity and computer equipment
CN109726055A (en) * 2017-10-31 2019-05-07 杭州华为数字技术有限公司 Detect the method and computer equipment of PCIe chip exception
CN107976570A (en) * 2017-11-21 2018-05-01 郑州云海信息技术有限公司 Power consumption test method, device and medium during a kind of storage system data backup
CN108039770A (en) * 2018-01-15 2018-05-15 郑州云海信息技术有限公司 A kind of server power supply adapter and battery powered seamless handover method and circuit
CN108762464A (en) * 2018-05-11 2018-11-06 郑州云海信息技术有限公司 A kind of control system and method monitoring standby electricity based on CPLD
CN111475011A (en) * 2020-03-08 2020-07-31 苏州浪潮智能科技有限公司 Server N +1 redundant power supply power control system and method
CN111864885A (en) * 2020-07-14 2020-10-30 苏州浪潮智能科技有限公司 Hard disk power supply control device and method
CN111864885B (en) * 2020-07-14 2022-04-22 苏州浪潮智能科技有限公司 Hard disk power supply control device and method
CN115549286A (en) * 2022-11-30 2022-12-30 苏州浪潮智能科技有限公司 Server power supply method, system, storage medium and equipment
CN115549286B (en) * 2022-11-30 2024-02-27 苏州浪潮智能科技有限公司 Server power supply method, system, storage medium and equipment

Similar Documents

Publication Publication Date Title
CN105912089A (en) Battery redundancy method, device and system
JP5059197B2 (en) Selection switch device, power supply device using the same, and switching method thereof
KR20170095189A (en) Techniques to route power to a usb host in dead battery condition
WO2014187073A1 (en) Control method and apparatus
TW201320140A (en) Powre supply system with automatic transfer function and method of controlling the same
JP2004227555A (en) Power control, control method, and device of power supply
CN104035892B (en) Server system
US20220329082A1 (en) Energy storage system and method for controlling energy storage system
CN102882267A (en) Power supply device, electronic equipment and power supply method
CN104536321A (en) System and method for achieving power failure detection and relay state control
CN104377812A (en) Switching circuit for multiple input power sources
CN107037868A (en) A kind of cold standby TURP based on storage system changes system and method
WO2023024846A1 (en) Method for determining transfer-by-switch duration, timing control method and apparatus, and power supply system
KR102163218B1 (en) Controlling system of distribution panel including uninterruptible power system in building
CN103645412A (en) Battery detection method and device
KR101212262B1 (en) Protection system and method when parallel uninterruptible power supply devices turnover
CN101958782B (en) Method for realizing node standby and system
CN109450051B (en) Battery system and control method thereof
CN104993582A (en) Electric power system control method and apparatus
US11604635B2 (en) Online program updating method
CN105958628A (en) Power supply system and method
CN107505879B (en) Solar storage battery charging and discharging control chip
CN105573870A (en) Control method and device for starting load device based on multi-way redundant power supply modules
CN112039052B (en) Power supply device and control method thereof
CN115098305A (en) Mainboard standby power switching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831

WD01 Invention patent application deemed withdrawn after publication