Presentation on theme: "LogDAT Flight Data Logging Sponsored by L3-Communications Group 9."— Presentation transcript:
LogDAT Flight Data Logging Sponsored by L3-Communications Group 9
Group 9 Members Winston James EE Brian Lichtman CpE Shaun Mosley CpE Tony Torres CpE
Motivation L3-Communications uses a software set (DATCOM) to calculate expected flight characteristics of large fixed-wing aircrafts L3 has asked for a solution to verify the accuracy of their software set when used on small aerial vehicles
Project Objective Record vital parameters from test flights of a model airplane Portable and easily adapted to other aircrafts Provide easy way to obtain recorded data and compare with L3’s software set
Specifications Ability to record data at speeds of at least 60 Hz Aircraft should be able to fly for at least 20 minutes while recording data Test vehicle must have a wingspan larger than 3 feet Must not have more than ½lb weight offset to one side Cost must be under $1500.00
Requirements Lift Coefficient due to: – Basic geometry (CLα) – Flap deflection (CLδf) – Elevator Deflection (CLδe) – Pitch Rate derivative (CLq) – Angle of Attack Rate derivative (CLαdot) Drag Coefficient due to: – Basic geometry (CdD) – Flap deflection (Cδf) – Elevator deflection (Cdδe) Side Force Coefficient due to: – Sideslip (Cnâ) – Roll Rate derivative (Cnp) – Yaw Rate derivative (Cnr) Pitching Moment Coefficient due to: – Basic Geometry (Cm) – Flap Deflection (Cmδf) – Elevator Deflection (Cmδe) – Pitch Rate derivative (Cmq) – Angle of Attack Rate derivative (Cmαdot) Rolling Moment Coefficient due to: – Aileron Deflection (Clδa) – Sideslip (Clâ) – Roll Rate derivative (Clp) – Yaw Rate derivative (Clr) Yawing Moment Coefficient – Aileron Deflection (Cyδa) – Sideslip (Cyâ) – Roll Rate derivative (Cyp) – Yaw Rate derivative (Cyr) Misc – Horizontal Tail Downwash Angle (ε) – Derivative of Downwash Angle (δε/δα) – Elevator-surface hinge-moment derivative with respect to alpha (Chα) – Elevator-surface hinge-moment derivative due to elevator deflection (Chδ) – Normal force coefficient (body axis) (CN) – Axial force coefficient (body axis) (CA)
Model Airplane MQ9 Reaper – used by USAF, US Navy, CIA Picked to meet L3’s request Dimensions: 8.3 ft wingspan x 3.6 ft length Price: $100.36
Autopilot Autopilot is installed on an aircraft to allow for flight stabilization, auto takeoff, landing and fixed flight patterns Basic units are GPS, accelerometer, gyroscope, servos, telemetry Multiple types and brands are manufactured
Autopilot Selection ArduPilot Mega – Open-source firmware – Relatively cheap – Great community support – Free telemetry software Price: $415.00 Before testing in actual flight, we will test the ArduPilot in the FlightGear simulator
Hardware Design DYNAMIC PRESSURE “q” = 1/2ρV 2 o Dependent on True Airspeed (TAS) o Dependent on air density (rho) o Dependent on AOA FORCE COEFFICIENTS TORQUES COEFFICIENTS TAS o PITOT-TUBE PRINCIPLE AOA & AOS o BOOM
Hardware: Humidity Sensor HUMIDITY SENSOR MFGR: HONEYWELL P/N: HIH-5031-001 ANALOG SENSOR LOW POWER= 1.65mW SMALL SIZE PURPOSE: AIR DENSITY FREE! TEMPERATURE SENSOR MFGR: ANALOG DEVICES P/N: AD7814ARMZ SPI INTERFACE LOW POWER =1.32mW PURPOSE: AIR DENSITY FREE! BAROMETRIC PRESSURE SENSOR MFGR = BOSCH P/N: BMP085 ANALOG SENSOR LOW POWER = 0.03mW ALTITUDE RANGE: 0 to 29,528ft (9000m) ACCURACY: ±100Pa ±27ft = ±8.22m PURPOSE: AIR DENSITY
Microcontroller Unit (MCU) Selection MCU Chosen – Microchip’s dsPIC33EP512MU810 Aspects reviewed were: – Does it meet our I/O requirements? – What programming and debugging resources are available? – What kind of support is available for the MCU? – Can we get free samples of the products?
I/O Requirements I/O Requirements: – 34 Analog I/O 30x Force Sensors 2x Angle Sensors 1x Differential Pressure Sensor 1x Humidity Sensor – 4 SPI (Serial Peripheral Interface) Digital I/O Accelerometer Gyroscope Temperature Sensor SD Card Interface – 1 I 2 C (Inter-Integrated Circuit) Digital I/O Barometric Pressure Sensor FSR 402 Force Sensor
MCU Programming and Debugging Environment Free academic version of their C compiler and debugger with graphical IDE – Includes code optimization not available in the normal free version. – Fully functional with all libraries and source code of commercial version Memory Disk Drive File System Library Multi-level code optimization
Available Support There is abundant documentation for the use of dsPic33s Large collection of online training videos provided by Microchip Online 24hr support system for technical support along with a large support forum community Large collection of example code
Sample Availability 3 dsPIC33EP512MU810 MCUs 2 Free Samples of the ICD3 2 Free Samples of the Explorer 16 development board 2 Free Samples of dsPIC33EP512MU810 daughter boards for use with the development boards
MCU Software Design Software will be split into two separate sections: – Data acquisition – Data storage
Data Acquisition The MCU firmware will be designed to poll sensors at a minimum rate of 60hz. 1.Grab data from sensor The analog sensors will be read 4 at a time Digital sensors will be read sequentially 2.Convert each sensor value to an IEEE floating point number 3.Send data to data storage buffer 4.Repeat until all 38 sensors have been read
Data Storage Using the file system library from Microchip, an SPI interface will be used to communicate with an SD card. A data storage buffer will wait until 38 values are received Once this occurs, the buffer will be flushed to the SD card as raw binary
Software Overview Graphical User Interface (GUI) – The GUI is a simple interface to make the file selection process much simpler than using the command prompt. Program execution – The program will execute after the "Create" button is clicked. From there it will perform all the functions that need to take place to translate the input data to readable data for the user.
Data Structures I choose to use a linked list for memory concerns – Linked List Can only access the next value Is the exact length of the data and only adds one at a time With only one node being made at a time a linked list insures the minimum amount of memory being taken.
GUI Source text box is to specify the source file location Destination text box is to specify the name and destination of the file to be created The create button will run the computations to do the conversion from a binary to a csv file
Software Design Required measurements o Parsed Data Forces q Angle of Attack o Derivatives o Moments o Calculated measurements o Force and moment Coefficients o Coefficients due to different parameter on the plane o C L due to AOA