Summary of the invention
Purpose of the present invention and the technical problem that will solve are the defectives that exists at prior art, propose a kind of power plugboard device and control method thereof.
In order to realize above-mentioned purpose, technical scheme of the present invention is: a kind of power plugboard device is made up of with the computer power supply socket that is connected with external connection line electric socket switch-box on the desktop; It is characterized in that described electric socket switch-box comprises switch-box circuit 101, described switch-box circuit 101 is made up of resistance R 1 and the mains switch K, push-button switch 8, first indicator light 14, second indicator light 15 that are installed on the electric socket switch-box casing; Described mains switch K is the single-pole double throw mains switch, and its moving contact is designated as a, two fixed contacts are denoted as b and c; Described computer power supply socket comprises that power supply detects control circuit; The a of described first indicator light, 14 negative poles, second indicator light, 15 negative poles and push-button switch 8 holds and connects the back and is connected with the power cathode of power supply detection control circuit in the computer power supply socket by connecting line; Moving contact a, the fixed contact c of the b end of described push-button switch 8, second indicator light, 15 positive poles, mains switch K is connected with power supply detection control circuit in the computer power supply socket by connecting line respectively; Described first indicator light, 14 cathode series resistance R1, resistance R 1 is connected with the fixed contact b of mains switch K.
Power supply detection control circuit is made up of power supply socket main circuit 201, voltage stabilizing circuit 7, transformer 9, first socket, 10 to the 4th sockets 13, the 3rd indicator light 16, the first diode D1 to the, six diode D6, capacitor C 1, relay J, resistance R 5 in the above computer power supply socket; Described power supply socket main circuit 201 is made up of controller unit 1, storage chip 2, drive circuit 3, analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6, photoelectrical coupler U1, resistance R 2, resistance R 3, resistance R 4, triode T, the 7th diode D7, mains switch sample circuit 2011, relay sample circuit 2012; Described mains switch sample circuit 2011 is made up of resistance R 6, resistance R 7, voltage-stabiliser tube W1, the 8th diode D8, capacitor C 2; Described relay sample circuit 2012 is made up of resistance R 8, voltage-stabiliser tube W2, the 9th diode D9, capacitor C 3; Described relay J is the relay of two groups of normally-closed contacts, and the two ends of one group of normally-closed contact are labeled as a and b respectively, and the two ends of another group normally-closed contact are labeled as c and d respectively; Described transformer 9 elementary ends are connected with power firestreak L, and the other end is connected with zero-power line N; One end of 9 levels of described transformer respectively in the d end by connecting line and relay J normally opened contact and the electric socket switch-box moving contact a of mains switch K be connected, the c end of relay J normally opened contact is connected with the positive pole of the first diode D1; The other end of 9 levels of described transformer is connected with the positive pole of the 5th diode D5; The positive pole of described the 3rd diode D3 is connected with the fixed contact c of mains switch K in the electric socket switch-box by connecting line; The collector electrode of described triode T is connected with the positive pole of second indicator light 15 in the electric socket switch-box by connecting line; One end of described resistance R 2 is connected with the b end of push-button switch 8 in the input of controller unit 1 and the electric socket switch-box respectively, and the other end of resistance R 2 is connected with the output V+ of voltage stabilizing circuit 7; The negative pole of the described second diode D2 is connected with the positive pole of the first diode D1, and the negative pole of the 4th diode D4 is connected with the positive pole of the 3rd diode D3, and the negative pole of the 6th diode D6 is connected with the positive pole of the 5th diode D5; The positive pole of the positive pole of the positive pole of the described second diode D2, the 4th diode D4, the 6th diode D6 is connected with the power cathode of voltage stabilizing circuit 7 respectively; The negative pole of the negative pole of the negative pole of the described first diode D1, the 3rd diode D3, the 5th diode D5 and connect after be connected with the positive pole of capacitor C 1 and the input of voltage stabilizing circuit 7 respectively, the negative pole of capacitor C 1 is connected with the power cathode of voltage stabilizing circuit 7; The output V+ of described voltage stabilizing circuit 7 is connected with the power supply of power supply socket main circuit 201 input anode, and the power supply negative terminal of power supply socket main circuit 201 is connected with the power cathode of voltage stabilizing circuit 7; The negative pole series resistor R6 of described the 4th diode D4, resistance R 6 is connected with the negative pole of voltage-stabiliser tube W1 and the positive pole of the 8th diode D8 respectively, the positive pole of voltage-stabiliser tube W1 is connected with the power cathode of voltage stabilizing circuit 7, the negative pole of the 8th diode D8 is connected with the positive pole of capacitor C 2, an end of resistance R 7 and the input of controller unit 1 respectively, and the other end of the negative pole of capacitor C 2 and resistance R 7 is connected with the power cathode of voltage stabilizing circuit 7 respectively; The negative pole series resistor R8 of the described second diode D2, resistance R 8 is connected with the negative pole of voltage-stabiliser tube W2 and the positive pole of the 9th diode D9 respectively, the positive pole of voltage-stabiliser tube W2 is connected with the power cathode of voltage stabilizing circuit 7, the negative pole of the 9th diode D9 is connected with the positive pole of capacitor C 3 and an end of resistance R 4 respectively, the negative pole of capacitor C 3 is connected with the power cathode of voltage stabilizing circuit 7, the other end of resistance R 4 is connected with the emitter of triode T, the base stage of triode T is connected with an end of resistance R 3 and the negative pole of the 7th diode D7 respectively, the other end of resistance R 3 is connected with the power cathode of voltage stabilizing circuit 7, and the positive pole of the 7th diode D7 is connected with the output of controller unit 1; The output serial connection drive circuit 3 of described controller unit 1, the output of drive circuit 3 is connected with the positive pole of light-emitting diode among the photoelectrical coupler U1, the negative pole of light-emitting diode is connected with the power cathode of voltage stabilizing circuit 7 among the photoelectrical coupler U1, one end of photoelectrical coupler U1 output is connected with zero-power line N, and the other end of photoelectrical coupler U1 output is connected with an end of relay J coil; The other end of described relay J coil is connected with a end and the power firestreak L of relay J normally opened contact respectively, the b end serial connection current detection sensor 6 of relay J normally opened contact, current detection sensor 6 is connected with the live wire end of first socket 10, the b end of relay J normally opened contact also is connected with an end of resistance R 5 and the live wire end of second socket 11 respectively, the live wire end of second socket 11, the live wire end of the live wire end of the 3rd socket 12 and the 4th socket 13 by connecting line mutually and connect, the other end of resistance R 5 is connected with the positive pole of the 3rd indicator light 16, and the negative pole of the 3rd indicator light 16 is connected with zero-power line N; The zero line side of described first socket, 10 to the 4th sockets 13 is connected with zero-power line N, and the ground terminal of first socket, 10 to the 4th sockets 13 is connected with power ground E; The output of described current detection sensor 6 is connected in series current detection circuit 5, analog to digital conversion circuit 4 successively, and the output of analog to digital conversion circuit 4 is connected with controller unit 1 input; Described storage chip 2 is connected with controller unit 1.
The electric socket switch-box is positioned over is convenient to the position operating and observe on the desktop (computer operation table top), with on the base of the fixing display on the table of electric socket switch-box or the mouse front end, or be directly fixed on desktop as the utilization double faced adhesive tape.
First socket 10 is used to insert the socket of main frame power supply.
The supply socket that second socket, 11 to the 4th sockets 13 are used to insert peripheral hardwares such as display, printer, scanner.
Controller unit 1 is made of single-chip microcomputer, program storage, data storage, input interface, is used for power plugboard device mains switch K state, push-button switch 8 are detected and handle, and corresponding executing the task finished in main frame current detecting and judgement.
Mains switch K is used to the interior circuit of computer power supply socket power path to be provided and to provide application to cut off the signal of first socket, 10 to the 4th sockets, 13 power supplys.
Push-button switch 8 is the push-button switch that is used to learn first socket, 10 electric currents, is again the push-button switch that first socket, 10 to the 4th sockets, 13 power supplys are cut off in application in real time.
Storage chip 2 is used to store the current threshold of first socket, 10 electric currents of study, is an EEPOM memory chip.
First indicator light 14 is used to indicate mains switch K to be in closed condition, and promptly mains switch K is in the OFF position.
Second indicator light 15 is used for multi-functional indication, when second indicator light 15 is in illuminating state, the power connection of first socket, 10 to the 4th sockets 13 is described, extinguishes state when second indicator light 15 is in, and the dump of first socket, 10 to the 4th sockets 13 is described; When mains switch K switched to the OFF position by the ON position, second indicator light 15 glimmered at a slow speed, and first socket, the 10 current electric currents that controller unit 1 detection is described are greater than current threshold in the storage chip 2; When mains switch K is in the ON position, by opening push-button switch 8, second indicator light 15 is by the normal bright fast blink that transfers to, and the electric current of controller unit 1 study first socket 10 also is stored in storage chip 2 with current threshold, and second indicator light 15 transfers Chang Liang to by fast blink behind the learning success; When mains switch K switches to the OFF position by the ON position, when second indicator light 15 glimmers at a slow speed, by opening push-button switch 8, second indicator light 15 is converted to fast blink by glimmering at a slow speed, controller unit 1 cuts off the power supply of first socket, 10 to the 4th sockets 13, and second indicator light 15 extinguishes behind the dump of first socket, 10 to the 4th sockets 13; When mains switch K switches to from the ON position when being in the OFF position, second indicator light 15 was extinguished or is extinguished by glimmering to transfer at a slow speed by bright often transferring to, illustrate that electric current that controller unit 1 detects first socket 10 equates or approaches or less than the current threshold in the storage chip 2, and the power supply of first socket, 10 to the 4th sockets 13 is cut off.
The output V+ of voltage stabilizing circuit 7 is connected with power supply socket main circuit 201, for power supply socket main circuit 201 provides required working power.
The 3rd indicator light 16 is used for the user from power connection and the cut-out of computer power supply socket by observation first socket 10 to the 4th sockets 13.
Transformer 9 is used for isolating and step-down, the 220V AC power is reduced to the trouble free service voltage that human body allows, thereby make electric socket switch-box volume do very for a short time.
The control method of described a kind of power plugboard device is characterized in that as follows:
A) power supply of main frame inserts first socket 10 on the power plugboard device, the power supply of display, printer, scanner inserts respectively arbitrarily in second socket, 11 to the 4th sockets 13, when mains switch K places the OFF position, the moving contact a of mains switch K and fixed contact b connect, when mains switch K placed the ON position, the moving contact a of mains switch K and fixed contact c connected;
B) power plugboard device is connected the alternating current 220V power supply, and when mains switch K was positioned at the OFF position, first indicator light 14 was lighted, and second indicator light 15, the 3rd indicator light 16 extinguish, the dump of first socket, 10 to the 4th sockets 13;
C) power plugboard device is connected the alternating current 220V power supply, and when mains switch K was placed the ON position, first indicator light 14 extinguished, second indicator light 15, the 3rd indicator light 16 Chang Liang, the power connection of first socket, 10 to the 4th sockets 13;
When d) mains switch K places the ON position, with main frame shutdown or dormancy, by opening push- button switch 8,15 fast blinks of second indicator light, the electric current of controller unit 1 study first socket 10 also is stored in storage chip 2 with current threshold, and second indicator light 15 reverts to Chang Liang by fast blink behind the learning success;
E) when mains switch K when the ON position switches to the OFF position, first indicator light 14 is lighted, controller unit 1 continuous detecting first socket, 10 current electric currents and with storage chip 2 in current threshold relatively, if detect current value greater than current threshold, second indicator light 15 was glimmered by normal bright transferring at a slow speed, the power connection that keeps first socket, 10 to the 4th sockets 13, if detecting electric current equates or approaches or less than current threshold, cut off the power supply of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 extinguish;
F) switch to the OFF position from the ON position as mains switch K, when second indicator light 15 is glimmered at a slow speed by normal bright commentaries on classics, by opening push-button switch 8, second indicator light 15 switches to fast blink, controller unit 1 cuts off the power supply of first socket, 10 to the 4th sockets 13, and second indicator light 15, the 3rd indicator light 16 extinguish behind the dump of first socket, 10 to the 4th sockets 13;
G) switch to the OFF position from the ON position as mains switch K, when second indicator light 15 is glimmered at a slow speed by normal bright commentaries on classics, once more mains switch K is switched to the ON position from the OFF position, controller unit 1 stops to detect first socket, 10 current electric currents, the power connection that keeps first socket, 10 to the 4th sockets 13, second indicator light 15 transfers Chang Liang to by glimmering at a slow speed;
H) as mains switch K during in the ON position, the alternating current 220V power supply power-fail that power plugboard device is connected, incoming call back first indicator light 14 extinguishes the power connection of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 Chang Liang.
Socket power is connected and cut-out control on the computer power supply socket of power plugboard device of the present invention, finish by the mains switch K on the electric socket switch-box casing on the desktop, push-button switch 8, first indicator light 14 is used to indicate mains switch K whether to be in the OFF position and whether the expression power plugboard device connects the 220V alternating current on the electric socket switch-box casing, and socket power is connected and functions such as cut-out on the second indicator light 15 expression computer power supply sockets; When mains switch K places the ON position, connect the power supply of socket on the computer power supply socket; When controller unit 1 detection mains switch K switches to the OFF position, detect current main frame size of current and with storage chip 2 in current threshold relatively, equate or approach or during less than current threshold, cut off the power supply of first socket, 10 to the 4th sockets 13, guarantee can under computer operating state, not miss to cut off host power supply, thereby satisfy the user and under computer operating state, in advance mains switch K is switched to the OFF position, after computer shutdown or dormancy, socket power cuts off automatically on the computer power supply socket; Push-button switch 8 is used for the study of main frame electric current and cuts off socket power on the computer power supply socket in real time, and is convenient.This contrive equipment is by mains switch K, push-button switch 8, first indicator light 14,15 operations of second indicator light on the electric socket switch-box casing and observe "on" position, and is flexibly, conveniently, reliable.
Embodiment
As shown in Figure 1, a kind of power plugboard device is made up of electric socket switch-box and computer power supply socket; Described electric socket switch-box is connected with computer power supply socket with external connection line; Mains switch K, push-button switch 8, first indicator light 14, second indicator light 15 are installed on the described electric socket switch-box casing; First socket, 10 to the 4th sockets 13, the 3rd indicator light 16 are installed on the described computer power supply socket.
The electric socket switch-box is positioned over is convenient to the position operating and observe on the desktop (computer operation table top), with on the base of the fixing display on the table of electric socket switch-box or the mouse front end, or be directly fixed on desktop as the utilization double faced adhesive tape.
First socket 10 is used to insert the socket of main frame power supply.
The supply socket that second socket, 11 to the 4th sockets 13 are used to insert peripheral hardwares such as display, printer, scanner.
Mains switch K is used to the interior circuit of computer power supply socket power path to be provided and to provide application to cut off the signal of first socket, 10 to the 4th sockets, 13 power supplys, and mains switch K is the self-lock of button mains switch of double-throw mains switch or functional equivalent; Mains switch K adopts the single-pole double throw mains switch among the embodiment, and when mains switch K was in the ON position, circuit power was connected in the computer power supply socket, controlled the power connection of first socket, 10 to the 4th sockets 13; When mains switch K switches to from the ON position when being in the OFF position, mains switch K cuts off for the power path that circuit in the computer power supply socket provides, and the power supply of first socket, 10 to the 4th sockets 13 is cut off in application.
First indicator light 14 is used to indicate mains switch K to be in closed condition, and promptly mains switch K is in the OFF position; When computer power supply socket was connected the 220V AC power, mains switch K placed the OFF position, and first indicator light 14 is lighted, and mains switch K is in the ON position, and first indicator light 14 extinguishes; When computer power supply socket was not connected the 220V AC power, no matter mains switch K is in OFF position or ON position, first indicator light 14 was in and does not work.
Second indicator light 15 is used for multi-functional indication, when second indicator light 15 is in illuminating state, the power connection of first socket, 10 to the 4th sockets 13 is described, extinguishes state when second indicator light 15 is in, and the dump of first socket, 10 to the 4th sockets 13 is described; When mains switch K switches to from the ON position when being in the OFF position, second indicator light 15 glimmers at a slow speed, and the current threshold of the electric current of current first socket 10 greater than the computer power supply socket stored is described; When mains switch K is in the ON position, by opening push-button switch 8, second indicator light 15 is by the normal bright fast blink that transfers to, and computer power supply socket is learnt the electric current of first socket 10 and preserved with current threshold, and second indicator light 15 transfers Chang Liang to by fast blink behind the learning success; When switching to from the ON position, mains switch K is in the OFF position, when second indicator light 15 glimmers at a slow speed, by opening push-button switch 8, second indicator light 15 transfers fast blink to, cut off the power supply of first socket, 10 to the 4th sockets 13, second indicator light 15 extinguishes behind the dump of first socket, 10 to the 4th sockets 13; When mains switch K switches to from the ON position when being in the OFF position, second indicator light 15 was extinguished or is extinguished by glimmering to transfer at a slow speed by bright often transferring to, illustrate that electric current that computer power supply socket detects first socket 10 equates or approaches or less than the current threshold in the storage chip 2, and the power supply of first socket, 10 to the 4th sockets 13 is cut off.
The 3rd indicator light 16 is used to indicate the power connection and the dissengaged positions of first socket, 10 to the 4th sockets 13; The 3rd indicator light 16 Chang Liang represent the power connection of first socket, 10 to the 4th sockets 13; The 3rd indicator light 16 extinguishes, and represents the dump of first socket, 10 to the 4th sockets 13.
Push-button switch 8 is non-self-locking type touch-switch, is the push-button switch that is used to learn first socket, 10 electric currents, is again the push-button switch that first socket, 10 to the 4th sockets, 13 power supplys are cut off in application in real time.
As shown in Figure 2, the first embodiment circuit of power plugboard device detects control circuit by switch-box circuit 101 and power supply and forms; Described power supply detects control circuit and is made up of power supply socket main circuit 201, voltage stabilizing circuit 7, transformer 9, first socket, 10 to the 4th sockets 13, the 3rd indicator light 16, the first diode D1 to the, six diode D6, capacitor C 1, relay J, resistance R 5; Described switch-box circuit 101 is made of mains switch K, push-button switch 8, first indicator light 14, second indicator light 15, resistance R 1; Described power supply socket main circuit 201 is made of controller unit 1, storage chip 2, drive circuit 3, analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6, photoelectrical coupler U1, resistance R 2, resistance R 3, resistance R 4, triode T, the 7th diode D7, mains switch sample circuit 2011, relay sample circuit 2012; Described mains switch sample circuit 2011 is made of resistance R 6, resistance R 7, voltage-stabiliser tube W1, the 8th diode D8, capacitor C 2; Described relay sample circuit 2012 is made of resistance R 8, voltage-stabiliser tube W2, the 9th diode D9, capacitor C 3; Described transformer 9 elementary ends are connected with power firestreak L, the other end is connected with zero-power line N, one end of 9 levels of transformer is connected with the moving contact a of mains switch K and the d end of relay J normally opened contact respectively, the c end of relay J normally opened contact is connected with the positive pole of the first diode D1, and the other end of 9 levels of transformer is connected with the positive pole of the 5th diode D5; The fixed contact b series resistor R1 of described mains switch K, resistance R 1 is connected with the positive pole of first indicator light 14, and the negative pole of first indicator light 14 is connected with the direct current seedbed; The fixed contact c of described mains switch K is connected with the positive pole of the 3rd diode D3; The negative pole of described second indicator light 15 is connected with the direct current seedbed, and the positive pole of second indicator light 15 is connected with the collector electrode of triode T; The a end of described push-button switch 8 is connected with the direct current seedbed, and the b end of push-button switch 8 is connected with an end of resistance R 2 and the input of controller unit 1 respectively, and the other end of resistance R 2 is connected with the output V+ of voltage stabilizing circuit 7; The negative pole of the described second diode D2 is connected with the positive pole of the first diode D1, and the negative pole of the 4th diode D4 is connected with the positive pole of the 3rd diode D3, and the negative pole of the 6th diode D6 is connected with the positive pole of the 5th diode D5; The positive pole of the positive pole of the positive pole of the described second diode D2, the 4th diode D4, the 6th diode D6 is connected with the direct current seedbed respectively; The negative pole of the negative pole of the negative pole of the described first diode D1, the 3rd diode D3, the 5th diode D5 is connected with the positive pole of capacitor C 1 and the input of voltage stabilizing circuit 7 respectively mutually and after connecing, and the negative pole of capacitor C 1 is connected with the direct current seedbed; The power cathode of described voltage stabilizing circuit 7 is connected with the direct current seedbed, and the output V+ of voltage stabilizing circuit 7 is connected with the power supply of power supply socket main circuit 201 input anode, and the power supply negative terminal of power supply socket main circuit 201 is connected with the direct current seedbed; The negative pole series resistor R6 of described the 4th diode D4, resistance R 6 is connected with the negative pole of voltage-stabiliser tube W1 and the positive pole of the 8th diode D8 respectively, the positive pole of voltage-stabiliser tube W1 is connected with the direct current seedbed, the negative pole of the 8th diode D8 is connected with the positive pole of capacitor C 2, an end of resistance R 7 and the input of controller unit 1 respectively, and the other end of the negative pole of capacitor C 2 and resistance R 7 is connected with the direct current seedbed respectively; The negative pole series resistor R8 of the described second diode D2, resistance R 8 is connected with the negative pole of voltage-stabiliser tube W2 and the positive pole of the 9th diode D9 respectively, the positive pole of voltage-stabiliser tube W2 is connected with the direct current seedbed, the negative pole of the 9th diode D9 is connected with the positive pole of capacitor C 3 and an end of resistance R 4 respectively, the negative pole of capacitor C 3 is connected with the direct current seedbed, the other end of resistance R 4 is connected with the emitter of triode T, the base stage of triode T is connected with an end of resistance R 3 and the negative pole of the 7th diode D7 respectively, the other end of resistance R 3 is connected with the direct current seedbed, and the positive pole of the 7th diode D7 is connected with the output of controller unit 1; The output serial connection drive circuit 3 of described controller unit 1, the output of drive circuit 3 is connected with the positive pole of light-emitting diode among the photoelectrical coupler U1, the negative pole of light-emitting diode is connected with the direct current seedbed among the photoelectrical coupler U1, one end of photoelectrical coupler U1 output is connected with zero-power line N, and the other end of photoelectrical coupler U1 output is connected with an end of relay J coil; The other end of described relay J coil is connected with relay J normally opened contact a end and power firestreak L respectively, the b end serial connection current detection sensor 6 of relay J normally opened contact, current detection sensor 6 is connected with the live wire end of first socket 10, the b end of relay J normally opened contact also is connected with an end of resistance R 5 and the live wire end of second socket 11 respectively, the live wire end of second socket 11, the live wire end of the live wire end of the 3rd socket 12 and the 4th socket 13 by connecting line mutually and connect, the other end of resistance R 5 is connected with the positive pole of the 3rd indicator light 16, and the negative pole of the 3rd indicator light 16 is connected with zero-power line N; The zero line side of described first socket, 10 to the 4th sockets 13 is connected with zero-power line N, and the ground terminal of first socket, 10 to the 4th sockets 13 is connected with power ground E; The output of described current detection sensor 6 is connected in series current detection circuit 5, analog to digital conversion circuit 4 successively, and the output of analog to digital conversion circuit 4 is connected with controller unit 1 input; Described storage chip 2 is connected with controller unit 1.
Among the embodiment, mains switch K is the single-pole double throw mains switch, and its moving contact is designated as a, two fixed contacts are denoted as b and c; When mains switch K was in the ON position, moving contact a and fixed contact c connected; When mains switch K was in the OFF position, moving contact a and fixed contact b connected.
Switch-box circuit 101 is installed on the electric socket switch-box.
Power supply detects control circuit and is installed on computer power supply socket.
Power firestreak L, zero-power line N, power ground E are connected to the attaching plug of computer power supply socket respectively on the computer power supply socket by external connection line, and attaching plug is connected with outside 220V alternating current.
Controller unit 1 is made of single-chip microcomputer, program storage, data storage, input interface, is used for power plugboard device mains switch K state, push-button switch 8 are detected and handle, and corresponding executing the task finished in main frame current detecting and judgement.
The output V+ of voltage stabilizing circuit 7 is connected with power supply socket main circuit 201, for power supply socket main circuit 201 provides required working power; The power cathode of voltage stabilizing circuit 7 is connected with the direct current seedbed.
Mains switch sample circuit 2011 is used for mains switch K to be connected and the sampling of cutting off, and is made of resistance R 6, resistance R 7, voltage-stabiliser tube W1, the 8th diode D8, capacitor C 2 among the embodiment; When mains switch K was in the ON position, the moving contact a of mains switch K and fixed contact c connected, and mains switch sample circuit 2011 output high level are to the input of controller unit 1; When mains switch K was in the OFF position, the moving contact a of mains switch K and fixed contact b connected, and mains switch sample circuit 2011 output low levels are to the input of controller unit 1.
Relay sample circuit 2012 is used for normally opened contact adhesive and the release of sample relay J; When the normally opened contact of relay J was in adhesive, relay sample circuit 2012 had power supply output to deliver to the emitter of triode T; When the normally opened contact of relay J was in release condition, relay sample circuit 2012 did not have power supply output to deliver to the emitter of triode T; Embodiment one repeat circuit sample circuit 2012 is made of resistance R 8, voltage-stabiliser tube W2, the 9th diode D9, capacitor C 3.
Push-button switch 8 is the push-button switch that is used to learn first socket, 10 electric currents, it is again the push-button switch that first socket, 10 to the 4th sockets, 13 power supplys are cut off in application in real time, it in the enforcement Chang Kaifei self-locking type touch-switch, the switch ends of push-button switch 8 is labeled as a end and b end respectively, promptly by opening push-button switch 8, the switch connection of push-button switch 8, release button switch 8, the switch of push-button switch 8 disconnects; Push-button switch 8 constitutes key circuits with resistance R 2, and the high level of key circuit output at ordinary times is to the input of controller unit 1, and when by opening push-button switch 8, the key circuit output low level is to the input of controller unit 1.
First indicator light 14 is used to indicate mains switch K to be in the OFF position, and promptly mains switch K is in closed condition; When mains switch K is in the OFF position, the moving contact a of mains switch K and fixed contact b connect, draw power supply to the first indicator light 14 by resistance R 1 (current-limiting resistance), promptly light first indicator light 14, the red light emitting diodes that first indicator light 14 adopts among the embodiment.
Second indicator light 15 adopts green LED, is used for multi-functional indication; When second indicator light 15 is in illuminating state, the power connection of first socket, 10 to the 4th sockets 13 is described, when being in, second indicator light 15 extinguishes state, the dump of first socket, 10 to the 4th sockets 13 is described; When mains switch K switches to from the ON position when being in the OFF position, second indicator light 15 glimmers at a slow speed, illustrates that controller unit 1 detects the current threshold of the electric current of current first socket 10 greater than storage in the storage chip 2; When mains switch K is in the ON position, by opening push-button switch 8, second indicator light 15 is by the normal bright fast blink that transfers to, and the electric current of controller unit 1 study first socket 10 also is stored in the storage chip 2 with current threshold, and second indicator light 15 transfers Chang Liang to by fast blink behind the learning success; When switching to from the ON position, mains switch K is in the OFF position, when second indicator light 15 glimmers at a slow speed, by opening push-button switch 8, second indicator light 15 transfers fast blink to, cut off the power supply of first socket, 10 to the 4th sockets 13 immediately, second indicator light 15 extinguishes behind the dump of first socket, 10 to the 4th sockets 13; When mains switch K switches to from the ON position when being in the OFF position, second indicator light 15 was extinguished or is extinguished by glimmering to transfer at a slow speed by bright often transferring to, illustrate that electric current that controller unit 1 detects first socket 10 equates or approaches or less than the current threshold in the storage chip 2, and the power supply of first socket, 10 to the 4th sockets 13 is cut off.
Triode T is used for the 15 normal bright or flickers of concrete control second indicator light, the triode polarity that adopts among the embodiment is positive-negative-positive, the collector electrode of triode T is connected with the positive pole of second indicator light 15, the emitter of triode T is connected in series mutually with resistance R 4, resistance R 4 is connected with the output of relay sample circuit 2012, and the emitter for triode T behind the output series resistor R4 of relay sample circuit 2012 provides power supply; When the normally opened contact of relay J is in attracting state, promptly the power supply of first socket, 10 to the 4th sockets 13 is in when connecting, and relay sample circuit 2012 has power supply output; When the normally opened contact of relay J is in release condition, promptly the power supply of first socket, 10 to the 4th sockets 13 is in when cutting off, and relay sample circuit 2012 does not have power supply output; The base stage of triode T is connected with an end of resistance R 3 and the negative pole of the 7th diode D7 respectively, and the other end of resistance R 3 is connected with the power cathode of voltage stabilizing circuit 7, and the positive pole of the 7th diode D7 is connected with the output of controller unit 1; When mains switch K places the ON position, the positive pole of controller unit 1 output low level to the seven diode D7, if relay sample circuit 2012 has power supply output, second indicator light, 15 Chang Liang, otherwise second indicator light 15 extinguishes; When mains switch K places the ON position, second indicator light 15 is normal when bright, controller unit 1 detects mains switch sample circuit 2011 and is output as high level, by opening push-button switch 8, the positive pole of controller unit 1 output quick gap level to the seven diode D7, make second indicator light 15 by the normal bright fast blink that transfers to, controller unit 1 is successively by analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6 detects the current value of first socket 10 and current value is stored in the storage chip 2 with current threshold, when the current value that controller unit 1 detects first socket 10 is preserved successfully, the positive pole of controller unit 1 output low level to the seven diode D7, second indicator light 15 reverts to Chang Liang; When mains switch K switches to the OFF position by the ON position, mains switch sample circuit 2011 output low levels are to controller unit 1 input, controller unit 1 detects mains switch sample circuit 2011 and is output as low level, circulation is successively by analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6 detect first socket 10 current value and with storage chip 2 in current threshold relatively, if greater than current threshold, the positive pole of output low speed gap level to the seven diode D7, second indicator light 15 was glimmered by normal bright transferring at a slow speed, when cycle detection equates or approaches or less than the current threshold in the storage chip 2 to the current value of first socket 10, the normally opened contact of output relay J cuts off level, the coil blackout of relay J, the normally opened contact of relay J discharges, relay sample circuit 2012 does not have power supply output, and second indicator light 15 extinguishes by glimmering at a slow speed; When mains switch K switches to the OFF position by the ON position, the current value that controller unit 1 detects first socket 10 by analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6 successively equates or approaches or less than the current threshold in the storage chip 2, the normally opened contact of output relay J cuts off level immediately, the coil blackout of relay J, the normally opened contact of relay J discharges, relay sample circuit 2012 does not have power supply output, and second indicator light 15 is by normal bright and extinguish; When mains switch K switches to the OFF position by the ON position, controller unit 1 detects the current value of first socket 10 greater than the current threshold in the storage chip 2, the positive pole of output low speed gap level to the seven diode D7, second indicator light 15 was glimmered by normal bright transferring at a slow speed, switch back to the ON position with mains switch K by the OFF position this moment again, controller unit 1 stops the current detecting of first socket 10, the positive pole of output low level to the seven diode D7, second indicator light 15 reverts to Chang Liang by glimmering at a slow speed; When mains switch K switches to the OFF position by the ON position, controller unit 1 detects the current value of first socket 10 greater than the current threshold in the storage chip 2, the positive pole of output low speed gap level to the seven diode D7, second indicator light 15 was glimmered by normal bright transferring at a slow speed, this moment is by opening push-button switch 8, the positive pole of controller unit 1 output quick gap level to the seven diode D7, make second indicator light 15 transfer fast blink to by glimmering at a slow speed, and the normally opened contact of output relay J cuts off level immediately, the coil blackout of relay J, the normally opened contact of relay J discharges, the normally opened contact of relay J discharges back relay sample circuit 2012 does not have power supply output, and second indicator light 15 is extinguished by fast blink;
The first diode D1 to the, six diode D6, capacitor C 1 constitute current rectifying and wave filtering circuit, and promptly the first diode D1 to the, six diode D6 are rectifier diode, and capacitor C 1 is a filter capacitor; The output of current rectifying and wave filtering circuit is connected with the input of voltage stabilizing circuit 7, and the output V+ of voltage stabilizing circuit 7 provides required working power for power supply socket main circuit 201.
Capacitor C 1 choice of capacity, the normally opened contact that satisfies power supply socket main circuit 201 reliable control relay J discharges.
The first diode D1 to the, six diode D6 form two groups of full bridge rectifiers and give capacitor C 1 charging, promptly the first diode D1, the second diode D2, the 5th diode D5, the 6th diode D6 form one group of full bridge rectifier and the 3rd diode D3, the 4th diode D4, the 5th diode D5, the 6th diode D6 and form another group full bridge rectifier and give capacitor C 1 charging, and wherein the 5th diode D5, the 6th diode D6 are the public brachium pontis of two groups of full bridge rectifiers; As the moving contact a of mains switch K and fixed contact c connects, when the normally opened contact of relay J is in attracting state, two groups of full bridge rectifiers give capacitor C 1 charging jointly; When moving contact a and the fixed contact c of mains switch K connect, when the normally opened contact of relay J is in release condition, give capacitor C 1 charging by the full bridge rectifier that the 3rd diode D3, the 4th diode D4, the 5th diode D5, the 6th diode D6 form; When moving contact a and the fixed contact b of mains switch K connect, when the normally opened contact of relay J is in attracting state, give capacitor C 1 charging by the full bridge rectifier that the first diode D1, the second diode D2, the 5th diode D5, the 6th diode D6 form; As the moving contact a of mains switch K and fixed contact b connects, when the normally opened contact of relay J is in release condition, the input power supply of two groups of full bridge rectifiers is cut off, two groups of full bridge rectifiers stop to capacitor C 1 charging.
The 3rd indicator light 16 is a green LED, is used for the user from whether connecting by the power supply of observing the 3rd indicator light 16 differentiations first socket 10 to the 4th sockets 13 on the computer power supply socket; When the 3rd indicator light 16 is lighted, illustrate that the normally opened contact of relay J is in the power connection of attracting state, first socket, 10 to the 4th sockets 13; When the 3rd indicator light 16 extinguishes, illustrate that the normally opened contact of relay J is in the dump of release condition, first socket, 10 to the 4th sockets 13.
Photoelectrical coupler U1 is a zero cross fired controllable silicon output type optocoupler, is used for specifically driving the contact adhesive and the release of relay J, plays the effect of isolating alternating current 220V simultaneously.
Relay J is the AC relay that comprises two groups of normally opened contacts at least, embodiment repeat circuit J is the relay that contains two groups of normally-closed contacts, the two ends of one group of normally-closed contact are labeled as a and b in the accompanying drawings respectively, be used for specifically finishing the power connection and the cut-out of first socket, 10 to the 4th sockets 13, the two ends of another group normally-closed contact are labeled as c and d in the accompanying drawings respectively, are used for the locking of mains switch K; The locking of mains switch K is meant: when the normally opened contact of relay J is in attracting state, no matter which kind of state mains switch K is in, be mains switch K no matter be in the OFF position, or ON position, the current rectifying and wave filtering circuit that the first diode D1 to the, six diode D6, capacitor C 1 constitute, the input of output voltage to voltage stabilizing circuit 7 can both be provided, that is to say mains switch K no matter be in the OFF position, or ON position, voltage stabilizing circuit 7 all have output V+ required working power to be provided for power supply socket main circuit 201.
During the normally opened contact adhesive of relay J, the power connection of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 are lighted; When the normally opened contact of relay J discharges, the dump of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 extinguish.
Transformer 9 is used for isolating and step-down, and the 220V AC power is reduced to the safe voltage that human body allows, and offers the required alternating voltage of circuit in electric socket switch-box and the computer power supply socket to reduce to 8V among the embodiment.
Drive circuit 3 is used for driving the light-emitting diode of photoelectrical coupler U1.
The electric current that current detection sensor 6 is used to detect first socket 10 send current detection circuit 5.
Current detection circuit 5 is used for received current detecting sensor 6 current sensing signals, carries out processing and amplifying, send analog to digital conversion circuit 4 conversions.
Analog to digital conversion circuit 4 is used for the analog quantity of current detection circuit 5 is converted to digital quantity, send controller unit 1 to handle.
Storage chip 2 is used to store the current threshold information of study first socket 10, is an EEPOM memory chip.
The circuit of power plugboard device of the present invention is through preferred, and the external connection line that the electric socket switch-box is connected with computer power supply socket is the connecting line of 5 cores.
The circuit of power plugboard device of the present invention is isolated and step-down because of having adopted transformer 9, and it is safe that the electric socket switch-box is introduced desktop, and volume can be done very for a short time.
Power plugboard device is being connected under the alternating current 220V power supply situation, when mains switch K puts in the OFF position, 9 level to the first indicator light 14 power connections of transformer, first indicator light 14 is lighted, when mains switch K puts in the ON position, first indicator light 14 extinguishes, 9 levels to the of transformer, three diode D3, the 4th diode D4, the 5th diode D5, the input power connection of the full bridge rectifier that the 6th diode D6 constitutes, mains switch sample circuit 2011 output high level are to the input of controller unit 1, voltage stabilizing circuit 7 output V+ provide required working power for power supply socket main circuit 201, controller unit 1 initialization, start working, controller unit 1 output low level to the seven diode D7 positive poles, the base stage of triode T is under the effect of resistance R 3, the base stage of triode T is input as low level, the normally opened contact adhesive signal of controller unit 1 output relay J is to the input of drive circuit 3, the output of drive circuit 3 is connected the output of photoelectrical coupler U1, the coil electricity of relay J, the normally opened contact adhesive of relay J, the power connection of first socket, 10 to the 4th sockets 13, the 3rd indicator light 16 is lighted, 9 level to the first diodes of transformer D1, the second diode D2, the 5th diode D5, the input power connection of the full bridge rectifier that the 6th diode D6 constitutes, relay sample circuit 2012 produce power supplys output by resistance R 4 to the emission of triode T very triode T working power is provided, second indicator light 15 is lighted, and is Chang Liang; After the normally opened contact of relay J is connected (adhesive), with mains switch K when the ON position switches to the OFF position, first indicator light 14 is lighted, mains switch sample circuit 2011 output low levels are to the input of controller unit 1, when controller unit 1 detects mains switch sample circuit 2011 and is output as low level, detect first socket, 10 electric currents and with the current threshold of storage chip 2 relatively, when equating or approaching or during less than current threshold, the normally opened contact release signal of controller unit 1 output relay J is to the input of drive circuit 3, the output of drive circuit 3 is turn-offed the output of photoelectrical coupler U1, the coil blackout of relay J, the normally opened contact of relay J discharges, the dump of first socket, 10 to the 4th sockets 13, the 3rd indicator light 16 extinguishes, the emission that relay sample circuit 2012 non-transformers export triode T to very triode T provides working power, and second indicator light, 15 no currents flow through and extinguish; After the normally opened contact of relay J is connected (adhesive), with mains switch K when the ON position switches to the OFF position, first indicator light 14 is lighted, mains switch sample circuit 2011 output low levels are to the input of controller unit 1, when controller unit 1 detects mains switch sample circuit 2011 and is output as low level, detect first socket, 10 electric currents and with the current threshold of storage chip 2 relatively, when greater than current threshold, the normally opened contact of controller unit 1 latching relay J is in attracting state, export the positive pole of impulse level to the seven diode D7 at a slow speed, triode T is under impulse level effect at a slow speed, at a slow speed the gap conducting with end, second indicator light 15 was glimmered by normal bright transferring at a slow speed, and the electric current of current first socket 10 of prompting user is greater than the current threshold in the storage chip 2; When mains switch K is switched to the OFF position from the ON position, when second indicator light 15 glimmers at a slow speed, by opening push-button switch 8, the positive pole of controller unit 1 output fast-pulse level to the seven diode D7, triode T is under the effect of fast-pulse level, fast the gap conducting with end, second indicator light 15 transfers fast blink to by glimmering at a slow speed, the normally opened contact release signal of controller unit 1 output relay J is to the input of drive circuit 3, the output of drive circuit 3 is turn-offed the output of photoelectrical coupler U1, the coil blackout of relay J, the normally opened contact of relay J discharges, the dump of first socket, 10 to the 4th sockets 13, and the 3rd indicator light 16 extinguishes, the emission that relay sample circuit 2012 non-transformers export triode T to very triode T provides working power, and second indicator light 15 is transferred to by fast blink and extinguishing; When mains switch K is switched to the OFF position from the ON position, when second indicator light 15 glimmers at a slow speed, if once more mains switch K is switched back to the ON position from the OFF position, first indicator light 14 extinguishes, 2011 outputs of mains switch sample circuit change high level into by low level, controller unit 1 detects 2011 outputs of mains switch sample circuit and changes high level into by low level, stop to detect the electric current of first socket 10, stop to export the positive pole of impulse level to the seven diode D7 at a slow speed, and transfer out the positive pole of low level to the seven diode D7, and the normally opened contact of latching relay J is in attracting state, and second indicator light 15 transfers Chang Liang to by flicker at a slow speed; When mains switch K in the ON position, the normally opened contact of relay J is in attracting state, second indicator light 15 is normal when bright, power plugboard device is connected the alternating current 220V power supply power-fail, 9 levels to the of incoming call back transformer, three diode D3, the 4th diode D4, the 5th diode D5, the input power connection of the full bridge rectifier that the 6th diode D6 constitutes, mains switch sample circuit 2011 output high level are to the input of controller unit 1, voltage stabilizing circuit 7 output V+ provide required working power for power supply socket main circuit 201, controller unit 1 initialization, start working, controller unit 1 output low level to the seven diode D7 positive poles, the base stage of triode T is under the effect of resistance R 3, the base stage of triode T is input as low level, the normally opened contact adhesive signal of controller unit 1 output relay J is to the input of drive circuit 3, the output of drive circuit 3 is connected the output of photoelectrical coupler U1, the coil electricity of relay J, the normally opened contact adhesive of relay J, the power connection of first socket, 10 to the 4th sockets 13, the 3rd indicator light 16 is lighted, 9 level to the first diodes of transformer D1, the second diode D2, the 5th diode D5, the input power connection of the full bridge rectifier that the 6th diode D6 constitutes, relay sample circuit 2012 produce power supplys output by resistance R 4 to the emission of triode T very triode T working power is provided, second indicator light 15 is lighted, and is Chang Liang; When mains switch K in the ON position, the normally opened contact of relay J is in attracting state, second indicator light 15 is normal when bright, by opening push-button switch 8, the positive pole of controller unit 1 output fast-pulse level to the seven diode D7, triode T is under the effect of fast-pulse level, fast the gap conducting with end, second indicator light 15 is by the normal bright fast blink that transfers to, the electric current of controller unit 1 study first socket 10 also is stored in the storage chip 2 with current threshold and (constitutes mains switch K when the OFF position is replaced in the ON position, controller unit 1 detects the current ratio parameter value of current first socket 10), behind the learning success, controller unit 1 recovers the positive pole of output low level to the seven diode D7, and second indicator light 15 transfers Chang Liang to by fast blink; When mains switch K is replaced the OFF position from the ON position, when second indicator light 15 glimmers at a slow speed, controller unit 1 cycle detection equates or approaches or less than the current threshold of preserving in the storage chip 2 to the electric current of first socket 10, controller unit 1 immediately the normally opened contact release signal of output relay J to the input of drive circuit 3, the output of drive circuit 3 is turn-offed the output of photoelectrical coupler U1, the coil blackout of relay J, the normally opened contact of relay J discharges, the dump of first socket, 10 to the 4th sockets 13, the 3rd indicator light 16 extinguishes, the emission that relay sample circuit 2012 non-transformers export triode T to very triode T provides working power, second indicator light, 15 no currents flow through, and extinguish from glimmering to change at a slow speed.
In order to make computer under shutdown or resting state, the user with mains switch K when the ON position switches to the OFF position, first socket, 10 to the 4th sockets, 13 power supplys of power plugboard device can be cut off, so apparatus of the present invention must be under main frame shutdown or resting state, by opening push-button switch 8, study main frame electric current also is stored in the storage chip 2 with current threshold; That is to say and under the shutdown or resting state of main frame, to be stored in the storage chip 2 by the shutdown electric current that opens push-button switch 8 study main frames and with current threshold.
As shown in Figure 3, the second embodiment circuit of power plugboard device detects control circuit by switch-box circuit 101 and power supply and forms; Described power supply detects control circuit and is made up of power supply socket main circuit 201, voltage stabilizing circuit 7, transformer 9, first socket, 10 to the 4th sockets 13, the 3rd indicator light 16, the first diode D1 to the, six diode D6, capacitor C 1, relay J, resistance R 5; Described switch-box circuit 101 is made of mains switch K, push-button switch 8, first indicator light 14, second indicator light 15, resistance R 1; Described power supply socket main circuit 201 is made of controller unit 1, storage chip 2, drive circuit 3, analog to digital conversion circuit 4, current detection circuit 5, current detection sensor 6, photoelectrical coupler U1, resistance R 2, resistance R 3, resistance R 4, triode T, the 7th diode D7, mains switch sample circuit 2011, relay sample circuit 2012; Described mains switch sample circuit 2011 is made of resistance R 6, resistance R 7, voltage-stabiliser tube W1, the 8th diode D8, capacitor C 2; It is characterized in that with respect to embodiment one described relay sample circuit 2012 is made of photoelectrical coupler U2; Described transformer 9 elementary ends are connected with power firestreak L, and the other end is connected with zero-power line N; One end of 9 levels of described transformer is connected with the moving contact a of mains switch K and the d end of relay J normally opened contact respectively, the c end of relay J normally opened contact is connected with the positive pole of the first diode D1, and the other end of 9 levels of transformer is connected with the positive pole of the 5th diode D5; The fixed contact b series resistor R1 of described mains switch K, resistance R 1 is connected with the positive pole of first indicator light 14, and the negative pole of first indicator light 14 is connected with the direct current seedbed; The fixed contact c of described mains switch K is connected with the positive pole of the 3rd diode D3; The negative pole of described second indicator light 15 is connected with the direct current seedbed, and the positive pole of second indicator light 15 is connected with the collector electrode of triode T; The a end of described push-button switch 8 is connected with the direct current seedbed, and the b end of push-button switch 8 is connected with an end of resistance R 2 and the input of controller unit 1 respectively, and the other end of resistance R 2 is connected with the output V+ of voltage stabilizing circuit 7; The negative pole of the described second diode D2 is connected with the positive pole of the first diode D1, and the negative pole of the 4th diode D4 is connected with the positive pole of the 3rd diode D3, and the negative pole of the 6th diode D6 is connected with the positive pole of the 5th diode D5; The positive pole of the positive pole of the positive pole of the described second diode D2, the 4th diode D4, the 6th diode D6 is connected with the direct current seedbed respectively; The negative pole of the negative pole of the negative pole of the described first diode D1, the 3rd diode D3, the 5th diode D5 is connected with the positive pole of capacitor C 1 and the input of voltage stabilizing circuit 7 respectively mutually and after connecing, and the negative pole of capacitor C 1 is connected with the direct current seedbed; The power cathode of described voltage stabilizing circuit 7 is connected with the direct current seedbed, and the output V+ of voltage stabilizing circuit 7 is connected with the power supply of power supply socket main circuit 201 input anode, and the power supply negative terminal of power supply socket main circuit 201 is connected with the direct current seedbed; The negative pole series resistor R6 of described the 4th diode D4, resistance R 6 is connected with the negative pole of voltage-stabiliser tube W1 and the positive pole of the 8th diode D8 respectively, the positive pole of voltage-stabiliser tube W1 is connected with the direct current seedbed, the negative pole of the 8th diode D8 is connected with the positive pole of capacitor C 2, an end of resistance R 7 and the input of controller unit 1 respectively, and the other end of the negative pole of capacitor C 2 and resistance R 7 is connected with the direct current seedbed respectively; The collector electrode of the output phototriode of described photoelectrical coupler U2 is connected with the output V+ of voltage stabilizing circuit 7, the emitter series resistor R4 of the output phototriode of photoelectrical coupler U2, resistance R 4 is connected with the emitter of triode T, the base stage of triode T is connected with an end of resistance R 3 and the negative pole of the 7th diode D7 respectively, the other end of resistance R 3 is connected with the direct current seedbed, and the positive pole of the 7th diode D7 is connected with the output of controller unit 1; The output serial connection drive circuit 3 of described controller unit 1, the output of drive circuit 3 is connected with the positive pole of light-emitting diode among the photoelectrical coupler U1, the negative pole of light-emitting diode is connected with the direct current seedbed among the photoelectrical coupler U1, one end of photoelectrical coupler U1 output is connected with zero-power line N, and the other end of photoelectrical coupler U1 output is connected with an end of the coil of relay J; The other end of the coil of described relay J is connected with a end and the power firestreak L of relay J group normally opened contact respectively, the b end serial connection current detection sensor 6 of relay J normally opened contact, current detection sensor 6 is connected with the live wire end of first socket 10, the b end of relay J normally opened contact also is connected with an end of resistance R 5 and the live wire end of second socket 11 respectively, the live wire end of second socket 11, the live wire end of the live wire end of the 3rd socket 12 and the 4th socket 13 by connecting line respectively mutually and connect, the other end of resistance R 5 is connected with the positive pole of the 3rd indicator light 16, the negative pole of the 3rd indicator light 16 is connected with the positive pole of input light-emitting diode among the photoelectrical coupler U2, and the negative pole of input light-emitting diode is connected with zero-power line N among the photoelectrical coupler U2; The zero line side of described first socket, 10 to the 4th sockets 13 is connected with zero-power line N, and the ground terminal of first socket, 10 to the 4th sockets 13 is connected with power ground E; The output of described current detection sensor 6 is connected in series current detection circuit 5, analog to digital conversion circuit 4 successively, and the output of analog to digital conversion circuit 4 is connected with controller unit 1 input; Described storage chip 2 is connected with controller unit 1.
The above photoelectrical coupler U2 is a transistor output type optocoupler.
Among the embodiment two, when the normally opened contact adhesive of relay J, light-emitting diode has electric current and luminous among the photoelectrical coupler U2, and phototriode saturation conduction among the photoelectrical coupler U2, the output V+ of voltage stabilizing circuit 7 are loaded into the emitter of triode T by resistance R 4; When the normally opened contact of relay J discharged, the light-emitting diode no current was not and luminous among the photoelectrical coupler U2, and phototriode ends among the photoelectrical coupler U2, cut off the emitter path of the output V+ of voltage stabilizing circuit 7 to triode T.
A kind of control method of power plugboard device is primarily characterized in that as follows:
A) power supply of main frame inserts first socket 10 on the power plugboard device, and the power supply of display, printer, scanner inserts respectively arbitrarily in second socket, 11 to the 4th sockets 13;
B) power plugboard device is connected the alternating current 220V power supply, and when mains switch K was positioned at the OFF position, first indicator light 14 was lighted, and second indicator light 15, the 3rd indicator light 16 extinguish, the dump of first socket, 10 to the 4th sockets 13;
C) power plugboard device is connected the alternating current 220V power supply, and when mains switch K was placed the ON position, first indicator light 14 extinguished, second indicator light 15, the 3rd indicator light 16 Chang Liang, the power connection of first socket, 10 to the 4th sockets 13;
When d) mains switch K places the ON position, with main frame shutdown or dormancy, by opening push-button switch 8, second indicator light 15 is by the normal bright fast blink that transfers to, controller unit 1 is learnt the electric current of first socket 10 and is stored in storage chip 2 with current threshold, when the ON position switched to the OFF position, controller unit 1 detected current first socket, 10 current ratios current parameters value to formation with mains switch K, and second indicator light 15 reverts to Chang Liang by fast blink behind the learning success;
E) when mains switch K when the ON position switches to the OFF position, first indicator light 14 is lighted, controller unit 1 continuous detecting first socket, 10 current electric currents and with storage chip 2 in current threshold relatively, if detect current value greater than current threshold, second indicator light 15 was glimmered by normal bright transferring at a slow speed, the power connection that keeps first socket, 10 to the 4th sockets 13, if detecting electric current equates or approaches or less than current threshold, cut off the power supply of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 extinguish;
F) switch to the OFF position from the ON position as mains switch K, when second indicator light 15 is glimmered at a slow speed by normal bright commentaries on classics, by opening push-button switch 8, second indicator light 15 switches to fast blink, controller unit 1 cuts off the power supply of first socket, 10 to the 4th sockets 13, and second indicator light 15, the 3rd indicator light 16 extinguish behind the dump of first socket, 10 to the 4th sockets 13;
G) switch to the OFF position from the ON position as mains switch K, when second indicator light 15 is glimmered at a slow speed by normal bright commentaries on classics, once more mains switch K is switched to the ON position from the OFF position, controller unit 1 stops to detect first socket, 10 current electric currents, the power connection that keeps first socket, 10 to the 4th sockets 13, second indicator light 15 transfers Chang Liang to by glimmering at a slow speed;
H) as mains switch K during in the ON position, the alternating current 220V power supply power-fail that power plugboard device is connected, incoming call back first indicator light 14 extinguishes the power connection of first socket, 10 to the 4th sockets 13, second indicator light 15, the 3rd indicator light 16 Chang Liang.
When making the computer user under main frame shutdown or resting state, switch to the OFF position by mains switch K, cut off the power supply of first socket, 10 to the 4th sockets 13 on the computer power supply socket, push-button switch 8 must be learnt electric current under main frame shutdown or resting state.
Using method
A kind of power plugboard device using method of the present invention is as follows:
A) power supply of main frame inserts first socket 10 on the power plugboard device, and the power supply of display, printer, scanner inserts respectively arbitrarily in second socket, 11 to the 4th sockets 13;
B) when mains switch K places the OFF position, observe first indicator light, 14 Chang Liang from the electric socket switch-box, second indicator light 15 extinguishes, and the connection of power plugboard device alternating current 220V is described, the dump of first socket, 10 to the 4th sockets 13;
C) observe the 3rd indicator light 16 Chang Liang from computer power supply socket, the power connection of first socket, 10 to the 4th sockets 13 is described, observe the 3rd indicator light 16 from computer power supply socket and extinguish, the dump of first socket, 10 to the 4th sockets 13 is described;
D) observe second indicator light 15 from the electric socket switch-box and light, the power connection of first socket, 10 to the 4th sockets 13 is described;
E) when mains switch K places the ON position, second indicator light, 15 Chang Liang, shutdown electric current for correct study main frame, make main frame pushbutton switch 8 under shutdown or resting state, by opening push- button switch 8,15 fast blinks of second indicator light, the shutdown electric current of power plugboard device study main frame is also preserved, and second indicator light 15 transfers Chang Liang to by fast blink behind the learning success;
F) mains switch K switches to the OFF position from the ON position, observes second indicator light 15 from the electric socket switch-box and extinguishes, and illustrates that the power supply of first socket, 10 to the 4th sockets 13 is cut off;
G) mains switch K switches to the OFF position from the ON position, observing second indicator light 15 from the electric socket switch-box glimmers at a slow speed, illustrate that current main frame electric current is greater than the shutdown electric current, main frame is not in shutdown or resting state, second indicator light 15 power supply of scintillation duration first socket 10 to the 4th sockets 13 at a slow speed keeps connecting, second indicator light 15 extinguishes by glimmering to transfer at a slow speed when waiting by the time, the power plugboard device cycle detection is described to current main frame shutdown electric current, the power supply of first socket, 10 to the 4th sockets 13 is cut off;
H) mains switch K is when the ON position switches to the OFF position, observing second indicator light 15 from the electric socket switch-box glimmers at a slow speed, illustrate that current main frame electric current is greater than the shutdown electric current, this moment is by opening push- button switch 8,15 fast blinks of second indicator light, the power supply of first socket, 10 to the 4th sockets 13 is cut off, treat the dump of first socket, 10 to the 4th sockets 13 after second indicator light 15 extinguish;
I) mains switch K switches to the OFF position from the ON position, when the electric socket switch-box is observed second indicator light 15 and is glimmered at a slow speed, when once more mains switch K being switched to the ON position from the OFF position, second indicator light 15 transfers Chang Liang to by glimmering at a slow speed, power plugboard device returns to the normal power-up state, and the power supply of first socket, 10 to the 4th sockets 13 keeps connecting;
J) as mains switch K during in the ON position, the alternating current 220V power supply power-fail that power plugboard device is connected, incoming call back power plugboard device returns to the normal power-up state, and first indicator light 14 extinguishes, second indicator light 15, the 3rd indicator light 16 Chang Liang, the power connection of first socket, 10 to the 4th sockets 13.