Modeling accelerometer and gyroscope in simulink

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 commentaires

Steve
Steve le 23 Jan 2015
Modifié(e) : Steve le 23 Jan 2015
Good question. Are you planning on using an arduino to interface with the gyroscope ?
YES , in the beginning i need a model that simulate the IMU : gyroscope + accelerometer thnks
the model will be deployed in the final stage to the arduino for real time data acquisition

Connectez-vous pour commenter.

Réponses (3)

Ankitkumar
Ankitkumar le 16 Mar 2016

0 votes

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 commentaires

I am trying to simulate the ADXL345 accelerometer and the L3G4200D gyroscope, if you could help that would be awesome! I wanted to use the aerospace software but unfortunately I do not have access to it
im trying to simulate mpu6050 using matlab too. Ankitkumar, how did u simulate it in simulink?
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.
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

Connectez-vous pour commenter.

Behnam Mohammad
Behnam Mohammad le 13 Mar 2018

0 votes

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 commentaire

Behnam Mohammad are you modeling the mpu6050 if yes can you help me please

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by