Giter Club home page Giter Club logo

Comments (6)

mindThomas avatar mindThomas commented on June 7, 2024

You are correct, this the estimated states of this filter only includes position and thus it takes in angular velocity as an input to the propagation model.
By extending the state space to include velocity you would have a dynamic model which takes in angular acceleration. Do you have a sensor to measure that or what other idea would you have to drive the model?

from kalmanfilter.

tugrul512bit avatar tugrul512bit commented on June 7, 2024

I only have positional data but I can compute velocity & acceleration from backward-discrete-derivative approach (using just the position & timestep). Perhaps this can drive such a system (like with a bigger matrix of 3x3 or 4x4 idk). I'm completely new to this title.

Thank you very much for giving answer.

from kalmanfilter.

mindThomas avatar mindThomas commented on June 7, 2024

backward-discrete-derivative approach (using just the position & timestep

Yes, that would just be the numerical derivative which would be very noisy. So there would not be much a model-based Kalman filter could do to improve this.

The Kalman filter can be designed to act as a low-pass filter on these numerical derivates to give you a smoothed velocity estimate, if that is what you are looking for? One way to do this is to design the model as a Constant-velocity model with only noise on the inputs. In this case your measurement vector would include both the position measurement and the angular velocity measurement.

from kalmanfilter.

tugrul512bit avatar tugrul512bit commented on June 7, 2024

My intention is just to filter noise from signal without delay. Many algorithms add delay either by computational steps requiring an output delay or just the computations themselves give a phase delay. To overcome this, prediction is required. Kalman can do this right? Maybe even with just angular position?

from kalmanfilter.

mindThomas avatar mindThomas commented on June 7, 2024

You are right. Both FIR and IIR filters will introduce a lag in real-time settings. If you don't need this at real-time (closed loop applications) you can do zero-phase filtering by running the filters forward and backward.

The Kalman filter in our case greatly reduces the lag for the angular position since it is model-based, driven by the derivative of the state to estimate, namely the angular velocity.
A Kalman filter can however not achieve zero lag since the Kalman Filter, using the estimated or tuned Measurement and Process Noises, balances between being very adaptive with short lag but a large error variance in steady state to being an aggressive smoother with long lag but a small error variance in steady state.

Since you want angular velocity without any delay you would need the derivative of this as a measured input.

from kalmanfilter.

tugrul512bit avatar tugrul512bit commented on June 7, 2024

Thank you for all the explanations. Have a nice day.

from kalmanfilter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.