How to use kalman filter block in simulink

5 Ansichten (letzte 30 Tage)
YASSER
YASSER am 9 Jun. 2025
Kommentiert: YASSER am 12 Jun. 2025

Hello i aim to use kalman filter in smulink to estimate parameters from my model , the challenge is that my model is simscape model and in kalman filter it requires some state space matrices(A B C D ), which requires a knowledge of my model in state space model and which i do not master due to non linearity and complexity of my model (PV+ DC CONVERTER) . in this case how to do so and which steps to follow in order to Impliment kalman filter for such models !?

Antworten (1)

Abhipsa
Abhipsa am 12 Jun. 2025
According to the official MATLAB documentation, the "linear kalman filter" is used for estimating the state of an object if the estimation system is linear and Gaussian.
You can refer to the MATLAB documentation link below for more information on "linear kalman filter":
For the non-linear systems you can either use "extended kalman filter" or "unscented kalman filter" depending on the use case.
You can refer to the MATLAB documentations below for more information:
There is a MATLAB example demonstrating how to perform nonlinear state estimation using exteneded kalman function in Simulink for a system which can be accessed using the below link:
Here, instead of the state space matrices(A B C D), the "state transition function" and "measurement model function" can be used.
I hope this helps you.
  1 Kommentar
YASSER
YASSER am 12 Jun. 2025
Thank you @Abhipsa for your comment
However my primary issue is how to obtain the state transition and measurement functions from my simscape model to use it to fill the block proprieties of the UKF block
And later on the rest of block proprieties as Covariance matrice of the process and measurement
alfa, Beta and Kappa

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by