A kind of circuit effect method of three cores power-line plug line
Technical field
The present invention relates to the technical field of three core power supply lines, the circuit effect side of specifically a kind of three cores power-line plug line
Method.
Background technique
Power-line plug line is widely applied to household electric appliances.
In order to improve efficiency, reduce cost, power-line plug line is often manufactured by the way of manually producing in batches, still
By the way of manually producing in batches, there are the poles L, the pole N of power-line plug line when crimping and G to be easy to connection error, does not have
Crimping is corresponded, there are substandard products so as to cause the power-line plug line of production.
The mode of traditional detection power-line plug line is, first, being closed using logical tester to the logic of tested finished product
System is detected with on-off.But this equipment is not the detection directed entirely to three cores, power-line plug line harness, and
Its connection is cumbersome, and equipment cost is higher;Second, being carried out one by one using on-off pen to each road of three-prong plug power supply line harness
Detection, still, often, intensity is big for detection, causes the waste of cost of labor to factory, and detection efficiency is low, artificial to examine
It is higher to survey error rate.
Summary of the invention
It is an object of the invention to: in view of the above shortcomings of the prior art, provide a kind of easy to operate, automatic detection,
Detection efficiency is high, human factor is avoided to lead to the circuit effect side for occurring three core power-line plug lines of detection mistake in detection
Method.
The technical solution adopted by the present invention is that a kind of circuit effect method of three cores power-line plug line, is equipped with corresponding
Effect automatic control device, including device noumenon, normally opened relay and matched power supply and resistance, if the three cores power supply line is inserted
Tri- tunnel head Xian is denoted as firewire, zero curve, ground wire respectively, when the three cores power-line plug line effect automatic control device
When effect, firewire both ends, zero curve both ends, the ground wire both ends of the three cores power-line plug line are respectively corresponded and the power supply
The conducting of positive and negative the two poles of the earth, the anode of the power supply respectively with the firewire, zero curve, ground wire corresponding end between be respectively connected with resistance,
The cathode of the power supply respectively with the firewire, zero curve, ground wire corresponding end between be respectively connected with normally opened relay, described device
Ontology acquires respectively between the firewire both ends of the three cores power-line plug line, the electricity between zero curve both ends, between ground wire both ends
Ordinary mail number, the circuit effect method comprise the following sequential steps:
Step 1. described device ontology issues control signal, and three normally opened relays of control are in closed state, the dress
Ontology is set to acquire respectively between the firewire both ends of the three cores power-line plug line, between zero curve both ends, between ground wire both ends
Level signal,
If-described device ontology is distinguished between the firewire both ends of the collected three cores power-line plug line, zero curve both ends it
Between, the level signal between ground wire both ends low level is become by high level, then sequentially enter step 2;
If between the firewire both ends of the collected three cores power-line plug line of-described device ontology, between zero curve both ends,
At least one is still high level signal for level signal between ground wire both ends, then described device ontology issues control signal, control
Three normally opened relays of system reset and issue alarm signal;
Step 2. described device ontology issues control signal, controls described corresponding to three core power-line plug lines described in the first via
Normally opened relay is in closed state, and the normally opened relay corresponding to three core power-line plug lines described in other two-way is in
Normally open,
If the level signal between three core power-line plug line both ends described in the collected first via of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug line both ends described in other two-way is still high level,
Then sequentially enter step 3;
If the level signal between three core power-line plug line both ends described in the collected first via of-described device ontology is still
High level, and/or, level signal between three core power-line plug line both ends described in other two-way at least three core all the way
Level signal between power-line plug line both ends is to become low level by high level, then described device ontology issues control letter
Number, three normally opened relays of control reset and issue alarm signal;
Step 3. described device ontology issues control signal, controls described corresponding to three core power-line plug lines described in the second tunnel
Normally opened relay is in closed state, and the normally opened relay corresponding to three core power-line plug lines described in other two-way is in
Normally open,
If the level signal between three core power-line plug line both ends described in collected second tunnel of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug line both ends described in other two-way is still high level,
Then sequentially enter step 4;
If the level signal between three core power-line plug line both ends described in collected second tunnel of-described device ontology is still
High level, and/or, level signal between three core power-line plug line both ends described in other two-way at least three core all the way
Level signal between power-line plug line both ends is to become low level by high level, then described device ontology issues control letter
Number, three normally opened relays of control reset and issue alarm signal;
Step 4. described device ontology issues control signal, controls described corresponding to three core power-line plug lines described in third road
Normally opened relay is in closed state, and the normally opened relay corresponding to three core power-line plug lines described in other two-way is in
Normally open,
If the level signal between three core power-line plug line both ends described in the collected third road of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug line both ends described in other two-way is still high level,
Then described device ontology issues qualified indication signal, and sequence enters step 5;
If the level signal between three core power-line plug line both ends described in the collected third road of-described device ontology is still
For high level, and/or, level signal between three core power-line plug line both ends described in other two-way at least all the way described three
Level signal between core power-line plug line both ends is to become low level by high level, then described device ontology issues control letter
Number, three normally opened relays of control reset and issue alarm signal;
Step 5. described device ontology issues control signal, controls described normal corresponding to three core power-line plug lines described in three tunnels
Open relay is in closed state,
If the level signal between three core power-line plug line both ends described in this collected three tunnel of described device ontology is by low
Level becomes high level, then described device ontology issues control signal, and the normally opened relay of control three resets, and stops
Issue qualified indication signal.
Preferably ,-and when the unused effect automatic control device effect of the three cores power-line plug line, the dress
It sets ontology and issues the standby indication signal of unlatching;
- when the three cores power-line plug line effect automatic control device effect, described device ontology, which issues, to interrupt
Standby indication signal.
Preferably, in step 1, if the firewire both ends of the collected three cores power-line plug line of described device ontology
Between, level signal between zero curve both ends, between ground wire both ends at least one be still high level, then described device ontology
Time delay module issues time delayed signal;
Alternatively, in step 2, if between three core power-line plug line both ends described in the collected first via of described device ontology
Level signal be still be high level, and/or, the level signal between three core power-line plug line both ends described in other two-way is at least
Having the level signal between three cores power-line plug line both ends all the way is to become low level by high level, then described device sheet
The time delay module of body issues time delayed signal;
Alternatively,
In step 3, if level between three core power-line plug line both ends described in collected second tunnel of described device ontology
Signal is still high level, and/or, the level signal between three core power-line plug line both ends described in other two-way is at least all the way
The level signal at three cores power-line plug line both ends is to become low level by high level, then the delay mould of described device ontology
Block issues time delayed signal;
Alternatively, in step 4, if between three core power-line plug line both ends described in the collected third road of described device ontology
Level signal be still be high level, and/or, the level signal between three core power-line plug line both ends described in other two-way is at least
Having the level signal between three cores power-line plug line both ends all the way is to become low level by high level, then described device sheet
The time delay module of body issues time delayed signal.
Preferably, the device noumenon of the effect automatic control device is single-chip microcontroller.
The beneficial effects of the present invention are: operation of the present invention is simple, automatic detection, detection efficiency height, detection accuracy is high, avoids
Human factor leads to the detection mistake occurred in detection.
Detailed description of the invention
The present invention will be further described below with reference to the drawings.
Fig. 1 is circuit function block diagram of the invention.
Fig. 2 is the structural schematic diagram of three core power-line plug lines.
Code name meaning in figure: 1-power-line plug line;11-power-line plug end sockets;111-the end L plugs;112—N
Hold plug;113-ground terminal plugs;12-power line jack end sockets;121-the end L jacks;122-N-terminal jacks;123-ground terminals
Jack.
Specific embodiment
Referring to shown in Fig. 1 to Fig. 2: the present invention is a kind of circuit effect method of three core power-line plug lines, is equipped with corresponding
Effect automatic control device, including device noumenon, normally opened relay and matched power supply and resistance, if the three cores power supply line
Plug cord 1(includes power-line plug end socket 11, power line jack end socket 12 and coupling part therebetween) three tunnels difference
Be denoted as firewire (crimping circuit between the end L plug 111 and the end L jack 121), zero curve (N-terminal plug 112 and N-terminal jack 122 it
Between crimping circuit), ground wire (crimping circuit between ground terminal plug 113 and ground terminal jack 123).Wherein, the power supply is three
A is DC5V, and the resistance requires to select according to practical effect, meets effect.
When three cores power-line plug line, the 1 unused effect automatic control device effect, described device ontology hair
Standby indication signal is opened out;
When the three cores power-line plug line 1 effect automatic control device effect, described device ontology, which issues, to be interrupted
Standby indication signal.
When the three cores power-line plug line 1 effect automatic control device effect, the three cores power supply line is inserted
Firewire both ends, zero curve both ends, the ground wire both ends of head line 1 are respectively corresponded to be connected with positive and negative the two poles of the earth of the power supply, the power supply
Anode respectively with the firewire, zero curve, ground wire corresponding end (the resistance one end being connected with positive pole) between be all connected with
There is resistance, (what is be connected with power cathode is normally opened with the corresponding end of the firewire, zero curve, ground wire respectively for the cathode of the power supply
Relay one end) between be respectively connected with normally opened relay, described device ontology acquires the three cores power-line plug line 1 respectively
Level signal between firewire both ends, between zero curve both ends, between ground wire both ends,
The circuit effect method comprises the following sequential steps:
Step 1. described device ontology issues control signal, and three normally opened relays of control are in closed state, the dress
Ontology is set to acquire respectively between the firewire both ends of the three cores power-line plug line 1, between zero curve both ends, between ground wire both ends
Level signal,
If-described device ontology, which is distinguished, (refers to the end L plug between the firewire both ends of the collected three cores power-line plug line 1
Any two points or multiple spot that crimp on circuit between 111 and the end L jack 121, it is preferred that the end L plug 111, the end L jack 121
Two o'clock), between zero curve both ends (refer to any two points or multiple spot that crimp on circuit between N-terminal plug 112 and N-terminal jack 122,
Preferably, N-terminal plug 112,122 two o'clock of N-terminal jack), (refer between ground terminal plug 113 and ground terminal jack 123 between ground wire both ends
Crimping circuit on any two points or multiple spot, it is preferred that ground terminal plug 113,123 two o'clock of ground terminal jack) level signal it is equal
Low level is become by high level, then sequentially enters step 2(and has been determined that three core power-line plug lines, 1 three tunnel is not broken situation);
If between the firewire both ends of the collected three cores power-line plug line 1 of-described device ontology, between zero curve both ends,
At least one is still high level signal for level signal between ground wire both ends, then described device ontology issues control signal, control
The normally opened relay reset of system three (refers to all level signals that the normally opened relay is in normally open, acquires at this time
It is high level, similarly hereinafter) and issue alarm signal;
Step 2. described device ontology issues control signal, controls institute corresponding to three core power-line plug lines 1 described in the first via
It states normally opened relay and is in closed state, the three core power-line plug 1 corresponding normally opened relays of line described in other two-way
In normally open,
If the level signal between three core power-line plug lines, 1 both ends described in the collected first via of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug lines, 1 both ends described in other two-way is still high level,
Then sequentially enter step 3;
If the level signal between three core power-line plug lines, 1 both ends described in the collected first via of-described device ontology is still
High level, and/or, level signal between three core power-line plug lines, 1 both ends described in other two-way at least all the way described three
Level signal between 1 both ends of core power-line plug line is to become low level by high level, then described device ontology issues control
Signal, three normally opened relays of control reset and issue alarm signal;
Step 3. described device ontology issues control signal, controls institute corresponding to three core power-line plug lines 1 described in the second tunnel
It states normally opened relay and is in closed state, the normally opened relay corresponding to three core power-line plug lines 1 described in other two-way
In normally open,
If the level signal between three core power-line plug lines, 1 both ends described in collected second tunnel of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug lines, 1 both ends described in other two-way is still high level,
Then sequentially enter step 4;
If the level signal between three core power-line plug lines, 1 both ends described in collected second tunnel of-described device ontology is still
High level, and/or, level signal between three core power-line plug lines, 1 both ends described in other two-way at least all the way described three
Level signal between 1 both ends of core power-line plug line is to become low level by high level, then described device ontology issues control
Signal, three normally opened relays of control reset and issue alarm signal;
Step 4. described device ontology issues control signal, controls institute corresponding to three core power-line plug lines 1 described in third road
It states normally opened relay and is in closed state, the normally opened relay corresponding to three core power-line plug lines 1 described in other two-way
In normally open,
If the level signal between three core power-line plug lines, 1 both ends described in the collected third road of-described device ontology is served as reasons
High level becomes low level, and the level signal between three core power-line plug lines, 1 both ends described in other two-way is still high level,
Then described device ontology issues qualified indication signal (being determined that three core power-line plug lines, 1 three tunnel is to correspond crimping), and
Sequence enters step 5;
If the level signal between three core power-line plug lines, 1 both ends described in the collected third road of-described device ontology is still
For high level, and/or, the level signal between three core power-line plug lines, 1 both ends described in other two-way is at least described all the way
Level signal between three core power-line plug lines, 1 both ends is to become low level by high level, then described device ontology issues control
Signal processed, three normally opened relays of control reset and issue alarm signal;
Step 5. described device ontology issues control signal, controls described normal corresponding to three core power-line plug lines described in three tunnels
Open relay is in closed state,
If the level signal between three core power-line plug line both ends described in this collected three tunnel of described device ontology is by low
Level becomes high level, then described device ontology issues control signal, and the normally opened relay of control three resets, and stops
Issue qualified indication signal.At this point, effect finishes three core power-line plug lines of explanation, next three cores power supply line is waited to insert
The effect of head line, and so on.
Preferably, in step 1, if the firewire two of the collected three cores power-line plug line 1 of described device ontology
At least one is still high level for level signal between end, between zero curve both ends, between ground wire both ends, then described device ontology
Time delay module issue time delayed signal;
Alternatively, in step 2, if between three core power-line plug lines, 1 both ends described in the collected first via of described device ontology
Level signal be still be high level, and/or, the level signal between three core power-line plug lines, 1 both ends described in other two-way
At least the level signal between three cores power-line plug line, 1 both ends is to become low level by high level all the way, then described
The time delay module of device noumenon issues time delayed signal;
Alternatively,
In step 3, if level between three core power-line plug lines, 1 both ends described in collected second tunnel of described device ontology
Signal is still high level, and/or, the level signal at least one between three core power-line plug lines, 1 both ends described in other two-way
The level signal at three core power-line plug lines, 1 both ends described in road is by high level to become low level, then described device ontology prolongs
When module issue time delayed signal;
Alternatively, in step 4, if between three core power-line plug lines, 1 both ends described in the collected third road of described device ontology
Level signal be still be high level, and/or, the level signal between three core power-line plug lines, 1 both ends described in other two-way
At least the level signal between three cores power-line plug line, 1 both ends is to become low level by high level all the way, then described
The time delay module of device noumenon issues time delayed signal.
The device noumenon of above-mentioned effect automatic control device is single-chip microcontroller.Preferably, the model of the single-chip microcontroller
PIC16F877.The model 3RH11 of normally opened relay.
In addition, above-mentioned K1, K2, K3 are normally opened relay;RB1, RB2, RB3, RB5, RB6, RD1, RD2, RD4 are drawing for single-chip microcontroller
Foot, wherein RB1 and RD1, RB2 and RD2, RB3 are used to acquire corresponding level signal for this three groups with RD4;RB5 connection alarm dress
It sets, receives alarm signal;The qualified indicator light of RB6 connection, receives qualified indication signal;Single-chip microcontroller is embedded in alarm module and delay
Module.
The above specific technical solution is only to illustrate the present invention, rather than its limitations.Although referring to above-mentioned particular technique side
Invention is explained in detail for case, those skilled in the art should understand that: it still can be to above-mentioned specific
Technical solution is modified or equivalent replacement of some of the technical features;And these are modified or replaceed, and are not made
The essence of corresponding technical solution is detached from the spirit and scope of the present invention.