CN102621439A - Device and method for detecting cable - Google Patents

Device and method for detecting cable Download PDF

Info

Publication number
CN102621439A
CN102621439A CN2012100983530A CN201210098353A CN102621439A CN 102621439 A CN102621439 A CN 102621439A CN 2012100983530 A CN2012100983530 A CN 2012100983530A CN 201210098353 A CN201210098353 A CN 201210098353A CN 102621439 A CN102621439 A CN 102621439A
Authority
CN
China
Prior art keywords
numbered
switch
loop
insert
main end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100983530A
Other languages
Chinese (zh)
Other versions
CN102621439B (en
Inventor
郑应强
朱宝
吴晓庆
薛继明
康宁民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Second Cannoneer Equipment Research Institute Zhongshi And Testing Center
Original Assignee
Second Cannoneer Equipment Research Institute Zhongshi And Testing Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Second Cannoneer Equipment Research Institute Zhongshi And Testing Center filed Critical Second Cannoneer Equipment Research Institute Zhongshi And Testing Center
Priority to CN201210098353.0A priority Critical patent/CN102621439B/en
Publication of CN102621439A publication Critical patent/CN102621439A/en
Application granted granted Critical
Publication of CN102621439B publication Critical patent/CN102621439B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention belongs to the technical field of testing, and particularly relates to a device and a method for detecting a cable. The device for detecting the cable comprises main end equipment and secondary end equipment which are connected to two ends of a cable to be detected respectively, wherein each of the main end equipment and the secondary end equipment comprises a switch array, a current supply (1), a data transmitting circuit, a data receiving current, a matching detector (2), a controller (3) and a human-machine interface (4); and the secondary end equipment also comprises a forward direction detection circuit and a reverse direction detection circuit. By the device and the method, short circuit, cable sequence and disconnection of the cable can be detected without an external communication support, and common ground points are not needed at two ends of the cable to be detected, so that the device and the method can be used for detecting the cable when the two ends of the cable are at the same position before the arrangement of the cable, and can also be used for detecting the cable when the two ends of the cable are not at the same position during or after the arrangement of the cable, and all the operations can be finished by one operator.

Description

Cable detecting device and method
Technical field
The invention belongs to technical field of measurement and test, particularly a kind of cable detecting device and method.
Background technology
The detection that polycore cable is carried out generally includes the line preface, opens circuit, short circuit (or cross-over connection, down with) detects.Or its two ends of the cable of laying possibly need utilize the pointwise of PERCOM peripheral communication guarantee condition to attempt by the operating personnel at cable two ends to its detection at a distance of tens of rice, hundreds of rice even farther, detection speed is slow, efficient is low.Attempt the speed that detects in order to improve manual pointwise, can utilize the common ground point at cable two ends, do not have the situation of common ground point, can lay a good single core cable of conducting common point is provided for the cable two ends.
Existing intelligentized multi-core cable tester utilizes processor to come the automatic Rapid Realization pointwise of pilot relay matrix to attempt; Solved slow, the inefficient problem of manual inspection speed; Improved the detection speed of polycore cable; But still need utilize outside wired or wireless equipment that communication support is provided, for the switching of relay matrix provides foundation.
Yet in some occasion, both common ground point can't be provided, be difficult to provide the communication support condition again; Thereby can't use prior art to carry out cable detection.
Summary of the invention
The objective of the invention is: a kind of communication support and common ground point of need not is provided, and the single operation personnel can fast, accurately accomplish the apparatus and method that tested cable short circuit detects, the line preface detects, opens circuit and detect.
Technical scheme of the present invention is: a kind of cable detecting device is characterized in that: it comprises: the main end equipment and one that are connected to tested cable two ends are from end equipment; Said main end equipment and said includes from end equipment: switch arrays, current source, data transmit circuit, data receiver circuit, matching detector, controller and man-machine interface;
Said switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by the tested cable core that is numbered j insert terminal, the core that is numbered j inserts switch, be numbered loop SS that j switches between normally opened contact and the normally closed contact composition that is in series; The normally closed contact of loop SS links together described in each bar branch road, constitutes the terminal A of said switch arrays, and the normally opened contact of loop SS links together described in each bar branch road, constitutes the terminal B of said switch arrays; All said loop SSes, said core insert the state of switch and control by said controller;
An electric current outflow end of said current source is connected to the terminal A of said switch arrays through an energizing switch that controlled by said controller; The electric current of said current source flows into end is connected to said switch arrays through said matching detector terminal B;
Said data transmit circuit comprises data transmit button and the data transmitter between the terminal A of another electric current outflow end that is serially connected in said current source and said switch arrays, and said data transmit button is controlled by said controller; Said data transmitter converts the digital signal that said controller sends into current impulse;
Said data receiver circuit comprises the terminal A that is serially connected in said switch arrays and Data Receiving switch and the data sink between the terminal B, and said Data Receiving switch is controlled by said controller; Said data sink is used for converting the current impulse that the said testing apparatus of the tested cable other end is sent into digital signal, and passes to the said controller of local terminal;
Said matching detector is connected the terminal B of said switch arrays and the electric current of said current source flows between the end; When said current source current outflow end and electric current flowed between the end loop conducting, said matching detector sent the successful look-at-me of expression coupling to said controller;
Said controller storage and execution trace routine; Control the state of said switch arrays, said energizing switch, said data transmit button, said Data Receiving switch; Send data to said data transmitter; Receive data from said data sink, receive the signal that said matching detector sends through its external interrupt 0 port;
Said man-machine interface is accepted the instruction and data of artificial input, and sends said controller to, receives the data that said controller provides, and shows, exports testing process and result;
Saidly also comprise: forward testing circuit and inverse detection circuit from end equipment;
Said forward testing circuit comprises the terminal A that is serially connected in said switch arrays and forward detector switch and the forward detecting device between the said terminal B, and said forward detector switch is controlled by said controller; Said forward detecting device sends current signal in the said testing apparatus of the tested cable other end, and when the terminal A of the said switch arrays of local terminal flows to said terminal B, sends forward to external interrupt 1 port of said controller and detects look-at-me;
Said inverse detection circuit comprises the terminal A that is serially connected in said switch arrays and inverse detection switch and the inverse detection device between the said terminal B, and said inverse detection switch is controlled by said controller; Said inverse detection device sends current signal in the said testing apparatus of the tested cable other end, and when the terminal B of the said switch arrays of local terminal flows to said terminal A, sends the inverse detection look-at-me to external interrupt 2 ports of said controller.
The further design of above-mentioned cable detecting device comprises: said main end equipment also comprises said forward testing circuit and said inverse detection circuit; Be said main end equipment with said identical, all can be set to main end equipment or from end equipment through said man-machine interface 4 from the end device structure
A kind of electrical cable detecting method, it uses above-mentioned cable detecting device, and may further comprise the steps, to accomplish the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, and M≤n gives the numbering of each heart yearn 1~M with the one of which end with random order, and reference numeral is connected to said said tested cable core from end equipment and inserts terminal 1~M; Said after the end device power, said controller carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; Get into the idle waiting state from said man-machine interface input latency value TW from end equipment;
Give the numbering of each heart yearn 1~M at the tested cable other end with random order, and the said tested cable core that reference numeral is connected to said main end equipment inserts terminal 1~M; After the said main end device power, said controller carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; Heart yearn through man-machine interface is imported from tested cable to said controller is counted M; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost S
Said main end device controller is carried out following short-circuit detecting program:
A1: the timer conter unit resets; Remove external interrupt 0 sign;
A2: make loop SS numbering counter N MS1=1;
A3: make loop SS numbering counter N MS2=N MS1+ 1;
A4: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch connection;
A5: be numbered N MS2Main end loop SS normally opened contact insert; Be numbered N MS2Main end line core insert switch connection;
A6: start the timer conter unit, start time length is T STiming;
A7: if the timer conter unit does not overflow, execution in step A8 then; Otherwise execution in step A10;
A8: if external interrupt 0 indicates be not set, then execution in step A7; Otherwise execution in step A9;
A9: remove external interrupt 0 sign; Record N MS1, N MS2To the core short-circuit line data are tabulated;
A10: the timer conter unit resets; Be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A11: loop SS numbering counter N MS2=N MS2+ 1; If N MS2≤M, then execution in step A5; Otherwise carry out A12;
A12: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A13: loop SS numbering counter N MS1=N MS1+ 1; If N MS1≤M-1, then execution in step A3; Otherwise execution in step A14;
A14: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A15: be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A16: the timer conter unit resets; Remove external interrupt 0 sign;
A17: tested cable short circuit detects and finishes.
A kind of electrical cable detecting method, it uses above-mentioned cable detecting device, and after accomplishing above-mentioned A0~A17 step, carries out following steps, with the line preface of accomplishing tested cable core with open circuit detection:
B0: said main end equipment gets into the random-blind matching status; Saidly waiting for T from end equipment WRetreat out idle waiting status, also get into the random-blind matching status; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2, the blind coupling loop count of largest random that the note user sets is L MAX
Said main end equipment order in the random-blind matching process is carried out following steps:
B1: the timer conter unit resets; Remove external interrupt 0 sign;
B2: random-blind coupling cycle counter N LOOP=1;
B3: effective terminal index N INDEX1=1;
B4: be numbered PortNoList [N IDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch connection;
B5: effective terminal index N INDEX2=N INDEX1+ 1;
B6: be numbered PortNoList [N INDEX2] main end loop SS normally opened contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch connection;
B7: start the timer conter unit, start time length is T LTiming; Wherein: T S<T L≤T SM (M-1)/2 is provided by manual work setting or said controller;
B8: if the timer conter unit overflows, execution in step B10 then; Otherwise execution in step B9;
B9: if external interrupt 0 indicates be set, then execution in step B16; Otherwise execution in step B8;
B10: be numbered PortNoList [N INDEX2] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch and break off;
B11: effective terminal index N INDEX2=N INDEX2+ 1; If N INDEX2≤K, then execution in step B6; Otherwise carry out B12;
B12: be numbered PortNoList [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch and break off;
B13: effective terminal index N INDEX1=N INDEX1+ 1; If N INDEX1≤(K-1), execution in step B4 then; Otherwise carry out B14;
B14: random-blind coupling cycle counter N LOOP=N LOOP+ 1, if N LOOP≤L MAX, execution in step B3 then; Otherwise carry out B15;
B15: the failure of main end random-blind coupling, said main end equipment man-machine interface prompting user adjusts N LOOPSetting value carry out random-blind coupling once more;
B16: note N MSC1=N INDEX1, N MSC2=N INDEX2Break off said energizing switch; Connect said data transmit button; The timer conter unit resets; Remove external interrupt 0 sign;
B17: main end random-blind is mated successfully, gets into the data communication state;
C0: carry out following steps from end equipment order the random-blind matching process: note is respectively N from the loop SS numbering of end equipment when random-blind is mated successfully SSC1, N SSC2
C1: the timer conter unit resets; Remove external interrupt 1, external interrupt 2 signs;
C2:: loop SS numbering counter N SS1=1;
C3: loop SS numbering counter N SS2=N SS1+ 1;
C4: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch connection from the end line core;
C5: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
C6: start the timer conter unit, start time length is T STiming;
C7: if the timer conter unit overflows, execution in step C9 then; Otherwise execution in step C8;
C8: if external interrupt 1 sign or external interrupt 2 indicate be set, then execution in step C13; Otherwise execution in step C7;
C9: the timer conter unit resets; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
C10: loop SS numbering counter N SS2=N SS2+ 1, if N SS2≤M, then execution in step C5; Otherwise carry out C11;
C11: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch from the end line core and break off;
C12: loop SS numbering counter N SS1=N SS1+ 1, if N SS1≤(M-1), execution in step C3 then; Otherwise carry out C2;
C13: the timer conter unit resets;
C14:, then carry out C15 if external interrupt 1 sign is set; Otherwise carry out C16;
C15: remove external interrupt 1 sign, note N SSC1=N SS1, N SSC2=N SS2Carry out C17;
C16: remove external interrupt 2 signs, note N SSC1=N SS2, N SSC2=N SS1Carry out C17;
C17: be numbered N SSC1Insert from end loop SS normally closed contact; Be numbered N SSC1Insert switch connection from the end line core; Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
C18: break off the forward detector switch; Break off the inverse detection switch; Connect the data receiving key;
C19: mate successfully from the end random-blind, get into the data communication state;
D0. said main end equipment and saidly all be in the data communication state in any free time after accomplishing the random-blind coupling from end equipment; Said main end equipment and saidly adopt half-duplex mode from the data communication between the end equipment, any communication process is initiated by main end equipment, saidly responds from the order of end equipment to said main end equipment transmission; The order that said main end equipment sends comprise start that the line preface detects, the inquiry of blind matching result, the inquiry of line preface testing result, wherein start the sense command of line preface be used for main end equipment with from end equipment synchronously, need be from the end device responds;
Main end equipment is carried out following steps in proper order in a communication process:
D1: said controller data transmitting element sends command frame total data byte;
D2: whether command frame need be then to carry out D3 from the end device responds; Otherwise carry out D6;
D3: break off said data transmit button; Connect said Data Receiving switch; Switch said controller to data receiving state;
D4: whether accomplishing saidly receiving from end device responds frame total data byte, is then to carry out D5; Otherwise carry out D4;
D5: connect said data transmit button; Break off said Data Receiving switch; Switch said controller to data transmit status;
D6: one time communication process finishes;
E0: saidly carry out following steps from end equipment order communication process:
E1: empty main sort command frame data and deposit buffer zone;
E2: whether accomplishing main end device command frame total data byte and receive, is then to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is then to carry out E4; Otherwise carry out E7;
E4: break off said Data Receiving switch; Connect the data transmit button; Switch said controller to data transmit status;
E5: said controller data transmitting element sends response frame total data byte;
E6: break off said data transmit button; Connect said Data Receiving switch; Switch said controller to data receiving state;
E7: one time communication process finishes.
F0: said main end equipment starts line preface sense command initial preface through sending, testing process opens circuit; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2To lead the N among the effective terminal of the end number tabulation PortNoList [K] MSC1The new effective terminal of main end number tabulation PortNoListNew [K-1] is created in deletion, and order is carried out following steps in the online preface of main end equipment, the testing process that opens circuit;
F1:T L=(M-1) * T S, effective terminal index N INDEX1=1;
F2: send the sense command of startup line preface;
F3: turn-off data transmit button; Connect energizing switch; Be numbered N MSC2Main end loop SS normally closed contact insert; Be numbered N MSC2Main end line core insert switch and break off; The timer conter unit resets;
F4: be numbered PortNoListNew [N INDEX1] main end loop SS normally opened contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch connection;
F5: start the timer conter unit, start time length is T LTiming;
F6: if the timer conter unit overflows, execution in step F7 then; Otherwise execution in step F6;
F7: timeing closing counter unit; Break off said energizing switch; Connect said data transmit button;
F8: be numbered PortNoListNew [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch and break off;
F9: be numbered N MSC2Main end loop SS normally opened contact insert; Be numbered N MSC2Main end line core insert switch connection;
F10: send line preface testing result querying command;
F11: if accomplish from the reception of end equipment line preface testing result inquiry response frame, then execution in step F12; Otherwise execution in step F11;
F12: record number is PortNoListNew [N INDEX1] the pairing core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N INDEX1≤(K-1), execution in step F2 then; Otherwise execution in step F15;
F15: tested cable preface, the detection of opening circuit finish; Get into the data communication state.
G0: saidly withdraw from communications status after starting the sense command of line preface receiving from end equipment; The said following steps of from the online preface of end equipment, the testing process that opens circuit, carrying out in proper order cooperate said main end equipment to accomplish line preface, the detection of opening circuit of a terminal in number tabulation of the effective terminal of main end;
G1: empty main sort command frame data and deposit buffer zone;
G2: whether the sense command of the line of startup preface is arranged, and is then to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect the forward detector switch; Be numbered N SSC2Insert from end loop SS normally closed contact; Be numbered N SSC2Insert switch from the end line core and break off; The timer conter unit resets; Remove external interrupt 1 sign;
G4: loop SS numbering counter N SS1=N SSC1
G5: loop SS numbering counter N SS2=1;
G6: if N SS2=N SS1, then carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N SS2≤M then carries out G9; Otherwise carry out G16;
G9: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
G10: start the timer conter unit, start time length is T STiming;
G11: if the timer conter unit overflows, execution in step G14 then; Otherwise execution in step G12;
G12: if external interrupt 1 indicates be set, then execution in step G13; Otherwise execution in step G11;
G13: with N SS2Record from end Lead-through terminal table data storage unit; Remove external interrupt 1 sign;
G14: timeing closing counter unit; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
G15: loop SS numbering counter N SS2=N SS2+ 1; Execution in step G6;
G16: break off said forward detector switch; Connect said Data Receiving switch; Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
G17: cooperate said main end equipment to carry out solid wire heart yearn preface, open circuit to detect and finish; Get into the data communication state.
The present invention can realize cable short circuit, line preface, the detection of opening circuit not possessing under the situation that PERCOM peripheral communication ensures; Do not require that there is common ground point in tested cable two ends; Cable detection when the cable two ends are in same position before both having can be used for cable and laying; Also can be used in the cable laying process or cable has been laid the cable detection of the cable two ends, back that finish when being in diverse location, all operations all can be accomplished by operating personnel.
Description of drawings
Fig. 1 is a cable detecting device circuit diagram of the present invention;
Fig. 2 is a short-circuit detecting process flow diagram between tested cable core in the electrical cable detecting method of the present invention;
Fig. 3 is a main end random-blind matcher process flow diagram in the electrical cable detecting method of the present invention;
Fig. 4 is from end random-blind matcher process flow diagram in the electrical cable detecting method of the present invention;
Fig. 5 is a main end data signal procedure process flow diagram in the electrical cable detecting method of the present invention;
Fig. 6 is from end data signal procedure process flow diagram in the electrical cable detecting method of the present invention;
Fig. 7 is main end line preface, the trace routine that opens circuit process flow diagram in the electrical cable detecting method of the present invention;
Fig. 8 is from end line preface, the trace routine that opens circuit process flow diagram in the electrical cable detecting method of the present invention.
Embodiment
Embodiment 1: referring to accompanying drawing 1, a kind of cable detecting device is characterized in that: it comprises: the main end equipment and one that are connected to tested cable two ends are from end equipment; Said main end equipment and said includes from end equipment: switch arrays, current source 1, data transmit circuit, data receiver circuit, matching detector 2, controller 3 and man-machine interface 4;
Said switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by the tested cable core that is numbered j insert terminal, the core that is numbered j inserts switch, be numbered loop SS that j switches between normally opened contact and the normally closed contact composition that is in series; The normally closed contact of loop SS links together described in each bar branch road, constitutes the terminal A of said switch arrays, and the normally opened contact of loop SS links together described in each bar branch road, constitutes the terminal B of said switch arrays; All said loop SSes, said core insert the state of switch by said controller 3 controls;
An electric current outflow end of said current source 1 is connected to the terminal A of said switch arrays through an energizing switch 5 that controlled by said controller 3; The electric current of said current source 1 flows into end is connected to said switch arrays through said matching detector 2 terminal B;
Said data transmit circuit comprises the data transmit button 6 and data transmitter 7 between the terminal A of another electric current outflow end that is serially connected in said current source 1 and said switch arrays, and said data transmit button 6 is by said controller 3 controls; Said data transmitter 7 converts the digital signal that said controller 3 sends into current impulse;
Said data receiver circuit comprises terminal A and the Data Receiving switch between the terminal B 8 and data sink 9 that is serially connected in said switch arrays, and said Data Receiving switch 8 is by said controller 3 controls; Said data sink 9 is used for converting the current impulse that the said testing apparatus of the tested cable other end is sent into digital signal, and passes to the said controller 3 of local terminal;
Said matching detector 2 is connected the terminal B of said switch arrays and the electric current of said current source 1 flows between the end; When said current source 1 electric current outflow end and electric current flowed between the end loop conducting, said matching detector 2 sent the successful look-at-me of expression coupling to said controller 3;
Said controller 3 storages and execution trace routine; Control the state of said switch arrays, said energizing switch 5, said data transmit button 6, said Data Receiving switch 8; Send data to said data transmitter 7; Receive data from said data sink 9, receive the signal that said matching detector 2 sends through its external interrupt 0 port;
Said man-machine interface 4 is accepted the instruction and data of artificial input, and sends said controller 3 to, receives the data that said controller 3 provides, and shows, exports testing process and result;
Saidly also comprise: forward testing circuit and inverse detection circuit from end equipment;
Said forward testing circuit comprises terminal A and the forward detector switch between the said terminal B 10 and forward detecting device 11 that is serially connected in said switch arrays, and said forward detector switch 10 is by said controller 3 controls; Said forward detecting device 11 sends current signal in the said testing apparatus of the tested cable other end, and when the terminal A of the said switch arrays of local terminal flows to said terminal B, sends forward to external interrupt 1 port of said controller 3 and detects look-at-me;
Said inverse detection circuit comprises terminal A and the inverse detection switch between the said terminal B 12 and inverse detection device 13 that is serially connected in said switch arrays, and said inverse detection switch 12 is by said controller 3 controls; Said inverse detection device 12 sends current signal in the said testing apparatus of the tested cable other end, and when the terminal B of the said switch arrays of local terminal flows to said terminal A, sends the inverse detection look-at-me to external interrupt 2 ports of said controller 3.
Embodiment 2: referring to accompanying drawing 1; Like embodiment 1 described cable detecting device; It is characterized in that: said main end equipment also comprises said forward testing circuit and said inverse detection circuit; Be said main end equipment with said identical, all can be set to main end equipment or from end equipment through said man-machine interface 4 from the end device structure.
Embodiment 3: referring to accompanying drawing 1,2, and a kind of electrical cable detecting method, it uses like embodiment 1 or 2 described cable detecting devices, and may further comprise the steps, to accomplish the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, and M≤n gives the numbering of each heart yearn 1~M with the one of which end with random order, and reference numeral is connected to said said tested cable core from end equipment and inserts terminal 1~M; Said after the end device power, said controller 3 carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; From said man-machine interface 4 input latency value T WGet into the idle waiting state from end equipment;
Give the numbering of each heart yearn 1~M at the tested cable other end with random order, and the said tested cable core that reference numeral is connected to said main end equipment inserts terminal 1~M; After the said main end device power, said controller 3 carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; Count M through man-machine interface 4 to the heart yearn of the tested cable of said controller 3 inputs; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost S
Said main end device controller 3 is carried out following short-circuit detecting program:
A1: the timer conter unit resets; Remove external interrupt 0 sign;
A2: make loop SS numbering counter N MS1=1;
A3: make loop SS numbering counter N MS2=N MS1+ 1;
A4: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch connection;
A5: be numbered N MS2Main end loop SS normally opened contact insert; Be numbered N MS2Main end line core insert switch connection;
A6: start the timer conter unit, start time length is T STiming;
A7: if the timer conter unit does not overflow, execution in step A8 then; Otherwise execution in step A10;
A8: if external interrupt 0 indicates be not set, then execution in step A7; Otherwise execution in step A9;
A9: remove external interrupt 0 sign; Record N MS1, N MS2To the core short-circuit line data are tabulated;
A10: the timer conter unit resets; Be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A11: loop SS numbering counter N MS2=N MS2+ 1; If N MS2≤M, then execution in step A5; Otherwise carry out A12;
A12: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A13: loop SS numbering counter N MS1=N MS1+ 1; If N MS1≤M-1, then execution in step A3; Otherwise execution in step A14;
A14: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A15: be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A16: the timer conter unit resets; Remove external interrupt 0 sign;
A17: tested cable short circuit detects and finishes.
Embodiment 4: referring to each accompanying drawing, a kind of electrical cable detecting method, it uses like embodiment 1 or 2 described cable detecting devices, and after accomplishing like embodiment 3 said A0~A17 steps, carries out following steps, with the line preface of accomplishing tested cable core with open circuit detection:
B0: said main end equipment gets into the random-blind matching status; Saidly waiting for T from end equipment WRetreat out idle waiting status, also get into the random-blind matching status; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2, the blind coupling loop count of largest random that the note user sets is L MAX
Said main end equipment order in the random-blind matching process is carried out following steps:
B1: the timer conter unit resets; Remove external interrupt 0 sign;
B2: random-blind coupling cycle counter N LOOP=1;
B3: effective terminal index N INDEX1=1;
B4: be numbered PortNoList [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch connection;
B5: effective terminal index N INDEX2=N INDEX1+ 1;
B6: be numbered PortNoList [N INDEX2] main end loop SS normally opened contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch connection;
B7: start the timer conter unit, start time length is T LTiming; Wherein: T S<T L≤T SM (M-1)/2 is provided by manual work setting or said controller 3;
B8: if the timer conter unit overflows, execution in step B10 then; Otherwise execution in step B9;
B9: if external interrupt 0 indicates be set, then execution in step B16; Otherwise execution in step B8;
B10: be numbered PortNoList [N INDEX2] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch and break off;
B11: effective terminal index N INDEX2=N INDEX2+ 1; If N INDEX2≤K, then execution in step B6; Otherwise carry out B12;
B12: be numbered PortNoList [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch and break off;
B13: effective terminal index N INDEX1=N INDEX1+ 1; If N INDEX1≤(K-1), execution in step B4 then; Otherwise carry out B14;
B14: random-blind coupling cycle counter N LOOP=N LOOP+ 1, if N LOOP≤L MAX, execution in step B3 then; Otherwise carry out B15;
B15: the failure of main end random-blind coupling, said main end equipment man-machine interface 4 prompting users adjust N LOOPSetting value carry out random-blind coupling once more;
B16: note N MSC1=N INDEX1, N MSC2=N INDEX2Break off said energizing switch 5; Connect said data transmit button 6; The timer conter unit resets; Remove external interrupt 0 sign;
B17: main end random-blind is mated successfully, gets into the data communication state;
C0: carry out following steps from end equipment order the random-blind matching process: note is respectively N from the loop SS numbering of end equipment when random-blind is mated successfully SSC1, N SSC2
C1: the timer conter unit resets; Remove external interrupt 1, external interrupt 2 signs;
C2: loop SS numbering counter N SS1=1;
C3: loop SS numbering counter N SS2=N SS1+ 1;
C4: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch connection from the end line core;
C5: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
C6: start the timer conter unit, start time length is T STiming;
C7: if the timer conter unit overflows, execution in step C9 then; Otherwise execution in step C8;
C8: if external interrupt 1 sign or external interrupt 2 indicate be set, then execution in step C13; Otherwise execution in step C7;
C9; The timer conter unit resets; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
C10: loop SS numbering counter N SS2=N SS2+ 1, if N SS2≤M, then execution in step C5; Otherwise carry out C11;
C11: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch from the end line core and break off;
C12: loop SS numbering counter N SS1=N SS1+ 1, if N SS1≤(M-1), execution in step C3 then; Otherwise carry out C2;
C13: the timer conter unit resets;
C14:, then carry out C15 if external interrupt 1 sign is set; Otherwise carry out C16;
C15: remove external interrupt 1 sign, note N SSC1=N SS1, N SSC2=N SS2Carry out C17;
C16: remove external interrupt 2 signs, note N SSC1=N SS2, N SSC2=N SS1Carry out C17;
C17: be numbered N SSC1Insert from end loop SS normally closed contact; Be numbered N SSC1Insert switch connection from the end line core; Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
C18: break off the forward detector switch; Break off the inverse detection switch; Connect the data receiving key;
C19: mate successfully from the end random-blind, get into the data communication state;
D0. said main end equipment and saidly all be in the data communication state in any free time after accomplishing the random-blind coupling from end equipment; Said main end equipment and saidly adopt half-duplex mode from the data communication between the end equipment, any communication process is initiated by main end equipment, saidly responds from the order of end equipment to said main end equipment transmission; The order that said main end equipment sends comprise start that the line preface detects, the inquiry of blind matching result, the inquiry of line preface testing result, wherein start the sense command of line preface be used for main end equipment with from end equipment synchronously, need be from the end device responds;
Main end equipment is carried out following steps in proper order in a communication process:
D1: said controller 3 data transmission unit are sent command frame total data byte;
D2: whether command frame need be then to carry out D3 from the end device responds; Otherwise carry out D6;
D3: break off said data transmit button 6; Connect said Data Receiving switch 8; Switch said controller 3 to data receiving state;
D4: whether accomplishing saidly receiving from end device responds frame total data byte, is then to carry out D5; Otherwise carry out D4;
D5: connect said data transmit button 6; Break off said Data Receiving switch 8; Switch said controller 3 to the data transmit status;
D6: one time communication process finishes;
E0: saidly carry out following steps from end equipment order communication process:
E1: empty main sort command frame data and deposit buffer zone;
E2: whether accomplishing main end device command frame total data byte and receive, is then to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is then to carry out E4; Otherwise carry out E7;
E4: break off said Data Receiving switch 8; Connect data transmit button 6; Switch said controller 3 to the data transmit status;
E5: said controller 3 data transmission unit are sent response frame total data byte;
E6: break off said data transmit button 6; Connect said Data Receiving switch 8; Switch said controller 3 to data receiving state;
E7: one time communication process finishes.
F0: said main end equipment starts line preface sense command initial preface through sending, testing process opens circuit; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2To lead the N among the effective terminal of the end number tabulation PortNoList [K] MSC1The new effective terminal of main end number tabulation PortNoListNew [K-1] is created in deletion, and order is carried out following steps in the online preface of main end equipment, the testing process that opens circuit;
F1:T L=(M-1) * T S, effective terminal index N INDEX1=1;
F2: send the sense command of startup line preface;
F3: turn-off data transmit button; Connect energizing switch 5; Be numbered N MSC2Main end loop SS normally closed contact insert; Be numbered N MSC2Main end line core insert switch and break off; The timer conter unit resets;
F4: be numbered PortNoListNew [N INDEX1] main end loop SS normally opened contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch connection;
F5: start the timer conter unit, start time length is T LTiming;
F6: if the timer conter unit overflows, execution in step F7 then; Otherwise execution in step F6;
F7: timeing closing counter unit; Break off said energizing switch 5; Connect said data transmit button 6;
F8: be numbered PortNoListNew [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch and break off;
F9: be numbered N MSC2Main end loop SS normally opened contact insert; Be numbered N MSC2Main end line core insert switch connection;
F10: send line preface testing result querying command;
F11: if accomplish from the reception of end equipment line preface testing result inquiry response frame, then execution in step F12; Otherwise execution in step F11;
F12: record number is PortNoListNew [N INDEX1] the pairing core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N INDEX1≤(K-1), execution in step F2 then; Otherwise execution in step F15;
F15: tested cable preface, the detection of opening circuit finish; Get into the data communication state.
G0: saidly withdraw from communications status after starting the sense command of line preface receiving from end equipment; The said following steps of from the online preface of end equipment, the testing process that opens circuit, carrying out in proper order cooperate said main end equipment to accomplish line preface, the detection of opening circuit of a terminal in number tabulation of the effective terminal of main end;
G1: empty main sort command frame data and deposit buffer zone;
G2: whether the sense command of the line of startup preface is arranged, and is then to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect the forward detector switch; Be numbered N SSC2Insert from end loop SS normally closed contact; Be numbered N SSC2Insert switch from the end line core and break off; The timer conter unit resets; Remove external interrupt 1 sign;
G4: loop SS numbering counter N SS1=N SSC1
G5: loop SS numbering counter N SS2=1;
G6: if N SS2=N SS1, then carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N SS2≤M then carries out G9; Otherwise carry out G16;
G9: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
G10: start the timer conter unit, start time length is T STiming;
G11: if the timer conter unit overflows, execution in step G14 then; Otherwise execution in step G12;
G12: if external interrupt 1 indicates be set, then execution in step G13; Otherwise execution in step G11;
G13: with N SS2Record from end Lead-through terminal table data storage unit; Remove external interrupt 1 sign;
G14: timeing closing counter unit; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
G15: loop SS numbering counter N SS2=N SS2+ 1; Execution in step G6;
G16: break off said forward detector switch 10; Connect said Data Receiving switch 8; Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
G17: cooperate said main end equipment to carry out solid wire heart yearn preface, open circuit to detect and finish; Get into the data communication state.

Claims (4)

1. cable detecting device, it is characterized in that: it comprises: the main end equipment and one that are connected to tested cable two ends are from end equipment; Said main end equipment and said includes from end equipment: switch arrays, current source (1), data transmit circuit, data receiver circuit, matching detector (2), controller (3) and man-machine interface (4);
Said switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by the tested cable core that is numbered j insert terminal, the core that is numbered j inserts switch, be numbered loop SS that j switches between normally opened contact and the normally closed contact composition that is in series; The normally closed contact of loop SS links together described in each bar branch road, constitutes the terminal A of said switch arrays, and the normally opened contact of loop SS links together described in each bar branch road, constitutes the terminal B of said switch arrays; All said loop SSes, said core insert the state of switch and control by said controller (3);
An electric current outflow end of said current source (1) is connected to the terminal A of said switch arrays through an energizing switch (5) that controlled by said controller (3); The electric current of said current source (1) flows into end is connected to said switch arrays through said matching detector (2) terminal B;
Said data transmit circuit comprises data transmit button (6) and the data transmitter (7) between the terminal A of another electric current outflow end that is serially connected in said current source (1) and said switch arrays, and said data transmit button (6) is controlled by said controller (3); Said data transmitter (7) converts the digital signal that said controller (3) sends into current impulse;
Said data receiver circuit comprises terminal A and Data Receiving switch (8) between the terminal B and the data sink (9) that is serially connected in said switch arrays, and said Data Receiving switch (8) is controlled by said controller (3); Said data sink (9) is used for converting the current impulse that the said testing apparatus of the tested cable other end is sent into digital signal, and passes to the said controller (3) of local terminal;
Said matching detector (2) is connected the terminal B of said switch arrays and the electric current of said current source (1) flows between the end; When said current source (1) electric current outflow end and electric current flowed between the end loop conducting, said matching detector (2) sent the successful look-at-me of expression coupling to said controller (3);
Said controller (3) storage and execution trace routine; Control the state of said switch arrays, said energizing switch (5), said data transmit button (6), said Data Receiving switch (8); Send data to said data transmitter (7); Receive data from said data sink (9), receive the signal that said matching detector (2) sends through its external interrupt 0 port;
Said man-machine interface (4) is accepted the instruction and data of artificial input, and sends said controller (3) to, receives the data that said controller (3) provides, and shows, exports testing process and result;
Saidly also comprise: forward testing circuit and inverse detection circuit from end equipment;
Said forward testing circuit comprises terminal A and forward detector switch (10) between the said terminal B and the forward detecting device (11) that is serially connected in said switch arrays, and said forward detector switch (10) is controlled by said controller (3); Said forward detecting device (11) sends current signal in the said testing apparatus of the tested cable other end, and when the terminal A of the said switch arrays of local terminal flows to said terminal B, sends forward to external interrupt 1 port of said controller (3) and detects look-at-me;
Said inverse detection circuit comprises terminal A and inverse detection switch (12) between the said terminal B and the inverse detection device (13) that is serially connected in said switch arrays, and said inverse detection switch (12) is controlled by said controller (3); Said inverse detection device (12) sends current signal in the said testing apparatus of the tested cable other end, and when the terminal B of the said switch arrays of local terminal flows to said terminal A, sends the inverse detection look-at-me to external interrupt 2 ports of said controller (3).
2. cable detecting device according to claim 1; It is characterized in that: said main end equipment also comprises said forward testing circuit and said inverse detection circuit; Be said main end equipment with said identical, all can be set to main end equipment or from end equipment through said man-machine interface (4) from the end device structure.
3. electrical cable detecting method, it uses cable detecting device according to claim 1 or claim 2, and may further comprise the steps, to accomplish the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, and M≤n gives the numbering of each heart yearn 1~M with the one of which end with random order, and reference numeral is connected to said said tested cable core from end equipment and inserts terminal 1~M; Said after the end device power, said controller (3) carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; From said man-machine interface (4) input latency value T WGet into the idle waiting state from end equipment;
Give the numbering of each heart yearn 1~M at the tested cable other end with random order, and the said tested cable core that reference numeral is connected to said main end equipment inserts terminal 1~M; After the said main end device power, said controller (3) carries out the device initialize setting: all said loop SSes all are in the normally closed contact on-state, and other all switches all are in off-state; Count M through man-machine interface (4) to the heart yearn of the tested cable of said controller (3) input; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost S
Said main end device controller (3) is carried out following short-circuit detecting program:
A1: the timer conter unit resets; Remove external interrupt 0 sign;
A2: make loop SS numbering counter N MS1=1;
A3: make loop SS numbering counter N MS2=N MS1+ 1;
A4: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch connection;
A5: be numbered N MS2Main end loop SS normally opened contact insert; Be numbered N MS2Main end line core insert switch connection;
A6: start the timer conter unit, start time length is T STiming;
A7: if the timer conter unit does not overflow, execution in step A8 then; Otherwise execution in step A10;
A8: if external interrupt 0 indicates be not set, then execution in step A7; Otherwise execution in step A9;
A9: remove external interrupt 0 sign; Record N MS1, N MS2To the core short-circuit line data are tabulated;
A10: the timer conter unit resets; Be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A11: loop SS numbering counter N MS2=N MS2+ 1; If N MS2≤M, then execution in step A5; Otherwise carry out A12;
A12: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A13: loop SS numbering counter N MS1=N MS1+ 1; If N MS1≤M-1, then execution in step A3; Otherwise execution in step A14;
A14: be numbered N MS1Main end loop SS normally closed contact insert; Be numbered N MS1Main end line core insert switch and break off;
A15: be numbered N MS2Main end loop SS normally closed contact insert; Be numbered N MS2Main end line core insert switch and break off;
A16: the timer conter unit resets; Remove external interrupt 0 sign;
A17: tested cable short circuit detects and finishes.
4. electrical cable detecting method, it uses cable detecting device according to claim 1 or claim 2, and after said A0~A17 step, carries out following steps like claim 3 accomplishing, with the line preface of accomplishing tested cable core with open circuit detection:
B0: said main end equipment gets into the random-blind matching status; Saidly waiting for T from end equipment WRetreat out idle waiting status, also get into the random-blind matching status; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2, the blind coupling loop count of largest random that the note user sets is L MAX
Said main end equipment order in the random-blind matching process is carried out following steps:
B1: the timer conter unit resets; Remove external interrupt 0 sign;
B2: random-blind coupling cycle counter N LOOP=1;
B3: effective terminal index N INDEX1=1;
B4: be numbered PortNoList [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch connection;
B5: effective terminal index N INDEX2=N INDEX1+ 1;
B6: be numbered PortNoList [N INDEX2] main end loop SS normally opened contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch connection;
B7: start the timer conter unit, start time length is T LTiming; Wherein: T S<T L≤T SM (M-1)/2 is provided by manual work setting or said controller (3);
B8: if the timer conter unit overflows, execution in step B10 then; Otherwise execution in step B9;
B9: if external interrupt 0 indicates be set, then execution in step B16; Otherwise execution in step B8;
B10: be numbered PortNoList [N INDEX2] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX2] main end line core insert switch and break off;
B11: effective terminal index N INDEX2=N INDEX2+ 1; If N INDEX2≤K, then execution in step B6; Otherwise carry out B12;
B12: be numbered PortNoList [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoList [N INDEX1] main end line core insert switch and break off;
B13: effective terminal index N INDEX1=N INDEX1+ 1; If N INDEX1≤(K-1), execution in step B4 then; Otherwise carry out B14;
B14: random-blind coupling cycle counter N LOOP=N LOOP+ 1, if N LOOP≤L MAX, execution in step B3 then; Otherwise carry out B15;
B15: the failure of main end random-blind coupling, said main end equipment man-machine interface (4) prompting user adjusts N LOOPSetting value carry out random-blind coupling once more;
B16: note N MSC1=N INDEX1, N MSC2=N INDEX2Break off said energizing switch (5); Connect said data transmit button (6); The timer conter unit resets; Remove external interrupt 0 sign;
B17: main end random-blind is mated successfully, gets into the data communication state;
C0: carry out following steps from end equipment order the random-blind matching process: note is respectively N from the loop SS numbering of end equipment when random-blind is mated successfully SSC1, N SSC2
C1: the timer conter unit resets; Remove external interrupt 1, external interrupt 2 signs;
C2: loop SS numbering counter N SS1=1;
C3: loop SS numbering counter N SS2=N SS1+ 1;
C4: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch connection from the end line core;
C5: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
C6: start the timer conter unit, start time length is T STiming;
C7: if the timer conter unit overflows, execution in step C9 then; Otherwise execution in step C8;
C8: if external interrupt 1 sign or external interrupt 2 indicate be set, then execution in step C13; Otherwise execution in step C7;
C9: the timer conter unit resets; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
C10: loop SS numbering counter N SS2=N SS2+ 1, if N SS2≤M, then execution in step C5; Otherwise carry out C11;
C11: be numbered N SS1Insert from end loop SS normally closed contact; Be numbered N SS1Insert switch from the end line core and break off;
C12: loop SS numbering counter N SS1=N SS1+ 1, if N SS1≤(M-1), execution in step C3 then; Otherwise carry out C2;
C13: the timer conter unit resets;
C14:, then carry out C15 if external interrupt 1 sign is set; Otherwise carry out C16;
C15: remove external interrupt 1 sign, note N SSC1=N SS1, N SSC2=N SS2Carry out C17;
C16: remove external interrupt 2 signs, note N SSC1=N SS2, N SSC2=N SS1Carry out C17;
C17: be numbered N SSC1Insert from end loop SS normally closed contact; Be numbered N SSC1Insert switch connection from the end line core; Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
C18: break off the forward detector switch; Break off the inverse detection switch; Connect the data receiving key;
C19: mate successfully from the end random-blind, get into the data communication state;
D0. said main end equipment and saidly all be in the data communication state in any free time after accomplishing the random-blind coupling from end equipment; Said main end equipment and saidly adopt half-duplex mode from the data communication between the end equipment, any communication process is initiated by main end equipment, saidly responds from the order of end equipment to said main end equipment transmission; The order that said main end equipment sends comprise start that the line preface detects, the inquiry of blind matching result, the inquiry of line preface testing result, wherein start the sense command of line preface be used for main end equipment with from end equipment synchronously, need be from the end device responds;
Main end equipment is carried out following steps in proper order in a communication process:
D1: said controller (3) data transmission unit is sent command frame total data byte;
D2: whether command frame need be then to carry out D3 from the end device responds; Otherwise carry out D6;
D3: break off said data transmit button (6); Connect said Data Receiving switch (8); Switch said controller (3) to data receiving state;
D4: whether accomplishing saidly receiving from end device responds frame total data byte, is then to carry out D5; Otherwise carry out D4;
D5: connect said data transmit button (6); Break off said Data Receiving switch (8); Switch said controller (3) to the data transmit status;
D6: one time communication process finishes;
E0: saidly carry out following steps from end equipment order communication process:
F1: empty main sort command frame data and deposit buffer zone;
E2: whether accomplishing main end device command frame total data byte and receive, is then to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is then to carry out E4; Otherwise carry out E7;
E4: break off said Data Receiving switch (8); Connect data transmit buttons (6); Switch said controller (3) to the data transmit status;
E5: said controller (3) data transmission unit is sent response frame total data byte;
E6: break off said data transmit button (6); Connect said Data Receiving switch (8); Switch said controller (3) to data receiving state;
E7: one time communication process finishes.
F0: said main end equipment starts line preface sense command initial preface through sending, testing process opens circuit; Terminal quantity in number tabulation of the effective terminal of the main end of note is K, and number tabulation of the effective terminal of the main end of note is PortNoList [K], remembers that main end equipment SS numbering in loop when random-blind is mated successfully is respectively N MSC1, N MSC2To lead the N among the effective terminal of the end number tabulation PortNoList [K] MSC1The new effective terminal of main end number tabulation PortNoListNew [K-1] is created in deletion, and order is carried out following steps in the online preface of main end equipment, the testing process that opens circuit;
F1:T L=(M-1) * T S, effective terminal index N INDEX1=1;
F2: send the sense command of startup line preface;
F3: turn-off data transmit button; Connect energizing switch (5); Be numbered N MSC2Main end loop SS normally closed contact insert; Be numbered N MSC2Main end line core insert switch and break off; The timer conter unit resets;
F4: be numbered PortNoListNew [N INDEX1] main end loop SS normally opened contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch connection;
F5: start the timer conter unit, start time length is T LTiming;
F6: if the timer conter unit overflows, execution in step F7 then; Otherwise execution in step F6;
F7: timeing closing counter unit; Break off said energizing switch (5); Connect said data transmit button (6);
F8: be numbered PortNoListNew [N INDEX1] main end loop SS normally closed contact insert; Be numbered PortNoListNew [N INDEX1] main end line core insert switch and break off;
F9: be numbered N MSC2Main end loop SS normally opened contact insert; Be numbered N MSC2Main end line core insert switch connection;
F10: send line preface testing result querying command;
F11: if accomplish from the reception of end equipment line preface testing result inquiry response frame, then execution in step F12; Otherwise execution in step F11;
F12: record number is PortNoListNew [N INDEX1] the pairing core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N INDEX1≤(K-1), execution in step F2 then; Otherwise execution in step F15;
F15: tested cable preface, the detection of opening circuit finish; Get into the data communication state.
G0: saidly withdraw from communications status after starting the sense command of line preface receiving from end equipment; The said following steps of from the online preface of end equipment, the testing process that opens circuit, carrying out in proper order cooperate said main end equipment to accomplish line preface, the detection of opening circuit of a terminal in number tabulation of the effective terminal of main end;
G1: empty main sort command frame data and deposit buffer zone;
G2: whether the sense command of the line of startup preface is arranged, and is then to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect the forward detector switch; Be numbered N SSC2Insert from end loop SS normally closed contact; Be numbered N SSC2Insert switch from the end line core and break off; The timer conter unit resets; Remove external interrupt 1 sign;
G4: loop SS numbering counter N SS1=N SSC
G5: loop SS numbering counter N SS2=1;
G6: if N SS2=N SS1, then carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N SS2≤M then carries out G9; Otherwise carry out G16;
G9: be numbered N SS2Insert from end loop SS normally opened contact; Be numbered N SS2Insert switch connection from the end line core;
G10: start the timer conter unit, start time length is T STiming;
G11: if the timer conter unit overflows, execution in step G14 then; Otherwise execution in step G12;
G12: if external interrupt 1 indicates be set, then execution in step G13; Otherwise execution in step G11;
G13: with N SS2Record from end Lead-through terminal table data storage unit; Remove external interrupt 1 sign;
G14: timeing closing counter unit; Be numbered N SS2Insert from end loop SS normally closed contact; Be numbered N SS2Insert switch from the end line core and break off;
G15: loop SS numbering counter N SS2=N SS2+ 1; Execution in step G6;
G16: break off said forward detector switch (10); Connect said Data Receiving switch (8); Be numbered N SSC2Insert from end loop SS normally opened contact; Be numbered N SSC2Insert switch connection from the end line core;
G17: cooperate said main end equipment to carry out solid wire heart yearn preface, open circuit to detect and finish; Get into the data communication state.
CN201210098353.0A 2012-04-06 2012-04-06 Device and method for detecting cable Expired - Fee Related CN102621439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210098353.0A CN102621439B (en) 2012-04-06 2012-04-06 Device and method for detecting cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210098353.0A CN102621439B (en) 2012-04-06 2012-04-06 Device and method for detecting cable

Publications (2)

Publication Number Publication Date
CN102621439A true CN102621439A (en) 2012-08-01
CN102621439B CN102621439B (en) 2014-04-16

Family

ID=46561470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210098353.0A Expired - Fee Related CN102621439B (en) 2012-04-06 2012-04-06 Device and method for detecting cable

Country Status (1)

Country Link
CN (1) CN102621439B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106199321A (en) * 2016-07-18 2016-12-07 珠海格力电器股份有限公司 Connecting line line sequence detection apparatus
CN106885943A (en) * 2017-03-14 2017-06-23 长沙云涯电子科技有限责任公司 Cable detection plate and method, line sequence, impedance, insulating properties, degradation detecting method
CN107271854A (en) * 2017-07-28 2017-10-20 北京航天光华电子技术有限公司 A kind of dual redundant equipotential cable net swinging cross test device and method of testing
CN108287291A (en) * 2017-12-28 2018-07-17 重庆市南方阻燃电线电缆有限公司 A kind of cable detecting device
CN109917219A (en) * 2019-03-18 2019-06-21 芜湖航飞科技股份有限公司 A kind of core of a cable detection system and detection method
CN111948579A (en) * 2019-04-29 2020-11-17 深圳市优必选科技有限公司 Detection method and detection system for terminal connecting wire

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2136480Y (en) * 1992-11-10 1993-06-16 李汉青 Wire bundle check, short circuit and break detector for polycore cable
CN2826445Y (en) * 2005-05-13 2006-10-11 魏玉生 Intelligent line-checking machine
CN101135712A (en) * 2006-08-30 2008-03-05 中国科学院沈阳自动化研究所 Multifunctional cable detection method and device
US20090267612A1 (en) * 2006-05-26 2009-10-29 Tadatoshi Shimamura Antenna cable break detector for construction machine wireless communication apparatus and construction machine wireless communication apparatus
CN101937042A (en) * 2010-08-23 2011-01-05 中国科学院声学研究所 System for detecting connectivity of bank cable and method thereof
CN102193048A (en) * 2011-05-19 2011-09-21 郭小定 Intelligent lead aligner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2136480Y (en) * 1992-11-10 1993-06-16 李汉青 Wire bundle check, short circuit and break detector for polycore cable
CN2826445Y (en) * 2005-05-13 2006-10-11 魏玉生 Intelligent line-checking machine
US20090267612A1 (en) * 2006-05-26 2009-10-29 Tadatoshi Shimamura Antenna cable break detector for construction machine wireless communication apparatus and construction machine wireless communication apparatus
CN101135712A (en) * 2006-08-30 2008-03-05 中国科学院沈阳自动化研究所 Multifunctional cable detection method and device
CN101937042A (en) * 2010-08-23 2011-01-05 中国科学院声学研究所 System for detecting connectivity of bank cable and method thereof
CN102193048A (en) * 2011-05-19 2011-09-21 郭小定 Intelligent lead aligner

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106199321A (en) * 2016-07-18 2016-12-07 珠海格力电器股份有限公司 Connecting line line sequence detection apparatus
CN106199321B (en) * 2016-07-18 2024-02-23 珠海格力电器股份有限公司 Connecting wire line sequence detection device
CN106885943A (en) * 2017-03-14 2017-06-23 长沙云涯电子科技有限责任公司 Cable detection plate and method, line sequence, impedance, insulating properties, degradation detecting method
CN107271854A (en) * 2017-07-28 2017-10-20 北京航天光华电子技术有限公司 A kind of dual redundant equipotential cable net swinging cross test device and method of testing
CN107271854B (en) * 2017-07-28 2023-08-29 北京航天光华电子技术有限公司 Dual-redundancy equipotential cable network mixed wire testing device and testing method
CN108287291A (en) * 2017-12-28 2018-07-17 重庆市南方阻燃电线电缆有限公司 A kind of cable detecting device
CN109917219A (en) * 2019-03-18 2019-06-21 芜湖航飞科技股份有限公司 A kind of core of a cable detection system and detection method
CN109917219B (en) * 2019-03-18 2021-05-11 芜湖航飞科技股份有限公司 Cable harness detection system and detection method
CN111948579A (en) * 2019-04-29 2020-11-17 深圳市优必选科技有限公司 Detection method and detection system for terminal connecting wire

Also Published As

Publication number Publication date
CN102621439B (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN102621439B (en) Device and method for detecting cable
CN103051065B (en) The distributed FA interlock method of testing of a kind of power distribution automation and system
CN101873478B (en) Control method and related device of network monitoring system
CN101887269B (en) Five-prevention logic test method of 61850 transformer substation and system thereof
CN103354388B (en) Multi-service linked electric power operation instruction issuing method
CN102539968A (en) Locking control testing system of intelligent transformer substation
CN102062825B (en) Direct current protection test device and test method of direct current protector
CN105388416A (en) Intelligent substation relay protection remote test system
CN103955870A (en) Automatic distribution method for optical cables of process layer of intelligent substation secondary system
CN102801333A (en) Voltage supplying device
CN101963627A (en) Ethernet interface testing clamp
CN208443947U (en) A kind of multi-functional wire of novel intelligent based on code communication
CN204694798U (en) A kind of netting twine on off test device
CN101630863B (en) Intelligent phase selection control method for light-control module type intelligent vacuum switch and method thereof
CN205139323U (en) Distant examination testing system of intelligent substation relay protection
CN205139276U (en) Local relay protection testing system of intelligent substation
CN204258810U (en) Idle fiber optic detection system
CN105471028A (en) Charging device and charging method for mobile terminals
CN104979906B (en) The anti-error alarm device of the hard pressing plate of relay protection
CN211789884U (en) Network cable
CN204669093U (en) The anti-error alarm device of the hard pressing plate of relaying protection
CN204258809U (en) Idle optical fiber sense terminals machine
CN105159855B (en) A kind of electric power source distribution device management method and system
CN208596196U (en) It is a kind of intelligence armored cable to core apparatus
CN204287337U (en) Ultra-high Voltage Substations transformer tripping matrix test device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140416

Termination date: 20150406

EXPY Termination of patent right or utility model