Questions tagged [kalman-filters]

The Kalman filter is a mathematical method using noisy measurements observed over time to produce values that tend to be closer to the true values of the measurements and their associated calculated values.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Can a Kalman Filter Be Applied Using Measurement-Space Dependent Sensors?

I'm currently attempting to apply a Kalman filter to track the angular position, velocity, and acceleration of a bike wheel, and I'm having a lot of trouble, so I want to check if I'm even applying ...
0
votes
0answers
20 views

How to set the measurement matrix of opencv kalman filter [OpenCV+Python]

I am working on a tracking application where I use the kalman filter to validate my current measurement of the position. I use the code from this question: How to find the probability of Kalman filter ...
0
votes
0answers
26 views

Rotation matrix covariance to quaternion covariance in attitude estimation

Given a $3 \times 3$ rotation matrix $\mathbf{R}$ with an associated $3 \times 3$ covariance matrix $\mathbf{P}$ how do I compute the associated $4 \times 4$ covariance matrix $\mathbf{Q}$ of the ...
0
votes
0answers
30 views

How to build intuition for tuning a Kalman Filter?

I'm working on designing a Kalman Filter for more accurately predicting the position of a ultrawideband RFID tag in an indoor space. Before testing with live data, I've been playing with randomly ...
0
votes
0answers
39 views

Kalman fitler to estimate position from velocity measurement

I am using the Kalman filter to estimate the position from velocity measurements. I implemented the filter, but the position estimate is not well enough (large RMSE and Covariance value). Some time ...
1
vote
0answers
85 views

Choosing Right Type of Filter for time series data

I am working on a temperature time-series data which is very noisy. I am trying to measure true low and ...
0
votes
0answers
18 views

Kalman Filter: Effect on covariance from frauded errorneous sensor

I have recently started to learn about Kalman filters and I am right now simulating a very simple model in Simulink giving a noisy sinewave (position) and its derivative (speed). I have implemented/...
0
votes
1answer
40 views

Kalman filter using only location information

I have never used a Kalman filter. Is it possible to implement a Kalman filter using only location information? In addition, if you can implement it, what kind of procedure should be used to program ...
0
votes
0answers
36 views

Kalman-Filter Estimate the position

I am quite new in this field and trying to learn Kalman-Filter but i am quite lost how to start my task. This is the file description Problem. I guess the state vector x must be the poistion of ...
0
votes
0answers
17 views

Kalman Filter System Model

I have multiple measurements to be fused and noise to be removed. As far as you know, can I use one reference measurement to be my system model? Thanks
1
vote
1answer
36 views

Kalman Filter for position : introducing acceleration estimates

I want to estimate the position on a 3D environment by introducing only acceleration estimates. Is that possible? If I use the extended Kalman Filter and introduce these estimates will I have the ...
0
votes
2answers
46 views

Refining accelerometer noise using Kalman filter

I have read that one of the uses of the Kaman filter is to refine the noisy sensor measurements. I am using an accelerometer to get the position by integration and want to use Kaman filter to refine ...
0
votes
0answers
11 views

Structural time series model with multiplicative error term

I have a noisy time series measurement of a biological signal which I need to smoothen. I believe that the error of the measurement is proportional to the signal strength. I am currently working in R ...
0
votes
2answers
63 views

Filterpy Kalman Filter batch processing with multiple measurement sources

In pythons module for kalman-filtering, filterpy, there is a function batch_filter() to batch filter a list of measurements that then can be used for RTS-smoothing. ...
0
votes
1answer
63 views

Getting Vario (m/s) from a bmp180

I am building a variometer as a hobbie, this could be a duplicate from an existing question: How to use Kalman filter for altitude prediction based on barometer data? . Details follow: I have a ...
0
votes
0answers
26 views

Using an IMU for gravimetry and calculation of gravity anomalies

I am currently working on a project which seeks to utilize a tri-axial IMU to measure gravity anomalies caused by density variations in planetary crusts. The instrument will be attached to a Helikite ...
0
votes
0answers
7 views

Can anyone suggest algorithm for getting latitude, longitude co-ordinates from fusion of data from accelerometer, gyroscope and magnetometer?

Currently, I am trying to fuse the data from these sensors to get the new positions. I have an initial latitude, longitude position which I am using as the initial coordinates. Now by using the ...
1
vote
1answer
46 views

Fuse two sources of linear acceleration with a Kalman filter

How would I fuse two different sources of linear acceleration with a Kalman filter (perhaps linear acceleration readings from an IMU and from a dedicated accelerometer)? My state is defined by ...
2
votes
1answer
78 views

KalmanFilter EM estimation of covariances

The question might be very simple, but I get a strange result from Kalman Filter. Let us consider the simplest state-space model, the random walk plus noise: $$ y_{t} = x_{t} + \varepsilon_{t}\\ x_{t} ...
3
votes
4answers
136 views

Layman Description of the Kalman Filter

I want to know about Kalman Filter but i tried searching different links including Electrical Engineering StackExchange but the information available there was hardly digestible. All I am able to ...
3
votes
0answers
137 views

Converting an FIR Filter Model to a State Space Model for Kalman Filtering

I want to try and determine the true value of a quantity $\alpha[k]$ from observations of a related quantity $\vartheta[k]$ using a Kalman filter. The observations are of the following FIR filter form:...
1
vote
1answer
36 views

Why is the concept of a “state covariance matrix” necessary in estimation?

I'm currently taking a course in optimal estimation (and it's still very early in the course). Much of our work is based around the idea of a measurement model $y=Hx + v$ This model assumes our ...
0
votes
0answers
33 views

Coordinate frame in IMU/GPS Error-state kalman filtering

I just read this really nice paper "Quaternion kinematics for the error-state Kalman filter", according to this book "Principles-Multisensor-Integrated-Navigation-Applications" we have following ...
0
votes
1answer
126 views

Kalman Filter - How to combine data from sensors with different measurement rates?

I'm trying to implement a Kalman filter for tracking the position of a vehicle with the help of position data from GPS and Odometry measurements. The GPS data (WGS84 format collected from an app on an ...
0
votes
0answers
142 views

Kalman Filter Parameter Definition for Vehicle Position Estimation in Python

I'm relatively new to Kalman filter concepts and I would like to use it for estimating and tracking the accuracy of the position of a vehicle with GPS measurements (As a first step). However, I am not ...
1
vote
1answer
116 views

Error in using Kalman Filter for 2D Position Estimation in Python

This is my first question on DSP Stack exchange, so I apologise if it is poorly worded. I have some positioning data from a vehicle (GPX Format, collected through Strava) and want to use a Kalman ...
3
votes
0answers
25 views

Inconsistant Variation in BLE Beacon RSSI Values for Distance Measurement

I am developing an application to estimate the distance to a BLE Beacon using its RSSi values measured from a Mobile Phone. But when I started to collect data I could see that they varied so much that ...
1
vote
0answers
60 views

Position Kalman Filter fails to track a constant-acceleration path

I'm trying to build a discrete Kalman Filter that fuses accelerometer (acceleration) and GPS (position, velocity) measurements. However, I'm finding that my filter can't properly track a constant-...
0
votes
0answers
76 views

Using Kalman filter vs Extended Kalman filter for differential drive robot with IMU

I have an IMU that provides me with a heading that is pretty accurate and accurate encoders on the wheels of my differential drive robot which provides me with pretty accurate velocity but has ...
0
votes
1answer
49 views

Have you ever seen logarithmic burn-in on a Kalman filter before?

I'm reviewing a paper that uses a multiplicative factor $\ln i$ where $i$ is the number of steps since the Kalman filter was initialized. The idea is to slowly build confidence as the filter sees ...
0
votes
1answer
72 views

Kalman Filter Process Noise - Model Where It Vanished

I am trying to use the Kalman filter (the scalar version) to estimate the steady state of a set measurements which is a random process. I have used a constant dynamic model as the state equation, $$ ...
0
votes
1answer
125 views

Can Kalman filter remove 50 Hz noise?

I'm dealing with a brain stimulation. My EEG contains large spikes (>3 mV) when stimulation occurs. I want to remove the 50 Hz noise, but I can't use notch filter because it creates large artifacts. ...
5
votes
1answer
75 views

Model-based Kalman filtering a noisy signal

In a healthcare application, I need to calculate urine flow by differentiating the mass of urine emitted by a person over time. The measuring instrument consists of a load-cell under a fluid container,...
1
vote
0answers
30 views

How Do Particle Filters Get Velocity When Tracking with Pos Measurements

I am new to particle filtering. I can see when particle filters are used with Ensemble Kalman's, the velocity of the states are taken care of by the Kalman. When tracking using particle filters ...
0
votes
0answers
88 views

Kalman Filter in Vision - Constant Velocity Model - Units

Let's assume we have series of frames with a known object. I want to track the object using Kalman filter using constant velocity / acceleration models. My questions are: (i) Which model to use? CV ...
0
votes
0answers
33 views

Weight update in particle filters

For particle filtering weight update, often the transitional prior is used for the proposal density, in which case the weight update simplifies to just the likelyhood function. However, in one ...
2
votes
0answers
46 views

Role of Riccati Equations in Kalman Filter Design

I am working on a Kalman Filter (KF) design problem and I am struggling to understand the role of the Riccati equations in the design process of a KF. Some sources discuss the importance of Riccati ...
0
votes
0answers
28 views

Kalman filter with polar measurements: is the innovation a geometric difference of vectors?

I'm debugging someone else's implementation of a Kalman filter and it uses a cartesian state space and takes observations in polar coordinates. When looking at the mathematical description of the ...
1
vote
1answer
175 views

Discrete Kalman filter for a continuous system

The question is related to the implementation of a discrete kalman filter given a description of the system model in continuous time. I will give an example. Suppose we have a mass, spring and damper ...
0
votes
0answers
69 views

Setting the measurement noise covariance matrix for sensors with different variances

I'm implementing a kalman filter that fuses data from 2 different sensors. Both sensors provide the same data (a 3d position measurement), but the variances for each sensor are different (i.e. one is ...
0
votes
0answers
149 views

Fusing like data from multiple sensors using kalman filter

I'm new to kalman filters and filtering, and I'm working on a personal project where I have multiple readings all providing the same data (3d position in space, provided via computer vision algorithms)...
0
votes
0answers
39 views

How do I derive complicated robotic motion models easily?

I have a filter that tracks a robot. I want it to use a 2D coordinated turn polar velocity motion model (from page 15 here): But I want to expand on this motion model: I want an additional velocity ...
2
votes
0answers
280 views

Kalman Filter State Covariance Matrix

If I have a discrete time process model of the form: $$x_{k+1} = x_{k} + v_{k}\cos(\theta_{k})dt$$ $$y_{k+1} = y_{k} + v_{k}\sin(\theta_{k})dt$$ $$v_{k+1} = v_{k} $$ $$\theta_{k+1} = \theta_{k}$$ ...
0
votes
1answer
89 views

Defining the observation matrix for a Linear Kalman Filter

So I'm working on some content for an exam tomorrow and have hit a logical snag. The question can be seen below: In particular I am referring to 5)c). The questions asks for a measurement model to ...
0
votes
0answers
26 views

Determining position and g-forces from accelerometer and gyroscope data

I'm analyzing gyroscope + accelerometer data acquired from an IMU for a run of a water skiing slalom course, sampled at 100Hz. The double spikes represent spurious ~15G jitter from crossing both ...
0
votes
1answer
74 views

Kalman filter - order of update step?

I have seen some literature where the covariance is updated first, like $(P_k)^{-1} = (P_k^-)^{-1} + H^T R^{-1} H$, where $P^-$ is the a priori estimate of the state covariance $P$. Then, the updated ...
0
votes
0answers
99 views

Finding time-varying coefficients for a VAR model by using the Kalman Filter

I'm posting this again, since after my last post i've been able to advance the code quite alot. I'm still trying to write some code in R to reproduce the model i found in this article. The idea is to ...
0
votes
0answers
103 views

Error with simple Extended Kalman Filter simulation in Python

I am trying to write a Python simulation for a bearing-only EKF tracking problem. I wish to estimate the $x$ and $y$ position and velocity vectors for an object, so my state vector is $$\mathbf{x} = [...
0
votes
0answers
77 views

Trying to create an Extended Kalman Filter for this problem at hand

Currently I have a system that measures the GPS coordinates of an object. The object is first detected and then using trigonometry, the GPS coordinates are determined, as we know of the GPS ...
0
votes
1answer
118 views

Why discretize a continuous transition matrix in Kalman Filter?

In the Kalman filter toolbox at http://becs.aalto.fi/en/research/bayes/ekfukf/cwpa_demo.html the example code shows that a function lti_disc is called, which is essentially a matrix exponential ...

1 2 3 4 5 6