CN111435077A - Method and device for measuring length of conductor cable - Google Patents

Method and device for measuring length of conductor cable Download PDF

Info

Publication number
CN111435077A
CN111435077A CN201910028593.5A CN201910028593A CN111435077A CN 111435077 A CN111435077 A CN 111435077A CN 201910028593 A CN201910028593 A CN 201910028593A CN 111435077 A CN111435077 A CN 111435077A
Authority
CN
China
Prior art keywords
time
signal
frame signal
conductor cable
channel compensation
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
CN201910028593.5A
Other languages
Chinese (zh)
Other versions
CN111435077B (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.)
Huawei Technologies 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 CN201910028593.5A priority Critical patent/CN111435077B/en
Publication of CN111435077A publication Critical patent/CN111435077A/en
Application granted granted Critical
Publication of CN111435077B publication Critical patent/CN111435077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B15/00Measuring arrangements characterised by the use of electromagnetic waves or particle radiation, e.g. by the use of microwaves, X-rays, gamma rays or electrons

Abstract

The application provides a method and a device for measuring the length of a conductor cable. The application discloses a method for measuring the length of a conductor cable, which comprises the following steps: transmitting an initiating frame signal into a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first moment of transmitting the first timing point; receiving a response frame signal transmitted by the response device through the conductor cable, wherein the response frame signal comprises a second timing point, and recording a second moment of receiving the second timing point; receiving a time feedback frame signal transmitted by the response device, wherein the time feedback frame signal comprises a third time when the response device receives the first timing point and a fourth time when the response device transmits the second timing point; and measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time. The method and the device support on-line measurement and total length measurement of multi-section lines, and reduce damage to equipment connected on the lines.

Description

Method and device for measuring length of conductor cable
Technical Field
The present application relates to communications technologies, and in particular, to a method and an apparatus for measuring a length of a conductor cable.
Background
Conductor cables are wire products for transmitting electrical energy and information, and for effecting electromagnetic energy conversion, and generally include one or more conductor cores. Cables are an important asset and infrastructure of power grid companies, telecom operators, network or cable service providers, and other enterprises that heavily use cables to implement production or services. Because the position of the cable is important based on the above, detailed knowledge of the cable, especially the length of the cable working in the network, is required, and the method has important significance for the exploration of cable usage, inventory of assets, guidance of capacity expansion and the like of the enterprises. The length information is marked on the outer package, the bobbin or the insulating outer skin of the cable when the cable leaves a factory, and a construction worker can obtain the length information of each section of the installed cable by reading the identification information on the cable or directly measuring the length information by using a ruler and the like and store the length information in the form of a drawing or an electronic document, but in practice, almost all construction parties cannot specially measure and keep the length information of the cable. Once the cables are installed, it is almost impossible to obtain the length information by physical measurement, because the cables are either buried in the wall through the casing, or buried underground, or overhead in tens of meters of air, or are wound with other cables through a device pipeline with eighteen bends, so that the cleaning of the cable routing connection is extremely difficult, and the length of the cables is measured.
The main technical scheme used for measuring the length of the cable at present is a traveling wave reflection detector (Time-domain reflectometer, TDR for short), a narrow pulse is driven into the cable through instrument equipment, according to the transmission line theory, the narrow pulse can be transmitted along the direction of the cable, the transmission speed is determined by the medium property of the cable, and then the narrow pulse is reflected at any place where the wave impedance is mismatched, such as a short circuit or a disconnection point, and is transmitted back to a generating end along the opposite direction. The time difference between the incoming pulse and the received reflected pulse is measured and multiplied by the narrow pulse propagation velocity divided by 2 to obtain the cable length.
However, the TDR method has a limited measurement range, cannot support on-grid measurement and multi-segment cable length measurement, and poses a certain threat to the security of devices connected on the line.
Disclosure of Invention
The application provides a method and a device for measuring the length of a conductor cable, which are used for supporting network measurement and total length measurement of a multi-section line and reducing the damage to equipment connected on the line.
In a first aspect, the present application provides a method for measuring a length of a conductor cable, comprising:
transmitting an initiating frame signal into a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first moment of transmitting the first timing point;
receiving a response frame signal transmitted by the response device through the conductor cable, wherein the response frame signal comprises a second timing point, and recording a second moment of receiving the second timing point;
receiving a time feedback frame signal transmitted by the response device, wherein the time feedback frame signal comprises a third time when the response device receives the first timing point and a fourth time when the response device transmits the second timing point;
and measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time.
In a possible implementation manner, after receiving the response frame signal transmitted by the response device through the conductor cable, the method further includes:
acquiring a first channel compensation duration according to the response frame signal, wherein the first channel compensation duration is used for representing the difference between the measured receiving time and the shortest receiving time of the response frame signal;
receiving a time feedback frame signal transmitted by a response device, comprising:
receiving a time feedback frame signal, wherein the time feedback frame signal further comprises a second channel compensation duration obtained by the response device according to the initiating frame signal, and the second channel compensation duration is used for representing the difference between the measured receiving time and the shortest receiving time of the initiating frame signal;
obtaining the length of the conductor cable according to the first time, the second time, the third time and the fourth time, comprising:
and measuring the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation time and the second channel compensation time.
In one possible implementation manner, obtaining the first channel compensation duration according to the response frame signal includes:
sampling a preamble signal in the response frame signal, and recording the sampling starting time;
acquiring the starting time of a periodic signal in the acquired preamble signal;
and acquiring the first channel compensation duration according to the second moment, the moment of starting sampling and the starting moment of the periodic signal.
In a possible implementation manner, acquiring a start time of a periodic signal in the acquired preamble signal includes:
determining the starting time of the maximum peak of the correlation operation as the starting time of the periodic signal according to the collected leading signal and a pre-known leading signal; alternatively, the first and second electrodes may be,
and performing signal processing according to the collected preamble cells and a pre-known preamble signal to determine the starting time of the channel impulse response as the starting time of the periodic signal.
In one possible implementation manner, obtaining the length of the conductor cable according to the measurement of the first time, the second time, the third time and the fourth time includes:
calculating the conductor cable length according to the following formula:
Figure BDA0001943402830000021
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTIndicating a fourth time instant, v indicates the transmission speed of a signal in the conductor cable, the signal comprising an initiation frame signal or a response frame signal.
In a possible implementation manner, the measuring the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation duration and the second channel compensation duration includes:
calculating the conductor cable length according to the following formula:
Figure BDA0001943402830000022
wherein L denotes the conductor cable length,tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTDenotes a fourth time, trCRepresenting the second channel compensation duration, tiCDenotes a first channel compensation time period, and v denotes a transmission speed of a signal including an initiation frame signal or a response frame signal in the conductor cable.
In one possible implementation manner, the method further includes:
and transmitting the signal into a conductor cable with a known length, and calculating the transmission speed of the signal.
In a possible implementation manner, acquiring the first channel compensation duration according to the second time, the time of starting sampling, and the starting time of the periodic signal includes:
calculating a first channel compensation duration according to the following formula:
tiC=((tiR-tiD)modT)-tiP
wherein, tiCRepresenting a first channel compensation duration, tiRDenotes a second time, tiDDenotes the time at which sampling is initiated, T denotes the duration of a period in the preamble signal, TiPIndicating the start time of the periodic signal.
In a possible implementation manner, before receiving the time feedback frame signal transmitted by the responding apparatus, the method further includes:
transmitting an initiating frame signal into the conductor cable again, and recording a first moment;
receiving the response frame signal again through the conductor cable, and recording the second moment, wherein the response frame signal also comprises a third moment and a fourth moment;
receiving a time feedback frame signal transmitted by a response device, comprising:
and receiving a time feedback frame signal, wherein the time feedback frame signal comprises a third time when the response device receives the first timing point again and a fourth time when the response device transmits the second timing point again.
In a second aspect, the present application provides a method for measuring a length of a conductor cable, comprising:
receiving an initiating frame signal transmitted by an initiating device through a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point, and recording a third time for receiving the first timing point;
transmitting a response frame signal into the conductor cable, wherein the response frame signal comprises a second timing point and records a fourth moment of transmitting the second timing point;
and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises a third time and a fourth time.
In a possible implementation manner, after receiving, by a conductor cable to be measured, an initiation frame signal transmitted by an initiation device, the method further includes:
acquiring a second channel compensation time length according to the initiating frame signal, wherein the second channel compensation time length is used for representing the difference between the measured receiving time and the shortest receiving time of the initiating frame signal;
transmitting a time feedback frame signal into a conductor cable, comprising:
and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal further comprises a second channel compensation duration.
In a possible implementation manner, the obtaining the second channel compensation duration according to the initiation frame signal includes:
sampling a leading signal in an initiating frame signal, and recording the sampling starting time;
acquiring the starting time of a periodic signal in the acquired preamble signal;
and acquiring a second channel compensation duration according to the third moment, the moment of starting sampling and the starting moment of the periodic signal.
In a possible implementation manner, acquiring a start time of a periodic signal in the acquired preamble signal includes:
determining the starting time of the maximum peak of the correlation operation as the starting time of the periodic signal according to the collected leading signal and a pre-known leading signal; alternatively, the first and second electrodes may be,
and performing signal processing according to the collected preamble cells and a pre-known preamble signal to determine the starting time of the channel impulse response as the starting time of the periodic signal.
In a possible implementation manner, acquiring the second channel compensation duration according to the third time, the time of starting sampling, and the starting time of the periodic signal includes:
calculating a second channel compensation duration according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRDenotes a third time, trDDenotes the time at which sampling is initiated, T denotes the duration of a period in the preamble signal, TrPIndicating the start time of the periodic signal.
In a possible implementation manner, before transmitting the time feedback frame signal to the conductor cable, the method further includes:
receiving the initiating frame signal again through the conductor cable, and recording a third moment of receiving the first fixed time point again;
transmitting a response frame signal into the conductor cable again, and recording a fourth moment of transmitting the second timing point again, wherein the response frame signal also comprises the third moment and the fourth moment;
transmitting a time feedback frame signal into a conductor cable, comprising:
and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises a third time for receiving the first timing point again and a fourth time for transmitting the second timing point again.
In a third aspect, the present application provides a device for measuring the length of a conductor cable, comprising:
the transmitting module is used for transmitting an initiating frame signal into the conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first time of transmitting the first timing point;
the receiving module is used for receiving a response frame signal transmitted by the response device through the conductor cable, wherein the response frame signal comprises a second timing point and records a second moment of receiving the second timing point; receiving a time feedback frame signal transmitted by the response device, wherein the time feedback frame signal comprises a third time when the response device receives the first timing point and a fourth time when the response device transmits the second timing point;
and the processing module is used for measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time.
In a possible implementation manner, the processing module is further configured to obtain a first channel compensation duration according to the response frame signal, where the first channel compensation duration is used to indicate a difference between a measured reception time and a shortest reception time of the response frame signal;
the receiving module is further used for receiving a time feedback frame signal, the time feedback frame signal further comprises a second channel compensation duration which is acquired by the response device according to the initiating frame signal, and the second channel compensation duration is used for representing the difference between the measured receiving time and the shortest receiving time of the initiating frame signal;
and the processing module is further used for measuring the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation time and the second channel compensation time.
In a possible implementation manner, the processing module is specifically configured to sample a preamble signal in the response frame signal and record a time when sampling is started; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring the first channel compensation duration according to the second moment, the moment of starting sampling and the starting moment of the periodic signal.
In a possible implementation manner, the processing module is specifically configured to determine, according to the acquired preamble signal and a pre-known preamble signal, a start time of a maximum peak of correlation operation as a start time of the periodic signal; or, according to the collected preamble cell and the preamble signal known in advance, the signal processing is carried out to determine the starting time of the channel impulse response as the starting time of the periodic signal.
In one possible implementation, the processing module is specifically configured to calculate the conductor cable length according to the following formula:
Figure BDA0001943402830000041
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTIndicating a fourth time instant, v indicates the transmission speed of a signal in the conductor cable, the signal comprising an initiation frame signal or a response frame signal.
In one possible implementation, the processing module is specifically configured to calculate the conductor cable length according to the following formula:
Figure BDA0001943402830000042
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTDenotes a fourth time, trCRepresenting the second channel compensation duration, tiCDenotes a first channel compensation time period, and v denotes a transmission speed of a signal including an initiation frame signal or a response frame signal in the conductor cable.
In a possible implementation manner, the processing module is further configured to transmit a signal into a conductor cable of a known length, and calculate a transmission speed of the signal.
In a possible implementation manner, the processing module is specifically configured to calculate the first channel compensation duration according to the following formula:
tiC=((tiR-tiD)modT)-tiP
wherein, tiCRepresenting a first channel compensation duration, tiRDenotes a second time, tiDDenotes the time at which sampling is initiated, T denotes the duration of a period in the preamble signal, TiPIndicating the start time of the periodic signal.
In a possible implementation manner, the transmitting module is further configured to transmit an initiating frame signal to the conductor cable again, and record a first time;
the receiving module is further used for receiving the response frame signal again through the conductor cable and recording the second moment, and the response frame signal further comprises a third moment and a fourth moment; and receiving a time feedback frame signal, wherein the time feedback frame signal comprises a third time when the response device receives the first timing point again and a fourth time when the response device transmits the second timing point again.
In a fourth aspect, the present application provides a measuring device for a length of a conductor cable, comprising:
the receiving module is used for receiving an initiating frame signal transmitted by the initiating device through a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a third time for receiving the first timing point;
the transmitting module is used for transmitting a response frame signal into the conductor cable, wherein the response frame signal comprises a second timing point and records a fourth moment of transmitting the second timing point; and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises a third time and a fourth time.
In one possible implementation manner, the method further includes:
the processing module is used for acquiring a second channel compensation time length according to the initiating frame signal, wherein the second channel compensation time length is used for representing the difference between the measured receiving time and the shortest receiving time of the initiating frame signal; transmitting a time feedback frame signal into a conductor cable, comprising: and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal further comprises a second channel compensation duration.
In a possible implementation manner, the processing module is specifically configured to sample a preamble signal in the initiation frame signal, and record a time when sampling is started; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring a second channel compensation duration according to the third moment, the moment of starting sampling and the starting moment of the periodic signal.
In a possible implementation manner, the processing module is specifically configured to determine, according to the acquired preamble signal and a pre-known preamble signal, a start time of a maximum peak of correlation operation as a start time of the periodic signal; or, according to the collected preamble cell and the preamble signal known in advance, the signal processing is carried out to determine the starting time of the channel impulse response as the starting time of the periodic signal.
In a possible implementation manner, the processing module is specifically configured to calculate the second channel compensation duration according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRDenotes a third time, trDDenotes the time at which sampling is initiated, T denotes the duration of a period in the preamble signal, TrPIndicating the start time of the periodic signal.
In a possible implementation manner, the receiving module is further configured to receive the initiation frame signal again through the conductor cable, and record a third time when the first timing point is received again;
the transmitting module is further used for transmitting a response frame signal into the conductor cable again and recording a fourth moment of transmitting the second timing point again, wherein the response frame signal further comprises the third moment and the fourth moment; and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises a third time for receiving the first timing point again and a fourth time for transmitting the second timing point again.
In a fifth aspect, the present application provides an apparatus comprising:
one or more processors;
a memory for storing one or more programs;
when executed by one or more processors, cause the one or more processors to implement the method of measuring a length of a conductor cable of any of the first or second aspects described above.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon instructions for performing the method of any one of the first or second aspects described above, when the instructions are run on a computer.
In a seventh aspect, the present application provides a computer program for performing the method of any one of the first or second aspects, when the computer program is executed by a computer.
The method and the device for measuring the length of the conductor cable load two devices at two ends of the conductor cable to be measured, the length of the conductor cable between the two devices is obtained by measuring the transmission time of a signal in the conductor cable between the two devices, the device and the cable do not need to be disconnected without power failure, the length can be measured while the cable supplies power to the device, the total length measurement of a multi-section line is supported, the used communication signal is larger than the total energy of a pulse signal, the transmission is farther, the peak value can be smaller, and therefore the harm to the device connected on the line is smaller.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic structural diagram of an embodiment of a system for measuring the length of a conductor cable according to the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a method for measuring a length of a conductor cable according to the present application;
FIG. 3 is a flowchart of a second embodiment of the method for measuring the length of a conductor cable according to the present application;
FIG. 4 is a flowchart of a third embodiment of a method for measuring a length of a conductor cable according to the present application;
FIG. 5 is a schematic structural diagram of a first embodiment of a measuring device for measuring the length of a conductor cable according to the present application;
FIG. 6 is a schematic structural diagram of a second embodiment of a measuring device for measuring the length of a conductor cable according to the present application;
FIG. 7 is a schematic structural diagram of a third embodiment of a measuring device for measuring the length of a conductor cable according to the present application;
fig. 8 is a schematic structural diagram of an embodiment of the apparatus of the present invention.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic structural diagram of an embodiment of a system for measuring the length of a conductor cable according to the present application, and as shown in fig. 1, the system includes two devices having the same hardware structure, where the two devices include a signal transmitting unit, a signal receiving unit, a signal coupling unit, and a processor, and the two devices can respectively undertake one of two tasks of signal transmitting and signal receiving, where a device that initiates signal transmitting first is called an initiating (Initiator) device, and another device is called a responding (Responder) device. The two devices in the present application may be tool type devices that encapsulate hardware and software into a complete system, which is dedicated to measuring conductor cable lengths, or may be a component or functional module in a device operating in a grid. The signal coupling unit can transmit signals to the conductor cable or separate signals from the conductor cable, and particularly, the signal coupling unit can isolate the working voltage (direct current or low-frequency alternating current signals) of the conductor cable in a network working state so that the working voltage does not affect a signal port. It should be noted that, the conductor cable (referred to as cable for short) in the present application only refers to a conductor core cable for transmitting electrical energy or electrical signals, and not to other cables made of glass fiber or other semiconductor or non-conductor core materials.
The signal in this application is a data frame signal with a fixed format, i.e. each frame signal includes a preamble signal and a data signal. The preamble signal is a fixed period signal known to both the initiating device and the responding device, and by receiving the preamble signal, the device receiving the signal can know that the cable has signal transmission at the moment, and then enters a synchronous receiving and demodulating state, and extracts the frequency, phase and time information of the signal from the preamble signal to complete the demodulation of the data signal.
Based on the system for measuring the length of the conductor cable shown in fig. 1, the application provides a method for measuring the length of the conductor cable.
Fig. 2 is a flowchart of a first embodiment of a method for measuring a length of a conductor cable according to the present application, and as shown in fig. 2, the method according to the present embodiment may include:
step 101, an initiating device transmits an initiating frame signal to a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first time of transmitting the first timing point.
Before measurement, the initiating device and the responding device jointly appoint a position in the signal, the position is called a "timing point", the difference between the time when the responding device receives the "timing point" and the time when the initiating device transmits the "timing point" is the transmission time length of the signal on the cable, and for example, the position where the preamble signal ends and the data signal begins can be appointed as the "timing point". After the measurement is started, the initiating device transmits a signal into the conductor cable to be measured, the signal is called an initiating frame signal, a 'timing point' in the initiating frame signal is a first timing point, and the initiating device records the time of transmitting the first timing point. Since the initiating frame signal is used for measuring the transmission duration of the signal, the data signal of the initiating frame signal can be left empty or only have simple frame sequence number information.
And 102, the response device receives the initiation frame signal through the conductor cable and records a third moment of receiving the first timing point.
And the responding device records the third time of receiving the first timing point after receiving the initiating frame signal.
Step 103, the response device transmits a response frame signal to the conductor cable, wherein the response frame signal includes a second timing point, and records a fourth time when the second timing point is transmitted.
In order to solve the inherent local time deviation between the initiating device and the responding device, the method uses a mode of signal 'one question and one answer' two times communication between the two devices, namely, the responding device transmits a responding frame signal to the initiating device after receiving the initiating frame signal, wherein a 'timing point' in the responding frame signal is a second timing point, and the fourth time of transmitting the second timing point in the responding frame signal is recorded. Similarly, since the response frame signal is used to measure the transmission duration of the signal, the data signal of the response frame signal may also be left empty or have only simple frame number information.
And 104, the initiating device receives the response frame signal through the conductor cable and records a second time for receiving a second timing point.
And the initiating device receives the response frame signal transmitted by the responding device through the conductor cable after transmitting the initiating frame signal, and records a second moment of receiving a second timing point.
And 105, the response device transmits a time feedback frame signal to the conductor cable, wherein the time feedback frame signal comprises a third time and a fourth time.
The responding apparatus needs to inform the initiating apparatus of the third time and the fourth time, so that the responding apparatus transmits a time feedback frame signal to the initiating apparatus, and the data signal of the time feedback frame signal carries the two times. It should be noted that the responding apparatus needs to transmit two signals (i.e., the response frame signal and the time feedback frame signal), because the responding apparatus can obtain the fourth time only after the transmission of the response frame signal is completed, and cannot write the data signal of the response frame signal in advance and transmit the data signal to the initiating apparatus, the responding apparatus can only transmit one time feedback frame signal to "complement" the third time and the fourth time to the initiating apparatus.
Step 106, the initiating device receives the time feedback frame signal.
And step 107, the initiating device measures the length of the conductor cable according to the first time, the second time, the third time and the fourth time.
The above step 101-:
Figure BDA0001943402830000081
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTIndicating a fourth time instant, v indicates the transmission speed of a signal in the conductor cable, the signal comprising an initiation frame signal or a response frame signal.
The transmission speed of a signal in a conductor cable in the application refers to the wave speed of the signal transmitted in the cable, and is mainly determined by the dielectric constant of an insulating material between wire cores and can be known in advance. If the speed cannot be transmitted in advance, a signal can be transmitted into a conductor cable with a known length, and the transmission speed of the signal is calculated, for example, a section of 10 meters of conductor cable is taken, the equipment a and the equipment B are clamped at two ends respectively, and the time of the round-trip transmission of the signal between the equipment a and the equipment B is measured by the method and is 100ns, so that the transmission speed of the cable can be calculated to be 10/100e-9 × 2-200 m/us.
This embodiment, two devices are loaded at the conductor cable both ends of awaiting measuring, the length of the conductor cable between two devices is obtained to the transmission duration through measuring signal in the conductor cable between two devices, need not to have a power failure and also need not to break off equipment and cable, can carry out length measurement when the cable supplies power for equipment, support the total length measurement of multistage circuit, because the communication signal who uses is great than pulse signal gross energy, can transmit farther, peak-to-peak value can do littleer, consequently, the harm to the equipment of connecting on the circuit is littleer.
Fig. 3 is a flowchart of a second embodiment of the method for measuring the length of the conductor cable according to the present application, and as shown in fig. 3, the method according to the present embodiment may include:
step 201, the initiating device transmits an initiating frame signal to the conductor cable to be measured, wherein the initiating frame signal comprises a first timing point, and records a first time of transmitting the first timing point.
Step 201 is similar to the principle of step 101, and is not described herein again.
Step 202, the responding apparatus receives the initiating frame signal through the conductor cable, and records a third time when the first timing point is received.
Step 202 is similar to the principle of step 102, and is not described here again.
Step 203, the response device transmits a response frame signal to the conductor cable, wherein the response frame signal comprises a second timing point, and records a fourth time of transmitting the second timing point.
Step 203 is similar to the principle of step 103, and is not described herein again.
And step 204, the initiating device receives the response frame signal through the conductor cable and records a second time for receiving a second timing point.
Step 204 is similar to the principle of step 104, and is not described here again.
Step 205, the initiating device transmits the initiating frame signal to the conductor cable to be measured again, and records the first time of the first timing point of retransmission.
The difference between this embodiment and the embodiment shown in fig. 2 is that this embodiment adopts a manner of averaging the multiple transmission frame signals to measure the length of the conductor cable, that is, the initiating device and the responding device can perform communication interaction multiple times, and after step 201 and step 204, the initiating device transmits the initiating frame signal again, and records the first time of the first timing point of the retransmission.
Step 206, the responding device receives the initiating frame signal again through the conductor cable, and records a third time point of receiving the first time point again.
And step 207, the response device transmits a response frame signal into the conductor cable again, records a fourth moment of transmitting the second timing point again, and the response frame signal further comprises the third moment and the fourth moment.
In the embodiment shown in fig. 2, the responding apparatus sends the third time and the fourth time to the initiating apparatus through the time feedback frame signal, but in this embodiment, since the responding apparatus has obtained the third time of the first timing point received in the previous communication process and the fourth time of the second timing point transmitted when the responding apparatus transmits the response frame signal again, the responding apparatus can carry the last third time and fourth time in the response frame signal transmitted again. The response frame signal transmitted again at this time functions as an information carrying signal similarly to the time feedback frame signal in the previous embodiment.
And step 208, the initiating device receives the response frame signal again through the conductor cable and records a second time for receiving the second timing point again.
It should be noted that, this embodiment describes two communication interaction processes between the initiating device and the responding device, but the application does not limit the number of communication interactions between the initiating device and the responding device, that is, after step 208, the initiating device and the responding device may further continue to execute step 205 and step 208 one or more times, and each time the responding device transmits a response frame signal, the response frame signal may carry the third time and the fourth time in the last communication interaction process. However, the third time and the fourth time during the last communication interaction still need to be sent to the initiating device by the time feedback frame signal (i.e., step 209).
Step 209, the responding device transmits a time feedback frame signal to the conductor cable, where the time feedback frame signal includes a third time point for receiving the first timing point again and a fourth time point for transmitting the second timing point again.
Step 210, the initiating device receives a time feedback frame signal.
And step 211, the initiating device measures the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first time for retransmitting the first timing point, the second time for retransmitting the second timing point, the third time for retransmitting the first timing point and the fourth time for retransmitting the second timing point.
The initiating device may calculate the conductor cable length through one communication interaction process according to the following formula:
Figure BDA0001943402830000091
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTRepresenting the fourth moment, v representing the speed of transmission of the signal in the conductor cable, the signal comprising a transmitterAn initiating frame signal or a responding frame signal.
The initiator averages the lengths of the conductor cables obtained in the multiple communication interaction processes to obtain the final length of the conductor cable.
In the embodiment, two devices are loaded at two ends of a conductor cable to be measured, the length of the conductor cable between the two devices is obtained by measuring the transmission time of a signal which repeatedly goes back and forth in the conductor cable between the two devices, the equipment and the cable do not need to be disconnected without power failure, the length can be measured while the cable supplies power to the equipment, the total length of a multi-section line is measured, the total energy of the used communication signal is larger than that of a pulse signal, the transmission is farther, and the peak value can be smaller, so that the damage to the equipment connected on the line is smaller.
On the basis of the foregoing technical solution, fig. 4 is a flowchart of a third embodiment of the method for measuring a length of a conductor cable of the present application, and as shown in fig. 4, the method of the present embodiment may include:
step 301, the initiating device transmits an initiating frame signal to the conductor cable to be measured, wherein the initiating frame signal includes a first timing point, and records a first time of transmitting the first timing point.
Step 301 is similar to the principle of step 101, and is not described herein again.
Step 302, the responding apparatus receives the initiating frame signal through the conductor cable, and records a third time when the first timing point is received.
Step 302 is similar to the principle of step 102, and is not described here again.
Step 303, the response device obtains a second channel compensation duration according to the initiating frame signal, where the second channel compensation duration is used to indicate a difference between a measured receiving time and a shortest receiving time of the initiating frame signal.
According to the transmission line theory, the electromagnetic wave signal is transmitted along the cable with the characteristic impedance Z, and the electromagnetic wave signal is reflected and refracted at all the places where the impedance is not matched, such as the equipment and the connector port and the line branching point, so that the electromagnetic wave signal finally reaching the response device is the result of the common superposition of a series of electromagnetic wave signals which go through different paths. The measured reception instant indicated by the circuit of the responding device is therefore often not the electromagnetic wave signal transmitted directly from the initiating device to the responding device, what really represents the real length of the cable is the shortest reception instant of the electromagnetic wave signal that arrives first at the responding device. Therefore, the transmission time length positively correlated to the cable length can be obtained by calculating the difference between the measured reception time and the shortest reception time and deducting the difference as the compensation time length.
The response device samples the leading signal in the initiating frame signal, records the sampling starting time, acquires the starting time of the periodic signal in the collected leading signal, and acquires the second channel compensation duration according to the third time, the sampling starting time and the starting time of the periodic signal. Wherein, obtaining the starting time of the periodic signal in the acquired preamble signal includes: if the signal modulation technology uses direct-sequence spread spectrum (DSSS), determining the starting time of the maximum peak of correlation operation as the starting time of the periodic signal according to the collected leading signal and the pre-known leading signal; or, if the signal modulation technique uses multi-carrier modulation (MCM) or Orthogonal Frequency Division Multiplexing (OFDM), the start time of the channel impulse response is determined as the start time of the periodic signal by performing signal processing according to the collected preamble cells and a pre-known preamble signal.
And obtaining the second channel compensation duration according to the third time, the sampling starting time and the starting time of the periodic signal, wherein the second channel compensation duration is calculated according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRDenotes a third time, trDDenotes the time at which sampling is initiated, T denotes the duration of a period in the preamble signal, TrPIndicating the start time of the periodic signal.
Step 304, the response device transmits a response frame signal to the conductor cable, the response frame signal includes a second timing point, and a fourth time of transmitting the second timing point is recorded.
Step 303 is similar to the principle of step 103, and is not described herein again.
Step 305, the initiating device receives the response frame signal through the conductor cable and records a second time of receiving the second timing point.
Step 305 is similar to the above step 104, and is not described here again.
Step 306, the initiating device obtains a first channel compensation duration according to the response frame signal, where the first channel compensation duration is used to indicate a difference between a measured receiving time and a shortest receiving time of the response frame signal.
Step 306 is similar to the principle of step 303, and is not described herein again.
Step 307, the response device transmits a time feedback frame signal to the conductor cable, where the time feedback frame signal includes a third time, a fourth time, and a second channel compensation duration.
Step 307 is similar to the above step 105, and is not described herein again.
Step 308, the initiating device receives the time feedback frame signal.
Step 308 is similar to the above step 106 in principle, and is not described here again.
Step 309, the initiating device measures the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation time and the second channel compensation time.
The initiating device may calculate the conductor cable length according to the following formula:
Figure BDA0001943402830000111
wherein L denotes the conductor cable length, tiTDenotes a first time, tiRDenotes a second time, trRDenotes a third time, trTDenotes a fourth time, trCRepresenting the second channel compensation duration, tiCIndicating the first channel compensation duration, vtableThe transmission speed of signals in the conductor cable is shown, and the signals include an initiation frame signal or a response frame signal. The method for acquiring the transmission speed of the signal in the conductor cable is similar to the principle of the embodiment of the method, and is not described herein again.
In this embodiment, two devices are loaded at two ends of a conductor cable to be measured, the length of the conductor cable between the two devices is obtained by measuring the transmission time of a signal in the conductor cable between the two devices, and the influence of a connector, a port load and the like on signal transmission is offset by channel compensation in the measurement, so as to obtain the transmission time in direct proportion to the length of the cable.
Fig. 5 is a schematic structural diagram of a first embodiment of a device for measuring a length of a conductor cable according to the present application, and as shown in fig. 5, the device according to the present embodiment may include: the device comprises a transmitting module 11, a receiving module 12 and a processing module 13, wherein the transmitting module 11 is configured to transmit an initiating frame signal to a conductor cable to be measured, the initiating frame signal includes a first timing point, and a first time of transmitting the first timing point is recorded; a receiving module 12, configured to receive a response frame signal transmitted by a response device through the conductor cable, where the response frame signal includes a second timing point, and record a second time when the second timing point is received; receiving a time feedback frame signal transmitted by the responding device, wherein the time feedback frame signal comprises a third time when the responding device receives the first timing point and a fourth time when the responding device transmits the second timing point; and the processing module 13 is configured to obtain the length of the conductor cable according to the first time, the second time, the third time, and the fourth time.
The apparatus of this embodiment may be configured to execute the technical solution of any one of the method embodiments in fig. 2 to fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the above technical solution, the processing module 13 is further configured to obtain a first channel compensation duration according to the response frame signal, where the first channel compensation duration is used to indicate a difference between a measured reception time and a shortest reception time of the response frame signal; the receiving module 12 is further configured to receive the time feedback frame signal, where the time feedback frame signal further includes a second channel compensation duration obtained by the response device according to the initiation frame signal, where the second channel compensation duration is used to indicate a difference between a measured receiving time and a shortest receiving time of the initiation frame signal; the processing module 13 is further configured to obtain the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation duration, and the second channel compensation duration.
On the basis of the above technical solution, the processing module 13 is specifically configured to sample a preamble signal in the response frame signal and record a sampling start time; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring the first channel compensation time according to the second time, the sampling starting time and the starting time of the periodic signal.
On the basis of the above technical solution, the processing module 13 is specifically configured to determine the starting time of the maximum peak of correlation operation as the starting time of the periodic signal according to the acquired preamble signal and a pre-known preamble signal; or, according to the collected leading cell and the known leading signal in advance, the signal processing is carried out to determine the starting time of the channel impact response as the starting time of the periodic signal.
On the basis of the above technical solution, the processing module 13 is specifically configured to calculate the length of the conductor cable according to the following formula:
Figure BDA0001943402830000121
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents the fourth time instant, v represents the transmission speed of a signal in the conductor cable, the signal comprising the initiation frame signal or the response frame signal.
On the basis of the above technical solution, the processing module 13 is specifically configured to calculate the length of the conductor cable according to the following formula:
Figure BDA0001943402830000122
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents said fourth time, trCRepresenting the second channel compensation duration, tiCRepresents the first channel compensation time period, and v represents the transmission speed of a signal in the conductor cable, the signal including the initiation frame signal or the response frame signal.
On the basis of the above technical solution, the processing module 13 is further configured to transmit the signal to a conductor cable with a known length, and calculate the transmission speed of the signal.
On the basis of the foregoing technical solution, the processing module 13 is specifically configured to calculate the first channel compensation duration according to the following formula:
tiC=((tiR-tiD)modT)-tiP
wherein, tiCRepresenting said first channel compensation duration, tiRRepresenting said second time, tiDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TiPRepresenting the start time of the periodic signal.
On the basis of the above technical solution, the transmitting module 11 is further configured to transmit the initiation frame signal to the conductor cable again, and record the first time; the receiving module 12 is further configured to receive the response frame signal again through the conductor cable, and record the second time, where the response frame signal further includes the third time and the fourth time; receiving the time feedback frame signal, wherein the time feedback frame signal includes a third time when the responding device receives the first timing point again and a fourth time when the responding device transmits the second timing point again.
Fig. 6 is a schematic structural diagram of a second embodiment of the device for measuring the length of a conductor cable according to the present application, and as shown in fig. 6, the device according to the present embodiment may include: the system comprises a receiving module 21 and a transmitting module 22, wherein the receiving module 21 is configured to receive an initiating frame signal transmitted by an initiating device through a conductor cable to be measured, the initiating frame signal includes a first timing point, and a third time of receiving the first timing point is recorded; a transmitting module 22, configured to transmit a response frame signal into the conductor cable, where the response frame signal includes a second timing point, and records a fourth time when the second timing point is transmitted; and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises the third time and the fourth time.
The apparatus of this embodiment may be used to implement the technical solutions of the method embodiments shown in fig. 2 or fig. 3, and the implementation principles and technical effects are similar, which are not described herein again.
On the basis of the above technical solution, fig. 7 is a schematic structural diagram of a third embodiment of the measuring apparatus for measuring a length of a conductor cable of the present application, and as shown in fig. 7, the apparatus of the present embodiment may further include: a processing module 23, configured to obtain a second channel compensation duration according to the initiating frame signal, where the second channel compensation duration is used to indicate a difference between a measured receiving time and a shortest receiving time of the initiating frame signal; the transmitting a time feedback frame signal into the conductor cable includes: and transmitting the time feedback frame signal into the conductor cable, wherein the time feedback frame signal further comprises the second channel compensation duration.
On the basis of the above technical solution, the processing module 23 is specifically configured to sample a preamble signal in the initiation frame signal, and record a sampling start time; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring the second channel compensation time according to the third time, the sampling starting time and the starting time of the periodic signal.
On the basis of the above technical solution, the processing module 23 is specifically configured to determine the starting time of the maximum peak of correlation operation as the starting time of the periodic signal according to the acquired preamble signal and a pre-known preamble signal; or, according to the collected leading cell and the known leading signal in advance, the signal processing is carried out to determine the starting time of the channel impact response as the starting time of the periodic signal.
On the basis of the foregoing technical solution, the processing module 23 is specifically configured to calculate the second channel compensation duration according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRRepresents the third time, trDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TrPRepresenting the start time of the periodic signal.
On the basis of the above technical solution, the receiving module 21 is further configured to receive the initiation frame signal again through the conductor cable, and record a third time when the first timing point is received again; the transmitting module 22 is further configured to transmit the response frame signal into the conductor cable again, and record a fourth time when the second timing point is transmitted again, where the response frame signal further includes the third time and the fourth time; transmitting the time feedback frame signal into the conductor cable, the time feedback frame signal including a third time at which the first timing point is re-received and a fourth time at which the second timing point is re-transmitted.
Fig. 8 is a schematic structural diagram of an embodiment of the apparatus of the present invention, as shown in fig. 8, the apparatus includes a processor 30, a memory 31, a receiving device 32 and a transmitting device 33; the number of the processors 30 in the device may be one or more, and one processor 30 is taken as an example in fig. 8; the processor 30, the memory 31, the receiving means 32 and the transmitting means 33 in the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 8.
The memory 31 is a computer readable storage medium for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method in any of fig. 2-4 of the present invention. The processor 30 executes various functional applications of the device and data processing, i.e. implements the above-mentioned method of measuring the length of the conductor cable, by running software programs, instructions and modules stored in the memory 31.
The memory 31 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 31 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 31 may further include memory located remotely from the processor 30, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The receiving device 32 can be used for receiving electromagnetic wave signals transmitted on the conductor cable. The transmitting means 33 may be used to transmit electromagnetic wave signals onto the conductor cable.
In one possible implementation, the present application provides a computer-readable storage medium storing instructions for performing the method for measuring the length of a conductor cable in any one of the embodiments of fig. 2 to 4 described above when the instructions are executed on a computer.
In one possible implementation, the present application provides a computer program for performing the method for measuring the length of a conductor cable in any of the embodiments of fig. 2-4 described above when the computer program is executed by a computer.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (33)

1. A method of measuring a length of a conductor cable, comprising:
transmitting an initiating frame signal into a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first moment of transmitting the first timing point;
receiving a response frame signal transmitted by a response device through the conductor cable, wherein the response frame signal comprises a second timing point, and recording a second time for receiving the second timing point;
receiving a time feedback frame signal transmitted by the responding device, wherein the time feedback frame signal comprises a third time when the responding device receives the first timing point and a fourth time when the responding device transmits the second timing point;
and measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time.
2. The method of claim 1, wherein after receiving the response frame signal transmitted by the response device through the conductor cable, further comprising:
acquiring a first channel compensation duration according to the response frame signal, wherein the first channel compensation duration is used for representing the difference between the measured receiving time and the shortest receiving time of the response frame signal;
the receiving of the time feedback frame signal transmitted by the responding device includes:
receiving the time feedback frame signal, wherein the time feedback frame signal further comprises a second channel compensation duration acquired by the response device according to the initiation frame signal, and the second channel compensation duration is used for representing the difference between the measured receiving time and the shortest receiving time of the initiation frame signal;
the measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time includes:
and measuring the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation time and the second channel compensation time.
3. The method of claim 2, wherein the obtaining the first channel compensation duration according to the response frame signal comprises:
sampling a preamble signal in the response frame signal, and recording the sampling starting time;
acquiring the starting time of a periodic signal in the acquired preamble signal;
and acquiring the first channel compensation time according to the second time, the sampling starting time and the starting time of the periodic signal.
4. The method of claim 3, wherein obtaining the start time of the periodic signal in the acquired preamble signal comprises:
determining the starting time of the maximum peak of the correlation operation as the starting time of the periodic signal according to the acquired leading signal and a pre-known leading signal; alternatively, the first and second electrodes may be,
and performing signal processing according to the acquired preamble cells and a pre-known preamble signal to determine the starting time of channel impulse response as the starting time of the periodic signal.
5. The method of claim 1, wherein the measuring the conductor cable length from the first time, the second time, the third time, and the fourth time comprises:
calculating the conductor cable length according to the following formula:
Figure FDA0001943402820000011
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents the fourth time instant, v represents the transmission speed of a signal in the conductor cable, the signal comprising the initiation frame signal or the response frame signal.
6. The method of claim 2, wherein said measuring the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation duration and the second channel compensation duration comprises:
calculating the conductor cable length according to the following formula:
Figure FDA0001943402820000021
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents said fourth time, trCRepresenting the second channel compensation duration, tiCRepresents the first channel compensation time period, and v represents the transmission speed of a signal in the conductor cable, the signal including the initiation frame signal or the response frame signal.
7. The method of claim 5 or 6, further comprising:
transmitting the signal into a conductor cable of known length, calculating the transmission speed of the signal.
8. The method of claim 3, wherein obtaining the first channel compensation duration according to the second time, the time of starting sampling, and the starting time of the periodic signal comprises:
calculating the first channel compensation duration according to the following formula:
tiC=((tiR-tiD)modT)-tiP
wherein, tiCRepresenting said first channel compensation duration, tiRRepresenting said second time, tiDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TiPRepresenting the start time of the periodic signal.
9. The method according to any one of claims 1-8, wherein before receiving the time feedback frame signal transmitted by the responding apparatus, further comprising:
transmitting the initiating frame signal into the conductor cable again, and recording the first moment;
receiving the response frame signal again through the conductor cable, and recording the second time, wherein the response frame signal further comprises the third time and the fourth time;
the receiving of the time feedback frame signal transmitted by the responding device includes:
receiving the time feedback frame signal, wherein the time feedback frame signal includes a third time when the responding device receives the first timing point again and a fourth time when the responding device transmits the second timing point again.
10. A method of measuring a length of a conductor cable, comprising:
receiving an initiating frame signal transmitted by an initiating device through a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a third time for receiving the first timing point;
transmitting a response frame signal into the conductor cable, wherein the response frame signal comprises a second timing point, and recording a fourth time for transmitting the second timing point;
and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises the third time and the fourth time.
11. The method according to claim 10, wherein after receiving the initiation frame signal transmitted by the initiating device through the conductor cable to be measured, further comprising:
acquiring a second channel compensation time length according to the initiating frame signal, wherein the second channel compensation time length is used for representing the difference between the measured receiving time and the shortest receiving time of the initiating frame signal;
the transmitting a time feedback frame signal into the conductor cable includes:
and transmitting the time feedback frame signal into the conductor cable, wherein the time feedback frame signal further comprises the second channel compensation duration.
12. The method of claim 11, wherein the obtaining the second channel compensation duration according to the initiation frame signal comprises:
sampling a leading signal in the initiating frame signal, and recording the sampling starting time;
acquiring the starting time of a periodic signal in the acquired preamble signal;
and acquiring the second channel compensation time according to the third time, the sampling starting time and the starting time of the periodic signal.
13. The method of claim 12, wherein obtaining the start time of the periodic signal in the acquired preamble signal comprises:
determining the starting time of the maximum peak of the correlation operation as the starting time of the periodic signal according to the acquired leading signal and a pre-known leading signal; alternatively, the first and second electrodes may be,
and performing signal processing according to the acquired preamble cells and a pre-known preamble signal to determine the starting time of channel impulse response as the starting time of the periodic signal.
14. The method of claim 12, wherein obtaining the second channel compensation duration according to the third time, the time for starting sampling, and the starting time of the periodic signal comprises:
calculating the second channel compensation duration according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRRepresents the third time, trDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TrPRepresenting the start time of the periodic signal.
15. The method according to any of claims 10-14, wherein prior to transmitting a time feedback frame signal into the conductor cable, further comprising:
receiving the initiation frame signal again through the conductor cable, and recording a third moment of receiving the first timing point again;
transmitting the response frame signal into the conductor cable again, and recording a fourth time when the second timing point is transmitted again, wherein the response frame signal further comprises the third time and the fourth time;
the transmitting a time feedback frame signal into the conductor cable includes:
transmitting the time feedback frame signal into the conductor cable, the time feedback frame signal including a third time at which the first timing point is re-received and a fourth time at which the second timing point is re-transmitted.
16. A device for measuring the length of a conductor cable, comprising:
the transmitting module is used for transmitting an initiating frame signal into a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a first time of transmitting the first timing point;
the receiving module is used for receiving a response frame signal transmitted by the response device through the conductor cable, wherein the response frame signal comprises a second timing point, and a second moment of receiving the second timing point is recorded; receiving a time feedback frame signal transmitted by the responding device, wherein the time feedback frame signal comprises a third time when the responding device receives the first timing point and a fourth time when the responding device transmits the second timing point;
and the processing module is used for measuring the length of the conductor cable according to the first time, the second time, the third time and the fourth time.
17. The apparatus of claim 16, wherein the processing module is further configured to obtain a first channel compensation duration according to the response frame signal, and the first channel compensation duration is used to represent a difference between a measured reception time and a shortest reception time of the response frame signal;
the receiving module is further configured to receive the time feedback frame signal, where the time feedback frame signal further includes a second channel compensation duration obtained by the response device according to the initiation frame signal, and the second channel compensation duration is used to indicate a difference between a measured receiving time and a shortest receiving time of the initiation frame signal;
the processing module is further configured to measure the length of the conductor cable according to the first time, the second time, the third time, the fourth time, the first channel compensation duration and the second channel compensation duration.
18. The apparatus according to claim 17, wherein the processing module is specifically configured to sample a preamble signal in the response frame signal and record a time when sampling is started; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring the first channel compensation time according to the second time, the sampling starting time and the starting time of the periodic signal.
19. The apparatus according to claim 18, wherein the processing module is specifically configured to determine, according to the collected preamble signal and a preamble signal known in advance, a start time of a maximum peak of correlation operation as a start time of the periodic signal; or, according to the collected leading cell and the known leading signal in advance, the signal processing is carried out to determine the starting time of the channel impact response as the starting time of the periodic signal.
20. The apparatus according to claim 16, wherein the processing module is specifically configured to calculate the conductor cable length according to the following formula:
Figure FDA0001943402820000041
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents the fourth time instant, v represents the transmission speed of a signal in the conductor cable, the signal comprising the initiation frame signal or the response frame signal.
21. The apparatus according to claim 17, wherein the processing module is specifically configured to calculate the conductor cable length according to the following formula:
Figure FDA0001943402820000042
wherein L denotes the conductor cable length, tiTRepresenting said first time, tiRRepresenting said second time, trRRepresents the third time, trTRepresents said fourth time, trCRepresenting the second channel compensation duration, tiCRepresents the first channel compensation time period, and v represents the transmission speed of a signal in the conductor cable, the signal including the initiation frame signal or the response frame signal.
22. The apparatus of claim 20 or 21, wherein the processing module is further configured to transmit the signal into a conductor cable of known length and calculate the transmission speed of the signal.
23. The apparatus of claim 18, wherein the processing module is specifically configured to calculate the first channel compensation duration according to the following formula:
tiC=((tiR-tiD)modT)-tiP
wherein, tiCRepresenting said first channel compensation duration, tiRRepresenting said second time, tiDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TiPRepresenting the start time of the periodic signal.
24. The apparatus according to any of claims 16-23, wherein the transmitting module is further configured to transmit the initiation frame signal into the conductor cable again, and record the first time;
the receiving module is further configured to receive the response frame signal again through the conductor cable, record the second time, where the response frame signal further includes the third time and the fourth time; receiving the time feedback frame signal, wherein the time feedback frame signal includes a third time when the responding device receives the first timing point again and a fourth time when the responding device transmits the second timing point again.
25. A device for measuring the length of a conductor cable, comprising:
the receiving module is used for receiving an initiating frame signal transmitted by an initiating device through a conductor cable to be measured, wherein the initiating frame signal comprises a first timing point and records a third time for receiving the first timing point;
the transmitting module is used for transmitting a response frame signal into the conductor cable, wherein the response frame signal comprises a second timing point and records a fourth moment of transmitting the second timing point; and transmitting a time feedback frame signal into the conductor cable, wherein the time feedback frame signal comprises the third time and the fourth time.
26. The apparatus of claim 25, further comprising:
a processing module, configured to obtain a second channel compensation duration according to the initiation frame signal, where the second channel compensation duration is used to indicate a difference between a measured reception time and a shortest reception time of the initiation frame signal; the transmitting a time feedback frame signal into the conductor cable includes: and transmitting the time feedback frame signal into the conductor cable, wherein the time feedback frame signal further comprises the second channel compensation duration.
27. The apparatus according to claim 26, wherein the processing module is specifically configured to sample a preamble signal in the initiation frame signal, and record a time when sampling is started; acquiring the starting time of a periodic signal in the acquired preamble signal; and acquiring the second channel compensation time according to the third time, the sampling starting time and the starting time of the periodic signal.
28. The apparatus according to claim 27, wherein the processing module is specifically configured to determine a start time of a maximum peak of correlation operation as a start time of the periodic signal according to the collected preamble signal and a pre-known preamble signal; or, according to the collected leading cell and the known leading signal in advance, the signal processing is carried out to determine the starting time of the channel impact response as the starting time of the periodic signal.
29. The apparatus of claim 27, wherein the processing module is specifically configured to calculate the second channel compensation duration according to the following formula:
trC=((trR-trD)modT)-trP
wherein, trCRepresenting the second channel compensation duration, trRRepresents the third time, trDRepresents the time of starting sampling, T represents the period duration of one period in the preamble signal, TrPRepresenting the start time of the periodic signal.
30. The apparatus according to any of claims 25-29, wherein the receiving module is further configured to receive the initiation frame signal again through the conductor cable, and record a third time when the first timing point is received again;
the transmitting module is further configured to transmit the response frame signal into the conductor cable again, and record a fourth time when the second timing point is transmitted again, where the response frame signal further includes the third time and the fourth time; transmitting the time feedback frame signal into the conductor cable, the time feedback frame signal including a third time at which the first timing point is re-received and a fourth time at which the second timing point is re-transmitted.
31. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of measuring a length of a conductor cable as recited in any of claims 1-15.
32. A computer-readable storage medium having stored thereon instructions for performing the method of any one of claims 1-15 when the instructions are run on a computer.
33. A computer program for performing the method of any one of claims 1-15 when the computer program is executed by a computer.
CN201910028593.5A 2019-01-11 2019-01-11 Method and device for measuring length of conductor cable Active CN111435077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910028593.5A CN111435077B (en) 2019-01-11 2019-01-11 Method and device for measuring length of conductor cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910028593.5A CN111435077B (en) 2019-01-11 2019-01-11 Method and device for measuring length of conductor cable

Publications (2)

Publication Number Publication Date
CN111435077A true CN111435077A (en) 2020-07-21
CN111435077B CN111435077B (en) 2021-09-03

Family

ID=71580519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910028593.5A Active CN111435077B (en) 2019-01-11 2019-01-11 Method and device for measuring length of conductor cable

Country Status (1)

Country Link
CN (1) CN111435077B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822258A (en) * 2021-11-24 2021-12-21 山东省计量科学研究院 Cable length metering method and device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299538A (en) * 2008-04-08 2008-11-05 昆明理工大学 Cable-aerial mixed line fault travelling wave ranging method
CN101709947A (en) * 2009-05-22 2010-05-19 北京荣达千里科技有限公司 Method for testing length of cable
CN102308180A (en) * 2008-12-03 2012-01-04 Abb研究有限公司 Method and system for powerline length measurement
WO2012034809A1 (en) * 2010-09-16 2012-03-22 Siemens Aktiengesellschaft Method and apparatus for determining a length of a conductor cable
CN102538725A (en) * 2011-12-22 2012-07-04 西安四方机电有限责任公司 Method and device for measuring laid length of any section of buried cable
US20130154667A1 (en) * 2011-12-15 2013-06-20 Dr. Ing. H.C.F. Porsche Aktiengesellschaft Detection of charging cable
CN204495932U (en) * 2015-03-23 2015-07-22 济南大学 The electric Parameter Measuring device of power transmission and distribution circuit
US9267984B1 (en) * 2007-12-11 2016-02-23 Marvell World Trade Ltd. Sub-symbol rate cable tester
CN106124925A (en) * 2016-06-12 2016-11-16 广东电网有限责任公司惠州供电局 The distance-finding method of transmission line malfunction and device and locating verification method and system
CN207163394U (en) * 2016-02-25 2018-03-30 深圳市华盛昌科技实业股份有限公司 A kind of conductor length test device
CN108020152A (en) * 2016-10-31 2018-05-11 贝果实验室有限公司 Length-measuring appliance
CN108120901A (en) * 2017-12-27 2018-06-05 温岭市创嘉信息科技有限公司 A kind of cable fault localization method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9267984B1 (en) * 2007-12-11 2016-02-23 Marvell World Trade Ltd. Sub-symbol rate cable tester
CN101299538A (en) * 2008-04-08 2008-11-05 昆明理工大学 Cable-aerial mixed line fault travelling wave ranging method
CN102308180A (en) * 2008-12-03 2012-01-04 Abb研究有限公司 Method and system for powerline length measurement
CN101709947A (en) * 2009-05-22 2010-05-19 北京荣达千里科技有限公司 Method for testing length of cable
WO2012034809A1 (en) * 2010-09-16 2012-03-22 Siemens Aktiengesellschaft Method and apparatus for determining a length of a conductor cable
US20130154667A1 (en) * 2011-12-15 2013-06-20 Dr. Ing. H.C.F. Porsche Aktiengesellschaft Detection of charging cable
CN102538725A (en) * 2011-12-22 2012-07-04 西安四方机电有限责任公司 Method and device for measuring laid length of any section of buried cable
CN204495932U (en) * 2015-03-23 2015-07-22 济南大学 The electric Parameter Measuring device of power transmission and distribution circuit
CN207163394U (en) * 2016-02-25 2018-03-30 深圳市华盛昌科技实业股份有限公司 A kind of conductor length test device
CN106124925A (en) * 2016-06-12 2016-11-16 广东电网有限责任公司惠州供电局 The distance-finding method of transmission line malfunction and device and locating verification method and system
CN108020152A (en) * 2016-10-31 2018-05-11 贝果实验室有限公司 Length-measuring appliance
CN108120901A (en) * 2017-12-27 2018-06-05 温岭市创嘉信息科技有限公司 A kind of cable fault localization method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
施代堃: "浅谈电线电缆的检测项目及检测方法", 《能源与节能》 *
金金元,王伟兴,罗照辉,刘振球: "电线电缆导体的精确测量方法", 《电世界》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822258A (en) * 2021-11-24 2021-12-21 山东省计量科学研究院 Cable length metering method and device and storage medium

Also Published As

Publication number Publication date
CN111435077B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
EP1982432B1 (en) A method and a system for cable or subscriber loop investigation performing loop topology identification
EP3363156B1 (en) Cloud based system and method for managing testing configurations for cable test devices
Ahmed et al. Power line communications for low-voltage power grid tomography
CN111433616B (en) Parametric traveling wave based fault location for power transmission lines
CN102809715B (en) On-line fault location device for high-voltage power cable
US20040082203A1 (en) Method and apparatus for power theft prevention based on TDR or FDR signature monitoring on LV and MV power lines
EP2383897A1 (en) Binder topology identification for a telecommunication network
EP1745302A1 (en) Non-contact cable state testing
CN108152666B (en) Method and system for detecting partial discharge of cable
GB2480830A (en) Identifying incorrectly connected cables by assessing whether a received test signal is a direct signal or a crosstalk signal
US20180048352A1 (en) Interference signal recording device as well as system and method for locating impairment sources in a cable network
CN111435077B (en) Method and device for measuring length of conductor cable
EP1861724A1 (en) Method and device for determination of the phases in a multi-phase electrical system
WO2018122627A1 (en) Travelling wave based method for locating a fault in a transmission line and device therefor
Lopes et al. Past, present, and future trends of traveling wave-based fault location solutions
CN116754890A (en) Cable fault online positioning system and positioning method thereof
EP2615813A1 (en) Method and device for identification of an impairment within a telecommunication line
Minullin et al. An averaging method for identification of location probing signals in the high-frequency channel of transmission lines
KR101366760B1 (en) An apparatus and method for identifying power-line phase
KR20160093454A (en) Remote meter reading system using a relay bridge in transmission interval
JP2516422B2 (en) Communication line fault location search device
KR101680063B1 (en) Cable identification system and method of application of power line communication technology
JP4846742B2 (en) Hot line determination apparatus and hot line determination method
Barrios et al. Practical measurements of partial discharges in a smart grid laboratory
US20160191354A1 (en) System and method for preventing phantom data communication links

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant