Designing a Kalaman filter -
i working on project monitor water tank energy storage. have large water tank, 10 thermometers attached. measuring temperature, can estimate energy stored in tank. quite simple, want add feature.
by sampling amount of energy in time, want determine power flowing in or out of tank. measuring energy in tank every minute , determining current power comparing last measurement. direct result noisy (for example jumping between 2-4 kw), need kind of filtering.
i started averaging, works fine,(current power average last 10 measurements) wanted try bit fancier. wrote simple kalman filter, 1 described in video - https://www.youtube.com/watch?v=pzrffg5_sd0&list=plx2gx-ftpvxu3oufnatxgxy90auliqnwt&index=5 problem is, guess, filter designed static measurements, , measurement changes quite bit. example, in plot, there 60 measurements (1 every minute) , line output of kalman filter: image
is possible modify filter follow actual value more accurately? or not suitable system filter kind of filter , should use else?
Comments
Post a Comment