Knowledge · Robot vision

2D robot picking: a fixed-plane worked example

Flat parts lie separately on a stationary carrier. They can shift and rotate, while their height remains fixed. This illustrative example works through the steps from a camera image to placement in a fixture. It provides a trial structure, without claiming customer results or measured production performance.

Explicit assumptions

The carrier is stationary, height is known and parts do not overlap.

Test the whole chain

Evaluate detection, grip offset, grip confirmation and final placement separately.

Example status

This is an illustrative trial structure without invented customer results or savings.

Worked example: the complete picking chain
Explanatory schematic, not a production capture or measured result.

State the assumptions

Assume each part rests on the same reference plane, tilt is constrained and parts do not overlap. The camera is fixed and the carrier remains stationary from imaging to picking. A visible feature has a known relationship to the desired grip point. A real application must test these assumptions against product variation.

The destination is a fixed fixture. Required placement tolerance, permitted contact pressure and maximum cycle time are customer inputs. This example does not assign fictional performance figures to them.

Build the coordinate chain

Illustrative coordinates: assume calibration has already converted the detected reference point to robot-base coordinates (X, Y) = (400, 250) mm. The part angle is +30°, measured counterclockwise from the robot-base X axis when viewed along the chosen positive plane normal. In the part coordinate system, the desired grip is 20 mm along its X axis and 10 mm along its Y axis from that reference. Rotate this offset: ΔX = 20 cos 30° − 10 sin 30° = 12.32 mm; ΔY = 20 sin 30° + 10 cos 30° = 18.66 mm. The grip target in the robot plane is therefore (412.32, 268.66) mm. These are constructed inputs and calculated targets, not measured accuracy.

For a zero-angle check, the same offset gives (420, 260) mm. At +90° it gives (390, 270) mm. Verify these axis directions and angle signs with the robot controller before commanding motion: image axes and controller conventions may differ. The calculated point is the desired contact location. Converting it to a robot command also requires the calibrated tool centre point, the required tool orientation and the validated Z height. If the tool’s local approach orientation adds an angular offset, include it explicitly. Approach and retreat positions require a separate collision and clearance check.

Design acquisition, gripping and placement separately

Choose illumination that keeps the relevant feature visible across permitted surfaces and ambient conditions. Reject unsuitable images. Then check that the proposed grip has adequate contact and clearance. Approach from a validated position and confirm acquisition using tested feedback.

Placement requires its own geometric check. Final placement error can exceed localization error if the part shifts in the tool. Verify the physical outcome, not only the calculated camera coordinates.

Test boundaries before optimizing

Use the 0°, 30° and 90° calculations as an arithmetic check, then use independent physical reference positions at the centre and edges of the working area. Measure the difference between commanded and actual contact location in X and Y. Repeat at the permitted height extremes and with several part orientations. Include tilted and unrecognizable parts to verify that invalid detections cannot issue a pick command. A correct arithmetic result does not validate calibration or robot positioning.

Trial stageResult to record
Detection and localizationRetain the image, detected position and measured position error.
Grip and confirmationRecord the selected grip and whether the agreed confirmation signal is correct.
Placement and cycle timeMeasure fixture placement and elapsed time, including failure handling.

Investigate failures before increasing motion speed. Repeat the relevant acceptance tests after a speed change.

Compare complete alternatives

If height variation cannot be controlled, a fixture or different infeed may be needed. Depth sensing is an alternative where the task genuinely needs additional spatial information. Reassess tooling, camera position and cycle time with that change.

Compare investment, engineering, operating labor, maintenance and measured rejects with the current process. This example provides a trial structure, not predicted savings. Evidence from the real trial determines which approach proceeds.

Work through your own picking task

Bring sample parts, presentation variation, placement requirements and the intended operator role so we can turn them into explicit assumptions and acceptance criteria.

Discuss your application