MATLAB Answers

1

Modelling a Quadrotor with Simmechanics

Asked by Leonardo Araujo on 10 Dec 2013
Latest activity Commented on by srinivasa ramanujam on 27 Mar 2016

Guys it's possible to model a plant of a quadrotor using simmechanics? For instance which kind of joint I can use to model the force(F1,F2,F3,F4) of the quadrotors

Or maybe I'm going on the wrong direction and for this the best would be the aerospace blockset?

Thanks

  0 Comments

4 Answers

Answer by Ryan G
on 10 Dec 2013

Depending on what you're looking to do, this can be done with either Aero Blks or SimMech. From scratch, aero blks is easier because you can simply create the force and moment on a moment arm assuming the CG is directly centered. However, if you have a CAD model, I would import it into SimMech 2G and generate the forces using simscape blocks.

  0 Comments


Answer by Leonardo Araujo on 11 Dec 2013

Guys this is the first test with the Assembly (Propeller + Motor) from solidworks to simmechanics with the External Force and Torque

Simulation Video

Just to confirm this is the idea???

  0 Comments


Answer by Mohamed Abdelkader Zahana on 13 Sep 2014

Hi Leonardo,

Do you have the XML file of the qudcopter (that can be imported by SimMechanics) that's exported from Solidworks? I would like to use it to design my controller?

Thank you.

  2 Comments

Hi Mohamed i've added this project on the filéexchange with the solidworks project included.

http://www.mathworks.com/matlabcentral/fileexchange/44902-quadrotor-modelling-and-control-with-simmechanics

Dear Leonardo, i saw your simmechanics blocks. they are amazing, i am also actually working on a quadcopter, i would like to know how did you make the quads roll and pitch at respective time intervals. i actually used yours as my reference and i made one, but my quads respons is very slow can you please help me in that thanks


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!