Eyes for robots
It is difficult for a robot to move in step with a moving object, such as a rolling ball or parts flowing on a conveyor. The robot has to keep track of the object’s position accurately and correct its motion as soon as it notices a gap.
This page looks at the possibility of using INFINICAM as eyes for robots. Both of INFINICAM’s strengths matter here: fast capture at 1,000 fps, and low latency, because captured images are sent right away.
1. The problem with a conventional camera (30 fps)
Section titled “1. The problem with a conventional camera (30 fps)”Take a ball rolling at 10 m/s (about the speed of a ball kicked hard in robot soccer) as an example.
| 30 fps | 1,000 fps | |
|---|---|---|
| Distance the ball travels in one frame | About 33 cm | About 1 cm |
| Waiting time until the next frame is captured (maximum) | About 33 ms | 1 ms |
At 30 fps, the ball travels about 33 cm in one frame. What the robot sees is always “a slightly old, scattered set of positions”. On top of that, it takes time for the image to arrive and be processed, so by the time the robot starts moving, the ball is even farther ahead.
2. What changes with INFINICAM
Section titled “2. What changes with INFINICAM”Fast capture: track the position finely and accurately
Section titled “Fast capture: track the position finely and accurately”At 1,000 fps, the ball moves only about 1 cm per frame. Because the position can be followed finely, the speed, direction, bounces, and curves can be calculated accurately. Since the movement per frame is small, the object is hard to lose and the processing is lighter (see Why object tracking is easier).
Low latency: move right after seeing
Section titled “Low latency: move right after seeing”INFINICAM sends each captured image straight to the PC without storing it in the camera. The wait for the next frame is at most 1 ms. The time from seeing to starting to move can be made much shorter than with a conventional camera (for a comparison with a web camera, see Detection Latency Comparison (vs. Web Camera)).
Keep correcting the motion along the way (visual feedback)
Section titled “Keep correcting the motion along the way (visual feedback)”When these two come together, the way a robot is controlled itself changes.
- The usual way: measure the object’s position, calculate where it will go, then move the robot. If the object’s motion changes after the robot has started moving, the robot misses.
- The way with INFINICAM: even while moving, look at the positions of the object and the robot every 1 ms, and correct the motion as soon as a gap is noticed. Even if the object suddenly changes direction, or the robot’s motion drifts a little, the robot keeps correcting and stays on target.
This way of continuously correcting motion using what the camera sees is called visual feedback (visual servoing). The more often it looks and the shorter the delay, the more finely and accurately it can correct.
3. Example: soccer robots
Section titled “3. Example: soccer robots”In robot soccer, robots need to react quickly to a ball that rolls and bounces fast, and to the movements of opposing robots. With INFINICAM as the robot’s eyes, it may become easier to:
- calculate the ball’s speed and direction finely, and read where it will go and get there first
- notice the moment the ball bounces or changes direction after hitting an opponent, and correct the motion right away
- react immediately when an opposing robot starts to move
4. Other possible uses
Section titled “4. Other possible uses”- Grabbing moving objects: grab parts flowing on a conveyor, or swinging objects, without stopping them
- Catching thrown objects: read where a flying object will go, and keep correcting the hand position until just before catching it
- Positioning for fine work: in tasks such as inserting parts or aligning screws, correct while watching the gap
- Mounting on the robot’s hand: built with the light board and an S-mount lens, the camera can be mounted on the hand to see the moment just before grabbing up close (see Building in the board with an S-mount lens)
5. Key points and limits for making it work
Section titled “5. Key points and limits for making it work”- Robot speed: even if the camera looks every 1 ms, the robot cannot fully correct if its arm and motors cannot keep up. Consider the speed of both the camera and the robot together.
- Processing each image within 1 ms: techniques such as decoding only the area near the object (ROI) or using a reduced image (DC component) are needed. For processing techniques, see Applications.
- Blur and light: to capture fast objects without blur, you need a short shutter speed and enough light to match.
- Resolution: at 1,000 fps the image is 800 × 600 pixels. To watch a wide area, several cameras can be combined, as in Tracking over a wide area with multiple cameras.
Related pages
Section titled “Related pages”- Possibilities of INFINICAM (overview)
- Why object tracking is easier
- Remote operation and remote control: keeping the video in step with your controls
- Measuring the speed of a ball: an application that finds the ball’s position and speed while keeping 1,000 fps
- Tracking ArUco markers: an application that finds markers’ positions and orientations while keeping 1,000 fps
