A partial discharge detection map data compression and decompression method and system

By dividing the power frequency cycle into multiple phase windows and representing the amplitude in logarithmic form, the problem of large data storage space for partial discharge spectrum is solved, achieving effective compression of data storage space and reduction of hardware cost.

CN115712041BActive Publication Date: 2026-05-12ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY
Filing Date
2022-11-24
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, partial discharge spectrum data occupies a large amount of storage space, resulting in high hardware costs and hindering large-scale application.

Method used

The power frequency cycle is divided into multiple phase windows, the amplitude is represented in logarithmic form, 1 bit is used to indicate whether the data following the amplitude data is the amplitude or the number of intervals, the number of pulse intervals is used instead of the number of cycles, and the data is compressed and decompressed.

Benefits of technology

有效减少了PRPS数据存储空间,节省了存储空间为原来的70%或更少,降低了硬件成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115712041B_ABST
    Figure CN115712041B_ABST
Patent Text Reader

Abstract

The application provides a partial discharge detection pattern data compression and decompression method and system, which comprises the following steps: obtaining a partial discharge pulse pattern, wherein the partial discharge pulse pattern comprises a plurality of pulse signals; during compression, one power frequency cycle is divided into a plurality of phase windows, the amplitude is represented in a logarithmic form, 7 bit positions are occupied, 1 bit position is used to represent whether the data after the amplitude data is the amplitude or the interval number, the interval number is used to replace the cycle number, and 8 bit positions are occupied; during decompression, the opposite idea is adopted to obtain decompression data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of partial discharge monitoring technology for power equipment, and particularly relates to a method and system for compressing and decompressing partial discharge detection spectrum data. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Partial discharge spectrum refers to a spectrum that records the intensity and phase of a partial discharge signal over a certain period of time, i.e., a spectrum of discharge pulse amplitude and phase. It focuses on describing the relationship between the intensity and phase of the discharge signal and is usually recorded and visualized using PRPS (phase-resolved pulse sequence) spectrum or PRPD (phase-resolved partial discharge) spectrum.

[0004] The PRPS spectrum displays each partial discharge pulse with a phase identifier in chronological order, generally based on its cycle number. The PRPD spectrum is a two-dimensional phase-amplitude scatter plot, while the PRPS spectrum is a three-dimensional graph of power frequency phase (X-axis), power frequency cycle number (Y-axis), and signal amplitude (Z-axis). Therefore, recording each discharge pulse requires three parameters: phase, cycle number, and amplitude. If each parameter is quantized to 1 byte, each discharge pulse requires 3 bytes, which consumes a lot of storage space and increases the hardware cost of the corresponding online partial discharge monitoring device, hindering its large-scale application. Summary of the Invention

[0005] To overcome the shortcomings of the prior art, the present invention provides a method for compressing and decompressing partial discharge detection spectrum data, which reduces the storage of pulse information from 3 bytes to only 1-2 bytes.

[0006] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0007] In the first aspect, a method for compressing and decompressing partial discharge detection spectrum data is disclosed, including:

[0008] Acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum contains multiple pulse signals;

[0009] During compression, one power frequency cycle is divided into multiple phase intervals. The amplitude is represented in logarithmic form, occupying 7 bits. One bit is used to indicate whether the data following the amplitude data is the amplitude or the number of intervals. The number of phase intervals is used instead of the number of cycles, occupying 8 bits.

[0010] The decompression process follows the reverse approach to obtain the decompressed data.

[0011] Secondly, a system for compressing and decompressing partial discharge detection spectrum data is disclosed, comprising:

[0012] The data acquisition module is configured to acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum contains multiple pulse signals;

[0013] The compression module is configured to: during compression, divide one power frequency cycle into multiple phase windows, represent the amplitude in logarithmic form, occupy 7 bits, use 1 bit to indicate whether the data following the amplitude data is the amplitude or the number of intervals, and use the number of pulse intervals instead of the number of cycles, occupying 8 bits.

[0014] The decompression module is configured to perform decompression in the reverse manner as compression to obtain decompressed data.

[0015] The above one or more technical solutions have the following beneficial effects:

[0016] This invention divides a power frequency cycle into 256 phase windows. The amplitude is represented in logarithmic form, ranging from 0 to 127, occupying 7 bits. One bit is used to indicate whether the data following the amplitude data is the amplitude or the interval number. The number of pulse intervals is used instead of the number of cycles, occupying 8 bits, which can reduce the space occupied by PRPS data storage to 70% or less of the original.

[0017] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0018] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0019] Figure 1 This is a flowchart of a method according to an embodiment of the present invention; Detailed Implementation

[0020] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0021] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations of the present invention.

[0022] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0023] Example 1

[0024] This embodiment discloses a method for compressing and decompressing partial discharge detection spectrum data, including:

[0025] Partial discharge detection spectrum data

[0026] One power frequency cycle is divided into 256 phase windows. The amplitude is represented in logarithmic form, ranging from 0 to 127, occupying 7 bits. One bit is used to indicate whether the data following the amplitude data is the amplitude or the interval number. The pulse interval number is used instead of the cycle number, occupying 8 bits. See Tables 1 and 2 for details.

[0027] Table 1

[0028]

[0029] Table 2

[0030]

[0031] This invention can compress the original 3 bytes required to store one pulse information to only 1-2 bytes.

[0032] See appendix Figure 1 As shown, in order to achieve compression and decompression of partial discharge detection spectrum data, the following steps are included:

[0033] Acquire PRPS spectrum pulse information data, including phase, number of cycles, and amplitude;

[0034] Take the information of the first pulse: phase Ph0, number of cycles Cyc0, and amplitude Amp0.

[0035] Calculate the phase interval DPh0 of the 0th cycle from the 0th phase.

[0036] The first pulse compressed data is generated. If DPh0! = 0, then the amplitude is Amp0, and there is no phase interval.

[0037] Take the information of the Nth pulse: phase PhN, number of cycles CycN, and amplitude AmpN;

[0038] Calculate the phase interval DPhN from the previous (N-1)th pulse;

[0039] Generate the compressed data of the Nth pulse. If DPh0! = 0, then the amplitude is AmpN+128 and the phase interval is DPhN.

[0040] If DPh0 = 0, then the amplitude is AmpN, and there is no phase interval.

[0041] Specific implementation examples are as follows:

[0042] There are the following 4 partial discharge pulses:

[0043] The first pulse: the 0th phase window, the 0th cycle number, and the pulse amplitude is 10;

[0044] The second pulse: the 100th phase window, the 0th cycle number, pulse amplitude 20;

[0045] The 3rd pulse: 0th phase window, 1st cycle number, pulse amplitude 11;

[0046] The 4th pulse: the 100th phase window, the 1st cycle number, pulse amplitude 21;

[0047] The original PRPS stored data as 0,0,10,100,0,20,0,1,11,100,1,21; requiring a total of 12 bytes of space.

[0048] The data compressed and stored using the method of this invention is 10,148,100,139,156,149,100; it only occupies 7 bytes of space.

[0049] Description of compression calculation method:

[0050] The first pulse is in window 0. Since the interval between the first pulse and the starting window 0 cycles is 0, the amplitude is recorded directly. Therefore, the data for the first pulse is 10.

[0051] The second pulse is in the 100th window and the 0th cycle number. Its distance from the previous pulse position in the 0th window and the 0th cycle number is 100-0=100. Since the interval number is not 0, the highest bit of the amplitude needs to be set to 1, that is, stored as 128+20=148. That is, the data of the second pulse is 148,100.

[0052] The third pulse is in window 0, and its distance from the previous pulse position is window 100 in the first cycle number. The interval of the 0th cycle number is 0 + 1 cycle number x 256 - 100 = 156. Since the interval number is not 0, the highest bit of the amplitude needs to be set to 1, that is, stored as 128 + 11 = 139. That is, the data of the third pulse is 139, 156.

[0053] The 4th pulse is in window 100. In the first cycle, its distance from the previous pulse position is window 0. The interval of the first cycle is 100 + 1 cycle number x 256 - 0 - 1 cycle number x 256 = 100. Since the interval is not 0, the highest bit of the amplitude needs to be set to 1, that is, stored as 128 + 21 = 149. That is, the data of the 4th pulse is 149, 100.

[0054] The above method can save storage space. For example, a hard drive that could originally only store 10 files can now store 13 files using this algorithm.

[0055] Conversely, the decompression algorithm for the compressed data of this invention is described as follows:

[0056] First, take the first data 10. Its highest bit is 0, which means that the interval from the starting 0 window 0 cycles is 0, that is, the current pulse amplitude is 10. So the data of the first pulse is 0,0,10.

[0057] Since the highest bit of the previous data is 0, it means that the next data is amplitude data. That is, take data 148, the amplitude is 20, and its highest bit is 1, which means that the interval between the 0th window and the 0th cycle number of the previous pulse position is 100 in the next data, that is, the interval number of cycles is 100. That is, the second pulse is in the 0+100=100 window, the 0th cycle number. Therefore, the data of the second pulse is 100,0,20.

[0058] Next, take data 139, with an amplitude of 11. Its highest bit is 1, which means that the interval between the 0th cycle of the 100th window of the previous pulse position and the next data, i.e., the interval cycle number, is 156. That is, the 3rd pulse is in the 100+156=256th window, the 0th cycle. Since the 256th window is equal to the cycle number plus 1 window minus 256, the data of the 3rd pulse is 0, 1, 11.

[0059] Next, take data 149, with an amplitude of 21. Its highest bit is 1, which means that the interval between the 0th window and the 1st cycle of the previous pulse position is 100. That is, the 4th pulse is in the 0+100=100th window, the 1st cycle. So the data of the 4th pulse is 100, 1, 21.

[0060] This method can reduce the storage space occupied by PRPS data to 70% or less of the original size.

[0061] Example 2

[0062] The purpose of this embodiment is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method.

[0063] Example 3

[0064] The purpose of this embodiment is to provide a computer-readable storage medium.

[0065] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the above method.

[0066] Example 4

[0067] The purpose of this embodiment is to provide a system for compressing and decompressing partial discharge detection spectrum data, including:

[0068] The data acquisition module is configured to acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum contains multiple pulse signals;

[0069] The compression module is configured to: during compression, divide one power frequency cycle into multiple phase windows, represent the amplitude in logarithmic form, occupy 7 bits, use 1 bit to indicate whether the data following the amplitude data is the amplitude or the number of intervals, and use the number of pulse intervals instead of the number of cycles, occupying 8 bits.

[0070] The decompression module is configured to perform decompression in the reverse manner as compression to obtain decompressed data.

[0071] The steps and methods involved in the apparatuses of Embodiments 2, 3, and 4 above correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.

[0072] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.

[0073] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for compressing and decompressing partial discharge detection spectrum data, characterized in that, include: Acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum contains multiple pulse signals; During compression, one power frequency cycle is divided into multiple phase windows. The amplitude is represented in logarithmic form, occupying 7 bits. One bit is used to indicate whether the data following the amplitude data is the amplitude or the number of intervals. The number of pulse intervals is used instead of the number of cycles, occupying 8 bits. The decompression process follows the reverse logic of compression to obtain the decompressed data. Acquire PRPS spectrum pulse information data, including phase, number of cycles, and amplitude; Take the information of the first pulse: phase Ph0, number of cycles Cyc0, and amplitude Amp0. Calculate the phase interval DPh0 of the 0th cycle from the 0th phase. The first pulse compressed data is generated. If DPh0! = 0, then the amplitude is Amp0, and there is no phase interval. Take the information of the Nth pulse: phase PhN, number of cycles CycN, and amplitude AmpN; Calculate the phase interval DPhN from the previous (N-1)th pulse; Generate the compressed data of the Nth pulse. If DPh0! = 0, then the amplitude is AmpN+128 and the number of phase intervals is DPhN. If DPh0=0, then the amplitude is AmpN, and there is no phase interval.

2. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 1, characterized in that, If it contains 4 pulse signals: The first pulse: the 0th phase window, the 0th cycle number, and the pulse amplitude is 10; The second pulse: the 100th phase window, the 0th cycle number, pulse amplitude 20; The 3rd pulse: 0th phase window, 1st cycle number, pulse amplitude 11; The 4th pulse: the 100th phase window, the 1st cycle number, and the pulse amplitude is 21.

3. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 2, characterized in that, The first pulse is in window 0. If the interval between the first pulse and the first pulse in window 0 and the first pulse in window 0 is 0, then the amplitude is recorded directly. The data for the first pulse is 10.

4. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 3, characterized in that, the first... The interval between the two pulses in the 100th window and the 0th cycle number is 100-0=100. Since the interval number is not 0, the highest bit of the amplitude needs to be set to 1, that is, stored as 128+20=148. That is, the data of the second pulse is 148,100.

5. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 4, characterized in that, The third pulse is in window 0. In the first cycle, it is 100 windows away from the position of the previous pulse. The interval of the 0th cycle is 0 + 1 cycle number x 256 - 100 = 156. Since the interval is not 0, the highest bit of the amplitude needs to be set to 1, which means it is stored as 128 + 11 = 139. Therefore, the data of the third pulse is 139, 156.

6. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 5, characterized in that, The 4th pulse is in window 100. In the first cycle, its distance from the previous pulse position is window 0. The interval of the first cycle is 100 + 1 cycle number x 256 - 0 - 1 cycle number x 256 = 100. Since the interval is not 0, the highest bit of the amplitude needs to be set to 1, that is, stored as 128 + 21 = 149. That is, the data of the 4th pulse is 149, 100.

7. The method for compressing and decompressing partial discharge detection spectrum data as described in claim 6, characterized in that, Data decompression: The first data is 10, and its highest bit is 0, which means that the interval from the starting 0 window 0 cycles is 0, that is, the current pulse amplitude is 10. The data of the first pulse is 0,0,10. Since the highest bit of the previous data is 0, it means that the next data is amplitude data. That is, take data 148, the amplitude is 20, and its highest bit is 1, which means that the interval between the 0th window and the 0th cycle number of the previous pulse position is 100 in the next data, that is, the interval number of cycles is 100. That is, the second pulse is in the 0+100=100 window and the 0th cycle number. Therefore, the data of the second pulse is 100,0,20. Next, take data 139, with an amplitude of 11. Its highest bit is 1, which means that the interval between the 0th cycle of the 100th window of the previous pulse position and the next data, i.e., the interval cycle number, is 156. That is, the 3rd pulse is in the 100+156=256th window, the 0th cycle. Since the 256th window is equal to the cycle number plus 1 window minus 256, the data of the 3rd pulse is 0, 1, 11. Next, take data 149, with an amplitude of 21. Its highest bit is 1, which means that the interval between the first cycle of the 0th window of the previous pulse position and the next data is 100. That is, the 4th pulse is in the 0+100=100th window, the first cycle. So the data of the 4th pulse is 100, 1, 21.

8. A system for compressing and decompressing partial discharge detection spectrum data, characterized in that, include: The data acquisition module is configured to acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum contains multiple pulse signals; The compression module is configured to: during compression, divide one power frequency cycle into multiple phase windows, represent the amplitude in logarithmic form, occupy 7 bits, use 1 bit to indicate whether the data following the amplitude data is the amplitude or the number of intervals, and use the number of pulse intervals instead of the number of cycles, occupying 8 bits. The decompression module is configured to perform decompression in the reverse manner as compression to obtain the decompressed data; Acquire PRPS spectrum pulse information data, including phase, number of cycles, and amplitude; Take the information of the first pulse: phase Ph0, number of cycles Cyc0, and amplitude Amp0. Calculate the phase interval DPh0 of the 0th cycle from the 0th phase. The first pulse compressed data is generated. If DPh0! = 0, then the amplitude is Amp0, and there is no phase interval. Take the information of the Nth pulse: phase PhN, number of cycles CycN, and amplitude AmpN; Calculate the phase interval DPhN from the previous (N-1)th pulse; Generate the compressed data of the Nth pulse. If DPh0! = 0, then the amplitude is AmpN+128 and the number of phase intervals is DPhN. If DPh0=0, then the amplitude is AmpN, and there is no phase interval.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it performs the steps of the method described in any of claims 1-7 above.