A kind of system for electric power signal wattless power measurement

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

阅读说明:本技术 一种用于电力信号无功功率测量的系统 (A kind of system for electric power signal wattless power measurement ) 是由 范亦能 于 2018-05-16 设计创作,主要内容包括:本发明公开了一种用于电力信号无功功率测量的系统,该系统采用小波变换系统对电力信号进行无功功率测量,所述小波变换系统包括数据选择模块、地址生成模块、数据存储模块、滤波模块、时钟变换模块和参数存储模块;所述数据选择模块对需要进行小波分解变换的电力信号数据进行选择;所述数据选择模块与数据存储模块的输入端、参数存储模块的输出端相连;所述地址生成模块与数据存储模块的输入端相连,所述数据存储模块还与滤波模块的输入端相连;所述滤波模块与参数存储模块的输入端相连;所述时钟变换模块与参数存储模块的输入端相连;本发明基于可编程逻辑器件实现,在硬件上实现三层小波分解变换,计算精度高,测量可靠性高。(The invention discloses a kind of systems for electric power signal wattless power measurement, the system carries out wattless power measurement to electric power signal using Wavelet transform system, and the Wavelet transform system includes data selecting module, address generation module, data memory module, filter module, clock conversion module and parameter memory module;The data selecting module selects the electric power signal data for needing to carry out wavelet decomposition transform;The data selecting module is connected with the output end of the input terminal of data memory module, parameter memory module;The address generation module is connected with the input terminal of data memory module, and the data memory module is also connected with the input terminal of filter module;The filter module is connected with the input terminal of parameter memory module;The clock conversion module is connected with the input terminal of parameter memory module;The present invention is based on programmable logic device 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 system for electric power signal wattless power measurement, which is characterized in that believed using Wavelet transform system electric power Number carry out wattless power measurement;The Wavelet transform system includes data selecting module, address generation module, data storage mould Block, filter module, clock conversion module and parameter memory module;The data selecting module is to needing to carry out wavelet decomposition transform Electric power signal data selected;The input terminal of the data selecting module and data memory module, parameter memory module Output end is connected;The address generation module is connected with the input terminal of data memory module, the data memory module also with filter The input terminal of wave module is connected;The filter module is connected with the input terminal of parameter memory module;The clock conversion module with The input terminal of parameter memory module is connected.

2. a kind of system for electric power signal wattless power measurement according to claim 1, which is characterized in that described small Wave conversion system is realized based on programmable logic device.

3. a kind of system for electric power signal wattless power measurement according to claim 1, which is characterized in that the filter Wave 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 to be for electric power signal wattless power measurement 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 one kind to survey for electric power signal reactive power The system of amount, the system are analyzed to realize nonsinusoidal signal wattless power measurement in electric power signal using wavelet decomposition transform.

The present invention is achieved through the following technical solutions:

A kind of system for electric power signal wattless power measurement carries out electric power signal using Wavelet transform system idle Power measurement;The Wavelet transform system include data selecting module, address generation module, data memory module, filter module, Clock conversion module and parameter memory module;The data selecting module is to the electric power signal number for needing to carry out wavelet decomposition transform According to being selected;The data selecting module is connected with the output end of the input terminal of data memory module, parameter memory module;Institute Address generation module is stated to be connected with the input terminal of data memory module, the data memory module also with the input terminal of filter module It is connected;The filter module is connected with the input terminal of parameter memory module;The clock conversion module and parameter memory module Input terminal is connected.

Preferably, the Wavelet transform system 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, and three layers of wavelet decomposition transform are realized on hardware, calculates essence Degree 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 Wavelet transform system structure chart of the invention.

Fig. 2 is the implementation flow chart of wavelet decomposition transform 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 system for electric power signal wattless power measurement of the present embodiment, using Wavelet transform system Wattless power measurement is carried out to electric power signal, Wavelet transform system described in the present embodiment is realized based on programmable logic device, Such as FPGA, the Wavelet transform system include: signal data selecting module A, address signal generation module B, signal data is deposited Store up module C, filter bank block D, work clock conversion module E and coefficient of wavelet decomposition memory module F.Wherein, address signal Generation module B includes read-write judgement and wavelet decomposition number judging submodule, address generate submodule, signal data storage Module C includes the memory space more than one times of original signal data, and filter bank block D includes low pass resolution filter Lo_D Module and high pass resolution filter Hi_D submodule, work clock conversion module E include clock division submodule and work clock Submodule is selected, coefficient of wavelet decomposition memory module F includes approximation coefficient sub-module stored and detail coefficients sub-module stored two A memory module.Signal data selecting module A realizes signal data selection, judges wavelet decomposition transform number, exports original letter Signal data after number or last wavelet decomposition transform, receives the output data of coefficient of wavelet decomposition memory module F The data of output are sent into signal data memory module C simultaneously.Address signal generation module B realizes the generation of address signal, root According to the difference of read-write, the difference of wavelet transformation number, different address signals is generated, for depositing to signal data The address signal of storage, generation is sent into signal data memory module C.The storage of signal data memory module C realization signal data And reading, the signal data selecting module A data exported are deposited according to the address signal that address signal generation module B is generated It stores up or takes out the data in signal data memory module C, the data of output are sent into filter bank block D.Filter group Module D realizes the filtering of signal, and the data taken out from signal data memory module C carry out signal low by filter group The data of pass filter and high-pass filtering, the signal after signal and high-pass filtering after obtaining low-pass filtering, output are sent into small wavelength-division It solves in coefficient memory module F.Work clock conversion module E realizes the transformation of work clock, when the signal exported to filter group The half that working clock frequency when down-sampling is filter group clock frequency is carried out, when into coefficient of wavelet decomposition memory module F Clock frequency is identical as filter group clock frequency when reading data, and the clock signal of generation is sent into coefficient of wavelet decomposition and stores mould In block F.Coefficient of wavelet decomposition memory module F realizes the storage and reading of wavelet coefficient, by work clock conversion module E when storage The signal of output is stored in coefficient of wavelet decomposition memory module F after down-sampling, the signal down-sampling that high-pass filter filters out After be stored in detail coefficients sub-module stored, be stored in after the signal down-sampling that low-pass filter filters out approximation coefficient storage submodule Block;The data stored in coefficient of wavelet decomposition memory module F are read when reading, by the details in detail coefficients sub-module stored Coefficient and the approximation coefficient of approximation coefficient sub-module stored export simultaneously, and wherein approximation coefficient will also be input to signal data selection In modules 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 this wavelet decompositions Approximation coefficient, Dj+1, m are the detail coefficients of this wavelet decomposition, Cj, and it is low that k, which is the approximation coefficient of last wavelet decomposition, h0, Pass filter coefficient, h1 are that high-pass filter coefficient, k indicate that the approximation coefficient kth position of last wavelet decomposition, m indicate this M of coefficient of wavelet decomposition.So the output data of filter bank block D is stored in coefficient of wavelet decomposition memory module F When middle, the working clock frequency of coefficient of wavelet decomposition memory module F should be the one of the working clock frequency of filter bank block D Half, realize down-sampling process after filtering.When reading the data in coefficient of wavelet decomposition memory module F, then when not having to work Clock signal frequency, which is made, to be changed, 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 working-flow 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.

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.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于小波变换的非正弦波无功功率测量方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!