Summary of the invention
The technical problems to be solved by the present invention are: the above-mentioned problems of the prior art is solved, and providing one kind has
Input all the way multiple-channel output, the control of total loop and each branch and protection it is all highly integrated be integrated, both can be to the use of family
Electric situation carries out on-site supervision, can also pass through wechat and network to the electricity consumption situation of family with smart phone or intelligent terminal
The domestic intelligent safe distribution of electric power system and its long-distance monitoring method of real-time place remote monitoring, the present invention are installed and used simply, are protected
Protective function is comprehensive, and intelligence degree is high, and cost performance is good.
The technical solution adopted by the present invention is that:
A kind of domestic intelligent safe distribution of electric power system that can remotely monitor, total loop divide because total control circuit is serially connected in centre
Load end for the general supply end and total load end of total loop, each branch is attempted by total return through respective branch control circuit
On the total load end on road, Transformer Rectifier filter circuit input connection general supply end, the sampling end of overvoltage low-voltage protection circuit
Connect the output end of Transformer Rectifier filter circuit, the input of the output end connection total control circuit of overvoltage low-voltage protection circuit
End, the output connection of total control circuit control the on-off at general supply end and total load end in total loop;The overcurrent of each branch is short
The sampling end of road protection circuit and leakage protection circuit is all connect respectively on the middle current transformer at each branch circuit load end, and each
The short circuit over-current protection circuit of branch and the output end of leakage protection circuit are then respectively connected to each branch control circuit, Ge Gezhi
The on-off at the output control of road control circuit total load end and each branch circuit load end;WIFI is installed in Domestic intelligent distribution box
Communication module, each branch control circuit pass through P1、P2Connecting terminal connect WIFI communication module, and with WIFI communication module into
The control signal of row Domestic intelligent distribution box switch state signal, alarm status signal and remote control home intelligent distribution box
Communication, WIFI communication module pass through the WIFI transceiver and server communication of itself, and server is again whole with smart phone or intelligence
End equipment communication, each branch control circuit of the control signal control intelligent distribution box of WIFI communication module output, and in turn
Control the on-off at total load end and each branch circuit load end in Domestic intelligent distribution box.
In above-mentioned technical proposal, the overvoltage low-voltage protection circuit include bleeder circuit, voltage detecting circuit, with
Not circuit and overvoltage under-voltage failure indicating circuit, bleeder circuit are connected on the output end of Transformer Rectifier filter circuit,
Overvoltage and under-voltage sampling are carried out respectively, and the two-way output of overvoltage low-voltage protection circuit is separately connected total control circuit the
The base stage of one triode and the base stage of second triode, first triode are serially connected in alarm flash circuit, and second
Triode is serially connected in the first relay circuit, on-off of the first relay control second after electrical relay, and the second relay
The on-off at general supply end and total load end in total loop is controlled again.
In above-mentioned technical proposal, the total control circuit includes resistance R9、R11、R12、R14、R15, capacitor C3、C4、C5, two
Pole pipe D6、D7, flashing light alarm diode FD4、FD5、FD6, triode V1、V2, relay J1、J2, alarm buzzer Y and power supply press
Button AN1, flashing light alarm diode FD6After the 15th resistance and alarm buzzer Y is in parallel, three diodes of lower end parallel connection,
The negative terminal of 5th diode and the 6th diode is respectively connected to the control circuit output end of each branch, at the same be also connected to and
First socket CP of WIFI module docking1-17And CP1-18.7th diode negative terminal is connected to the collector of first triode,
The base stage of first triode is connected to an output end of overvoltage low-voltage protection circuit, two groups of contacts point of the second relay
It is not serially connected among the firewire of total loop and among zero curve.
In above-mentioned technical proposal, each branch has a control circuit, and each branch control circuit is identical,
First branch control circuit includes resistance 1R1, capacitor 1C1、1C2, diode 1D1To 1D6, silicon-controlled 1T1、1T2、1T3, button
1AN1、1AN2, relay 1J1And 1J2, 1J2One group of contact be serially connected in the centre of first branch firewire, control first branch load
The on-off at end and total loop total load end, other branches are identical with the control circuit of the first branch.
In above-mentioned technical proposal, each branch has a short circuit over-current protection circuit, each overcurrent short-circuit protection electricity
Road is all identical, and the short circuit over-current protection circuit of the first branch includes current transformer 1CL1, resistance 1R3、1R4, 1W, capacitor
1C5、1C6, diode 1D9And 1D10, current transformer is mounted on the firewire of first branch load end, secondary transformer warp
Rectification filters, and the third SCR control pole of first branch control circuit is connected to after partial pressure, third is silicon-controlled to be serially connected in first
First relay 1J of branch control circuit1In circuit, and the first relay 1J1The second relay 1J is controlled again2Work shape
State, the second relay 1J2Control the on-off at total load end in first branch load end and total loop, other each branches and first
The short circuit over-current protection circuit on road is identical.
In above-mentioned technology division, each branch has a leakage protection circuit, each complete phase of leakage protection circuit
Together, the leakage protection circuit of the first branch includes zero sequence current mutual inductor 1CL2, resistance 1R2, capacitor 1C3、1C4, diode 1D7With
1D8It connects and composes, the firewire and zero curve of first branch load end are also cross 1CL2Primary, 1CL2Secondary output is rectified to be followed by
To the second SCR control pole of first branch control circuit, and second silicon-controlled is serially connected in the first of first branch control circuit
In relay circuit, the first relay controls the working condition of the second relay, and the second relay then controls first branch load
The on-off at end and total load end in total loop;Other each branches are identical with the leakage protection circuit structure of the first branch.
In above-mentioned technical proposal, the WIFI communication module passes through input, the connecting terminal P exported1、P2With each branch
Control circuit connection communication.
A kind of long-distance monitoring method of domestic intelligent safe distribution of electric power system, total control circuit is serially connected in power supply total loop
And power supply total loop is divided into general supply end and total load end, the load end of each branch is respectively via respective control circuit control
It makes on the total load end being connected in total loop;General supply end in the input terminal connection total loop of Transformer Rectifier filter circuit,
The output voltage of Transformer Rectifier filter circuit is also used as overvoltage low-voltage protection other than as the working power of entire circuit
The sampled voltage of circuit, overvoltage low-voltage protection circuit output connection control total control circuit, total control circuit then control always
The on-off at general supply end and total load end in circuit;Control circuit, short circuit over-current protection circuit and the loophole protection of each branch
Structure, the connection relationship of circuit are identical, the short circuit over-current protection circuit of each branch and the sampling end of leakage protection circuit
It is all the current transformer and zero sequence current mutual inductor being connected on each branch circuit load end, each short circuit over-current protection circuit
Each branch control circuit, each branch control circuit output control total load end and each branch are connected with the output of leakage protection circuit
The on-off of load end;Switch state signal, the alarm status signal of each branch control circuit connect logical with WIFI communication module
Letter, WIFI communication module and server connection communication, smart phone or intelligent terminal are communicated with server, make intelligence
Mobile phone or intelligent terminal obtain the power status information of each branch control circuit by server and are monitored, intelligent hand
The control instruction of machine or intelligent terminal is communicated further through server with WIFI communication module in turn, WIFI communication mould
Block output control signal controls the power status of each branch control circuit.
In above-mentioned technical proposal, the WIFI communication module, including main control singlechip, WIFI transceiver, domestic intelligent
Distribution box switch state input interface and processing circuit, Domestic intelligent distribution box alarm status input interface and processing circuit, master
Control single-chip microcontroller output control interface and processing circuit and WIFI communication module working power circuit;WIFI transceiver connects master simultaneously
Single-chip microcontroller and server are controlled, and the communication being responsible between main control singlechip and server, WIFI transceiver receive and parse through clothes
Business device is transmitted through the instruction come, issues main control singlechip;The control signal of main control singlechip output is exported by main control singlechip to be controlled
The switching circuit of interface and processing circuit connection control Domestic intelligent distribution box processed, and the switch state of Domestic intelligent distribution box is believed
Number and alarm status signal pass through respectively switch state input interface and processing circuit and alarm status input interface and processing electricity
Road is connected to main control singlechip, and main control singlechip is again by the switch state signal of the Domestic intelligent distribution box of these acquisitions and alarm
Status signal, which is packaged, is uploaded to server by WIFI transceiver.
In above-mentioned technical proposal, the WIFI transceiver is connected by the UART port of itself and the UART port of main control singlechip
It connects, carries out data communication.
In above-mentioned technical proposal, the control signal of the main control singlechip output shares 12 tunnels, defeated through main control singlechip
Control interface and processing circuit, data line and output wiring terminal P2-1 to P2-12 are connected to each of Domestic intelligent distribution box out
Branch control circuit.
In above-mentioned technical proposal, the main control singlechip output control interface and processing circuit include integrated circuit
74HC573 and resistance, diode Q0-Q11, wherein processing circuit is two pieces of integrated circuit 74HC573,
In above-mentioned technical proposal, the switch state signal and alarm status signal of the Domestic intelligent distribution box connect first
It is connected to input wires terminal P1-3 to P1-19, wherein 12 tunnel of switch state signal, 5 tunnel of alarm status signal, input terminal
The switch state signal and alarm status signal of sub- P1-3 to P1-19 is connected to master control list through respective exclusion, triode respectively
The input terminal of piece machine makes main control singlechip obtain the switch state signal and alarm status signal of Domestic intelligent distribution box, master control
The Domestic intelligent distribution box switch state signal of these acquisitions and alarm status signal are packaged are received and dispatched by WIFI again by single-chip microcontroller
Device is uploaded to server.
Advantage and effect:
The overvoltage failure that total loop occurs for the present invention, under-voltage failure carries out self-recovering type open circuit protection, to each
The overcurrent that branch occurs, short trouble, leak current fault carry out open circuit protection respectively, break down in total loop and each branch
When can not only onsite alarming, inform defect content, moreover it is possible to by WIFI communication module give corresponding server communication, server is again
It is communicated with smart phone or intelligent terminal, and shows defect content on smart phone or intelligent terminal, the present invention
Can not only execute-in-place control total loop and each branch on-off, moreover it is possible to use corresponding smart phone or intelligent terminal
Strange land accurately controls the on-off of each branch, and intelligence degree of the present invention is high, and defencive function is comprehensive, and installation is simple, and cost performance is high,
It should vigorously promote the use.
Specific embodiment
Specific implementation of the invention is described further with reference to the accompanying drawing:
Referring to Fig. 1, a kind of Domestic intelligent distribution box that can remotely monitor, total loop is due to total control circuit is serially connected in centre
It is divided into the general supply end and total load end of total loop, the load end of each branch is attempted by always through respective branch control circuit
On the total load end in circuit, Transformer Rectifier filter circuit input connection general supply end, the sampling of overvoltage low-voltage protection circuit
The output end of end connection Transformer Rectifier filter circuit, the output end of overvoltage low-voltage protection circuit connect the defeated of total control circuit
Enter end, the on-off at general supply end and total load end in the output connection control total loop of total control circuit;The overcurrent of each branch
The sampling end of short-circuit protection circuit and leakage protection circuit all connects on the middle current transformer at each branch circuit load end respectively, and each
The short circuit over-current protection circuit of a branch and the output end of leakage protection circuit are then respectively connected to each branch control circuit, each
The on-off at the output control of branch control circuit total load end and each branch circuit load end;It is equipped in Domestic intelligent distribution box
WIFI communication module, each branch control circuit pass through P1、P2Connecting terminal connect WIFI communication module, and with WIFI communication mould
Block carries out the control letter of Domestic intelligent distribution box switch state signal, alarm status signal and remote control home intelligent distribution box
Number communication, WIFI communication module passes through itself WIFI transceiver and server communication, server again with smart phone or intelligence
Energy terminal equipment in communication, each branch control circuit of the control signal control intelligent distribution box of WIFI communication module output, and
And then control the on-off at total load end and each branch circuit load end in Domestic intelligent distribution box.
Referring to fig. 2, Fig. 3, the present invention are a kind of with overvoltage, under-voltage protection, overcurrent, short-circuit protection, earth leakage protective, event
Hinder sound-light alarm, can on-site supervision family electricity consumption situation, moreover it is possible to the household of the functions such as electricity consumption situation of long-range monitoring family
Intelligent distribution box.Its general supply control switch, each branch power control switch, WIFI initialization mainly by cabinet, on cabinet
Button, reset button, voltmeter, indicator light, buzzer, current transformer, zero sequence current mutual inductor, magnetic latching relay, into
Connecting terminal, intelligent electric-controlled plate and WIFI communication module electrically connect composition out.Its feature is: Box Cover 1 is equipped with voltmeter
2, power supply indicator 3, hazard warning flasher 4, under-voltage fault indicator light 5, over-voltage fault indicator light 6, leak current fault indicator light 7, mistake
Stream, short trouble indicator light 8, WIFI signal indicator light 9, WIFI initial bind button 10, reset button 11, each branch connect electricity
Touch-switch 13, general supply control switch 14, the cabinet base 15 that touch-switch 12, each branch in source disconnect power supply are interior equipped with electricity
Source input terminal 16, each branch current mutual inductor 18, each branch magnetic latching relay 19, each branch zero sequence current mutual inductor 20,
It is set on each branch outlet terminal 21, buzzer 22, total loop magnetic latching relay 23 and intelligent electric-controlled plate 17, intelligent electric-controlled plate 17
There is Transformer Rectifier filter circuit, overvoltage, low-voltage protection circuit, total control circuit, each branch control circuit, each passes by
Stream, short-circuit protection circuit, each branch leakage protection circuit, WIFI communication module.
Referring to fig. 4, the circuit composition of the embodiment of the present invention is: overvoltage low-voltage protection electricity routing resistance R1To R10, electricity
Hold C1To C2, light emitting diode FD2、FD3, voltage detector IC1、IC2With NAND gate circuit IC3It constitutes, crosses, low-voltage protection electricity
The sampling on road is connected to the output end of Transformer Rectifier filter circuit, and total control circuit is by resistance R11、R12、R14、R15, capacitor C3、
C4、C5, diode D7, light emitting diode FD4、FD5, flashing diode FD6, buzzer Y, triode V1、V2, relay J1、J2Structure
At J2Two groups of contact J2-1And J2-2It is serially connected among the firewire of total loop and among zero curve respectively;The control electricity of the first branch
Routing resistance 1R1, capacitor 1C1、1C2, diode 1D1To 1D6, silicon-controlled 1T1、1T2、1T3, relay 1J1、1J2, touch-switch
1AN1、1AN2It constitutes, other each branches are identical with the control circuit of the first branch.The overcurrent of the first branch, short-circuit protection circuit by
Resistance 1R3、1R4, adjustable resistance 1W, capacitor 1C5、1C6, diode 1D9、1D10, current transformer 1CL1It constitutes, other each branches
It is identical with the short circuit over-current protection circuit of the first branch.A.C. voltmeter U is connected in parallel on general supply end, the primary of power transformer B
It is connected to general supply end through general supply control switch K, secondary is connected to current rectifying and wave filtering circuit, power supply indicator FD1Through current-limiting resistance R1Afterwards
It is connected across the output end of Transformer Rectifier filter circuit.
After closing general supply control switch K, transformer B is powered on, and the low AC voltage of B grade output is through diode
D1-D4 rectification, capacitor C6After filtering to the present invention provide DC supply, total loop general supply end without cross, under-voltage therefore
Voltage detector IC in the case where barrier, for low-voltage protection11st input pin voltage is higher than IC1Conversion voltage, IC12nd
Output pin is high level, NAND gate IC3b6th foot is also high level, the voltage detector IC for overvoltage protection21st input
Foot voltage is lower than IC2Conversion voltage, IC22nd output pin is low-voltage, and NAND gate IC3a the 8th, the 9th input pin are low level,
10th output pin is high level, IC3b5th input pin is also high level, and the 4th output pin is low level, NAND gate IC3c the 1st, the 2nd
Input pin is all low level, and the 3rd output pin is high level, this high level is through resistance R10To capacitor C3Charging, then through resistance R11It is right
Capacitor C4Charging, with C3、C4The rising of upper end voltage, triode V2 Delayed conducting, relay J1It is powered and is attracted, J1Two groups of touchings
Point J1-1And J1-2Conversion, J1-1Normally opened contact closure, capacitor C3Through resistance R12Repid discharge makes triode for charging next time
V2Delayed conducting is ready, J1-2Normally opened contact closure, the second relay J2Closure is converted to because adding positive arteries and veins charging voltage
State, J2Two groups of contact J2-1And J2-2Closed state is converted to by off-state, it will before J2 does not add negative pulse voltage
It is always maintained at this closed state, the general supply end of total loop and total load termination are logical, and the output of NAND gate IC3c the 3rd is high voltage
When, the 11st output pin of IC3d is low level, triode V1In off state.After closing general supply control switch K, first
Do not touching 1AN1Trigger controllable 1T1Before conducting, relay 1J1It is not turned on actuation, normally closed touching 1J1-1Keep magnetic
Relay 1J2In addition positive pulse voltage, 1J2Normally opened contact 1J2-1First branch load end and total load are terminated and are led to by closure,
After total load end and general supply termination are logical, first branch load is initially powered up operation, other each branches and the first branch
Working principle is identical.
Specific circuit operation principle is as follows:
The protection of overvoltage under-voltage self-recovering type: when closing general supply control switch K, if total loop existed, under-voltage
Failure, the present invention give refusal to total load end combined floodgate power transmission, and after total negative terminal connects the operation of general supply end, total loop occurred,
Under-voltage failure, the present invention will cut off the power supply at total load end immediately, to guarantee the electrical equipment at total load end not because of voltage mistake
Low or excessively high and damage, to keep away negative because of mistake, electrical safety accident and electrical fire accident caused by under-voltage failure are returned when total
After road voltage restores normal, the present invention, which automatically will terminate total load end and general supply in 15S, leads to, to ensure normal electricity consumption,
Its working principle is that: when general supply end brownout, transformer B secondary voltage is also too low therewith, through D1-D4.C6Rectifying and wave-filtering
Voltage afterwards is also and then too low, voltage detector IC1The voltage of 1st input pin is equally and then too low, works as IC11st input pin voltage
Lower than IC1Conversion voltage when, IC12nd output pin becomes low level from high level, and under-voltage fault indicator light FD2 energization brightens,
The 4th output pin of NAND gate IC3b becomes high level from low level, and the 3rd output pin of IC3c becomes low level, IC3d from high level
11 output pins become high level, first triode V from low level1Conducting, flashing diode FD6 energization flashing light alarm of alarming,
Buzzer Y, which is also powered, issues alarm, before the 3rd output pin of IC3c becomes low level, if second triode V2 is also not
Conducting, total load end also access failure general supply end, then make V2It is continually maintained in and cuts upper state, if V2 is in the conductive state,
Total load end has been turned on general supply end, then makes V2Become cutting upper state, the first relay J from state1Power-off release, J1's
Two groups of contact J1-1And J1-2Conversion, J1-1Normally-closed contact closure, by delay capacitor C3Pass through resistance R11Access V2Base report, J1-2's
Normally-closed contact closure, capacitor C5It discharges to the second relay J2, J2 is because adding negative pulse voltage due to transition status, J2Two groups of touchings
Point J2-1And J2-2Off-state is converted to by closed state, the present invention cuts off general supply end and total load end, according to practical need
It determines that under-voltage acts setting value, reasonably selects the resistance value of resistance R2, R4 further according to under-voltage movement setting value and voltage is examined
Survey device IC1Conversion voltage value, when general supply end, voltage rises to recovery value, the output valve of Transformer Rectifier filter circuit also with
Rising, when the voltage of the 1st input pin of voltage detector IC1 rises to the conversion voltage value of IC1, IC12nd output pin is by low
Level becomes high level, under-voltage malfunction indicator lamp FD2Extinguishing, the 4th output pin of NAND gate IC3b becomes low level from high level,
The 3rd output pin of IC3c becomes high level from low level, and the 11st output pin of IC3d becomes low level, first triode from high level
V1Become cutting from conducting, flashing light alarm diode FD6Power-off extinguish, buzzer Y power off stop alarm, the 3rd output pin of IC3c by
After low level becomes high level, second triode V2Delayed conducting, first relay J1It is powered and is attracted, J1Two groups of contacts
J1-1And J1-2Conversion, J1-1Normally opened contact closure, make capacitor C3It discharges through resistance R12, J1-2Normally opened contact closure, make second
Relay J2In addition positive pulse voltage and transition status, J2Two groups of contact J2-1And J2-2Closed state is converted to by off-state,
Total load end and general supply termination is logical, and when general supply end overtension, B pole tension of transformer is also excessively high therewith, through two
Pole pipe D1-D4, capacitor C6Also and then height, the voltage detector IC2 the 1st for Zenith tracking are inputted voltage after rectifying and wave-filtering
The voltage of foot is similarly and then excessively high, when IC2 the first foot voltage is higher than IC2Conversion voltage value when, IC22nd output pin is by low electricity
Flat to become high level, the 10th output pin of NAND gate IC3a becomes low level, overvoltage malfunction indicator lamp FD from high level3It is powered and becomes
It is bright.The 4th output pin of IC3b becomes high level from low level, and the 3rd output pin high level of IC3c becomes low level, and IC3d the 11st is defeated
Foot becomes high level, first triode V1 conducting, flashing light alarm diode FD from low level out6Be powered flash of light, and buzzer Y is logical
Electricity issues alarm, before the 3rd output pin of IC3c becomes low level from height, if second triode V2 is not turned on also, always
Load end also access failure general supply end, then make V2It is continually maintained in off state, if V2It is in the conductive state, total load end
Power end is had been turned on, then makes V2Off state, the first relay J are become from state1Power-off release, J1Two groups of contact J1-1
And J1-2Conversion, J1-1Normally-closed contact closure, by delay capacitor C3Pass through resistance R11Access V2Base stage, J1-2Normally-closed contact
Closure, the second relay J2 is because adding negative pulse voltage due to transition status, two groups of contact J of J22-1And J2-2Turned by closed state
It is changed to off-state, the present invention cuts off general supply end and total load end.Overvoltage acts setting value determine according to actual needs,
The resistance value of resistance R1, R3 and the conversion voltage value of voltage detector IC2 are reasonably selected further according to over-voltage movement setting value.When total
When power end voltage drops to recovery value, the 1st input pin voltage of voltage detector IC2 is lower than the conversion voltage value of IC2, IC2 the 2nd
Output pin becomes low level from high level, and the 10th output pin of NAND gate IC3a becomes high level from low level, and overvoltage failure refers to
Show that lamp FD3 power-off is extinguished, the 4th output pin of IC3b becomes low level from high level, and the 3rd output pin of IC3c becomes high electricity from low level
Flat, first triode V1 becomes ending from being connected, flashing light alarm diode FD6Power-off is extinguished, and buzzer Y power-off stops report
It is alert.Second triode V2 Delayed conducting, the first relay J1, which is powered, to be attracted, and the second relay J2 is converted because of upper positive pulse voltage
State, two groups of contacts J2-1 and J2-2 of J2 are converted to closed state by off-state, total load end and general supply are terminated logical.
Overcurrent short-circuit protection: by taking the first branch as an example, being powered in operation in the first branch, overcurrent, short circuit event such as occurs
Barrier, the induced current that the current transformer 1CL1 of the first branch is generated will increase to action value, this electric current is through diode 1D9、
1D10, resistance 1R3、1R4, adjustable resistance 1W, capacitor 1C5,1C6 triggering first branch control circuit in the silicon-controlled 1T3 of third lead
Logical, overcurrent short trouble indicator light FD5 electrified light emitting, buzzer Y, which is powered, issues alarm, while the first relay 1J1 is powered
It is attracted, two groups of contacts 1J1-1 and 1J1-2 conversion of 1J1,1J1-2Normally opened contact closure, capacitor 1C2 is to the second relay 1J2
Electric discharge, 1J2 change state because adding negative pulse voltage, and the contact 1J2-1 of 1J2 goes off state by closed state, by the
One branch circuit load end and the cutting of total load end, the normally opened contact closure of 1J1-2, the signal that first branch load end has been turned off is sent
To the socket CP of link WIFI communication module1-3, change the resistance value of adjustable resistance 1W.Just adjustable first branch load end is excessively electric
Setting value is made in flowing.The overcurrent of other each branches and the first branch, the working principle of short-circuit protection circuit are just the same.
Earth leakage protective: by taking the first branch as an example, when the first branch is powered, and leak current fault occurs in operation, the first branch zero
Sequence current transformer ICL2 generate induced current will increase to action value, this electric current through diode 1D7,1D8, capacitor 1C3,
IC4, resistance IR2 trigger silicon-controlled IT2 admittance, and leak current fault indicator light FD4 energization brightens, and buzzer Y, which is powered, issues alarm,
And leak current fault signal is sent to the socket CP1-18 of connector WIFI module, while the first relay 1J1 is powered and is attracted, 1J1
Two groups of contacts 1J1-1 and 1J1-2 conversion, 1J1-1Normally opened contact closure, 1J2 because add negative pulse voltage due to change state,
The contact 1J2-1 of 1J2 goes off state by closed state, first branch load end and total load end is cut off, 1J1-2's is normal
Contact closure is opened, the signal that first branch load end has been turned off is sent to the socket CP1-3 of link WIFI module, reasonably selects electricity
Hinder the resistance value of 1R, so that it may determine first branch load end electric leakage action value setting value.Other each branches and first branch electric leakage are protected
The working principle of protection circuit is just the same.
The control circuit of each branch: by taking the first branch as an example, after first branch load end connects the operation of total load end, when
When needing to turn off first branch load end power supply, touch-switch IAN is touched1, silicon-controlled 1T1Conducting, relay 1J1It is powered
It is attracted, 1J1Two groups of contact 1J1-1And 1J1-2Conversion, 1J1-2Normally opened contact closure, 1J2Change because adding negative pulse voltage
State disconnects first branch load end and total load end, 1JI-2Normally opened contact closure, first branch load end is had been turned off
Signal be sent to connection WIFI socket CP1-3, when needing to connect first branch load end power supply, touch touch-switch
1AN2, silicon-controlled 1T1It is become an OFF state by state, relay 1J1 power-off release, 1J1Two groups of contact 1J1-1And 1J1-2
Conversion, 1J2Change state because adding positive pulse voltage, 1J2Contact 1J2-1Closed state is become from off-state, by first
Branch circuit load end and total load termination are logical, and first branch load end is had been turned on total load end by the normally-closed contact closure of 1J1-2
Signal is sent to the socket CP of connection WIFI1-3;Other each branches are identical with the working principle of the control circuit of the first branch.
Referring to Fig. 5, Fig. 6, Fig. 7, Fig. 8, WIFI communication module of the invention, including main control singlechip, WIFI transceiver, family
With intelligent distribution box switch state input interface and processing circuit, Domestic intelligent distribution box alarm status input interface and processing electricity
Road, main control singlechip output control interface and processing circuit and WIFI communication module working power circuit;WIFI transceiver is simultaneously
Main control singlechip and server, and the communication being responsible between main control singlechip and server are connected, WIFI transceiver receives simultaneously
Resolution server is transmitted through the instruction come, and issues main control singlechip;The control signal of main control singlechip output passes through master control monolithic
Machine exports the switching circuit of control interface and processing circuit connection control Domestic intelligent distribution box, and Domestic intelligent distribution box is opened
Off status signal and alarm status signal pass through switch state input interface and processing circuit and alarm status input interface respectively
And processing circuit is connected to main control singlechip, main control singlechip again believes the switch state of the Domestic intelligent distribution box of these acquisitions
Number and alarm status signal be packaged and server be uploaded to by WIFI transceiver.The UART that the WIFI transceiver passes through itself
Mouth is connect with the UART port of main control singlechip, carries out data communication, and the control signal of the main control singlechip output shares 12
Road exports control interface through main control singlechip and processing circuit, data line and output wiring terminal P2-1 to P2-12 is connected to house
Main control circuit and each branch control circuit with intelligent distribution box, the main control singlechip output control interface and processing electricity
Road includes integrated circuit 74HC573 and resistance, diode Q0-Q11, wherein and processing circuit is two pieces of integrated circuit 74HC573,
The switch state signal and alarm status signal of the Domestic intelligent distribution box are first connected to input wires terminal P1-3 extremely
P1-19, wherein 12 tunnel of switch state signal, 5 tunnel of alarm status signal, the switch state of input wires terminal P1-3 to P1-19
Signal and alarm status signal are connected to the input terminal of main control singlechip through respective exclusion, triode respectively, make master control monolithic
Machine obtains the switch state signal and alarm status signal of Domestic intelligent distribution box, and main control singlechip is again by the household of these acquisitions
Intelligent distribution box switch state signal and alarm status signal, which are packaged, is uploaded to server, the service by WIFI transceiver
Device is communicated with smart phone or intelligent terminal.
With reference to the accompanying drawing 6,7,8, WIFI communication module of the invention is further described in detail:
Instruction execution and the data acquisition of WIFI communication module are all completed by single-chip microcontroller U2(STC15W404S), and WIFI is received
Send out device U6(ESP-12E) it is responsible for the communication between server, resolution server is transmitted through the instruction come and gives U2 and executes and beat
It wraps collected data and uploads onto the server.U6 by the UART port of UART port (Pin7, Pin16) and U2 (Pin24,
Pin25 data communication) is carried out.
The output control of WIFI communication module shares 12 tunnels, and U6 sends U2 to after receiving instruction, through circuit transmission, finally by
Terminals P 2-1 to P2-12 output.Its signals transmission is by taking the first via as an example, and after U2 is analyzed the instruction, discovery will disconnect first
Way switch, then the Pin40 of U2 exports high level, and the Pin 6 of the Pin9 input high level of U4, U2 exports low level, the Pin12 of U4
High level is become from high-impedance state, using resistance R29, is output to high level to the Pin1 of output terminal P2, the first way switch is disconnected
It opens, then the Pin6 of U2 exports high level, and the Pin12 of U4 restores high-impedance state, and the first way switch opening operation is completed.If U2 is parsed
After instruction, discovery will be closed the first way switch, then the Pin40 of U2 exports low level, the Pin9 input low level of U4, the Pin of U2
6 output low levels, the Pin12 of U4 become low level from high-impedance state, are low by the Pin1 that diode D18 drags down output terminal P2
Level, the first via close the switch, and then the Pin6 of U2 exports high level, and the Pin12 of U4 restores high-impedance state, and behaviour is closed in first via opening and closing
It completes.Other 11 tunnels output controls are referring to the first via.
The switch state input of WIFI communication module shares 12 tunnels, and the Pin3-Pin14 by the input terminal P1 of module is defeated
Enter, U6 is finally transmitted to by U2 packing, is retransmited to server.Input signal transmission process is by taking the first via as an example, as the Pin3 of P1
When for high level, by exclusion R18, triode Q6 is connected, the pole Q6 electrode is low level, and the Pin4 of U2 is low level, and U2 is obtained
It is to disconnect to first via switch state;With should the Pin3 of P1 be low level when, may make that the Pin4 of U2 is high level, U2 can obtain
It is closure to first via switch state.Other 11 way switch state inputs are referring to the first via.
The alarm status input of WIFI communication module shares 5 tunnels, and the Pin12-Pin16 by the input terminal P1 of module is defeated
Enter, U6 is finally transmitted to by U2 packing, is retransmited to server.Input signal transmission process is alerted by taking the first via as an example, when P1's
When Pin12 is high level, by diode D4, exclusion R4, triode Q1 is connected, the pole Q1 electrode is low level, the Pin34 of U2
For low level, it is normal that U2, which obtains first via alarm status,;With should P1 Pin12 be low level when, may make the Pin34 of U2
For high level, first via alarm status is can be obtained to break down in U2.Alarm status input in other 4 roads is referring to the first via.