13.07.2015 Views

An Integrated, Modular Simulation System for Education ... - Cal Poly

An Integrated, Modular Simulation System for Education ... - Cal Poly

An Integrated, Modular Simulation System for Education ... - Cal Poly

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

existing graphics by creating a TCP/IP to graphics S-function to plug into the graphicsTCP/IP server socket.Hardware in the LoopThe ability to provide hardware in the loop code was the feature that initiated theuse of real time workshop. Since the PhEagle simulation cab uses A/D and D/A IO, thesimulator is already hardware in the loop. Using back up IO cards the hardwarecapabilities exist now to include many types of flight hardware into the current system.Existing InfrastructureCreating the output to the instruments and the input from the stick has created ainfrastructure <strong>for</strong> doing hardware in the loop simulations. The input from the stick is inanalog voltage varied through potentiometers located on the stick. The instruments arevoltage meters that use the output reference voltage to command the position of theneedles. After all the stick and instruments are hooked up on Spiegel, unused channelsremain available on both the input and output cards that can be used <strong>for</strong> hardware in theloop input and output. The addition of hardware requires very small changes to theSimulink S-functions. The Phantom computer has D/A cards and software currentlybeing used as a backup system <strong>for</strong> Spiegel. Phantom is available to provide hardware inthe loop IO through the Ethernet.PhEagle II — SoftwareStarting with bits and pieces of simulation and IO program functions created byvarious <strong>Cal</strong> <strong>Poly</strong> alumni in Fortran, c, and c++, along with new functions, the PhEagle IISimulink/RTW library was created, tested, and verified.40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!