Secondary mean filtering algorithm for instruments and meters

A technology of mean filtering and instrumentation, applied in the field of secondary mean filtering algorithm of instrumentation, which can solve the problems of not wide enough filtering range, the mean result is not output in a flow mode, and cannot meet the filtering effect, etc., and achieves flexible selection and high reliability. , the effect of high execution efficiency

Active Publication Date: 2021-04-20
BEIJING DAHUA RADIO INSTR FACTORY
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is: the average result is not output in a pipeline
[0015] The filtering of the above-mentioned prior art cannot meet the filtering effect of the acquisition results of parameters such as readback voltage and current in the instrumentation equipment, and the disadvantages are summarized as follows:
[0016] High sampling rate, low filtering frequency takes up too much resources;
[0017] The filter frequency adjustment is not flexible enough, and the filter range is not wide enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Secondary mean filtering algorithm for instruments and meters
  • Secondary mean filtering algorithm for instruments and meters
  • Secondary mean filtering algorithm for instruments and meters

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0040] Specific examples, such as Figure 4 Shown:

[0041] 1. The FPGA controls the ADC to collect voltage and current values ​​every 4us as input data.

[0042] 2. Every time the collected data enters the filter, it is added to the first-order accumulation result Reg_1order_Add_Sum, and at the same time, the first-order accumulation counter Reg_1order_Add_Num is incremented by 1.

[0043] 3. Judging whether the a-th bit of the level 1 accumulative counter Reg_1order_Add_Num becomes 1. If it is 0, go back to step 1. If it is 1, intercept the data bit Reg_1order_Add_Sum[a+15:a] above the a-bit of the first-level accumulation result, and use it as the input data Reg_1order_Add_Avg of the second-order mean value filter, and clear the first-level accumulation counter Reg_1order_Add_Num to 0 and the first-level accumulation The result Reg_1order_Add_Sum is 0. Simultaneously trigger the summation operation of this result and the 2-level cumulative result Reg_2order_Add_Sum, add...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a secondary mean filtering algorithm for instruments and meters, which adopts secondary filtering, filtering parameters are set as follows: a = 11, b = 4, and the filtering period is 131.072 ms; wherein the sampling rate is 4 us, 2n is adopted as the accumulation frequency, and a divider is not adopted. An acquisition result is filtered based on FPGA high-speed AD acquisition, and the algorithm is also suitable for effective filtering processing of other controllers after high-speed AD acquisition. The authenticity and stability of the voltage and current readback value of the instrument head can be ensured, the reliability is high, the filtering frequency can be flexibly selected in an extremely wide width range, and the execution efficiency is high.

Description

technical field [0001] The invention relates to an instrument, in particular to an instrument and meter secondary mean filtering algorithm. Background technique [0002] In order to ensure the authenticity and stability of the voltage and current readback values ​​of the instrument meter head, it is necessary to pass certain processing technology to meet the filtering effect of the acquisition results of the readback voltage and current parameters in the instrumentation equipment. [0003] In the prior art: [0004] 1. Finite (FIR) filtering, such as figure 1 Shown: [0005] Under high-frequency sampling, the filter order increases too much when the low-pass filter frequency is higher, which leads to occupying too many FPGA resources and cannot be synthesized and laid out. And because the normalization is difficult when the coefficient is an integer, the filtering result is attenuated; and the floating-point operation takes up more resources, and the execution efficiency ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H03H17/02
Inventor王夏伟王伟闫立超许京涛张波
OwnerBEIJING DAHUA RADIO INSTR FACTORY