Small parts, insertion and contact

Assembly Robots: Peg-in-Hole, Connectors, Force Control and Cycle-Time Tests

A practical guide to robotic assembly of gears, connectors and fasteners with methods for detecting binding, alignment errors and false completion.

Editorial review: · Sources are linked beside the related claims.

Robot assembly is often harder than moving a part between two trays. Insertion can require millimeter or submillimeter alignment, precise orientation and controlled force while the part begins to bind. A fixture might hide a tolerance problem until the final 2 mm of travel.

A meaningful assembly demo includes contact, insertion and confirmation. NIST publishes task boards that include peg insertion, gear meshing, electrical connector mating and nut threading, providing a repeatable way to examine such tasks.

Contact behavior

Why does a robot jam a peg when the CAD model says it should fit?

Real components have manufacturing tolerances, fixture drift, compliance and surface friction. An arm executing a position-only trajectory may force the peg into the edge of the hole and create a jam. Force sensing and compliant control allow the controller to respond to contact instead of blindly continuing.

An insertion test should record alignment error at first touch, peak force, number of search movements and completion. Changing the speed alone does not correct bad tooling or sensor calibration.

NIST assembly performance metrics and task boardsNIST peg-in-hole testing of force-based manipulation

Reference test

What do NIST's assembly task boards measure?

The NIST assembly task board approach uses standardized tasks including connector insertion, threading and gear meshing to compare robotic capabilities. In addition to elapsed time, performance needs accuracy, successful completion and behavior under deliberately varied starting positions.

NIST also describes testing of deformable parts such as wires and belts, which require different gripping strategies than rigid pegs. A system validated only on rigid objects may struggle with wiring harnesses.

NIST assembly performance metrics and task boardsNIST 2022 deformable-object assembly benchmarking

Controller choice

Position control, impedance or force control for insertion?

Position control is useful for predictable free-space movement and well-fixtured approaches. Force or impedance control becomes useful during contact, where measured loads indicate possible binding. The final sequence may mix controlled position moves, force thresholds, search and verification.

Position control, impedance or force control for insertion?
PhaseControl approachSignal to monitor
ApproachPosition trajectoryCollision clearance and pose
First contactCompliant or force-limited motionWrist force, displacement and alignment
InsertionForce-guided search or insertion policyAxial force and progress
VerificationContact release and position checkFinal depth, torque or electrical continuity
NIST peg-in-hole testing of force-based manipulationNIST assembly performance metrics and task boards

Electrical connections

How can the robot verify a connector is fully seated?

A connector may mechanically stop before latching. A robot needs force and displacement feedback along with any available latch-state, vision or electrical test. Repeated retries under a fixed maximum force can deform the housing or contacts.

Report cases where the connector was inserted but electrically open. The test should include rotated connectors, variable cable stiffness, damaged housings and the required withdrawal or rework procedure.

  1. 1Check orientationUse part features and fixture constraints.
  2. 2Align at low speedMonitor contact loads and use a permissible alignment search.
  3. 3Verify final stateCheck seating depth and electrical or latch confirmation where available.
  4. 4Escalate a faultReject the part when force rises without insertion progress.
NIST assembly performance metrics and task boardsNIST peg-in-hole testing of force-based manipulation

Factory acceptance

An assembly scorecard that includes rework

  1. 1Define the task mixInclude rigid pins, gears, fasteners and at least one deformable component where relevant.
  2. 2Vary starting conditionsShift part pose or fixture offset within production tolerances.
  3. 3Measure real outcomesTrack first-attempt success, damage, full-cycle time and recovered jams.
  4. 4Inspect reject handlingEnsure uncertain assemblies are blocked from continuing downstream.
NIST assembly performance metrics and task boardsNIST 2022 deformable-object assembly benchmarking

Source documents and further research

  1. 01NIST assembly performance metrics and task boards
  2. 02NIST peg-in-hole testing of force-based manipulation
  3. 03NIST 2022 deformable-object assembly benchmarking