The automatic repair system of a kind of power supply
Technical field
The present invention relates to application of power management domain, particularly the automatic repair system of a kind of power supply.
Background technology
Power supply is the indispensable energy resource supply device of electronic equipment.By in the electronic equipment of mains-supplied, current development trend is Switching Power Supply, compares with whole electronic equipment, and the common defects of Switching Power Supply is that reliability is low, easily breaks down or damages.And once break down or damage, equipment is by a standstill.Therefore, Switching Power Supply often determines reliability and the life-span of whole electronic equipment.Switching Power Supply is once break down, and not only maintenance cost is high, and maintenance cycle is long, especially for remote equipment, will shut down for a long time, affected the normal use of equipment before reparation.
Summary of the invention
Main purpose of the present invention is to overcome above-mentioned defect of the prior art, proposes a kind of automatic repair system of power supply that can be applicable to DC power supply.
The present invention adopts following technical scheme:
The automatic repair system of a kind of power supply, is connected between Switching Power Supply group and load group, it is characterized in that: comprise voltage sampling circuit, current sampling circuit, filter network, amplifying circuit, main control unit, relay group and the machine power supply circuits; This voltage sampling circuit and load group are connected with main control unit and send into main control unit after obtaining plurality of voltages sampled value; This current sampling circuit is connected to load group obtain multichannel and be sampled the relevant magnitude of voltage of electric current; Filter network between current sampling circuit and amplifying circuit with the residual ripple of filtering Switching Power Supply or electrical network noise jamming; This amplifying circuit and filter network are connected with main control unit and every road are sent into main control unit with being sampled after the relevant magnitude of voltage of electric current amplifies; The relay drive circuit that this relay group comprises the input relay group be connected with Switching Power Supply group, the output relay group be connected with load group and is connected with output relay group with input relay group; These the machine power supply circuits are connected to provide power supply with remaining circuit;
This main control unit is connected with relay drive circuit and the plurality of voltages sampled value obtained and Multi-current Sampling value is compared with the threshold values preset respectively to judge whether to occur exception.If voltage sample value is abnormal, then occur abnormal in Switching Power Supply group, control relay drive circuit cuts off the Switching Power Supply broken down, and connects backup circuit breaker power supply; If current sampling data occurs abnormal, then occur abnormal in load group, control relay drive circuit cuts off the power supply of the load of breaking down; If the two is all abnormal, then cut off the power supply of Switching Power Supply and the load fault broken down.
Preferably, described voltage sample value is abnormal comprises voltage higher than setting threshold, and voltage is lower than setting threshold, and no-voltage, voltage reversal, this threshold value sets according to the normal output voltage value of Switching Power Supply group.
Preferably, described current sampling data is abnormal comprises that electric current is greater than setting threshold, electric current is less than setting threshold, and no current, electric current is reverse, and this threshold value is according to the normal size of current setting of load group.
Preferably, the resitstance voltage divider that described voltage sampling circuit adopts multichannel corresponding with load group, every road resitstance voltage divider comprises two resistance of connecting with to switch power source output voltage dividing potential drop, voltage sample value U
vsampn=U
c* R
n1/ (R
n1+ R
n2), wherein, R
n1be the first divider resistance, R
n2be the second divider resistance, n represents the n-th tunnel load that described load group comprises, U
cfor Switching Power Supply output voltage values that is be sampled voltage.
Preferably, the hall device H that described current sampling circuit employing multichannel is corresponding with load group
n3sample to convert the sampled current value of correspondence to magnitude of voltage, the output voltage U of every road hall device
iHnthe electric current be sampled with corresponding load becomes certain functional relation, i.e. U
iHn=f (I
ln), I
lnfor load is sampled electric current; Described amplifying circuit adopts the multiple operational amplifiers corresponding with current sampling circuit to realize, its voltage amplification factor G
umeet: 1≤G
u< V
cC/ U
iHn, wherein V
cCfor the supply power voltage of main control unit.
Preferably, the milliohm sampling resistor R that described current sampling circuit employing multichannel is corresponding with the load of load group
n3sample to convert the sample rate current of correspondence to magnitude of voltage, the pressure drop U of every road milliohm sampling resistor
isampnwith corresponding load to be sampled that load current closes be U
isampn=R
n3* I
ln, R
n3for milliohm sampling resistor, I
lnfor load is sampled electric current; Described amplifying circuit adopts the multiple operational amplifiers corresponding with current sampling circuit to realize, its voltage amplification factor G
umeet 1≤G
u< V
cC/ U
isampn, wherein V
cCfor the supply power voltage of main control unit.
Preferably, described filter network comprises the multichannel LC-π shape low pass filter corresponding with described Multi-current Sampling circuit, and every road LC-π type low pass filter comprises 1 inductance L
nwith 2 electric capacity C
n2and C
n3, this inductance one end is connected with current sampling circuit output, and the other end is connected with input amplifier, and these 2 electric capacity are parallel to current sampling circuit output and input amplifier respectively.
Preferably, also include the network port, upgrade port and the online port that are connected with main control unit, realize carrying out Long-distance Control to native system by this network port, and native system sends SMS or QQ message to remote terminal.
Preferably, described relay drive circuit adopts relay drive IC or separate piece transistor drive circuit.
Preferably, described input relay group comprise multichannel connect one to one with the Switching Power Supply of Switching Power Supply group respectively in power relay; Described output relay group comprise multichannel connect one to one with the load of load group respectively in power relay.
From the above-mentioned description of this invention, compared with prior art, the present invention has following beneficial effect: 1, the present invention can be used for the automatic reparation of DC power supply: a, when Switching Power Supply is abnormal, automatic disengagement failure Switching Power Supply, connect backup circuit breaker power supply simultaneously, change by backup circuit breaker Power supply, to get rid of Switching Power Supply fault, and fault data is reported to remote control room terminal; B, when load abnormal, the power supply of disengagement failure load, to prevent failure propagation and protection switch power supply from exempting from damage, and is reported to remote control room terminal by fault data; C, when Switching Power Supply and load are simultaneously abnormal, the power supply of disengagement failure Switching Power Supply and load fault, and fault data is reported to remote control room terminal.
2, network service: the terminal by netting twine and remote control room carries out real time communication.
3, Long-distance Control: the control such as switching on and shutting down, switching can be carried out at the terminal of remote control room to native system.
4, current operating state can be reported to the terminal of remote control room by native system, when having abnormal, sends alarm signal; When having abnormal, send out SMS or QQ leaving message prompt by network to manager.
5, inquire about: instantaneous operating conditions and historical data that this repair system can be inquired about at the terminal of remote control room.
6, online: it is interconnected that native system can realize multimachine by data wire, to expand the quantity of repairing power subsystem, improve the flexibility of native system.
7, online upgrading: send AKU by network to this repair system, online upgrading can be carried out to the software of this repair system.
8, encryption authorization: can be encrypted this repair system, only has authorized personnel can carry out the operation such as Long-distance Control, online upgrading to this repair system.
Accompanying drawing explanation
Fig. 1 is 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 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).
Embodiment
Below by way of embodiment, the invention will be further described.
Referring to figs. 1 through Fig. 3, the automatic repair system of a kind of power supply, is connected between Switching Power Supply group and load group, comprises voltage sampling circuit, current sampling circuit, filter network, amplifying circuit, main control unit, relay group and the machine power supply circuits.This Switching Power Supply group comprises n way switch power supply and 1 backup circuit breaker power supply, and this load group comprises the load of n road, n=1,2,3....
This voltage sampling circuit and load group are connected with main control unit and send into main control unit after obtaining multi-channel sampling voltage.The resitstance voltage divider that voltage sampling circuit adopts n road corresponding with load group, No. n-th resitstance voltage divider comprises the resistance of two series connection: the first divider resistance R
n1with the second divider resistance R
n2, this first divider resistance R
n1one end ground connection, the other end connects A/D port and the second divider resistance R of main control unit
n2one end, this second divider resistance R
n2the other end connects the anode (being also the LVn end in Fig. 3) of the n-th tunnel load, sampled voltage U
vsampn=U
c* R
n1/ (R
n1+ R
n2), n represents described n-th tunnel load, U
cfor Switching Power Supply output voltage values that is be sampled voltage.
With reference to Fig. 3, this resistor-type current sample circuit input is connected obtain Multi-current Sampling value and convert magnitude of voltage to load group, comprise the milliohm resistance R corresponding with the load of load group
13, R
23... R
n3, this R
n3one end connects the negative terminal (being also the LGn in Fig. 3) of load, other end ground connection.The output voltage of every road current sampling circuit becomes certain functional relation with the corresponding load current be sampled, i.e. U
isanpn=f (I
ln)=R
n3* I
ln, I
lnfor the load current be sampled.
Filter network is connected between current sampling circuit and amplifying circuit with the residual ripple of filtering Switching Power Supply or electrical network noise jamming.Comprise the LC-π shape low pass filter that n road is corresponding with current sampling circuit, the n-th road LC-π shape low pass filter comprises 1 inductance L
nwith 2 electric capacity C
n2and C
n3, this inductance one end is connected with current sampling circuit output, and the other end is connected with input amplifier, and these 2 electric capacity are parallel to input amplifier and current sampling circuit output respectively.Filter network also comprise respectively parallel between the A/D port and ground of main control unit n road filter capacitor, comprise C
11... C
n1.
This amplifying circuit and filter network be connected with main control unit magnitude of voltage relevant with current sampling data for every road is amplified after send into main control unit, its voltage amplification factor G
umeet: 1≤G
u< Vcc/U
iHn(hall device sampling) or 1≤G
u< Vcc/U
isamp(milliohm resistance sampling), wherein Vcc is the supply power voltage of main control unit.
This amplifying circuit comprises operational amplifier IC
1, IC
2... IC
n, also R is comprised for the n-th tunnel
n4, R
n5, R
n6, R
n7, this R
n4one end and L
none end is connected, this R
n4the other end connects IC
nin-phase input end and R
n5one end, this R
n5the other end and R
n6the equal ground connection in one end, this R
n6the other end connects IC
nreverse input end and R
n7one end, this operational amplifier IC
noutput and R
n7the other end is connected the A/D port of main control unit.
The relay drive circuit that this relay group comprises the input relay group be connected with Switching Power Supply group, the output relay group be connected with load group and is connected with output relay group with input relay group.Input relay group comprises the relay contact K that n road connects one to one with the Switching Power Supply of Switching Power Supply group respectively
1, K
2... K
n, and a road K
a.Output relay group comprises the relay contact KP that n road connects one to one with the load of load group respectively
1, KP
2... KP
nand a road KP
a.
With reference to Fig. 5, relay drive circuit adopts Darlington driver U
2, relay line bag K
1, K
2... K
n, KP
1, KP
2... KP
nand K
aand KP
aall with drive circuit U
2be connected, this relay drive circuit is by connector XS
1being connected with main control unit (also can without connector XS during enforcement
1and be directly connected by PCB wire).
The machine power supply circuits are connected to provide power supply with each several part circuit, the machine power supply circuits useable linear power supply or Switching Power Supply.With reference to Fig. 4, linear power supply power supply circuits specifically comprise the transformer T be connected with civil power
1, transformer T
1after step-down, point two-way exports, more respectively through rectifier bridge BR
1, rectifier bridge BR
2rectification, then through integrated regulator U
3and U
4power to respectively after voltage stabilizing main control unit and relay group, wherein rectifier bridge BR
1cD is connected with between positive-negative output end
1and C
1, rectifier bridge BR
2positive-negative output end between be connected with CD
3and C
3, integrated regulator U
3cD is connected with between output and ground
2and C
2, integrated regulator U
4cD is connected with between output and ground
4and C
4.
With reference to Fig. 3, this main control unit is connected with relay drive circuit (by the connector XS in Fig. 5
1with the connector XP in Fig. 3
1be connected).Main control unit can adopt the universal chip microcontroller with network communicating function, the plurality of voltages sampled value obtained and Multi-current Sampling value are compared with the threshold values preset and range of normal value respectively to judge whether to occur extremely, this threshold value is respectively according to the normal output voltage value of Switching Power Supply group and the normal current size setting of load group.If voltage sample value is abnormal, then occur abnormal in Switching Power Supply group, control relay drive circuit cuts off the Switching Power Supply broken down, and connects backup circuit breaker power supply (Switch power source for subsequent use is an independent Switching Power Supply).If current sampling data occurs abnormal, then occur abnormal in load group, control relay drive circuit cuts off the power supply of the load of breaking down; If the two is all abnormal, then cut off the power supply of Switching Power Supply and the load fault broken down.Voltage sample value is abnormal comprises overtension, brownout, no-voltage, voltage reversal (all comparing with predetermined threshold value).Current sampling data is abnormal comprises that electric current is too high, electric current is too low, no current, and electric current oppositely (all comparing with predetermined threshold value).Voltage sample value or (with) current sampling data is abnormal judges whether very by the logical relation of "or".
The judgement flow process of main control unit is with reference to Fig. 6, wherein U
vnbe the voltage sample value of the n-th way switch power supply, U
vn=U
vsampn; U
anbe the voltage that the n-th tunnel amplifier exports, U
an=G
u* U
isampn, specific rules is as follows:
1) for voltage sample
When the n-th road voltage sample value is greater than setting threshold, cut off the input and output of this way switch power supply, connect backup circuit breaker power supply POW
1, and send " the n-th road overtension has been closed and enabled stand-by power supply " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
When the n-th road voltage sample value is less than setting threshold, cut off this road mains switch input and output, connect backup circuit breaker power supply POW
1, and send " the n-th road brownout has been closed and enabled stand-by power supply " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
When the n-th road voltage sample value is in range of normal value, keep this way switch power supply input and output, and send " the n-th road voltage is normal " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
2) for current sample
As the voltage gain G of the n-th road current sampling data and amplifier
ulong-pending when being greater than setting threshold, cut off the input and output of this road load power source, and send " the n-th road electric current is excessive closes " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
As the voltage gain G of the n-th road current sampling data and amplifier
ulong-pending when being less than setting threshold, the input and output of this road load power source are cut off in time delay 10 after second, and send " the n-th road electric current is too small closes " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
As the voltage gain G of the n-th road current sampling data and amplifier
uamass when setting within the scope of normal value value, keep the input and output of this road load power source, and send " the n-th road electric current is normal " or similar prompting by network to Terminal Server Client or keeper's mobile phone.
As the voltage sample value on the n-th tunnel and the voltage gain G of current sampling data and amplifier
ulong-pending when exceeding setting threshold simultaneously, cut off the constrained input of this way switch power supply, and send voltage and current abnormal information simultaneously to Terminal Server Client or keeper's mobile phone.
The present invention also includes the network port, upgrade port and the online port that are connected with main control unit.The network port is ethernet port, and upgrade port is RS232 port or USB port, and online port is RS485 port.This embodiment of the invention can be applicable to the automatic reparation of the DC power supply of LED display, safety-protection system etc.
Current sampling circuit of the present invention has multiple execution mode, the milliohm sampling resistor R that multichannel can be adopted corresponding with the load of load group
n3become magnitude of voltage will be sampled current conversion, the pressure drop of every road milliohm sampling resistor is U with the current relationship that is sampled of corresponding load
isampn=R
n3* I
ln, R
n3for milliohm sampling resistor, I
lnfor load is sampled electric current.
In addition with reference to the hall device H that Fig. 7 can adopt multichannel corresponding with load group
13, H
23... H
n3become magnitude of voltage so that corresponding load is sampled current conversion, the output voltage of every road hall device becomes certain functional relation, i.e. U with the electric current that is sampled of corresponding load
iHn=f (I
ln), I
lnfor load is sampled electric current.
Above are only the specific embodiment of the present invention, but design concept of the present invention is not limited thereto, all changes utilizing this design the present invention to be carried out to unsubstantiality, all should belong to the behavior of invading scope.