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?
Seems like a neat application. Not having tried this before, my first approach might be to:
The challenge would be to model the lift due to the spinning rotors. The Aerospace Toolbox may have some suitable blocks for this task.
You can try a feedback loop with the rotor angular velocities as inputs and the quad lift force as output (accounting for roll, pitch, and yaw).
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.
You got that together pretty quick! Looking at your model snapshots, here are some thoughts:
Anyway, cool stuff!
Very cool. You should try uploading that model to matlab central once you get a control system in ;)
Hi guys I've added the project here on file exchage .... http://www.mathworks.com/matlabcentral/fileexchange/44902-quadrotor-modelling-and-control-with-simmechanics
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?