User:Yvest

From PaparazziUAV
Jump to navigation Jump to search

Intro

I'm working on implementing a pprz UAV as a way of merging my interrest in hobby planes, embbeded electronics and programming. My location is Montreal Canada.

My current Air frame

I'm currently working on a Multiplex Minimag with the following equipement:

  • RC-er warp4-5T Brushless motor
  • Castle Creation Phoenix 35Amp brushless ESC
  • polyquest 2100mha 3S lipo
  • 4 Futaba 3114 servo
  • Berg 4L receiver
  • Maxstream Xbee pro with whip antenna
  • fma IR sensor
  • PPRZ tiny13 v1.1

Gound Equipement:

  • Dell Laptop
  • Xbee USB packaged modem w/9db rubber duck or 14db patch antenna
  • Orbit pocket ladder charger

The state of my project

Currently everything is connected to each other and basic functionality has been showed. Final/permanent mounting of the RC receiver and IR sensor is to be completed. There is currently no payload in this airframe and none is planned. I will probably move to a twinstar II when I'm ready to install a video system.

Todo

  • Replace the resistors on the IR sensor to fix the gain of the op-amps to have the right range for 3.3V operation
  • Final mounting of RC receiver and antenna
  • Final mounting of IR sensor
  • Install hatch retaining device
  • Calibration of IR sensor
  • Calibration of RC signals
  • Range testing
  • Initial flight testing and triming
  • Tuning of the control loops
  • Tuning of the Navigation gain

Projects that I'm interrested on developing to contribute to the project

USB tunnel

Code that will turn your tiny into a virtual serial port (ala ftdi chip) for the configuation of the GPS. Basic functionality is working, but I have severe issue with overruns and I wasn't able to make it work with the bootloader.

Tracking antenna

My take on this is that we should use off the self hardware so that it's easier for most people to build and use. Using a Pan & Tilt head driven by RC servo such as those sold by Servo city should fit the bill. We could use a tiny controller to drive the servo.

I'm considering these sensors:

  • GPS: to find the location of the antenna. We could either set the coordonate of the antenna manually before the flight for a fix antenna or use the GPS to have the possibility to install the antenna on a moving vehicule
  • Dual axis accelerometers: To provide mesurement of the elevation of the antenna (tilt angle)
  • Magnetometer: To provide the azimut of the antenna

Barometric Altimeter

Altitude estimation thru GPS isn't very stable or precise. Because of this we could add a barometric altimeter to improve the altitude estimation. Current options are:

  • VTI SCP1000: Direct digital reading thru a SPI interface. 17bit resolution provides as much as 9cm resolution. This sensor is very small. A breakout board is available from sparkfun and Digikey.
  • Freescale has a good range of analog absolute pressure sensor. We could either use an extra AD channel on the LPC or use an external ADC for better resolution.

Instructions

Modification of FMA IR sensor

Comming soon

Enabling debuging of link for xbee

"export PAPARAZZI_DEBUG=x" before starting link. This will show the RSSI when using xbee transport (second number on the line that starts with getting XBee RX64: or getting XBee RX16:. Smaller is better)

Putting telemetry in Debug mode (To add PPM messages)

add ap.CFLAGS += -DTELEMETRY_MODE_FBW=1 in the aircraft. This will add the PPM messages to the list of messages send by the AP. (see the debug section of telemetry/default.xml)

Connecting Xbee Pro

The recommanded method of connecting the Xbee module to the Autopilot controller is the remove both headers and to solder wires directly on the pads for TX, RX, Gnd and VCC (+3V3). It's recommanded to use a small 3.3V regulator connected on the wiring harness and feed from the AP 5V regulator rather then using the 3.3V from the AP. This will avoid potential problems like MCU resets, etc.

Configuring the Xbee Pro module

Comming soon