Signal compensation method, cable fault positioning method, equipment and storage medium

By compensating the frequency domain reflection coefficient of the target section in the high-voltage cable multiple times, the problem of insufficient fault positioning accuracy and detection measurement range in the prior art is solved, and a higher signal compensation effect and fault positioning accuracy are achieved.

CN119827906APending Publication Date: 2025-04-15SUZHOU GUANGGE EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411993795.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the fault positioning of high-voltage cables, the reflected wave size changes due to cable joints and high-frequency losses, which affects the fault positioning accuracy and detection and measurement range, and has a low compensation accuracy.

Method used

By obtaining the frequency domain reflection coefficient of the target section in the cable to be tested, the transmission matrix is ​​calculated, and multiple compensations are performed to reduce transmission loss and reflection loss, thereby improving the accuracy of fault positioning and detection distance.

Benefits of technology

Compensation for the full distance and full frequency band of reflected signals during fault point positioning is realized, the signal compensation effect is improved, and the accuracy and detection distance of fault positioning are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119827906A_ABST
    Figure CN119827906A_ABST
Patent Text Reader

Abstract

The invention provides a signal compensation method, a cable fault positioning method, equipment and a storage medium, and the method comprises the steps: obtaining a first frequency domain reflection coefficient of a target section in a to-be-detected cable; acquiring a first transmission matrix of the target section based on the first frequency domain reflection coefficient; performing first compensation on the first transmission matrix to obtain a second transmission matrix; acquiring a second frequency domain reflection coefficient of the joint based on the second transmission matrix; performing second compensation on the second frequency domain reflection coefficient to obtain a third frequency domain reflection coefficient; the third frequency domain reflection coefficient is used for positioning a fault point of the to-be-detected cable. According to the scheme, the transmission loss and the reflection loss of the reflection signal are compensated, so that the reflection coefficient of the cable to be measured is closer to a real reflection coefficient, and the signal compensation effect is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and in particular to a signal compensation method, a cable fault location method, a device and a storage medium. Background Art

[0002] With the rapid development of modern society and the continuous increase in electricity demand, 35KV-220KV high-voltage transmission cables are widely used in urban power systems, and the laying length of high-voltage cables of this level is increasing year by year. In order to improve power supply reliability and save urban space, urban high-voltage cable laying often adopts direct burial or tunnel laying technology. When a cable fails, the cable maintenance personnel cannot locate the fault point by visual methods. When the low-voltage pulse method is used to locate the fault point, the high-frequency loss of the laid cable joints and cables will affect the size of the reflected wave, thereby affecting the fault location accuracy and fault detection range. In order to increase the fault detection distance and detection accuracy, it is very important to compensate for the loss of traveling waves in the cable.

[0003] At present, the relevant technology mainly uses a piecewise linear compensation algorithm for the loss of traveling waves in cables. This scheme measures the loss function per unit length of the cable, and then calculates the average loss value based on the loss function. In subsequent calculations, the loss value is linearly superimposed according to the compensation distance. However, since the actual loss is not a fixed value and the reflection loss between joints is not considered, the compensation accuracy of the relevant technology is low. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a signal compensation method, a cable fault location method, a device and a storage medium to improve the above-mentioned problems.

[0005] In a first aspect, an embodiment of the present application provides a signal compensation method, the method comprising: obtaining a first frequency domain reflection coefficient of a target section in a cable to be tested; wherein the first frequency domain reflection coefficient is obtained based on an impulse response of the cable to be tested; the target section is a cable section between adjacent joints in the cable to be tested; based on the first frequency domain reflection coefficient, obtaining a first transmission matrix of the target section; performing a first compensation on the first transmission matrix to obtain a second transmission matrix; wherein the first compensation is used to compensate for the transmission loss of an incident signal in the cable to be tested; based on the second transmission matrix, obtaining a second frequency domain reflection coefficient of the joint; performing a second compensation on the second frequency domain reflection coefficient to obtain a third frequency domain reflection coefficient; wherein the second compensation is used to compensate for the reflection loss of the joint in the cable to be tested; the third frequency domain reflection coefficient is used to locate a fault point in the cable to be tested.

[0006] In the implementation process of the above scheme, on the one hand, the method realizes the full-distance and full-frequency compensation of the reflected signal in the process of fault point location by accurately compensating the frequency domain reflection coefficient of each target segment in the cable to be tested, which is beneficial to improving the signal compensation effect; on the other hand, by compensating for the transmission loss and reflection loss of the reflected signal, the reflection coefficient of the cable to be tested is made closer to the actual reflection coefficient, which is beneficial to further improve the signal compensation effect.

[0007] In an implementation of the first aspect, the obtaining of the first frequency domain reflection coefficient of the target section in the cable under test includes: obtaining the flight time of the incident signal transmitted from the incident end to each joint in the cable under test; based on the flight time, obtaining the frequency domain sequence of the window function of each target section; performing a convolution operation on the frequency domain sequence and a fourth frequency domain reflection coefficient to obtain the first frequency domain reflection coefficient of each target section; wherein the fourth frequency domain reflection coefficient is the reflection coefficient of the cable under test at the full distance and the full frequency band.

[0008] In the implementation process of the above scheme, the frequency domain reflection coefficient corresponding to each target segment can be accurately intercepted by time domain windowing, which is beneficial to accurately compensate the frequency domain reflection coefficient of each target segment, and further helps to improve the signal compensation effect of the above signal compensation method.

[0009] In an implementation of the first aspect, the method of obtaining the flight time of the incident signal transmitted from the incident end to each connector in the cable to be tested includes: obtaining the first time domain reflection coefficient based on the fourth frequency domain reflection coefficient; and obtaining the flight time of the incident signal transmitted from the incident end to each connector in the cable to be tested based on the maximum point of the first time domain reflection coefficient.

[0010] In the implementation process of the above scheme, by converting the frequency domain reflection coefficient into the time domain, and then determining the flight time of the incident signal transmitted from the incident end to each joint through the maximum point of the time domain reflection coefficient in the time domain, it is beneficial to improve the positioning accuracy of the joint position.

[0011] In an implementation of the first aspect, the frequency domain sequence of the windowing function of each target segment is obtained based on the flight time, including: based on the flight time, a time domain windowing function of each target segment is obtained; the window function length of the time domain windowing function is the time difference between the second time and the first time; the first time and the second time are respectively the flight times of the incident signal transmitted to the head end joint and the tail end joint of the target segment; the time domain windowing function is discretized to obtain a time domain windowing sequence; the time domain windowing sequence is converted to the frequency domain to obtain a frequency domain sequence of the time domain windowing function.

[0012] In the process of implementing the above scheme, the time domain windowing function corresponding to the target section is obtained through the flight time of the incident signal transmitted to the head end joint and the tail end joint of the target section, so as to realize the accurate division of the target section between the joints in the cable to be tested, which is beneficial to accurately compensate the frequency domain reflection coefficient of each target section, and further helps to improve the signal compensation effect of the above signal compensation method.

[0013] In an implementation of the first aspect, the method further includes: obtaining a traveling wave attenuation coefficient of each target section of the cable to be tested based on a scattering matrix of each target section; obtaining a transmission loss compensation matrix of each target section based on the traveling wave attenuation coefficient;

[0014] The performing a first compensation on the first transmission matrix to obtain a second transmission matrix includes: performing a first compensation on the first transmission matrix of the corresponding target segment using the transmission loss compensation matrix of each target segment to obtain a second transmission matrix.

[0015] In the process of implementing the above scheme, the reflection coefficient of the full distance and the full frequency band is compensated for the loss through linear transformation. On the one hand, the compensation method of linear transformation takes into account the change of cable transmission loss with frequency, and can realize accurate compensation of cable transmission loss, which is beneficial to improving the compensation effect of the above signal compensation method; on the other hand, the compensation method of linear transformation is real-time, which is beneficial to improving the signal compensation efficiency of the above signal compensation method.

[0016] In an implementation of the first aspect, the second frequency domain reflection coefficient is second compensated to obtain the third frequency domain reflection coefficient, including: performing second compensation on the second frequency domain reflection coefficients of the N joints in the cable to be tested in sequence to obtain the third frequency domain reflection coefficient of each joint, wherein, for the Nth (N≥2) joint in the cable to be tested: using the frequency domain transmission coefficients of the first N-1 joints of the Nth joint to perform second compensation on the second frequency domain reflection coefficient of the Nth joint to obtain the third frequency domain reflection coefficient; wherein the frequency domain transmission coefficients of the first N-1 joints are calculated based on the third frequency domain reflection coefficients of the corresponding joints after the second compensation; at the same frequency, each time the signal passes through the joint, the sum of the frequency domain transmission coefficient of the joint and the third frequency domain reflection coefficient of the joint after the second compensation is 1.

[0017] In the process of implementing the above scheme, the loss compensation of the frequency domain reflection coefficient of each connector in the cable to be tested is performed in turn in an iterative manner, which can reduce the additional signal reflection loss caused by connector mismatch, thereby improving the compensation accuracy of the reflection coefficient, which is beneficial to improving the signal compensation effect of the above signal compensation method; on the other hand, considering the transmission coefficient of each connector before the current connector for compensation is beneficial to reducing the influence of multiple reflections of the signal between connectors on the frequency domain reflection coefficient, which is beneficial to further improve the signal compensation effect of the above signal compensation method.

[0018] In an implementation of the first aspect, the second frequency domain reflection coefficient of the Nth joint is compensated for using the frequency domain transmission coefficients of the first N-1 joints of the Nth joint to obtain a third frequency domain reflection coefficient, including: using the cumulative square of the frequency domain transmission coefficients of the first N-1 joints to perform a second compensation on the second frequency domain reflection coefficient of the Nth joint to obtain a third frequency domain reflection coefficient.

[0019] In the process of implementing the above scheme, the method of accumulating the square of the frequency domain transmission coefficient is adopted to help reduce the impact of multiple reflections of the signal between joints on the frequency domain reflection coefficient of the joint, which is beneficial to improve the acquisition accuracy of the frequency domain reflection coefficient of the joint, and further improve the signal compensation effect of the above signal compensation method.

[0020] In a second aspect, an embodiment of the present application provides a cable fault location method, the method comprising:

[0021] The fault point is located using the third frequency domain reflection coefficient of each joint in the cable to be tested; wherein the third frequency domain reflection coefficient is obtained using the signal compensation method provided by the first aspect or any possible implementation of the first aspect.

[0022] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other through the communication bus; the memory stores computer program instructions that can be executed by the processor, and when the computer program instructions are read and run by the processor, the method provided by the first aspect or any possible implementation of the first aspect is executed.

[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the method provided by the first aspect or any possible implementation of the first aspect is executed.

[0024] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A schematic diagram of a flow chart of a signal compensation method provided in an embodiment of the present application;

[0027] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0029] The terms "comprises", "comprising" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. The terms "first", "second", "third", etc. are used only to distinguish descriptions and are not to be understood as indicating or implying relative importance.

[0030] An embodiment of the present application provides a signal compensation method. On the one hand, the method realizes full-distance and full-frequency compensation of the reflected signal in the process of fault point location by accurately compensating the frequency domain reflection coefficient of each target segment in the cable to be tested, which is beneficial to improving the signal compensation effect; on the other hand, by compensating for the transmission loss and reflection loss of the reflected signal, the reflection coefficient of the cable to be tested is closer to the actual reflection coefficient, which is beneficial to further improve the signal compensation effect.

[0031] See also Figure 1 A flow chart of a signal compensation method is shown. The signal compensation method provided in the embodiment of the present application can be applied to an electronic device, which may include a physical device such as a server, a PC, a tablet computer or a smart phone, or a virtual device such as a virtual machine or a container. The electronic device may be a single device, a combination of multiple devices, or a cluster of a large number of devices. The above-mentioned signal compensation method may include:

[0032] Step S110: obtaining a first frequency domain reflection coefficient of a target section in the cable to be tested; wherein the first frequency domain reflection coefficient is obtained based on an impulse response of the cable to be tested; and the target section is a cable section between adjacent connectors in the cable to be tested;

[0033] Step S120: acquiring a first transmission matrix of the target section based on the first frequency domain reflection coefficient;

[0034] Step S130: performing a first compensation on the first transmission matrix to obtain a second transmission matrix; wherein the first compensation is used to compensate for the transmission loss of the incident signal in the cable to be tested;

[0035] Step S140: obtaining a second frequency domain reflection coefficient of the joint based on the second transmission matrix;

[0036] Step S150: Perform a second compensation on the second frequency domain reflection coefficient to obtain a third frequency domain reflection coefficient; wherein the second compensation is used to compensate for the reflection loss of the joint in the cable under test; and the third frequency domain reflection coefficient is used to locate the fault point of the cable under test.

[0037] Explanatory, the reflection loss of the connector refers to the reflection power loss of the downstream connector caused by the reflection of the connector upstream along the direction of the incident signal. For example: there are connectors 1, 2, and 3 on the cable to be tested; the incident signal is injected into the cable to be tested from the direction of 1 to 3, and the incident signal will be transmitted and reflected when passing through each connector. When the signal reflected from connector 3 returns along the original path, it will be reflected again when it encounters connectors 1 and 2 on the return path. The reflection at this time is the reflection loss of the connector in the cable to be tested.

[0038] Explanatory, the specific method of using the third frequency domain reflection coefficient to locate the fault point of the cable to be tested can be to convert the third frequency domain reflection coefficient into a time domain to obtain a corresponding time domain reflection coefficient; the fault can be located according to the time domain reflection coefficient. Specifically, the method of locating the fault according to the time domain reflection coefficient is a prior art and will not be described in detail.

[0039] First, the application scenarios of the above signal compensation method are introduced:

[0040] The above signal compensation method can be applied in the scenario of cable fault location using frequency domain reflection method, specifically:

[0041] Frequency domain reflection method is a method to determine the location of cable fault point by measuring the reflection coefficient of the signal in the cable. This method uses the characteristic that the reflection coefficient in the cable changes with the frequency. By measuring the spectrum of the reflection coefficient, the location of the cable fault point can be determined according to the time spectrum obtained by spectrum conversion.

[0042] In the scenario of using the frequency domain reflection method to locate cable faults, the impulse response of the cable under test can be obtained after injecting a frequency band signal (also called an incident signal) into the cable in the frequency domain. Based on the impulse response of the cable under test, the frequency domain reflection coefficient of the cable under test at the full distance and full frequency band can be obtained. Thereafter, the frequency domain reflection coefficient of the cable under test can be compensated using the above-mentioned signal compensation method.

[0043] The above reflection coefficient refers to the coefficient corresponding to the reflection phenomenon caused by the signal encountering the impedance discontinuity when the cable transmits the signal. The reflection coefficient reflects the strength of the signal reflection in the cable.

[0044] The target section in the following step S110 refers to the cable section between adjacent joints in the cable to be tested. The scheme for obtaining the first frequency domain reflection coefficient of the target section in the above step S110 is introduced below:

[0045] Optionally, the above step S110 includes: obtaining the flight time of the incident signal transmitted from the incident end to each connector in the cable to be tested; based on the flight time, obtaining the frequency domain sequence of the window function of each target segment; performing a convolution operation on the frequency domain sequence and the fourth frequency domain reflection coefficient to obtain the first frequency domain reflection coefficient of each target segment; wherein the fourth frequency domain reflection coefficient is the reflection coefficient of the cable to be tested at the full distance and the full frequency band.

[0046] The above step S110 can obtain the flight time of the incident signal transmitted from the incident end to each connector in at least the following three ways:

[0047] The first method: phase comparison method;

[0048] The phase difference between the reflected signal and the incident signal is measured by a phase measurement device to determine the flight time of the incident signal to each connector.

[0049] The second method: time domain analysis method;

[0050] For example: Use a time domain analyzer to inject a pulse signal into the cable under test, and determine the flight time of the signal to each connector based on the peaks in the reflected signal.

[0051] The third method: frequency domain analysis;

[0052] Optionally, the above step 110 obtains the flight time of the incident signal transmitted from the incident end to each connector in the cable under test, including: obtaining the first time domain reflection coefficient based on the fourth frequency domain reflection coefficient; and obtaining the flight time of the incident signal transmitted from the incident end to each connector in the cable under test based on the maximum point of the first time domain reflection coefficient.

[0053] The fourth frequency domain reflection coefficient refers to: the frequency domain reflection coefficient of the cable under test at all distances and in all frequency bands. The fourth frequency domain reflection coefficient can be determined by the frequency domain reflection coefficient spectrum of the cable under test, and the frequency domain reflection coefficient spectrum can be obtained by detection equipment such as a network analyzer.

[0054] It can be understood that during the transmission of the incident signal in the cable to be tested, when the signal reaches the cable joint, due to impedance mismatch, part of the signal will be reflected, while the other part will continue to propagate forward. After the signal is reflected, a peak will appear in the time domain signal, that is, a maximum value will appear. Therefore, by monitoring the maximum point in the time domain reflection coefficient, the position of the joint and the flight time of the signal from the incident end to the joint can be accurately determined.

[0055] The above scheme can use inverse discrete Fourier transform (IDFT) to convert the fourth frequency domain reflection coefficient to the time domain, so as to obtain the first time domain reflection coefficient. IDFT is calculated using the following formula:

[0056]

[0057] Among them, Γ (1) (t) is the first time domain reflection coefficient; Γ (4) (f n ) is the fourth frequency domain reflection coefficient at the nth frequency point f n The component under, n = f n ; The fourth frequency domain reflection coefficient has a total of N frequency points, N = f N .

[0058] The above scheme can determine the maximum point of the first time domain reflection coefficient by the intermediate difference method. The calculation method of the intermediate difference method is:

[0059]

[0060] For the specific implementation method of determining the maximum point using the intermediate difference method, please refer to the related art, and the embodiments of this application will not be repeated. It is the corresponding maximum point.

[0061] The above scheme converts the frequency domain reflection coefficient into the time domain, and then determines the flight time of the incident signal transmitted from the incident end to each connector through the maximum point of the time domain reflection coefficient in the time domain.

[0062] The above-mentioned windowing function is a technique for smooth truncation, which is usually used in Fourier transform and other frequency domain analysis methods. Its purpose is to multiply the signal with a weighting function so that the signal gradually attenuates at the truncation point instead of abruptly truncating it, thereby avoiding the discontinuity and high-frequency noise caused by direct truncation. Commonly used window functions include rectangular window, Hanning window, Hamming window and Blackman window.

[0063] The following is an introduction to the acquisition scheme of the above time domain windowed sequence:

[0064] Optionally, the above-mentioned obtaining the frequency domain sequence of the windowing function of each target segment based on the flight time includes: obtaining the time domain windowing function of each target segment based on the flight time; the window function length of the time domain windowing function is the time difference between the second time and the first time; the first time and the second time are respectively the flight times of the incident signal transmitted to the head end joint and the tail end joint of the target segment; discretizing the time domain windowing function to obtain the time domain windowing sequence; converting the time domain windowing sequence to the frequency domain to obtain the frequency domain sequence of the time domain windowing function.

[0065] The windowing function used in the embodiment of the present application is a 3rd order Kaiser-Bessel window, which is implemented based on the 0th order modified Bessel function. The shape of the Kaiser-Bessel window can be adjusted to control the size of the side lobe and the width of the main lobe. The 3rd order Kaiser-Bessel window windowing function can be expressed as:

[0066]

[0067] Among them, t2-t1 is the window length of the window function; t1 is the flight time of the incident signal reaching the head end joint in the target segment, that is, the first time; t2 is the flight time of the incident signal reaching the tail end joint in the target segment, that is, the second time; I0 is the 0th order modified Bessel function; n is the current time point index; I0(3) is the corresponding value of the 0th order modified Bessel function when the independent variable is 3.

[0068] The embodiment of the present application can convert the time domain windowing sequence into the frequency domain by performing a discrete Fourier transform (DFT) on the time domain windowing sequence to obtain a frequency domain sequence of the time domain windowing function.

[0069] The above scheme obtains the time domain windowing function corresponding to the target section through the flight time of the incident signal transmitted to the head end joint and the tail end joint of the target section, thereby realizing the accurate division of the target section between the joints in the cable to be tested, which is beneficial to accurately compensate the frequency domain reflection coefficient of each target section, and further helps to improve the signal compensation effect of the above signal compensation method.

[0070] It can be understood that the above scheme can accurately obtain the frequency domain reflection coefficient of each target segment by performing a convolution operation on the frequency domain sequence and the fourth frequency domain reflection coefficient of the full distance and the full frequency band.

[0071] The above scheme can accurately intercept the frequency domain reflection coefficient corresponding to each target segment by means of time domain windowing, which is beneficial to accurately compensate the frequency domain reflection coefficient of each target segment, and further helps to improve the signal compensation effect of the above signal compensation method.

[0072] It is understandable that the reflection coefficient and the transmission matrix of the cable can be converted to each other through a specific transformation method. For the specific conversion method, please refer to the relevant technology, and the embodiments of this application will not be repeated.

[0073] The following is an introduction to the solution of performing the first compensation on the first transmission matrix in step S130:

[0074] Optionally, the signal compensation method further includes: obtaining a traveling wave attenuation coefficient of each target section based on a scattering matrix of each target section of the cable to be tested; obtaining a transmission loss compensation matrix of each target section based on the traveling wave attenuation coefficient;

[0075] At this time, the above step S130 includes: using the transmission loss compensation matrix of each target segment to perform a first compensation on the first transmission matrix corresponding to the target segment to obtain a second transmission matrix.

[0076] This implementation example is:

[0077] According to the transmission line equation, the scattering matrix of the non-ideal transmission line without reflection is:

[0078]

[0079] Among them, α is the propagation constant; β is the traveling wave attenuation coefficient; z is the cable length;

[0080] Compared with the scattering matrix of the ideal transmission line, the traveling wave attenuation coefficient and propagation constant are obtained as follows:

[0081] β(f)=-ln[10 a(f) / 10 ]

[0082]

[0083] The above-mentioned traveling wave attenuation coefficient β(f) and propagation constant α(f) are functions with frequency f as the independent variable; a(f) is the attenuation dB value of each frequency point per unit distance of the cable to be tested; v g is the propagation speed of the signal in the cable under test;

[0084] The left-multiplied transmission loss compensation matrix of the target section of the cable to be tested is calculated based on the traveling wave attenuation coefficient:

[0085]

[0086] Wherein, Z0 is the characteristic impedance of the corresponding target section; A cal (f) is the transmission loss compensation matrix; A com (f) is the uncompensated transfer matrix of the corresponding target segment, that is, the first transfer matrix, which can be expressed as:

[0087]

[0088] Based on the linear transformation method, the method of using the transmission loss compensation matrix to perform the first compensation on the first transmission matrix corresponding to the target section is:

[0089] A1=A cal (f)*A com (f)

[0090] Wherein, A1 is the transmission matrix after the first compensation, that is, the second transmission matrix.

[0091] The above scheme compensates for the loss of the reflection coefficient over the entire distance and the entire frequency band through linear transformation. On the one hand, the linear transformation compensation method takes into account the change of cable transmission loss with frequency, and can achieve accurate compensation for cable transmission loss, which is beneficial to improving the compensation effect of the above signal compensation method; on the other hand, the linear transformation compensation method is real-time, which is beneficial to improving the signal compensation efficiency of the above signal compensation method.

[0092] The following is an introduction to the solution of obtaining the second frequency domain reflection coefficient based on the second transmission matrix in the above step S140:

[0093] It can be understood that there is a specific conversion relationship between the transmission matrix, the scattering matrix and the frequency domain reflection coefficient, and the second frequency domain reflection coefficient can be obtained based on the second transmission matrix by using the conversion relationship. The specific conversion relationship between the above scattering matrix, the transmission matrix and the frequency domain reflection coefficient is, for example:

[0094]

[0095] Γ (2) ′ is the frequency domain reflection coefficient before the second compensation, that is, the second frequency domain reflection coefficient; S11 is the element in the first row and first column of the scattering matrix; A 11 , A 12 , A 21 and A 22 They are respectively the elements located at the first row and first column, the first row and second column, the second row and first column, and the second row and second column in the first transmission matrix.

[0096] The following is an introduction to the solution of performing the second compensation on the second frequency domain reflection coefficient in the above step S150:

[0097] Optionally, the step S150 includes: performing second compensation on the second frequency domain reflection coefficients of N connectors in the cable to be tested in sequence to obtain a third frequency domain reflection coefficient of each connector.

[0098] Among them, for the Nth (N≥2) connector in the cable to be tested:

[0099] The frequency domain transmission coefficients of the first N-1 joints of the N-th joint are used to perform a second compensation on the second frequency domain reflection coefficient of the N-th joint to obtain a third frequency domain reflection coefficient; wherein the frequency domain transmission coefficients of the first N-1 joints are calculated based on the third frequency domain reflection coefficients of the corresponding joints after the second compensation; at the same frequency, each time the signal passes through a joint, the sum of the frequency domain transmission coefficient of the joint and the third frequency domain reflection coefficient of the joint after the second compensation is 1. This implementation example: the second frequency domain reflection coefficient of the N-th joint is second compensated by using the accumulation of the frequency domain transmission coefficients of the first N-1 joints.

[0100] It is understandable that when a signal reaches a connector, due to impedance mismatch, part of the signal will be reflected, and the other part of the signal will continue to propagate forward. This part of the signal that continues to propagate forward is the transmission signal that passes through the connector. Ideally, each time a signal passes through a connector, the sum of the frequency domain transmission coefficient of the connector and the frequency domain reflection coefficient of the connector is 1.

[0101] The above scheme compensates for the frequency domain reflection coefficient of each connector in the cable to be tested in turn in an iterative manner, which can reduce the additional signal reflection loss caused by connector mismatch, thereby improving the compensation accuracy of the reflection coefficient, which is beneficial to improving the signal compensation effect of the above signal compensation method; on the other hand, considering the transmission coefficient of each connector before the current connector for compensation is beneficial to reducing the influence of multiple reflections of the signal between connectors on the frequency domain reflection coefficient, which is beneficial to further improve the signal compensation effect of the above signal compensation method.

[0102] Optionally, the above-mentioned using the frequency domain transmission coefficients of the first N-1 joints of the N-th joint to perform a second compensation on the second frequency domain reflection coefficient of the N-th joint to obtain a third frequency domain reflection coefficient includes: using the cumulative square of the frequency domain transmission coefficients of the first N-1 joints to perform a second compensation on the second frequency domain reflection coefficient of the N-th joint to obtain the third frequency domain reflection coefficient. This implementation example:

[0103] Assume that the second frequency domain reflection coefficient of the first joint is Γ (2)-1 , then the reflection coefficient of the first joint and subsequent joints can be expressed as follows:

[0104] Γ (3)-1 =Γ′ (2)-1

[0105]

[0106] Among them, Γ′ (2)-1 is the frequency domain reflection coefficient of the first joint without the second compensation, that is, the second frequency domain reflection coefficient of the first joint; Γ (3)-1 is the frequency domain reflection coefficient of the first joint after the second compensation, that is, the third frequency domain reflection coefficient of the first joint; Γ′ (2)-N is the frequency domain reflection coefficient of the Nth joint without the second compensation, that is, the second frequency domain reflection coefficient of the Nth joint; Γ (3)-n is the frequency domain reflection coefficient of the nth joint after the second compensation, that is, the third frequency domain reflection coefficient of the nth joint; Γ (3)-N is the third frequency domain reflection coefficient of the Nth connector;

[0107] Taking the second joint and the third joint as an example, the frequency domain reflection coefficient of the second joint after the second compensation, that is, the third frequency domain reflection coefficient of the second joint is:

[0108]

[0109] The frequency domain reflection coefficient of the third joint after the second compensation, that is, the third frequency domain reflection coefficient of the third joint is:

[0110]

[0111] It is understandable that since the signal may be reflected and transmitted multiple times between connectors, for example, when there are multiple connectors in the cable to be tested, that is, when there are multiple impedance mismatching points, the signal is transmitted at the first mismatching point and then reflected and transmitted at the second mismatching point, and the reflected signal continues to be transmitted and reflected after returning to the first mismatching point. The above scheme uses the compensation method of cumulative square of frequency domain transmission coefficient to help reduce the impact of multiple reflections of the signal between connectors on the frequency domain reflection coefficient of the connector.

[0112] In the process of implementing the above scheme, the method of accumulating the square of the frequency domain transmission coefficient is adopted to help reduce the impact of multiple reflections of the signal between connectors on the frequency domain reflection coefficient of the connector, which is beneficial to improve the compensation accuracy of the frequency domain reflection coefficient of the connector, and further improve the signal compensation effect of the above signal compensation method.

[0113] Based on the same inventive concept, a cable fault location method is also provided in an embodiment of the present application, the method comprising: locating the fault point using the third frequency domain reflection coefficient of each joint in the cable to be tested; wherein the third frequency domain reflection coefficient is obtained using the above-mentioned signal compensation method.

[0114] It can be understood that the solution of locating the fault point using the frequency domain reflection coefficient of the connector in the cable is a relatively mature technology in the art. For specific implementation methods, please refer to the relevant technology, and the embodiments of this application will not be repeated.

[0115] When the frequency domain reflection coefficient is used to locate the fault point, it is first converted to the frequency domain, and then the fault location can be performed. Specifically, as described above, the specific method for using the third frequency domain reflection coefficient to locate the fault point of the cable to be tested can be to convert the third frequency domain reflection coefficient into the time domain to obtain the corresponding time domain reflection coefficient; the fault location can be performed based on the time domain reflection coefficient. Specifically, the method of locating the fault based on the time domain reflection coefficient is a prior art and will not be described in detail.

[0116] Figure 2 A schematic diagram of an electronic device provided in an embodiment of the present application. Figure 2 The electronic device 200 includes: a processor 210, a memory 220 and a communication interface 230. These components are interconnected and communicate with each other through a communication bus 240 and / or other forms of connection mechanisms (not shown).

[0117] The memory 220 includes one or more (only one is shown in the figure), which may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The processor 210 and other possible components may access the memory 220 and read and / or write data therein.

[0118] The processor 210 includes one or more (only one is shown in the figure), which can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 210 can be a general-purpose processor, including a central processing unit (CPU), a micro control unit (MCU), a network processor (NP) or other conventional processors; it can also be a special-purpose processor, including a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0119] The communication interface 230 includes one or more (only one is shown in the figure), which can be used to communicate directly or indirectly with other devices to exchange data. For example, the communication interface 230 can be an Ethernet interface; it can be a mobile communication network interface, such as an interface of a 3G, 4G, or 5G network; or it can be other types of interfaces with data transceiving functions.

[0120] One or more computer program instructions may be stored in the memory 220 , and the processor 210 may read and execute these computer program instructions to implement the signal compensation method and other desired functions provided in the embodiments of the present application.

[0121] Understandably, Figure 2The structure shown is for illustration only. The electronic device 200 may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof. For example, the electronic device 200 can be a single server (or other device with computing processing capabilities), a combination of multiple servers, a cluster of a large number of servers, etc., and can be both a physical device and a virtual device.

[0122] The present application also provides a computer-readable storage medium, which stores computer program instructions. When the computer program instructions are read and executed by a computer processor, the signal compensation method provided by the present application is executed. For example, the computer-readable storage medium can be implemented as Figure 2 The memory 220 in the electronic device 200.

[0123] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0124] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0126] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A signal compensation method, characterized in that: The method comprises: Obtaining a first frequency domain reflection coefficient of a target section in the cable to be tested; wherein the first frequency domain reflection coefficient is obtained based on an impulse response of the cable to be tested; the target section is a cable section between adjacent connectors in the cable to be tested; Based on the first frequency domain reflection coefficient, acquiring a first transmission matrix of the target segment; Performing a first compensation on the first transmission matrix to obtain a second transmission matrix; wherein the first compensation is used to compensate for the transmission loss of the incident signal in the cable to be tested; Based on the second transmission matrix, obtaining a second frequency domain reflection coefficient of the joint; Perform a second compensation on the second frequency domain reflection coefficient to obtain a third frequency domain reflection coefficient; wherein the second compensation is used to compensate for the reflection loss of the joint in the cable under test; and the third frequency domain reflection coefficient is used to locate the fault point of the cable under test.

2. The signal compensation method according to claim 1, characterized in that: The step of obtaining a first frequency domain reflection coefficient of a target section in the cable to be tested comprises: Obtain the flight time of the incident signal from the incident end to each connector in the cable under test; Based on the flight time, obtaining a frequency domain sequence of the windowing function of each target section; The frequency domain sequence is convolved with a fourth frequency domain reflection coefficient to obtain a first frequency domain reflection coefficient of each target section; wherein the fourth frequency domain reflection coefficient is a reflection coefficient of the cable to be tested in full distance and full frequency range.

3. The signal compensation method according to claim 2, characterized in that: The step of obtaining the flight time of the incident signal transmitted from the incident end to each connector in the cable to be tested includes: Based on the fourth frequency domain reflection coefficient, obtaining a first time domain reflection coefficient; Based on the maximum point of the first time domain reflection coefficient, the flight time of the incident signal transmitted from the incident end to each connector in the cable to be tested is obtained.

4. The signal compensation method according to claim 2, characterized in that: The step of obtaining a frequency domain sequence of a windowing function for each target section based on the flight time includes: Based on the flight time, a time domain windowing function of each target segment is obtained; the window function length of the time domain windowing function is the time difference between the second time and the first time; the first time and the second time are respectively the flight time of the incident signal transmitted to the head end joint and the tail end joint of the target segment; Discretize the time-domain windowing function to obtain a time-domain windowing sequence; The time domain windowing sequence is converted to the frequency domain to obtain a frequency domain sequence of the time domain windowing function.

5. The signal compensation method according to claim 1, characterized in that: The method further comprises: Based on the scattering matrix of each target section of the cable to be tested, obtaining the traveling wave attenuation coefficient of each target section; Based on the traveling wave attenuation coefficient, obtaining a transmission loss compensation matrix of each target section; The performing a first compensation on the first transmission matrix to obtain a second transmission matrix includes: The transmission loss compensation matrix of each target segment is used to perform a first compensation on the first transmission matrix of the corresponding target segment to obtain a second transmission matrix.

6. The signal compensation method according to claim 1, characterized in that: The performing a second compensation on the second frequency domain reflection coefficient to obtain a third frequency domain reflection coefficient includes: Perform a second compensation on the second frequency domain reflection coefficients of the N connectors in the cable to be tested in sequence to obtain a third frequency domain reflection coefficient of each connector, wherein for the Nth (N≥2) connector in the cable to be tested: The second frequency domain reflection coefficient of the Nth joint is compensated for by the frequency domain transmission coefficients of the first N-1 joints of the Nth joint to obtain a third frequency domain reflection coefficient; wherein the frequency domain transmission coefficients of the first N-1 joints are calculated based on the third frequency domain reflection coefficients of the corresponding joints after the second compensation; at the same frequency, each time the signal passes through the joint, the sum of the frequency domain transmission coefficient of the joint and the third frequency domain reflection coefficient of the joint after the second compensation is 1.

7. The signal compensation method according to claim 6, characterized in that: The method of performing a second compensation on the second frequency domain reflection coefficient of the Nth joint by using the frequency domain transmission coefficients of the first N-1 joints of the Nth joint to obtain a third frequency domain reflection coefficient includes: The second frequency domain reflection coefficient of the Nth joint is second compensated by using the cumulative square of the frequency domain transmission coefficients of the first N-1 joints to obtain a third frequency domain reflection coefficient.

8. A cable fault location method, characterized in that: The method comprises: The fault point is located using the third frequency domain reflection coefficient of each joint in the cable to be tested; wherein the third frequency domain reflection coefficient is obtained using the signal compensation method according to any one of claims 1 to 7.

9. An electronic device, characterized in that: include: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 7 by calling the program instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 7.