A kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation

文档序号:1741039 发布日期:2019-11-26 浏览:25次 中文

阅读说明:本技术 一种基于小波变换的非正弦波无功功率测量系统 (A kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation ) 是由 范亦能 于 2018-05-16 设计创作,主要内容包括:本发明公开了一种基于小波变换的非正弦波无功功率测量系统,该测量系统基于小波变换分析实现,采用小波变换系统对非正弦波信号进行无功功率测量,所述小波变换系统包括数据选择模块、地址生成模块、数据存储模块、滤波模块、时钟变换模块和系数存储模块;所述系数存储模块包括近似系数存储子模块和细节系数存储子模块;所述滤波模块包括低通滤波器和高通滤波器;本发明基于小波变换分析实现,在硬件上实现三层小波分解变换,计算精度高,测量可靠性高。(The non-sinusoidal waveform wattless power measurement system based on wavelet transformation that the invention discloses a kind of, the measuring system is realized based on wavelet transformation analysis, wattless power measurement is carried out to nonsinusoidal wave using Wavelet transform system, the Wavelet transform system includes data selecting module, address generation module, data memory module, filter module, clock conversion module and coefficient memory module;The coefficient memory module includes approximation coefficient sub-module stored and detail coefficients sub-module stored;The filter module includes low-pass filter and high-pass filter;The present invention is based on wavelet transformation analysis realizations, and three layers of wavelet decomposition transform are realized on hardware, and computational accuracy is high, and Measurement reliability is high.)

1. a kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation, which is characterized in that the measuring system is based on small Wave conversion analysis is realized, carries out wattless power measurement to nonsinusoidal wave using Wavelet transform system;The wavelet transformation system System includes data selecting module, address generation module, data memory module, filter module, clock conversion module and coefficient storage Module;The data selecting module selects the nonsinusoidal wave data for needing to carry out wavelet decomposition transform;The number It is connected according to selecting module with the output end of the input terminal of data memory module, coefficient memory module;The address generation module with The input terminal of data memory module is connected, and the data memory module is also connected with the input terminal of filter module;The filtering mould Block is connected with the input terminal of coefficient memory module;The clock conversion module is connected with the input terminal of coefficient memory module;It is described Coefficient memory module includes approximation coefficient sub-module stored and detail coefficients sub-module stored.

2. a kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation according to claim 1, feature exist In the measuring system is realized based on programmable logic device.

3. a kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation according to claim 1, feature exist In the filter module includes low-pass filter and high-pass filter.

Technical field

The present invention relates to power system measuring fields, and in particular to a kind of non-sinusoidal waveform reactive power based on wavelet transformation Measuring system.

Background technique

Electric energy is as the widely used energy of people, the social life such as relationship between quality to industrial and agricultural production, people's lives Every aspect.As technology develops, power electronic equipment is widely used, and there is a large amount of energy streams in electric power networks Dynamic, the increase of idle work threatens the safety of electric power networks.It therefore, is highly important to the measurement of reactive power in power grid.

At this stage, for there are many kinds of the methods of wattless power measurement, one of the most common method is Fourier analysis method. Fourier analysis is suitable for the signal of cyclic stationary, and for some non-stationary signals with catastrophe characteristics, resolution ratio is not high. In electric power networks, there is distortion in voltage current waveform, cannot carry out well power measurement with Fourier analysis method at this time.

Summary of the invention

For above-mentioned technical problem of the existing technology, the invention proposes a kind of non-sinusoidal waveforms based on wavelet transformation Wattless power measurement system, the system are analyzed to realize the idle function of nonsinusoidal wave in electric power signal using wavelet decomposition transform Rate measurement.

The present invention is achieved through the following technical solutions:

A kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation, which is characterized in that the measuring system is based on Wavelet transformation analysis is realized, carries out wattless power measurement to nonsinusoidal wave using Wavelet transform system;The wavelet transformation System includes that data selecting module, address generation module, data memory module, filter module, clock conversion module and coefficient are deposited Store up module;The data selecting module selects the nonsinusoidal wave data for needing to carry out wavelet decomposition transform;It is described Data selecting module is connected with the output end of the input terminal of data memory module, coefficient memory module;The address generation module It is connected with the input terminal of data memory module, the data memory module is also connected with the input terminal of filter module;The filtering Module is connected with the input terminal of coefficient memory module;The clock conversion module is connected with the input terminal of coefficient memory module;Institute Stating coefficient memory module includes approximation coefficient sub-module stored and detail coefficients sub-module stored.

Preferably, which is realized based on programmable logic device.

Preferably, the filter module includes low-pass filter and high-pass filter.

The present invention has the advantage that and the utility model has the advantages that

Measuring system of the invention uses Wavelet transform system, is realized based on wavelet transformation analysis, three are realized on hardware Layer wavelet decomposition transform, computational accuracy is high, and Measurement reliability is high, it is easy to accomplish.

Detailed description of the invention

Attached drawing described herein is used to provide to further understand the embodiment of the present invention, constitutes one of the application Point, do not constitute the restriction to the embodiment of the present invention.In the accompanying drawings:

Fig. 1 is measuring system structure chart of the invention.

Fig. 2 is measuring system implementation flow chart of the invention.

Fig. 3 is coefficient of wavelet decomposition curve graph of the invention.

Fig. 4 is coefficient of wavelet decomposition Error Graph of the invention.

Specific embodiment

To make the objectives, technical solutions, and advantages of the present invention clearer, below with reference to embodiment and attached drawing, to this Invention is described in further detail, and exemplary embodiment of the invention and its explanation for explaining only the invention, are not made For limitation of the invention.

Referring to Fig.1, a kind of non-sinusoidal waveform wattless power measurement system based on wavelet transformation of the present embodiment, the measurement system System is realized based on programmable logic device, carries out wattless power measurement to nonsinusoidal wave using Wavelet transform system, described Wavelet transform system includes: signal data selecting module A, address signal generation module B, signal data memory module C, filter Group module D, work clock conversion module E and coefficient of wavelet decomposition memory module F.Wherein, address signal generation module B includes to read Write signal judgement and wavelet decomposition number judging submodule, address generate submodule, and signal data memory module C includes more than original The memory space that one times of beginning signal data, filter bank block D include that low pass resolution filter Lo_D submodule and high pass are decomposed Filter Hi_D submodule, work clock conversion module E include that clock division submodule and work clock select submodule, small echo Decomposition coefficient memory module F includes two memory modules of approximation coefficient sub-module stored and detail coefficients sub-module stored.Signal Data selecting module A realizes signal data selection, judges wavelet decomposition transform number, exports original signal data or last time Signal data after wavelet decomposition transform, the data for receiving the output data output simultaneously of coefficient of wavelet decomposition memory module F are sent Enter in signal data memory module C.Address signal generation module B realize address signal generation, according to the difference of read-write, The difference of wavelet transformation number generates different address signals, and for storing to signal data, the address signal of generation is sent Enter in signal data memory module C.Signal data memory module C realizes the storage and reading of signal data, according to address signal The signal data selecting module A data exported are carried out storage or deposit signal data by the address signal that generation module B is generated The data stored up in module C are taken out, and the data of output are sent into filter bank block D.The filter of filter bank block D realization signal Wave, the data taken out from signal data memory module C carry out low-pass filtering and high-pass filtering by filter group, to signal, The data of the signal after signal and high-pass filtering after obtaining low-pass filtering, output are sent into coefficient of wavelet decomposition memory module F. Work clock conversion module E realizes the transformation of work clock, when working when the signal exported to filter group carries out down-sampling Clock frequency is the half of filter group clock frequency, the clock frequency when reading data into coefficient of wavelet decomposition memory module F Identical as filter group clock frequency, the clock signal of generation is sent into coefficient of wavelet decomposition memory module F.Coefficient of wavelet decomposition Memory module F realizes the storage and reading of wavelet coefficient, when storage will work clock conversion module E output signal pass through under adopt It is stored in coefficient of wavelet decomposition memory module F after sample, is stored in detail coefficients after the signal down-sampling that high-pass filter filters out and deposits Submodule is stored up, is stored in approximation coefficient sub-module stored after the signal down-sampling that low-pass filter filters out;By small wavelength-division when reading The data that store are read in solution coefficient memory module F, by detail coefficients sub-module stored detail coefficients and approximation coefficient deposit The approximation coefficient of storage submodule exports simultaneously, and wherein approximation coefficient will be also input in signal data selecting module A.

The working principle of this system is as follows:

Signal data selecting module A is the original state to needing the signal data for carrying out wavelet decomposition transform to select Under do not carried out wavelet decomposition transform, at this time signal data selecting module A export original signal data;When the too small wavelength-division of progress When solution transformation, signal data selecting module A exports the signal data after last wavelet decomposition transform.

Address signal generation module B is the address signal for generating memory, in stored signal data selecting module A output When M data, then last storage Signal Message Address regenerates M address to address signal;Reading signal data memory module C In data when, the coefficient of filter is L, needs to export (M+L-1) a data, and address signal stores signal ground from the last time The initial address of location regenerates a address (M+L-1).

Signal data memory module C is stored to the signal data of signal data selecting module A output, the letter of output Input of the number as filter bank block D.According to the address signal that address signal generation module B is exported, accordingly In location storing data or data are read from corresponding address.

Filter bank block D is filtered to the signal data of signal data memory module C output.Filter bank block D includes low pass resolution filter Lo_D submodule and high pass resolution filter Hi_D submodule, defeated from signal data memory module C N number of signal data out respectively obtains N number of filtered signal data after wave filter Lo_D and filter Hi_D.

Work clock conversion module E is the operating clock signals of coefficient of wavelet decomposition memory module F.It is decomposed according to Mallat Algorithm,

And wherein, Cj+1, m are these Approximation coefficient, the Dj+1 of secondary wavelet decomposition, m are the detail coefficients of this wavelet decomposition, Cj, and k is the close of last wavelet decomposition It is the approximation coefficient kth that low-pass filter coefficients, h1 are high-pass filter coefficient, k indicates last wavelet decomposition like coefficient, h0 Position, m indicate m of this coefficient of wavelet decomposition.So the output data of filter bank block D is stored in wavelet decomposition system When in number memory module F, when the working clock frequency of coefficient of wavelet decomposition memory module F should be the work of filter bank block D The half of clock frequency realizes down-sampling process after filtering.When reading the data in coefficient of wavelet decomposition memory module F, then not Changed with being made to operating clock signals frequency, it is identical as the working clock frequency of filter bank block D.

Coefficient of wavelet decomposition memory module F is the storage and reading to wavelet coefficient.Under the signal that high-pass filter filters out It is stored in detail coefficients sub-module stored after sampling, approximation coefficient storage is stored in after the signal down-sampling that low-pass filter filters out Submodule.According to Mallat algorithm, this layer of approximation coefficient, detail coefficients are to do wavelet decomposition transform to upper one layer of approximation coefficient to obtain It arrives, so the signal data in approximation coefficient memory needs to be input in signal data selecting module A.

Referring to Fig. 2, the measuring system workflow of the present embodiment is as follows:

Step 1, the signal data of input is selected, signal data to be processed needed for exporting.

Signal data selecting module A judges whether system carried out wavelet decomposition transform, if not carrying out too small wavelength-division Solution, which converts or be completed three layers of wavelet decomposition transform, then indicates that the marking signal of wavelet decomposition transform number is " 00 ", exports at this time It is original signal data;If the marking signal for indicating wavelet decomposition transform number is not " 00 ", i.e. wavelet transformation has carried out It crosses wavelet decomposition transform and does not complete three layers of wavelet decomposition transform, exporting at this time is that the approximate of last wavelet decomposition transform is Number signal data.

Step 2, the address signal of signal data memory module is generated.

2.1) judge whether system carried out resetting operation, if system reset, address signal zeros data at this time.

2.2) according to the value of read-write, judging system at this time is to carry out read operation to signal data memory module or write Operation.If the value of read-write is ' 1 ', system is to carry out read operation to signal data memory module at this time, it is known that filtering Device coefficient is L, is generated and a address (M+L-1) since this initial address;If the value of read-write is ' 0 ', it is System is to carry out write operation to signal data memory module at this time, is generated and signal data selecting module since this initial address Export the identical M address of number.

2.3) initial address position is determined according to the marking signal of expression wavelet decomposition transform number, reserves address sky Between.Due to wavelet decomposition transform of every progress, data amount check reduces half, if the ground that last wavelet decomposition transform is reserved Location space is N, then the reserved address space of this wavelet decomposition transform is N/2.

Step 3, signal data memory module is to needing the signal data for carrying out wavelet decomposition transform to be stored and read.

According to read-write and address signal, to needing the signal data for carrying out wavelet decomposition transform to be accessed and read It takes.When the value of read-write is ' 1 ', read operation is carried out;When the value of read-write is ' 0 ', write operation is carried out.

Step 4, low-pass filtering and high-pass filtering are carried out to the signal data of signal data memory module output.

Step 5, the work clock of coefficient of wavelet decomposition memory module is converted.

5.1) frequency-separating transform, the new work clock of generation are carried out with the clock signal of frequency to the work clock with filter group Frequency is original half.

5.2) work clock is selected.According to the value of read-write, judging system at this time is to coefficient of wavelet decomposition Memory module carries out read operation or write operation.When the value of read-write be ' 1 ' when, carry out read operation, export at this time to filter Work clock of the work clock of wave device group with frequency;When the value of read-write is ' 0 ', write operation is carried out, is exported at this time 5.1) The new work clock of middle generation.

Step 6, coefficient of wavelet decomposition memory module is stored and is read to wavelet coefficient.

6.1) wavelet coefficient is stored using the work clock in step 5, the value of read-write is ' 0 ' at this time, will It is stored in detail coefficients memory by the signal data of high pass resolution filter Hi_D, will pass through low pass resolution filter Lo_D's Signal data is stored in approximation coefficient memory.

6.2) signal data in wavelet coefficient memory module is exported using the work clock in step 5, is read and write at this time The value of signal is ' 1 '.Wherein, the approximation coefficient in approximation coefficient memory is input to signal data selection mould while output In block.

Emulation experiment is carried out to the present invention and obtains the wavelet coefficient theoretical calculation and wavelet transformation proposed by the present invention such as Fig. 3 The comparison diagram of the wavelet coefficient values of system-computed;And the wavelet coefficient that the Wavelet transform system proposed by the present invention of Fig. 4 calculates Error Graph between value and theoretical value.By Fig. 3-4 it can be seen that Wavelet transform system calculating of the invention is exactly accurate, for prominent The wavelet coefficient of varying signal calculates particularly evident.

Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于电力信号无功功率测量的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!