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 (2018), Aileron Model in Simscape (http://www.mathworks.com/matlabcentral/fileexchange/38249) MATLAB Central File Exchange. Retrieved on <date you downloaded submission>
The Aileron Picture is not shown on display when I try to open the component file.
How can I put it in my Simscape library?
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?
New version. Mechanical model from CAD, 3 parallel actuators.
Updated for R2018a
Added R2017b version.
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.
Create scripts with code, output, and formatted text in a single executable document.