Hi everyone, i wanna ask something about kalman filter code. in my case, this method is used for DC motor system optimization. Does anyone can help? Thank you.

2 commentaires

bym
bym le 13 Jan 2012
that is a pretty general question; you might want to add details
Ahmed Hakim
Ahmed Hakim le 15 Nov 2012
search for Kalman filter in matlab exchange
and check for this link it has a KF simulink example, May be can help

Connectez-vous pour commenter.

Réponses (3)

Muhammad Faisol
Muhammad Faisol le 15 Jan 2012

0 votes

okay, this is my transfer function close loop system before tuned with kalman filter.
t=0:0.01:5;
num= [0 0 0.31185 8.28 55.2];
denum=[0.001088 0.044 0.69185 9.28 55.2];
sys=tf(num,denum);
step(sys,t)
grid
title ('Unit-Step Response')
xlabel('t')
ylabel('Amplitudo')
so , how to add kalman filter to this coding ?
Vladimir Cheremushkin
Vladimir Cheremushkin le 12 Juil 2018

0 votes

For MH. At you the control system of the engine on the basis of use of the filter of Kalman will turn out. It is necessary to control any parameter of the engine. The code of the program should be written further. As a result, it is necessary to use function of MATLAB [ ] = kalman(sys,Qn,Rn,Nn). Then to receive L P M Z . Then to substitute all data in the system of uroavneniye which is an optimal solution of initial system of uroavneniye for your plant_(num/denum).

Community Treasure Hunt

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

Start Hunting!

Translated by