Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

8
Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson

Transcript of Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Page 1: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Flamewheel UAV

EEL4665 Intelligent Machine Design LabFall 2012

Matt Thompson

Page 2: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Goals

• Convert flamewheel into UAV– Self stabilizing– Autonomous takeoff and land– Fly to GPS waypoints– Drop payloads

• Components– Quadcopter– Flight Controller PCB– Software

Page 3: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Quadcopter

Page 4: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Flight Controller PCBFeatures• STM32F405 Processor

– 168 Mhz, FPU– 192Kb RAM, 1Mb Flash

• MPU6000– 3 axis accel and gyro at 1khz– Integrated 16 bit ADCs

• BMP085 Altimeter• Xbee• IO

– Output: ESCs, Servos– Input: Analog, PWM

• LEDs! (Can’t ever have enough)

Altium PCB Layout

Page 5: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Mag/GPS PCB

Features• LS20031 GPS

– 5Hz update rate

• HMC5883L Magnetometer– 3 Axis magnetometer– 12bit ADCs at 160Hz

Altium PCB Layout

Page 6: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Software

• Built on custom RTOS– Multitasking with priorities– Zero interrupt latency

• Multiple flight modes– Stabilize– GPS– Mission– Acro (after IMDL demo!)

Page 7: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

• INS - 1khz– Integrate gyros– Attitude quaternion

• EKF - 100hz+– Tracks INS errors using

accels and mag– Estimates accel and gyro

biases– Periodically resets INS

State estimator

Page 8: Flamewheel UAV EEL4665 Intelligent Machine Design Lab Fall 2012 Matt Thompson.

Status• State estimation simulated in Matlab• Basic code tested on a development board• PCBs coming Thursday/Friday!• Hope to be test flying in 3 weeks– Write drivers for all the hardware– Implement and test state estimator– Design and implement PID control

• Come up with cool autonomous demo– GPS waypoints + Servos = ??– GPS waypoints + Bottle rockets = ?!?!