MATLAB Answers

Modeling accelerometer and gyroscope in simulink

43 views (last 30 days)
chfakht chfakht
chfakht chfakht on 22 Jan 2015
Answered: Gayatri Menon on 23 Sep 2020
Hi everyone , i'm working on a tracking system project that will localise people inside a building during their mouvements using the IMU : inertial measurement unit (gyroscope + accelerometer) , and i have chosen the kalman filter algorithm to read the output of the IMU and estimate and update the actual position
i need if it possible a module in simulink that simulate the gyroscope and accelerometer and also how to implement the algorthm using kalman filter
thanks in advance :)
  3 Comments
chfakht chfakht
chfakht chfakht on 11 Feb 2015
the model will be deployed in the final stage to the arduino for real time data acquisition

Sign in to comment.

Answers (3)

Ankitkumar
Ankitkumar on 16 Mar 2016
It is possible to model accelerometer and gyroscope in SIMULINK. Just letme know which gyro you are using, then I may help you. Just now I have modeled MPU6050 in simulink.
  4 Comments
fatima zohra soussi
fatima zohra soussi on 29 Aug 2020
Ankitkumar please can you help me i went also modele MPU6050 in simulink please if you can give me your email i went to understand how please

Sign in to comment.


Behnam Mohammad
Behnam Mohammad on 13 Mar 2018
Hi there,
Is it possible to share your codes with me, the code you have used to model MPU6050 or ADXL335/345 ? I am a bit struggling to get the data separately through I2C using Arduino support in MATLAB and also getting analog data as well! I have gone and tried both way and haven't made any success!!
Thank you
  1 Comment
fatima zohra soussi
fatima zohra soussi on 29 Aug 2020
Behnam Mohammad are you modeling the mpu6050 if yes can you help me please

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!

Translated by