CN101527585B - Device for achieving electric power system data self-adapting compression and method thereof - Google Patents

Device for achieving electric power system data self-adapting compression and method thereof Download PDF

Info

Publication number
CN101527585B
CN101527585B CN200910106679A CN200910106679A CN101527585B CN 101527585 B CN101527585 B CN 101527585B CN 200910106679 A CN200910106679 A CN 200910106679A CN 200910106679 A CN200910106679 A CN 200910106679A CN 101527585 B CN101527585 B CN 101527585B
Authority
CN
China
Prior art keywords
sampling
unit
compression
equiphase
electric power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910106679A
Other languages
Chinese (zh)
Other versions
CN101527585A (en
Inventor
张东来
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Graduate School Harbin Institute of Technology
Original Assignee
Shenzhen Graduate School Harbin Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Graduate School Harbin Institute of Technology filed Critical Shenzhen Graduate School Harbin Institute of Technology
Priority to CN200910106679A priority Critical patent/CN101527585B/en
Publication of CN101527585A publication Critical patent/CN101527585A/en
Application granted granted Critical
Publication of CN101527585B publication Critical patent/CN101527585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention relates to a device for achieving electric power system data self-adapting compression and a method thereof, wherein, the device comprises an equiphase sampling unit and a compression unit, analog signals is connected with the input end of the equiphase sampling unit, and the output end of the equiphase sampling unit is connected the compression unit; and the method comprises the following steps: 1. a compressor input sequence is obtained by conducting synchronous equiphase sampling on the input signals; 2. and then the compressor input sequence is subjeced to equiphase point sequence compression. The Signal-to-Noise by adopting the equiphase sampling method of the invention is obviously higher than that adopting uniformly-spaced sampling, and with the increasing of the compression ratio, the Signal-to-Noise adopting uniformly-spaced sampling is minished quickly, but the Signal-to-Noise adopting the equiphase sampling method of the invention is minished relatively slowly, thereby the equiphase sampling data can realize big compression ratio and effectively and stably improve the communication bandwidth of the electric power communications system.

Description

A kind of device and method of realizing the electric power system data self-adapting compression
[technical field]
The present invention relates to the data sampling and the data compression technique of electric line communication system, relate in particular to a kind of device and method of realizing the electric power system data self-adapting compression.
[background technology]
Along with the raising of Automation of Electric Systems degree, supervisory information system, Distributed Control System constantly perfect, the storage of magnanimity process data more and more receives people's attention.The information that is richly stored with in these data, it is for analyzing the operation of power networks state, providing control and optimisation strategy, failure diagnosis and Knowledge Discovery and data mining significant.But because data volume is huge, it is unpractical that data are got off with the form long preservation of prototype, and therefore the actual data compression method of the suitable engineering of research reduces the active demand that the redundancy that exists in the mass data has become power industry.
Usually, when being handled, adopts power network signal equal interval sampling method (claiming the asynchronous-sampling method again), because mains frequency is by the common decision of all power plants and network load in the electric power system; Under effects such as power disturbance and equipment fault; The frequency of actual electric network signal usually can fluctuate near rated frequency, and this can cause between the circulation of equal interval sampling periodic data the coupling with the circulation internal information, thereby causes that numerical fluctuations sharply increases between circulation; In addition; Equal interval sampling caused non-integer-period sampledly makes that also numerical values recited appears periodically between circulation, the raising of the multiple that this will the restricting data compression, thereby influence is to the lifting of communication bandwidth.
[summary of the invention]
For solve exist in the prior art under effect such as power disturbance and equipment fault; The frequency of actual electric network signal can fluctuate near rated frequency usually; Can cause between equal interval sampling periodic data circulation coupling with the circulation internal information; Thereby cause that numerical fluctuations sharply increases between circulation, equal interval sampling caused non-integer-period sampledly makes that also numerical values recited appears periodically between circulation, the raising of the multiple that this will the restricting data compression; Thereby influence the invention provides a kind of device and method of realizing the electric power system data self-adapting compression to these technical problems of lifting of communication bandwidth.
The present invention solves the technical scheme that the prior art problem adopted: a kind of device of realizing the electric power system data self-adapting compression is provided, has it is characterized in that: the device of said realization electric power system data self-adapting compression comprises:
Be used for realizing the periodicity analog signal sampling is obtained compressing list entries, between the loop cycle of signal, implement the unequal interval sampling, in loop cycle, implement the count equiphase sampling unit of equal interval sampling of fixed sample in power line communication;
Be used for said compression list entries is carried out the compression unit of processed compressed;
Said analog signal is connected with the input of said equiphase sampling unit, and the output of said equiphase sampling unit is connected with said compression unit.
According to an optimal technical scheme of the present invention: the device of said realization electric power system data self-adapting compression also comprises: be used for said compression unit packed data is formed the decompress(ion) output sequence after decompression; To recover the decompression unit of original signal waveform, the input of said decompression unit is connected with the output of said compression unit.
According to an optimal technical scheme of the present invention: said equiphase sampling unit further comprises filter unit, comparator unit, sampling pulse generation unit, time mark generator unit, frequency overlapped-resistable filter unit and synchronized sampling unit; Wherein, Said filter unit is connected with said comparator unit; Said comparator unit is connected with said time mark generator unit with said sampling pulse generation unit respectively; Said sampling pulse generation unit and said synchronized sampling unit, said frequency overlapped-resistable filter unit is connected with said synchronized sampling unit.
According to an optimal technical scheme of the present invention: said filter unit is a band pass filter, and the passband central frequency of said band pass filter is 50Hz; Said comparator unit is to be used for analog signal and no-voltage after the harmonic carcellation interference are compared, to produce the comparator of zero crossing pulse signal; Said sampling pulse generation unit; Be used for according to the rising edge timing of internal clocking, produce the zero crossing time series, and carry out mathematical statistics according to said zero crossing time series in each zero crossing pulse; Eliminate and measure random error; Predict the moment of next zero crossing pulse, confirm the sample frequency of current period, realize the equiphase sampling according to predicted value; Said time mark generator unit is for being used for according to zero crossing pulse target time mark generator when accurately time signal produces zero crossing; Said frequency overlapped-resistable filter unit is that primary signal is implemented LPF, to satisfy the frequency overlapped-resistable filter of Shannon's sampling theorem; Said synchronized sampling unit is used for according to said sample frequency the analog signal after said frequency overlapped-resistable filter cell processing being carried out equiphase sampling and output sampled value.
According to an optimal technical scheme of the present invention: said equiphase sampling unit is identical with sampling number between the cycle in the cycle; Preserve a temporal information in each equiphase sampling period; And with this temporal information employing delta modulation code processing, said temporal information is multi-way shared.
The present invention also provides a kind of method that realizes the electric power system data self-adapting compression, and said electric power system data self-adapting compression method comprises step: the first step: input signal is carried out synchronous equiphase sampling, obtain compressing list entries; Second step: said compression list entries is carried out the compression of equiphase point sequence.
According to an optimal technical scheme of the present invention: said electric power system data self-adapting compression method further comprised for the 3rd step: said packed data is carried out decompress(ion), obtain the decompress(ion) output sequence.
According to an optimal technical scheme of the present invention: the said first step comprises substep: one, analog signal is carried out Filtering Processing through said filter unit, harmonic carcellation disturbs, and produces the zero crossing pulse signal through said comparator unit again; Two, utilize said zero crossing pulse signal to generate the zero crossing time series through said pulse generation unit, and handle according to said time series, statistics is eliminated and is measured random error; Three, the next zero crossing pulse of prediction and is confirmed the sampling instant of each sampled point in the current period to utilize said sampling instant to carry out the equiphase sampling according to predicted value constantly, obtains compressing list entries.
According to an optimal technical scheme of the present invention: said second step comprises substep: one, carry out data processing; Said compression list entries is transformed into two-dimensional space from the one-dimensional space; The matrix of forming a M * N size; Calculate the mean value of each row, deduct its corresponding average of being expert at each element in the matrix; Two, carry out wavelet decomposition; Utilize integer lifting wavelet transform each capable K layer wavelet decomposition of carrying out to this section gained matrix in the said step; The low frequency coefficient that only keeps K layer wavelet decomposition; Obtain the coefficient matrix of a M * A size, wherein, A is the number of the low frequency coefficient of K layer wavelet decomposition; Three, carry out compressed encoding, M mean value that obtains in going on foot this section said one and the big or small coefficient matrix of M * A that this section obtained in said two steps carry out entropy coding formation compressed file.
According to an optimal technical scheme of the present invention: said three steps comprise substep: one, carry out decoding processing, said compressed file is carried out the entropy decoding, obtain M mean value and a M * A coefficient matrix; Two, carry out wavelet reconstruction,, obtain M * N restructuring matrix with each this line data of line reconstruction in the coefficient matrix; Three, carry out data processing, each element of said restructuring matrix is added institute's corresponding average of being expert at, then restructuring matrix is carried out two dimension to one dimension conversion generation output sequence.
Beneficial effect of the present invention is: the signal to noise ratio of equiphase sampling that adopts the inventive method is apparently higher than adopting equal interval sampling; And along with the increase of compression ratio; Adopt the signal to noise ratio of equal interval sampling to reduce rapidly; And adopt equiphase of the present invention sampling signal to noise ratio reduce slow relatively many, thereby explanation equiphase sampled data can realize big compression ratio, can be effectively and stably improve the communication bandwidth of power communication system.
[description of drawings]
Fig. 1 realizes the device basic principle schematic of electric power system data self-adapting compression for the present invention;
Fig. 2 realizes the medium phase sample cellular construction of the device sketch map of electric power system data self-adapting compression for the present invention;
Fig. 3 realizes the method flow sketch map of electric power system data self-adapting compression for the present invention is a kind of;
Fig. 4 estimates zero crossing impulsive measurement markers and accurate markers graph of a relation for sampling pulse generation unit of the present invention adopts mathematical statistics;
Fig. 5. Synchronous Sampling Pulse production process sketch map;
Fig. 6 is the sequential relationship sketch map between zero crossing pulse among the present invention, Synchronous Sampling Pulse and the analog-to-digital conversion output;
Fig. 7 is the data compression and the decompression process sketch map of compression unit of the present invention and decompression unit;
Fig. 8. 200 * 32768 dot image sketch mapes of equal interval sampling;
Fig. 9. 200 * 32768 points of equiphase sampling;
Figure 10 is for adopting two groups of data compression reconstruct of two kinds of method of sampling gained comparing result sketch map among the present invention.
[embodiment]
Below in conjunction with accompanying drawing technical scheme of the present invention is elaborated.
See also the device basic principle schematic that Fig. 1 the present invention realizes the electric power system data self-adapting compression.As shown in Figure 1: the device of said realization electric power system data self-adapting compression comprises: be used for realizing the periodicity analog signal sampling in power line communication; Obtain compressing list entries; Between the loop cycle of signal, implement the unequal interval sampling, in loop cycle, implement the count equiphase sampling unit 101 of equal interval sampling of fixed sample; The compression unit 102 that is used for said compression list entries is carried out processed compressed be used for said compression unit 102 packed datas are formed the decompress(ion) output sequence after decompression; To recover the decompression unit 103 of original signal waveform; Said analog signal is connected with the input of said equiphase sampling unit 101; The output of said equiphase sampling unit 101 is connected with said compression unit 102, and the input of said decompression unit 103 is connected with the output of said compression unit 102.
Analog signal forms the compression list entries through said equiphase sampling unit 101 among Fig. 1; The compression list entries forms compressed file through said compression unit 102 again; Like this, the recorder data of electric power system is just preserved with the form of compressed file, has saved memory space; Said compressed file is handled the back through said decompression unit 103 again at receiving terminal and is formed the decompression output sequence, thereby is able to recover original signal waveform.
Here, said analog signal is periodic voltage or current signal.
Said equiphase sampling unit 101 is used for power line communication and realizes analog signal is carried out periodic samples, and be specially: the phase is gathered M point weekly, and the point of this M is equally spaced, and is integer-period sampled; The sampling interval of sampled point maybe be different between cycle and cycle, but sampling number is the same.
See also the medium phase sample of device unit 101 structural representations that Fig. 2 the present invention realizes the electric power system data self-adapting compression.As shown in Figure 2; Said equiphase sampling unit 101 further comprises filter unit 201, comparator unit 202, sampling pulse generation unit 203, time mark generator unit 204, frequency overlapped-resistable filter unit 205 and synchronized sampling unit 206; Wherein, Said filter unit 201 is connected with said comparator unit 202; Said comparator unit 202 is connected with said time mark generator unit 204 with said sampling pulse generation unit 203 respectively, said sampling pulse generation unit 203 and said synchronized sampling unit 206, and said frequency overlapped-resistable filter unit 205 is connected with said synchronized sampling unit 206.
In optimal technical scheme of the present invention: said filter unit 201 is a band pass filter, and the passband central frequency of said band pass filter is 50Hz; Said comparator unit 202 compares analog signal and no-voltage after the harmonic carcellation interference for being used for, to produce the comparator of zero crossing pulse signal; Said sampling pulse generation unit 203; Be used for according to the rising edge timing of internal clocking, produce the zero crossing time series, and carry out mathematical statistics according to said zero crossing time series in each zero crossing pulse; Eliminate and measure random error; Predict the moment of next zero crossing pulse, confirm the sample frequency of current period, realize the equiphase sampling according to predicted value; Said time mark generator unit 204 is for being used for according to zero crossing pulse target time mark generator when accurately time signal produces zero crossing; Said frequency overlapped-resistable filter unit 205 is that primary signal is implemented LPF, to satisfy the frequency overlapped-resistable filter of Shannon's sampling theorem; Said synchronized sampling unit 206 is used for according to said sample frequency the analog signal after handling through said frequency overlapped-resistable filter unit 205 being carried out equiphase sampling and output sampled value.
Here, said equiphase sampling is in loop cycle, to remain equal interval sampling, but between circulation, adopts the unequal interval sampling.So each cycle also need be preserved a temporal information, the coding of temporal information can adopt delta modulation code to reduce redundant information; In addition; In the practical application, owing to phase place between the multiple signals in the electrical network is consistent, so temporal information is multi-way shared.
See also a kind of method flow sketch map of realizing the electric power system data self-adapting compression of Fig. 3 the present invention.As shown in Figure 3, said electric power system data self-adapting compression method comprises step: the first step: input signal is carried out synchronous equiphase sampling, obtain compressing list entries; Second step: said compression list entries is carried out the compression of equiphase point sequence.
In optimal technical scheme of the present invention: said electric power system data self-adapting compression method further comprised for the 3rd step: said packed data is carried out decompress(ion), obtain the decompress(ion) output sequence.
In optimal technical scheme of the present invention: the said first step comprises substep: one, analog signal is carried out Filtering Processing through said filter unit 201, harmonic carcellation disturbs, and produces the zero crossing pulse signal through said comparator unit 202 again; Two, utilize said zero crossing pulse signal to generate the zero crossing time series through said pulse generation unit, and handle according to said time series, statistics is eliminated and is measured random error; Three, the next zero crossing pulse of prediction and is confirmed the sampling instant of each sampled point in the current period to utilize said sampling instant to carry out the equiphase sampling according to predicted value constantly, obtains compressing list entries.
In optimal technical scheme of the present invention: said second step comprises substep: one, carry out data processing; Said compression list entries is transformed into two-dimensional space from the one-dimensional space; The matrix of forming a M * N size; Calculate the mean value of each row, deduct its corresponding average of being expert at each element in the matrix; Two, carry out wavelet decomposition; Utilize integer lifting wavelet transform each capable K layer wavelet decomposition of carrying out to this section gained matrix in the said step; The low frequency coefficient that only keeps K layer wavelet decomposition; Obtain the coefficient matrix of a M * A size, wherein, A is the number of the low frequency coefficient of K layer wavelet decomposition; Three, carry out compressed encoding, M mean value that obtains in going on foot this section said one and the big or small coefficient matrix of M * A that this section obtained in said two steps carry out entropy coding formation compressed file.
In optimal technical scheme of the present invention: said three steps comprise substep: one, carry out decoding processing, said compressed file is carried out the entropy decoding, obtain M mean value and a M * A coefficient matrix; Two, carry out wavelet reconstruction,, obtain M * N restructuring matrix with each this line data of line reconstruction in the coefficient matrix; Three, carry out data processing, each element of said restructuring matrix is added institute's corresponding average of being expert at, then restructuring matrix is carried out two dimension to one dimension conversion generation output sequence.
Below to technical scheme of the present invention launch the explanation:
The power system frequency characteristic is by the common decision of all power plants in the electric power system and load, and under effects such as power disturbance and equipment fault, the frequency of actual electric network signal can fluctuate near rated frequency usually.The fluctuation of these numerical values recited that all can cause circulating in addition, non-integer-period sampledly makes that also numerical values recited appears periodically between circulation, the multiple that these all can the restricting data compression.
Synchronized sampling has weakened the information coupling between the numerical value in the numerical value and circulation between circulation greatly, makes that redundancy is eliminated more easily between circulation, thereby leads to the big compression ratio of acquisition easily.
In algorithm in the sampling pulse generation unit 203 and the concrete implementation procedure based on the frequency real-time estimate problem of binary linear regression method:
Line voltage under normal operation; There is variation slowly in mains frequency; In subrange, can be approximated to be linear change, but have big measure error, with internal clocking CLK real-time tracking zero crossing pulse signal; Adopt mathematical statistic method to estimate the zero crossing time accurately, and then realize high-precision equiphase sampling.
Seeing also Fig. 4 sampling pulse generation unit 203 of the present invention adopts mathematical statistics to estimate zero crossing impulsive measurement markers and accurate markers graph of a relation; Be defined as y (x) and u (x) to the measured value of zero crossing time and exact value respectively respectively, then there are relation as shown in Figure 4 in y (x) and u (x):
Represent the time with reference axis, y (1), y (2), y (3) ... Y (m) is the zero crossing time measured value; U (1), u (2), u (3) ... U (m) is an exact value; ε (1), ε (2), ε (3) ... ε (m) is a measure error, and they are relevant with sensor noise, clocking noise, comparator precision; T is the mains voltage signal cycle.As shown in Figure 4, get y (1), y (2), y (3) ... Y (m) can get as research object:
y(x)=u(x)+ε(x) (1)
u ( x ) = u ( 1 ) + Σ i = 1 x - 1 T i - - - ( 2 )
In the formula, x ∈ N, ε (x)~N (0, σ 2), x is the sample sequence number.
The power network signal cycle is carried out local linearization to get:
T i=T 1+ΔT·(i-1) (3)
Then wushu (3) substitution (2) formula gets:
u(x)=b 0+b 1·x+b 2·x 2 (4)
In the formula:
b 0=u(1)-T 1+ΔT
b 1 = T 1 - 3 · ΔT 2
b 2 = ΔT 2
Wushu (4) substitution formula (1):
y(x)=b 0+b 1·x+b 2·x 2+ε(x) (5)
Make x 1=x, x 2=x 2, substitution (5) formula gets:
y=b 0+b 1·x 1+b 2·x 2+ε (6)
Form shown in the formula (6) meets the binary linear regression model, therefore can carry out linear regression analysis to y.X1, x2 and y are observed, and their value is designated as x1i, x2i and yi respectively during the i time observation, and random error is ε i, then obtains equation:
y i=b 0+b 1·x 1i+b 2·x 2ii (7)
In formula (7), carry out m time altogether and observe, use least square method that b0, b1, b2 are estimated then, the estimation that gets b0, b1, b2 is respectively:
b ^ 1 b ^ 2 = L - 1 XY - - - ( 8 )
b ^ 0 = y ‾ - b ^ 1 · x ‾ 1 - b ^ 2 · x ‾ 2
In the formula:
X = x 11 * x 12 * · · · x 1 m * x 21 * x 22 * · · · x 2 m * , Y = y 1 y 2 · · · y m
L = Σ i = 1 m x 1 i * · x 1 i * Σ i = 1 m x 1 i * · x 2 i * Σ i = 1 m x 2 i * · x 1 i * Σ i = 1 m x 2 i * · x 2 i * , x ki * = x ki - x ‾ k
Then get by formula (4):
u ^ ( x ) = b ^ 0 + b ^ 1 · x + b ^ 2 · x 2 - - - ( 9 )
Here, utilize the accurate measured value of above-mentioned gained again, and then the algorithmic procedure of generation Synchronous Sampling Pulse is following:
This algorithm use sliding window mode realizes; In said sliding window, preserve m up-to-date zero crossing all the time constantly; Whenever there being new zero crossing pulse to produce, said window just moves forward a step, gives up the oldest data; Add up-to-date data, and then calculate the binary linear regression model parameter to the new sample of this group.
Here, the sampling pulse strict synchronism is to realize the key condition of equiphase data acquisition in zero crossing moment predicted value.Through the zero crossing pulse signal is carried out synchronizing and frequency doubling; Can produce the sampling pulse synchronous with zero crossing; When last Synchronous Sampling Pulse in the one-period after U1 exports constantly; Sampling pulse generation unit 203 carries out trend extropolation by formula (9) and gets according to the next zero crossing time U2 of the parameter prediction of binary linear regression model:
U 2 = u ^ ( m + i ) = b ^ 0 + b ^ 1 ( m + i ) + b ^ 2 ( m + i ) 2 , ( i > 0 ) - - - ( 10 )
I is the step number of u (m) to U2 in the formula (10); Size is determined by the model parameter renewal frequency; After U2 confirms; Just can be according to linear relationship in the hope of the moment of each sampled point in phase this week, total sampling number of establishing each cycle is K, then can set up the relation between the sampling instant corresponding with it of each sampled point:
y ( x ) = U 1 + U 2 - U 1 K · x , x = 1,2 , . . . K - - - ( 11 )
Here; The control of said period measurement and sampling instant realizes that by field programmable gate array (FPGA) timer owing to receive the restriction of crystal oscillator frequency, the resolution of timer is limited; So behind the frequency measurement, the sampling instant that is provided by timer is compared with calculated value and is also had truncated error.The advantage of formula (11) is the truncated error that only exists single sampled point to be produced by counter, and can not produce cumulative errors by truncated error, and we are referred to as the synchronous digital frequency multiplication method to this frequency-doubling method.At this moment, can adopt the method for rounding up farthest to reduce the measure error that produces because of phase error.
See also Fig. 5 Synchronous Sampling Pulse production process sketch map; As shown in Figure 5; The generation of Synchronous Sampling Pulse realizes based on two separate processes, and regression analysis and synchronizing and frequency doubling are as shown in Figure 5; What last reference axis was represented among Fig. 5 is regression analysis process, and what following reference axis was represented is the synchronizing and frequency doubling process.
Sum up above process, two separate processes of regression analysis and synchronizing and frequency doubling can specifically be represented as follows:
A. regression analysis
(1) waits for that new zero crossing produces;
(2) after new zero crossing produces, the sliding window position that moves forward;
(3),, formula (8) continues execution in step (1) then by calculating
Figure G2009101066791D00093
according to the sample sequence in the window.
B. synchronizing and frequency doubling
(1) U1 begins constantly, and value is calculated U2 by formula (10) according to
Figure G2009101066791D00101
;
(2) calculate s (1), s (2) according to U1, U2 value by formula (11) ... s (K);
(3) s (1) that calculates according to step (2), s (2) ... s (K) time series produces Synchronous Sampling Pulse successively;
(4) U1=U2 continues execution in step (1) then.
See also the sequential relationship sketch map between zero crossing pulse among Fig. 6 the present invention, Synchronous Sampling Pulse and the AD conversion output, ZPS is a zero crossing pulse prediction signal among the figure, and SYN is the Synchronous Sampling Pulse signal synchronous with ZPS; ADC is synchronous AD transformation result; It is the rising edge at each SYN that AD conversion starts constantly, as can beappreciated from fig. 4, the timing Design strict guarantee synchronism of AD conversion with the zero crossing pulse; Each cycle equal interval sampling K time has been realized the equiphase sampling.
See also the data compression and the decompression process sketch map of Fig. 7 compression unit 102 of the present invention and decompression unit 103.Realize the compression of equiphase point data, at first will signal be transformed into two-dimensional space from the one-dimensional space.For cyclical signal, so not only help the decomposition of cyclic stationary signal, and the variation of matrix on line direction will be very steady with the sampled data in one or more cycles as the row in the two-dimensional matrix.
For long-term stable state record ripple, numerical value change is slow between circulation, and numerical value change is very fast in the circulation, and data redundancy is far smaller than between circulation redundant in the circulation.
Data compression as shown in Figure 7 and decompression process sketch map, X={x 1, x 2X LBe the compression list entries, X ^ = { x ^ 1 , x ^ 2 · · · x ^ L } For the decompression output sequence, establish L=M * N, wherein M is the sampling number in each cycle, N is a periodicity.
Detailed process is:
A. compression algorithm:
Step (1) data processing: at first list entries is transformed into two-dimensional space from the one-dimensional space, forms the matrix of a M * N size; Calculate the mean value of each row then; Deduct its corresponding average of being expert at each element in the matrix at last.
Step (2) wavelet decomposition: utilize integer lifting wavelet transform that each row of gained matrix in the step (1) is carried out K layer wavelet decomposition; The low frequency coefficient that only keeps K layer wavelet decomposition; Obtain the coefficient matrix of a M * A size, wherein A is the number of the low frequency coefficient of K layer wavelet decomposition.
Step (3) coding: the coefficient matrix of M the mean value that obtains step (1) and M * A size that step (2) is obtained carries out entropy coding formation compressed file.
B. decompression algorithm:
(1) decoding: file is carried out the entropy decoding, obtain M mean value and a M * A coefficient matrix.
(2) wavelet reconstruction:, obtain M * N restructuring matrix with each this line data of line reconstruction in the coefficient matrix.
(3) data processing: at first, each element of restructuring matrix adds institute's corresponding average of being expert at; Then, carry out two dimension to restructuring matrix and produce output sequence to the one dimension conversion.
Above process can realize harmless or lossy compression method, works as K=0, i.e. the wavelet decomposition restructuring procedure is not carried out in expression, directly gets into step (3) after compression process step (1) is accomplished; In like manner, directly get into step (3) after decompression process step (1) is accomplished.
The equal interval sampling and the equiphase of the 50Hz frequency voltage signal that records with the electrical network same point are sampled two groups of data as research object.
First group of data carried out equal interval sampling with the sample frequency of 10000 point/seconds, 6553600 sampled points of recording occurring continuously, and the sampling number in the signal nominal period (0.02 second) is 200,32768 cycles are equivalent to sample.
Second group of data carried out the equiphase sampling according to the method for preceding text, and the phase sampling number is 200 weekly, and 32768 cycles of recording occurring continuously, sampled point also are totally 6553600.
Convert these two groups of data the form of two-dimensional matrix (size is 200 row 32768 row) into respectively, and show like Fig. 8, shown in Figure 9 with the mode of gray-scale map.Fig. 8 is equal interval sampling (being an asynchronous-sampling) design sketch, and visible because mains frequency fluctuates and be non-integer-period sampled, the data of its X direction present fluctuation.Fig. 9 is the design sketch that utilizes the equiphase sampling (being synchronized sampling) of the method for the invention realization, and its X direction data are consistent.
Definition compression measurement index compression ratio CR and signal to noise ratio snr:
C R = H 0 H C , S NR = 101 g Σ i = 1 L x i 2 Σ i = 1 L ( x i - x ^ i ) 2
Ho is the size of compression preceding document in the formula, and Hc is file size after the compression.Above two groups of data are compressed the compression result that obtains see table 1 and table 2.
Table 1 equal interval sampling data compression tabulation
Figure G2009101066791D00121
Table 2 equiphase sampled data compressed list
Figure G2009101066791D00122
Carry out the data compression test according to the step of above-mentioned compression algorithm respectively with Fig. 8, two groups of data shown in Figure 9; The figure place of used digital to analog converter is 16 in the test; Gather 6553600 points altogether, compression preceding document size is 13107200 bytes, in the compression test; Wavelet transformation has adopted integer haar wavelet arithmetic, and entropy coding has adopted arithmetic coding.
Then with shown in the table 2, first group of number only carries out lossless compress with entropy coding to the result of two groups of data compressions in table 1 and the table 2 like table 1, only does the direct current translation before the entropy coding and handles.Compare and assessment in order two groups of data compression algorithms to be carried out performance; Shown in Figure 10 being shown of two groups of data by compression ratio and signal to noise ratio relation table, can see from Figure 10, under the identical compression ratio; The signal to noise ratio of equiphase sampling is apparently higher than equal interval sampling; And along with compression ratio increases, the signal to noise ratio of equal interval sampling reduces rapidly, and reducing of the signal to noise ratio of equiphase sampling is slow relatively many; This explanation equiphase sampled data can realize big compression ratio, and the dotted portion among Figure 10 is represented is the compression ratio during without entropy coding.Can see again that from table 1 table 2 comparing result equiphase sampling entropy coding compression ratio has still kept higher signal to noise ratio apparently higher than the equal interval sampling compression ratio when especially the equiphase sampling is compressed to 5347.7 times.
The signal to noise ratio of equiphase sampling that adopts the inventive method is apparently higher than adopting equal interval sampling; And along with the increase of compression ratio; Adopt the signal to noise ratio of equal interval sampling to reduce rapidly; And adopt equiphase of the present invention sampling signal to noise ratio reduce slow relatively many, thereby explanation equiphase sampled data can realize big compression ratio, can be effectively and stably improve the communication bandwidth of power communication system.
Above content is to combine concrete optimal technical scheme to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.

Claims (9)

1. device of realizing electric power system data self-adapting compression, it is characterized in that: the device of said realization electric power system data self-adapting compression comprises:
Be used for realizing the periodicity analog signal sampling in power line communication; Obtain compressing list entries; Between the loop cycle of signal, implement the unequal interval sampling, in loop cycle, implement the count equiphase sampling unit (101) of equal interval sampling of fixed sample;
Be used for said compression list entries is carried out the compression unit (102) of processed compressed;
Said analog signal is connected with the input of said equiphase sampling unit (101), and the output of said equiphase sampling unit (101) is connected with said compression unit (102).
2. according to the device of the said realization electric power system data self-adapting compression of claim 1, it is characterized in that: the device of said realization electric power system data self-adapting compression also comprises:
Be used for said compression unit (102) packed data is formed the decompress(ion) output sequence after decompression, to recover the decompression unit (103) of original signal waveform, the input of said decompression unit (103) is connected with the output of said compression unit (102).
3. the device that compresses according to the said realization electric power system data self-adapting of claim 1; It is characterized in that: said equiphase sampling unit (101) further comprises filter unit (201), comparator unit (202), sampling pulse generation unit (203), time mark generator unit (204), frequency overlapped-resistable filter unit (205) and synchronized sampling unit (206); Wherein, Said filter unit (201) is connected with said comparator unit (202); Said comparator unit (202) is connected with said time mark generator unit (204) with said sampling pulse generation unit (203) respectively; Said sampling pulse generation unit (203) is connected with said synchronized sampling unit (206), and said frequency overlapped-resistable filter unit (205) is connected with said synchronized sampling unit (206); Said filter unit (201) is a band pass filter, and the passband central frequency of said band pass filter is 50Hz;
Said comparator unit (202) compares analog signal and no-voltage after the harmonic carcellation interference for being used for, to produce the comparator of zero crossing pulse signal;
Said sampling pulse generation unit (203); Be used for according to the rising edge timing of internal clocking, produce the zero crossing time series, and carry out mathematical statistics according to said zero crossing time series in each zero crossing pulse; Eliminate and measure random error; Predict the moment of next zero crossing pulse, confirm the sample frequency of current period, realize the equiphase sampling according to predicted value;
Said time mark generator unit (204) is for being used for according to zero crossing pulse target time mark generator when accurately time signal produces zero crossing;
Said frequency overlapped-resistable filter unit (205) is that primary signal is implemented LPF, to satisfy the frequency overlapped-resistable filter of Shannon's sampling theorem;
Said synchronized sampling unit (206) is used for according to said sample frequency the analog signal after said frequency overlapped-resistable filter cell processing being carried out equiphase sampling and output sampled value.
4. the device that compresses according to the said realization electric power system data self-adapting of claim 1; It is characterized in that: said equiphase sampling unit (101) is identical with sampling number between the cycle in the cycle; Preserve a temporal information in each equiphase sampling period; And with this temporal information employing delta modulation code processing, said temporal information is multi-way shared.
5. method that realizes electric power system data self-adapting compression, it is characterized in that: said electric power system data self-adapting compression method comprises step:
A: input signal is carried out the sampling of synchronous equiphase, obtain compressing list entries, said synchronous equiphase is sampled as implements the unequal interval sampling between the loop cycle of signal, in loop cycle, implements the fixed sample equal interval sampling of counting;
B: said compression list entries is carried out the compression of equiphase point sequence.
6. according to the method for the said realization electric power system data self-adapting compression of claim 5, it is characterized in that: said electric power system data self-adapting compression method further comprises step:
C: packed data is carried out decompress(ion), obtain the decompress(ion) output sequence.
7. according to the method for the said realization electric power system data self-adapting compression of claim 5, it is characterized in that: said step a comprises substep:
A1: analog passband signal is crossed filter unit (201) carry out Filtering Processing, harmonic carcellation disturbs, and passes through comparator unit (202) again and produces the zero crossing pulse signal;
A2: utilize said zero crossing pulse signal to generate the zero crossing time series through the pulse generation unit, and handle according to said time series, statistics is eliminated and is measured random error;
A3: predict next zero crossing pulse constantly, and confirm the sampling instant of each sampled point in the current period to utilize said sampling instant to carry out the equiphase sampling, obtain compressing list entries according to predicted value.
8. according to the method for the said realization electric power system data self-adapting compression of claim 6, it is characterized in that: said step b comprises substep:
B1: carry out data processing; Said compression list entries is transformed into two-dimensional space from the one-dimensional space; The matrix of forming one
Figure DEST_PATH_IMAGE001
size; Calculate the mean value of each row, deduct its corresponding average of being expert at each element in the matrix;
B2: carry out wavelet decomposition; Utilize integer lifting wavelet transform that each row of gained matrix among the said step b1 is carried out K layer wavelet decomposition; The low frequency coefficient that only keeps K layer wavelet decomposition; Obtain the coefficient matrix of one
Figure 299801DEST_PATH_IMAGE002
size; Wherein, A is the number of the low frequency coefficient of K layer wavelet decomposition;
B3: carry out compressed encoding, coefficient matrix of
Figure 216941DEST_PATH_IMAGE002
size that M mean value that obtains said step b1 and said step b2 obtain carries out entropy coding and forms compressed file;
Said M is the sampling number in each cycle, and said N is a periodicity.
9. the method for said according to Claim 8 realization electric power system data self-adapting compression, it is characterized in that: said step c comprises substep:
C1: carry out decoding processing; Compressed file is carried out the entropy decoding, obtain M mean value and
Figure 934362DEST_PATH_IMAGE002
coefficient matrix;
C2: carry out wavelet reconstruction; With each this line data of line reconstruction in the coefficient matrix, obtain
Figure 771649DEST_PATH_IMAGE001
restructuring matrix;
C3: carry out data processing, each element of said restructuring matrix is added institute's corresponding average of being expert at, then restructuring matrix is carried out two dimension to one dimension conversion generation output sequence;
Said M is the sampling number in each cycle, and said N is a periodicity, and A is the number of the low frequency coefficient of K layer wavelet decomposition.
CN200910106679A 2009-04-17 2009-04-17 Device for achieving electric power system data self-adapting compression and method thereof Active CN101527585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910106679A CN101527585B (en) 2009-04-17 2009-04-17 Device for achieving electric power system data self-adapting compression and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910106679A CN101527585B (en) 2009-04-17 2009-04-17 Device for achieving electric power system data self-adapting compression and method thereof

Publications (2)

Publication Number Publication Date
CN101527585A CN101527585A (en) 2009-09-09
CN101527585B true CN101527585B (en) 2012-09-05

Family

ID=41095304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910106679A Active CN101527585B (en) 2009-04-17 2009-04-17 Device for achieving electric power system data self-adapting compression and method thereof

Country Status (1)

Country Link
CN (1) CN101527585B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102723954B (en) * 2012-05-11 2014-10-22 南京恒星自动化设备有限公司 Compression algorithm for telemetry data of time mark based on dynamic dead zone and inflection point judgment
CN103513167B (en) * 2013-09-18 2016-03-30 北京四方继保自动化股份有限公司 Based on the switch partial discharge state monitoring apparatus of Board of Distributed Network Constructed
CN104883191B (en) * 2014-02-28 2018-08-28 山东共达电声股份有限公司 A kind of analog-digital converter including adaptive noise conceller
CN106841086B (en) * 2016-11-22 2019-05-24 北京空间机电研究所 A method of improving Atmospheric Survey Fourier spectrometer signal-to-noise ratio
CN107102220B (en) * 2017-03-14 2019-11-15 全球能源互联网研究院有限公司 Recorder data processing method and processing device
CN107835025B (en) * 2017-11-21 2021-05-25 东北电力大学 Adaptive compression method and system for historical data of power load
DE102018208118A1 (en) * 2018-05-23 2019-11-28 Robert Bosch Gmbh Method and apparatus for authenticating a message transmitted over a bus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1806390A (en) * 2003-06-10 2006-07-19 西门子公司 His data compression
CN101038303A (en) * 2007-02-07 2007-09-19 深圳市双合电脑系统股份有限公司 Compression method for electric power waveform recording date
US7394410B1 (en) * 2004-02-13 2008-07-01 Samplify Systems, Inc. Enhanced data converters using compression and decompression

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1806390A (en) * 2003-06-10 2006-07-19 西门子公司 His data compression
US7394410B1 (en) * 2004-02-13 2008-07-01 Samplify Systems, Inc. Enhanced data converters using compression and decompression
CN101038303A (en) * 2007-02-07 2007-09-19 深圳市双合电脑系统股份有限公司 Compression method for electric power waveform recording date

Also Published As

Publication number Publication date
CN101527585A (en) 2009-09-09

Similar Documents

Publication Publication Date Title
CN101527585B (en) Device for achieving electric power system data self-adapting compression and method thereof
O’Connor et al. Compressed sensing embedded in an operational wireless sensor network to achieve energy efficiency in long-term monitoring applications
Li et al. Compressed sensing signal and data acquisition in wireless sensor networks and internet of things
Das et al. Application of compressive sampling in synchrophasor data communication in WAMS
CN107689795B (en) Multi-region power control method based on real-time compressed sensing
CN103457609B (en) Fault recorder data Lossless Compression, decompression method
Tate Preprocessing and Golomb–Rice encoding for lossless compression of phasor angle data
Leus et al. Recovering second-order statistics from compressive measurements
Chen et al. A frechet mean approach for compressive sensing date acquisition and reconstruction in wireless sensor networks
Silva et al. Gapless power-quality disturbance recorder
CN108918930B (en) Power signal self-adaptive reconstruction method in load decomposition
Wang et al. Compressive sensing reconstruction for vibration signals based on the improved fast iterative shrinkage-thresholding algorithm
Sarkar et al. Development of lossless compression algorithms for power system operational data
Fehér et al. Smart meter data compression using generalized deduplication
CN102394657B (en) Real-time power quality data compression algorithm
CN103701468A (en) Data compression and decompression method on basis of orthogonal wavelet packet transform and rotating door algorithm
Louie et al. Lossless compression of wind plant data
Hao et al. Sequential compressive sensing in wireless sensor networks
EP4123862A1 (en) Systems and methods for optimal synchrophasor data recovery
Qiu et al. Lossless compression of synchro-waveform measurements for smart grid monitoring
CN103427845A (en) Method for compressing and reconstructing harmonic data of power system on basis of two-dimensional block DCT (discrete cosine transformation)
Adnani et al. Energy‐efficient data reconstruction algorithm for spatially‐and temporally correlated data in wireless sensor networks
CN102946394A (en) Oscillation waveform characteristic based method for compression, transmission and reconfiguration of power grid dynamic process data in supervisory control and data acquisition (SCADA) system
Shi et al. AIC-based Distributed Photovoltaic Data Compression Sensing Method
Ding et al. A Real-Time Compression Method of Power System Waveform Data Based on 2-D Lifting Wavelet Transform and Deflate Algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant