Difference between revisions of "Sensors"

From PaparazziUAV
Jump to navigation Jump to search
m (IR Sensors moved to Sensors)
(moved content to Category:Sensors)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Infrared Sensors ==
#REDIRECT [[Category:Sensors]]
 
[[Image:ir_sensor_bot_small.jpg|thumb|Paparazzi x-y IR sensor board]]
The paparazzi autopilot uses infrared thermopiles for primary attitude sensing.  The theory is that at zero bank or pitch angle, the difference in the heat between the two sensors should be zero, and at 90 degrees it should be maximum.  From this relationship a linear regression is made and angles are calculated during flight.  Each pair of sensors measures one axis, a minimum of 2 pairs must be used to measure pitch and roll but best results are obtained thru the use of a 3<sup>rd</sup> pair on the vertical axis.  Since the output signal from each sensor pair is proportional to both the attitude and the weather/terrain, systems with only x-y sensors require a ground calibration and may not provide accurate angle calculations as the aircraft travels over terrain with different IR radiation.
 
=== Architecture ===
 
[[Image:IR_Sensor_Board_Architecture.jpg]]
 
=== Dual Axis Board Pinout ===
 
[[Image:IR_Sensor_2-Axis_Pinout.jpg|frame|left|Component Side View]]
 
{| border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
!''Pin #''!!''Name''!!''Notes''!!width="50"|''Suggested Color''
|-
|1|||IR2||IR Signal Output Axis 2||style="background:grey; color:white"|Grey
|-
|2||GND||Ground||style="background:black; color:white"|Black
|-
|3||VCC|| +3.3v Power Supply||style="background:red; color:white"|Red
|-
|4||IR1||IR Signal Output Axis 1||style="background:sienna; color:white"|Braun
|}
<br style="clear:both">
 
=== Single Axis Board Pinout ===
 
[[Image:IR_Sensor_1-Axis_Pinout.jpg|frame|left|Component Side View]]
 
{| border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
!''Pin #''!!''Name''!!''Notes''!!width="50"|''Suggested Color''
|-
|1||IR||IR Signal Output||style="background:purple; color:white"|Purple
|-
|2||VCC|| +3.3v Power Supply||style="background:red; color:white"|Red
|-
|3||GND||Ground||style="background:black; color:white"|Black
|-
|}
<br style="clear:both">
 
 
 
Below is a product designed by [http://www.fmadirect.com FMA Direct] and is a replacement for their Flight Stabilization system.  With a simple resistor swap, this module is suitable for use in the Paparazzi UAV.
 
[http://www.fmadirect.com/detail.htm?item=1778&section=20 CPD4SENUNIT]
 
=== FMA Direct CoPilot Sensor Head ===
 
[[Image:fmairsensor.jpg]]
 
{|
|[[Image:FMA_IR_OPAMP_OVR.jpg|thumb|left|300px|IR Sensor Board Bottom]]
|[[Image:FMA_IR_TOP_OVR.jpg|thumb|left|290px|IR Sensor Board Top]]
|}
 
'''Stock FMA Components'''
 
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, it is advised to change R3 and R6 from 510 ohm to 1K ohm for an approximate gain of approximately 800.  Without the change, it is theoretically possible to overdrive the Op Amp in extreme hot regions/seasons.
 
Another resistor swap option for this board 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 [http://www.mouser.com/search/productdetail.aspx?R=RK73H1JTTD5623Fvirtualkey66000000virtualkey660-RK73H1JTTD5623F 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
|}
 
=== FMA Direct Vertical Sensor ===
 
[[Image:fmavertsensor.gif]]
 
{|
|[[Image:Fma_ir_single_bottom.jpg|thumb|left|300px|IR Vertical Sensor Board Bottom]]
|[[Image:Fma_ir_single_up.jpg|thumb|left|290px|IR Vertical Sensor Board Top]]
|}
 
The same operation can be done with the vertical sensor (single axis). The resistor R3 should be changed from a 510 ohm to a 1K ohm.
 
''a suitable resistor from mouser is [http://www.mouser.com/search/productdetail.aspx?R=RK73H1JTTD1001Fvirtualkey66000000virtualkey660-RK73H1JTTD1001F here]''
 
== Inertial Measurement ==
 
Work is underway to create a complete 17 state [http://en.wikipedia.org/wiki/Kalman_filtering Kalman filtered] inertial navigation solution!  Watch the [http://www.recherche.enac.fr/~poine/video/ahrs2fg.mpeg demonstration video] of the current 7-state system.
<gallery>
Image:imu_3_top.jpg|Complete IMU head with 3-axis gyro, 3-axis accelerometer, and 3-axis magnetometer
Image:ahrs2fg.jpg|[http://www.recherche.enac.fr/~poine/video/ahrs2fg.mpeg video of ahrs driving flightgear]
</gallery>
The IMU features the following hardware:
* Analog Devices AXDRS150 5V 150 deg/s gyros (top left)
* MMA7260 3-axis 1.5 - 6g accelerometer (center left)
* 3.3V LDO regulator (lower left)
* Micromag 3-axis SPI magnetometer (right)
* MAX1167 Multichannel, 16-Bit, 200ksps Analog-to-Digital Converter (below Micromag)
* LPC2148 ARM7 microcontroller (below Micromag)

Latest revision as of 03:49, 25 January 2013

Redirect to: