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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


