This file contains an aileron actuator model that can be used to develop mechanical designs, determine actuator requirements, compare electrical and hydraulic designs, and design the control system. A number of intermediate models are also included to show you the incremental steps of developing this system. MATLAB scripts show many steps, including optimizing the design, automatically producing reports, and generating C Code. The model is built using Simscape, Simscape Multibody, Simscape Fluids, and Simscape Electronics.
Please read the README.txt file to get started.
See how to model a mechatronic system in Simscape (4 min):
Learn about modeling actuation systems, including custom components using Simscape language:
Find other Simscape examples by searching posts for the keyword "physical modeling"
Learn more about MathWorks Simscape Products:
You may reuse this content, with or without modification, in your work.
Please follow the conditions of the license file and use the following citation:
 Miller, Steve (2017), Aileron Model in Simscape (http://www.mathworks.com/matlabcentral/fileexchange/38249) MATLAB Central File Exchange. Retrieved on <date you downloaded submission>
Hi Vatea - there are theoretical and data-based calculations for the drag of an airfoil. I would use one of those to calculate the drag force and apply it using an External Force and Torque block in Simscape Multibody.
You did really great in modeling the aileron actuation.
Now how would you model the hydro/aerodynamic effects acting upon this aileron?
Added R2017a version and text for citing submission in other works. Made startup script compatible with Mac.
Added R2016b version which includes adjustments to mask drawing commands and improved layout of motor driver circuit.
Fixed broken link in submission description.
Added R2016a version. Shows new runtime parameter feature.
Fixed webinar link.
Updated "Created Using" field to R2013a. Submission also contains R2012b version.
Zip file contains R2013a version, as well as R2012b version.
Updated submission with examples for real-time, Simscape language, parameter tuning, and optimization. Updated link to new webinar demonstrating example.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.