State monitoring signal data compression method, system and device and storage medium

Through the block sampling and compression method, the mean value and variance are calculated and the weight coefficient is calculated, which solves the problem of excessive transmission bandwidth of non-periodic signal data in water-power unit state monitoring, and realizes effective compression of periodic and non-periodic signals. Reduces transmission redundancy and is suitable for concurrent data transmission for multiple units.

CN118921068APending Publication Date: 2024-11-08山东文登抽水蓄能有限公司 +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410949965.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art is difficult to effectively compress the non-periodic signal data in the monitoring of hydroelectric unit status, resulting in excessive transmission bandwidth usage, especially in the case of concurrent multiple units, which cannot meet the data transmission needs of rapidly developing pumped storage power stations.

Method used

The block sampling and compression method is adopted to calculate the mean and variance of each data block and calculate the weight coefficient of the data according to the compression coefficient, so that the time domain compression of periodic and non-periodic signals is realized, reducing the redundancy of transmitted data.

Benefits of technology

Effective compression of periodic and non-periodic signals is achieved, transmission bandwidth usage is reduced, trend item data is enhanced, random noise is suppressed, and concurrent data transmission is suitable for multiple units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921068A_ABST
    Figure CN118921068A_ABST
Patent Text Reader

Abstract

The invention discloses a state monitoring signal data compression method, system and device and a storage medium, and the method comprises the steps: collecting state monitoring signal data of a hydroelectric generating set, and building a signal data set; partitioning the signal data set, and setting a compression coefficient; calculating a mean value and a variance of the data blocks; dividing data units in each data block; calculating a weight coefficient of each data in each unit in the data block according to the mean value, the variance and the compression coefficient; calculating the compressed data of each unit in each data block based on the weight coefficient, and completing the compression of the unit; all units in the data block are compressed, and compression of the data block is completed; all the data blocks are compressed, and compression of the state monitoring signal data is completed; the method can be suitable for state monitoring signal data compression of periodic signals and non-periodic signals at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a signal data compression method, system, device and storage medium, and in particular to a state monitoring signal data compression method, system, device and storage medium. Background Art

[0002] With the development of centralized control technology for hydropower units, the status monitoring system has also entered a large-scale centralized development stage. Various basin companies and groups have begun to build basin unit status monitoring systems, that is, to realize the operating status monitoring of all units in a centralized control center. However, due to the large number of measurement points and high sampling rate for the status monitoring of a single hydropower unit, it has caused great pressure on network data transmission. Usually, the fast variables of a unit include 15 vibration measurement points, 6 swing measurement points, 1 key phase measurement point, 5 pressure pulsation measurement points, 8 air gap measurement points, 1 magnetic flux density measurement point, and 6 partial discharge measurement points. In addition, there are slow variable measurement points such as active power, reactive power, excitation current, upstream water level, downstream water level, guide vane opening, stator core and winding temperature measurement points, etc., which are no less than 50. The fast variable measurement point of a unit is sampled at a rate of 1kS / s per second, so 42 measurement points generate a total of 42k sampling points; a single sampling point is a single-precision value, and a single-precision number occupies 4 bytes, so a unit needs to transmit 42×4=168kByte / s. Considering transmission redundancy and related slow variables, the transmission capacity required for a unit is not less than 200kByte / s; usually each pumped storage power station has 4 units, so a total of 800kByte / s needs to be transmitted per second. For a centralized control center that needs to monitor 10 pumped storage power stations, the transmission bandwidth required is not less than 8MByte. The above calculation is based on 1s transmission once, but in actual situations, the data transmission interval is 2~3s. At this time, the transmission bandwidth will be 2~3 times that of the case with a transmission interval of 1s when concurrent. With the rapid development of pumped storage in my country, the amount of data used for pumped storage unit status monitoring transmission continues to increase. Therefore, it is technically and economical to use appropriate compression technology to appropriately compress the relevant data to reduce channel capacity occupancy.

[0003] In the prior art, since the transmission of fast variables occupies a large channel capacity, the current compression is mainly aimed at fast variables, such as vibration, swing, pressure pulsation and other signals. Taking the swing signal at the water guide bearing position as an example, the current common practice is: ① obtain the water guide swing signal; ② perform fast Fourier transform on the signal; ③ use appropriate thresholds to process the spectrum data, such as setting the value less than the threshold to zero; ④ transmit the spectrum data greater than the threshold; ⑤ perform inverse transformation on the received spectrum data. However, this method belongs to the frequency domain compression method, which can achieve a large degree of compression of periodic signals; it is not suitable for non-periodic slow-variable signals. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a state monitoring signal data compression method, system, device and storage medium that can be applied to both periodic signals and non-periodic signals.

[0005] Technical solution: A method for compressing state monitoring signal data according to the present invention comprises:

[0006] (1) Collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1, x2, ..x n …,x N}, where N is the total number of signal data, x n is the nth data;

[0007] (2) dividing the signal data set into M data blocks, each block containing S data, where S = N / M, and setting a compression coefficient K;

[0008] (3) Calculate the mean μ of the i-th data block i With variance σ i 2 , 1≤i≤M;

[0009] (4) In the i-th data block, every K data is divided into a unit, with a total of U units, U = S / K;

[0010] (5) According to the mean μ i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U;

[0011] (6) Based on the weight coefficient, the compressed data of the u-th unit in the i-th data block is calculated to complete the compression of the unit;

[0012] (7) Repeat steps (5) to (6) until all units in the i-th data block are compressed, thus completing the compression of data block i;

[0013] (8) Repeat steps (3) to (7) until all data blocks are compressed, thereby completing the compression of the status monitoring signal data.

[0014] Furthermore, the total number N of signal data in step (1) is determined by the sampling rate and sampling time.

[0015] Furthermore, the weight coefficient calculation formula in step (5) is:

[0016]

[0017] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0018] Furthermore, the data calculation formula of the compressed data of the u-th unit in the i-th data block in step (6) is as follows:

[0019]

[0020] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0021] Based on the same inventive concept, the present invention also provides a state monitoring signal data compression system, comprising:

[0022] The preprocessing module is used to collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1,x2,..x n …,x N}, where N is the total number of signal data, x n is the nth data;

[0023] A block setting module, used to block the signal data set into M data blocks, each block contains S data, where S = N / M, and set a compression coefficient K;

[0024] Data preparation module, used to calculate the mean μ of the i-th data block i With variance σ i 2 , 1≤i≤M;

[0025] The unit division module is used to divide every K data into a unit in the i-th data block, and there are U units in total, where U = S / K;

[0026] A weight calculation module is used to calculate the weight of i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U;

[0027] The unit compression module is used to calculate the compressed data of the u-th unit in the i-th data block based on the weight coefficient to complete the compression of the unit;

[0028] A data block compression module is used to repeatedly execute the operations of the weight calculation module and the unit compression module until all units in the i-th data block are compressed, thus completing the compression of data block i;

[0029] The signal data compression module is used to repeatedly execute the operations of the data preparation module, the unit division module, the weight calculation module, the unit compression module and the data block compression module until all data blocks are compressed and the compression of the state monitoring signal data is completed.

[0030] Furthermore, the total number N of signal data in the preprocessing module is determined by a sampling rate and a sampling time.

[0031] Furthermore, the weight coefficient calculation formula of the weight calculation module is:

[0032]

[0033] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0034] Furthermore, the calculation formula of the data after compression of the u-th unit in the i-th data block of the unit compression module is as follows:

[0035]

[0036] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0037] Based on the same inventive concept, the present invention also provides a computing device, comprising: one or more processors, one or more memories and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the state monitoring signal data compression method according to any one of the above items are implemented.

[0038] Based on the same inventive concept, the present invention also provides a storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, enable the processor to perform the steps of the state monitoring signal data compression method described in any one of the above items.

[0039] Beneficial effects: Compared with the prior art, the present invention proposes a data method of block sampling compression, which can use the same time domain compression technology to perform sampling compression on periodic signals and non-periodic signals; the present invention takes into account the distribution of signals in the process of sampling compression, and can enhance trend item data and effectively suppress random noise. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0042] The abbreviations and key terms used in this invention are defined as follows:

[0043] Condition monitoring: Real-time online monitoring of the operating status of each part of the hydro-generator set. The monitoring signals include unit vibration, swing, pressure pulsation, air gap, magnetic flux density, partial discharge, etc.

[0044] Normal distribution: If the random variable X obeys a probability distribution with location parameter μ and scale parameter σ, and its probability density function is Then this random variable is called a normal random variable, and the distribution that the Zhengtai random variable obeys is called a normal distribution, denoted by X~N(μ,σ 2 ). The expected value μ of the normal distribution determines its location, and its standard deviation σ determines the amplitude of the distribution. When μ=0, σ=1, the normal distribution is the standard normal distribution.

[0045] Embodiment 1, as attached Figure 1 As shown, the state monitoring signal data compression method of this embodiment includes:

[0046] (1) Collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1, x2, ..x n …,x N}, where N is the total number of signal data, x n is the nth data;

[0047] (2) dividing the signal data set into M data blocks, each block containing S data, where S = N / M, and setting a compression coefficient K;

[0048] (3) Calculate the mean μ of the i-th data block i With variance σ i 2 , 1≤i≤M;

[0049] (4) In the i-th data block, every K data is divided into a unit, with a total of U units, U = S / K;

[0050] (5) According to the mean μ i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U;

[0051] (6) Based on the weight coefficient, the compressed data of the u-th unit in the i-th data block is calculated to complete the compression of the unit;

[0052] (7) Repeat steps (5) to (6) until all units in the i-th data block are compressed, thus completing the compression of data block i;

[0053] (8) Repeat steps (3) to (7) until all data blocks are compressed, thereby completing the compression of the status monitoring signal data.

[0054] Furthermore, the total number N of signal data in step (1) is determined by the sampling rate and sampling time.

[0055] Furthermore, the weight coefficient calculation formula in step (5) is:

[0056]

[0057] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0058] Furthermore, the data calculation formula of the compressed data of the u-th unit in the i-th data block in step (6) is as follows:

[0059]

[0060] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0061] Based on the same inventive concept, this embodiment also provides a state monitoring signal data compression system, including:

[0062] The preprocessing module is used to collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1,x2,..x n …,x N}, where N is the total number of signal data, x n is the nth data;

[0063] A block setting module, used to block the signal data set into M data blocks, each block contains S data, where S = N / M, and set a compression coefficient K;

[0064] Data preparation module, used to calculate the mean μ of the i-th data block i With variance σ i 2, 1≤i≤M;

[0065] The unit division module is used to divide every K data into a unit in the i-th data block, and there are U units in total, where U = S / K;

[0066] A weight calculation module is used to calculate the weight of i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U;

[0067] The unit compression module is used to calculate the compressed data of the u-th unit in the i-th data block based on the weight coefficient to complete the compression of the unit;

[0068] A data block compression module is used to repeatedly execute the operations of the weight calculation module and the unit compression module until all units in the i-th data block are compressed, thus completing the compression of data block i;

[0069] The signal data compression module is used to repeatedly execute the operations of the data preparation module, the unit division module, the weight calculation module, the unit compression module and the data block compression module until all data blocks are compressed and the compression of the state monitoring signal data is completed.

[0070] Furthermore, the total number N of signal data in the preprocessing module is determined by a sampling rate and a sampling time.

[0071] Furthermore, the weight coefficient calculation formula of the weight calculation module is:

[0072]

[0073] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0074] Furthermore, the calculation formula of the data after compression of the u-th unit in the i-th data block of the unit compression module is as follows:

[0075]

[0076] Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

[0077] Based on the same inventive concept, this embodiment also provides a computing device, including: one or more processors, one or more memories and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the state monitoring signal data compression method described in any one of the above items are implemented.

[0078] Based on the same inventive concept, this embodiment also provides a storage medium, which stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the state monitoring signal data compression method described in any one of the above items.

[0079] Embodiment 2, the state monitoring signal data compression method of this embodiment, the above frame vibration signal {x1, x2, ..., x N} as an example, assuming that the sampling rate of the signal is f s =1kS / s, that is, 1000 data points are sampled per second, and continuous sampling is t=3s, so the amount of data to be transmitted is N=f s ·t=1000×3=3000. In the actual compression process, the compression is performed according to the following process:

[0080] Step 1: Divide the data to be transmitted into blocks, the number of blocks is M, and the amount of data in each block is S. In this case, the data to be transmitted is 3s, assuming it is divided into 6 blocks, then M=6, and the amount of data in each block is S=N / M=3000 / 6=500.

[0081] Step 2: Calculate the mean μ of the transmitted data for the i-th (1≤i≤M) block of data i With variance σ i 2 Taking the first database as an example, the calculated mean is μ1 and the variance is σ2 2 .

[0082] Step 3: Set the compression multiple of each data block to K, that is, compress every K numbers into 1 number, and the sampling rate is 1 / K. In this case, take K=5 as an example, then 5 numbers are compressed into 1 number, and each data block is compressed from 500 numbers to 100 numbers.

[0083] Step 4: Calculate the weight coefficient of the corresponding value in each data block. Taking the first 5 values ​​sampled and compressed into 1 value as an example, the corresponding weight coefficient is Where k = 1,…,5.

[0084] Step 5: Calculate the value after sampling compression:

[0085] Step 6: Repeat steps 4 and 5.

[0086] Step 7: Repeat steps 2-6.

[0087] The signal to be transmitted is still {x1,x2,…,x N} as an example, the signal after sampling and compression is {y1,y2,…,y P}, where N is divisible by P, the quotient is K, that is, the compression ratio is 1 / K, the number of blocks is M, and the size of each block of data is N / M=S. The above steps can be implemented using the following pseudo code:

[0088]

[0089] The present invention processes fast variable and slow variable data from the perspective of time domain, reduces the redundancy of transmission data, and thus effectively reduces the bandwidth occupied by transmission.

Claims

1. A method for compressing state monitoring signal data, characterized in that: include: (1) Collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1, x2, ..x n …,x N }, where N is the total number of signal data, x n is the nth data; (2) dividing the signal data set into M data blocks, each block containing S data, where S = N / M, and setting a compression coefficient K; (3) Calculate the mean μ of the i-th data block i With variance σ i 2 , 1≤i≤M; (4) In the i-th data block, every K data is divided into a unit, with a total of U units, U = S / K; (5) According to the mean μ i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U; (6) Based on the weight coefficient, the compressed data of the u-th unit in the i-th data block is calculated to complete the compression of the unit; (7) Repeat steps (5) to (6) until all units in the i-th data block are compressed, thus completing the compression of data block i; (8) Repeat steps (3) to (7) until all data blocks are compressed, thereby completing the compression of the status monitoring signal data.

2. The method for compressing state monitoring signal data according to claim 1, characterized in that: The total number N of signal data in step (1) is determined by the sampling rate and sampling time.

3. The method for compressing state monitoring signal data according to claim 1, characterized in that: The weight coefficient calculation formula in step (5) is: Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

4. The method for compressing state monitoring signal data according to claim 1, characterized in that: The formula for calculating the data after compression of the u-th unit in the i-th data block in step (6) is as follows: Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

5. A state monitoring signal data compression system, characterized in that: include: The preprocessing module is used to collect the status monitoring signal data of the hydropower unit and establish the signal data set {x1,x2,..x n …,x N }, where N is the total number of signal data, x n is the nth data; A block setting module, used to block the signal data set into M data blocks, each block contains S data, where S = N / M, and set a compression coefficient K; Data preparation module, used to calculate the mean μ of the i-th data block i With variance σ i 2 , 1≤i≤M; The unit division module is used to divide every K data into a unit in the i-th data block, and there are U units in total, where U = S / K; A weight calculation module is used to calculate the weight of i , variance σ i 2 And compression coefficient K, calculate the weight coefficient of each data in the u-th unit in the i-th data block, 1≤u≤U; The unit compression module is used to calculate the compressed data of the u-th unit in the i-th data block based on the weight coefficient to complete the compression of the unit; A data block compression module is used to repeatedly execute the operations of the weight calculation module and the unit compression module until all units in the i-th data block are compressed, thus completing the compression of data block i; The signal data compression module is used to repeatedly execute the operations of the data preparation module, the unit division module, the weight calculation module, the unit compression module and the data block compression module until all data blocks are compressed and the compression of the state monitoring signal data is completed.

6. The state monitoring signal data compression system according to claim 1, characterized in that: The total number N of signal data in the preprocessing module is determined by the sampling rate and sampling time.

7. The state monitoring signal data compression system according to claim 1, characterized in that: The weight calculation module weight coefficient calculation formula is: Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

8. The state monitoring signal data compression system according to claim 1, characterized in that: The calculation formula for the data after compression of the u-th unit in the i-th data block of the unit compression module is as follows: Where k = 1, 2, ..., K, is the kth data of the uth unit in the i-th data block, is the weight coefficient of the kth data in the uth unit in the i-th data block.

9. A computing device, characterized in that include: One or more processors, one or more memories and one or more programs, wherein the programs are stored in the memories and are configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the state monitoring signal data compression method according to any one of claims 1 to 4 are implemented.

10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the steps of the condition monitoring signal data compression method according to any one of claims 1 to 4.