Difference between revisions of "User:Yvest"

From PaparazziUAV
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 42: Line 42:
I'm considering these sensors:
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
*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
*Dual axis accelerometers: To provide mesurement of the elevation of the antenna (tilt angle)
*Magnetometer: To provide the azimut of the antenna
*Magnetometer: To provide the azimut of the antenna
===Barometric Altimeter===
===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.
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:
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.
* 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.
* 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.


==Varia==
==Instructions==
===Modification of Berg4L for use with tiny===
This is a very good receiver for many reasons, it's size/weight, range, filters are all good reasons to choose it. Here are the step you need to take to midify it for use with pprz:
# remove the shrink wrap
# Desolder the headers. We will not use them with tiny AP as the servos are connected directly to the AP.
# You need to solder 3 wires to the receiver. Gnd, +5V and PPM. To locate the PPM signal, first locate the PIC micro controller close to the location of the headers. The PPM signal is on the corner pin closest to the corner of the receiver. Soldering a 28guage wire directly to the PIN isn't very difficult. For the power connection, use the pads that were used for the header. The outside pin is Gnd, the second pin is +5V. What I did is solder the wires on the pad going strait down, then I looped the 3 wires 360 degrees and glued them to the PCB with hot glue. This provides good strain relief.
# While you have the PCB in your hands, take the opportunity to remove the crystal connector and solder your crystal directly to the PCB for added reliability.
# I also used some hot glue to add more strain relief to the antenna
# Use some large shrink wrap to cover the entire receiver again
 
===Modification of FMA IR sensor===
===Modification of FMA IR sensor===
Comming soon
Comming soon
===Adding PPM to the list of messages that are sent via the Datalink===
Comming soon
===Enabling debuging of link for xbee===
===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
Comming soon

Latest revision as of 15:23, 27 March 2007

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