Difference between revisions of "Analog Bumper"

From Ed's Mediawiki
Line 3: Line 3:
 
</div>
 
</div>
  
For connecting to analog sensors, FIRST provides the NI9201 analog input module plug-in for the CRIO. This module has eight analog inputs that can be read by the robot program. To make it easier to interface with this module, the FRC Analog Bumper (AKA Analog Breakout) is provided, which plugs into the DB25 connector on the NI9201 module.  Because FRC sensors typically operate with a 5 volt power supply, the Analog Bumper includes a clean 5 volt DC to DC converter. Not only does this provide convenient power for the sensors, but because the power from this circuit is private to the sensors and share a ground return with them, it keeps the noise level in the analog sensor subsystem to a reasonable level.  If you were to use any random 5 volt power supply on your electrical board, the amount of noise seen by the analog inputs would be significantly higher, reducing the effectiveness of the sensors.  To take advantage of this noise reduction feature, sensor power inputs and ground returns should always be connected only to their corresponding connectors on the Analog Bumper.
+
For connecting to analog sensors, FIRST provides the NI9201 analog input module plug-in for the CRIO. This module has eight analog inputs that can be read by the robot program. To make it easier to interface with this module, the FRC Analog Bumper (AKA Analog Breakout) is provided, which plugs into the DB25 connector on the NI9201 module.  Because FRC sensors typically operate with a 5 volt power supply, the Analog Bumper includes a clean 5 volt DC to DC converter.
  
 
[[File:Analog-bumper-ckt.jpg]]
 
[[File:Analog-bumper-ckt.jpg]]
 +
 +
This schematic shows how the parts of the analog bumper are connected.  The three-wire PWM cables carry power and ground to each sensor to provide power for its circuitry, and the sensor's analog value back to the CRIO's analog input module.  The reason for having a power supply on this breakout is to make sure the sensors get clean and quiet power that is private to the sensors (not being used by other robot circuits that could introduce electrical noise.)  The voltage divider that optionally drives analog input 8 is there because the analog input module only works up to 10 volts.  The voltage divider multiplies the 12 volt battery voltage by a factor of .6 before feeding it to the analog interface, and the software restores it to the correct value.  The jumper that selects between this reduced battery reading and the eighth sensor input can be used in cases where there are two analog input modules on the robot.

Revision as of 00:52, 6 November 2011

For connecting to analog sensors, FIRST provides the NI9201 analog input module plug-in for the CRIO. This module has eight analog inputs that can be read by the robot program. To make it easier to interface with this module, the FRC Analog Bumper (AKA Analog Breakout) is provided, which plugs into the DB25 connector on the NI9201 module. Because FRC sensors typically operate with a 5 volt power supply, the Analog Bumper includes a clean 5 volt DC to DC converter.

Analog-bumper-ckt.jpg

This schematic shows how the parts of the analog bumper are connected. The three-wire PWM cables carry power and ground to each sensor to provide power for its circuitry, and the sensor's analog value back to the CRIO's analog input module. The reason for having a power supply on this breakout is to make sure the sensors get clean and quiet power that is private to the sensors (not being used by other robot circuits that could introduce electrical noise.) The voltage divider that optionally drives analog input 8 is there because the analog input module only works up to 10 volts. The voltage divider multiplies the 12 volt battery voltage by a factor of .6 before feeding it to the analog interface, and the software restores it to the correct value. The jumper that selects between this reduced battery reading and the eighth sensor input can be used in cases where there are two analog input modules on the robot.