Implementation of kalman filter for filtering the accelerometer data to obtain refine plot for acceleration vs time, velocity vs time and displacement vs time

8 views (last 30 days)
Hai all,
This is regarding my thesis work. its about the motion measurement of a model in a 2D wave tank. in this, the heave motion or the vertival motion of the scaled model is measured using an accelerometer and the values are obtained with the help of a Raspberry pi for the generated waves with given amplitude and frequency. With the data i obtained, i have plotted graphs by using matlab R2019a for acceleration vs frequency, acceleration vs time. By using a butterworth band pass filter, i have filtered out the noisy data and again ploted for the same along with velocity vs time and displacement vs time. Now, instead of butterworth filter, kalman filter must be used. but unfourtunately, i am confused with the variables as well as how it should be implemented.
If anyone of you are familiar with kalman filter and its implementation, please do help out as it is urgent. i have already tried out the inital process of kalman filter implementation from the mathwork help page, but it says a lot about simulink. i am focusing more on the script and code. so please have kindness to reply for this question and do the necesssary. For reference, i am attaching my data as well as the excecuted band pass filter code. please go through.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!