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
2 answers
181 views

Least Square Error Estimation: Conditions for $ (A^TA)^{ -1} = A^{-1}(A^T)^{-1} $?

I am new to linear algebra and have this simple question... in least sqaure estimation...the best estimation of the equation $Ax = b$ is $x_{Estimated} = A (A^t A )^{-1} A^t b$...the projection of $b$ ...
rotating_image's user avatar
3 votes
2 answers
3k views

Kalman Filtering with Unknown State Transition Matrix

I'm currently studying the use of Kalman filters for estimating linear systems. My current State Transition Matrix (STM) is the identity since so far I've been dealing with non time-varying systems. ...
João Victor Manke's user avatar
3 votes
2 answers
2k views

Kalman Filter with Accelerometer with DC Offset

Goal: For a particle moving uniaxially, to estimate position ($d$) and velocity ($v$) from noisy acceleration ($a$) and very noisy position (GPS) measurements using a Kalman filter. Catch: The ...
Diego's user avatar
  • 51
3 votes
2 answers
302 views

How to Combine / Fuse 2 Least Squares Estimates?

Say you want to compute the least squares estimate of $w$ from a data-set: $$ \begin{bmatrix}d_1 \\d_2 \\\vdots\\d_N \end{bmatrix} =\begin{bmatrix} x_1 \\x_2 \\ \vdots \\x_N\end{bmatrix}w + \begin{...
ssk08's user avatar
  • 708
3 votes
2 answers
1k views

In what sense is the Kalman filter optimal?

The Kalman filter is a minimum mean-square error estimator. The MSE is defined as $E\left(||\hat{x}_k-x_k||^2\right)$ where $x$ is the state and $\hat{x}$ is the estimate. When $x$ is a vector, for ...
SoftSail's user avatar
3 votes
2 answers
1k views

Alternative to Extended Kalman Filter When Prediction Function Is Not Differentiable / Given by a Black Box

I am looking at a tracking problem. It can be modeled similarly to the Extended Kalman Filter: $$ \begin{array}{rcl} \mathbf{x}_k &=& \mathbf{f}(\mathbf{x}_{k-1}, \mathbf{u}_k) + \mathbf{w}_k\\...
thomasfermi's user avatar
3 votes
2 answers
450 views

In Kalman filters why is it necessary to transform the systems dynamics matrix to the state transition matrix?

Previously when I have implemented Kalman filters I have used the transformation $$ \mathbf{A(t)} = \mathcal{L}^{-1} \left( s \mathbf{I} - \mathbf{F} \right) ^{-1} $$ to calculate the state ...
SomeRandomPhysicist's user avatar
3 votes
1 answer
1k views

Why is the Kalman gain constant when position and velocity change?

I used the measured position to estimate the velocity using a Kalman filter. But in simulations, the Kalman gain changes quickly and then remains constant when position and velocity continue to ...
Kho's user avatar
  • 93
3 votes
1 answer
2k 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 ...
surajr's user avatar
  • 53
3 votes
1 answer
949 views

Capture legitimate huge increase/drop in fuel level from noisy measurements

I have a fuel sensor installed in a lorry fuel tank. The sensor measures the current fuel level (in percentage) of the tank. However, due to the fact that the fuel is sloshing in the tank, the fuel ...
Hasyimi Bahrudin's user avatar
3 votes
2 answers
141 views

The role of GPS in INS/GPS navigation systems

Ideally, a gyroscope and an accelerometer would be enough for a complete navigation solution (attitude + position), using dead reckoning. This comprise the Inertial Navigation System, INS. In non-...
student1's user avatar
  • 384
3 votes
1 answer
124 views

Interpreting sensor noise data

Introduction :I am trying to create an EKF for an autonomous vehicle, and i need to model the error of the sensors. (I am a mechanical engineer so my knowledge on electric signals is limited). The ...
MIKE PAPADAKIS's user avatar
3 votes
1 answer
418 views

How to determine covariance matrices $\mathbf P$, $\mathbf Q$, and $\mathbf R$ in Extended Kalman Filter

I am implementing an Extended Kalman-Filter and an Unscented Kalman-Filter for state and parameter estimation of a conveyer belt system. The problem is that I don't really know how to determine the ...
Tristan's user avatar
  • 31
3 votes
3 answers
2k views

Image Restoration using kalman filter

I have been trying use a Kalman filter to restore an image that was blurred with a known Point Spreading Function and corrupted with noise. I have looked at theory and have a basic understanding of ...
Prateek Dhanuka's user avatar
3 votes
1 answer
119 views

Improving Velocity Estimation Using Multiple Sensors in a Dynamic System

I have a sensor reduction model which gives me a velocity estimate of a suspension system(velocity 1) . This suspension system estimate velocity is used to calculate another velocity(velocity 2) via ...
Lanny's user avatar
  • 33
3 votes
1 answer
158 views

Kalman Filter Algorithm for Unknown Process and Measurement Noise

I want to be use kalman filter for the state estimation but I don't know about process and measurement noise. How can I estimate process and measurement noise and use this information for kalman ...
guidolard's user avatar
3 votes
1 answer
516 views

When is it necessary to use a Kalman Filter, and not a simple estimation method?

I know its a stupid question, but I got understand this very fundemental point. Say we have a sinousodial signal, which we want to extract from a noisy (known variance and mean) measurement. It is ...
doumham's user avatar
  • 41
3 votes
1 answer
484 views

Kalman Filter - Deriving state transition function

I am relatively new to using Kalman Filtering. Currently I am trying to understand it and how to implement it in Matlab. I found a website with some nice examples that I would like to rewrite in ...
Matthias La's user avatar
3 votes
1 answer
561 views

Alternatives to offline Kalman filtering

Recently I got into vehicle models and filtering in general and immediately faced with the following question. I have the recorded GPS data from car driving on a highway. However, there is a ...
Mark Lumar's user avatar
3 votes
1 answer
720 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}$$ ...
indigoblue's user avatar
3 votes
2 answers
147 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 ...
mark leeds's user avatar
  • 1,107
3 votes
1 answer
1k 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 ...
Telenoobies's user avatar
3 votes
1 answer
528 views

Simulating Range Bearing Sensor with MATLAB with Gaussian Noise (Generating Gaussian Colored Random Vector)

I would like to simulate a sensor that provides range and direction of a beacon. This is for EKF localization, so the noise must be Gaussian (i.e. $\mathcal{N}(0, \sigma^{2})$. Also, I would like to ...
CroCo's user avatar
  • 357
3 votes
1 answer
61 views

How to define Q matrix (covariance matrix for process noise) in EKF

I am implementing an Extended Kalman Filter (EKF). I have developed the model for my system and I know must find the Q matrix. I have searched all over the web and noone explains how to define this ...
useeeeer132's user avatar
3 votes
0 answers
461 views

Unscented Kalman Filter for Parameter Estimation (Tracking) of Amplitude Frequency and Phase of a Multi Component Harmonic Signal

I'm trying to implement an Unscented Kalman Filter that tracks the amplitude, frequency, and phase of a multi-component oscillatory signal. Below is an attempt using the ...
SuperCodeBrah's user avatar
3 votes
1 answer
159 views

What do I measure in a Sound Sample Buffer to remove noise from an audio file using the Kalman Filter?

I am developing a computer program that removes or reduces the background noise from an audio file using the Simple Kalman Filter. I have implemented the Kalman Filter and a way of obtaining the "...
Marvin's user avatar
  • 81
3 votes
0 answers
76 views

State estimation in HyperSonic Missiles

I'm curious, what would be the correct approach for state estimation for hypersonic Missiles? Would it be exclusively GPS and IMU? Historically these are what was used, but I have also seen ground ...
FourierFlux's user avatar
3 votes
0 answers
241 views

How to compute (in non adaptative way based on MMSE FIR) the feedback and feedword filter for DFE equalization?

System Model Consider the single-input single-output (SISO) communication system in the figure below: where the information bit stream is encoded and mapped such that the output of the encoder is a ...
user avatar
3 votes
0 answers
276 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 ...
Maria D.'s user avatar
3 votes
0 answers
492 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:...
the_src_dude's user avatar
3 votes
0 answers
43 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 ...
rashm1n's user avatar
  • 31
3 votes
0 answers
330 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 ...
Simon Diemert's user avatar
3 votes
1 answer
1k views

Wrong estimation of derivatives with an extended Kalman filter

I am trying to implement an extended Kalman filter (EKF) in MATLAB for the estimation of joint trajectories (angular position, angular velocity and angular acceleration) from noisy motion capture ...
Janis's user avatar
  • 31
3 votes
0 answers
173 views

(Unscented) Kalman Filter with variable state dimensions

i have to estimate a process which changes over time, not with respect to the system-evolution or the measurement-function, but regarding the number of objects that have to be estimated. So every ...
bonanza's user avatar
  • 171
3 votes
0 answers
113 views

Optimal inference for nonlinear state space models

When considering a linear-Gaussian state space model, it is often referred that, optimal inference is tractable which is very rare in state space models. When considering a nonlinear state space model,...
Deniz's user avatar
  • 638
3 votes
0 answers
885 views

Optimal measurement model for Kalman in Augmented Reality

I am developing an augmented reality SDK that uses Kalman for tracking a planar marker. My state is composed of 3D position, a quaternion, velocity and angular velocity. \begin{bmatrix}{\vec{p}}\\{\...
Jav_Rock's user avatar
  • 1,213
2 votes
2 answers
296 views

Situations where complexity is too big to exceed linearity and gaussianity

I'm studing about Kalman Filter and Particle Filter in multiple target tracking in computer vision (tracking pedestrians). Reading sientific papers I'm colliding with a lot of sentences like: The ...
nkint's user avatar
  • 924
2 votes
1 answer
843 views

Kalman filter after lowpass filter: bad idea?

I am new to Kalman filter and am enjoying playing with it. However, I generated some random velocities and acceleration and Kalman filter (with the covariance matrices I have chosen) is comparable ...
anderstood's user avatar
2 votes
2 answers
463 views

Recommendation for courses / studies on digital signal processing

I hold a master's degree in mechanical engineering. However at my job I am more and more diving into topics of signal processing and data science. I find it great to discover about new topics and to ...
Matthias La's user avatar
2 votes
3 answers
2k views

Extended Kalman Filter (EKF) Linearization of Non Linear Functions

I have more general question about the extended Kalman filter usage. What is not clear to me is why the EKF uses non-linear functions $f$ and $h$ for state prediction and estimate, while in other ...
DanP's user avatar
  • 21
2 votes
2 answers
255 views

How to choose the "best" measurment (from a given set) as input for a kalman filter?

Problem: For an object tracking scenario with multiple objects and multiple tracks, I want to choose the "best" assignment object<->track. Therefore, I need a parameter indicating how suitable an ...
user6522399's user avatar
2 votes
2 answers
2k views

Why is this matrix invertible in the Kalman gain?

In the wikipedia article about Kalman filters, the well-known expression of the matrix of Kalman gains is given: $$ \mathbf {K} _{k}=\mathbf {P} _{k\mid k-1}\mathbf {H} _{k}^{\text{T}}\mathbf {S} _{k}^...
anderstood's user avatar
2 votes
1 answer
111 views

How to handle a logarithmic term in Kalman filter?

I am trying to implement a Kalman filter for an echo pulse detection application as similar to this paper. (an open source version is here (pg 16)) The measurement variable is $h(x,t)=A_0 (\dfrac{t-\...
aadil095's user avatar
  • 123
2 votes
2 answers
305 views

Questions on Weighted Least Square Estimation

This is a page from the book linear algebra,geodesy and gps by Gilbert Strang.... the page explains about the justification of the inverse of the of the co variance matrix of measurement vector $b$ in ...
rotating_image's user avatar
2 votes
1 answer
964 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 ...
surajr's user avatar
  • 53
2 votes
2 answers
623 views

If a Kalman filter can only receive information on $(x, y)$ position, is there any reason to have acceleration as part of the model?

I'm new to working with Kalman filters. I have a Kalman filter that's working well for modelling the 2D position of an object. The model at the moment holds information on position ($x$ and $y$) and ...
Phlox Midas's user avatar
2 votes
1 answer
199 views

Where to get transtion matrix for Kalman filter?

I am trying to understand the Kalman filter, and I am struggling to find out how to choose the transition matrix (denoted as $\mathbf F(k)$ or $\mathbf A(k)$. This matrix is used to update the weight ...
matousc's user avatar
  • 657
2 votes
2 answers
2k views

Q matrix and updating times in a Kalman filter

The context of the problem is that I have several robots located remotely which give their position (x,y coordinates) every x seconds and send it to a centralized remote server. The value of the ...
YisasL's user avatar
  • 121
2 votes
1 answer
175 views

Role of Kalman filter in nonlinear dynamics

I am quite interested to know the significance of using kalman filter,unscented kalman filter and extended kalman filter in chaos synchronization when infact the very basics of chaos synchronization(...
user1214586's user avatar
2 votes
1 answer
116 views

Approaches to work around differing signal lengths when using Kalman filter

I have a set of vector valued signals $\boldsymbol{y}_{1:T}$ where each $\boldsymbol{y}_k \in \mathbb{R}^{v_k}$. Each signal is potentially of different dimensionality. I'd like to apply filtering and ...
FakeBrain's user avatar

1 2
3
4 5
9