The content of the invention
The purpose of the present invention is in view of the shortcomings of the prior art, so as to provide a kind of design science, practical, user
Just, detection efficiency is high and the good ammeter of Detection results is visited one house after another wiring testing device;The ammeter is based on present invention also offers one kind
Visit one house after another the detection method of wiring testing device.
To achieve these goals, the technical solution adopted in the present invention is:A kind of ammeter is visited one house after another wiring testing device, it
There is provided main frame and signal feedback slave including signal, the signal provide main frame include main frame MCU and respectively with the main frame
Host keyboard, host communication module, host display and the host power supply of MCU connections, the main frame MCU are also associated with least one
Road signal output apparatus, the signal output part of the signal output apparatus is used for the input for connecting transmission line of electricity;The signal
Slave keyboard, slave communication module, the slave that feedback slave includes slave MCU and is connected respectively with the slave MCU are shown
Device and from electromechanical source, the slave MCU is also associated with signal feedback circuit, and the signal receiving end of the signal feedback circuit is used for
Connect the output end of transmission line of electricity;In use, the signal provides main frame and signal feedback slave is respectively connected to power transmission line
The two ends on road, the signal provides main frame and judges whether to visit one house after another according to the change of the signal output apparatus, the signal feedback
Slave according to the change of the signal feedback circuit judge zero live wire whether reversal connection.
Based on above-mentioned, the signal output apparatus includes optocoupler U1 and optocoupler U2, the colelctor electrode of the optocoupler U1 and described
Optocoupler U2 colelctor electrode connects the I/O interfaces of the main frame MCU, the colelctor electrode connection resistance R1 of optocoupler U1 one end, institute
State resistance R1 another termination+5V voltages, the anode connection resistance R5 of optocoupler U1 one end, the other end of the resistance R5
+ 5V voltages are connect, the colelctor electrode connection resistance R2 of optocoupler U2 one end, another termination+5V voltages of the resistance R2 are described
The minus earth of optocoupler U1 emitter stage, the emitter stage of the optocoupler U2 and the optocoupler U2, the negative electrode of the optocoupler U1 and institute
The anode for stating optocoupler U2 is used as the signal output part of the signal output apparatus.
Based on above-mentioned, anode and the light of the signal feedback circuit including optocoupler U5 and optocoupler U6, the optocoupler U5
Coupling U6 anode is used as the signal receiving end of the signal feedback circuit, the anode connection optocoupler U6 of optocoupler U5 the moon
Pole, the negative electrode of the optocoupler U5 connects the anode of the optocoupler U6, coupling U6 current collection described in the colelctor electrode and light of the optocoupler U5
Pole connects+5V voltages respectively, and the emitter stage of the optocoupler U5 is grounded by resistance R7, and the emitter stage of the optocoupler U6 passes through resistance R8
Ground connection, the emitter stage of the optocoupler U5 and the optocoupler U6 emitter stage connect the I/O interfaces of the slave MCU.
Based on above-mentioned, the main frame MCU is connected with main frame memory module, and the slave MCU is connected with slave memory module.
The present invention is compared with the prior art with prominent substantive distinguishing features and significantly progressive, specifically, bag of the invention
Include signal and main frame and signal feedback slave are provided, the signal, which provides main frame, at least includes signal output apparatus, the letter all the way
Number feedback slave include signal feedback circuit;In use, being powered off for the user for needing to detect, then it will believe described in multichannel
Number output circuit connects the power transmission line in the input of different user transmission line of electricity, the signal feedback slave accessing user room
Road output end, such as socket, are then judged, signal provides main frame first and signal feedback slave carries out the logical of user profile
News are exchanged, it is ensured that detection user profile is consistent, and then the signal provides main frame and sentenced according to the change of the signal output apparatus
It is disconnected whether to visit one house after another, the signal feedback slave according to the change of the signal feedback circuit judge zero live wire whether reversal connection, and with
This judge transmission line of electricity whether normal operating conditions;The furtherly optocoupler U1 according to the signal output apparatus and described
Optocoupler U2 change carries out judgement of visiting one house after another, and is according to optocoupler U5 in the signal feedback circuit and the optocoupler U6 change judgement
No zero live wire reversal connection;It has the advantages that design science, practical, easy to use, detection efficiency are high and Detection results are good.
A kind of detection method for wiring testing device of being visited one house after another based on ammeter, it comprises the following steps:
Step 1, key entry user profile, provide main frame to the signal by the host keyboard and key in user profile, lead to
Cross the slave keyboard and key in user profile to signal feedback slave;
Step 2, access transmission line of electricity, the signal provide main frame and terminated by the signal output of the signal output apparatus
Enter the input of transmission line of electricity, the signal provides main frame to be believed by the signal transmission line of electricity to transmission line of electricity output detection
Number;
Transmission line of electricity output end in step 3, transmission line faultlocating, the signal feedback slave accessing user room, when
When the signal provides Host Detection and has electric current to the transmission line of electricity, the signal provide main frame and the signal feed back from
Machine carries out the communication of user profile, confirms whether user profile consistent, if user profile is consistent, the signal provide main frame according to
The change of the signal output apparatus judges whether to visit one house after another, and the signal feeds back change of the slave according to the signal feedback circuit
Judge zero live wire whether reversal connection, and with this judge transmission line of electricity whether normal operating conditions;
Step 4, repetition transmission line faultlocating, the signal feedback slave are accessed in next user room, repeat step
3。
Based on above-mentioned, the state of the transmission line of electricity in the step 3 includes following normal operating conditions:
Three poles of state 1, the optocoupler U1 fed back without the signal in slave access, signal output apparatus described in every road
Pipe and the optocoupler U2 triode end respectively;
State 2, nothing are visited one house after another, the signal feedback slave accessing user room, wherein all the way in the signal output apparatus
The optocoupler U1 triode and the triode ON of the optocoupler U2, and the colelctor electrode of the optocoupler U1 and the optocoupler U2
Colelctor electrode be in low level, signal output apparatus described in other roads be state 1;
State 3, zero live wire are without reversal connection, the signal feedback slave accessing user room, institute in the signal feedback circuit
The triode ON and emitter stage for stating optocoupler U5 are in high level, and the triode of the optocoupler U6 ends and emitter stage is in low electricity
It is flat.
The detection method provides main frame in transmission line of electricity input offer detection voltage and detection signal using the signal,
The signal feedback slave accessing user room, the two carries out user information exchange, and according to the signal output apparatus and institute
The change for stating signal feedback circuit carries out the judgement of Research Work of Power Transmission Line state.
Embodiment
Below by embodiment, technical scheme is described in further detail.
As shown in Figure 1, Figure 2, Figure 3 and Figure 4, a kind of ammeter is visited one house after another wiring testing device, it include signal provide main frame and
Signal feeds back slave, and the signal accesses the input of transmission line of electricity, the signal feedback slave access when providing Host Detection
Socket in the output end of transmission line of electricity, such as user room;Simultaneously autotelic power-off is carried out for the user for needing to detect, it is ensured that
The uninterrupted electricity consumption of other users, had both met the demand of transmission line faultlocating, and user power utilization requirement is met again.
The signal provides main frame and led to including main frame MCU and the host keyboard being connected respectively with the main frame MCU, main frame
Interrogate module, host display and host power supply;Main frame MCU described in the present embodiment is also associated with two paths of signals output circuit, inspection
During survey, the signal output part of signal output apparatus described in two-way connects the input of two user's transmission lines of electricity respectively.The master
Machine MCU has the functions such as storage, signal acquisition, and the host keyboard is used for the user profile of each user of typing, user letter
Breath includes floor, room number etc., and the host display is used to show user profile and the work shape per road signal output apparatus
State.
The signal feedback slave includes slave MCU and the slave keyboard being connected respectively with the slave MCU, slave lead to
Interrogate module, slave display and from electromechanical source, the slave MCU is also associated with signal feedback circuit, during detection, and the signal is anti-
Signal receiving end accessing user's indoor socket of current feed circuit.The slave MCU has a function such as storage, signal acquisition, it is described from
Switch disk is used for the user profile of each user of typing, and the user profile includes floor, room number etc., and the slave display is used
In display user profile and the working condition per road signal output apparatus.
In use, the signal provides the input that main frame is respectively connected to transmission line of electricity, the signal provides main frame and passed through
After signal transmission line of electricity output detection signal, signal feedback slave access wherein user's indoor socket, first with
The signal provides main frame and carries out user profile confirmation, it is ensured that detection room user profile is consistent, and then the signal provides master
Machine judges whether to visit one house after another according to the change of the signal output apparatus, and the signal feeds back slave according to the signal feedback circuit
Change judge zero live wire whether reversal connection, and with this judge transmission line of electricity whether normal operating conditions.
Specific signal output apparatus is provided in this implementation, as shown in Fig. 2 the signal output apparatus includes light all the way
Coupling U1 and optocoupler U2, the optocoupler U1 colelctor electrode connect the I/O interfaces MCU_InL1 of the main frame MCU, the optocoupler U2's
Colelctor electrode connects I/O the interfaces MCU_InN1, the optocoupler U1 of main frame MCU colelctor electrode connection resistance R1 one end, institute
State resistance R1 another termination+5V voltages, the anode connection resistance R5 of optocoupler U1 one end, the other end of the resistance R5
+ 5V voltages are connect, the colelctor electrode connection resistance R2 of optocoupler U2 one end, another termination+5V voltages of the resistance R2 are described
The minus earth of optocoupler U1 emitter stage, the emitter stage of the optocoupler U2 and the optocoupler U2, the negative electrode conduct of the optocoupler U1
The signal output part Out_L1, the optocoupler U2 of the signal output apparatus anode as the signal output apparatus signal
Output end Out_N1.
As shown in figure 3, signal output apparatus described in two tunnels includes optocoupler U3 and optocoupler U4, the optocoupler U3 colelctor electrode connect
The colelctor electrode for meeting I/O the interfaces MCU_InL12, the optocoupler U4 of the main frame MCU connects the I/O interfaces of the main frame MCU
MCU_InN12, the optocoupler U3 colelctor electrode connection resistance R3 one end, another termination+5V voltages of the resistance R3 are described
Optocoupler U3 anode connection resistance R6 one end, another termination+5V voltages of the resistance R6, the colelctor electrode of the optocoupler U4 connects
Connecting resistance R4 one end, another termination+5V voltages of the resistance R4, the emitter stage of the optocoupler U3, the hair of the optocoupler U4
The minus earth of emitter-base bandgap grading and the optocoupler U4, the negative electrode of the optocoupler U3 as the signal output apparatus signal output part
Out_L12, the optocoupler U4 anode as the signal output apparatus signal output part Out_N2.
Transmission of electricity of this implementation by the signal output part Out_L1 and the signal output part Out_N1 accessing users 1
Line input, passes through the signal output part Out_L12 and the power transmission line of the signal output part Out_N12 accessing users 2
Road input.
Wherein main frame MCU I/O interfaces MCU_InL1, MCU_InN1, MCU_InL12 and MCU_InN12 working condition
Shown by host display, be easy to staff to judge whether transmission line of electricity visits one house after another.
Specific signal feedback circuit is provided in the present embodiment, as shown in figure 4, the signal feedback circuit includes optocoupler
U5 and optocoupler U6, the optocoupler U5 anode are used as the signal receiving end InL of the signal feedback circuit, the sun of the optocoupler U6
Pole connects the negative electrode of the optocoupler U6, institute as the signal receiving end InN, the optocoupler U5 of the signal feedback circuit anode
The negative electrode for stating optocoupler U5 connects the anode of the optocoupler U6, the colelctor electrode difference of coupling U6 described in the colelctor electrode and light of the optocoupler U5
+ 5V voltages are connect, the emitter stage of the optocoupler U5 is grounded by resistance R7, and the emitter stage of the optocoupler U6 is grounded by resistance R8,
The emitter stage connection that the emitter stage of the optocoupler U5 connects I/O the interfaces MCU_InL, the optocoupler U6 of the slave MCU is described
Slave MCU I/O interfaces MCU_InN.
User 1 is sequentially ingressed into by signal receiving end InL and signal receiving end InN in the present embodiment, the interior of user 2 is inserted
Seat.
Wherein slave MCU I/O interfaces MCU_InL and MCU_InN working condition shown by slave display,
Be easy to staff judge transmission line of electricity whether zero live wire reversal connection.
During specific detection, fixed point power-off is carried out to user 1 and user 2 first, then provided the signal in main frame
The signal output apparatus connects the transmission line of electricity of user 1 all the way, and signal output apparatus described in two tunnels connects the power transmission line of user 2
Road.
First, initial setting up is carried out, now the access of no signal feedback slave, if signal provides main frame normal work, all the way
The signal output part Out_L1 in the signal output apparatus suspends, and diode no current passes through in optocoupler U1, optocoupler U1
Interior triode cutoff collector high level, the I/O interface MCU_InL1 high level of the main frame MCU;The signal output part
Out_N1 suspends, and diode no current passes through in optocoupler U2, triode cutoff collector high level in optocoupler U2, the main frame
MCU I/O interface MCU_InN1 high level.Meanwhile, signal output part Out_L12 described in signal output apparatus described in two tunnels hangs
Floating, the signal output part Out_N12 suspends.It is abnormal that on the contrary then signal provides main frame.
2nd, visit one house after another detection, the signal is fed back to the indoor socket of slave accessing user 1, now the signal provides master
Machine and signal feedback slave carry out the communication of user profile, it is ensured that the two is in the transmission line of electricity of same user, now deposits
In following four working condition:If 1. main frame MCU I/O interfaces MCU_InL1 and main frame MCU I/O interfaces MCU_InN1 distinguish
In low level, and signal output apparatus described in two tunnels is in original state, then proves transmission line of electricity without visiting one house after another;Now signal is carried
5V voltages are provided for main frame, diode in the resistance R5, the optocoupler U1, diode, the optocoupler U2 in the optocoupler U5
Interior diode formation current loop, produces triode ON colelctor electrode in 10mA electric currents, optocoupler U1 and is in low level, optocoupler U2
Triode ON colelctor electrode is in low level.
If 2. main frame MCU I/O interfaces MCU_InL12 is in low level, main frame MCU I/O interfaces MCU_InN1 is in
Low level, then prove that user 1 visits one house after another with the single live wire of user 2;Now signal provides main frame and provides 5V voltages, the resistance R6, institute
Diode in optocoupler U3, diode in the optocoupler U5, diode formation current loop in the optocoupler U2 are stated, 10mA electricity is produced
Triode ON colelctor electrode is in triode ON colelctor electrode in low level, optocoupler U2 and is in low level in stream, optocoupler U3.
If 3. main frame MCU I/O interfaces MCU_InL1 is in low level, main frame MCU I/O interfaces MCU_InN12 is in
Low level, then prove user 1 with being visited one house after another for 2 single zero lines;Now signal provides main frame and provides 5V voltages, the resistance R5, institute
Diode in optocoupler U1, diode in the optocoupler U5, diode formation current loop in the optocoupler U4 are stated, 10mA electricity is produced
Triode ON colelctor electrode is in triode ON colelctor electrode in low level, optocoupler U4 and is in low level in stream, optocoupler U1.
If 4. main frame MCU I/O interfaces MCU_InL12 is in low level, main frame MCU I/O interfaces MCU_InN12 is in
Low level, then prove that user 1 visits one house after another with the live wire of user 2 zero;Now signal provides main frame and provides 5V voltages, the resistance R6, institute
Diode in optocoupler U3, diode in the optocoupler U5, diode formation current loop in the optocoupler U4 are stated, 10mA electricity is produced
Triode ON colelctor electrode is in triode ON colelctor electrode in low level, optocoupler U4 and is in low level in stream, optocoupler U3.
3rd, zero live wire reversal connection is detected, there is following three kinds of states:1. signal feedback slave is not inserted in accessing user room
During seat, the signal receiving end InL is in diode no current in suspended state, optocoupler U5 and passed through in cut-off state emitter stage
For the I/O interfaces MCU_InL output low levels of low level, now the slave MCU;The signal receiving end InN, which is in, to suspend
Diode no current passes through the I/O in cut-off state transmitting extremely low level, now the slave MCU in state, optocoupler U6
Interface MCU_InN exports low level.
2. during signal feedback slave 1 indoor socket of accessing user, if slave MCU I/O interface pins MCU_InL is defeated
Go out high level, slave MCU I/O interfaces MCU_InN output low levels then prove the live wire of 1 transmission line of electricity of user zero without reversal connection;This
When main frame output 10mA electric currents pass through signal receiving end InL, optocoupler U5 anode, optocoupler U5 negative electrode, signal receiving end InN shapes
Into loop, triode ON in optocoupler U5, triode cut-off in optocoupler U6.
3. during signal feedback slave 1 indoor socket of accessing user, if slave MCU I/O interfaces MCU_InN outputs are high
Level, slave MCU I/O interfaces MCU_InL output low levels, then prove the live wire of 1 transmission line of electricity of user zero without reversal connection;Now lead
Machine output 10mA electric currents are formed back by signal receiving end InN, optocoupler U5 anode, optocoupler U5 negative electrode, signal receiving end InL
Triode ends in triode ON in road, optocoupler U6, optocoupler U5.
The ammeter needs signal to provide main frame and signal feedback when visiting one house after another wiring testing device to user's transmission line faultlocating
Slave cooperates, and provides transmission line of electricity offer power supply and detection signal of the main frame to two users using signal, then successively
Signal is fed back to the indoor socket of slave accessing user 1 and user 2, is visited one house after another judge with zero live wire reversal connection successively.
For the ease of carrying out the detection of a large number of users, the main frame MCU is connected with main frame memory module, the slave MCU
It is connected with slave memory module.
Elaborate that the ammeter visits one house after another wiring testing device, it is necessary to say using 2 two users of user 1 and user in the present embodiment
Bright is that can set signal output apparatus described in multichannel in other embodiments, and signal output apparatus connects different main frames
MCU I/O interfaces, host display shows the working condition of I/O interfaces respectively, is easy to carry out together multiple users of same floor
When detect;Signal feedback slave accesses the indoor socket of different user with this during detection, and user profile uniformity is carried out after access
Confirm, the detection then visited one house after another in the manner described above with zero live wire reversal connection, quickly timely detect that same floor difference is used
The problem of between family with the presence or absence of whether there is zero live wire reversal connection in visit one house after another problem, and user room.
Wiring testing device is visited one house after another present invention also offers a kind of detection method based on the ammeter, it comprises the following steps:
Step 1, key in user profile, by the host keyboard to the signal provide main frame key in user profile, by it is described from
Switch disk keys in user profile to signal feedback slave;Ensure that the signal provides main frame and signal feedback slave point
User profile is not stored.
Step 2, access transmission line of electricity, the signal provide main frame and terminated by the signal output of the signal output apparatus
Enter the input of transmission line of electricity, the signal provides main frame to be believed by the signal transmission line of electricity to transmission line of electricity output detection
Number;During detection, signal provides main frame, and wherein signal output current is operated all the way.
Transmission line of electricity output end in step 3, transmission line faultlocating, the signal feedback slave accessing user room, when
When the signal provides Host Detection and has electric current to the transmission line of electricity, the signal provide main frame and the signal feed back from
Machine carries out the communication of user profile, confirms whether user profile consistent, if user profile is consistent, the signal provide main frame according to
The change of the signal output apparatus judges whether to visit one house after another, and the signal feeds back change of the slave according to the signal feedback circuit
Judge zero live wire whether reversal connection, and with this judge transmission line of electricity whether normal operating conditions.
Step 4, repetition transmission line faultlocating, the signal feedback slave are accessed in next user room, repeat step
3。
Based on above-mentioned, the state of the transmission line of electricity in the step 3 includes following normal operating conditions:
Three poles of state 1, the optocoupler U1 fed back without the signal in slave access, signal output apparatus described in every road
Pipe and the optocoupler U2 triode end respectively;
State 2, nothing are visited one house after another, the signal feedback slave accessing user room, wherein all the way in the signal output apparatus
The optocoupler U1 triode and the triode ON of the optocoupler U2, and the colelctor electrode of the optocoupler U1 and the optocoupler U2
Colelctor electrode be in low level, signal output apparatus described in other roads be state 1;
State 3, zero live wire are without reversal connection, the signal feedback slave accessing user room, institute in the signal feedback circuit
The triode ON and colelctor electrode for stating optocoupler U5 are in high level, and the triode of the optocoupler U6 ends and colelctor electrode is in low electricity
It is flat.
The detection method provides main frame in transmission line of electricity input offer detection voltage and detection signal using the signal,
The signal feedback slave accessing user room, the two carries out user information exchange, and according to the signal output apparatus and institute
The change for stating signal feedback circuit carries out the judgement of Research Work of Power Transmission Line state.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent
The present invention is described in detail with reference to preferred embodiments for pipe, those of ordinary skills in the art should understand that:Still
The embodiment of the present invention can be modified or equivalent substitution is carried out to some technical characteristics;Without departing from this hair
The spirit of bright technical scheme, it all should cover among claimed technical scheme scope of the invention.