Modeling accelerometer and gyroscope in simulink

24 views (last 30 days)
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 26 Jan 2015
YES , in the beginning i need a model that simulate the IMU : gyroscope + accelerometer thnks
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
shreyas joshi
shreyas joshi on 26 Oct 2017
can you post the model of mpu6050 here? i am trying to model an IMU in simulink. i am using mpu6050 for the same. If possible, please post it here. It will be of great help to me.
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.


Gayatri Menon
Gayatri Menon on 23 Sep 2020

Community Treasure Hunt

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

Start Hunting!