A method of processing a cable signal
Patent Information
- Application Number
- CN202111634721.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2041-12-29
AI Technical Summary
[0003]相关技术中,采用隐患故障录波装置对采集到的高频电流脉冲信号进行处理,例如通常采用阈值触发和短时录波的方式,过滤捕获较高的隐患故障脉冲信号,然而由于脉冲信号频率较高,处理过程需要花费时间,可能导致漏处理一些脉冲信号或处理后的信号不连续;并且由于受制于录波装置的采样率、存储容量、无线通信带宽等条件,很难达到实时录波的效果
[0035]本公开实施例,通过获取电缆的脉冲信号,根据脉冲信号中最大的子波信号的幅值的幅值区间,采用不同的分辨率下调的方式,对脉冲信号的分辨率进行下调处理,不影响信号的完整性和连续性,在满足行波定位和类型识别的数据分析的同时,大大减少了数据的处理量,减轻了数据缓存和网络传输的带宽压力。
Smart Images

Figure CN115980517B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of power information processing technology, and in particular to a method for processing cable signals. Background Technology
[0002] High-voltage cables may experience insulation aging under long-term load operation. Due to factors such as manufacturing processes, construction techniques, and environmental conditions, insulation aging can occur in various ways. Therefore, cable maintenance personnel need to conduct long-term monitoring of cables to understand the development trend of potential problems, promptly locate serious problems or faults, and thoroughly analyze their types and causes. In existing technologies, cable problems or faults are typically identified by processing the high-frequency current pulse signals acquired by a high-frequency current transformer (HECT).
[0003] In related technologies, fault recording devices are used to process the acquired high-frequency current pulse signals. For example, threshold triggering and short-time recording are commonly used to filter and capture high-frequency fault pulse signals. However, due to the high frequency of the pulse signals, the processing takes time, which may result in some pulse signals being missed or the processed signal being discontinuous. Furthermore, due to limitations in the sampling rate, storage capacity, and wireless communication bandwidth of the recording device, it is difficult to achieve real-time recording. Therefore, the integrity and continuity of the entire traveling wave signal are lost, which is detrimental to subsequent data mining such as accurate fault location and type identification. Summary of the Invention
[0004] Therefore, it is necessary to provide a method for processing cable signals that reduces the amount of data to be processed without affecting signal integrity and continuity, in order to address the aforementioned technical problems.
[0005] In a first aspect, embodiments of this disclosure provide a method for processing cable signals. The method includes:
[0006] Acquire the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals;
[0007] The resolution of the pulse signal is reduced according to a resolution reduction method that matches the amplitude range to obtain a processed pulse signal. The amplitude of the pulse signal is negatively correlated with the degree of resolution reduction.
[0008] In one embodiment, the resolution downsampling processing of the pulse signal includes:
[0009] Set the preset number of bits in the byte data corresponding to the pulse signal to a preset value.
[0010] In one embodiment, setting the preset number of bits in the byte data corresponding to the pulse signal to a preset value includes:
[0011] The low-order data in the byte data corresponding to the pulse signal is set to a preset value, wherein the low-order data includes a preset number of bits forward from the least significant bit.
[0012] In one embodiment, the step of down-regulating the resolution of the pulse signal according to a resolution down-regulation method matching the amplitude range to obtain the processed pulse signal includes:
[0013] If the amplitude of the largest wavelet signal in the pulse signal is within the first amplitude range, obtain the first amplitude of the largest wavelet signal and the second amplitude of the smallest wavelet signal in the pulse signal.
[0014] The time information, first amplitude, and second amplitude of the pulse signal are determined as the pulse signal data after pulse signal processing.
[0015] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0016] If the amplitude of the largest sub-wavelength signal in the pulse signal is located in the second amplitude range, the resolution of the pulse signal for the entire sampling period is reduced.
[0017] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0018] When the amplitude of the largest wavelet signal in the pulse signal is located in the third amplitude range, the first lossless range of the pulse signal is determined. The lossless range is the position from the wavefront to the center of the largest wavelet signal, and the center position is the center of the wavefront and the peak of the largest wavelet signal.
[0019] The resolution of the portion of the pulse signal other than the first lossless interval is reduced.
[0020] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0021] If the amplitude of the largest wavelet signal in the pulse signal is located in the fourth amplitude range, the second lossless range of the pulse signal is determined, and the second lossless range is from the wavefront to the wave tail of the largest wavelet signal.
[0022] The resolution of the portion of the pulse signal other than the second lossless interval is reduced.
[0023] In one embodiment, after the resolution of the pulse signal is down-diminished, the method further includes:
[0024] The data corresponding to the pulse signal after the resolution downsampling process is compressed.
[0025] In one embodiment, after the resolution of the pulse signal is down-diminished, the method further includes:
[0026] The data corresponding to the pulse signal after the resolution reduction process is subjected to Huffman coding compression.
[0027] In one embodiment, the obtained processed pulse signal includes:
[0028] The time information, amplitude of the maximum wavelet, amplitude of the minimum wavelet, waveform length of the wavelet signal, and waveform data of the wavelet signal are determined as the pulse signal data after the pulse signal processing.
[0029] Secondly, embodiments of this disclosure also provide a cable signal processing apparatus. The apparatus includes:
[0030] The acquisition module is used to acquire the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals;
[0031] The processing module is used to reduce the resolution of the pulse signal according to a resolution reduction method that matches the amplitude range, so as to obtain a processed pulse signal, wherein the amplitude of the pulse signal is negatively correlated with the degree of resolution reduction.
[0032] Thirdly, this disclosure also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the cable signal processing method described in any one of the embodiments of this disclosure.
[0033] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the cable signal processing method described in any one of the embodiments of this disclosure.
[0034] Fifthly, this disclosure also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the cable signal processing method described in any one of the embodiments of this disclosure.
[0035] In this embodiment, by acquiring the pulse signal of the cable, and based on the amplitude range of the largest sub-wavelength signal in the pulse signal, different resolution downsampling methods are used to downscale the resolution of the pulse signal without affecting the integrity and continuity of the signal. While satisfying the data analysis for traveling wave positioning and type identification, the amount of data processing is greatly reduced, alleviating the bandwidth pressure on data caching and network transmission. Attached Figure Description
[0036] Figure 1 This is a flowchart illustrating a cable signal processing method in one embodiment;
[0037] Figure 2 This is a schematic diagram of the cable pulse signal distribution in one embodiment;
[0038] Figure 3 This is a schematic diagram of a traveling wave time-domain signal in one embodiment;
[0039] Figure 4 This is a schematic diagram of the cable pulse signal resolution before and after reduction in one embodiment;
[0040] Figure 5 This is a flowchart illustrating a cable signal processing method in one embodiment;
[0041] Figure 6 This is a structural block diagram of a cable signal processing device in one embodiment;
[0042] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the embodiments of this disclosure will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of this disclosure and are not intended to limit the embodiments of this disclosure.
[0044] In one embodiment, such as Figure 1 As shown, a method for processing cable signals is provided. This embodiment illustrates the application of this method to a server. It is understood that this method can also be applied to a server, and further to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0045] Step S101: Obtain the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals;
[0046] In this embodiment, the first step is to acquire the pulse signal of the cable. A fixed sampling period is set, and a signal acquisition instrument is used to acquire the cable's pulse signal according to the sampling period. The pulse signal acquired in one sampling period typically contains multiple wavelet signals. After acquiring the pulse signal for one sampling period, the amplitude of the largest wavelet signal is determined, and the amplitude range of the largest wavelet signal is identified. In one example, four amplitude ranges—a first amplitude range, a second amplitude range, a third amplitude range, and a fourth amplitude range—are set in ascending order of amplitude.
[0047] Figure 2 This is a schematic diagram illustrating a cable pulse signal distribution according to an exemplary embodiment, with reference to... Figure 2 As shown, traveling wave signals are categorized into four levels based on amplitude, from low to high: background noise, weak hazard, moderate hazard, and severe hazard / fault. In the initial stages of cable operation, before insulation aging, the majority of the traveling wave signal consists of background noise, except for external interference. As insulation aging progresses, weak hazard pulse signals increase, eventually developing into moderate or even severe hazard pulse signals, and ultimately, fault pulse signals may appear. Therefore, in most cases, background noise constitutes the largest portion of the entire traveling wave signal, followed by weak hazards, moderate hazards, or severe hazards / faults, with their distribution approximating a pyramid shape. Figure 3 As shown, Figure 3 This is a set of traveling wave time-domain signals with a duration of 200ms, where the horizontal axis represents time in μs and the vertical axis represents amplitude. The sampling rate is 100MHz, the background noise band amplitude is approximately 20, there are a few pulses with amplitudes below 50 or 100, and an even smaller number of four large pulses with amplitudes exceeding 100.
[0048] Step S102: The resolution of the pulse signal is reduced according to a resolution reduction method that matches the amplitude range to obtain a processed pulse signal. The amplitude of the pulse signal is negatively correlated with the degree of resolution reduction.
[0049] In this embodiment of the disclosure, after determining the amplitude range corresponding to the pulse signal, a resolution downsampling method matching the amplitude range is determined. Specifically, the smaller the amplitude of the largest sub-wavelength signal of the pulse signal, the greater the degree of resolution downsampling of the entire pulse waveform. The resolution of the pulse signal is then downsampling according to the determined resolution downsampling method to obtain the resolution-downsized pulse signal.
[0050] In this embodiment, considering that there are many pulse signals with lower amplitude (especially background noise), but the focus of cable monitoring is exactly the opposite, because fewer pulses with higher amplitude generally indicate a higher severity of the hazard. Therefore, only the approximate amplitude range of background noise needs to be obtained; the harm caused by weak hazard pulses is relatively minor, and only a rough pulse waveform needs to be obtained to monitor its development trend, without further analysis such as location; moderate hazards require more attention and even location analysis, and basic wavefront information and approximate wave crest contours should be preserved; while serious hazards / faults require the most focused monitoring, and complete pulse waveform details should be preserved as much as possible, including undamaged wave crest curves, for further location analysis and type identification. Therefore, in this embodiment, a negative correlation is established between the amplitude of the pulse signal and the degree of resolution reduction.
[0051] In this embodiment, by acquiring the pulse signal of the cable, and based on the amplitude range of the largest sub-wavelength signal in the pulse signal, different resolution downsampling methods are used to downscale the resolution of the pulse signal without affecting the integrity and continuity of the signal. While satisfying the data analysis for traveling wave positioning and type identification, the amount of data processing is greatly reduced, alleviating the bandwidth pressure on data caching and network transmission.
[0052] In one embodiment, the resolution downsampling processing of the pulse signal includes:
[0053] Set the preset number of bits in the byte data corresponding to the pulse signal to a preset value.
[0054] In this embodiment of the disclosure, since pulse signal information is typically stored and transmitted in the form of data, reducing the resolution of the pulse signal usually involves processing the byte data storing the pulse signal. During resolution reduction processing, the number of bits to be adjusted is first determined, and then the number of bits to be adjusted in all bytes of data is adjusted to a preset value. The number of bits to be adjusted can be one or more bits; it can be the least significant bit or other bits selected based on the actual situation. Then, the number of bits to be adjusted in all bytes is adjusted to the preset value. In one example, this preset value is typically a smaller number in the radix corresponding to the byte data.
[0055] In this embodiment of the disclosure, by setting a preset number of bits in the byte data corresponding to the pulse signal to a preset value, the resolution of the pulse signal can be reduced.
[0056] In one embodiment, setting the preset number of bits in the byte data corresponding to the pulse signal to a preset value includes:
[0057] The low-order data in the byte data corresponding to the pulse signal is set to a preset value, wherein the low-order data includes a preset number of bits forward from the least significant bit.
[0058] In this embodiment of the disclosure, when downscaling the resolution of a pulse signal, the least significant bit in the byte data corresponding to the pulse signal is determined as the number of bits to be adjusted, where the least significant bit is the number of bits counted backwards from the least significant bit in the byte data. A preset value is set for the least significant bit data in all bytes. The number of bits to be adjusted can be one or more. Then, the least significant bit data in all bytes is adjusted to the preset value. In one example, this preset value is typically a smaller number in the radix corresponding to the byte data.
[0059] In one example, the amplitude resolution of a pulse signal is reduced. Amplitude resolution refers to the effective bytes storing the amplitude. Typically, two bytes are used. When both bytes (16 bits) are fully valid, the resolution level is 16, and the resolution is 1. When reduced to level 15, the lowest bit is set to zero, resulting in a resolution of 2. This continues until the amplitude resolution level is n, where the lower (16-n) bits are set to zero, resulting in a resolution of 2. 16-n The downgrade formula is: y=y'&(~((1<<(16-n))-1)), where y' is the original amplitude and y is the downgraded amplitude.
[0060] In this embodiment of the disclosure, by setting the low-order data in the pulse signal to a preset value, the overall trend and shape of the pulse signal can be maintained without changing the resolution, thus achieving a better effect of reducing the resolution of the pulse signal.
[0061] In one embodiment, the step of down-regulating the resolution of the pulse signal according to a resolution down-regulation method matching the amplitude range to obtain a processed pulse signal includes:
[0062] If the amplitude of the largest wavelet signal in the pulse signal is within the first amplitude range, obtain the first amplitude of the largest wavelet signal and the second amplitude of the smallest wavelet signal in the pulse signal.
[0063] The time information, first amplitude, and second amplitude of the pulse signal are determined as the pulse signal data after pulse signal processing.
[0064] In this embodiment of the disclosure, when the amplitude of the largest wavelet signal in the pulse signal is within a preset first amplitude range, the amplitudes of all wavelet signals in the pulse signal are relatively small, and therefore the pulse signal can be regarded as background noise. Since the background noise contains little effective information in subsequent processing, the time information, the amplitude of the largest wavelet, and the amplitude of the smallest wavelet in the pulse signal are obtained, and the time information, the amplitude of the largest wavelet, and the amplitude of the smallest wavelet are used as the pulse signal data output after the pulse signal processing is completed.
[0065] In this embodiment, when the amplitude corresponding to the largest wavelet signal of a pulse signal is within a preset first amplitude range, the amplitude of the largest wavelet, the amplitude of the smallest wavelet, and the time information of the pulse signal are directly acquired as the pulse signal data output after the pulse signal is finally processed. This embodiment can acquire some key data of the pulse signal as the processed pulse signal data when the pulse signal corresponds to the first amplitude range, i.e., when the pulse signal is background noise. This reduces the transmission of unimportant data and greatly alleviates the bandwidth pressure on data caching and network transmission.
[0066] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0067] If the amplitude of the largest sub-wavelength signal in the pulse signal is located in the second amplitude range, the resolution of the pulse signal for the entire sampling period is reduced.
[0068] In this embodiment, when the amplitude of the largest wavelet signal in the pulse signal is within a preset second amplitude range, the pulse signal contains small fluctuations exceeding the background noise. At this point, there may be a minor hidden danger in the cable line, and therefore the pulse signal can be considered a minor hidden danger signal. At this time, it is necessary to retain the basic signal data, but not all detailed information. Therefore, the resolution of all wavelets contained in the pulse signal throughout the entire sampling period is down-diminished to obtain the down-diminished pulse signal.
[0069] In this embodiment, when the amplitude corresponding to the largest wavelet signal of the pulse signal is within a preset second amplitude range, the resolution of all wavelets in the pulse signal within the entire sampling period is downgraded to obtain a pulse signal with downgraded resolution. This embodiment can downgrade the resolution of the pulse signal when it corresponds to the second amplitude range, i.e., when the pulse signal is a weak or potentially dangerous signal. The downgraded pulse signal is then used as the processed pulse signal data. This reduces data transmission and alleviates bandwidth pressure on data buffering and network transmission without altering the fundamental information of the pulse signal.
[0070] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0071] When the amplitude of the largest wavelet signal in the pulse signal is located in the third amplitude range, the first lossless range of the pulse signal is determined. The lossless range is the position from the wavefront to the center of the largest wavelet signal, and the center position is the center of the wavefront and the peak of the largest wavelet signal.
[0072] The resolution of the portion of the pulse signal other than the first lossless interval is reduced.
[0073] In this embodiment of the disclosure, when the amplitude of the largest wavelet signal in the pulse signal is located in a preset third amplitude range, the pulse signal contains fluctuations that are slightly larger than the background noise. At this time, there may be a moderate hidden danger in the cable line, so the pulse signal can be regarded as a moderate hidden danger signal. It is necessary to retain the location data and basic waveform data of this moderate hidden danger signal. Therefore, the position from the wavefront of the largest wavelet to half the peak of the rising edge is set as the lossless range. The portion of the pulse signal outside the lossless range is then processed to reduce the resolution, resulting in a pulse signal with reduced resolution.
[0074] In this embodiment, when the amplitude corresponding to the largest wavelet signal of the pulse signal is located within a preset third amplitude range, a lossless range is set, and the resolution of the portion of the pulse signal outside the lossless range is reduced to obtain a pulse signal with reduced resolution. This embodiment can reduce the resolution of the portion of the pulse signal outside the preset lossless range when the pulse signal corresponds to the third amplitude range, i.e., when the pulse signal is a moderately problematic signal. The reduced-resolution pulse signal is used as the processed pulse signal data, preserving the location information and approximate waveform information of the problematic signal. This is beneficial for subsequent hazard location and detailed analysis, while also reducing data transmission and alleviating the bandwidth pressure on data caching and network transmission.
[0075] In one embodiment, the step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes:
[0076] If the amplitude of the largest wavelet signal in the pulse signal is located in the fourth amplitude range, the second lossless range of the pulse signal is determined, and the second lossless range is from the wavefront to the wave tail of the largest wavelet signal.
[0077] The resolution of the portion of the pulse signal other than the second lossless interval is reduced.
[0078] In this embodiment of the disclosure, when the amplitude of the largest wavelet signal in the pulse signal is located in a preset fourth amplitude range, the pulse signal contains significant fluctuations exceeding the background noise. At this point, there may be a serious hidden danger or a fault in the cable line, and therefore the pulse signal can be considered a serious hidden danger / fault signal. Since it is necessary to retain as much detailed information as possible about this serious hidden danger / fault signal, the area from the wavefront to the tail of the largest wavelet is designated as the lossless range. The portion of the pulse signal outside this lossless range is then processed to reduce its resolution, resulting in a pulse signal with reduced resolution.
[0079] In this embodiment, when the amplitude corresponding to the largest wavelet signal of a pulse signal is located within a preset fourth amplitude range, a lossless range is set, and the resolution of the portion of the pulse signal outside the lossless range is reduced to obtain a pulse signal with reduced resolution. This embodiment can reduce the resolution of the portion of the pulse signal outside the preset lossless range when the pulse signal corresponds to the fourth amplitude range, i.e., when the pulse signal is a serious hidden danger / fault signal. The reduced pulse signal is used as the processed pulse signal data, preserving the entire waveform detail information of the hidden danger signal. This is beneficial for subsequent hidden danger location and specific analysis, while reducing data transmission and alleviating the bandwidth pressure on data caching and network transmission.
[0080] Figure 4 This is a schematic diagram illustrating the pulse signal resolution before and after reduction according to an exemplary embodiment, with reference to... Figure 4 As shown, the vertical axis represents amplitude, and the horizontal axis represents time, with units of μs. The resolution of the original pulse signal is reduced to 14. The upper curve represents the original pulse waveform, and the lower curve represents the waveform after the amplitude resolution reduction. It can be seen that only the main peak waveform of the pulse remains intact. The position of the wavefront, which is of interest in the localization analysis, is completely unaffected, and the pulse peak shape, which is of interest in the type identification, is also unaffected.
[0081] In one embodiment, after the resolution of the pulse signal is down-adjusted, the method further includes:
[0082] The data corresponding to the pulse signal after the resolution downsampling process is compressed.
[0083] In this embodiment of the disclosure, after reducing the resolution of the pulse signal, the pulse signal data within the entire sampling period after the resolution reduction process is further compressed.
[0084] In this embodiment of the disclosure, after data compression processing of the processed pulse signal, the amount of data processing is further reduced, alleviating the bandwidth pressure on data caching and network transmission.
[0085] In one embodiment, after the resolution of the pulse signal is down-adjusted, the method further includes:
[0086] The data corresponding to the pulse signal after the resolution reduction process is subjected to Huffman coding compression.
[0087] Among them, the Huffman coding method constructs the shortest codeword with the lowest average length based entirely on the probability of character occurrence. The main idea of the Huffman compression algorithm is to use fewer bits to represent characters that occur more frequently and more bits to represent characters that occur less frequently.
[0088] In this embodiment of the disclosure, after reducing the resolution of the pulse signal, the pulse signal data within the entire sampling period after the resolution reduction is further compressed. The compression process employs Huffman coding compression.
[0089] In this embodiment, the improved compression ratio of Huffman coding relies on the repetitive characters and their frequency in the metadata. Since the resolution is downgraded when processing pulse signals, the probability of data repetition in the byte data of the pulse signal is increased. Furthermore, considering the high-frequency response characteristics of traveling wave pulses, their peak width is mostly in the microsecond range, accounting for a small proportion of the entire pulse duration, and the area outside the peak is mostly below the background noise amplitude. Therefore, the compression ratio of the pulse waveform can be significantly improved by downgrading the amplitude resolution.
[0090] In one example, as shown in Table 1, for Figure 4 The original signal and the processed signal, after compression, have data sizes of 6419B and 1708B, respectively. Obviously, the compression ratio of the processed pulse signal is much higher than that of direct compression.
[0091]
[0092] Table 1
[0093] In another example, as shown in Table 2, for Figure 3 The signal data shown was processed and three levels of hazard pulse trigger thresholds of 20 / 50 / 100 were set, resulting in 132 weak hazard pulses, 6 medium hazard pulses, and 4 severe hazard pulses. The compression rate was below 9% for all of them. The remaining 1858 background noise data accounted for 92.9% of the total data. Including the timestamp (8 bytes) and extreme values (4 bytes) in the appendix, a very high compression rate can be obtained overall.
[0094]
[0095] Table 2
[0096] In one embodiment, the obtained processed pulse signal includes:
[0097] The time information, amplitude of the maximum wavelet, amplitude of the minimum wavelet, waveform length of the wavelet signal, and waveform data of the wavelet signal are determined as the pulse signal data after the pulse signal processing.
[0098] In this embodiment of the disclosure, after obtaining the processed pulse signal, the time information, the amplitude of the maximum wavelet, the amplitude of the minimum wavelet, the waveform length of the wavelet signal, and the waveform data of the wavelet signal in the processed pulse signal are determined as the pulse signal data after processing the pulse signal.
[0099] In this embodiment of the disclosure, after processing the pulse signal, the time information, amplitude of the maximum wavelet, amplitude of the minimum wavelet, waveform length of the wavelet signal, and waveform data of the wavelet signal in the processed pulse signal are determined as the pulse signal data after the pulse signal processing. This can ensure that as much effective information as possible is obtained, which is beneficial to subsequent data analysis and processing.
[0100] Figure 5 This is a schematic flowchart illustrating a cable signal processing method according to an exemplary embodiment, with reference to... Figure 5As shown, the three-level hazard trigger thresholds th0 / th1 / th2 are set, the pulse duration is 0.1ms, and the amplitude word length is 2 bytes. In one example, the trigger thresholds th0, th1, and th2 can be set to 20, th1 to 50, and th2 to 100. They are processed as follows: (1) Absolute amplitude ∈ [0, th0): Take the background noise signal, and obtain the minimum value min and maximum value max during the acquisition process. Add a timestamp t, and the data composition is Bg = {t, min, max}; (2) Absolute amplitude ∈ [th0, th1): Take the weak hazard pulse signal, reduce its amplitude resolution, and then perform Huffman compression to obtain compressed waveform data wz. Add a timestamp t, and the data composition is Pulse = {t, min, max, wz_len, wz}, where wz_len is the waveform length and wz is the waveform data; (3) Absolute amplitude ∈ [th1, th2): Take the medium hazard pulse signal, traverse to obtain the position of the wave head and the half peak height of the rising edge, and set it as the lossless interval. The amplitude outside the lossless interval is downgraded in resolution, while the amplitude within the interval is retained in its original value. Huffman compression is also performed, and the data composition is Pulse={t,min,max,wz_len,wz}, where wz_len is the waveform length and wz is the waveform data; (4) Absolute amplitude ∈ [th2,∞): take it as a serious hidden danger / fault pulse signal, traverse to obtain the position of the wave head and wave tail, and set it as the lossless interval. The amplitude outside the lossless interval is downgraded in resolution, while the amplitude within the interval is retained in its original value. Huffman compression is also performed, and the data composition is Pulse={t,min,max,wz_len,wz}, where wz_len is the waveform length and wz is the waveform data. At the start of the process, parameters are first set. In this example, the parameters are set as follows: sampling rate of 100MHz, acquisition duration of 0.1ms, trigger threshold of th0 / th1 / th2, and amplitude resolution level of n. Then, pulse signals are acquired through a signal acquisition device. After acquiring the pulse signals, the interval to which each pulse signal belongs is determined according to the set trigger threshold, and the pulse signals are marked. The pulse signals are then processed according to the above processing method, and the processed pulse signal data is output.
[0101] It should be understood that although the steps in the flowcharts in the accompanying drawings are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the accompanying drawings may include multiple steps or stages, which are not necessarily completed at the same time, but may be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but may be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0102] Based on the same inventive concept, this disclosure also provides a cable signal processing apparatus for implementing the cable signal processing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations of one or more cable signal processing apparatus embodiments provided below can be found in the limitations of the cable signal processing method described above, and will not be repeated here.
[0103] In one embodiment, such as Figure 6 As shown, a cable signal processing apparatus is provided, the apparatus comprising:
[0104] The acquisition module is used to acquire the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals;
[0105] The processing module is used to reduce the resolution of the pulse signal according to a resolution reduction method that matches the amplitude range, so as to obtain a processed pulse signal, wherein the amplitude of the pulse signal is negatively correlated with the degree of resolution reduction.
[0106] Each module in the aforementioned cable signal processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware within or independently of the processor in a computer device, or stored in software within the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.
[0107] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores pulse signal data of the cable. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for processing cable signals.
[0108] Those skilled in the art will understand that Figure 7 The structures shown are merely block diagrams of some structures related to the embodiments of this disclosure and do not constitute a limitation on the computer devices on which the embodiments of this disclosure are applied. Specific computer devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.
[0109] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0110] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0111] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0112] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0113] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this disclosure can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this disclosure may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this disclosure may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0114] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0115] The above-described embodiments are merely illustrative of several implementation methods of the present disclosure, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the patent for the embodiments of the present disclosure. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the embodiments of the present disclosure, and these all fall within the protection scope of the embodiments of the present disclosure. Therefore, the protection scope of the embodiments of the present disclosure should be determined by the appended claims.
Claims
1. A method for processing cable signals, characterized in that, The method includes: Acquire the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals; The resolution of the pulse signal is down-adjusted according to a resolution down-adjustment method that matches the amplitude range to obtain a processed pulse signal. The amplitude of the pulse signal is negatively correlated with the degree of resolution down-adjustment. The step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes: When the amplitude of the largest wavelet signal in the pulse signal is located in the third amplitude range, the first lossless range of the pulse signal is determined. The first lossless range is the position from the wavefront to the center of the largest wavelet signal. The center position is the center of the wavefront and the peak of the largest wavelet signal. The center of the peak is the position of the half-peak height of the rising edge. The resolution of the portion of the pulse signal other than the first lossless interval is reduced. If the amplitude of the largest wavelet signal in the pulse signal is located in the fourth amplitude range, the second lossless range of the pulse signal is determined, and the second lossless range is from the wavefront to the wave tail of the largest wavelet signal. The resolution of the portion of the pulse signal other than the second lossless interval is reduced.
2. The method according to claim 1, characterized in that, The resolution downscaling process for the pulse signal includes: Set the preset number of bits in the byte data corresponding to the pulse signal to a preset value.
3. The method according to claim 2, characterized in that, Setting the preset number of bits in the byte data corresponding to the pulse signal to a preset value includes: The low-order data in the byte data corresponding to the pulse signal is set to a preset value, wherein the low-order data includes a preset number of bits forward from the least significant bit.
4. The method according to claim 1, characterized in that, The step of down-regulating the resolution of the pulse signal according to a resolution down-regulation method matching the amplitude range to obtain the processed pulse signal includes: If the amplitude of the largest wavelet signal in the pulse signal is within the first amplitude range, obtain the first amplitude of the largest wavelet signal and the second amplitude of the smallest wavelet signal in the pulse signal. The time information, first amplitude, and second amplitude of the pulse signal are determined as the pulse signal data after pulse signal processing.
5. The method according to claim 1, characterized in that, The step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes: If the amplitude of the largest sub-wavelength signal in the pulse signal is located in the second amplitude range, the resolution of the pulse signal for the entire sampling period is reduced.
6. The method according to claim 1, characterized in that, Following the down-resolution processing of the pulse signal, the method further includes: The data corresponding to the pulse signal after resolution downsampling is compressed.
7. The method according to claim 2, characterized in that, Following the down-resolution processing of the pulse signal, the method further includes: The data corresponding to the pulse signal after resolution downsampling is compressed using Huffman coding.
8. The method according to any one of claims 5-7, characterized in that, The processed pulse signal includes: The time information, amplitude of the maximum wavelet, amplitude of the minimum wavelet, waveform length of the wavelet signal, and waveform data of the wavelet signal are determined as the pulse signal data after the pulse signal processing.
9. A cable signal processing device, characterized in that, The device includes: The acquisition module is used to acquire the pulse signal of the cable and the amplitude range of the largest sub-wavelength signal in the pulse signal, wherein the pulse signal includes multiple sub-wavelength signals; The processing module is used to reduce the resolution of the pulse signal according to a resolution reduction method that matches the amplitude range, so as to obtain a processed pulse signal, wherein the amplitude of the pulse signal is negatively correlated with the degree of resolution reduction. The step of reducing the resolution of the pulse signal according to a resolution reduction method matching the amplitude range includes: When the amplitude of the largest wavelet signal in the pulse signal is located in the third amplitude range, the first lossless range of the pulse signal is determined. The first lossless range is the position from the wavefront to the center of the largest wavelet signal. The center position is the center of the wavefront and the peak of the largest wavelet signal. The center of the peak is the position of the half-peak height of the rising edge. The resolution of the portion of the pulse signal other than the first lossless interval is reduced. If the amplitude of the largest wavelet signal in the pulse signal is located in the fourth amplitude range, the second lossless range of the pulse signal is determined, and the second lossless range is from the wavefront to the wave tail of the largest wavelet signal. The resolution of the portion of the pulse signal other than the second lossless interval is reduced.
10. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the cable signal processing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Frequency spectrum compression method based on spectral line importance
CN105021274A
Neural network quantitative training method based on data high-order sparsity
CN112465125A
Switch cabinet partial discharge detection method based on indoor intelligent inspection robot
CN113484700A