CN102621439B - Device and method for detecting cable - Google Patents

Device and method for detecting cable Download PDF

Info

Publication number
CN102621439B
CN102621439B CN201210098353.0A CN201210098353A CN102621439B CN 102621439 B CN102621439 B CN 102621439B CN 201210098353 A CN201210098353 A CN 201210098353A CN 102621439 B CN102621439 B CN 102621439B
Authority
CN
China
Prior art keywords
switch
main side
numbered
loop
terminal
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.)
Expired - Fee Related
Application number
CN201210098353.0A
Other languages
Chinese (zh)
Other versions
CN102621439A (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 line order, opens circuit, short circuit (or cross-over connection, lower with) detects.Its two ends possibility of the cable of or having laid is even farther at a distance of tens of rice, hundreds of rice, to its detection, need to utilize the pointwise of PERCOM peripheral communication guarantee condition to attempt by the operating personnel at cable two ends, and detection speed is slow, efficiency is low.In order to improve manual pointwise, attempt the speed detecting, can utilize the common ground point at cable two ends, the situation for cable two ends without common ground point, can lay a good single core cable of conducting common point is provided.
Existing intelligentized multi-core cable tester utilizes processor to carry out pilot relay matrix and automatically realizes fast pointwise trial, solved slow, the inefficient problem of manual inspection speed, improved the detection speed of polycore cable, but still need to utilize outside wired or wireless equipment that communication support is provided, for the switching of relay matrix provides foundation.
But in some occasion, both cannot provide common ground point, be difficult to again provide communication support condition; Thereby cannot use prior art to carry out cable detection.
Summary of the invention
The object of the invention is: provide a kind of without communication support and common ground point, single operation personnel can fast, accurately complete the apparatus and method of tested cable short-circuit detecting, the detection of line order, the detection of opening circuit.
Technical scheme of the present invention is: a kind of cable detecting device, is characterized in that: it comprises: be connected to main side equipment at tested cable two ends and one from end equipment; Described main side equipment and describedly include from end equipment: switch arrays, current source, data transmit circuit, data receiver circuit, matching detector, controller and man-machine interface;
Described switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by be numbered j tested cable core access terminal, be numbered j core access switch, be numbered loop choice switch that j switches between normally opened contact and the normally closed contact composition that is in series; Described in each branch road, the normally closed contact of loop choice switch links together, and forms the terminal A of described switch arrays, and described in each branch road, the normally opened contact of loop choice switch links together, and forms the terminal B of described switch arrays; The state of all described loop choice switches, described core access switch is by described controller control;
An outflow of bus current end of described current source is through a terminal A who is subject to the activation switch of described controller control to be connected to described switch arrays; The electric current of described current source flows into holds the terminal B that is connected to described switch arrays by described matching detector;
Described data transmit circuit comprises the data transmit button and the data transmitter that are serially connected between another outflow of bus current end of described current source and the terminal A of described switch arrays, and described data transmit button is by described controller control; The digital signal that described data transmitter sends described controller is converted to current impulse;
Described data receiver circuit comprises data receiver switch and the data sink between terminal A and the terminal B that is serially connected in described switch arrays, and described data receiver switch is by described controller control; Described data sink is converted to digital signal for the current impulse that the described equipment of the tested cable other end is sent, and passes to the described controller of local terminal;
Described matching detector is connected to the terminal B of described switch arrays and the electric current of described current source flows between end, when described current source current outflow end and electric current flow between end loop conducting, described matching detector sends the look-at-me that represents that the match is successful to described controller;
Described controller storage and execution trace routine, control the state of described switch arrays, described activation switch, described data transmit button, described data receiver switch, to described data transmitter, send data, from described data sink, receive data, by its external interrupt 0 port, receive the signal that described matching detector sends;
Described man-machine interface is accepted the instruction and data of artificial input, and sends described controller to, receives the data that described controller provides, demonstration, output detections process and result;
Describedly from end equipment, also comprise: forward testing circuit and inverse detection circuit;
Described forward testing circuit comprises forward detector switch and the forward detecting device between terminal A and the described terminal B that is serially connected in described switch arrays, and described forward detector switch is by described controller control; Described forward detecting device sends current signal at equipment described in the tested cable other end, and when the terminal A of switch arrays described in local terminal flows to described terminal B, sends forward detect look-at-me to external interrupt 1 port of described controller;
Described inverse detection circuit comprises inverse detection switch and the inverse detection device between terminal A and the described terminal B that is serially connected in described switch arrays, and described inverse detection switch is by described controller control; Described inverse detection device sends current signal at equipment described in the tested cable other end, and when the terminal B of switch arrays described in local terminal flows to described terminal A, to external interrupt 2 ports of described controller, sends inverse detection look-at-me.
The further design of above-mentioned cable detecting device comprises: described main side equipment also comprises described forward testing circuit and described inverse detection circuit, be described main side equipment with described identical from end device structure, all can be set to main side equipment or from end equipment by described man-machine interface 4
A kind of electrical cable detecting method, it uses above-mentioned cable detecting device, and comprises the following steps, to complete the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, M≤n, gives its one end the numbering of each heart yearn 1~M with random order, and reference numeral is connected to described described tested cable core access terminal 1~M from end equipment; Described from end device power, described controller carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; From described man-machine interface input latency value T wfrom end equipment, enter idle waiting state;
At the tested cable other end, with random order, give the numbering of each heart yearn 1~M, and reference numeral is connected to the described tested cable core access terminal 1~M of described main side equipment; After the device power of described main side, described controller carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; The heart yearn of inputting tested cable to described controller by man-machine interface is counted M; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost s;
Described main side device controller is carried out following short-circuit detecting program:
A1: timer conter unit resets; Removing external interrupt 0 indicates;
A2: make loop choice switch number counter N mS1=1;
A3: make loop choice switch number counter N mS2=N mS1+ 1;
A4: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch connection;
A5: be numbered N mS2the access of main side loop choice switch normally opened contact; Be numbered N mS2main side core access switch connection;
A6: start timer conter unit, start time length is T stiming;
A7: if timer conter unit does not overflow, perform step A8; Otherwise execution step A10;
A8: if external interrupt 0 indicates be not set, perform step A7; Otherwise execution step A9;
A9: remove external interrupt 0 and indicate; Record N mS1, N mS2arrive core short-circuit line to data list;
A10: timer conter unit resets; Be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A11: loop choice switch number counter N mS2=N mS2+ 1; If N mS2≤ M, performs step A5; Otherwise carry out A12;
A12: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A13: loop choice switch number counter N mS1=N mS1+ 1; If N mS1≤ M-1, performs step A3; Otherwise execution step A14;
A14: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A15: be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A16: timer conter unit resets; Removing external interrupt 0 indicates;
A17: tested cable short-circuit detecting is complete.
A kind of electrical cable detecting method, it uses above-mentioned cable detecting device, and completing after above-mentioned A0~A17 step, carries out following steps, to complete the line order of tested cable core and the detection of opening circuit:
B0: described main side equipment enters random-blind matching status; Described from end equipment wait for T wbacked off after random idle waiting state, also enters random-blind matching status; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2, the blind coupling loop count of largest random that note user sets is L mAX;
Equipment order in random-blind matching process in described main side is carried out following steps:
B1: timer conter unit resets; Removing external interrupt 0 indicates;
B2: random-blind coupling cycle counter N lOOP=1;
B3: effectively terminal index N iNDEX1=1;
B4: be numbered PortNoList[N iDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch connection;
B5: effectively terminal index N iNDEX2=N iNDEX1+ 1;
B6: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally opened contact; Be numbered PortNoList[N iNDEX2] main side core access switch connection;
B7: start timer conter unit, start time length is T ltiming; Wherein: T s< T l≤ T sm (M-1)/2, sets manually or described controller provides;
B8: if timer conter unit overflows, perform step B10; Otherwise execution step B9;
B9: if external interrupt 0 sign is set, perform step B16; Otherwise execution step B8;
B10: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX2] main side core access switch disconnect;
B11: effectively terminal index N iNDEX2=N iNDEX2+ 1; If N iNDEX2≤ K, performs step B6; Otherwise carry out B12;
B12: be numbered PortNoList[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch disconnect;
B13: effectively terminal index N iNDEX1=N iNDEX1+ 1; If N iNDEX1≤ (K-1), perform step B4; Otherwise carry out B14;
B14: random-blind coupling cycle counter N lOOP=N lOOP+ 1, if N lOOP≤ L mAX, perform step B3; Otherwise carry out B15;
B15: it fails to match for main side random-blind, described main side equipment man-computer interface prompting user adjusts N lOOPsetting value again carry out random-blind coupling;
B16: note N mSC1=N iNDEX1, N mSC2=N iNDEX2; Disconnect described activation switch; Connect described data transmit button; Timer conter unit resets; Removing external interrupt 0 indicates;
B17: the match is successful for main side random-blind, enters data communication state;
C0: carry out following steps from end equipment order random-blind matching process: loop choice switch number when the match is successful is respectively N to note in random-blind from end equipment sSC1, N sSC2;
C1: timer conter unit resets; Removing external interrupt 1, external interrupt 2 indicate;
C2:: loop choice switch number counter N sS1=1;
C3: loop choice switch number counter N sS2=N sS1+ 1;
C4: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch connection;
C5: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
C6: start timer conter unit, start time length is T stiming;
C7: if timer conter unit overflows, perform step C9; Otherwise execution step C8;
C8: if external interrupt 1 indicates or external interrupt 2 signs are set, perform step C13; Otherwise execution step C7;
C9: timer conter unit resets; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
C10: loop choice switch number counter N sS2=N sS2+ 1, if N sS2≤ M, performs step C5; Otherwise carry out C11;
C11: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch, disconnect;
C12: loop choice switch number counter N sS1=N sS1+ 1, if N sS1≤ (M-1), perform step C3; Otherwise carry out C2;
C13: timer conter unit resets;
C14: if external interrupt 1 sign is set, carry out C15; Otherwise carry out C16;
C15: remove external interrupt 1 and indicate, note N sSC1=N sS1, N sSC2=N sS2; Carry out C17;
C16: remove external interrupt 2 and indicate, note N sSC1=N sS2, N sSC2=N sS1; Carry out C17;
C17: be numbered N sSC1from end loop selector switch normally closed contact, access; Be numbered N sSC1from end line core access switch connection; Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
C18: disconnect forward detector switch; Disconnect inverse detection switch; Connect data receiving key;
C19: the match is successful from end random-blind, enters data communication state;
D0. described main side equipment and described from end equipment within any free time completing random-blind coupling all in data communication state; Described main side equipment and described data communication employing half-duplex mode between end equipment, any communication process is initiated by main side equipment, and the described order described main side equipment being sent from end equipment responds; The order that described main side equipment sends comprise start that line order detects, the inquiry of blind matching result, the inquiry of line order testing result, wherein start the sense command of line order for main side equipment with from the synchronizeing of end equipment, need to be from holding device responds;
Equipment order in a communication process in main side is carried out following steps:
D1: described controller data transmitting element sends command frame total data byte;
D2: whether command frame need to, from end device responds, be to carry out D3; Otherwise carry out D6;
D3: disconnect described data transmit button; Connect described data receiver switch; Switch described controller to data receiving state;
D4: whether receive from end device responds frame total data byte described in completing, be to carry out D5; Otherwise carry out D4;
D5: connect described data transmit button; Disconnect described data receiver switch; Switch described controller to data and send state;
D6: one time communication process finishes;
E0: the described following steps of sequentially carrying out a communication process from end equipment:
E1: empty command frame deposit data buffer zone, main side;
E2: whether completing main side device command frame total data byte and receive, is to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is to carry out E4; Otherwise carry out E7;
E4: disconnect described data receiver switch; Connect data transmit button; Switch described controller to data and send state;
E5: described controller data transmitting element sends response frame total data byte;
E6: disconnect described data transmit button; Connect described data receiver switch; Switch described controller to data receiving state;
E7: one time communication process finishes;
F0: described main side equipment by transmission start line order sense command initial order, testing process opens circuit; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2; By effective main side terminal list PortNoList[K] in N mSC1delete, create the effective terminal list in new main side PortNoListNew[K-1], in main side equipment on-line order, the testing process that opens circuit, order is carried out following steps;
F1:T l=(M-1) * T s, effectively terminal index N iNDEX1=1;
F2: send and start the sense command of line order;
F3: turn-off data transmit button; Connect activation switch; Be numbered N mSC2the access of main side loop choice switch normally closed contact; Be numbered N mSC2main side core access switch disconnect; Timer conter unit resets;
F4: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally opened contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch connection;
F5: start timer conter unit, start time length is T ltiming;
F6: if timer conter unit overflows, perform step F7; Otherwise execution step F6;
F7: timeing closing counter unit; Disconnect described activation switch; Connect described data transmit button;
F8: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch disconnect;
F9: be numbered N mSC2the access of main side loop choice switch normally opened contact; Be numbered N mSC2main side core access switch connection;
F10: send line order testing result querying command;
F11: if completed from the reception of end equipment line order testing result inquiry response frame, perform step F12; Otherwise execution step F11;
F12: record number is PortNoListNew[N iNDEX1] the corresponding core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N iNDEX1≤ (K-1), perform step F2; Otherwise execution step F15;
F15: tested cable order, the detection of opening circuit finish; Enter data communication state;
G0: describedly start line order sense command backed off after random communications status from end equipment receiving; Described from end equipment on-line order, the testing process that opens circuit order carry out following steps and coordinate described main side equipment to complete the line order of a terminal in the effective terminal list in main side, the detection of opening circuit;
G1: empty command frame deposit data buffer zone, main side;
G2: whether having the sense command of the line of startup order, is to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect forward detector switch; Be numbered N sSC2from end loop selector switch normally closed contact, access; Be numbered N sSC2from end line core access switch, disconnect; Timer conter unit resets; Removing external interrupt 1 indicates;
G4: loop choice switch number counter N sS1=N sSC1;
G5: loop choice switch number counter N sS2=1;
G6: if N sS2=N sS1, carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N sS2≤ M, carries out G9; Otherwise carry out G16;
G9: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
G10: start timer conter unit, start time length is T stiming;
G11: if timer conter unit overflows, perform step G14; Otherwise execution step G12;
G12: if external interrupt 1 sign is set, perform step G13; Otherwise execution step G11;
G13: by N sS2be recorded to from end Lead-through terminal table data storage unit; Removing external interrupt 1 indicates;
G14: timeing closing counter unit; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
G15: loop choice switch number counter N sS2=N sS2+ 1; Execution step G6;
G16: disconnect described forward detector switch; Connect described data receiver switch; Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
G17: coordinate described main side equipment to carry out solid wire heart yearn order, open circuit to detect and finish; Enter data communication state.
The detection that the present invention can realize cable short circuit, line order, open circuit in the situation that not possessing PERCOM peripheral communication guarantee, do not require that tested cable two ends exist common ground point, both can be used for before laying cable cable detection when cable two ends are in same position, also can be used in laying cable process or cable laid after the cable detection of cable two ends while being in diverse location, all operations all can be completed by operating personnel.
Accompanying drawing explanation
Fig. 1 is cable detecting device circuit diagram of the present invention;
Fig. 2 is short-circuit detecting process flow diagram between tested cable core in electrical cable detecting method of the present invention;
Fig. 3 is main side random-blind matcher process flow diagram in electrical cable detecting method of the present invention;
Fig. 4 is from end random-blind matcher process flow diagram in electrical cable detecting method of the present invention;
Fig. 5 is DCP process flow diagram in main side in electrical cable detecting method of the present invention;
Fig. 6 is from end data signal procedure process flow diagram in electrical cable detecting method of the present invention;
Fig. 7 is line order in main side in electrical cable detecting method of the present invention, the trace routine that opens circuit process flow diagram;
Fig. 8 is from end line order, the trace routine that opens circuit process flow diagram in 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: be connected to main side equipment at tested cable two ends and one from end equipment; Described main side equipment and describedly include from end equipment: switch arrays, current source 1, data transmit circuit, data receiver circuit, matching detector 2, controller 3 and man-machine interface 4;
Described switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by be numbered j tested cable core access terminal, be numbered j core access switch, be numbered loop choice switch that j switches between normally opened contact and the normally closed contact composition that is in series; Described in each branch road, the normally closed contact of loop choice switch links together, and forms the terminal A of described switch arrays, and described in each branch road, the normally opened contact of loop choice switch links together, and forms the terminal B of described switch arrays; The state of all described loop choice switches, described core access switch is controlled by described controller 3;
An outflow of bus current end of described current source 1 is connected to the terminal A of described switch arrays through an activation switch 5 that controlled by described controller 3; The electric current of described current source 1 flows into holds the terminal B that is connected to described switch arrays by described matching detector 2;
Described data transmit circuit comprises the data transmit button 6 and the data transmitter 7 that are serially connected between another outflow of bus current end of described current source 1 and the terminal A of described switch arrays, and described data transmit button 6 is controlled by described controller 3; The digital signal that described data transmitter 7 sends described controller 3 is converted to current impulse;
Described data receiver circuit comprises data receiver switch 8 and the data sink 9 between terminal A and the terminal B that is serially connected in described switch arrays, and described data receiver switch 8 is controlled by described controller 3; Described data sink 9 is converted to digital signal for the current impulse that the described equipment of the tested cable other end is sent, and passes to the described controller 3 of local terminal;
Described matching detector 2 is connected to the terminal B of described switch arrays and the electric current of described current source 1 flows between end, when described current source 1 outflow of bus current end and electric current flow between end loop conducting, described matching detector 2 sends the look-at-me that represents that the match is successful to described controller 3;
Trace routine is stored and carried out to described controller 3, control the state of described switch arrays, described activation switch 5, described data transmit button 6, described data receiver switch 8, to described data transmitter 7, send data, from described data sink 9, receive data, by its external interrupt 0 port, receive the signal that described matching detector 2 sends;
Described man-machine interface 4 is accepted the instruction and data of artificial input, and sends described controller 3 to, receives the data that described controller 3 provides, demonstration, output detections process and result;
Describedly from end equipment, also comprise: forward testing circuit and inverse detection circuit;
Described forward testing circuit comprises forward detector switch 10 and the forward detecting device 11 between terminal A and the described terminal B that is serially connected in described switch arrays, and described forward detector switch 10 is controlled by described controller 3; Described forward detecting device 11 sends current signal at equipment described in the tested cable other end, and when the terminal A of switch arrays described in local terminal flows to described terminal B, sends forward detect look-at-me to external interrupt 1 port of described controller 3;
Described inverse detection circuit comprises inverse detection switch 12 and the inverse detection device 13 between terminal A and the described terminal B that is serially connected in described switch arrays, and described inverse detection switch 12 is controlled by described controller 3; Described inverse detection device 12 sends current signal at equipment described in the tested cable other end, and when the terminal B of switch arrays described in local terminal flows to described terminal A, to external interrupt 2 ports of described controller 3, sends inverse detection look-at-me.
Embodiment 2: referring to accompanying drawing 1, cable detecting device as described in Example 1, it is characterized in that: described main side equipment also comprises described forward testing circuit and described inverse detection circuit, be described main side equipment with described identical from end device structure, all can be set to main side equipment or from end equipment by described man-machine interface 4.
Embodiment 3: referring to accompanying drawing 1,2, a kind of electrical cable detecting method, it uses the cable detecting device as described in embodiment 1 or 2, and comprises the following steps, to complete the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, M≤n, gives its one end the numbering of each heart yearn 1~M with random order, and reference numeral is connected to described described tested cable core access terminal 1~M from end equipment; Described from end device power, described controller 3 carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; From described man-machine interface 4, input latency value T wfrom end equipment, enter idle waiting state;
At the tested cable other end, with random order, give the numbering of each heart yearn 1~M, and reference numeral is connected to the described tested cable core access terminal 1~M of described main side equipment; After the device power of described main side, described controller 3 carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; The heart yearn of inputting tested cable to described controller 3 by man-machine interface 4 is counted M; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost s;
Described main side device controller 3 is carried out following short-circuit detecting program:
A1: timer conter unit resets; Removing external interrupt 0 indicates;
A2: make loop choice switch number counter N mS1=1;
A3: make loop choice switch number counter N mS2=N mS1+ 1;
A4: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch connection;
A5: be numbered N mS2the access of main side loop choice switch normally opened contact; Be numbered N mS2main side core access switch connection;
A6: start timer conter unit, start time length is T stiming;
A7: if timer conter unit does not overflow, perform step A8; Otherwise execution step A10;
A8: if external interrupt 0 indicates be not set, perform step A7; Otherwise execution step A9;
A9: remove external interrupt 0 and indicate; Record N mS1, N mS2arrive core short-circuit line to data list;
A10: timer conter unit resets; Be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A11: loop choice switch number counter N mS2=N mS2+ 1; If N mS2≤ M, performs step A5; Otherwise carry out A12;
A12: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A13: loop choice switch number counter N mS1=N mS1+ 1; If N mS1≤ M-1, performs step A3; Otherwise execution step A14;
A14: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A15: be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A16: timer conter unit resets; Removing external interrupt 0 indicates;
A17: tested cable short-circuit detecting is complete.
Embodiment 4: referring to each accompanying drawing, a kind of electrical cable detecting method, it uses the cable detecting device as described in embodiment 1 or 2, and completing as described in Example 3 after A0~A17 step, carries out following steps, to complete the line order of tested cable core and the detection of opening circuit:
B0: described main side equipment enters random-blind matching status; Described from end equipment wait for T wbacked off after random idle waiting state, also enters random-blind matching status; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2, the blind coupling loop count of largest random that note user sets is L mAX;
Equipment order in random-blind matching process in described main side is carried out following steps:
B1: timer conter unit resets; Removing external interrupt 0 indicates;
B2: random-blind coupling cycle counter N lOOP=1;
B3: effectively terminal index N iNDEX1=1;
B4: be numbered PortNoList[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch connection;
B5: effectively terminal index N iNDEX2=N iNDEX1+ 1;
B6: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally opened contact; Be numbered PortNoList[N iNDEX2] main side core access switch connection;
B7: start timer conter unit, start time length is T ltiming; Wherein: T s< T l≤ T sm (M-1)/2, sets manually or described controller 3 provides;
B8: if timer conter unit overflows, perform step B10; Otherwise execution step B9;
B9: if external interrupt 0 sign is set, perform step B16; Otherwise execution step B8;
B10: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX2] main side core access switch disconnect;
B11: effectively terminal index N iNDEX2=N iNDEX2+ 1; If N iNDEX2≤ K, performs step B6; Otherwise carry out B12;
B12: be numbered PortNoList[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch disconnect;
B13: effectively terminal index N iNDEX1=N iNDEX1+ 1; If N iNDEX1≤ (K-1), perform step B4; Otherwise carry out B14;
B14: random-blind coupling cycle counter N lOOP=N lOOP+ 1, if N lOOP≤ L mAX, perform step B3; Otherwise carry out B15;
B15: it fails to match for main side random-blind, described main side equipment man-computer interface 4 points out user to adjust N lOOPsetting value again carry out random-blind coupling;
B16: note N mSC1=N iNDEX1, N mSC2=N iNDEX2; Disconnect described activation switch 5; Connect described data transmit button 6; Timer conter unit resets; Removing external interrupt 0 indicates;
B17: the match is successful for main side random-blind, enters data communication state;
C0: carry out following steps from end equipment order random-blind matching process: loop choice switch number when the match is successful is respectively N to note in random-blind from end equipment sSC1, N sSC2;
C1: timer conter unit resets; Removing external interrupt 1, external interrupt 2 indicate;
C2: loop choice switch number counter N sS1=1;
C3: loop choice switch number counter N sS2=N sS1+ 1;
C4: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch connection;
C5: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
C6: start timer conter unit, start time length is T stiming;
C7: if timer conter unit overflows, perform step C9; Otherwise execution step C8;
C8: if external interrupt 1 indicates or external interrupt 2 signs are set, perform step C13; Otherwise execution step C7;
C9; Timer conter unit resets; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
C10: loop choice switch number counter N sS2=N sS2+ 1, if N sS2≤ M, performs step C5; Otherwise carry out C11;
C11: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch, disconnect;
C12: loop choice switch number counter N sS1=N sS1+ 1, if N sS1≤ (M-1), perform step C3; Otherwise carry out C2;
C13: timer conter unit resets;
C14: if external interrupt 1 sign is set, carry out C15; Otherwise carry out C16;
C15: remove external interrupt 1 and indicate, note N sSC1=N sS1, N sSC2=N sS2; Carry out C17;
C16: remove external interrupt 2 and indicate, note N sSC1=N sS2, N sSC2=N sS1; Carry out C17;
C17: be numbered N sSC1from end loop selector switch normally closed contact, access; Be numbered N sSC1from end line core access switch connection; Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
C18: disconnect forward detector switch; Disconnect inverse detection switch; Connect data receiving key;
C19: the match is successful from end random-blind, enters data communication state;
D0. described main side equipment and described from end equipment within any free time completing random-blind coupling all in data communication state; Described main side equipment and described data communication employing half-duplex mode between end equipment, any communication process is initiated by main side equipment, and the described order described main side equipment being sent from end equipment responds; The order that described main side equipment sends comprise start that line order detects, the inquiry of blind matching result, the inquiry of line order testing result, wherein start the sense command of line order for main side equipment with from the synchronizeing of end equipment, need to be from holding device responds;
Equipment order in a communication process in main side is carried out following steps:
D1: described controller 3 data transmission unit send command frame total data byte;
D2: whether command frame need to, from end device responds, be to carry out D3; Otherwise carry out D6;
D3: disconnect described data transmit button 6; Connect described data receiver switch 8; Switch described controller 3 to data receiving state;
D4: whether receive from end device responds frame total data byte described in completing, be to carry out D5; Otherwise carry out D4;
D5: connect described data transmit button 6; Disconnect described data receiver switch 8; Switch described controller 3 to data and send state;
D6: one time communication process finishes;
E0: the described following steps of sequentially carrying out a communication process from end equipment:
E1: empty command frame deposit data buffer zone, main side;
E2: whether completing main side device command frame total data byte and receive, is to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is to carry out E4; Otherwise carry out E7;
E4: disconnect described data receiver switch 8; Connect data transmit button 6; Switch described controller 3 to data and send state;
E5: described controller 3 data transmission unit send response frame total data byte;
E6: disconnect described data transmit button 6; Connect described data receiver switch 8; Switch described controller 3 to data receiving state;
E7: one time communication process finishes;
F0: described main side equipment by transmission start line order sense command initial order, testing process opens circuit; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2; By effective main side terminal list PortNoList[K] in N mSC1delete, create the effective terminal list in new main side PortNoListNew[K-1], in main side equipment on-line order, the testing process that opens circuit, order is carried out following steps;
F1:T l=(M-1) * T s, effectively terminal index N iNDEX1=1;
F2: send and start the sense command of line order;
F3: turn-off data transmit button; Connect activation switch 5; Be numbered N mSC2the access of main side loop choice switch normally closed contact; Be numbered N mSC2main side core access switch disconnect; Timer conter unit resets;
F4: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally opened contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch connection;
F5: start timer conter unit, the timing that start time length is TL;
F6: if timer conter unit overflows, perform step F7; Otherwise execution step F6;
F7: timeing closing counter unit; Disconnect described activation switch 5; Connect described data transmit button 6;
F8: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch disconnect;
F9: be numbered N mSC2the access of main side loop choice switch normally opened contact; Be numbered N mSC2main side core access switch connection;
F10: send line order testing result querying command;
F11: if completed from the reception of end equipment line order testing result inquiry response frame, perform step F12; Otherwise execution step F11;
F12: record number is PortNoListNew[N iNDEX1] the corresponding core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N iNDEX1≤ (K-1), perform step F2; Otherwise execution step F15;
F15: tested cable order, the detection of opening circuit finish; Enter data communication state;
G0: describedly start line order sense command backed off after random communications status from end equipment receiving; Described from end equipment on-line order, the testing process that opens circuit order carry out following steps and coordinate described main side equipment to complete the line order of a terminal in the effective terminal list in main side, the detection of opening circuit;
G1: empty command frame deposit data buffer zone, main side;
62: whether having the sense command of the line of startup order, is to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect forward detector switch; Be numbered N sSC2from end loop selector switch normally closed contact, access; Be numbered N sSC2from end line core access switch, disconnect; Timer conter unit resets; Removing external interrupt 1 indicates;
G4: loop choice switch number counter N sS1=N sSC1;
G5: loop choice switch number counter N sS2=1;
G6: if N sS2=N sS1, carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N sS2≤ M, carries out G9; Otherwise carry out G16;
G9: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
G10: start timer conter unit, start time length is T stiming;
G11: if timer conter unit overflows, perform step G14; Otherwise execution step G12;
G12: if external interrupt 1 sign is set, perform step G13; Otherwise execution step G11;
G13: by N sS2be recorded to from end Lead-through terminal table data storage unit; Removing external interrupt 1 indicates;
G14: timeing closing counter unit; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
G15: loop choice switch number counter N sS2=N sS2+ 1; Execution step G6;
G16: disconnect described forward detector switch 10; Connect described data receiver switch 8; Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
G17: coordinate described main side equipment to carry out solid wire heart yearn order, open circuit to detect and finish; Enter data communication state.

Claims (4)

1. a cable detecting device, is characterized in that: it comprises: be connected to main side equipment at tested cable two ends and one from end equipment; Described main side equipment and describedly include from end equipment: switch arrays, current source (1), data transmit circuit, data receiver circuit, matching detector (2), controller (3) and man-machine interface (4);
Described switch arrays comprise the identical branch road of n bar, wherein any branch road that is numbered j by be numbered j tested cable core access terminal, be numbered j core access switch, be numbered loop choice switch that j switches between normally opened contact and the normally closed contact composition that is in series; Described in each branch road, the normally closed contact of loop choice switch links together, and forms the terminal A of described switch arrays, and described in each branch road, the normally opened contact of loop choice switch links together, and forms the terminal B of described switch arrays; The state of all described loop choice switches, described core access switch is controlled by described controller (3);
An outflow of bus current end of described current source (1) is connected to the terminal A of described switch arrays through an activation switch (5) that controlled by described controller (3); The electric current of described current source (1) flows into holds the terminal B that is connected to described switch arrays by described matching detector (2);
Described data transmit circuit comprises the data transmit button (6) and the data transmitter (7) that are serially connected between another outflow of bus current end of described current source (1) and the terminal A of described switch arrays, and described data transmit button (6) is controlled by described controller (3); The digital signal that described data transmitter (7) sends described controller (3) is converted to current impulse;
Described data receiver circuit comprises data receiver switch (8) and the data sink (9) between terminal A and the terminal B that is serially connected in described switch arrays, and described data receiver switch (8) is controlled by described controller (3); Described data sink (9) is converted to digital signal for the current impulse that the described equipment of the tested cable other end is sent, and passes to the described controller (3) of local terminal;
Described matching detector (2) is connected to the terminal B of described switch arrays and the electric current of described current source (1) flows between end, when described current source (1) outflow of bus current end and electric current flow between end loop conducting, described matching detector (2) sends the look-at-me that represents that the match is successful to described controller (3);
Described controller (3) storage and execution trace routine, control the state of described switch arrays, described activation switch (5), described data transmit button (6), described data receiver switch (8), to described data transmitter (7), send data, from described data sink (9), receive data, by its external interrupt 0 port, receive the signal that described matching detector (2) sends;
Described man-machine interface (4) is accepted the instruction and data of artificial input, and sends described controller (3) to, receives the data that described controller (3) provides, demonstration, output detections process and result;
Describedly from end equipment, also comprise: forward testing circuit and inverse detection circuit;
Described forward testing circuit comprises forward detector switch (10) and the forward detecting device (11) between terminal A and the described terminal B that is serially connected in described switch arrays, and described forward detector switch (10) is controlled by described controller (3); Described forward detecting device (11) sends current signal at equipment described in the tested cable other end, and when the terminal A of switch arrays described in local terminal flows to described terminal B, to external interrupt 1 port of described controller (3), send forward and detect look-at-me;
Described inverse detection circuit comprises inverse detection switch (12) and the inverse detection device (13) between terminal A and the described terminal B that is serially connected in described switch arrays, and described inverse detection switch (12) is controlled by described controller (3); Described inverse detection device (12) sends current signal at equipment described in the tested cable other end, and when the terminal B of switch arrays described in local terminal flows to described terminal A, to external interrupt 2 ports of described controller (3), send inverse detection look-at-me.
2. cable detecting device according to claim 1, it is characterized in that: described main side equipment also comprises described forward testing circuit and described inverse detection circuit, be described main side equipment with described identical from end device structure, all can be set to main side equipment or from end equipment by described man-machine interface (4).
3. an electrical cable detecting method, it uses cable detecting device as claimed in claim 1 or 2, and comprises the following steps, to complete the short-circuit detecting between tested cable core:
A0: the heart yearn number of establishing tested cable is M, M≤n, gives its one end the numbering of each heart yearn 1~M with random order, and reference numeral is connected to described described tested cable core access terminal 1~M from end equipment; Described from end device power, described controller (3) carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; From described man-machine interface (4) input latency value T wfrom end equipment, enter idle waiting state;
At the tested cable other end, with random order, give the numbering of each heart yearn 1~M, and reference numeral is connected to the described tested cable core access terminal 1~M of described main side equipment; After the device power of described main side, described controller (3) carries out device initialize setting: all described loop choice switches are all in normally closed contact on-state, and other all switches are all in off-state; The heart yearn of inputting tested cable to described controller (3) by man-machine interface (4) is counted M; Input adapts to tested cable data, can guarantee the test period value T that detection signal is not lost s;
Described main side device controller (3) is carried out following short-circuit detecting program:
A1: timer conter unit resets; Removing external interrupt 0 indicates;
A2: make loop choice switch number counter N mS1=1;
A3: make loop choice switch number counter N mS2=N mS1+ 1;
A4: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch connection;
A5: be numbered N mS2the access of main side loop choice switch normally opened contact; Be numbered N mS2main side core access switch connection;
A6: start timer conter unit, start time length is T stiming;
A7: if timer conter unit does not overflow, perform step A8; Otherwise execution step A10;
A8: if external interrupt 0 indicates be not set, perform step A7; Otherwise execution step A9;
A9: remove external interrupt 0 and indicate; Record N mS1, N mS2arrive core short-circuit line to data list;
A10: timer conter unit resets; Be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A11: loop choice switch number counter N mS2=N mS2+ 1; If N mS2≤ M, performs step A5; Otherwise carry out A12;
A12: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A13: loop choice switch number counter N mS1=N mS1+ 1; If N mS1≤ M-1, performs step A3; Otherwise execution step A14;
A14: be numbered N mS1the access of main side loop choice switch normally closed contact; Be numbered N mS1main side core access switch disconnect;
A15: be numbered N mS2the access of main side loop choice switch normally closed contact; Be numbered N mS2main side core access switch disconnect;
A16: timer conter unit resets; Removing external interrupt 0 indicates;
A17: tested cable short-circuit detecting is complete.
4. a kind of electrical cable detecting method as claimed in claim 3, is characterized in that, completing after described A0~A17 step, carrying out following steps, to complete the line order of tested cable core and the detection of opening circuit:
B0: described main side equipment enters random-blind matching status; Described from end equipment wait for T wbacked off after random idle waiting state, also enters random-blind matching status; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2, the blind coupling loop count of largest random that note user sets is L mAX;
Equipment order in random-blind matching process in described main side is carried out following steps:
B1: timer conter unit resets; Removing external interrupt 0 indicates;
B2: random-blind coupling cycle counter N lOOP=1;
B3: effectively terminal index N iNDEX1=1;
B4: be numbered PortNoList[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch connection;
B5: effectively terminal index N iNDEX2=N iNDEX1+ 1;
B6: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally opened contact; Be numbered PortNoList[N iNDEX2] main side core access switch connection;
B7: start timer conter unit, the timing that start time length is TL; Wherein: T s<T l≤ T sm (M-1)/2, sets manually or described controller (3) provides;
B8: if timer conter unit overflows, perform step B10; Otherwise execution step B9;
B9: if external interrupt 0 sign is set, perform step B16; Otherwise execution step B8;
B10: be numbered PortNoList[N iNDEX2] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX2] main side core access switch disconnect;
B11: effectively terminal index N iNDEX2=N iNDEX2+ 1; If N iNDEX2≤ K, performs step B6; Otherwise carry out B12;
B12: be numbered PortNoList[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoList[N iNDEX1] main side core access switch disconnect;
B13: effectively terminal index N iNDEX1=N iNDEX1+ 1; If N iNDEX1≤ (K-1), perform step B4; Otherwise carry out B14;
B14: random-blind coupling cycle counter N lOOP=N lOOP+ 1, if N lOOP≤ L mAX, perform step B3; Otherwise carry out B15;
B15: it fails to match for main side random-blind, described main side equipment man-computer interface (4) prompting user adjusts N lOOPsetting value again carry out random-blind coupling;
B16: note N mSC1=N iNDEX1, N mSC2=N iNDEX2; Disconnect described activation switch (5); Connect described data transmit button (6); Timer conter unit resets; Removing external interrupt 0 indicates;
B17: the match is successful for main side random-blind, enters data communication state;
C0: carry out following steps from end equipment order random-blind matching process: loop choice switch number when the match is successful is respectively N to note in random-blind from end equipment sSC1, N sSC2;
C1: timer conter unit resets; Removing external interrupt 1, external interrupt 2 indicate;
C2: loop choice switch number counter N sS1=1;
C3: loop choice switch number counter N sS2=N sS1+ 1;
C4: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch connection;
C5: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
C6: start timer conter unit, start time length is T stiming;
C7: if timer conter unit overflows, perform step C9; Otherwise execution step C8;
C8: if external interrupt 1 indicates or external interrupt 2 signs are set, perform step C13; Otherwise execution step C7;
C9: timer conter unit resets; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
C10: loop choice switch number counter N sS2=N sS2+ 1, if N sS2≤ M, performs step C5; Otherwise carry out C11;
C11: be numbered N sS1from end loop selector switch normally closed contact, access; Be numbered N sS1from end line core access switch, disconnect;
C12: loop choice switch number counter N sS1=N sS1+ 1, if N sS1≤ (M-1), perform step C3; Otherwise carry out C2;
C13: timer conter unit resets;
C14: if external interrupt 1 sign is set, carry out C15; Otherwise carry out C16;
C15: remove external interrupt 1 and indicate, note N sSC1=N sS1, N sSC2=N sS2; Carry out C17;
C16: remove external interrupt 2 and indicate, note N sSC1=N sS2, N sSC2=N sS1; Carry out C17;
C17: be numbered N sSC1from end loop selector switch normally closed contact, access; Be numbered N sSC1from end line core access switch connection; Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
C18: disconnect forward detector switch; Disconnect inverse detection switch; Connect data receiving key;
C19: the match is successful from end random-blind, enters data communication state;
D0. described main side equipment and described from end equipment within any free time completing random-blind coupling all in data communication state; Described main side equipment and described data communication employing half-duplex mode between end equipment, any communication process is initiated by main side equipment, and the described order described main side equipment being sent from end equipment responds; The order that described main side equipment sends comprise start that line order detects, the inquiry of blind matching result, the inquiry of line order testing result, wherein start the sense command of line order for main side equipment with from the synchronizeing of end equipment, need to be from holding device responds;
Equipment order in a communication process in main side is carried out following steps:
D1: described controller (3) data transmission unit sends command frame total data byte;
D2: whether command frame need to, from end device responds, be to carry out D3; Otherwise carry out D6;
D3: disconnect described data transmit button (6); Connect described data receiver switch (8); Switch described controller (3) to data receiving state;
D4: whether receive from end device responds frame total data byte described in completing, be to carry out D5; Otherwise carry out D4;
D5: connect described data transmit button (6); Disconnect described data receiver switch (8); Switch described controller (3) to data and send state;
D6: one time communication process finishes;
E0: the described following steps of sequentially carrying out a communication process from end equipment:
E1: empty command frame deposit data buffer zone, main side;
E2: whether completing main side device command frame total data byte and receive, is to carry out E3; Otherwise carry out E2;
E3: whether command frame needs response, is to carry out E4; Otherwise carry out E7;
E4: disconnect described data receiver switch (8); Connect data transmit buttons (6); Switch described controller (3) to data and send state;
E5: described controller (3) data transmission unit sends response frame total data byte;
E6: disconnect described data transmit button (6); Connect described data receiver switch (8); Switch described controller (3) to data receiving state;
E7: one time communication process finishes;
F0: described main side equipment by transmission start line order sense command initial order, testing process opens circuit; The terminal quantity of note in the effective terminal list in main side is K, and the note effective terminal list in main side is PortNoList[K], note main side equipment random-blind when the match is successful loop choice switch number be respectively N mSC1, N mSC2; By effective main side terminal list PortNoList[K] in N mSC1delete, create the effective terminal list in new main side PortNoListNew[K-1], in main side equipment on-line order, the testing process that opens circuit, order is carried out following steps;
F1:T l=(M-1) * T s, effectively terminal index N iNDEX1=1;
F2: send and start the sense command of line order;
F3: turn-off data transmit button; Connect activation switch (5); Be numbered N mSC2the access of main side loop choice switch normally closed contact; Be numbered N mSC2main side core access switch disconnect; Timer conter unit resets;
F4: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally opened contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch connection;
F5: start timer conter unit, start time length is T ltiming;
F6: if timer conter unit overflows, perform step F7; Otherwise execution step F6;
F7: timeing closing counter unit; Disconnect described activation switch (5); Connect described data transmit button (6);
F8: be numbered PortNoListNew[N iNDEX1] the access of main side loop choice switch normally closed contact; Be numbered PortNoListNew[N iNDEX1] main side core access switch disconnect;
F9: be numbered N mSC2the access of main side loop choice switch normally opened contact; Be numbered N mSC2main side core access switch connection;
F10: send line order testing result querying command;
F11: if completed from the reception of end equipment line order testing result inquiry response frame, perform step F12; Otherwise execution step F11;
F12: record number is PortNoListNew[N iNDEX1] the corresponding core of terminal with from holding the annexation of whole cores;
F13:N INDEX1=N INDEX1+1;
F14: if N iNDEX1≤ (K-1), perform step F2; Otherwise execution step F15;
F15: tested cable order, the detection of opening circuit finish; Enter data communication state;
G0: describedly start line order sense command backed off after random communications status from end equipment receiving; Described from end equipment on-line order, the testing process that opens circuit order carry out following steps and coordinate described main side equipment to complete the line order of a terminal in the effective terminal list in main side, the detection of opening circuit;
G1: empty command frame deposit data buffer zone, main side;
G2: whether having the sense command of the line of startup order, is to carry out G3; Otherwise carry out G2;
G3: turn-off data receiving key; Connect forward detector switch; Be numbered N sSC2from end loop selector switch normally closed contact, access; Be numbered N sSC2from end line core access switch, disconnect; Timer conter unit resets; Removing external interrupt 1 indicates;
G4: loop choice switch number counter N sS1=N sSC;
G5: loop choice switch number counter N sS2=1;
G6: if N sS2=N sS1, carry out G7; Otherwise carry out G8;
G7:N SS2=N SS2+1;
G8: if N sS2≤ M, carries out G9; Otherwise carry out G16;
G9: be numbered N sS2from end loop selector switch normally opened contact, access; Be numbered N sS2from end line core access switch connection;
G10: start timer conter unit, start time length is T stiming;
G11: if timer conter unit overflows, perform step G14; Otherwise execution step G12;
G12: if external interrupt 1 sign is set, perform step G13; Otherwise execution step G11;
G13: by N sS2be recorded to from end Lead-through terminal table data storage unit; Removing external interrupt 1 indicates;
G14: timeing closing counter unit; Be numbered N sS2from end loop selector switch normally closed contact, access; Be numbered N sS2from end line core access switch, disconnect;
G15: loop choice switch number counter N sS2=N sS2+ 1; Execution step G6;
G16: disconnect described forward detector switch (10); Connect described data receiver switch (8); Be numbered N sSC2from end loop selector switch normally opened contact, access; Be numbered N sSC2from end line core access switch connection;
G17: coordinate described main side equipment to carry out solid wire heart yearn order, open circuit to detect and finish; Enter 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 CN102621439A (en) 2012-08-01
CN102621439B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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

Citations (5)

* 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 electrical cable detecting method and device thereof
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4231512B2 (en) * 2006-05-26 2009-03-04 日立建機株式会社 Antenna cable disconnection detector for construction machine radio communication apparatus and construction machine radio communication apparatus

Patent Citations (5)

* 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 electrical cable detecting method and device thereof
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

Also Published As

Publication number Publication date
CN102621439A (en) 2012-08-01

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
CN108982996B (en) Outdoor scene substitution type extra-high voltage direct current protection field testing device
CN103904779A (en) Intelligent substation intelligent terminal analog device and using method thereof
CN105388416A (en) Intelligent substation relay protection remote test system
CN106407068A (en) A device automatically controlling connection and disconnection of USB cables and a testing method
CN103354388B (en) Multi-service linked electric power operation instruction issuing method
CN105527521A (en) Relay protection device verification auxiliary equipment and monitoring system
CN110520743A (en) Test board, test macro and the test method of charging unit
CN208443947U (en) A kind of multi-functional wire of novel intelligent based on code communication
CN103955870A (en) Automatic distribution method for optical cables of process layer of intelligent substation secondary system
CN107450019A (en) Handcart type breaker low-voltage motion test instrument
CN104155570A (en) Cable checking device
CN211206746U (en) Automatic testing arrangement of distribution terminal aerial plug cable
CN204694798U (en) A kind of netting twine on off test device
CN205139323U (en) Distant examination testing system of intelligent substation relay protection
CN205139276U (en) Local relay protection testing system of intelligent substation
CN105634586A (en) Fiber channel measuring device
CN211789884U (en) Network cable
CN105471028A (en) Charging device and charging method for mobile terminals
CN107346295A (en) A kind of data transmission cable and data transmission method
US10890345B2 (en) System and methods for a commissioning a sensor system
CN203871923U (en) Total-station intelligent terminal simulating device of intelligent transformer station
CN208172131U (en) A kind of electricity getting device and test macro
CN207133366U (en) Intelligent terminal response time test system

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