21
FIRSTFare 2010 Sensors for FRC Robots Dennis C. Erickson ~ Senior Mentor for Teams 1510 and 2898 Daniel Bramblett ~ Team 1510 Amy Wiegand ~ Team 2915 1

First fare 2010 lab-view sensors for frc robots

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: First fare 2010 lab-view sensors for frc robots

1

FIRSTFare 2010Sensors for FRC Robots

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

Daniel Bramblett ~ Team 1510Amy Wiegand ~ Team 2915

Page 2: First fare 2010 lab-view sensors for frc robots

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)

Page 3: First fare 2010 lab-view sensors for frc robots

3

The FRC Topology

Page 4: First fare 2010 lab-view sensors for frc robots

4

Sensors

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

autonomous decisions

Page 5: First fare 2010 lab-view sensors for frc robots

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

Page 6: First fare 2010 lab-view sensors for frc robots

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

Page 7: First fare 2010 lab-view sensors for frc robots

7

Ultrasonic Sensor

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

Page 8: First fare 2010 lab-view sensors for frc robots

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

Page 9: First fare 2010 lab-view sensors for frc robots

9

Gyroscope Sensor

Front Panel and Diagram

Page 10: First fare 2010 lab-view sensors for frc robots

10

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

Page 11: First fare 2010 lab-view sensors for frc robots

11

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

Page 12: First fare 2010 lab-view sensors for frc robots

12

Gyroscope and Accelerometer Sensors

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

Page 13: First fare 2010 lab-view sensors for frc robots

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.

Page 14: First fare 2010 lab-view sensors for frc robots

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

Page 15: First fare 2010 lab-view sensors for frc robots

15

Encoder Sensor

Diagram and Front Panel Example

Page 16: First fare 2010 lab-view sensors for frc robots

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)

Page 17: First fare 2010 lab-view sensors for frc robots

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.

Page 18: First fare 2010 lab-view sensors for frc robots

18

The Joystick

Front Panel and Diagram

Page 19: First fare 2010 lab-view sensors for frc robots

19

The Joystick – Using the Buttons as Input Controls

Page 20: First fare 2010 lab-view sensors for frc robots

20

The Joystick – Using the Buttons as Input Controls

Front Panel and Diagram

Page 21: First fare 2010 lab-view sensors for frc robots

Questions?

Dennis C. Erickson - [email protected]