A kind of main secondary power switching circuit
Technical field
The utility model relates to main power supply management domains, and in particular to a kind of main secondary power switching circuit.
Background technique
For desktop computer or server master board, before starting up, system in a dormant state, only needs small electricity at this time
Amount maintains dormant state, needs to use small backup power source at this time, and after starting up, electrical demand is more,
It needs just meet electrical demand using to big main power source, therefore, it will usually a small backup power source be arranged and one big
Main power source, and according to electrical demand carry out main power supply switching.
Shown in Figure 1, currently used main power supply switching mode is mostly used and is gone here and there between main power supply and combining power supply
The mode of union II pole pipe is realized, the switching of main power supply is realized using the pressure difference of different diodes, as shown, electric based on P12V
Source, P12V_STBY are backup power source, and P12V_AUX provides the combining power supply of electricity for load, and diode D1 and D2 pressure drop is different
It causes, the pressure drop of diode D1 is less than the pressure drop of diode D2, and passively cutting for power supply is realized by the pressure drop of the two diodes
It changes.
However, the mode of above-mentioned realization main power supply switching in low current scene using more, major advantage be it is at low cost,
Control is simple, but under the biggish scene of electric current, will there is that diode power consumption is larger, and transfer efficiency is low, and it is big to account for plate bulk,
The shortcomings that not can effectively prevent booting dash current, so that above-mentioned main secondary power switching circuit restricted application, performance are bad.
Utility model content
In view of the deficiencies in the prior art, the purpose of this utility model is to provide a kind of main power supply switching electricity
Road effectively prevent excessively high booting dash current while realizing masterslave switchover, thus effective protection backup power source.
To achieve the above objectives, the technical scheme adopted by the utility model is that:
A kind of main secondary power switching circuit, comprising:
Main power source, backup power source and for load the combining power supply of electric energy is provided;
First circuit, first circuit include the first field-effect tube Q1, the drain electrode of the first field-effect tube Q1 and master
Power supply is connected, and the source electrode of the first field-effect tube Q1 is connected with combining power supply;
Second circuit, the second circuit include first resistor R1 and the second field-effect tube Q2, second field-effect tube
The drain electrode of Q2 is connected with one end of backup power source, first resistor R1, the source electrode and combining power supply of the second field-effect tube Q2,
The other end of first resistor R1 is connected;
Tertiary circuit, the tertiary circuit are separately connected the grid of the first field-effect tube Q1 and the grid of the second field-effect tube Q2
Pole, and the switch for controlling the first field-effect tube Q1 and the second field-effect tube Q2 is disconnected.
Based on the above technical solution, two are additionally provided between the source electrode of the second field-effect tube Q2 and combining power supply
Pole pipe D1, the anode of the diode D1 are connected with the source electrode of the second field-effect tube Q2, the cathode of the diode D1 and combining
Power supply is connected.
Based on the above technical solution, the tertiary circuit includes two-way field-effect tube Q3 and the 4th field-effect tube
Q4, the two-way field-effect tube Q3 is separately connected the grid of the first field-effect tube Q1 and the grid of the 4th field-effect tube Q4, described
The drain electrode of 4th field-effect tube Q4 is connected with the grid of the second field-effect tube Q2, the source electrode ground connection of the 4th field-effect tube Q4.
It based on the above technical solution, further include the 4th circuit, the 4th circuit includes second resistance R2, third
Resistance R3 and first capacitor C1, one end of the second resistance R2 are connected with backup power source, the other end of the second resistance R2
Be connected with the grid of the 4th field-effect tube Q4 with two-way field-effect tube Q3, the 3rd resistor R3 and first capacitor C1 it is in parallel after
It is separately connected the grid and source electrode of the 4th field-effect tube Q4.
Based on the above technical solution, the tertiary circuit further includes logic control device, the logic controller
Part is connected with two-way field-effect tube Q3.
It based on the above technical solution, further include the 5th circuit, the 5th circuit includes the 4th resistance R4 and the
Two capacitor C2, the backup power source is grounded after the 4th resistance R4 and the second capacitor C2 series connection, and the 4th resistance R4 and the
The grid and combining power supply of the first field-effect tube Q1 are separately connected between two capacitor C2.
It based on the above technical solution, further include the 6th circuit, the 6th circuit includes the 5th resistance R5 and the
Three capacitor C3, the backup power source is grounded after the 5th resistance R5 and third capacitor C3 series connection, and the 5th resistance R5 and the
The grid of the second field-effect tube Q2 is connected between three capacitor C3.
Based on the above technical solution, the two-way field-effect tube Q3 is that two-way integrates NMOS tube.
Based on the above technical solution, the 4th field-effect tube Q4 is NMOS tube.
Based on the above technical solution, the first field-effect tube Q1 and the second field-effect tube Q2 is PMOS tube.
Compared with the prior art, the advantages of the utility model are:
(1) main secondary power switching circuit in the utility model includes first resistor R1, during being combined power source charges,
First resistor R1 can play the role of limiting charging current, excessively high booting dash current be effectively prevent, to effectively protect
Protect backup power source;And when charging complete is directly powered, since the both ends first resistor R1 are separately connected second effect
Should pipe Q2 drain electrode and source electrode, after the second field-effect tube Q2 is opened, first resistor R1 will be short-circuited, so that powering
First resistor R1 does not work in journey, so that effectivelying prevent first resistor R1 to work always causes to damage, meanwhile, it also can be reduced first
The energy loss of resistance R1 saves electric energy.
(2) main secondary power switching circuit in the utility model, after two-way field-effect tube Q3 is opened, due to first effect
Should pipe Q1 and two-way field-effect tube Q3 be connected directly so that the first field-effect tube Q1 is connected, due to two-way field-effect tube Q3 and the
The grid of four field-effect tube Q4 is connected, so that the 4th field-effect tube Q4 is not turned on, and then causes the second field-effect tube Q2 to close, from
And realize the seamless switching of backup power source and main power source.
(3) main secondary power switching circuit in the utility model, the source electrode and combining power supply of the second field-effect tube Q2
Between be additionally provided with diode D1, the anode of the diode D1 is connected with the source electrode of the second field-effect tube Q2, the diode D1
Cathode be connected with combining power supply, the characteristic due to diode with one-way conduction, diode D1 can play isolation main power source
With the effect of backup power source, to prevent the electric current of main power source from flowing backward to backup power source, so as not to damage backup power source.
(4) main secondary power switching circuit in the utility model further includes the 4th circuit, when combining power source charges are substantially complete
The 4th field-effect tube Q4 is connected in the RC timing circuit of Cheng Hou, the 4th circuit composition, so that the second field-effect tube
Q2 conducting, being switched to backup power source directly by the state that original backup power source is combining power source charges at this time is that combining power supply supplies
Electricity condition can control the charging time of combining power supply, not only in this course by the charging time of first capacitor C1
Circuit structure is simple, and more convenient to use.
Detailed description of the invention
Fig. 1 is the schematic diagram of main power supply circuit in the prior art;
Fig. 2 is the schematic diagram of main secondary power switching circuit in the utility model embodiment;
Fig. 3 is the schematic diagram of two-way field-effect tube Q3 in the utility model embodiment.
Specific embodiment
The embodiments of the present invention are described in further detail below in conjunction with attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that the described embodiments are only a part but not all of the embodiments of the present application.Below to extremely
The description only actually of a few exemplary embodiment be it is illustrative, never as to the application and its application or using
Any restrictions.Based on the embodiment in the application, those of ordinary skill in the art institute without making creative work
The every other embodiment obtained, shall fall in the protection scope of this application.
Embodiment 1
Shown in Figure 2, the utility model embodiment provides a kind of main secondary power switching circuit, comprising: main power source, spare
Power supply and for load combining power supply, the first circuit, second circuit and the tertiary circuit of electric energy are provided.
First circuit includes the first field-effect tube Q1, and the drain electrode of the first field-effect tube Q1 is connected with main power source,
The source electrode of the first field-effect tube Q1 is connected with combining power supply.
The second circuit includes first resistor R1 and the second field-effect tube Q2, the drain electrode of the second field-effect tube Q2 with
Backup power source, one end of first resistor R1 are connected, the source electrode and combining power supply, first resistor R1 of the second field-effect tube Q2
The other end be connected.
The tertiary circuit is separately connected the grid of the first field-effect tube Q1 and the grid of the second field-effect tube Q2, and controls
The switch of the first field-effect tube Q1 and the second field-effect tube Q2 are disconnected.
In the utility model embodiment, backup power source is standby uninterruptible power, from AC/DC power supply, is not patrolled
Collect control, output characteristics 12V/3A;Main power source also from AC/DC power supply, is controlled, output characteristics by logical devices such as CPLD
For 12V/90A;Combining power supply is mainly the power supply of the devices such as PCH bridge piece, CPLD, BMC.In the present embodiment, main power source P12V
It indicates, backup power source is indicated with P12V_STBY, and combining power supply is indicated with P12V_AUX.
Before server starting up, need to only backup power source be used to provide small electricity, to maintain the groundwork of server,
Since under normal conditions, the load of combining power supply connection has many capacitors, when main power source or backup power source are directly combining power supply
When power supply, electric current is larger, is easy to cause backup battery overcurrent protection, therefore, it is necessary to first charge to combining power supply, then powers;When
After server starting up, needs to provide big electricity using to main power source, need backup power source being switched to main power source.
Meanwhile during the PSU power supply electrifying of 220V input, backup power source P12V_STBY generates biggish dash current,
Lead to backup power source P12V_STBY overcurrent protection, so that system cannot be started up.
Therefore, the active-standby switch circuit in the present embodiment includes first resistor R1, and during being combined power source charges, this
One resistance R1 can play the role of limiting charging current, excessively high booting dash current be effectively prevent, so that effective protection is standby
Use power supply;And when charging complete is directly powered, since the both ends first resistor R1 are separately connected second field-effect tube
The drain electrode of Q2 and source electrode, after the second field-effect tube Q2 is opened, first resistor R1 will be short-circuited, so that in power supply process
First resistor R1 does not work, so that effectivelying prevent first resistor R1 to work always causes to damage, meanwhile, it also can be reduced first resistor
The energy loss of R1 saves electric energy.
The working principle of main secondary power switching circuit in the utility model embodiment are as follows: small when needing backup power source to provide
When electricity, controller controls the first field-effect tube Q1 and the second field-effect tube Q2 and disconnects, and opens backup power source, standby electricity
Source is combining power source charges by the first resistor R1, after being combined power source charges for a period of time, controller control described the
Two field-effect tube Q2 are opened, at this point, the second field-effect tube Q2, by first resistor R1 short circuit, backup power source is directly combining electricity
Source power supply;When needing to be switched to main power source, tertiary circuit controls the second field-effect tube Q2 and closes, meanwhile, tertiary circuit
It controls the first field-effect tube Q1 to open, that is, can switch to main power source power supply.
Embodiment 2
The present embodiment the difference from embodiment 1 is that: between the source electrode of the second field-effect tube Q2 and combining power supply also
Equipped with diode D1, the anode of the diode D1 is connected with the source electrode of the second field-effect tube Q2, the cathode of the diode D1
It is connected with combining power supply.
Preferably, diode D1 is isolating diode.
When being switched to main power source by backup power source, tertiary circuit controls the second field-effect tube Q2 and closes, meanwhile, the
Three-circuit controls the first field-effect tube Q1 and opens, and main power source is combining power supply power supply at this time, in fact it could happen that main power supply electricity
The phenomenon that stream flows backward.
Due to diode have one-way conduction characteristic, in the utility model embodiment, diode D1 can play every
Effect from main power source and backup power source, to prevent the electric current of main power source from flowing backward to backup power source, in order to avoid damage backup power source.
Embodiment 3
The present embodiment the difference from embodiment 1 is that: the tertiary circuit include two-way field-effect tube Q3 and the 4th effect
Should pipe Q4, the two-way field-effect tube Q3 be separately connected the grid of the first field-effect tube Q1 and the grid of the 4th field-effect tube Q4,
The drain electrode of the 4th field-effect tube Q4 is connected with the grid of the second field-effect tube Q2, and the source electrode of the 4th field-effect tube Q4 connects
Ground.
Preferably, the two-way field-effect tube Q3 is that two-way integrates NMOS tube, and the 4th field-effect tube Q4 is NMOS tube,
Stating the first field-effect tube Q1 and the second field-effect tube Q2 is PMOS tube.
In the utility model embodiment, the first field-effect tube Q1 and second effect are controlled simultaneously using two-way field-effect tube Q3
Should pipe Q2 switch it is disconnected, and two-way field-effect tube Q3 and the second field-effect tube Q2 is connected by the 4th field-effect tube Q4, Ke Yi
The second field-effect tube Q2 is closed while opening the first field-effect tube Q1, thus realize backup power source and main power source without seaming and cutting
It changes.
The working principle of main secondary power switching circuit in the utility model embodiment are as follows: when two-way field-effect tube Q3 is opened
Afterwards, since the first field-effect tube Q1 and two-way field-effect tube Q3 are connected directly, so that the first field-effect tube Q1 is connected, due to two-way
The grid of field-effect tube Q3 and the 4th field-effect tube Q4 are connected, so that the 4th field-effect tube Q4 is not turned on, and then lead to second
Effect pipe Q2 is closed, to realize the seamless switching of backup power source and main power source.
Embodiment 4
The present embodiment and the difference of embodiment 3 are: further including the 4th circuit, the 4th circuit includes second resistance
R2,3rd resistor R3 and first capacitor C1, one end of the second resistance R2 are connected with backup power source, the second resistance R2's
The other end and two-way field-effect tube Q3 are connected with the grid of the 4th field-effect tube Q4, the 3rd resistor R3 and first capacitor C1
The grid and source electrode of the 4th field-effect tube Q4 are separately connected after parallel connection.
The working principle of main secondary power switching circuit in the utility model embodiment: when combining power source charges are basically completed
Afterwards, the 4th field-effect tube Q4 is connected in the RC timing circuit of the 4th circuit composition, so that the second field-effect tube Q2
Conducting, being switched to backup power source directly by the state that original backup power source is combining power source charges at this time is combining power supply power supply
State.In this course, the charging time of combining power supply can be controlled by the charging time of first capacitor C1, it is not only electric
Line structure is simple, and more convenient to use.
In a particular application, the charging time for being combined power supply can set based on experience value, can also be according to practical feelings
Condition is set, and need to only be corresponded to and be chosen different first capacitor C1.
Embodiment 5
The present embodiment and the difference of embodiment 3 are: the tertiary circuit further includes logic control device, the logic control
Device processed is connected with two-way field-effect tube Q3.In utility model embodiment, logic control device is using complex programmable
Logic device (CPLD), the CPLD are connected with two-way field-effect tube Q3.
It is shown in Figure 3, it is preferable that the two-way field-effect tube Q3 is that two-way integrates NMOS tube, the two-way field-effect
Pipe Q3 model NTJD4001NT1G, the two-way field-effect tube Q3 include six pins, 1~6 pin respectively correspond S1, G1,
D2, S2, G2, D1, wherein corresponding source electrode, grid and the drain electrode for indicating first NMOS tube of S1, G1, D1, S2, G2, D2 correspond to table
Show the source electrode, grid and drain electrode of second NMOS tube.
Specifically, G1, G2 are connected with CPLD, and CPLD passes through enable signal!FM_AUX_SW_EN controls two-way field-effect tube
The switch of Q3 is disconnected, S1, S2 ground connection, the grid of D1 the first field-effect tube of connection Q1, the grid of D2 the second field-effect tube of connection Q2.
Also, the pin connecting with CPLD is also connected with the 6th resistance R6, the 6th resistance R6 other end ground connection simultaneously.
In the utility model embodiment, before 220V power supply electrifying, entire circuit is in electroless state, at this point, the
Six resistance R6 are by the enable signal of CPLD!FM_AUX_SW_EN pulls down to ground, can effectively prevent in CPLD power up pin not
Stationary state causes two-way field-effect tube Q3 to malfunction, so that entire active-standby switch circuit is more safe and reliable;Simultaneously as this
The switch for controlling two-way field-effect tube Q3 in embodiment using complex programmable logic device (CPLD) is disconnected, so that control circuit knot
Structure is simple, and control is got up more convenient reliable.
Embodiment 6
The present embodiment the difference from embodiment 1 is that: further include the 5th circuit and the 6th circuit.5th circuit includes
4th resistance R4 and the second capacitor C2, the backup power source are grounded after the 4th resistance R4 and the second capacitor C2 series connection, and described
The grid and combining power supply of the first field-effect tube Q1 are separately connected between 4th resistance R4 and the second capacitor C2.
6th circuit includes the 5th resistance R5 and third capacitor C3, and the backup power source is through the 5th resistance R5 and third
It is grounded after capacitor C3 series connection, and connects the grid of the second field-effect tube Q2 between the 5th resistance R5 and third capacitor C3.
The utility model is not only limited to above-mentioned preferred forms, anyone can obtain under the enlightenment of the utility model
Other various forms of products out, however, make any variation in its shape or structure, it is all to have and the utility model phase
Same or similar technical solution, within its protection scope.