A kind of automatic repair system of power supply
Technical field
The present invention relates to power supply application management field, the automatic repair system of particularly a kind of power supply.
Background technology
Power supply is the indispensable energy resource supply device of electronic equipment.In the electronic equipment by mains-supplied, current
Development trend is Switching Power Supply, compares with whole electronic equipment, the common defects of Switching Power Supply are that reliability is low, event easily
Barrier or damage.And once breaking down or damaging, equipment will be at a standstill.Therefore, Switching Power Supply often determines that whole electronics sets
Standby reliability and life-span.Switching Power Supply once breaks down, and not only maintenance cost is high, and maintenance cycle is long, particularly with
Remote equipment, will shut down before repairing for a long time, the normal use of impact equipment.
Content of the invention
Present invention is primarily targeted at overcoming drawbacks described above of the prior art, proposing one kind and can be applicable to dc source
The automatic repair system of power supply.
The present invention adopts the following technical scheme that:
A kind of automatic repair system of power supply, be connected between Switching Power Supply group and load group it is characterised in that:Including voltage
Sample circuit, current sampling circuit, filter network, amplifying circuit, main control unit, relay group and the machine power supply circuits;This electricity
Pressure sample circuit is connected with load group and main control unit and sends into main control unit after plurality of voltages sampled value to obtain;This current sample
Circuit is connected to load group with the acquisition multichannel magnitude of voltage related with being sampled electric current;Filter network be located at current sampling circuit with
To filter residual ripple or the electrical network noise jamming of Switching Power Supply between amplifying circuit;This amplifying circuit and filter network and master control
Unit be connected every road magnitude of voltage related to being sampled electric current is amplified after feeding main control unit;This relay group include with
Switching Power Supply group be connected input relay group, the output relay group being connected with load group and with input relay group and output
The relay drive circuit that relay group is connected;This machine power supply circuits is connected with remaining circuit to provide power supply;
This main control unit is connected the plurality of voltages obtaining sampled value and Multi-current Sampling value with relay drive circuit
Compare with default threshold values respectively to judge whether to occur extremely.If voltage sample value is abnormal, occur different in Switching Power Supply group
Often, the Switching Power Supply that the cut-out of control relay drive circuit is broken down, connects backup circuit breaker power supply;If current sampling data occurs
Abnormal, then the power supply of the load abnormal, the cut-out of control relay drive circuit is broken down occurs in load group;If the two is all different
Often, then cut off the power supply of the Switching Power Supply breaking down and load fault.
Preferably, described voltage sample value includes voltage extremely is higher than given threshold, and voltage is less than given threshold, no electricity
Pressure, voltage reversal, this threshold value sets according to the normal output voltage value of Switching Power Supply group.
Preferably, described current sampling data extremely includes electric current and is more than given threshold, electric current less than given threshold, no electricity
Stream, reversely, this threshold value sets electric current according to the normal size of current of load group.
Preferably, described voltage sampling circuit adopts multichannel resitstance voltage divider corresponding with load group, every road electric resistance partial pressure
Device includes the resistance of two series connection with to switch power source output voltage partial pressure, voltage sample value UVsampn=UC*Rn1/(Rn1+Rn2),
Wherein, Rn1For the first divider resistance, Rn2For the second divider resistance, n represents the n-th tunnel load that described load group is comprised, UCFor
Output voltage values of Switching Power Supply that is, be sampled voltage.
Preferably, described current sampling circuit adopts multichannel hall device H corresponding with load groupn3Sampling is with will be corresponding
It is sampled current value and be converted into magnitude of voltage, the output voltage U of every road hall deviceIHnThe electric current being sampled with corresponding load becomes one
Determine functional relation, i.e. UIHn=f (ILn), ILnIt is sampled electric current for load;Described amplifying circuit adopts and current sampling circuit pair
The multiple operational amplifiers answered are realized, its voltage amplification factor GuMeet:1≤Gu< VCC/UIHn, wherein VCCFor main control unit
Supply voltage.
Preferably, described current sampling circuit adopts multichannel milliohm corresponding with the load of load group sampling resistor Rn3Sampling
So that the corresponding electric current that is sampled to be converted into magnitude of voltage, the pressure drop U of every road milliohm sampling resistorIsampnWith being adopted of corresponding load
Sample load current relation is UIsampn=Rn3*ILn, Rn3For milliohm sampling resistor, ILnIt is sampled electric current for load;Described amplification electricity
Road is realized using multiple operational amplifiers corresponding with current sampling circuit, its voltage amplification factor GuMeet 1≤Gu< VCC/
UIsampn, wherein VCCSupply voltage for main control unit.
Preferably, described filter network includes multichannel and described Multi-current Sampling circuit corresponding LC- π type LPF
Device, every road LC- π type low pass filter includes 1 inductance LnWith 2 electric capacity Cn2And Cn3, this inductance one end and current sampling circuit
Output end be connected, the other end is connected with input amplifier, this 2 electric capacity be parallel to respectively current sampling circuit output end with
Input amplifier.
Preferably, the network port being connected with main control unit, upgrade port and online port are also included, by this network
Port is realized carrying out remotely control to the system, and the system sends SMS or QQ message to remote terminal.
Preferably, described relay drive circuit adopts relay driving IC or separate piece transistor drive circuit.
Preferably, described input relay group is included multichannel and is connected one to one with the Switching Power Supply of Switching Power Supply group respectively
Middle power relay;Described output relay group includes the middle power that multichannel is connected one to one respectively with the load of load group
Relay.
From the above-mentioned description of this invention, compared with prior art, the present invention has the advantages that:1st, this
The bright automatic reparation that can be used for dc source:A, when Switching Power Supply is abnormal, automatically cut off breakdown switch power supply, be also turned on standby
With Switching Power Supply, change and powered by backup circuit breaker power supply, to exclude Switching Power Supply fault, and number of faults is reported to remotely control
Room terminal;B, when load abnormal, disengagement failure load power supply, to prevent failure propagation and protection switch power supply from exempting from damage
Bad, and number of faults is reported to remote control room terminal;C, when Switching Power Supply and load are simultaneously abnormal, disengagement failure switchs
Power supply and the power supply of load fault, and number of faults is reported to remote control room terminal.
2nd, network service:Real-time Communication for Power can be carried out by the terminal of netting twine and remote control room.
3rd, remotely control:In the terminal of remote control room, the system can be carried out with switching on and shutting down, switching etc. to control.
4th, the system can be reported current operating state to the terminal of remote control room, when having abnormal, sends report
Alert signal;When having abnormal, SMS or QQ leaving message prompt are sent out to manager by network.
5th, inquire about:Instantaneous operating conditions and the history number of this repair system can be inquired about in the terminal of remote control room
According to.
6th, online:The system can achieve multimachine interconnection by data wire, to extend the quantity repairing power subsystem, improves this
The flexibility of system.
7th, online upgrading:AKU is sent to this repair system by network, the software of this repair system can be carried out
Line is upgraded.
8th, encryption authorization:This repair system can be encrypted, only authorized personnel can enter to this repair system
Row remotely control, online upgrading etc. operate.
Brief description
Fig. 1 is the theory diagram of the present invention;
Fig. 2 is the connection diagram of the present invention and Switching Power Supply group and load group;
Fig. 3 is Application Example of the present invention (resistance sampling);
Fig. 4 is the machine power supply circuits schematic diagram of the present invention;
Fig. 5 is that the relay of the present invention drives;
Fig. 6 is the judgement flow process of main control unit of the present invention;
Fig. 7 is Application Example of the present invention (hall device sampling).
Specific embodiment
Below by way of specific embodiment, the invention will be further described.
Referring to figs. 1 to Fig. 3, a kind of automatic repair system of power supply, it is connected between Switching Power Supply group and load group, including electricity
Pressure sample circuit, current sampling circuit, filter network, amplifying circuit, main control unit, relay group and the machine power supply circuits.Should
Switching Power Supply group includes n way switch power supply and 1 backup circuit breaker power supply, this load group include n road load, n=1,2,3....
This voltage sampling circuit is connected with load group and main control unit and sends into master control list after plurality of voltages sampled value to obtain
Unit.Voltage sampling circuit adopts n road resitstance voltage divider corresponding with load group, and No. n-th resitstance voltage divider includes two series connection
Resistance:First divider resistance Rn1With the second divider resistance Rn2, this first divider resistance Rn1One end is grounded, and the other end connects master control
The A/D port of unit and the second divider resistance Rn2One end, this second divider resistance Rn2The other end connects the anode of the n-th tunnel load
(namely the LVn end in Fig. 3), voltage sample value Uvsampn=UC*Rn1/(Rn1+Rn2), n represents described n-th tunnel load, UCFor switch
Output voltage values of power supply that is, be sampled voltage.
With reference to Fig. 3, this resistor-type current sample circuit input is connected with load group to obtain Multi-current Sampling value simultaneously
It is converted into magnitude of voltage, including milliohm resistance R corresponding with the load of load group13、R23...Rn3, this Rn3One end connects the negative of load
End (namely the LGn in Fig. 3), the other end is grounded.The output voltage of every road current sampling circuit and the corresponding load being sampled electricity
Stream becomes certain functional relation, i.e. UIsanpn=f (ILn)=Rn3*ILn, ILnFor the load current being sampled.
Filter network is connected between current sampling circuit and amplifying circuit to filter residual ripple or the electrical network of Switching Power Supply
Noise jamming.Including n road LC- corresponding with current sampling circuit π type low pass filter, the n-th road LC- π type low pass filter bag
Include 1 inductance LnWith 2 electric capacity Cn2And Cn3, this inductance one end is connected with current sampling circuit output end, the other end with amplify electricity
Road input is connected, and this 2 electric capacity are parallel to input amplifier and current sampling circuit output end respectively.Filter network is also
Including respectively parallel between the A/D port and ground of main control unit n road filter capacitor, including C11...Cn1.
This amplifying circuit is connected to filter network and main control unit and carries out every road magnitude of voltage related with current sampling data
Main control unit, its voltage amplification factor G is sent into after amplificationuMeet:1≤Gu< Vcc/UIHn(hall device sampling) or 1≤Gu<
Vcc/UIsampn(milliohm resistance sampling), wherein Vcc is the supply voltage of main control unit.
This amplifying circuit includes operational amplifier IC1、IC2...ICn, R is also included for the n-th tunneln4、Rn5、Rn6、Rn7, should
Rn4One end and LnOne end is connected, this Rn4The other end connects ICnIn-phase input end and Rn5One end, this Rn5The other end and Rn6One end
All it is grounded, this Rn6The other end connects ICnReverse input end and Rn7One end, this operational amplifier ICnOutput end and Rn7The other end
Be connected the A/D port of main control unit.
This relay group includes the input relay group being connected with Switching Power Supply group, the output relay being connected with load group
Group and the relay drive circuit being connected with input relay group and output relay group.Input relay group includes n road respectively
The relay contact K connecting one to one with the Switching Power Supply of Switching Power Supply group1、K2...Kn, and a road KA.Output relay group
The relay contact KP connecting one to one with the load of load group respectively including n road1、KP2...KPnAnd a road KPA.
With reference to Fig. 5, relay drive circuit adopts Darlington driver U2, relay line bag K1、K2...Kn, KP1、
KP2...KPnAnd KAAnd KPAAll with drive circuit U2It is connected, this relay drive circuit passes through connector XS1With main control unit phase
(also can be without connector XS during enforcement1And be directly connected by PCB wire).
The machine power supply circuits are connected with each several part circuit to provide power supply, the machine power supply circuits useable linear power supply or switch
Power supply.With reference to Fig. 4, linear power supply power supply circuits specifically include the transformer T being electrically connected with city1, transformer T1Point two-way after step-down
Output, more rectified bridge BR respectively1, rectifier bridge BR2Rectification, then through integrated regulator U3And U4Master control list is given respectively after voltage stabilizing
Unit and relay group are powered, wherein rectifier bridge BR1It is connected with CD between positive-negative output end1And C1, rectifier bridge BR2Positive negative output
It is connected with CD between end3And C3, integrated regulator U3It is connected with CD between output and ground2And C2, integrated regulator
U4It is connected with CD between output and ground4And C4.
With reference to Fig. 3, this main control unit is connected with relay drive circuit (will connector XS in Fig. 51In Fig. 3
Connector XP1It is connected).Main control unit can be using the universal chip microcontroller with network communicating function, by the multichannel obtaining
Voltage sample value and Multi-current Sampling value compare to judge whether to occur extremely respectively with default threshold values and range of normal value,
This threshold value respectively the normal output voltage value according to Switching Power Supply group and load group normal current size set.If voltage sample
Value is abnormal, then abnormal, the Switching Power Supply that the cut-out of control relay drive circuit is broken down in Switching Power Supply group, connect standby
With Switching Power Supply (backup circuit breaker power supply is an independent Switching Power Supply).If extremely, going out in load group occurs in current sampling data
Now abnormal, the power supply of the load that the cut-out of control relay drive circuit is broken down;If the two is all abnormal, cut-out is broken down
Switching Power Supply and load fault power supply.Voltage sample value inclusion voltage extremely is excessive, and voltage is too small, no-voltage, and voltage is anti-
To (all comparing with predetermined threshold value).Current sampling data extremely includes that electric current is too high, electric current is too low, no current, electric current reversely (all with
Predetermined threshold value compares).Voltage sample value or (and) current sampling data extremely judges whether very by the logical relation of "or".
The judgement flow process of main control unit is with reference to Fig. 6, wherein UvnFor the voltage sample value of the n-th way switch power supply, Uvn=
UVsampn;UanFor the voltage of the n-th tunnel amplifier output, Uan=Gu*UIsampn, specific rules are as follows:
1) for voltage sample
When the n-th road voltage sample value is more than given threshold, cut off input and the output of this way switch power supply, connect standby
Switching Power Supply POW1, and send to Terminal Server Client or keeper's mobile phone by network that " the n-th road overtension is turned off and enables
Stand-by power supply " or similar prompting.
When the n-th road voltage sample value is less than given threshold, cut off this way switch power input and output, connect standby opening
Close power supply POW1, and send to Terminal Server Client or keeper's mobile phone by network that " the n-th road brownout is turned off and enables standby
With power supply " or similar prompting.
When the n-th road voltage sample value is in range of normal value, keep this way switch power input and output, and pass through net
Network sends " the n-th road voltage is normal " or similar prompting to Terminal Server Client or keeper's mobile phone.
2) for current sample
Voltage gain G when the n-th road current sampling data and amplifieruLong-pending more than given threshold when, cut off the load of this road
The input of power supply and output, and " the n-th road electric current is excessive to be turned off " is sent to Terminal Server Client or keeper's mobile phone by network
Or it is similar to prompting.
Voltage gain G when the n-th road current sampling data and amplifieruLong-pending less than given threshold when, after time delay 10 seconds
Cut off input and the output of this road load power source, and " the n-th road electric current is sent to Terminal Server Client or keeper's mobile phone by network
Too small it is turned off " or similar prompting.
Voltage gain G when the n-th road current sampling data and amplifieruAmass set normal value value in the range of when, keep
The input of this road load power source and output, and send to Terminal Server Client or keeper's mobile phone by network that " the n-th road electric current is just
Often " or similar prompting.
As the voltage sample value on the n-th tunnel and the voltage gain G of current sampling data and amplifieruLong-pending exceed simultaneously set threshold
During value, cut off input and the output of this way switch power supply, and it is same to send voltage and current to Terminal Server Client or keeper's mobile phone
When abnormal information.
Present invention additionally comprises having the network port being connected with main control unit, upgrade port and online port.The network port is
Ethernet port, upgrade port is RS232 port or USB port, and online port is RS485 port.This embodiment of the invention can
It is applied to the automatic reparation of the dc source of LED display, safety-protection system etc..
The current sampling circuit of the present invention has multiple embodiments, can adopt multichannel milli corresponding with the load of load group
Europe sampling resistor Rn3It is converted into magnitude of voltage so that electric current will be sampled, the pressure drop of every road milliohm sampling resistor is adopted with corresponding load
Sample current relationship is UIsampn=Rn3*ILn, Rn3For milliohm sampling resistor, ILnIt is sampled electric current for load.
Multichannel hall device H corresponding with load group can be adopted referring additionally to Fig. 713、H23...Hn3To load quilt by corresponding
Sample rate current is converted into magnitude of voltage, and the output voltage of every road hall device becomes certain function to close with the electric current that is sampled of corresponding load
System, i.e. UIHn=f (ILn), ILnIt is sampled electric current for load.
Above are only the specific embodiment of the present invention, but the design concept of the present invention is not limited thereto, all utilize this
Design carries out the change of unsubstantiality to the present invention, all should belong to the behavior invading the scope of the present invention.