How to simulate position in multirateEKFExample?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to simulate the estimation of positions in multirateEKFExample. The example shows the simulation of the predicted speed estimate. For this, I understand that the model with the selector block selects the east and west positions of the xTrue block before entering the EKF block. What should I select to estimate the position? East and west positions, east and west velocities?
Thank you
0 commentaires
Réponses (1)
Rishav
le 4 Mai 2023
Hi Manuel,
In the multirateEKFExample, the EKF block estimates the position and velocity of the system based on the measurements from the sensors. The measurements consist of the true position and velocity of the system, as well as noisy measurements of the position and velocity.
To estimate the position, you should use the measurements of the true position from the xTrue block. These measurements are fed into the EKF block through the Selector block.
To estimate the velocity, you should use the measurements of the true velocity from the xTrue block. These measurements are also fed into the EKF block through the Selector block.
The noisy position and velocity measurements are used to correct the estimates of the position and velocity. The EKF block uses the Kalman filter algorithm to combine the noisy measurements with the predicted estimates of the position and velocity to produce an improved estimate of the position and velocity.
So, to summarize, you should use the true position and velocity measurements from the xTrue block to estimate the position and velocity of the system.
Regards,
Rishav Saha
Voir également
Catégories
En savoir plus sur Optimize Model Response dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!