CN102891702B - Cable diagnosis method and device - Google Patents

Cable diagnosis method and device Download PDF

Info

Publication number
CN102891702B
CN102891702B CN201210389970.6A CN201210389970A CN102891702B CN 102891702 B CN102891702 B CN 102891702B CN 201210389970 A CN201210389970 A CN 201210389970A CN 102891702 B CN102891702 B CN 102891702B
Authority
CN
China
Prior art keywords
amplitude
data
cable
digital
maximum
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.)
Active
Application number
CN201210389970.6A
Other languages
Chinese (zh)
Other versions
CN102891702A (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.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Taizhou Haitong Asset Management Co ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210389970.6A priority Critical patent/CN102891702B/en
Publication of CN102891702A publication Critical patent/CN102891702A/en
Application granted granted Critical
Publication of CN102891702B publication Critical patent/CN102891702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Locating Faults (AREA)

Abstract

The embodiment of the invention discloses a cable diagnosis method and a cable diagnosis device, which relates to the field of communication, and can reduce the power consumption of the cable diagnosis device and reduce the design difficulty and cost. The method comprises the following steps: deducting a near-end echo from a reflection signal generated by a preset waveform mode by using a digital signal processing method so as to obtain a reflection wave signal; recording the digital data of the reflection wave signal as digital reflection wave signal data, and detecting the peak information of the digital reflection wave signal data, wherein the peak information comprises the maximum and minimum values of the amplitude of the digital reflection wave signal data and corresponding time information when the amplitude is maximum and minimum; and confirming the current situation of a cable according to the peak information, and calculating a fault position. The method and device disclosed by the embodiment of the invention is applied to the state diagnosis of cables.

Description

A kind of method and device diagnosing cable
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and the device of diagnosing cable.
Background technology
When using the Ethernet based on twisted-pair feeder, often need the abnormal conditions such as short circuit, open circuit diagnosing cable.Physical layer (Physical Layer the is called for short PHY) chip of Ethernet uses Time Domain Reflectometry (time domain reflectometry is called for short TDR) to realize cable diagnostics function usually.The principle of TDR may be summarized to be: PHY chip sends a crest, when there are short circuit, open circuit in the arbitrary road of twisted-pair feeder, crest can reflect, after PHY chip receives reflected wave, calculate the time delay between transmitting and receiving, according to the propagation velocity of the signal of telecommunication in twisted-pair feeder, calculate the distance at short circuit or open circuit place, and derive short circuit or open circuit.TDR is used to realize cable diagnostics function, owing to sending the possibility of ripple and reflected wave existence superposition, must eliminate at receiving terminal the impact (namely near-end echo, near-end echo) sending crest, otherwise very near open circuit, short dot cannot be measured.
Generally design for I EEE (Institute of Electrical andElectronic Engineers, Electronic Engineering Association) 1000Base-T (Gigabit Ethernet) agreement in prior art.The PHY chip of IEEE 1000Base-T Protocol Design is adopted to contain HYBRID circuit (hybrid circuit), this circuit uses analog circuit to eliminate near-end echo effect, such employing 100Base-TX/10Base-T (100,000,000/ten mbit ethernets), then can not TDR cable diagnostics function if the PHY chip of Protocol Design does not comprise simulation HYBRID circuit; And the comparatively large and design difficulty of the PHY chip power dissipation ratio comprising simulation HYBRID circuit and cost compare high.
Summary of the invention
Embodiments of the invention provide a kind of method and the device of diagnosing cable, can reduce cable diagnostics device power consumption and reduce design difficulty and cost simultaneously.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of method diagnosing cable, comprising:
The digital waveform data corresponding according to preset waveform pattern generates waveform signal and is sent to cable to be detected;
Receive the reflected signal that described cable to be detected generates according to described waveform signal, wherein said reflected signal is the superposition of near-end echo that described waveform signal produces in the described cable to be detected reflection wave signal corresponding with described waveform signal;
Described reflected signal is converted to digital reflection signals data;
The numerical data that numerical data corresponding according to the described near-end echo of described preset waveform pattern simulation generation for described digital reflection signals data subduction obtains described reflection wave signal is designated as digital reflection wave signal data;
Detect described digital reflection wave signal data peaks information, wherein said peak information comprises the maximum of the amplitude of described digital reflection wave signal data and minimum and described amplitude in temporal information corresponding to maximum and minimum place;
The present situation of described cable is confirmed according to described peak information.
In the implementation that the first is possible, according to first aspect, the described digital waveform data corresponding according to preset waveform pattern generation waveform signal is sent to cable to be detected and comprises:
Generate digital waveform data according to preset waveform pattern and record the first moment of described digital waveform data generation;
Described digital waveform data be converted to corresponding described waveform signal and be sent to described cable to be detected.
In the implementation that the second is possible, the implementation possible according to the first, detects described digital reflection wave signal data peaks information and comprises:
When detection receives the maximum of the amplitude of described digital reflection wave signal data, the generation very first time records and records the maximum of described amplitude;
Interocclusal record when generating second when detecting and receiving the minimum of the amplitude of described digital reflection wave signal data also records the minimum of described amplitude.
In the implementation that the third is possible, according to described peak information, the implementation possible according to the second, describedly confirms that the present situation of described cable comprises:
When the maximum of described amplitude is greater than the first default amplitude threshold and the minimum of described amplitude is greater than the second default amplitude threshold, determine that described cable to be detected is normal;
Each self-corresponding default amplitude threshold is less than or equal to when having one in the maximum of described amplitude and the minimum of described amplitude at least, and the amplitude direction of described digital reflection wave signal data and the same phase time of described digital waveform data, determine that described cable to be detected is opened a way;
Each self-corresponding default amplitude threshold is less than or equal to when having one in the maximum of described amplitude and the minimum of described amplitude at least, and the amplitude direction of described digital reflection wave signal data and described digital waveform data anti-phase time, determine described cable short circuit to be detected.
In the 4th kind of possible implementation, the implementation possible according to the third, described determine described cable short circuit to be detected after also comprise:
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then calculate location of short circuit according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
In the 5th kind of possible implementation, the implementation possible according to the third, described determine described cable to be detected open circuit after also comprise:
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then calculate open-circuit position according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position.
Wherein said fixed delay is described digital waveform data and the propagation time of described reflected signal data in described cable diagnostics device, and described propagation velocity is the speed that described waveform signal is propagated in described cable to be detected.
Second aspect, provides a kind of cable diagnostics device, comprising:
Control processor, is sent to transmitter and echo gecerator for preset waveform pattern by described preset waveform pattern;
Described transmitter, is sent to cable to be detected for receiving the preset waveform pattern of described control processor and generating waveform signal according to digital waveform data corresponding to described preset waveform pattern;
Receiver, for receiving the reflected signal that described cable to be detected generates according to described waveform signal, wherein said reflected signal is the superposition of near-end echo that described waveform signal produces in the described cable to be detected reflection wave signal corresponding with described waveform signal;
Receiver, also delivers to data processor for described reflected signal is converted to digital reflection signals Data Concurrent;
Data processor, the numerical data obtaining described reflection wave signal for the numerical data that the described digital reflection signals data subduction sent by described receiver is corresponding according to the described near-end echo of described waveform pattern simulation generation is designated as digital reflection wave signal data, wherein said echo gecerator, for receiving described preset waveform pattern that described control processor sends and numerical data corresponding to the described near-end echo generated according to the simulation of described preset waveform pattern;
Detection machine, for detecting described digital reflection wave signal data peaks information that described data processor sends and described peak information being sent to control processor, wherein said peak information comprises the maximum of the amplitude of described digital reflection wave signal data and minimum and described amplitude in temporal information corresponding to maximum and minimum place;
Control processor, confirms the present situation of described cable according to the described peak information of described detection machine transmission.
In the implementation that the first is possible, according to first aspect, described transmitter also comprises:
Pulse generator, for generating described digital waveform data according to preset waveform pattern and described digital waveform data being sent to digital-to-analogue conversion transmitter;
Described digital-to-analogue conversion transmitter, the described digital waveform data for being sent by described pulse generator is converted to corresponding described waveform signal and is sent to described cable to be detected;
Wherein, the detection machine of described cable diagnostics device also comprises timer, the first moment that described timer generates for recording described digital waveform data.
In the implementation that the second is possible, the implementation possible according to the first, described detection machine comprises:
Peak detector, the maximum of described amplitude is sent to control processor by the amplitude for detecting the described digital reflection wave signal data received also records described amplitude maximum when detecting and receiving the maximum of the amplitude of described digital reflection wave signal data, and is sent to described control processor by described timer generation very first time record;
Peak detector, also for detecting the amplitude of the described digital reflection wave signal data received and the minimum of described amplitude is sent to control processor by the minimum recording described amplitude when detection receives the minimum of the amplitude of described digital reflection wave signal data, and when generating second by described timer, interocclusal record is sent to described control processor.
In the implementation that the third is possible, the implementation possible according to the second,
Described control processor specifically for, the minimum of amplitude described in the maximum value receiving the described amplitude that described peak detector sends, and the described very first time record that sends of described timer and described second time interocclusal record, when the maximum of described amplitude is greater than the first default amplitude threshold and the minimum of described amplitude is greater than the second default amplitude threshold, determine that described cable to be detected is normal;
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of described amplitude and the minimum of described amplitude, and the amplitude direction of described digital reflection wave signal data and the same phase time of described digital waveform data, determine that described cable to be detected is opened a way;
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of described amplitude and the minimum of described amplitude, and the amplitude direction of described digital reflection wave signal data and described digital waveform data anti-phase time, determine described cable short circuit to be detected.
In the 4th kind of possible implementation, the implementation possible according to the third,
If described control treatment implement body is also greater than the minimizing absolute value of amplitude for the absolute value of the maximum of the amplitude of described digital waveform data, then calculate location of short circuit according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
In the 5th kind of possible implementation, the implementation possible according to the third, if described control treatment implement body is also less than the minimizing absolute value of amplitude for the absolute value of the maximum of the amplitude of described digital waveform data, then calculate open-circuit position according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position.
Wherein said fixed delay is described digital waveform data and the propagation time of described reflected signal data in described cable diagnostics device, and described propagation velocity is the speed that described waveform signal is propagated in described cable to be detected.
The method of the diagnosis cable that embodiments of the invention provide and device, adopt the method for Digital Signal Processing that the reflected signal generated by preset waveform pattern subduction near-end echo is obtained reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of schematic flow sheet diagnosing the method for cable that Fig. 1 provides for embodiments of the invention;
The schematic flow sheet of the method for the another kind diagnosis cable that Fig. 2 provides for embodiments of the invention;
A kind of schematic flow sheet diagnosing the device of cable that Fig. 3 provides for embodiments of the invention;
The schematic flow sheet of the device of the another kind diagnosis cable that Fig. 4 provides for embodiments of the invention;
The oscillogram of the square wave for a kind of diagnostics lines cable device that Fig. 5 provides for embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments of the invention disclose a kind of method diagnosing cable, and as shown in Figure 1, the method comprises the steps:
101, the waveform signal of generation is sent to cable to be detected by cable diagnostics device.
102, the reflected signal that cable to be detected generates according to waveform signal is received.
Wherein, reflected signal is the superposed signal of near-end echo that waveform signal produces in the cable to be detected reflection wave signal corresponding with waveform signal.
103, this reflected signal is converted to digital reflection signals data, and deducts the numerical data that the numerical data corresponding according to the near-end echo of preset waveform pattern simulation generation obtains reflection wave signal.
104, the peak information of digital reflection wave signal is detected.
Wherein, peak information comprises the maximum of the amplitude of digital reflection wave signal data and minimum and amplitude in temporal information corresponding to maximum and minimum place.
105, the present situation of cable is confirmed according to peak information.
The method of the diagnosis cable that the present embodiment provides, adopt the method for Digital Signal Processing that the reflected signal generated by preset waveform pattern subduction near-end echo is obtained reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
Embodiments of the invention specifically describe the method that embodiment one diagnoses cable, and (be specifically as the criterion with specification) as shown in Figure 2, the method comprises the steps:
201, the waveform signal of generation is sent to cable to be detected by cable diagnostics device.
202, the reflected signal that cable to be detected generates according to waveform signal is received.
Wherein, reflected signal is the superposed signal of near-end echo that waveform signal produces in the cable to be detected reflection wave signal corresponding with waveform signal.
203, reflected signal is converted to digital reflection signals data, and deducts the numerical data that the numerical data corresponding according to the near-end echo of preset waveform pattern simulation generation obtains reflection wave signal.
204, the peak information of digital reflection wave signal is detected.
Wherein, peak information comprises the maximum of the amplitude of digital reflection wave signal data and minimum and amplitude in temporal information corresponding to maximum and minimum place.
Wherein 204 specifically comprise:
204a, generate the very first time when detecting the maximum of the amplitude of digital reflection wave signal data received and record and record the maximum of amplitude.
204b, interocclusal record record the minimum of amplitude when generating second when detecting the minimum of the amplitude of digital reflection wave signal data received.
205a, when the maximum of amplitude is greater than the first default amplitude threshold and the minimum of amplitude is greater than the second default amplitude threshold, determine that cable to be detected is normal.
205b, when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of amplitude and the minimum of amplitude, and the amplitude direction of digital reflection wave signal data and the same phase time of digital waveform data, determine cable open circuit to be detected.
205c, when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of amplitude and the minimum of amplitude, and the amplitude direction of digital reflection wave signal data and digital waveform data anti-phase time, determine cable short circuit to be detected.
If the absolute value of the maximum of the amplitude of 206a digital waveform data is less than the minimizing absolute value of amplitude, then calculate open-circuit position according to very first time record, fixed delay and propagation velocity; If the absolute value of the maximum of the amplitude of digital waveform data is greater than the minimizing absolute value of amplitude, then according to second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position.
If the absolute value of the maximum of the amplitude of 206b digital waveform data is greater than the minimizing absolute value of amplitude, then calculate location of short circuit according to very first time record, fixed delay and propagation velocity; If the absolute value of the maximum of the amplitude of digital waveform data is less than the minimizing absolute value of amplitude, then according to second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
Wherein fixed delay is the propagation time in digital waveform data and reflected signal online data cable diagnostic device, and propagation velocity is the speed that waveform signal is propagated in cable to be detected.
The method of the diagnosis cable that the present embodiment provides, adopt the method for Digital Signal Processing that the reflected signal generated by preset waveform pattern subduction near-end echo is obtained reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
Embodiments of the invention disclose a kind of cable diagnostics device 3, as shown in Figure 3, comprising: control processor 31, echo gecerator 32, transmitter 33, receiver 34, data processor 35 and detection machine 36, wherein:
Control processor 31, is sent to transmitter 33 and echo gecerator 32 for preset waveform pattern by preset waveform pattern.
Transmitter 33, is sent to cable to be detected for receiving the preset waveform pattern of control processor 31 and generating waveform signal according to digital waveform data corresponding to preset waveform pattern.
Receiver 34, for receiving the reflected signal that cable to be detected generates according to waveform signal, wherein reflected signal is the superposition of near-end echo that waveform signal produces in the cable to be detected reflection wave signal corresponding with waveform signal.
Receiver 34, also delivers to data processor 35 for reflected signal being converted to digital reflection signals Data Concurrent.
Data processor 35, the numerical data obtaining reflection wave signal for the numerical data that the digital reflection signals data subduction sent by receiver 34 is corresponding according to the near-end echo of waveform pattern simulation generation is designated as digital reflection wave signal data, wherein echo gecerator 32, for receiving the preset waveform pattern that control processor 31 sends and numerical data corresponding to near-end echo generated according to the simulation of preset waveform pattern.
Detection machine 36, for detecting digital reflection wave signal data peaks information that data processor 35 sends and this peak information being sent to control processor 31, peak information wherein comprises the maximum of the amplitude of digital reflection wave signal data and minimum and amplitude in temporal information corresponding to maximum and minimum place.
Control processor 31, according to the present situation detecting the peak information confirmation cable that machine 36 sends.
The cable diagnostics device that the present embodiment provides, adopt the method for Digital Signal Processing that the reflected signal generated by preset waveform pattern subduction near-end echo is obtained reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
Embodiments of the invention specifically describe a kind of cable diagnostics device, as shown in Figure 4, comprising: control processor 31, echo gecerator 32, transmitter 33, receiver 34, data processor 35 and detection machine 36, wherein:
Control processor 31, is sent to transmitter 33 and echo gecerator 32 for preset waveform pattern by described preset waveform pattern.
Transmitter 33, is sent to cable to be detected for receiving the preset waveform pattern of control processor 31 and generating waveform signal according to digital waveform data corresponding to preset waveform pattern.
Concrete, transmitter 33 also comprises: pulse generator 331 and digital-to-analogue conversion transmitter 332, wherein
Pulse generator 331, for generating digital waveform data according to preset waveform pattern and digital waveform data being sent to digital-to-analogue conversion transmitter 332;
Described digital-to-analogue conversion transmitter 332, the described digital waveform data for being sent by described pulse generator 331 is converted to corresponding described waveform signal and is sent to described cable to be detected.
Receiver 34, for receiving the reflected signal that cable to be detected generates according to waveform signal, wherein reflected signal is the superposition of near-end echo that waveform signal produces in the cable to be detected reflection wave signal corresponding with waveform signal.
Receiver 34, also delivers to data processor 35 for reflected signal being converted to digital reflection signals Data Concurrent.
Data processor 35, the numerical data obtaining reflection wave signal for the numerical data that the digital reflection signals data subduction sent by receiver 34 is corresponding according to the near-end echo of waveform pattern simulation generation is designated as digital reflection wave signal data, wherein echo gecerator 32, for receiving the preset waveform pattern that control processor 31 sends and numerical data corresponding to near-end echo generated according to the simulation of this preset waveform pattern.
Detection machine 36, for detecting digital reflection wave signal data peaks information that data processor 35 sends and peak information being sent to control processor 31, peak information wherein comprises the maximum of the amplitude of digital reflection wave signal data and minimum and amplitude in temporal information corresponding to maximum and minimum place.
Concrete, detection machine 36 also comprises: peak detector 361 and timer 362, wherein:
Peak detector 361, for detect the digital reflection wave signal data received amplitude and when the maximum of amplitude of the digital reflection wave signal data received being detected the maximum of record amplitude the maximum of amplitude is sent to control processor 31, and generate the very first time by timer 362 and record and be sent to control processor 31;
Peak detector 361, also for detect the digital reflection wave signal data received amplitude and when the minimum of the amplitude receiving digital reflection wave signal data being detected the minimum of record amplitude the minimum of amplitude is sent to control processor 31, and when generating second by timer 362, interocclusal record is sent to control processor 31.
Timer 362, the first moment that the digital waveform data also sent for recording impulse generator 331 generates.
Control processor 31, according to the present situation detecting the peak information confirmation cable that machine 36 sends.
Concrete, control processor 31 specifically for, receive the minimum of the maximum value amplitude of the amplitude that peak detector 361 sends, and timer 362 send the very first time record and second time interocclusal record, when the maximum of amplitude is greater than the first default amplitude threshold and the minimum of amplitude is greater than the second default amplitude threshold, determine that cable to be detected is normal;
Or, when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of amplitude and the minimum of amplitude, and the amplitude direction of digital reflection wave signal data and the same phase time of digital waveform data, determine cable open circuit to be detected;
Or, when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of amplitude and the minimum of described amplitude, and the amplitude direction of described digital reflection wave signal data and digital waveform data anti-phase time, determine cable short circuit to be detected.
Further, optionally, if the concrete minimizing absolute value being also greater than amplitude for the absolute value of the maximum of the amplitude of digital waveform data of control processor 31, then location of short circuit is calculated according to very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of digital waveform data is less than the minimizing absolute value of amplitude, then according to second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
Optionally, if the concrete minimizing absolute value being also less than amplitude for the absolute value of the maximum of the amplitude of digital waveform data of control processor 31, then open-circuit position is calculated according to very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of digital waveform data is greater than the minimizing absolute value of amplitude, then according to second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position.
Wherein fixed delay is the propagation time in digital waveform data and reflected signal online data cable diagnostic device, and described propagation velocity is the speed that waveform signal is propagated in cable to be detected.
The cable diagnostics device that the present embodiment provides, adopt the method for Digital Signal Processing that the reflected signal generated by preset waveform pattern subduction near-end echo is obtained reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
(wherein the party's wave amplitude direction is for forward for square wave for the waveform signal sent with transmitter 33, namely the amplitude of wave trough position is 0, the amplitude of crest location is positive number) be specifically described, wherein square-wave waveform is as shown in Figure 5, first control processor 31, preset square-wave waveform pattern is sent to pulse generator 331, square-wave waveform data are converted to corresponding square-wave signal through digital to analog converter 332 and are sent to cable to be detected by pulse generator 331, simultaneously when pulse generator 331 is by square-wave waveform schema creation square-wave waveform data, timer 362 generates the first moment t0 at the moment.Reflected signal can be produced according to current cable situation in short circuit or open circuit place after cable reception to be detected to square-wave signal, and import in receiver 34.And the superposition of the reflected signal that receiver 34 the receives reflection wave signal that to be near-end echo that square-wave signal produces in cable to be detected corresponding with square-wave signal.Now, the signal after this superposition is converted to digital signal by receiver 34, and is sent to data processor 35 and carries out subtracting computing, deducts the square-wave signal of transmission, just obtain pure reflection wave signal with the signal after superposition.
This reflection wave signal detects maximum X1 and the minimum X2 of reflected waveform data amplitude through peak detector 361.While maximum reflected waveform data amplitude being detected, timer 362 generates very first time record t1, and interocclusal record t2 when timer 362 generates second while minimum X2 reflected waveform data being detected.
Finally, the timer 362 of the amplitude maximum X1 that sends according to peak detector 361 of control processor 31 and peak value minimum X2 and correspondence generate very first time record t1 and second time interocclusal record t2 confirm the present situation of cable.
Wherein, when the maximum X1 of amplitude is greater than the first default amplitude threshold A1 and the minimum X2 of amplitude is greater than the second default amplitude threshold A2, determine that detected cable is normal; The amplitude of normally loaded signal is generally greater than the amplitude of detection waveform (waveform signal).
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum X1 of amplitude and the minimum X2 of amplitude, and the absolute value of the maximum of amplitude | X1| is less than the minimizing absolute value of amplitude | during X2|, the crest of reflected waveform data be on the occasion of, trough is 0, determine cable short circuit to be detected, and calculate location of short circuit according to very first time record t1, fixed delay Δ t and propagation velocity v; For the reflection wave signal that the square-wave waveform shown in Fig. 5 is corresponding,
The computing formula of the line length of location of short circuit is: L1=(t1-Δ t) * v/2;
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum X1 of amplitude and the minimum X2 of amplitude, and the absolute value of the maximum of amplitude | X1| is greater than the minimizing absolute value of amplitude | during X2|, the crest of reflected waveform data is 0, trough is negative value, determine cable to be detected open circuit, and according to second time interocclusal record t 2 and fixed delay Δ t and propagation velocity v calculate open-circuit position; For the reflection wave signal that the square-wave waveform shown in Fig. 5 is corresponding,
The computing formula of the line length of open-circuit position is L2=(t2-Δ t) * v/2;
Wherein fixed delay is the propagation time in digital waveform data and reflected signal online data cable diagnostic device, and propagation velocity is the speed that waveform signal is propagated in cable to be detected, and therefore fixed delay is the constant relevant with cable diagnostics device.
The cable diagnostics device that the present embodiment provides, adopt the method for Digital Signal Processing that the reflected signal by preset square-wave waveform schema creation is reduced near-end echo and obtain reflection wave signal, the situation of cable is judged again according to the reflection wave signal obtained, compare and adopt the mode of analog to save partial simulation circuit member cable diagnostics device can be made to reduce power consumption, reduce design difficulty and cost simultaneously.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (12)

1. diagnose a method for cable, be applied to a kind of cable diagnostics device, it is characterized in that, comprising:
Generate waveform signal according to digital waveform data corresponding to preset waveform pattern and be sent to cable to be detected, so that the described cable to be detected reflection wave signal corresponding with described waveform signal according to the near-end echo produced in described cable to be detected generates reflected signal;
Receive the reflected signal that described cable to be detected generates according to described waveform signal, wherein said reflected signal is the superposition of near-end echo that described waveform signal produces in the described cable to be detected reflection wave signal corresponding with described waveform signal;
Described reflected signal is converted to digital reflection signals data;
The numerical data that numerical data corresponding according to the described near-end echo of described preset waveform pattern simulation generation for described digital reflection signals data subduction obtains described reflection wave signal is designated as digital reflection wave signal data;
Detect the peak information of described digital reflection wave signal data, wherein said peak information comprises the maximum of the amplitude of described digital reflection wave signal data and minimum and described amplitude in temporal information corresponding to maximum and minimum place;
The present situation of described cable is confirmed according to described peak information.
2. method according to claim 1, is characterized in that, the described digital waveform data corresponding according to preset waveform pattern generation waveform signal is sent to cable to be detected and comprises:
Generate digital waveform data according to preset waveform pattern and record the first moment of described digital waveform data generation;
Described digital waveform data be converted to corresponding described waveform signal and be sent to described cable to be detected.
3. method according to claim 2, is characterized in that, the described digital reflection wave signal data peaks information of described detection comprises:
When detection receives the maximum of the amplitude of described digital reflection wave signal data, the generation very first time records and records the maximum of described amplitude;
Interocclusal record when generating second when detecting and receiving the minimum of the amplitude of described digital reflection wave signal data also records the minimum of described amplitude.
4. method according to claim 3, is characterized in that, describedly confirms that the present situation of described cable comprises according to described peak information:
When the maximum of described amplitude is greater than the first default amplitude threshold and the minimum of described amplitude is greater than the second default amplitude threshold, determine that described cable to be detected is normal;
Each self-corresponding default amplitude threshold is less than or equal to when having one in the maximum of described amplitude and the minimum of described amplitude at least, and the amplitude direction of described digital reflection wave signal data and the same phase time of described digital waveform data, determine that described cable to be detected is opened a way;
Each self-corresponding default amplitude threshold is less than or equal to when having one in the maximum of described amplitude and the minimum of described amplitude at least, and the amplitude direction of described digital reflection wave signal data and described digital waveform data anti-phase time, determine described cable short circuit to be detected.
5. method according to claim 4, is characterized in that, described determine described cable short circuit to be detected after also comprise:
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then calculate location of short circuit according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
6. method according to claim 4, is characterized in that, described determine described cable to be detected open circuit after also comprise:
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then calculate open-circuit position according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position;
Wherein said fixed delay is described digital waveform data and the propagation time of described reflected signal data in described cable diagnostics device, and described propagation velocity is the speed that described waveform signal is propagated in described cable to be detected.
7. a cable diagnostics device, is characterized in that, comprising:
Control processor, is sent to transmitter and echo gecerator for preset waveform pattern by preset waveform pattern;
Described transmitter, cable to be detected is sent to, so that the described cable to be detected reflection wave signal corresponding with described waveform signal according to the near-end echo produced in described cable to be detected generates reflected signal for receiving the preset waveform pattern of described control processor and generating waveform signal according to digital waveform data corresponding to described preset waveform pattern;
Receiver, for receiving the reflected signal that described cable to be detected generates according to described waveform signal, wherein said reflected signal is the superposition of near-end echo that described waveform signal produces in the described cable to be detected reflection wave signal corresponding with described waveform signal;
Receiver, also delivers to data processor for described reflected signal is converted to digital reflection signals Data Concurrent;
Data processor, the numerical data obtaining described reflection wave signal for the numerical data that the described digital reflection signals data subduction sent by described receiver is corresponding according to the described near-end echo of described waveform pattern simulation generation is designated as digital reflection wave signal data, wherein said echo gecerator, for receiving described preset waveform pattern that described control processor sends and numerical data corresponding to the described near-end echo generated according to the simulation of described preset waveform pattern;
Detection machine, for detecting described digital reflection wave signal data peaks information that described data processor sends and described peak information being sent to control processor, wherein said peak information comprises the maximum of the amplitude of described digital reflection wave signal data and minimum and described amplitude in temporal information corresponding to maximum and minimum place;
Control processor, confirms the present situation of described cable according to the described peak information of described detection machine transmission.
8. device according to claim 7, is characterized in that, described transmitter also comprises:
Pulse generator, for generating described digital waveform data according to preset waveform pattern and described digital waveform data being sent to digital-to-analogue conversion transmitter;
Described digital-to-analogue conversion transmitter, the described digital waveform data for being sent by described pulse generator is converted to corresponding described waveform signal and is sent to described cable to be detected;
Wherein, the detection machine of described cable diagnostics device also comprises timer, the first moment that described timer generates for recording described digital waveform data.
9. device according to claim 8, is characterized in that, described detection machine comprises:
Peak detector, the maximum of described amplitude is sent to control processor by the amplitude for detecting the described digital reflection wave signal data received also records described amplitude maximum when detecting and receiving the maximum of the amplitude of described digital reflection wave signal data, and is sent to described control processor by described timer generation very first time record;
Peak detector, also for detecting the amplitude of the described digital reflection wave signal data received and the minimum of described amplitude is sent to control processor by the minimum recording described amplitude when detection receives the minimum of the amplitude of described digital reflection wave signal data, and when generating second by described timer, interocclusal record is sent to described control processor.
10. device according to claim 9, is characterized in that,
Described control processor specifically for, the minimum of amplitude described in the maximum value receiving the described amplitude that described peak detector sends, and the described very first time record that sends of described timer and described second time interocclusal record, when the maximum of described amplitude is greater than the first default amplitude threshold and the minimum of described amplitude is greater than the second default amplitude threshold, determine that described cable to be detected is normal;
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of described amplitude and the minimum of described amplitude, and the amplitude direction of described digital reflection wave signal data and the same phase time of described digital waveform data, determine that described cable to be detected is opened a way;
Or when having at least one to be less than or equal to each self-corresponding default amplitude threshold in the maximum of described amplitude and the minimum of described amplitude, and the amplitude direction of described digital reflection wave signal data and described digital waveform data anti-phase time, determine described cable short circuit to be detected.
11. devices according to claim 10, it is characterized in that, if described control treatment implement body is also greater than the minimizing absolute value of amplitude for the absolute value of the maximum of the amplitude of described digital waveform data, then calculate location of short circuit according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is less than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate location of short circuit.
12. devices according to claim 10, it is characterized in that, if described control treatment implement body is also less than the minimizing absolute value of amplitude for the absolute value of the maximum of the amplitude of described digital waveform data, then calculate open-circuit position according to described very first time record, fixed delay and propagation velocity;
If the absolute value of the maximum of the amplitude of described digital waveform data is greater than the minimizing absolute value of amplitude, then according to described second time interocclusal record, fixed delay and propagation velocity calculate open-circuit position;
Wherein said fixed delay is described digital waveform data and the propagation time of described reflected signal data in described cable diagnostics device, and described propagation velocity is the speed that described waveform signal is propagated in described cable to be detected.
CN201210389970.6A 2012-10-15 2012-10-15 Cable diagnosis method and device Active CN102891702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210389970.6A CN102891702B (en) 2012-10-15 2012-10-15 Cable diagnosis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210389970.6A CN102891702B (en) 2012-10-15 2012-10-15 Cable diagnosis method and device

Publications (2)

Publication Number Publication Date
CN102891702A CN102891702A (en) 2013-01-23
CN102891702B true CN102891702B (en) 2015-04-08

Family

ID=47535087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210389970.6A Active CN102891702B (en) 2012-10-15 2012-10-15 Cable diagnosis method and device

Country Status (1)

Country Link
CN (1) CN102891702B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3003410B1 (en) * 2013-03-18 2016-07-01 Win Ms DEVICE FOR PROTECTING ELECTRICAL NETWORKS
CN105991161A (en) * 2015-02-17 2016-10-05 瑞昱半导体股份有限公司 Channel test method and channel test method system
US9843492B2 (en) * 2015-04-15 2017-12-12 Cisco Technology, Inc. Ethernet data rate selection based on cable parameters
CN107870841B (en) * 2016-09-26 2020-09-01 展讯通信(上海)有限公司 Mobile terminal power consumption analysis method and system
CN108414860B (en) * 2018-03-06 2021-02-23 深圳创维数字技术有限公司 Performance detection method and device of high-frequency cable and readable storage medium
CN112415323A (en) * 2019-08-23 2021-02-26 微芯片技术股份有限公司 Diagnosing cable faults within a network
CN110940896B (en) * 2019-12-19 2022-03-11 裕太微电子股份有限公司 Damage diagnosis method for ultra-long cable

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4500834A (en) * 1981-04-03 1985-02-19 The General Electric Company, P.L.C. Apparatus and method for locating the position of a fault occurring in an electric power transmission system with respect to a monitoring point
JPH0346420A (en) * 1989-07-14 1991-02-27 Nippon Telegr & Teleph Corp <Ntt> Fault location searching device for communication path
CN102435916A (en) * 2011-10-12 2012-05-02 南京航空航天大学 Device for online detecting and locating cable fault based on SOPC (System On Programmable Chip) technology
CN102565634A (en) * 2012-01-10 2012-07-11 广东电网公司电力科学研究院 Power cable fault location method based on transfer function method
CN102680855A (en) * 2012-05-15 2012-09-19 东南大学 Cable fault detecting and positioning method based on waveform replication
CN102707200A (en) * 2011-03-25 2012-10-03 托马斯及贝茨国际股份有限公司 Testing and monitoring an electrical system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025416B (en) * 2009-09-22 2013-12-04 华为技术有限公司 Method, repeater and communication system for positioning submarine cable failure
CN101895339B (en) * 2010-07-21 2013-07-17 国网电力科学研究院 Method for realizing early warning and positioning of malfunctions for power cable network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4500834A (en) * 1981-04-03 1985-02-19 The General Electric Company, P.L.C. Apparatus and method for locating the position of a fault occurring in an electric power transmission system with respect to a monitoring point
JPH0346420A (en) * 1989-07-14 1991-02-27 Nippon Telegr & Teleph Corp <Ntt> Fault location searching device for communication path
CN102707200A (en) * 2011-03-25 2012-10-03 托马斯及贝茨国际股份有限公司 Testing and monitoring an electrical system
CN102435916A (en) * 2011-10-12 2012-05-02 南京航空航天大学 Device for online detecting and locating cable fault based on SOPC (System On Programmable Chip) technology
CN102565634A (en) * 2012-01-10 2012-07-11 广东电网公司电力科学研究院 Power cable fault location method based on transfer function method
CN102680855A (en) * 2012-05-15 2012-09-19 东南大学 Cable fault detecting and positioning method based on waveform replication

Also Published As

Publication number Publication date
CN102891702A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN102891702B (en) Cable diagnosis method and device
JP4519780B2 (en) Radar device and failure diagnosis method thereof
EP3761570B1 (en) Collision detection on a can bus
US9696361B1 (en) Method and apparatus for analyzing features or characteristics of a cable in a network
US8582443B1 (en) Method and apparatus for virtual cable test using echo canceller coefficients
US20080170509A1 (en) System and method for diagnosing a cabling infrastructure using a PHY
EP3761569B1 (en) Error frame detection in a can bus
US20100164505A1 (en) Cable diagnostics for base-T systems
US6914884B2 (en) Communication control circuit
KR20060034204A (en) Data transmission device and data transmission method
WO2013163798A1 (en) Cable length determination using variable-width pulses
JP2012109943A (en) Power line communication system
US8619604B2 (en) System and method for auto 10BASE-T/10BASE-Te selection based on cable characteristics
EP4207691A1 (en) Controller area network termination scheme
EP1936875B1 (en) System and method for diagnosing a cabling infrastructure using a PHY
JP2003204369A (en) Signal transmission/reception apparatus, circuit and loop- back test method
CN109714236B (en) Bus power supply and communication method, device and storage medium
CN103209006A (en) Method and device for eliminating impulse noise
CN111049638B (en) Method and device for reducing Ethernet power consumption of vehicle
CN106686270A (en) Method and device for improving adaptive learning of acoustic echo canceller (AEC)
CN207283578U (en) CAN node ports protect circuit
JPH0923194A (en) Method and device for recognizing reflection in light burst transmission
CN110940896B (en) Damage diagnosis method for ultra-long cable
US10275383B2 (en) Parallel operation of a bus system and a can bus system having a device for compensating for interferences
CN101873155A (en) Method and device for estimating length of transmission line

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201203

Address after: Building 2, No. 3, Fuqian Road, Hailing District, Taizhou City, Jiangsu Province

Patentee after: Taizhou Haitong Asset Management Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20201203

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.