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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the data and converting to the proper <strong>for</strong>mat a Simulink model [chirp.mdl] (Figure 31)was created to generate a CHIRP and collect the input and output data. The chirp wentfrom 0.2 to 12 RAD/sec and was sampled over 60 seconds at a sample rate of 0.02seconds using a Dormand-Prince numerical integration technique. The data were sent toIn StickOut AirframeChirp Signal36.3271s 2+8.2998s+36.3271Transfer FcnsimOutdynamics to wrkSpaceinputCmdCmd to wrkSpaceFigure 31 CIFER Tutoreial Sample Tranfer Function Modelthe Matlab workspace and a Matlab .m file [maketext.m] was created to save the data toASCII files be<strong>for</strong>e.txt and after.txt. A transfer function was used to model the dynamicsof a small aircraft. The model used a natural frequency of 6.0272 RAD/sec and adamping ratio of 0.68852. The natural frequency and damping ratio were derived from asmall general aviation aircraft, a Cessna 172 [Ref. 36]. Two Fortran programs [atobin.f,atobout.f] were created to convert the ASCII data files to un<strong>for</strong>matted Fortran binary<strong>for</strong>mat files which CIFER uses <strong>for</strong> input. The output files [be<strong>for</strong>e.bin, after.bin] werecopied to the CIFER directory structure and processed in CIFER to bode plots then to alow order equivalent system transfer function.The CIFER software and html tutorial reside on a Silicon Graphics Indigoworkstation [Daniel] located in the <strong>Cal</strong> <strong>Poly</strong> controls lab. The web page containseverything required to create and process a chirp to a bode plot and low order equivalent80

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

Saved successfully!

Ooh no, something went wrong!