Search

CN-115712041-B - Partial discharge detection map data compression and decompression method and system

CN115712041BCN 115712041 BCN115712041 BCN 115712041BCN-115712041-B

Abstract

The invention provides a data compression and decompression method and system for a partial discharge detection spectrum, which comprise the steps of obtaining a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum comprises a plurality of pulse signals, during compression, dividing a power frequency period into a plurality of phase windows, representing amplitude values in a logarithmic form, occupying 7 bits, representing whether the data of amplitude value data follow-up is amplitude values or interval numbers by using 1bit, replacing the cycle number by using the pulse interval numbers, occupying 8 bits, and obtaining decompressed data by adopting the opposite thought to the compression during decompression.

Inventors

  • LIU MENG
  • LI SUN
  • QIAO MU
  • SUN YIWEI
  • PAN XIANGHUA
  • WANG JIAN
  • ZHU WENBING
  • GU CHAO
  • YANG DAI
  • DU XIUMING
  • LIN YING
  • ZHENG WENJIE
  • QIN JIAFENG
  • ZHANG FENGDA
  • LI ZHUANGZHUANG
  • LI YONG

Assignees

  • 国网山东省电力公司电力科学研究院

Dates

Publication Date
20260512
Application Date
20221124

Claims (10)

  1. 1. A method for partial discharge detection map data compression and decompression, comprising: Obtaining a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum comprises a plurality of pulse signals; during compression, a power frequency period is equally divided into a plurality of phase windows, the amplitude is expressed in a logarithmic form, 7bit is occupied, 1bit is adopted to express whether the data of the amplitude data follow is amplitude or interval number, the pulse interval number is adopted to replace the period number, and 8bit is occupied; The decompression is performed by adopting the opposite thought to the compression to obtain decompressed data; acquiring PRPS map pulse information data, including phase, cycle number and amplitude; Taking first pulse information, a phase Ph0, a cycle number Cyc0 and an amplitude Amp0; calculating the phase interval number DPh0 of the 0 th cycle number from the 0 th phase; generating first pulse compressed data, if DPh0 |=0, the amplitude is Amp0, and no phase interval number exists; taking the N-th pulse information, the phase PhN, the cycle number CycN and the amplitude AmpN; calculating the phase interval number DPhN from the last N-1 pulse; generating data after the N-th pulse compression, if DPh0 |=0, the amplitude is AmpN+128, and the phase interval number is DPhN; if dph0=0, the amplitude is AmpN, with no number of phase intervals.
  2. 2. The method for compressing and decompressing partial discharge detection map data as recited in claim 1, wherein if there are 4 pulse signals: Pulse 1, phase window 0, cycle number 0, pulse amplitude 10; pulse 2, phase window 100, number of cycles 0, pulse amplitude 20; pulse 3, phase window 0, cycle 1, pulse amplitude 11; pulse 4, phase window 100, number of cycles 1, pulse amplitude 21.
  3. 3. The method of claim 2, wherein the 1 st pulse is in the 0 th window, the 0 th cycle number is 0 from the 0 th cycle number of the initial 0 window, and the 1 st pulse is 10.
  4. 4. A method for compressing and decompressing partial discharge detection map data as claimed in claim 3, wherein the 2 nd pulse is in the 100 th window, the 0 th window is at the position of the last pulse on the 0 th cycle, the interval of the 0 th cycle is 100-0=100, the interval is not 0, the highest position of the amplitude needs to be 1 to be stored as 128+20=148, namely the 2 nd pulse data is 148,100.
  5. 5. The method of claim 4, wherein the 3 rd pulse is in window 0, the 1 st cycle is at 100 th window from the last pulse position, the interval of 0 th cycle is 0+1 cycle X256-100=156, the interval is not 0, the highest position of the amplitude needs 1 to be stored as 128+11=139, i.e. the 3 rd pulse data is 139,156.
  6. 6. The method of claim 5, wherein the 4 th pulse is in the 100 th window, the 1 st cycle is separated from the 0 th window of the last pulse position, the 1 st cycle interval is 100+1 cycle X256-0-1 cycle X256=100, the interval is not 0, the highest position 1 of the amplitude needs to be stored as 128+21=149, i.e. the 4 th pulse data is 149,100.
  7. 7. The method for partial discharge detection map data compression and decompression as claimed in claim 6, wherein the data is decompressed: the first data 10, the most significant 0, represents the 1 st pulse data 0,0,10 with 0 interval from the initial 0 window 0 cycles, i.e. 10 current pulse amplitude; Since the most significant bit 0 of the last data represents that the last data is amplitude data, i.e. data 148 is taken, the amplitude is 20, the most significant bit is 1, which means that the number of intervals of the 0 th cycle number from the 0 th window of the last pulse position is 100 in the next data, i.e. the number of intervals is 100 in the 0+100=100 window, the number of intervals is 0, so the data of the 2 nd pulse is 100,0,20; Then, the data 139 is fetched, the amplitude is 11, the most significant bit is 1, which indicates that the interval number of the 0 th cycle number of the 100 th window from the last pulse position is 156 in the next data, namely, the interval cycle number is 156, namely, the 3 rd pulse is in the 100+156=256 window, the 0 th cycle number is 0,1,11 because the 256 th window is equal to the cycle number plus the 1 st window minus 256; Next, the data 149 is taken, the amplitude is 21, the most significant bit is 1, which means that the number of intervals between the 1 st cycle number of the 0 th window from the last pulse position is 100, i.e. the number of intervals between the 1 st cycle number and the next data, i.e. the 4 th pulse is in the 0+100=100 window, the 1 st cycle number, so the data of the 4 th pulse is 100,1,21.
  8. 8. A system for partial discharge detection map data compression and decompression, comprising: The data acquisition module is configured to acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum comprises a plurality of pulse signals; The compression module is configured to divide one power frequency period into a plurality of phase windows during compression, wherein the amplitude is expressed in a logarithmic form, 7bit positions are occupied, 1bit position is used for expressing whether the data following the amplitude data is amplitude or interval number, the pulse interval number is used for replacing the period number, and 8bit is occupied; The decompression module is configured to acquire decompressed data by adopting an opposite thought to that of compression during decompression; acquiring PRPS map pulse information data, including phase, cycle number and amplitude; Taking first pulse information, a phase Ph0, a cycle number Cyc0 and an amplitude Amp0; calculating the phase interval number DPh0 of the 0 th cycle number from the 0 th phase; generating first pulse compressed data, if DPh0 |=0, the amplitude is Amp0, and no phase interval number exists; taking the N-th pulse information, the phase PhN, the cycle number CycN and the amplitude AmpN; calculating the phase interval number DPhN from the last N-1 pulse; generating data after the N-th pulse compression, if DPh0 |=0, the amplitude is AmpN+128, and the phase interval number is DPhN; if dph0=0, the amplitude is AmpN, with no number of phase intervals.
  9. 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1-7 when the program is executed by the processor.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, performs the steps of the method of any of the preceding claims 1-7.

Description

Partial discharge detection map data compression and decompression method and system Technical Field The invention belongs to the technical field of partial discharge monitoring of power equipment, and particularly relates to a method and a system for partial discharge detection map data compression and decompression. Background The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. The partial discharge spectrum refers to a spectrum of recording the intensity and phase of a partial discharge signal in a certain period, namely, a spectrum of amplitude and phase of a discharge pulse, and the relationship between the intensity and phase of the discharge signal is described in an emphasized manner, and usually, a PRPS (phase resolved pulse sequence) spectrum or a PRPD (phase resolved partial discharge) spectrum is adopted for recording and visualizing. The PRPS map is a two-dimensional phase-amplitude scatter diagram, and is a three-dimensional diagram of power frequency phase (X axis) -power frequency cycle number (Y axis) -signal amplitude (Z axis), so that three parameter information of the phase, cycle number and amplitude required by each discharge pulse is recorded, if each parameter is quantized to 1 byte, each discharge pulse needs 3 bytes, storage space is occupied by comparison, and the hardware cost of the corresponding partial discharge on-line monitoring device is improved, and the large-scale popularization and application are not facilitated. Disclosure of Invention In order to overcome the defects in the prior art, the invention provides a method for compressing and decompressing partial discharge detection map data, which enables the original storage of pulse information with 3 bytes to be compressed to only 1-2 bytes. To achieve the above object, one or more embodiments of the present invention provide the following technical solutions: in a first aspect, a method for partial discharge detection profile data compression and decompression is disclosed, comprising: Obtaining a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum comprises a plurality of pulse signals; During compression, a power frequency period is equally divided into a plurality of phase intervals, the amplitude is expressed in a logarithmic form, 7bit is occupied, 1bit is adopted to express whether the data of the amplitude data follow the amplitude or the interval number, the phase interval number is adopted to replace the period number, and 8bit is occupied; decompression is performed by adopting the reverse thought of compression, and decompressed data is obtained. In a second aspect, a system for partial discharge detection profile data compression and decompression is disclosed, comprising: The data acquisition module is configured to acquire a partial discharge pulse spectrum, wherein the partial discharge pulse spectrum comprises a plurality of pulse signals; The compression module is configured to divide one power frequency period into a plurality of phase windows during compression, wherein the amplitude is expressed in a logarithmic form, 7bit positions are occupied, 1bit position is used for expressing whether the data following the amplitude data is amplitude or interval number, the pulse interval number is used for replacing the period number, and 8bit is occupied; and the decompression module is configured to acquire decompressed data by adopting a reverse idea of the decompression. The one or more of the above technical solutions have the following beneficial effects: According to the invention, a power frequency period is equally divided into 256 phase windows, the range of amplitude is 0-127 in a logarithmic form, 7bit is occupied, 1bit is used for indicating whether the data of amplitude data follow-up is amplitude or interval number, the pulse interval number is used for replacing the period number, and 8bit is occupied, so that the PRPS data storage occupied space can be 70% or less of the original one. 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. Drawings The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. FIG. 1 is a flow chart of a method according to an embodiment of the present invention; Detailed Description It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the invention. Unless defined otherwise, 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