CN113391162A - Power line distance measuring method, system and equipment - Google Patents

Power line distance measuring method, system and equipment Download PDF

Info

Publication number
CN113391162A
CN113391162A CN202110586197.1A CN202110586197A CN113391162A CN 113391162 A CN113391162 A CN 113391162A CN 202110586197 A CN202110586197 A CN 202110586197A CN 113391162 A CN113391162 A CN 113391162A
Authority
CN
China
Prior art keywords
ranging signal
power line
ranging
signal
sampling clock
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.)
Pending
Application number
CN202110586197.1A
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
State Grid Eastern Inner Mongolia Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Global Energy Interconnection Research Institute
State Grid Eastern Inner Mongolia Power 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 State Grid Corp of China SGCC, Global Energy Interconnection Research Institute, State Grid Eastern Inner Mongolia Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110586197.1A priority Critical patent/CN113391162A/en
Publication of CN113391162A publication Critical patent/CN113391162A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/081Locating faults in cables, transmission lines, or networks according to type of conductors
    • G01R31/085Locating faults in cables, transmission lines, or networks according to type of conductors in power transmission or distribution lines, e.g. overhead
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/08Locating faults in cables, transmission lines, or networks
    • G01R31/088Aspects of digital computing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves

Abstract

The invention provides a power line distance measuring method, a system and equipment, wherein the method comprises the following steps: sending a first ranging signal to a second carrier device; receiving a second ranging signal forwarded by second carrier equipment after receiving the first ranging signal; determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal; and determining the line length of the power line to be detected based on the propagation speed and the transmission time length of the first ranging signal in the power line to be detected. By implementing the invention, the limitation of a sampling clock in the distance measurement process is broken through, and the cable distance measurement precision is improved.

Description

Power line distance measuring method, system and equipment
Technical Field
The invention relates to the field of power communication, in particular to a power line ranging method, system and equipment.
Background
The Power Line Communication (PLC) technology is a wired Communication method for performing voice or data transmission using a high voltage Power Line, a medium voltage Power Line, or a low voltage Power Line as an information transmission medium. The conventional power line communication technology is to load a modulated high-frequency carrier signal on an existing power line for communication, so the technology is also called power line carrier communication. The power line carrier communication is generally divided into a narrowband PLC and a broadband PLC according to a used frequency band, and is currently widely applied to services such as medium and low voltage power consumption information acquisition and power distribution automation.
Since PLC signals are transmitted in the power grid, carrier signals may be applied to some auxiliary functions, such as cable ranging, grid topology identification, etc., in addition to data communication functions. Currently, there are three main categories of signal-based ranging at home and abroad: a received signal strength ranging method, a channel model ranging method, and a signal arrival time ranging method. The received signal strength method determines the attenuation of a received signal when the signal passes through a channel by using the strength of the received signal, thereby calculating the length of a transmission line, and is often used in scenes such as bluetooth and wireless sensing. However, the power grid structure is complex, the power line channel environment is severe, and the carrier received signal strength is not only related to channel attenuation, but also interfered by impulse noise and colored background noise, so that the accuracy of ranging by using the received signal strength method is not high. The channel model ranging method establishes a signal transmission model through channel estimation and estimates signal transmission time from the model. The method has high complexity, and the model establishment is easily interfered by channel noise and attenuation, so the precision of the distance measurement by using the channel model distance measurement method is not high. The signal arrival time ranging method calculates the length of a transmission line by utilizing one-time communication interaction between two devices and counting the time difference between the sending time and the arrival time of a received signal, and is widely applied to wireless application scenes such as indoor positioning, global satellite navigation systems and the like. The signal arrival time ranging method firstly needs to establish a communication link between two devices, however, a power line channel is worse than a wireless channel, and a more robust ranging signal needs to be designed to ensure communication robustness. Secondly, the ranging accuracy of the signal arrival time ranging method is limited by a system sampling clock (ranging signal bandwidth), and the higher the sampling clock (the larger the ranging signal bandwidth), the higher the ranging accuracy, but at the same time, the higher the system complexity, and the reliability of communication is also reduced.
Therefore, the cable distance measurement method cannot accurately measure the line length, so that the distance measurement precision is affected.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect of low ranging accuracy in the prior art, and provide a method, a system and a device for power line ranging.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides a power line ranging method, where a first carrier device and a second carrier device are respectively disposed at two ends of a power line to be measured, and the power line ranging method is applied to the first carrier device, and includes: transmitting a first ranging signal to the second carrier device; receiving a second ranging signal forwarded by the second carrier equipment after receiving the first ranging signal; determining the transmission duration of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal; and determining the line length of the power line to be tested based on the propagation speed of the first ranging signal in the power line to be tested and the transmission time length.
Optionally, the determining, based on a relationship between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal, a transmission duration of the first ranging signal on the power line to be measured includes: determining a first transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relation between the second ranging signal and the first ranging signal; determining a second transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relation between the second ranging signal and a frequency domain ranging signal corresponding to the first ranging signal; and adding and summing the first transmission time length and the second transmission time length to obtain the transmission time length.
Optionally, the determining, based on a preset sampling clock and a relationship between the second ranging signal and the first ranging signal, a first transmission duration of the first ranging signal on the power line to be measured includes: performing a cross-correlation calculation on the second ranging signal and the first ranging signal; adding and summing the output results after the cross-correlation calculation; comparing the addition and summation calculation result with a preset threshold value; when the addition and summation calculation result is larger than the preset threshold value, acquiring a current second ranging signal; and carrying out integral multiple sampling clock time delay calculation on the current second ranging signal based on a preset sampling clock to obtain a first transmission time length.
Optionally, the determining, based on a preset sampling clock and a relationship between the second ranging signal and the frequency domain ranging signal corresponding to the first ranging signal, a second transmission duration of the first ranging signal on the power line to be measured includes: performing fast Fourier transform on the second ranging signal; performing conjugate multiplication calculation on an output result of the fast Fourier transform and a frequency domain ranging signal corresponding to the first ranging signal; and performing decimal-time sampling clock time delay calculation on an output result of the conjugate multiplication according to the preset sampling clock signal to obtain a second transmission time length.
Optionally, the adding and summing the first transmission duration and the second transmission duration to obtain the transmission duration includes: acquiring first processing time for sending the first ranging signal by first carrier equipment and second processing time for receiving the first ranging signal by second carrier equipment; adding and summing the first transmission time length and the second transmission time length to calculate a ranging signal time delay; and calculating the transmission duration according to the ranging signal time delay, the first processing time and the second processing time.
Optionally, before the performing the cross-correlation calculation on the second ranging signal and the first ranging signal, the method further includes: and carrying out normalization processing on the second ranging signal.
In a second aspect, an embodiment of the present invention provides a power line ranging system, including: a sending module, configured to send a first ranging signal to a second carrier device; a receiving module, configured to receive a second ranging signal that is forwarded by a second carrier device after receiving the first ranging signal; the processing module is used for determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal as well as the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal; and the calculation module is used for determining the line length of the power line to be detected based on the propagation speed of the first ranging signal in the power line to be detected and the transmission time length.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause the computer to execute the power line ranging method according to the first aspect of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer device, including: a memory and a processor, wherein the memory and the processor are communicatively connected with each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the power line ranging method according to the first aspect of the present invention.
The technical scheme of the invention has the following advantages:
the power line ranging method provided by the invention comprises the following steps: sending a first ranging signal to a second carrier device; receiving a second ranging signal forwarded by second carrier equipment after receiving the first ranging signal; determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal; and determining the line length of the power line to be detected based on the propagation speed and the transmission time length of the first ranging signal in the power line to be detected. The transmission time of the first ranging signal on the power line to be measured is determined based on the relation between the preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal, and the time delay of the integral multiple sampling clock and the time delay of the decimal multiple sampling clock can be obtained at the same time. Therefore, the precision of the sampling clock is improved, the limitation of the sampling clock in the distance measurement process is broken through, and the cable distance measurement precision is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of power line carrier ranging in an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a power line ranging method according to an embodiment of the present invention;
FIG. 3 is a flow chart of calculating a first transmission duration according to an embodiment of the present invention;
FIG. 4 is a second flow of calculating a transmission duration according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a ranging process according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a specific example of a power line ranging system according to an embodiment of the present invention;
fig. 7 is a block diagram of a specific example of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention provides a power line distance measuring method, which estimates the transmission time of a carrier signal in a cable by utilizing the signal interaction among power line carrier equipment, thereby calculating the length of the cable connected with the power line carrier equipment. As shown in fig. 1, which is a schematic diagram of power line carrier ranging, a first carrier device and a second carrier device are respectively disposed at two ends of a power line to be measured, and the power line ranging method is applied to the first carrier device, as shown in fig. 2, and includes the following steps:
step S1: and transmitting the first ranging signal to the second carrier equipment.
In an embodiment, the first carrier device and the second carrier device disposed at two ends of the power line to be tested both receive configuration information sent by the external device. The first carrier wave equipment is configured into ranging master equipment according to the configuration information, and the second carrier wave equipment is configured into ranging slave equipment according to the configuration information. The above configuration process is accomplished within various internal controllers. And after the state configuration of the first carrier equipment and the second carrier equipment is completed, the ranging work of the power line to be measured is carried out. Specifically, the ranging master device starts timing under the control of the internal controller, and when the timer times to a preset time, the internal controller controls the signal sending unit to send the first ranging signal. The first ranging signal is coupled to the power line under test through the coupler for transmission to the ranging slave. In the embodiment of the present invention, the ranging signal is an Orthogonal Frequency Division Multiplexing (OFDM) signal, and is designed in the Frequency domain, initial information (with the same amplitude and random phase) is mapped onto corresponding subcarriers, and the sequence is converted from the Frequency domain to the time domain by IFFT. The preset time is adjusted according to actual needs.
Step S2: and receiving a second ranging signal forwarded by the second carrier equipment after receiving the first ranging signal.
In one embodiment, a ranging slave device (i.e., a second carrier device) extracts a first ranging signal from a power line under test through a coupler. And after the internal controller of the slave equipment to be measured monitors the synchronous signal, judging that the slave equipment to be measured extracts the first distance measuring signal. Further, after the ranging slave device monitors the synchronization signal, the internal controller controls the signal transmitting unit to transmit the second ranging signal. The second ranging signal is coupled to the power line to be measured through the coupler and is transmitted to the ranging master device. In the embodiment of the invention, the synchronization of the signal clock is ensured by monitoring the synchronization signal in real time and sending the second ranging signal after the synchronization signal is monitored.
Step S3: and determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between the preset sampling clock and the second ranging signal and the frequency domain ranging signal corresponding to the first ranging signal and the first ranging signal.
In an embodiment, determining a transmission duration of the first ranging signal on the power line to be measured based on a relationship between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal includes the following steps:
step S31: and determining the first transmission time length of the first ranging signal on the power line to be measured based on the preset sampling clock and the relation between the second ranging signal and the first ranging signal.
In the embodiment of the invention, the first transmission time length of the first ranging signal on the power line to be measured is determined through the following steps:
step S311: and performing cross-correlation calculation on the second ranging signal and the first ranging signal.
Step S312: and adding and summing the output results after the cross-correlation calculation.
Step S313: the result of the addition and summation calculation is compared with a preset threshold value.
Step S314: and when the addition and summation calculation result is larger than a preset threshold value, acquiring a current second ranging signal.
Step S315: and carrying out integral multiple sampling clock time delay calculation on the current second ranging signal based on a preset sampling clock to obtain a first transmission duration.
Specifically, the first transmission duration calculation flow is as shown in fig. 3, and the ranging master device performs a normalization operation before the cross-correlation calculation to avoid a drastic fluctuation of the amplitude of the second ranging signal, and divides each sampling point of the second ranging signal by an average amplitude value. For each sample point s, the average amplitude value only counts the amplitudes of a plurality of sample points around the sample point s, and when calculating the average value, different sample points have different weights: the closer to the sample point s the higher the weight and vice versa. Thus, no matter how violent the signal amplitude before normalization oscillates, the signal amplitude after normalization fluctuates only slightly within a certain range. The mathematical expression for the normalization operation is as follows:
Figure BDA0003087520330000091
FN×1={|F(k)|,|F(k+1)|,...,|F(k+N-2)|,|F(k+N-1)|}T(formula 2)
W1×N={α01,...,αN-1} (formula 3)
Where F (k) and V (k) represent the input and output of the normalization calculation, respectively. FN×1Representing a vector of length N whose vector elements are the amplitudes of adjacent samples of the kth input sample. W1×NIs a window function vector for calculating the average amplitude, and 0<αn≤1,,n=0,1,...N。
And performing cross-correlation calculation on the normalized second ranging signal and the locally stored ranging signal (namely the first ranging signal):
Figure BDA0003087520330000101
where V (k) is the output of the normalization module; s represents a local time domain ranging signal stored at the receiving end, the length of which is Np; x denotes the conjugate of X.
Further, in order to overcome the influence of channel multipath effect, the sum calculation is performed on every Len output correlation values after the cross-correlation calculation:
Figure BDA0003087520330000102
the comparator compares the output result after cross-correlation calculation with a preset threshold value PhA comparison is made, if this threshold value is exceeded, i.e. m k0]>PhThen, it means that the second ranging signal is detected and tac=(k0-Np-1)*TsThat is, the integral multiple sampling clock delay of the second ranging signal, i.e. obtaining the coarse delay estimate tacWherein T issThe system sampling clock.
In addition, the ranging slave device also detects the first ranging signal sent by the ranging master device by using the steps, and after the first ranging signal is detected and the internal controller monitors the synchronous signal, the ranging slave device controls the signal sending unit to send the second ranging signal, so that the forwarding of the ranging signal is realized.
Step S32: and determining a second transmission time length of the first ranging signal on the power line to be measured based on a preset sampling clock and a relation between the second ranging signal and the frequency domain ranging signal corresponding to the first ranging signal.
In the embodiment of the invention, the second transmission time length of the first ranging signal on the power line to be measured is determined by the following steps:
step S321: performing fast Fourier transform on the second ranging signal;
step S322: performing conjugate multiplication calculation on the output result of the fast Fourier transform and the frequency domain ranging signal corresponding to the first ranging signal;
step S323: and performing decimal-times sampling clock time delay calculation on an output result of the conjugate multiplication calculation according to a preset sampling clock signal to obtain a second transmission time length.
Specifically, the second transmission duration calculation flow is as shown in fig. 4, and after the second ranging signal is detected by the coarse delay estimation, the data with length Np is intercepted as the input of the fine delay estimation:
r1×Np={F(k0),F(k0+1),...F(k0+Np-1) } (formula 6)
Wherein F (k) is the coarse delay estimate input, k0Is the sampling point number, N, exceeding a preset threshold in the coarse delay estimationpIs the first ranging signal length. And performing FFT calculation on the intercepted data, namely:
R1×Np=FFT{r1×Np}={A1,A2,...,ANp} (formula 7)
And then carrying out conjugate multiplication on the output result of the fast Fourier transform and the frequency domain ranging signal corresponding to the first ranging signal:
Figure BDA0003087520330000111
the delay of the fractional sample clock (i.e., the fine delay estimate) is then calculated by the following equation:
Bn=real(Dn)/imag(Dn)n=1,2,...,Np(formula 9)
Figure BDA0003087520330000121
Figure BDA0003087520330000122
Figure BDA0003087520330000123
Wherein real (X) represents the real part of complex number X, imag (X) represents the imaginary part of complex number X, TsFor the system sampling clock, τafIs the second transmission duration, i.e., the fractional time delay estimate of the sampling clock.
Step S33: and adding and summing the first transmission time length and the second transmission time length to obtain the transmission time length.
In the embodiment of the present invention, the adding and summing the first transmission duration and the second transmission duration to obtain the transmission duration includes the following steps:
step S331: and acquiring first processing time for the first carrier equipment to send the first ranging signal and second processing time for the second carrier equipment to receive the first ranging signal.
Step S332: and adding and summing the first transmission time length and the second transmission time length to calculate the time delay of the ranging signal.
Step S333: and calculating to obtain the transmission time length according to the ranging signal time delay, the first processing time and the second processing time.
Specifically, through a coarse time delay estimation algorithm and a fine time delay estimation algorithm, integral multiple time delay and decimal multiple time delay of a sampling clock are obtained, and then the time delay T of a ranging signal in the whole ranging process can be calculated to be Tacaf. . As can be seen from fig. 5, the transmission duration Δ T ═ (T-2 × T)1-2*t2) A/2, where c is the transmission rate of the ranging signal in the cable, t1Processing time, t, for transmitting ranging signals for a first carrier device2A processing time for the second carrier device to receive the ranging signal.
Step S4: and determining the line length of the power line to be detected based on the propagation speed and the transmission time length of the first ranging signal in the power line to be detected.
In one embodiment, the line length L can be obtained by the following formula:
Figure BDA0003087520330000131
where c is the transmission rate of the ranging signal in the cable, t1Processing time, t, for transmitting ranging signals for a device2The processing time of the equipment for receiving the ranging signal is shown, and delta t is the transmission time of the ranging signal. In the embodiment of the invention, the length of the medium-low voltage power line connected with the carrier equipment can be measured on line in real time through signal interaction among the existing power line carrier equipment, the method can be applied to the fields of medium-low voltage power grid topology identification, cable fault location and the like, and has the characteristics of simple principle, economy, practicability, convenience in application and the like.
The power line ranging method provided by the invention comprises the following steps: sending a first ranging signal to a second carrier device; receiving a second ranging signal forwarded by second carrier equipment after receiving the first ranging signal; determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal; and determining the line length of the power line to be detected based on the propagation speed and the transmission time length of the first ranging signal in the power line to be detected. The transmission time of the first ranging signal on the power line to be measured is determined based on the relation between the preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal, and the time delay of the integral multiple sampling clock and the time delay of the decimal multiple sampling clock can be obtained at the same time. Therefore, the precision of the sampling clock is improved, the limitation of the sampling clock in the distance measurement process is broken through, and the cable distance measurement precision is improved.
An embodiment of the present invention provides a power line ranging system, as shown in fig. 6, including:
a sending module 1, configured to send a first ranging signal to a second carrier device. For details, refer to the related description of step S1 in the above embodiment, and are not described herein again.
And the receiving module 2 is configured to receive a second ranging signal forwarded by the second carrier device after receiving the first ranging signal. For details, refer to the related description of step S2 in the above embodiment, and are not described herein again.
And the processing module 3 is configured to determine a transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relationship between the second ranging signal and the first ranging signal and a frequency domain ranging signal corresponding to the first ranging signal. For details, refer to the related description of step S3 in the above embodiment, and are not described herein again.
And the calculating module 4 is used for determining the line length of the power line to be detected based on the propagation speed and the transmission duration of the first ranging signal in the power line to be detected. For details, refer to the related description of step S4 in the above embodiment, and are not described herein again.
The power line ranging system provided by the invention can simultaneously obtain the time delay of an integral multiple sampling clock and the time delay of a decimal multiple sampling clock by using the power line ranging method. Therefore, the precision of the sampling clock is improved, the limitation of the sampling clock in the distance measurement process is broken through, and the cable distance measurement precision is improved.
An embodiment of the present invention further provides a computer device, as shown in fig. 7, the device may include a processor 61 and a memory 62, where the processor 61 and the memory 62 may be connected by a bus or in another manner, and fig. 7 takes the connection by the bus as an example.
The processor 61 may be a Central Processing Unit (CPU). The Processor 61 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 62, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the corresponding program instructions/modules in embodiments of the present invention. The processor 61 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 62, that is, implements the power line ranging method in the above method embodiment.
The memory 62 may 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 by the processor 61, and the like. Further, the memory 62 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 62 may optionally include memory located remotely from the processor 61, and these remote memories may be connected to the processor 61 via a network. Examples of such networks include, but are not limited to, the internet, intranets, mobile communication networks, and combinations thereof.
One or more modules are stored in memory 62 and, when executed by processor 61, perform the power line ranging method provided by embodiments of the present invention.
The details of the computer device can be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1-4, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program that can be stored in a computer-readable storage medium and that when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.

Claims (9)

1. A power line distance measuring method is characterized in that the power line distance measuring method comprises the following steps:
transmitting a first ranging signal to the second carrier device;
receiving a second ranging signal forwarded by the second carrier equipment after receiving the first ranging signal;
determining the transmission duration of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal and the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal;
and determining the line length of the power line to be tested based on the propagation speed of the first ranging signal in the power line to be tested and the transmission time length.
2. The method according to claim 1, wherein the determining the transmission duration of the first ranging signal on the power line to be measured based on the relationship between a preset sampling clock and the frequency domain ranging signals corresponding to the second ranging signal and the first ranging signal comprises:
determining a first transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relation between the second ranging signal and the first ranging signal;
determining a second transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relation between the second ranging signal and a frequency domain ranging signal corresponding to the first ranging signal;
and adding and summing the first transmission time length and the second transmission time length to obtain the transmission time length.
3. The method according to claim 2, wherein the determining a first transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relationship between the second ranging signal and the first ranging signal comprises:
performing a cross-correlation calculation on the second ranging signal and the first ranging signal;
adding and summing the output results after the cross-correlation calculation;
comparing the addition and summation calculation result with a preset threshold value;
when the addition and summation calculation result is larger than the preset threshold value, acquiring a current second ranging signal;
and carrying out integral multiple sampling clock time delay calculation on the current second ranging signal based on a preset sampling clock to obtain a first transmission time length.
4. The method according to claim 2, wherein the determining a second transmission duration of the first ranging signal on the power line to be measured based on a preset sampling clock and a relationship between the second ranging signal and a frequency domain ranging signal corresponding to the first ranging signal comprises:
performing fast Fourier transform on the second ranging signal;
performing conjugate multiplication calculation on an output result of the fast Fourier transform and a frequency domain ranging signal corresponding to the first ranging signal;
and performing decimal-time sampling clock time delay calculation on an output result of the conjugate multiplication according to the preset sampling clock signal to obtain a second transmission time length.
5. The method according to claim 2, wherein the calculating the transmission time length by adding and summing the first transmission time length and the second transmission time length comprises:
acquiring first processing time for sending the first ranging signal by first carrier equipment and second processing time for receiving the first ranging signal by second carrier equipment;
adding and summing the first transmission time length and the second transmission time length to calculate a ranging signal time delay;
and calculating the transmission duration according to the ranging signal time delay, the first processing time and the second processing time.
6. The power line ranging method according to claim 3, further comprising, before the cross-correlation calculating the second ranging signal with the first ranging signal: and carrying out normalization processing on the second ranging signal.
7. A power line ranging system, comprising:
a sending module, configured to send a first ranging signal to a second carrier device;
a receiving module, configured to receive a second ranging signal that is forwarded by a second carrier device after receiving the first ranging signal;
the processing module is used for determining the transmission time length of the first ranging signal on the power line to be measured based on the relation between a preset sampling clock and the second ranging signal as well as the first ranging signal and the frequency domain ranging signal corresponding to the first ranging signal;
and the calculation module is used for determining the line length of the power line to be detected based on the propagation speed of the first ranging signal in the power line to be detected and the transmission time length.
8. A computer-readable storage medium storing computer instructions for causing a computer to execute the power line ranging method according to any one of claims 1 to 6.
9. A computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the power line ranging method according to any one of claims 1 to 6.
CN202110586197.1A 2021-05-27 2021-05-27 Power line distance measuring method, system and equipment Pending CN113391162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110586197.1A CN113391162A (en) 2021-05-27 2021-05-27 Power line distance measuring method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110586197.1A CN113391162A (en) 2021-05-27 2021-05-27 Power line distance measuring method, system and equipment

Publications (1)

Publication Number Publication Date
CN113391162A true CN113391162A (en) 2021-09-14

Family

ID=77619309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110586197.1A Pending CN113391162A (en) 2021-05-27 2021-05-27 Power line distance measuring method, system and equipment

Country Status (1)

Country Link
CN (1) CN113391162A (en)

Similar Documents

Publication Publication Date Title
RU2537960C2 (en) Method of locating terminal in network coverage area
CN1706135B (en) A method of determining a timing offset between a first clock and a second clock in a communications network
RU2014150510A (en) METHODS AND DEVICES FOR DETERMINING THE ASSESSMENT OF SIGNAL POWER BY MEASURING ZOOM
CN112235215B (en) Wireless channel detection method, storage medium and terminal equipment
CN110244151B (en) Synchronous phasor measurement method and system and related components
CN108683482A (en) A kind of method and device of estimation timing position
CN111512168B (en) System and method for analyzing fault data of a power transmission network
CN103701498B (en) The signal processing method of power line carrier communication and device
CN109564256B (en) Travelling wave based method for locating a fault in a transmission line and device for the method
CN111447554A (en) Wireless positioning method, device, terminal equipment and storage medium
CN109116301B (en) Time difference of arrival measuring method based on confidence degree estimation
KR101219913B1 (en) Location estimation method for mobile node
CN111610408B (en) Traveling wave fault positioning method, device, equipment and storage medium
CN113391162A (en) Power line distance measuring method, system and equipment
CN102869091B (en) Method and device for determining arrival time of location reference signals
Subhan et al. Extended gradient predictor and filter for smoothing RSSI
CN103630744B (en) PMU phase-angle detection method and system
CN106603171B (en) Method and equipment for testing bit error rate of terminal receiver
EP2989480B1 (en) Space-based rss localization
CN215340145U (en) Power line ranging system
CN112904083A (en) Power balance calibration method and device based on broadband measurement
CN116527796B (en) Method for carrying out high-precision time service on ammeter based on dual-mode communication
CN111884678A (en) Distribution line distance measurement method based on HPLC technology
Wang et al. A novel indoor ranging algorithm based on received signal strength and channel state information.
CN104198808A (en) Frame-dropping error code delay error calculation method, device and system in electric energy measurement

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