CN103115561A - Device and method for measuring cable length - Google Patents

Device and method for measuring cable length Download PDF

Info

Publication number
CN103115561A
CN103115561A CN2013100167293A CN201310016729A CN103115561A CN 103115561 A CN103115561 A CN 103115561A CN 2013100167293 A CN2013100167293 A CN 2013100167293A CN 201310016729 A CN201310016729 A CN 201310016729A CN 103115561 A CN103115561 A CN 103115561A
Authority
CN
China
Prior art keywords
pulse
cable
length
processing module
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100167293A
Other languages
Chinese (zh)
Other versions
CN103115561B (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.)
Dongguan Fir Electronics Co Ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310016729.3A priority Critical patent/CN103115561B/en
Publication of CN103115561A publication Critical patent/CN103115561A/en
Application granted granted Critical
Publication of CN103115561B publication Critical patent/CN103115561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention discloses a device for measuring cable length. The device for measuring the cable length comprises a central processing module, a first processing module, a differential pulse generation module a pulse width measurement module, wherein the central processing module is used for setting a corresponding relation between a pulse width value and the length of a measured cable and storing and sending a reference pulse and calculating the length of the cable, the first processing module is used for being connected with the measured cable, receiving the reference pulse, and carrying out processing on the reference pulse to obtain a capacitance effect pulse, the differential pulse generation module is used for receiving and comparing the reference pulse with the capacitance effect pulse to obtain a pulse difference, and the pulse width measurement module is used for measuring the pulse width value of the pulse difference and sending the pulse width value to the central processing module to carry out length calculation. Compared with the prior art, the device for measuring the cable length measures the length of a cable through pulse width timing so that a measurement error is reduced, and the degree of accuracy is improved. Meanwhile, the invention further discloses a method for measuring the cable length.

Description

Length of cable proving installation and method
Technical field
The present invention relates to the method for testing of communications cable length, relate more specifically to a kind of device and method of pulsewidth timing survey line cable length.
Background technology
What the instrument of at present, the communications cable being tested generally adopted is pulse reflection method.Pulse reflection method uses burst pulse as the test signal of emission, and this signal is propagated in cable, and pulse signal is reflected back toward transmitting terminal when running into impedance discontinuity point.What full sized puless the overlapping portion of measuring the pulse of launching and being reflected back at signal sending end comprises, the mistiming of the pulse signal that just can calculate emission and reflect, then the transmission speed in cable just can calculate the length of barrier point cable according to pulse.Yet the quality requirements of the method paired pulses waveform is higher, is generally partly to fade to low level by high level in superimposed pulses, so we can produce certain error when adopting step-by-step counting to measure.
Therefore, be necessary to provide a kind of device and method of measuring length of cable by the pulsewidth timing to overcome defects.
Summary of the invention
The purpose of this invention is to provide a kind of length measuring device for cable, this device is measured length of cable with Reduce measurement error by the pulsewidth timing, improves accuracy.
Another object of the present invention is to provide a kind of length of cable measuring method, and the method is measured length of cable with Reduce measurement error by the pulsewidth timing, improves accuracy.
For achieving the above object, the invention provides a kind of length measuring device for cable, comprising:
Central processing module is used for that the corresponding relation between pwm value and tested length of cable is set and stores, sends basic pulse and calculate length of cable;
The first processing module is used for connecting tested cable and receiving described basic pulse and described basic pulse is processed to obtain a capacity effect pulse;
The pulse difference generation module is used for reception and more described basic pulse and described capacity effect pulse to obtain pulse difference; And
The pulse width measure module is used for measuring the pwm value of described pulse difference and described pwm value being sent to described central processing module carrying out length computation.
compared with prior art, length measuring device for cable of the present invention comprises central processing module, the first processing module, pulse difference generation module and pulse width measure module, when measuring tested cable, tested cable is connected in the first processing module, central processing module sends a basic pulse to pulse difference generation module and the first processing module, the first processing module processes to obtain a capacity effect pulse to basic pulse, afterwards, the pulse difference generation module compares to obtain pulse difference with basic pulse and capacity effect pulse, the pwm value that pulse width measure module ranging pulse is poor also sends it to central processing module, central processing module will calculate according to the corresponding relation of pwm value and the interior pwm value of storing and length of cable the length of tested cable, that is, this device has been realized the measurement of length of cable by the pulsewidth timing, reduced measuring error, has improved accuracy.
Particularly, described the first processing module comprises interconnective electronic switch U3 and U4, and the pin of described electronic switch U3 is connected to described pulse width measure module, the pin ground connection of described electronic switch U4.
Particularly, described pulse difference generation module is a Sheffer stroke gate.
Particularly,, adopt the I2C bus protocol to communicate between described pulse width measure module and described central processing module.
Alternatively, described tested cable is concentric cable, telephone wire or netting twine.
Correspondingly, the present invention also provides a kind of length of cable measuring method, it is characterized in that, comprises the following steps:
Corresponding relation between pwm value and tested length of cable is set and is stored in central processing module;
Described central processing module sends a basic pulse to described tested cable and pulse difference generation module;
The basic pulse that is sent to described tested cable generates a capacity effect pulse after the first processing module is processed;
Described the first processing module is sent to described pulse difference generation module with described capacity effect pulse;
Described pulse difference generation module compares to obtain pulse difference with described basic pulse and described capacity effect pulse;
The pulse width measure module is measured the pwm value of described pulse difference and described pwm value is sent to described central processing module; And
Described central processing module calculates the length of described tested cable according to described pwm value and described corresponding relation.
Particularly, described the first processing module comprises interconnective electronic switch U3 and U4, and the pin of described electronic switch U3 is connected to described pulse width measure module, the pin ground connection of described electronic switch U4.
Particularly, adopt the I2C bus protocol to communicate between described pulse width measure module and described central processing module.
Alternatively, described tested cable is concentric cable, telephone wire or netting twine.
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining embodiments of the invention.
Description of drawings
Fig. 1 is the structured flowchart of length measuring device for cable one embodiment of the present invention.
Fig. 2 is the circuit diagram of Fig. 1.
Fig. 3 is the process flow diagram of length of cable measuring method one embodiment of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, in accompanying drawing, similar element numbers represents similar element.
Please refer to Fig. 1, an embodiment of length measuring device for cable of the present invention comprises:
Central processing module 10 is used for that the corresponding relation between pwm value and tested length of cable is set and stores, sends basic pulse and calculate length of cable;
The first processing module 11 is used for connecting tested cable and receiving described basic pulse and described basic pulse is processed to obtain a capacity effect pulse;
The second processing module 12 is used for receiving described basic pulse;
Pulse difference generation module 13 is used for reception and more described basic pulse and described capacity effect pulse to obtain pulse difference; And
Pulse width measure module 14 is used for measuring the pwm value of described pulse difference and described pwm value being sent to described central processing module carrying out length computation.
Particularly, as shown in Figure 2, central processing module 10 comprises single-chip microcomputer U1 and working pulse circuit, the working pulse circuit is formed, is used for single-chip microcomputer U1 work for generation of working pulse by capacitor C 19, C20 and crystal oscillator X2, and single-chip microcomputer U1 produces a basic pulse and outwards sends through its pin L-TS.The first processing module 11 comprises electronic switch U3, U4 and two contactor JP1 that are connected with difference electronic switch U3, U4, when the first processing module 11 connects tested cable, the two ends of cable are connected on two contactor JP1, pin 3 ground connection of electronic switch U4, the pin 3 from electronic switch U3 after the basic pulse process electronic switch U4 that single-chip microcomputer U1 sends returns.The second processing module 12 comprises Sheffer stroke gate U7C, resistance R 1, resistance R 2, resistance R 4, electronic switch U2 and Sheffer stroke gate U7A, basic pulse that single-chip microcomputer U1 sends through Sheffer stroke gate U7C after, through resistance R 2 enter electronic switch U2 pin 1, enter the pin 12 of electronic switch U2 after resistance R 1, R4, by pin 3 and pin 13 outputs of electronic switch U2, export after through Sheffer stroke gate U7A through the pulse of pin 13 outputs at last.Pulse difference generation module 13 is a Sheffer stroke gate U7B, the basic pulse that the pin 5 of Sheffer stroke gate U7B receives from the pin 3 of electronic switch U2,4 pin of Sheffer stroke gate U7B receive the capacity effect pulse from the pin 3 of Sheffer stroke gate U7A, the pin 6 of Sheffer stroke gate U7B will be sent to the pulse difference between capacity effect pulse and basic pulse pulse width measure module 14, and the pulse width measure module is a chip U5.
Particularly, adopt the I2C bus protocol to communicate between institute's pulse width measure module 14 and central processing module 10, but also can adopt other communication protocol to communicate.Particularly, tested cable is concentric cable, telephone wire or netting twine.
Take tested cable as the netting twine that comprises 8 inner cores as example, please refer to Fig. 1 and Fig. 2, the principle of work of length measuring device for cable 100 of the present invention is as follows:
First the two ends of tested cable are inserted respectively two contactor JP1 of length measuring device for cable, the JP1-1 of gating electronic switch U3 and the JP1-2 of electronic switch U4, pin 3 ground connection due to electronic switch U4, can there be certain electric potential difference between the inner core 1 of tested cable and inner core 2, thereby produces capacity effect; Pass through again single-chip microcomputer U1 generation one basic pulse and while gating electronic switch U2, U3 with U4, after electronic switch U2 receives basic pulse, electronic switch U2 will close immediately, and the basic pulse that is sent to electronic switch U4 will be from pin 3 outputs of electronic switch U3, owing to having produced capacity effect between the inner core 1 of the tested cable that is connected to electronic switch U3 and U4 and inner core 2, therefore be a capacity effect pulse from pin 3 outputs of electronic switch U3; Afterwards, the capacity effect pulse exports pulse difference generation module 13(Sheffer stroke gate U7B to through the pin 3 of Sheffer stroke gate U7A) pin 4, and process Sheffer stroke gate U7C, the electronic switch U2 of single-chip microcomputer U1 output and the basic pulse of Sheffer stroke gate U7A will input to pulse difference generation module 13(Sheffer stroke gate U7B) pin 5, pulse difference generation module 13(Sheffer stroke gate U7B) capacity effect pulse and basic pulse are compared, from pulse generate module 13(Sheffer stroke gate U7B) pin 6 export pulse width measure module 14 to; Pulse width measure module 14 is measured the pwm value of pulse difference and is sent it to single-chip microcomputer U1; Last single-chip microcomputer U1 calculates the inner core 1 of tested cable with respect to the length of inner core 2 according to the corresponding relation of the pwm value of storing in this pwm value and single-chip microcomputer U1 and length of cable; Repeat above-mentioned steps, i.e. any two pins of gating electronic switch U3 and U4 are constantly measured respectively inner core 1 with respect to inner core 3,4,5,6,7,8 length, then by single-chip microcomputer U1 calculating mean value to draw the length of inner core 1.In like manner, can measure the length of tested all the other inner cores of cable, finally realize the measurement of length of cable, reduce error, improve accuracy.
Correspondingly, as shown in Figure 3, the present invention also provides a kind of length of cable measuring method, comprising:
S101 arranges the corresponding relation between pwm value and tested length of cable and is stored in central processing module;
S102, described central processing module send a basic pulse to described tested cable and pulse difference generation module;
S103, the basic pulse that is sent to described tested cable generates a capacity effect pulse after the first processing module is processed;
S104, described the first processing module is sent to described pulse difference generation module with described capacity effect pulse;
S105, described pulse difference generation module compares to obtain pulse difference with described basic pulse and described capacity effect pulse;
S106, the pulse width measure module is measured the pwm value of described pulse difference and described pwm value is sent to described central processing module;
S107, described central processing module calculate the length of described tested cable according to described pwm value and described corresponding relation.
As can be seen from the above description, length measuring device for cable of the present invention and method have realized the measurement of length of cable by the pulsewidth timing, reduced measuring error, have improved accuracy.
Above invention has been described in conjunction with most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.

Claims (9)

1. a length measuring device for cable, is characterized in that, comprising:
Central processing module is used for that the corresponding relation between pwm value and tested length of cable is set and stores, sends basic pulse and calculate length of cable;
The first processing module is used for connecting tested cable and receiving described basic pulse and described basic pulse is processed to obtain a capacity effect pulse;
The pulse difference generation module is used for reception and more described basic pulse and described capacity effect pulse to obtain pulse difference; And
The pulse width measure module is used for measuring the pwm value of described pulse difference and described pwm value being sent to described central processing module carrying out length computation.
2. length measuring device for cable as claimed in claim 1, it is characterized in that, described the first processing module comprises interconnective electronic switch U3 and U4, and the pin of described electronic switch U3 is connected to described pulse width measure module, the pin ground connection of described electronic switch U4.
3. length measuring device for cable as claimed in claim 1, is characterized in that, described pulse difference generation module is a Sheffer stroke gate.
4. length measuring device for cable as described in the claims 1 to 3 any one, is characterized in that, adopts the I2C bus protocol to communicate between described pulse width measure module and described central processing module.
5. length measuring device for cable as claimed in claim 4, is characterized in that, described tested cable is concentric cable, telephone wire or netting twine.
6. a length of cable measuring method, is characterized in that, comprises the following steps:
Corresponding relation between pwm value and tested length of cable is set and is stored in central processing module;
Described central processing module sends a basic pulse to described tested cable and pulse difference generation module;
The basic pulse that is sent to described tested cable generates a capacity effect pulse after the first processing module is processed;
Described the first processing module is sent to described pulse difference generation module with described capacity effect pulse;
Described pulse difference generation module compares to obtain pulse difference with described basic pulse and described capacity effect pulse;
The pulse width measure module is measured the pwm value of described pulse difference and described pwm value is sent to described central processing module; And
Described central processing module calculates the length of described tested cable according to described pwm value and described corresponding relation.
7. length of cable measuring method as claimed in claim 6, it is characterized in that, described the first processing module comprises interconnective electronic switch U1 and U2, and the pin of described electronic switch U1 is connected to described pulse width measure module, the pin ground connection of described electronic switch U2.
8. length of cable measuring method as described in claim 6 or 7, is characterized in that, adopts the I2C bus protocol to communicate between described pulse width measure module and described central processing module.
9. length of cable measuring method as claimed in claim 8, is characterized in that, described tested cable is concentric cable, telephone wire or netting twine.
CN201310016729.3A 2013-01-16 2013-01-16 Length of cable proving installation and method Active CN103115561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310016729.3A CN103115561B (en) 2013-01-16 2013-01-16 Length of cable proving installation and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310016729.3A CN103115561B (en) 2013-01-16 2013-01-16 Length of cable proving installation and method

Publications (2)

Publication Number Publication Date
CN103115561A true CN103115561A (en) 2013-05-22
CN103115561B CN103115561B (en) 2016-03-02

Family

ID=48413978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310016729.3A Active CN103115561B (en) 2013-01-16 2013-01-16 Length of cable proving installation and method

Country Status (1)

Country Link
CN (1) CN103115561B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994713A (en) * 2014-06-16 2014-08-20 雷鸣 Novel cable length measuring method
CN103995218A (en) * 2014-06-16 2014-08-20 雷鸣 Novel cable length measuring device
CN104949606A (en) * 2015-05-19 2015-09-30 苏州市职业大学 Length measuring device for twisted-pair data cables and method for applying length measuring device
CN109254224A (en) * 2018-11-13 2019-01-22 永州市诺方舟电子科技有限公司 A kind of open circuit of the communications cable, misconnection line sequence measurement method and system
CN110726906A (en) * 2019-10-15 2020-01-24 武汉三相电力科技有限公司 Method and system for detecting cable length

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0882993A2 (en) * 1997-06-02 1998-12-09 Tektronix, Inc. Apparatus for acquiring waveform data from a metallic transmission cable
CN101127928A (en) * 2007-09-11 2008-02-20 电子科技大学 Method and device for testing network cable failure
US20080148081A1 (en) * 2006-12-19 2008-06-19 Broadcom Corporation System and method for controlling power delivered to a powered device based on cable characteristics
CN101592468A (en) * 2009-06-25 2009-12-02 广州中国科学院工业技术研究院 Ring addressing method and system for pseudo-random code displacement sensor
CN101709947A (en) * 2009-05-22 2010-05-19 北京荣达千里科技有限公司 Method for testing length of cable

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0882993A2 (en) * 1997-06-02 1998-12-09 Tektronix, Inc. Apparatus for acquiring waveform data from a metallic transmission cable
US20080148081A1 (en) * 2006-12-19 2008-06-19 Broadcom Corporation System and method for controlling power delivered to a powered device based on cable characteristics
CN101127928A (en) * 2007-09-11 2008-02-20 电子科技大学 Method and device for testing network cable failure
CN101709947A (en) * 2009-05-22 2010-05-19 北京荣达千里科技有限公司 Method for testing length of cable
CN101592468A (en) * 2009-06-25 2009-12-02 广州中国科学院工业技术研究院 Ring addressing method and system for pseudo-random code displacement sensor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994713A (en) * 2014-06-16 2014-08-20 雷鸣 Novel cable length measuring method
CN103995218A (en) * 2014-06-16 2014-08-20 雷鸣 Novel cable length measuring device
CN104949606A (en) * 2015-05-19 2015-09-30 苏州市职业大学 Length measuring device for twisted-pair data cables and method for applying length measuring device
CN104949606B (en) * 2015-05-19 2018-01-05 苏州市职业大学 A kind of data length of twisted pair measurement apparatus and application method
CN109254224A (en) * 2018-11-13 2019-01-22 永州市诺方舟电子科技有限公司 A kind of open circuit of the communications cable, misconnection line sequence measurement method and system
CN110726906A (en) * 2019-10-15 2020-01-24 武汉三相电力科技有限公司 Method and system for detecting cable length
CN110726906B (en) * 2019-10-15 2022-03-15 武汉三相电力科技有限公司 Method and system for detecting cable length

Also Published As

Publication number Publication date
CN103115561B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN103115561B (en) Length of cable proving installation and method
CN201589856U (en) Precision checking instrument for electronic transformer
CN102565634A (en) Power cable fault location method based on transfer function method
CN107677982A (en) A kind of digitalized electrical energy meter on-site calibrating method and device
CN109373883B (en) Power cable length measuring method, computer readable storage medium and electronic terminal
CN104330120A (en) Flow rate detection method for low-energy-consumption ultrasonic flow rate meter and system
CN103994713A (en) Novel cable length measuring method
CN101709947A (en) Method for testing length of cable
CN108957267A (en) A kind of cable local discharge double-end monitor device and method
CN103297154B (en) Method and device for detecting standing-wave ratio
CN102854374A (en) Device and method for detecting direct-current voltage of power unit element
CN209055625U (en) A kind of power cable shelf depreciation locating and detecting device
CN202502134U (en) Secondary voltage drop detection device for voltage transformer
CN107884648A (en) A kind of method for testing and analyzing of multiport differential transfer channel jitter
CN106896270A (en) A kind of measuring method of transmission line impedance
CN203893812U (en) Novel cable length measuring apparatus
CN103558410A (en) Ultrasonic wave anemoscope anti-interference device and method based on non-intrinsic frequency excitation
CN102889910B (en) Ultrasonic flow instrument circuit system for preventing miswave interference
CN105388399A (en) Cable fault detection method
CN106932746B (en) Electronic current transformer performance test system and method
CN202837415U (en) Amplitude frequency characteristic testing system
CN203149060U (en) Time-domain reflection cable tester
CN108572301B (en) Three-point current acquisition-based hybrid conductor fault positioning method and system
CN103995218A (en) Novel cable length measuring device
CN203101524U (en) High voltage fast pulse measurement mechanism

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160831

Address after: Nancheng Street Golden Road 523000 Guangdong city of Dongguan province No. 1 days of the digital city C District No. 1 building room 407

Patentee after: Dongguan fir Electronics Co., Ltd.

Address before: 523000 Guangdong city in Dongguan province Fu Changan Fifth Industrial Zone on the sand road No. 4

Patentee before: Lin Ye