Difference between revisions of "RC08Sensors"
Line 11: | Line 11: | ||
<br> | <br> | ||
<br> | <br> | ||
− | On each wheel there are a pair of sensors that use some method (not fully spec'd) to | + | 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== | ==Tasks== | ||
====IR LED Ball sensor==== | ====IR LED Ball sensor==== |
Revision as of 01:31, 21 September 2007
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.
Contents
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
- [ ] Find an IR LED and a IR transistor
- [ ] Design the bandwidth filter and the Schmitt trigger circuits
- [ ] Build and test
- [ ] Create a test-stand to test and verify ball sensor array performance
- [ ] Build a prototype ball sensor system
Encoders
- [ ] Get final speed and wheel specs from ME team
- [ ] Find an optimal resolution versus frequency
- [ ] Deciede on an encoder scheme
- [ ] Select several parts and evaluate designs
- [ ] 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
- The entire circuit needs to have adjustable sensitivity
- 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 of
- Matrix of Potential Ball Sensor Components
Encoders
- Need final specs from ME to get maximum encoding rate
- Matrix of Potential Encoders
Accelerometers
- Still defining specification
- Matrix of Accelerometers
Schematics
Schematics
Parts
IR Ball Sensor
Quick Specs
Data Sheet
Encoders
Quick Specs
Data Sheet
Accelerometers
Quick Specs
Data Sheet
Articles
Links