# 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.

370 questions
Filter by
Sorted by
Tagged with
23 views

### Example for implementing the unscented kalman filter

Currently, I'm learning about the UKF and in order to understand it in a good way, I programmed it, however in order to see it working I need a problem to solve which I can't now find. Can you please ...
1 vote
35 views

### EKF: IMU vs State Transition Model

Suppose you have an object you're interested in estimating the state of, ex position. Suppose you don't have a state transition model but you do have an IMU. Can the IMU be used to simulate a state ...
1 vote
31 views

### Single Kalman Filter: Resistance based on measurment of current and Voltage [closed]

Given measurement of voltage and current, which contain gaussian noise with known variance and a constant unknown offset $a_0$, I have attempted to estimate the resistance $R=\frac{V}{I}$. The ...
49 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 ...
14 views

1 vote
174 views

### If there are state variables in the Kalman filter that aren't being measured, is their output just rubbish?

I've been learning about the Kalman filter on this website: https://www.kalmanfilter.net/multiExamples.html As you can see there is a numerical example regarding a car that is traveling in a 2 ...
137 views

### Kalman Filter: How to Define Inputs and Outputs of a Model

I'm a software engineer with a CS degree working in machine learning. I'm trying to learn about Kalman Filters. In this short YouTube video from Mathworks, there's a discussion on a Kalman Filter with ...
436 views

### Estimate and Track the Amplitude, Frequency and Phase of a Sine Signal Using a Kalman Filter

There is sinusoidally controlled signal, which other than being noisy, can change values for amplitude, frequency, phase and offset. At every new sample a new sine is fitted for the last N samples. ...
125 views

### Space-Time Finite Element and Static Condensation for Sensor Fusion

My recent pastime interest deals with the nonlinear sensor fusion of GNSS, barometer, magnetometer, accelerometer and gyroscope data. I had a look at the EKF, UKF and Particle Filters but gave up as ...
64 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 ...
1 vote
70 views

### Mixing Kalman filter and least-squares

I'm not sure it is the right department. I try my chance I am wondering if there is a way to make a hybrid formulation of a least-square problem and a Kalman filter. Let me explain what I mean: The (...
363 views

### Kalman Filter: Why do we decrease the state uncertainty regardless of the current measurement?

I'm struggling with fully understanding the concept behind a Kalman filter. For the sake of simplicity, let's ingore the input variable $u$ and assume constant process $Q$ and measurement noise $R$. ...
1 vote
146 views

### Kalman filter continues to update position even though speed is zero

Background I set up a conventional Kalman filter that makes use of smartphone GPS only (no inertial sensors). That is, it uses the position, doppler speed, and course, in order to create positions ...
60 views

### Are there any general heuristics for Kalman filter noise parameters

Are there any generally applicable heuristics for Kalman filter noise parameters? I am working with a non-linear unscented filter and getting an initial guess for the noise covariances $Q_k$ and $R_k$ ...
1 vote
232 views

### Accelerometer Bias estimation with kalman filter

I have to estimate biases of a 3-axes accelerometer by modyfying an existent kalman filter mounted on a drone. The biases are assumed constant. The filter has 9 states: position (xyz), velocity (xyz) ...
142 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 ...
21 views

### Extended Kalman Filter measurment vs input vector

What is difference between measurement and input vector in Extended Kalman Filter? Isn't always input also measurement? If so how to update input vector if I have acceleration or yawrate as input ...
236 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 ...
1 vote
170 views

### How to initialize observation Matrix in Kalman Filter when there is no clear relationship between measurement and state?

I am try to use Linear Kalman to do time series prediction. I understand that I have to define a model process matrix which indicate how system state evolve, and a measurement matrix H which convert ...
122 views

### How Are Unmeasured Properties (Velocity and Covariance of Velocity) Handled with a Kalman Filter?

I'm trying to understand how I can update a Kalman filter with a state variable for position and velocity when I only measure position. I have a covariance matrix of the position measurements. But ...
84 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-\...
1 vote
666 views

### Kalman filter with multiple sensors

I have been reading more about EKF and I am a bit confused on how you handle predictions with multiple sensors. Ex, I have IMU, GPS, Odom and Stereo Camera. Each can be used to predict location, how ...
185 views

### Kalman filter for harmonic oscillator. State variable and Covariance matrix

I've coded a simple damped harmonic oscillator, controlled with a pid. Works fine. I want to use this model to test a kalman filter. So i added a gaussian noise to the position and want to feed the ...