CN109884340A - A kind of accelerometer time domain temperature filtering method - Google Patents
A kind of accelerometer time domain temperature filtering method Download PDFInfo
- Publication number
- CN109884340A CN109884340A CN201910245882.0A CN201910245882A CN109884340A CN 109884340 A CN109884340 A CN 109884340A CN 201910245882 A CN201910245882 A CN 201910245882A CN 109884340 A CN109884340 A CN 109884340A
- Authority
- CN
- China
- Prior art keywords
- data
- accelerometer
- value
- filtering method
- filtering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention proposes a kind of accelerometer time domain temperature filtering methods, carry out a time-domain filtering by the result to accelerometer, can remove the temperature drift of accelerometer.This method subtracts all average values for saving data of previous second with Current observation data, saves as current record value.When just starting to work;Observation data in 1st second are to save data;Observation data in 2nd second subtract the average value of data all in first second to save data.Filtering method of the invention carries out a time-domain filtering by the result to accelerometer, can remove the temperature drift of accelerometer, has good practicability.
Description
Technical field
The present invention relates to time-domain filtering method technical fields, particularly relate to a kind of accelerometer time domain temperature filtering method.
Background technique
There are many time-domain filtering method type, mainly there is following 5 kinds.
1, average value filtering is generally divided into following 3 kinds.
1) digital averaging filtering method: N number of sampled value is continuously taken to carry out arithmetic average operation.When N value is larger, signal smoothing degree
It is higher, but sensitivity is lower;When N value is smaller, signal smoothing degree is lower, but sensitivity is higher.Suitable for having at random to general
The characteristics of signal of interference is filtered, this signal is that have an average value, signal upper and lower wave near a certain numberical range
It is dynamic.
2) the way of median average filter (also known as anti-impulse disturbances average filter method): it is equivalent to " middle position value filtering method "+" calculation
Art average filter method ", the N number of data of continuous sampling remove a maximum value and a minimum value, then calculate N-2 data
Arithmetic mean of instantaneous value, the selection of N value: 3~14.The advantages of having merged two kinds of filter methods interferes the pulse feature accidentally occurred,
The sampled value deviation due to caused by impulse disturbances can be eliminated.
3) moving average filter method: continuously taking N number of sampled value to regard a queue as, the length of queue is fixed as N, every time
It samples a new data and is just put into tail of the queue, and throw away first data (first in first out) of original head of the queue.In queue
N number of data carry out arithmetic average operation, so that it may obtain new filter result.
2, median filtering method: n times sampled value is sized in continuous sampling n times (N takes odd number), takes median for this
Secondary virtual value.This algorithm is to take intermediate value, therefore sampling number should be odd number, general 3~5 times.Can effectively overcome because it is accidental because
Fluctuation interference caused by plain
3, limit filtration method: rule of thumb judging, the maximum deflection difference value (being set as A) for determining that double sampling allows detects every time
Judged when new value, if the difference A of this sub-value and upper sub-value, this sub-value is invalid, abandons this sub-value, replaces this with sub-value
Sub-value.Impulse disturbances caused by capable of effectively overcoming because of accidentalia, being distorted caused by unstable to random disturbances or sampler has
Good filter effect.
4, first-order lag filter method: taking a=0 ~ 1, this filter result=(1-a) * this sampled value+a* last time filters knot
Fruit.There is good inhibiting effect to be suitable for vibration frequency higher occasion PERIODIC INTERFERENCE.
5, picture signal high-pass filtering method:
These methods be not to the filtering of the temperature of accelerometer it is very applicable, the frequency variation of accelerometer measures is generally
1Hz or more, the variation of temperature are usually with 24 hours for a period, and corresponding frequency is about 0.00001Hz.Remove temperature change
Influence to accelerometer acceleration, both for the progress high-pass filtering of time domain observed result.The high-pass filtering method of figure signal and
Here using closest, be all that low-pass signal is removed using current demand signal.Its difference is this for image filtering consideration
The low-pass signal of frame image;And what accelerometer considered is 1 second low-pass signal of the front.That is, for accelerometer
High-pass filtering, formula 1 is identical with the high-pass filtering of figure signal;F(n in its formula 2) to be changed to preceding 1 second all result
Average value;When just starting to work, special algorithm is set, keeps it stable as early as possible.
Summary of the invention
The present invention proposes a kind of accelerometer time domain temperature filtering method, when carrying out one by the result to accelerometer
Domain filtering, can remove the temperature drift of accelerometer.
The technical scheme of the present invention is realized as follows: a kind of accelerometer time domain temperature filtering method, uses Current observation
Data subtract all average values for saving data of previous second, save as current record value.
As a preferred embodiment,
When just starting to work;
Observation data in 1st second are to save data;
Observation data in 2nd second subtract the average value of data all in first second to save data.
After above-mentioned technical proposal, the beneficial effects of the present invention are: filtering method of the invention passes through to acceleration
The result of meter carries out a time-domain filtering, can remove the temperature drift of accelerometer.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is the schematic diagram of an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment:
Assuming that the sample frequency of accelerometer is 100Hz, i.e. sample 100 data in 1s, then when just starting to work, first 100
Sampled value directly saves, respectively S1、S2……S100, and find out its average value.
For the sampled data in 2s, the average value of data all in 1s is individually subtracted, is then protected
Deposit data obtains S101、S102……S200。
For the sampled data after 3s, since the 201st sampled value, before needing to be individually subtracted the point
100 save values, using result as the save value of the point.Such as the 202nd sampled value, first find out S102-S201It protects
The average value of value is deposited, then subtracts the average value with the 202nd sampled value, as a result the 202nd save value S202, with this
Analogize.
This method can carry out a time-domain filtering by the result to accelerometer, can remove the temperature of accelerometer
Drift has good practicability.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (2)
1. a kind of accelerometer time domain temperature filtering method, it is characterised in that: subtract all guarantors of previous second with Current observation data
The average value of deposit data saves as current record value.
2. accelerometer time domain temperature filtering method as described in claim 1, it is characterised in that: when just starting to work;
Observation data in 1st second are to save data;
Observation data in 2nd second subtract the average value of data all in first second to save data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910245882.0A CN109884340A (en) | 2019-03-29 | 2019-03-29 | A kind of accelerometer time domain temperature filtering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910245882.0A CN109884340A (en) | 2019-03-29 | 2019-03-29 | A kind of accelerometer time domain temperature filtering method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109884340A true CN109884340A (en) | 2019-06-14 |
Family
ID=66935073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910245882.0A Pending CN109884340A (en) | 2019-03-29 | 2019-03-29 | A kind of accelerometer time domain temperature filtering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109884340A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113331668A (en) * | 2020-03-03 | 2021-09-03 | 九阳股份有限公司 | Pulse type sensor data acquisition method applied to cooking appliance and cooking appliance |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137189A (en) * | 2006-08-28 | 2008-03-05 | 北京信威通信技术股份有限公司 | Method and system for detecting uplink accessing test sequence of TDD communication system |
CN102279084A (en) * | 2011-05-03 | 2011-12-14 | 西安工程大学 | Transmission line oscillation positioning system and method based on micro inertial measurement combination |
CN102298076A (en) * | 2010-04-27 | 2011-12-28 | 美新半导体(无锡)有限公司 | Method and apparatus for calibrating three-axis accelerometer |
CN102590553A (en) * | 2012-02-29 | 2012-07-18 | 北京航空航天大学 | Temperature compensation method for accelerometer based on wavelet noise elimination |
JP2013019837A (en) * | 2011-07-13 | 2013-01-31 | Advics Co Ltd | Output correction apparatus for vehicular acceleration sensor |
CN103954304A (en) * | 2014-05-21 | 2014-07-30 | 北京航天自动控制研究所 | Zero offset short and long-term change value testing method applied to MEMS (Micro-electromechanical Systems) inertia unit |
CN108015797A (en) * | 2017-12-01 | 2018-05-11 | 湖北工业大学 | A kind of RV speed reducer drives error on-line monitoring method |
CN108229022A (en) * | 2018-01-03 | 2018-06-29 | 清华大学 | Real-time method of the temperature to high frequency sampling Index Influence is rejected in a kind of bridge structure on-line monitoring |
CN108828266A (en) * | 2018-08-30 | 2018-11-16 | 衡阳市衡山科学城科技创新研究院有限公司 | A kind of median filter method and device for accelerometer calibration |
CN109238310A (en) * | 2018-11-05 | 2019-01-18 | 珠海全志科技股份有限公司 | A kind of pair of MEMS sensor carries out the method and device of temperature-compensating |
-
2019
- 2019-03-29 CN CN201910245882.0A patent/CN109884340A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137189A (en) * | 2006-08-28 | 2008-03-05 | 北京信威通信技术股份有限公司 | Method and system for detecting uplink accessing test sequence of TDD communication system |
CN102298076A (en) * | 2010-04-27 | 2011-12-28 | 美新半导体(无锡)有限公司 | Method and apparatus for calibrating three-axis accelerometer |
CN102279084A (en) * | 2011-05-03 | 2011-12-14 | 西安工程大学 | Transmission line oscillation positioning system and method based on micro inertial measurement combination |
JP2013019837A (en) * | 2011-07-13 | 2013-01-31 | Advics Co Ltd | Output correction apparatus for vehicular acceleration sensor |
CN102590553A (en) * | 2012-02-29 | 2012-07-18 | 北京航空航天大学 | Temperature compensation method for accelerometer based on wavelet noise elimination |
CN103954304A (en) * | 2014-05-21 | 2014-07-30 | 北京航天自动控制研究所 | Zero offset short and long-term change value testing method applied to MEMS (Micro-electromechanical Systems) inertia unit |
CN108015797A (en) * | 2017-12-01 | 2018-05-11 | 湖北工业大学 | A kind of RV speed reducer drives error on-line monitoring method |
CN108229022A (en) * | 2018-01-03 | 2018-06-29 | 清华大学 | Real-time method of the temperature to high frequency sampling Index Influence is rejected in a kind of bridge structure on-line monitoring |
CN108828266A (en) * | 2018-08-30 | 2018-11-16 | 衡阳市衡山科学城科技创新研究院有限公司 | A kind of median filter method and device for accelerometer calibration |
CN109238310A (en) * | 2018-11-05 | 2019-01-18 | 珠海全志科技股份有限公司 | A kind of pair of MEMS sensor carries out the method and device of temperature-compensating |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113331668A (en) * | 2020-03-03 | 2021-09-03 | 九阳股份有限公司 | Pulse type sensor data acquisition method applied to cooking appliance and cooking appliance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7072804B2 (en) | Digital trigger filter for a real time digital oscilloscope | |
CN105527649B (en) | A kind of more focus blended data separation methods of the highly effective gathering of multiple domain separating for several times | |
CN109884340A (en) | A kind of accelerometer time domain temperature filtering method | |
CN108764073B (en) | Acceleration noise filtering and integrating method combined with spectrum energy form fitting | |
CN107003338A (en) | By referring to correcting current current sensor during current measurement | |
CN108197339B (en) | Dynamic displacement monitoring method of real-time acceleration integral algorithm based on recursive least square method | |
CN108351235A (en) | Air flow rate measuring device | |
DE102009000743A1 (en) | Vibration compensation for yaw rate sensors | |
IT9021337A1 (en) | APPARATUS AND METHOD FOR DETECTION OF BREAKING AND WEARING OF TOOLS | |
CN109883392A (en) | A kind of inertial navigation heave measurement method based on phase compensation | |
JP6695510B2 (en) | Method for forming an unobstructed combustion chamber signal data stream | |
US20110199285A1 (en) | Method and apparatus for waveform compression and display | |
CN102169127A (en) | Method for eliminating dithering of dithered ring laser gyro with adaptive ability in real time | |
KR970001636B1 (en) | Time aixs compensation apparatus of image signal | |
CN105136055A (en) | Rapid processing method for increasing real-time phase-shift frame rate of laser interference fringes | |
JPH08512116A (en) | Pulsating amount detector | |
WO2016147777A1 (en) | Measurement device, measurement method, and program | |
CN111965700A (en) | Method and system for eliminating zero wave number noise in optical fiber acoustic sensing seismic data | |
WO2014063989A1 (en) | Motion sensor assembly for determining the angular velocity of a moving contrast in its field of view with a high accuracy | |
CN110017957A (en) | A kind of synchronized analyzing method, apparatus and system | |
FR3046839A1 (en) | ATTITUDE MAINTENANCE DEVICE AND METHOD USING GYROMETERS | |
RU2717552C1 (en) | Method of digital filtration of noise component in inertial sensors | |
CN201897731U (en) | Warship attitude sensor based on infinite impulse response digital filtering technique | |
US9538050B2 (en) | Method and apparatus for generating jitter-related data | |
US20030071920A1 (en) | Method and apparatus for attenuating image noise |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190614 |