A
A
Andrii_Z2014-10-15 13:50:39
Raspberry Pi
Andrii_Z, 2014-10-15 13:50:39

What is a fast Kalman filter analog for weather data?

I connected two sensors to rpi, bmp180 and dht022, data is read every 5 minutes.
Sometimes the sensors give out strange splashes.
c9ef141696a645288bc364ae7c55a959.png
How to quickly identify and filter them? I think the Kalman filter will be too complicated for such a task.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shag12, 2014-11-17
@shag12

I think a simple comparison with the previous value. If the previous one differs more than (here you need to figure out what is the maximum possible rate of change of the parameter, for example, for temperature, I would indicate 2 degrees), then we write the previous value in the graph and wait for the next one.

S
sanchas, 2014-12-03
@sanchas

If you are satisfied with a small delay in displaying data (5-10 minutes), then you can apply a median filter. It filters out splashes well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question