first fare 2010 lab-view sensors for frc robots

Post on 14-Nov-2014

1.753 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

1

FIRSTFare 2010Sensors for FRC Robots

Dennis C. Erickson ~ Senior Mentor for Teams 1510 and 2898

Daniel Bramblett ~ Team 1510Amy Wiegand ~ Team 2915

2

Introduction

A Wide Variety of Sensors can be Used to enhance the operation of the Robot

Primarily used in the Offensive Mode but are also used in Defensive Operations as

an Environment Monitor (e.g., Something’s Coming)

3

The FRC Topology

4

Sensors

Input devices used to aid in driving the robot and to make

autonomous decisions

5

Common Sensors•Photoelectric Sensor•Shaft Encoder Sensor•Yaw Rate Gyro Sensor•3-Axis Accelerometer Sensor•Ultrasonic Detector Sensor•Gear Tooth Sensor•Misc Pneumatic Sensors Also joysticks and video cameras could be considered sensors

6

Ultrasonic SensorUse to determine distance to friend or foe. Good from about 8 inches to 20 feetSuggest using a software filter to smooth the data

Operates at 42kHz with readings every 50ms

7

Ultrasonic Sensor

The Block Diagram and the Front Panel Used in the Main Robot Application

8

Gyroscope SensorYaw Rate GyroSenses angular changes about the top surface axis of thedevice and provides an output voltage proportional to the instantaneous angular rate change. The output is useful for guidance, stability, rate of closure and control of the robot platform. Inertial guidance

Especially useful in designing “smart” Autonomous software

Best to mount flat near the robot’s center of rotation

9

Gyroscope Sensor

Front Panel and Diagram

10

Accelerometer SensorUse to determine rate of closure, vibration, dynamic or static motion

11

Accelerometer SensorSample code used to read the sensor and apply bounds to the data for alarming

12

Gyroscope and Accelerometer Sensors

Knowing the instantaneous robot angle and distance traveled at that angle, the position on the field can be determined.

13

Differential Peak-Detecting Gear Tooth Sensor

Hall Effect sensor usedfor detecting and counting magnetic fields from ferrous gear teeth related to a robot’s drive operations. For example, it can count teeth on a gear to measure and, through the RC, control robot speed. Use

counter VIs for analysis.

14

Encoder SensorUse to determine rate of closure, count events (wheel rotations), monitor chain healthUsed in conjunction with the counter VIsMostly located on a gear box or a motor

15

Encoder Sensor

Diagram and Front Panel Example

16

Photoelectric SensorsTwo types:•Reflective – A light beam is reflected off an object and that reflection detected by a photo sensitive device•Transmissive (Beam Break) – A light beam is interrupted by an object

Use to determine the presence or absence of objects (balls, etc)

17

The JoystickEssentially a sensor that provides for a User interface to the control systemTwo types of data:•Robot direction control (Forward, reverse, turning)•Up to 12 User defined switches (Program modifications, belt controls, etc.)Uses USB connections and can have up to 4 joysticks:•In Tank mode, 2 joysticks are needed•In Arcade mode, one joystick is needed•If switches are required, a joystick is a simple way to control belts and other robot motors, relays, solenoids, etc.

18

The Joystick

Front Panel and Diagram

19

The Joystick – Using the Buttons as Input Controls

20

The Joystick – Using the Buttons as Input Controls

Front Panel and Diagram

Questions?

Dennis C. Erickson - dcerickson1@comcast.net

top related