Difference between revisions of "RC08Sensors"

From RoboJackets Wiki
Jump to navigation Jump to search
(IR LED Ball sensor)
(IR Ball Sensor)
Line 36: Line 36:
 
==Specifications==
 
==Specifications==
 
====IR Ball Sensor====
 
====IR Ball Sensor====
* The entire circuit needs to have adjustable sensitivity
+
In order to be effective ball handlers the robots must be able to postion themselves relative to the ball for kicking and dribbling. In 2007 this was accomplished entirely using the camera and the off-field controller, but problems with the accuracy of locating the ball proved that a more robust solution was needed. In 2008 it was proposed that the tasks of detecting the ball's location relative to the robot and aligning the robot to the ball would be moved from the off-field controller to the robots,  In order to achieve this goal the electrical team will design a two part system for ball sensing: a breakbeam placed in front of the dribbler, and an LED array for detecting the ball's location relative to the robot's x axis.
* 5V operation
 
* Two systems
 
** Break-beam on side post
 
** Sensor array for ball position
 
* The IR LED will illuminate the ball and the IR transistor will recieve the reflected signal
 
* The IR light needs to be modulated at a frequency greater than 120Hz to get past flicker of flourescent ligting
 
 
* [[RC08BLDCIRSensor | Matrix of Potential Ball Sensor Components]]
 
* [[RC08BLDCIRSensor | Matrix of Potential Ball Sensor Components]]
  

Revision as of 19:13, 9 April 2008

The 2007 robots had no on-board sensing and while using the camera to do most of the sensing worked the process is improved by adding sensor to the robots themselves. There are three new sensors for the robots in 2008: an IR LED ball sensor array, an encoder, and an accelerometer.

Ball Sensor

Ball handling is just as important in robot soccer as it is in the real thing. The best soccer players are known for their fancy footwork and hopefully ours will be too! As such, a big goal for the 2008 team is to increase the ball handling skills of the robots. The electrical team's contribution to this goal is the IR (infra-red) ball detection system which detects if a ball is in-front of the robot and both activates the dribbler and notifies the host when there is.

The ball sensor works by using a set of IR LEDs to flood the region just in in front of the robot with modulated light. If a ball is in that region it will reflect some of this light back to a set of photo transitors near the LEDS. The output of these transistors is fed into a set of high-Q (Q = (center freq/BW) band-pass filter with a pass-band centered on the center frequency of the modulated light and a passband that includes reflected light that has been doppler-shifted. At the end of the band-pass stage the signals are integrated and then fed to a schmitt trigger. The threshold of the schimtt trigger is adjustable via a pot so we can set what level of reflected light will register as a ball. One of the issues with this system is setting the modulation frequency. In the environment the only interference should be from lighting at 60Hz, but there are concerns that there will be interference from flourescent lighting or even other teams, though the latter is unlikely.

Encoders & Accelerometers

Besides being excellent ball handlers robot soccer players need to be agile and highly manuverable while being precise in those movements. In order to increase the precision of the robots movement a closed-loop wheel velocity controller is used in the 2008 system to implement a velocity control mechanism to reduce transient error in wheel velocity and maintain steady-state wheel velocities. Most of this mechanism resides in software in the form of either a PID loop, a state feedback controller, or a state estimator (only if we are going to use a mouse see discussion tab). The physical components of this system are wheel encoders and the accelerometer.

On each wheel there are a pair of sensors that use some method (not fully spec'd) to discretize the rotation of each wheel. This discritization can be used to calculate the wheels velocity. With that information four software based feedback controllers can be used to decrease transient and steady state error due to the motors and the carpet. As another level of controller accelerometers are used to get acceleration which is integrated back to velocity. This information is fed into another controller strictly for velocity control of the robot and not the wheels. If the accelerometers are not used then the feedback controller for velocity is done using the vision system.

Tasks

IR LED Ball sensor

  • [X] Find an IR LED and a IR transistor - See part Matrix
  • [X] Design the bandwidth filter and the Schmitt trigger circuits - considering not using
  • [ ] Build and test
    • [X] Create a test-stand to test and verify ball sensor array performance
    • [ ] Build a prototype ball sensor system
    • [ ] Write code to interface with AD, read values, and make decisions
  • [ ] Design 1st revision board.
    • [ ] Debug
    • [ ] Software calibration routine

Encoders

  • [X] Get final speed and wheel specs from ME team - 5:1 Gear ration
  • [X] Deceide on an encoder scheme - Use the built-in encoders on the motors
  • [ ] Write firmware to interface
  • [ ] Integrate into velocity controller

Accelerometers

  • [ ] Search for a cheap part
  • [ ] Write firmware to interface
  • [ ] Integrate into velocity controller

Specifications

IR Ball Sensor

In order to be effective ball handlers the robots must be able to postion themselves relative to the ball for kicking and dribbling. In 2007 this was accomplished entirely using the camera and the off-field controller, but problems with the accuracy of locating the ball proved that a more robust solution was needed. In 2008 it was proposed that the tasks of detecting the ball's location relative to the robot and aligning the robot to the ball would be moved from the off-field controller to the robots, In order to achieve this goal the electrical team will design a two part system for ball sensing: a breakbeam placed in front of the dribbler, and an LED array for detecting the ball's location relative to the robot's x axis.

Encoders

  • The wheels have a 5:1 gear ratio so encoder rate gets multiplied by 5 to get final rate
  • Magnetic gear tooth sensors are not preferrable as there are space limitations
  • Matrix of Potential Encoders

Accelerometers

Schematics

Schematics

Parts

IR Ball Sensor

Quick Specs
Data Sheet

Encoders

Quick Specs
Data Sheet

Accelerometers

Quick Specs
Data Sheet

Articles

Filter Design

Links