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

First fare 2011 sensors for frc robots

Embed Size (px)

Citation preview

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

1  

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)  

2  

3  

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

decisions  

4  

• 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  

5  

Use  to  determine  distance  to  friend  or  foe.  Good  from  about  8  inches  to  20  feet  Suggest  using  a  software  filter  to  smooth  the  data  

6  

Operates  at  42kHz  with  readings  every  50ms  

7  

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

Yaw  Rate  Gyro  Senses  angular  changes  about  the  top  surface  axis  of  the  device  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    

8  

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

9  

Front  Panel  and  Diagram  

Use  to  determine  rate  of  closure,  vibration,  dynamic  or  static  motion  

10  

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

11  

12  

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

Hall  Effect  sensor  used  for  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.  

13  

Use  counter  VIs  for  analysis.  

Use  to  determine  rate  of  closure,  count  events  (wheel  rotations),  monitor  chain  health  Used  in  conjunction  with  the  counter  VIs  Mostly  located  on  a  gear  box  or  a  motor  

14  

15  

Diagram  and  Front  Panel  Example  

Two  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)  

16  

Essentially  a  sensor  that  provides  for  a  User  interface  to  the  control  system  Two  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.  

17  

18  

Front  Panel  and  Diagram  

19  

20  

Front  Panel  and  Diagram  

Dennis C. Erickson - [email protected]