Difference between revisions of "Other Infrared Sensors"

From PaparazziUAV
Jump to navigation Jump to search
m (spelling)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>Sensors/IR</categorytree>
= FMA Direct Co Pilot Sensor Boards =
= FMA Direct Co Pilot Sensor Boards =
The [http://www.fmadirect.com FMA Direct] horizontal (X-Y) and vertical (Z) sensors are inexpensive, readily available, and perfectly suited for use with all versions of the Paparazzi autopilot.  These sensors are only available direct from FMA ''Direct''.<br>
The [http://www.fmadirect.com FMA Direct] horizontal (X-Y) and vertical (Z) sensors are inexpensive, readily available, and perfectly suited for use with all versions of the Paparazzi autopilot.  These sensors are only available direct from FMA ''Direct''.<br>
Line 100: Line 102:
''a suitable resistor from mouser is [http://www.mouser.com/search/productdetail.aspx?R=RK73H1JTTD1001Fvirtualkey66000000virtualkey660-RK73H1JTTD1001F here]''
''a suitable resistor from mouser is [http://www.mouser.com/search/productdetail.aspx?R=RK73H1JTTD1001Fvirtualkey66000000virtualkey660-RK73H1JTTD1001F here]''


[[Category:Hardware]]
= Attopilot Sensor Boards =
 
The Attopilot horizontal (X-Y) and vertical (Z) sensors are an alternative sensor pair for the Paparazzi autopilot. They come without molex connector already soldered if you are lucky. The molex connector on the board is bigger and different from the Paparazzi IR board. It is advised to solder the Paparazzi molex on the board, with a little soldering skill this is doable.
 
== Pinouts and Optional Gain Adjustment ==
 
{TODO}
 
= Alternative sensor schematic from MyResearch =
 
This is [http://www.myresearch.lt/blog/servo180/servo180.phtml MyResearch.lt] open source data. The sensor is presented as a replacement for a servo potentiometer. It can be used in a same way as the FMA Direct Co Pilot Sensor. The resistors 4k7 are not needed if it is not connected to a servo directly.
 
[[Image:Ir_ckt.jpg]]
 
[[Image:Ir_pcb.gif]]
[http://www.myresearch.lt/blog/servo180/pcb.tif PCB]
 
[[Image:Ir1.jpg]]
 
 
[http://www.youtube.com/watch?v=abZbt1Vm7iw VIDEO]
 
Such a servomechanism is usable for controlling the bank of the aircraft or the inclination of the camera. You'll be able to control the inclination of the camera; the neutral position will conform to the horizon line. In addition, it is possible to control the ailerons of the aircraft and to incline the aircraft to the desired angle in respect of the horizon. If the horizon line is not symmetric, a bank of the aircraft appears. A signal of the sensor is applied to an ordinary servomechanism instead of the internal potentiometer. The potentiometer of the servomechanism is connected to the negative terminal, to the reference voltage and has one output (3 conductors); the infrared sensor is connected in the same way.
 
[[Category:Hardware]] [[Category:Sensors/IR]]

Latest revision as of 08:47, 8 July 2016

FMA Direct Co Pilot Sensor Boards

The FMA Direct horizontal (X-Y) and vertical (Z) sensors are inexpensive, readily available, and perfectly suited for use with all versions of the Paparazzi autopilot. These sensors are only available direct from FMA Direct.
Purchase both the X-Y sensor: CPD4SENUNIT and Z sensor: FS8ZS for optimum performance. The sensor boards are coated with a very thick lacquer that is difficult to penetrate while soldering. Do not remove more coating than necessary as it prevents the very high value resistors from drifting with humidity changes.

FMA X-Y Sensor CPD4SENUNIT
FMA Z-sensor FS8ZS

Pinouts and Optional Gain Adjustment

The FMA sensors were designed to operate from a 5V source but are typically powered in Paparazzi installations with 3.3V, ensuring that the sensor's analog output does not exceed the 3.3V limit of the ADC inputs on the ARM7 microprocessor. The sensors work well at 3.3V but their amplifier gain is effectively increased by a factor of 5/3.3.

  • If the gain is too high and/or the airfield contrast is also too high, the sensor could saturate (reach it's maximum possible reading) well before the aircraft has pitched/rolled 90 degrees, resulting in a tendency for the plane to underbank/underpitch and drift off course.
  • If the gain is too low and/or the contrast is too low, the noise and neutral-offset of the sensor can become dominant, resulting in a tendency for the aircraft to be out of trim and potentially overbank/overpitch in one direction and crash.

Either extreme is bad, of course, but it should be noted that these are only extremes. For reference, a stock FMA sensor run on 3.3V will saturate when flying over black asphalt on a very hot, dry Arizona day, a modified sensor will not. Similarly, a modified sensor will show more signs of neutral-offset when operated in cloudy weather or other low contrast situations. It is suggested that sensors only be modified if needed for very high contrast locales.


Make sure that the IR1 output from the XY sensor goes to IR1 input of the Tiny and that the IR2 output from the XY sensor goes to the IR2 input of the tiny board.


  • XY sensors from FMA have the plug connected as:
  • 1) Gnd;
  • 2) +3.3v;
  • 3) IR1;
  • 4) IR2;
  • But on the tiny board the plug is connected as:
  • 1) Gnd;
  • 2) +3.3v;
  • 3) IR2;
  • 4) IR1.


Horizontal Sensor Modification

IR Sensor Board Bottom
IR Sensor Board Top

The stock FMA resistors R2/R3 and R5/R6 (0603 0.8 Mohm/0603 510 ohm) set the op amp gain to approximately 1600. Since this unit is designed to run on 5V and we are running it on 3.3V, we can change R3 and R6 from 510 ohm to 1K ohm to reduce the gain to around 800. Another option is to replace R2 and R5 with 560 Kohm resistors, generating an output gain of approximately 1100; a gain which is practically identical to that of the Paparazzi board.

a suitable resistor from mouser is here

R1 200 ohm
R2 0.8 Mohm
R3 510 ohm
R4 200 ohm
R5 0.8 Mohm
R6 510 ohm
R7 600 ohm
R8 600 ohm
C1 0.026 uF
C2 0.026 uF
C3 0.026 uF
C4 0.026 uF
C5 0.01 uF
C6 0.026 uF

Vertical Sensor Modification

IR Vertical Sensor Board Bottom
IR Vertical Sensor Board Top

The same operation can be done with the vertical sensor by changing R3 from 510 ohm to a 1K ohm.

a suitable resistor from mouser is here

Attopilot Sensor Boards

The Attopilot horizontal (X-Y) and vertical (Z) sensors are an alternative sensor pair for the Paparazzi autopilot. They come without molex connector already soldered if you are lucky. The molex connector on the board is bigger and different from the Paparazzi IR board. It is advised to solder the Paparazzi molex on the board, with a little soldering skill this is doable.

Pinouts and Optional Gain Adjustment

{TODO}

Alternative sensor schematic from MyResearch

This is MyResearch.lt open source data. The sensor is presented as a replacement for a servo potentiometer. It can be used in a same way as the FMA Direct Co Pilot Sensor. The resistors 4k7 are not needed if it is not connected to a servo directly.

Ir ckt.jpg

Ir pcb.gif PCB

Ir1.jpg


VIDEO

Such a servomechanism is usable for controlling the bank of the aircraft or the inclination of the camera. You'll be able to control the inclination of the camera; the neutral position will conform to the horizon line. In addition, it is possible to control the ailerons of the aircraft and to incline the aircraft to the desired angle in respect of the horizon. If the horizon line is not symmetric, a bank of the aircraft appears. A signal of the sensor is applied to an ordinary servomechanism instead of the internal potentiometer. The potentiometer of the servomechanism is connected to the negative terminal, to the reference voltage and has one output (3 conductors); the infrared sensor is connected in the same way.