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
3
votes
1answer
35 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,...
0
votes
0answers
15 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
12 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
26 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
19 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
12 views

Looking for next-step ideas/ IMU data

I'm in a bit of rut regarding how to get anything useful from a data set i've created. Typically i have the following features, from a few different journeys on my bike: timestamp temp_h temp_p ...
0
votes
0answers
18 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
54 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
23 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
20 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
36 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
94 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
19 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
22 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
48 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
49 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
43 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
42 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
53 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
vote
0answers
34 views

Modified Bryson-Frazier (MBF) smoother explain

I'm reading about MBF smoother on Wikipedia. I'm confused of the quantity $\hat{\lambda}_k$ and $\tilde{\lambda}_k$. What does they really mean intuitively ? Why the update formula has the form $\...
0
votes
0answers
20 views

Restrict a state value in an Extended Kalman Filter

I am trying to use an EKF to filter/predict a noisy sinusoidal waveform using the states of phase, rate of change of phase and amplitude. I am finding, however, that sometimes the EKF amplitude state ...
-1
votes
1answer
41 views

Estimation filter [closed]

Can anybody explain me the basic difference between kalman filter and particle filter? For the process of estimation which is the best filter to be ised among them and why? Please provide some example ...
0
votes
0answers
28 views

Is my Kalman Filter model reasonable? Using for a 3 wheels rover platform

Background: I'm building a 3 omniwheel rover platform that looks something like this: It has 1 IMU sensors on each of the wheels (3 in total). So in theory, I can get gyroscope and accelerometer data ...
0
votes
0answers
42 views

FMCW MIMO radar RX post processing pipe

Currently working on a FMCW MIMO radar RX pipe consisting of the following modules: 2D CFAR – processing the Range Doppler images per Angle. 3D clustering – clustering the 3D cube generated from the ...
0
votes
1answer
31 views

Defining Model in Kalman for Getting Position Using

I am stuck at modeling a system model, i.e. getting my state vector and input vector for navigating just using navaid and ins (tactical). My guess is that position is my only state vector and INS ...
0
votes
0answers
40 views

Matlab 'kalman': why is one input channel disappearing?

Please excuse if this is somewhat Matlab related, but I believe the question is general (and the answer might be very simple...): I have an LTI system: ...
-1
votes
1answer
65 views

How to implement discrete extended kalman filter in matlab

I have a nonlinear system, and I need to use the extended kalman filter to estimate it. I know I need the jacobian, but once I get that, is everything else the same as the normal kalman filter? I ...
0
votes
1answer
325 views

Kalman Filter : How measurement noise covariance matrix and process noise helps in working of kalman filter , explain intuitively please?

How noise covariance matrix and process covariance matrix helps in improving the state estimate, can some one explain intuitively without mathematics ?
0
votes
1answer
39 views

Should I pass Kalman Filter absolute or offset-from-mean sensor values?

I'm using Kalman filters to segment the loudness of an acoustic signal from surrounding noise. The problem I've encountered is that muffled or faulty microphones measuring 'silence' (-70dB, -69dB, -...
3
votes
2answers
65 views

Estimating a Signal Given a Noisy Measurement of the Signal and Its Derivative (Denoising)

I have a signal and its derivative simultaneously measured, both including additive noise. The measurement is completed before the analysis, so it can be looked ahead. Now I want to reconstruct a less ...
1
vote
0answers
39 views

Rocketry : Combine two accelerometers to reduce noise?

I am designing an IMU for an experimental rocket. I'll be using the BN055 9DOF that has sensor fusion - orientation quaternion - and gravity compensation. My main goal is speed computation, and I was ...
1
vote
1answer
98 views

“Bi Directional” Kalman Filter

I am working on a project in Object Tracking, i.e. need to predict the location of next bounding box. I used a Hungarian algorithm with a Kalman Filter which produced decent results. However, lots of ...
2
votes
3answers
183 views

Question on Wiener Filtering

I have read that a Wiener filter is a filter used to produce an estimate of a desired or target random process by linear time-invariant (LTI) filtering of an observed noisy process. Now, my doubt ...
2
votes
2answers
1k views

Extended Kalman Filter (EKF) for Non Linear (Coordinate Conversion - Polar to Cartesian) Measurements and Linear Predictions

I'm new to Kalman filtering and state estimation and I'd like some guidance on EKFs. Currently, I'm trying to use a linear prediction model coupled with nonlinear measurements to estimate the state ...
0
votes
1answer
180 views

How to find the probability of Kalman filter states? [OpenCV+Python]

I am working on a video object tracking problem. I am using Kalman filter to predict and correct the object position return by an algorithm such as CamShift. I want to adjust the likelihood ...
0
votes
1answer
114 views

How to Realize the Sigma Point Sampling Function in Unscented Kalman Filter?

Recently I'm learning the unscented kalman filter (UKF). When designing the unscented kalman filter, it involves a non-linear function to generate the sigma points and then use the system non-linear ...
1
vote
1answer
137 views

Unscented Kalman Filter - Multiple Consecutive Measurement Updates

In trying to implement an Unscented Kalman Filter (UKF), I have come across the issue of what to do when my measurement signals come in at a different rate than my control inputs, which I use in the ...
1
vote
0answers
133 views

Kalman filter equations/code to estimate velocity from known position and acceleration

I was reading this post and I have the same problem: I want to estimate the velocity using displacement and acceleration measures. But the problem is that I don't know how I have to code/implement an ...
0
votes
2answers
56 views

Question About Kailath's Paper - An Innovations Approach to Least Squares Estimation Part I: Linear Filtering in Additive White Noise

I'm reading the paper at the link below and I was following it for about 2 pages until I hit a road block on the bottom of page 648 where the author says: putting together 9-11, we obtain and ...
0
votes
1answer
1k views

Using the Kalman filter given acceleration to estimate position and velocity

Note : port from this post, until fully merged. I am reading data from an accelerometer. I want to use this data to estimate velocity and position. Originally, I performed a double integration of ...
2
votes
1answer
134 views

Estimate smartphone accelerometer bias

I was planning to develop Android / iOS applications that enable users to measure 3D length using their smartphones. According to this question, you need to know at least the time-varying bias that ...
3
votes
1answer
317 views

Naive Kalman filter for 3D position

I looked at posts that discusses 3D kalman filter. Kalman Filter to estimate 3D position of a node Help with Kalman Filter implementation for estimating 3D position Both from my understanding, both ...
1
vote
1answer
174 views

Basic questions related to Kalman filter

Since I'm a newbie to Kalman filter, so, I had some confusions that I needed to clarify. What is the difference between measurement and state? Can they be of different dimensions? All the ...
0
votes
1answer
302 views

Sample Dataset for Kalman Filter

I'm a newbie to Kalman filter. I have found the code online but I was wondering if there is any sample dataset available online to get hands-on with it (for example: CIFAR-10 for classification etc. )....
0
votes
1answer
102 views

IMU speed tracking through known path

new to signal processing and KFiltering here. Thanks for your help. I working with an IMU for a tracking project where the IMU moves throw a known path but at an unknown speed (within limits), the ...
0
votes
1answer
165 views

A State space model for discrete Sine wave Using kalma filter

I'm looking to apply an optimal LQR filter to a discrete signal of the form $$ x[n]=A\sin(\omega_0n+\phi)+v[n] $$ The amplitude $A$ and the phase $\phi$ are unknown variables I want to estimate using ...
1
vote
0answers
39 views

EKF smoothing for prediction at t=0 when no there is no measurement

I have a simple first-order reaction batch system for which I have some discrete measurements ($0<t_{k}\le t_{endbatchsample}$). I have an initial guess for $x_0$ and $P_0$ and from here I ...
1
vote
0answers
335 views

Help with Kalman Filter implementation for estimating 3D position

I wrote a kalman Filter implementation using the Eigen Library in C++ and also using the implementation at this link to test my filter: My prediction step looks like this: ...
4
votes
1answer
195 views

Extended Kalman Filter for linear systems with non-linear measurements

I'm successfully using an Extended Kalman Filter for object tracking. My state vector ($x, y, v_x, v_y$) needs to be in cartesian coordinates. The measurement data is transmitted in polar coordinates. ...
0
votes
1answer
55 views

Handling a number of simultaneous measurements in Extended Kalman Filter?

If I have a number of sensors whose measurements arrive at the same time - how can I handle them properly in the Kalman filter? P.S. The measurements are not necessarily taken at the same time but I ...