A Filtering Algorithm and Its Detector

A filtering algorithm and measurement technology, applied in instruments, calculations, analog-to-digital converters, etc., can solve problems such as uneven waveforms, large jumps, and discontinuous sensor signal display, achieve smooth changes, ensure correctness, and solve problems. The effect of large data beating

Active Publication Date: 2020-12-04
SHENZHEN CITY WUYANJIE TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the deficiencies in the prior art above, the purpose of the present invention is to provide a filter algorithm and its detector to solve the problems of discontinuous display, large jumps and unsmooth waveforms in the processing of sensor signals by existing instruments. question

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
  • A Filtering Algorithm and Its Detector
  • A Filtering Algorithm and Its Detector
  • A Filtering Algorithm and Its Detector

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The invention provides a filter algorithm and its detector, which are suitable for signal processing of instruments, gas detectors, portable gas detectors and other instruments; the calculated value is compared with the displayed value, and the displayed value is adjusted according to the comparison result, so that the displayed value Continuous display, small jump and smooth data. In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] Please also see figure 1 and figure 2 , the filtering algorithm of the detector provided by the present invention includes:

[0033] S100, the analog-to-digital converter collects preset data in the sam...

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 filtering algorithm and a detector thereof. The filtering algorithm comprises the steps that A, an analog-digital converter collects a preset amount of data in a sampling period and transmits the data into a central processing unit for mean value calculation, and a measured value is obtained; B, the central processing unit compares the measured value with a current display value, wherein when the measured value is within a preset range of the display value, the step C is executed; and when the measured value is outside the preset range of the display value, the step Dis executed; C, if the measured value is greater than the display value continuously in a preset number of times, the display value is increased step by step; if the measured value is smaller than the display value continuously in a preset number of times, the display value is decreased step by step; and the display value is displayed, and the step A is returned to for calculation in a next sampling period; and D, when it is judged that the measured value is greater than or smaller than the display value continuously in a preset number of times, the display value is displayed, and the step Ais returned to for calculation in the next sampling period. According to the filtering algorithm, the display value is increased / decreased step by step, so that a display result changes smoothly, andanti-interference performance is strong.

Description

technical field [0001] The invention relates to the technical field of instruments and meters, in particular to a filtering algorithm and a detector thereof. Background technique [0002] In the existing field of instrumentation, the instrument is required to have the characteristics of strong anti-interference, continuous change of value, fast response speed, and algorithm flexibility. The acquisition and processing method of sensor signals by existing instruments is usually as follows: remove the maximum value and minimum value of these sampled values ​​after multiple sampling, and calculate the average value of the remaining sampled values, so as to realize the filtering of the collected signal. Although this method can filter and smooth the signal to a certain extent, the calculated average value will have the disadvantages of discontinuous display, large jumps, and unsmooth waveform; it cannot meet the existing requirements for instruments. [0003] Thereby prior art s...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/05G06F3/14H03M1/12
CPCG06F3/05G06F3/1407H03M1/1245
Inventor 王立升刘成杰张俊秦登明武艳萍
Owner SHENZHEN CITY WUYANJIE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products