Cable detection method, equipment and medium based on wavelet transform

By adaptively selecting a wavelet basis function that is similar to the incident signal and performing wavelet transformation processing, the problem of poor wavelet noise reduction in the existing technology is solved, and the accuracy of cable fault location detection and the smoothness of the signal are improved.

CN113970683BActive Publication Date: 2024-09-10ELECTRIC POWER RES INST OF STATE GRID ZHEJIANG ELECTRIC POWER COMAPNY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111133927.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-09-10
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

When the existing technology uses the wavelet noise reduction method, the noise reduction effect is poor, resulting in low accuracy in cable fault location detection.

Method used

By generating a wavelet basis function similar to the incident signal, and adjusting it according to the preset scale factor and translation factor, wavelet transformation processing and soft threshold denoising are performed to ensure that the denoised signal has no obvious noise interference and improve the accuracy of fault location detection. sex.

Benefits of technology

It improves the accuracy and denoising effect of the wavelet basis function, ensures accurate detection of cable fault locations, reduces noise interference, and enhances the smoothness of the signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113970683B
    Figure CN113970683B
Patent Text Reader

Abstract

The embodiment of the present application discloses a cable detection method, device and medium based on wavelet transform. Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; based on the waveform of the incident signal, select a wavelet basis function similar to the incident signal; according to a preset scale factor and a preset translation factor, adjust the selected wavelet basis function to obtain an adjusted wavelet basis function; based on the adjusted wavelet basis function, perform wavelet transform processing on the collected reflected signal to obtain a three-dimensional graph corresponding to the reflected signal, perform noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal; based on the noise-reduced signal, determine the fault location of the cable to be detected. Through the above method, the noise reduction effect is 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 cable detection method, device and medium based on wavelet transform. Background Art

[0002] With the development of the economy, the scope of electric energy is becoming more and more widespread. Cables have become the mainstream means of electric energy transmission due to their stable working environment, large transmission capacity, small footprint, and ability to transmit across the sea.

[0003] The actual service life of most cables is greatly shortened due to wear and tear during installation, humid operating environment, production process errors, etc. If not checked in time, it may cause large-scale power outages, causing huge losses to all walks of life in the country.

[0004] In order to locate the location of the cable fault, maintenance personnel need to be sent out regularly to troubleshoot the cable. However, there may be strong electromagnetic noise interference on site, which may make the measurement results difficult to identify the defect information, so noise reduction methods are needed to reduce noise interference.

[0005] The existing technology usually uses wavelet denoising method to reduce the interference of noise. However, the error between the selected wavelet basis function and the incident signal is large, resulting in poor denoising effect. Summary of the invention

[0006] The embodiments of the present application provide an adaptive cable detection method, device and medium based on wavelet transform, which are used to solve the following technical problems: the existing technology uses the wavelet denoising method, but the denoising effect is poor.

[0007] The present application embodiment adopts the following technical solutions:

[0008] The embodiment of the present application provides a cable detection method based on wavelet transform. The method includes generating an incident signal corresponding to the cable to be detected, obtaining a reflected signal corresponding to the incident signal reflected back by the cable to be detected; selecting a wavelet basis function similar to the incident signal based on the waveform of the incident signal; adjusting the selected wavelet basis function according to a preset scale factor and a preset translation factor to obtain an adjusted wavelet basis function; performing wavelet transform processing on the collected reflected signal based on the adjusted wavelet basis function to obtain a three-dimensional graph corresponding to the reflected signal, performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal; and determining the fault position of the cable to be detected based on the noise-reduced signal.

[0009] The embodiment of the present application selects a wavelet basis function similar to the incident signal through the waveform of the incident signal, which can improve the accuracy of the selected wavelet basis function, make it have a high degree of similarity with the incident signal, and have a better denoising effect, so as to ensure that the collected signal has no obvious noise interference. In addition, the embodiment of the present application obtains a three-dimensional graph by performing wavelet transform processing on the reflected signal, and then performs soft threshold denoising on the signals between the layers corresponding to the three-dimensional graph to obtain a smooth curve after denoising. Thereby, the denoising effect can be improved while ensuring that the effective signal will not be filtered out, thereby improving the accuracy of detecting the fault position of the cable to be tested.

[0010] In one implementation of the present application, a wavelet basis function similar to an incident signal is selected, specifically including: adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal; comparing the adjusted wavelet basis function with the incident signal to determine a wavelet basis function waveform similar to the incident signal.

[0011] The embodiment of the present application adjusts different wavelet basis functions to match the incident signal to improve the accuracy of the selected wavelet basis function. This solves the problem of inaccurate wavelet basis functions selected by visual inspection in the prior art. A suitable wavelet basis function can make the denoised curve smoother, so the denoised curve can more accurately reflect the cable fault location.

[0012] In one implementation of the present application, the wavelet basis function is adjusted so that the adjusted wavelet basis function matches the incident signal, specifically including: adjusting the amplitude of the wavelet basis function so that it is the same as the amplitude of the incident signal; and adjusting the position of the horizontal coordinate point of the wavelet basis function so that it is the same as the position of the horizontal coordinate point of the incident signal.

[0013] In one implementation of the present application, the adjusted wavelet basis function waveform is compared with the incident signal waveform to determine a wavelet basis function waveform similar to the incident signal waveform, specifically including: based on a preset function

[0014]

[0015] Determine the wavelet basis function corresponding to the largest ε value, and use the wavelet basis function as the wavelet basis function similar to the incident signal; where ε is the similarity; sym N (t) is the Nth-order wavelet basis function waveform that matches the incident signal; s(t) is the incident signal.

[0016] The embodiment of the present application can proactively select a relatively accurate wavelet basis function after the incident signal changes to denoise the reflected signal by using a preset function, thereby solving the problem of low accuracy of the wavelet basis function selected by visual inspection.

[0017] In one implementation of the present application, the wavelet basis function is adjusted according to a preset scale factor and a preset translation factor to obtain an adjusted wavelet basis function, specifically including: adjusting the amplitude of the wavelet basis function according to the preset scale factor; and adjusting the coordinate position of the wavelet basis function on the time axis according to the preset translation factor; and obtaining the adjusted wavelet basis function by changing the amplitude of the wavelet basis function and the coordinate position on the time axis.

[0018] In one implementation of the present application, the adjusted wavelet basis function is obtained by changing the amplitude of the wavelet basis function and the coordinate position on the time axis, which specifically includes: based on the preset function

[0019]

[0020] Change the scale factor and translation factor in the preset function to obtain the adjusted wavelet basis function; where sym a,b (t) is the adjusted wavelet basis function; a is the scale factor; b is the translation factor; t is the horizontal axis time point; sym N is a wavelet basis function similar to the incident signal.

[0021] In one implementation of the present application, based on the adjusted wavelet basis function, the collected reflection signal is subjected to wavelet transform processing to obtain a three-dimensional graph corresponding to the reflection signal, specifically including: based on a preset function

[0022] sym s (a,b)=∫r(t)·sym a,b (t)dt

[0023] And based on the multiple translation factors corresponding to different scale factors, the reflection signal is processed by wavelet transform to obtain a three-dimensional graph of the change of scale factor and translation factor corresponding to the reflection signal; wherein, sym s (a, b) is the reflection signal after wavelet transformation; a is the scale factor; b is the translation factor; r(t) is the reflection signal; sym a,b (t) is the adjusted wavelet basis function.

[0024] In one implementation of the present application, a three-dimensional graphic is subjected to denoising to obtain a denoised signal, specifically comprising: decomposing the three-dimensional graphic corresponding to the reflection signal according to multiple preset values ​​corresponding to the scale factor to obtain curve waveforms at multiple different levels; performing soft threshold denoising on the curve waveforms at multiple different levels respectively; and constructing the denoised curve waveform as a denoised reflection signal based on a wavelet inverse transform method.

[0025] An embodiment of the present application provides a noise reduction device based on wavelet transform, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: generate an incident signal corresponding to a cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; based on the waveform of the incident signal, select a wavelet basis function similar to the incident signal; according to a preset scale factor and a preset translation factor, adjust the selected wavelet basis function to obtain an adjusted wavelet basis function; based on the adjusted wavelet basis function, perform wavelet transform processing on the collected reflected signal to obtain a three-dimensional graph corresponding to the reflected signal, and perform noise reduction processing on the three-dimensional graph to obtain a signal after noise reduction; based on the signal after noise reduction, determine the fault position of the cable to be detected.

[0026] A non-volatile computer storage medium provided in an embodiment of the present application stores computer executable instructions, wherein the computer executable instructions are configured to: generate an incident signal corresponding to a cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; based on the waveform of the incident signal, select a wavelet basis function similar to the incident signal; according to a preset scale factor and a preset translation factor, adjust the selected wavelet basis function to obtain an adjusted wavelet basis function; based on the adjusted wavelet basis function, perform wavelet transform processing on the collected reflected signal to obtain a three-dimensional graph corresponding to the reflected signal, and perform noise reduction processing on the three-dimensional graph to obtain a signal after noise reduction; and based on the signal after noise reduction, determine the fault position of the cable to be detected.

[0027] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: the embodiments of the present application can improve the accuracy of the selected wavelet basis function by selecting a wavelet basis function similar to the incident signal according to the waveform of the incident signal, so that the similarity between the wavelet basis function and the incident signal is high, the denoising effect is good, and the collected signal is guaranteed to have no obvious noise interference. In addition, the embodiments of the present application perform soft threshold denoising on the signals between the layers corresponding to the three-dimensional graph by performing wavelet transform processing on the reflected signal to obtain a three-dimensional graph, and obtain a smooth curve after denoising. Thereby, the denoising effect can be improved while ensuring that the effective signal will not be filtered out, thereby improving the accuracy of detecting the fault position of the cable to be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0029] Figure 1 A flow chart of a cable detection method based on wavelet transform provided in an embodiment of the present application;

[0030] Figure 2 A flowchart of a time-frequency domain cable defect location method provided in an embodiment of the present application;

[0031] Figure 3 An incident signal waveform diagram corresponding to a cable to be detected provided in an embodiment of the present application;

[0032] Figure 4 A wavelet basis function waveform diagram corresponding to different orders provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of a soft threshold method for denoising provided in an embodiment of the present application;

[0034] Figure 6 A schematic diagram of hard threshold denoising provided in an embodiment of the present application;

[0035] Figure 7 A graph of various layers and main bodies provided in an embodiment of the present application;

[0036] Figure 8 A measured waveform diagram of a collected reflection signal provided in an embodiment of the present application;

[0037] Fig. 9 A waveform diagram of a collected reflection signal after noise reduction provided in an embodiment of the present application;

[0038] Fig.10 A schematic structural diagram of a cable detection device based on wavelet transform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The embodiments of the present application provide a cable detection method, device and medium based on wavelet transform.

[0040] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0041] The actual service life of most cables is greatly shortened due to wear and tear during installation, humid operating environment, production process errors, etc. If not checked in time, it may cause large-scale power outages, causing huge losses to all walks of life in the country.

[0042] In order to locate the location of cable faults, power grid companies need to regularly send maintenance personnel to troubleshoot the cables. However, there may be strong electromagnetic noise interference on site, which may make the measurement results difficult to identify defect information, so noise reduction methods and cable detection methods are needed to reduce noise interference.

[0043] The traditional noise reduction method is mainly the threshold noise reduction method, which selects a suitable noise filtering threshold. However, the application scope and actual effect of this method are limited, and the amplitude of the effective signal corresponding to the defect may be lower than some high-frequency pulse noise. If the collected signal is only filtered out of the signal below the threshold, the signal corresponding to the required defect will also be eliminated, which is not conducive to the location and troubleshooting of cable defects.

[0044] Compared with the threshold denoising method, the wavelet denoising method has the advantages of good denoising effect and will not filter out effective signals. However, the denoising effect will be different if the wavelet basis function is different.

[0045] The existing technology usually uses wavelet denoising method to reduce the interference of noise. However, the error between the selected wavelet basis function and the incident signal is large, resulting in poor denoising effect.

[0046] In order to solve the above problems, the embodiments of the present application provide an adaptive cable detection method, device and medium based on wavelet transform. By selecting a wavelet basis function similar to the incident signal according to the waveform of the incident signal, the accuracy of the selected wavelet basis function can be improved, so that the similarity between the incident signal and the incident signal is high, the denoising effect is better, and the collected signal is guaranteed to have no obvious noise interference. In addition, the embodiments of the present application perform a three-dimensional graph by performing a wavelet transform on the reflected signal, and then perform a soft threshold denoising on the signals between the layers corresponding to the three-dimensional graph to obtain a smooth curve after denoising. Thereby, the denoising effect can be improved while ensuring that the effective signal will not be filtered out.

[0047] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0048] Figure 2 A flowchart of a time-frequency domain cable defect location method provided in an embodiment of the present application. Figure 2 As shown, the cable detection method proposed in the embodiment of the present application is used for locating cable defects in the time-frequency domain, so a corresponding test platform needs to be built in advance. The built test platform includes: a computer, a waveform generator, a T-type connector and an oscilloscope.

[0049] The computer controls the waveform generator to generate the required incident signal, and transmits the generated incident signal to the cable to be tested through the waveform generator.

[0050] The oscilloscope collects the reflection signal corresponding to the cable to be tested through the T-type connector connected to the head end of the cable to be tested, and transmits the collected reflection signal to the computer for noise reduction processing.

[0051] Based on the incident signal, a corresponding wavelet basis function is selected, and the collected reflection signal is processed by wavelet transform through the wavelet basis function.

[0052] The three-dimensional graphics generated after wavelet transform processing are decomposed to reduce noise of the wavelet transform results at different scales.

[0053] The denoised signal is reconstructed based on the denoised wavelet transform to obtain the denoised signal.

[0054] Figure 1 A flow chart of a cable detection method based on wavelet transform provided in an embodiment of the present application. Figure 1 As shown, the cable detection method based on wavelet transform includes the following steps:

[0055] S101 . A waveform generator generates an incident signal corresponding to a cable to be detected, and an oscilloscope is used to obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected.

[0056] In one embodiment of the present application, a computer controls a waveform generator to generate a corresponding incident signal, which is incident on the cable to be tested. After the oscilloscope obtains a reflected signal corresponding to the incident signal, the computer performs noise reduction processing on the waveform.

[0057] Specifically, the computer controls the waveform generator to generate the required waveform, and transmits the generated incident signal to the cable to be tested through the waveform generator. At this time, the incident signal will generate a reflected signal in the cable to be tested. The T-type connector connected to the head end of the cable will collect the reflected signal fed back and transmit the collected reflected signal to the oscilloscope. The oscilloscope will display the collected reflected signal waveform, and the computer will process the reflected signal in the oscilloscope.

[0058] S102, a noise reduction device based on wavelet transform selects a wavelet basis function similar to the incident signal.

[0059] In one embodiment of the present application, the wavelet denoising process includes selecting wavelet basis functions, wavelet transform of the signal, multi-scale decomposition, soft threshold denoising, and reconstruction of the denoised signal. Among them, the wavelet basis functions of the first step mainly include Haar wavelet, Daubechies wavelet, Symlets wavelet, etc. Since the Symlets wavelet is similar to the incident signal used in the embodiment of the present application and has good class symmetry, it will not change the phase of the original signal after the wavelet transform. Therefore, the wavelet basis function range selected in the embodiment of the present application is the Symlets wavelet.

[0060] Figure 3 The following is a waveform diagram of an incident signal corresponding to a cable to be detected provided in an embodiment of the present application. Figure 3 As shown, the horizontal axis is time and the vertical axis is voltage value. It can be seen that the voltage value changes with time. Figure 4 The following is a waveform diagram of wavelet basis functions corresponding to different orders provided in the embodiment of the present application. Figure 4 As shown in the figure, the first row from left to right are the second-order Symlets wavelet basis functions, the third-order Symlets wavelet basis functions, and the fourth-order Symlets wavelet basis functions. The second row from left to right are the fifth-order Symlets wavelet basis functions and the sixth-order Symlets wavelet basis functions.

[0061] Depend on Figure 3 and Figure 4 It can be seen that the waveform of the Symlets wavelet basis function will change differently with different orders. Wavelet denoising requires the selection of wavelet basis functions corresponding to the incident signal. The current method of selecting wavelet basis functions similar to the incident signal by visual inspection is relatively subjective and has low accuracy. Therefore, a method is needed to adaptively select a suitable wavelet basis function based on the incident signal, so that the wavelet basis can be automatically selected after the incident signal changes, thereby improving the accuracy of the selection.

[0062] In one embodiment of the present application, a noise reduction device based on wavelet transform adjusts the wavelet basis function so that the adjusted wavelet basis function matches the incident signal. The adjusted wavelet basis function is compared with the incident signal to determine a wavelet basis function waveform similar to the incident signal.

[0063] Specifically, the noise reduction device based on wavelet transform adjusts the wavelet basis function, adjusts the amplitude of the wavelet basis function and the width of the horizontal axis of the function to be the same as the incident signal. Through a preset function formula, the adjusted wavelet basis function is compared with the incident signal for similarity to obtain the wavelet basis function with the highest similarity to the incident signal.

[0064] In one embodiment of the present application, the amplitude of the wavelet basis function is adjusted to be the same as the amplitude of the incident signal, and the position of the abscissa point of the wavelet basis function is adjusted to be the same as the position of the abscissa point of the incident signal.

[0065] In one embodiment of the present application, based on a preset function

[0066]

[0067] Determine the wavelet basis function corresponding to the largest ε value, and use the wavelet basis function as the wavelet basis function similar to the incident signal. Among them, ε is the similarity; sym N (t) is the Nth-order wavelet basis function waveform that matches the incident signal; s(t) is the incident signal.

[0068] Specifically, the incident signal and the adjusted wavelet basis function are input into the preset function, and the similarity between the incident signal and each wavelet basis function can be obtained by calculation, and the wavelet basis function with the highest similarity value is used as the currently selected wavelet basis function.

[0069] S103: The wavelet transform-based noise reduction device adjusts the selected wavelet basis function according to a preset scale factor and a preset translation factor to obtain an adjusted wavelet basis function.

[0070] In one embodiment of the present application, the amplitude of the wavelet basis function is adjusted according to a preset scale factor. And the coordinate position of the wavelet basis function on the time axis is adjusted according to a preset translation factor. By changing the amplitude of the wavelet basis function and the coordinate position on the time axis, the adjusted wavelet basis function is obtained.

[0071] In one embodiment of the present application, based on a preset function

[0072]

[0073] Change the scale factor and translation factor in the preset function to obtain the adjusted wavelet basis function; where sym a,b (t) is the adjusted wavelet basis function; a is the scale factor; b is the translation factor; t is the horizontal axis time point; sym N is a wavelet basis function similar to the incident signal.

[0074] Specifically, based on the selected scale factor, the amplitude of the wavelet basis function is adjusted, and based on the translation factor, the position of the wavelet basis function on the time axis is adjusted. According to the scale factor, the signal can be decomposed into multiple levels, and according to the translation factor, the signal is translated in each level. Therefore, the scale factor and the translation factor are mainly used to translate the wavelet at different levels and construct the function after wavelet transformation little by little.

[0075] It should be noted that the scale factor in the embodiment of the present application can be selected as 2 j (j is a positive integer). The translation factor can be selected as an integer multiple of the discrete time interval. In the application, the values ​​of the scale factor and the translation factor can also be selected accordingly according to actual needs, and the embodiment of the present application does not limit this.

[0076] S104, based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal.

[0077] In one embodiment of the present application, based on a preset function

[0078] sym s (a,b)=∫r(t)·sym a,b (t)dt

[0079] And based on the multiple translation factors corresponding to different scale factors, the reflection signal is processed by wavelet transform to obtain a three-dimensional graph of the change of scale factor and translation factor corresponding to the reflection signal. s (a, b) is the reflection signal after wavelet transformation; a is the scale factor; b is the translation factor; r(t) is the reflection signal; sym a,b (t) is the adjusted wavelet basis function.

[0080] Specifically, at a certain scale factor a, i.e., a decomposition layer, a part of the reflected signal is subjected to wavelet transform processing with the wavelet basis function translated to the same time range by changing the translation factor. Then, the scale factor is continuously changed, and the translation processing of the reflected signal is performed at each decomposition layer to construct the curve of each layer. Since the scale factor and the translation factor are independent of each other, they can be regarded as two independent variables, so the original signal is three-dimensional.

[0081] Specifically, after continuous wavelet transform, the reflected signal is processed into a three-dimensional graph of the scale factor a and the translation factor b. When the scale factor is relatively large, the waveform of the wavelet function will extend to the positive and negative sides of the independent variable, that is, it becomes a low-frequency function. When the scale factor is relatively small, the waveform of the wavelet function will be compressed on the independent variable axis, that is, it becomes a high-frequency function.

[0082] In one embodiment of the present application, the three-dimensional graph corresponding to the reflection signal is decomposed according to multiple preset values ​​corresponding to the scale factor to obtain multiple curve waveforms at different levels. Soft threshold denoising is performed on the curve waveforms at different levels respectively. Based on the wavelet inverse transform method, the denoised curve waveform is constructed as a denoised reflection signal.

[0083] Specifically, change the size of the scale factor a, generally according to 2 j (j is a positive integer) to decompose the wavelet transform results at different levels, and then use the soft threshold method to remove the noise that is obviously inconsistent with the expected measurement results, and construct the denoised signal based on the inverse wavelet transform.

[0084] Figure 5 A schematic diagram of a soft threshold method for denoising provided in an embodiment of the present application is shown in FIG. Figure 6 A schematic diagram of hard threshold denoising provided in an embodiment of the present application. Figure 5 and Figure 6 As shown in the comparison, the hard threshold method sets the threshold between AB, and the amplitude of the curve between the time periods t1 and t2 needs to be zeroed, but this will cause the curve to have a sudden change point after the change. Figure 6 The black solid line between t1 and t2 in the figure is consistent with the original curve (i.e. Figure 6 The continuous solid line between the horizontal coordinate 6.46 and 6.495 in the middle) has discontinuous points, which leads to a decrease in the smoothness of the subsequent curve. Therefore, it is necessary to use the soft threshold method to eliminate the mutation part. The soft threshold method still sets the part within the threshold range to zero, but the two ends of the zeroed part are connected to the endpoints of the two ends of the selected curve, such as Figure 6 In the figure, the solid line connected to the black solid line between t1 and t2 constitutes a new continuous curve. The resulting curve will be relatively smoother, which is conducive to denoising.

[0085] Figure 7 A graph of various levels and main body curves provided in the embodiment of the present application. Figure 7 As shown, appropriate wavelet basis functions are selected and the scale factor a is changed to form different decomposition levels. Figure 7The figure shows the five-level stratification and its corresponding main curves. The scale factor increases from bottom to top, and the smooth curve at the top is the main part of the original curve. The denoised smooth curve can be obtained by performing soft threshold denoising on the signals between the layers. Since the curves of the five-level stratification in the figure do not match the original curve, their upper and lower amplitudes can be used as thresholds to eliminate them.

[0086] For example, suppose the incident signal is

[0087]

[0088] α in the incident signal is a constant that affects the duration and frequency range of the signal, t0 is the time center of the signal, β is a constant that affects the frequency range of the signal, and ω0 is the angular frequency center of the signal. In the embodiment of the present application, α is 1.2×1014, β is 9.8×1013, t0 is 0, and ω0 is 10π×106. Figure 8 The measured waveform diagram of the reflected signal corresponding to the incident signal provided in the embodiment of the present application.

[0089] Based on the formula

[0090]

[0091] The most suitable wavelet basis function is the 6th order wavelet basis function. The set incident signal is incident on the cable to be detected to obtain a reflected signal, and the reflected signal is denoised to obtain a denoised reflected signal.

[0092] Fig. 9 A waveform diagram of a noise-reduced reflected signal collected in an embodiment of the present application. Fig. 9 As shown, the waveform after noise reduction obviously removes Figure 8 The high-frequency mutation points in the curve tend to be smooth, which is convenient for traditional Wigner-Ville distribution to extract the defect position.

[0093] It should be noted that Wigner-Ville distribution (WVD for short) is a typical quadratic transform, which is defined as the Fourier transform of the instantaneous correlation function of the signal, reflecting the instantaneous time-frequency relationship of the signal. For a single-component linear frequency modulation signal, the projection of WVD on the time-frequency plane is a straight line, that is, the linear change relationship of frequency over time.

[0094] S105: Determine the fault location of the cable to be detected based on the signal after noise reduction.

[0095] In one embodiment of the present application, after wavelet denoising is completed, the fault location of the current cable to be tested can be determined based on the denoised signal. For example, the impedance at the location where the cable fails will change. By transmitting multiple groups of signals to be transmitted to the cable at preset time intervals, when the impedance of the cable changes, an echo will be generated, and the remaining energy will continue to travel in the cable. Thus, by analyzing the reflected signal reflected by the cable, the location where the cable fails can be determined. Similarly, since multiple groups of signals to be analyzed are obtained by demodulating the reflected signal, the location where the cable fails can be located by analyzing the signals to be analyzed.

[0096] Fig.10 The following is a schematic diagram of the structure of a cable detection device based on wavelet transform provided in an embodiment of the present application. Fig.10 As shown, the cable detection equipment based on wavelet transform includes

[0097] at least one processor; and,

[0098] a memory communicatively connected to the at least one processor; wherein,

[0099] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0100] Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected;

[0101] Based on the waveform of the incident signal, selecting a wavelet basis function similar to the incident signal;

[0102] According to a preset scale factor and a preset translation factor, the selected wavelet basis function is adjusted to obtain an adjusted wavelet basis function;

[0103] Based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal;

[0104] Based on the noise-reduced signal, the fault location of the cable to be detected is determined.

[0105] The embodiment of the present application also includes a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0106] Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected;

[0107] Based on the waveform of the incident signal, selecting a wavelet basis function similar to the incident signal;

[0108] According to a preset scale factor and a preset translation factor, the selected wavelet basis function is adjusted to obtain an adjusted wavelet basis function;

[0109] Based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal;

[0110] Based on the noise-reduced signal, the fault location of the cable to be detected is determined.

[0111] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0112] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

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

Claims

1. A cable detection method based on wavelet transform, characterized in that: The method comprises: Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; Based on the waveform of the incident signal, selecting a wavelet basis function similar to the incident signal; According to a preset scale factor and a preset translation factor, the selected wavelet basis function is adjusted to obtain an adjusted wavelet basis function; Based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal; Determining the fault location of the cable to be detected based on the noise-reduced signal; The selecting of a wavelet basis function similar to the incident signal specifically includes: Adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal; Comparing the adjusted wavelet basis function with the incident signal to determine a wavelet basis function waveform similar to the incident signal; wherein the wavelet basis function range is Symlets wavelet; The step of adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal specifically includes: Adjusting the amplitude of the wavelet basis function to make it the same as the amplitude of the incident signal; and Adjusting the position of the abscissa point of the wavelet basis function to make it the same as the position of the abscissa point of the incident signal; The step of comparing the adjusted wavelet basis function waveform with the incident signal waveform to determine a wavelet basis function waveform similar to the incident signal waveform specifically includes: Based on preset functions Determine the wavelet basis function corresponding to the maximum ε value, and use the wavelet basis function as a wavelet basis function similar to the incident signal; Wherein, ε is the similarity; sym N (t) is the Nth-order wavelet basis function waveform matching the incident signal; s(t) is the incident signal.

2. The cable detection method based on wavelet transform according to claim 1 is characterized in that: The step of adjusting the wavelet basis function according to the preset scale factor and the preset translation factor to obtain the adjusted wavelet basis function specifically includes: According to the preset scale factor, adjusting the amplitude of the wavelet basis function; and According to the preset translation factor, adjusting the coordinate position of the wavelet basis function on the time axis; By changing the amplitude of the wavelet basis function and the coordinate position on the time axis, an adjusted wavelet basis function is obtained.

3. The cable detection method based on wavelet transform according to claim 2 is characterized in that: The step of obtaining the adjusted wavelet basis function by changing the amplitude of the wavelet basis function and the coordinate position on the time axis specifically includes: Based on preset functions Changing the scale factor and translation factor in the preset function to obtain an adjusted wavelet basis function; wherein, sym a,b (t) is the adjusted wavelet basis function; a is the scale factor; b is the translation factor; t is the horizontal axis time point; sym N is a wavelet basis function similar to the incident signal.

4. The cable detection method based on wavelet transform according to claim 1 is characterized in that: The step of performing wavelet transform processing on the collected reflection signal based on the adjusted wavelet basis function to obtain a three-dimensional graph corresponding to the reflection signal specifically includes: Based on preset functions sym s (a,b)=∫r(t)·sym a,b (t)dt And based on the multiple translation factors corresponding to different scale factors, the reflection signal is processed by wavelet transform to obtain a three-dimensional graph of the change of scale factor and translation factor corresponding to the reflection signal; wherein, sym s (a, b) is the reflection signal after wavelet transformation; a is the scale factor; b is the translation factor; r(t) is the reflection signal; sym a,b (t) is the adjusted wavelet basis function.

5. The cable detection method based on wavelet transform according to claim 1, characterized in that: The performing noise reduction processing on the three-dimensional graphics to obtain a noise-reduced signal specifically includes: Decomposing the three-dimensional graph corresponding to the reflection signal according to the plurality of preset values ​​corresponding to the scale factor to obtain a plurality of curve waveforms at different levels; Performing soft threshold denoising on the curve waveforms of the multiple different levels respectively; Based on the wavelet inverse transform method, the denoised curve waveform is constructed as a denoised reflection signal.

6. Cable detection equipment based on wavelet transform, including: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; Based on the waveform of the incident signal, selecting a wavelet basis function similar to the incident signal; According to a preset scale factor and a preset translation factor, the selected wavelet basis function is adjusted to obtain an adjusted wavelet basis function; Based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal; Determining the fault location of the cable to be detected based on the noise-reduced signal; The selecting of a wavelet basis function similar to the incident signal specifically includes: Adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal; Comparing the adjusted wavelet basis function with the incident signal to determine a wavelet basis function waveform similar to the incident signal; wherein the wavelet basis function range is Symlets wavelet; The step of adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal specifically includes: Adjusting the amplitude of the wavelet basis function to make it the same as the amplitude of the incident signal; and Adjusting the position of the abscissa point of the wavelet basis function to make it the same as the position of the abscissa point of the incident signal; The step of comparing the adjusted wavelet basis function waveform with the incident signal waveform to determine a wavelet basis function waveform similar to the incident signal waveform specifically includes: Based on preset functions Determine the wavelet basis function corresponding to the maximum ε value, and use the wavelet basis function as a wavelet basis function similar to the incident signal; Wherein, ε is the similarity; sym N (t) is the Nth-order wavelet basis function waveform matching the incident signal; s(t) is the incident signal.

7. A non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to: Generate an incident signal corresponding to the cable to be detected, and obtain a reflected signal corresponding to the incident signal reflected back by the cable to be detected; Based on the waveform of the incident signal, selecting a wavelet basis function similar to the incident signal; According to a preset scale factor and a preset translation factor, the selected wavelet basis function is adjusted to obtain an adjusted wavelet basis function; Based on the adjusted wavelet basis function, performing wavelet transform processing on the collected reflection signal to obtain a three-dimensional graph corresponding to the reflection signal, and performing noise reduction processing on the three-dimensional graph to obtain a noise-reduced signal; Determining the fault location of the cable to be detected based on the noise-reduced signal; The selecting of a wavelet basis function similar to the incident signal specifically includes: The wavelet basis function is adjusted so that the adjusted wavelet basis function matches the incident signal; the adjusted wavelet basis function is compared with the incident signal to determine a wavelet basis function waveform similar to the incident signal; wherein the wavelet basis function range is Symlets wavelet; The step of adjusting the wavelet basis function so that the adjusted wavelet basis function matches the incident signal specifically includes: The amplitude of the wavelet basis function is adjusted to be the same as the amplitude of the incident signal; and the position of the abscissa point of the wavelet basis function is adjusted to be the same as the position of the abscissa point of the incident signal; and the adjusted wavelet basis function waveform is compared with the incident signal waveform to determine the wavelet basis function waveform similar to the incident signal waveform, specifically including: Based on preset functions Determine the wavelet basis function corresponding to the maximum ε value, and use the wavelet basis function as the wavelet basis function similar to the incident signal; wherein ε is the similarity; sym N (t) is the Nth-order wavelet basis function waveform matching the incident signal; s(t) is the incident signal.