Kalman Filter

5 views (last 30 days)
Muhammad Faisol
Muhammad Faisol on 13 Jan 2012
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 Comments
bym
bym on 13 Jan 2012
that is a pretty general question; you might want to add details
Ahmed Hakim
Ahmed Hakim on 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

Sign in to comment.

Answers (3)

Rick Rosson
Rick Rosson on 13 Jan 2012

Muhammad Faisol
Muhammad Faisol on 15 Jan 2012
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 on 12 Jul 2018
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!