Skip to content

kkkiq/my-kalman-filter

Repository files navigation

My Kalman Filter

A simple Kalman Filter example made in MATLAB.

Task given at Signals and Systems class (2022.1) at Instituto Federal Fluminense (IFF). It uses a linearized PMSM electric motor model as plant, and its goal is to estimate the current states after the Clark and Park transforms (d-q frame) together with its angular velocity, considering that the model is in presence of noises and disturbances with known parameters (mean and variance).

To run the simulation, download the code and open the folder in MATLAB. Then, run "PMSM_Kalman_Filter.m". Its stages (propagation and update) are coded in separate functions, called by a custom block inside the SIMULINK simulation.

gaussian_estimation_example

Estimation provided by the Kalman filter. It's height consists of the probability density function of each sample.

About

A simple Kalman Filter example made in MATLAB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages