OSRTC.016: Robot Conveyor Tracking — Encoder Pulses, Sensor Triggers, Tracking Frames and Diagnostics

Industrial robot handling boxes on a moving conveyor while a technician observes beyond a guarded fence

Robot conveyor tracking is a control technique that allows an industrial robot to identify and interact with a workpiece while the conveyor carrying that workpiece continues to move. Rather than assuming a target remains fixed, the robot controller uses encoder movement, sensor-trigger information, and a defined coordinate frame to estimate the target’s current location. Conveyor tracking supports packaging, assembly, sorting and machine tending, but it depends on accurate position data and controlled workcell timing. This lesson follows robotic tool-changer inspection and extends robot vision calibration, tool center point setup, and PLC signal handshakes.

Elementary Overview

Imagine a box moving along a conveyor belt. If a robot moves to the place where the box was a moment ago, it will miss. A conveyor encoder helps the robot keep track of how far the belt has moved, while a sensor or camera identifies the box. The controller combines those measurements so the robot can meet the moving box at the right place and time.

This does not mean the robot guesses where the box is. It uses measured motion and a carefully taught conveyor direction. Errors in the encoder, detection signal or coordinate frame can cause the gripper to arrive too early, too late or to one side. The technician’s task is to understand the evidence before an authorized engineer changes the system.

System Components and Signal Path

A conveyor-tracking cell normally includes a conveyor drive, motion encoder, photoelectric part-detect sensor or vision system, a robot controller with the required tracking option, a defined conveyor or tracking frame, a calibrated tool center point (TCP), and an end effector. The tracking controller relates a detection event to an encoder count. Subsequent counts update the object’s estimated position while the robot plans a synchronized motion.

For systems using an incremental quadrature encoder, channels A and B change with shaft rotation and may allow direction detection. Controller configuration determines whether it counts one, two or four transitions per pulse cycle; a counts-per-revolution specification cannot be compared directly with displayed counts without knowing that decoding mode and any gearbox or measuring-wheel ratio. A sensor-trigger timestamp may also be necessary to relate the detected part to the encoder position at the instant of detection.

The Yaskawa Motoman setup guide documents the relationship between the encoder interface, part-detection switch, conveyor coordinate frame and condition file. It emphasizes the correct TCP, direction of travel and measured encoder resolution. FANUC’s Line Tracking product explains the corresponding linear and circular conveyor-tracking applications.

Manufacturer Video: Conveyor Tracking in a Robot Simulator

Yaskawa’s official MotoSim example illustrates how detected conveyor movement is associated with a tracking job. Watch the position of the target relative to the moving belt, and distinguish the part sensor’s detection event from the encoder’s continuing measurement of travel.

Yaskawa Motoman — Conveyor Tracking Setup example using MotoSim. Official manufacturer training video linked from the conveyor-tracking setup guide.

Encoder Resolution and Position Calculation

A technician can describe conveyor encoder resolution as counts per unit of linear travel. If an authorized calibration trace records two count readings C1 and C2 separated by a measured conveyor displacement L, then R = (C2 − C1)/L gives signed counts per millimeter when L is measured in millimeters. The inverse gives millimeters per count. The direction sign must match the system’s documented coordinate convention; magnitude alone cannot detect a reversed encoder.

For example, if the encoder rises from 8,000 to 20,000 counts while a tracked point moves 600 mm, the recorded scale is 20 counts/mm. If it then advances 3,000 counts, the estimated additional travel is 150 mm. This assumes the same count-decoding setting, correct mechanical coupling, no belt slip, and a valid reading interval. The numbers are hypothetical and should never be entered as actual controller settings without a qualified calibration procedure.

A slipping encoder wheel can cause count changes that do not match part movement. A wrong sign, scale or frame can cause an apparent tracking drift even when the robot’s own servo axes are healthy. The Yaskawa calculation procedure uses measured displacement and count readings to determine resolution and then checks the result with an authorized tracking job.

Tracking Frames and Coordinate Geometry

The tracking frame defines the origin and axes used to describe conveyor motion relative to the robot. For a straight conveyor, a controller may use one axis of the taught frame to represent belt travel. If that axis is misaligned with the actual conveyor direction, a target can progressively drift sideways as tracking distance increases. A valid encoder count does not correct an incorrectly oriented frame.

The robot’s TCP calibration must also match the installed gripper or tool. An incorrect TCP produces a spatial error independent of conveyor tracking. This distinction matters after automatic tool changes, when an otherwise correct tracking frame may be paired with the wrong tool definition. The technician should verify IDs and stored calibration status rather than attempting live frame reteaching.

Sensor Triggers, Timestamping and Latency

A part-detect photoeye often establishes a reference event: the controller records the encoder position when the object crosses the sensor, then updates the estimated part position as the belt moves. A vision camera can supply object position or orientation, but its acquisition and processing times must be accounted for. If the target is detected late, the robot may pursue an outdated location.

For constant conveyor velocity, a simple latency-displacement approximation is d = v × t. At 200 mm/s, a 40 ms delay corresponds to 8 mm of motion. This is an illustration of timing sensitivity, not a command to apply an 8 mm correction. Some controllers timestamp events, compensate latency internally and support conveyor acceleration; an extra manual offset could double-count a built-in correction.

When troubleshooting, compare sensor event time, encoder count at trigger, vision result age, conveyor-speed history and the controller’s queue or tracking state. A sporadic missed pick may reflect missed triggering, delayed vision processing or an object outside the tracking window—not necessarily encoder failure.

Simulation Video: FANUC Line Tracking

The second video demonstrates FANUC line-tracking behavior in ROBOGUIDE, offering a different manufacturer’s implementation. Compare its treatment of sensor detection, conveyor motion and moving target positions with the Yaskawa example. Simulation helps visualize sequence and geometry without changing an active workcell, but must not be mistaken for validation of real-world safety or calibration.

Jithin T Sunny — FANUC Robot Line Tracking Complete Tutorial in ROBOGUIDE. Educational simulation showing conveyor tracking and synchronized robot motion.

How Tracking Faults Appear

A consistent fore-aft offset relative to the conveyor may indicate trigger position, event latency, TCP or taught pickup offset. An error that grows with conveyor travel points toward encoder scale, missed pulses, mechanical slip or frame-direction error. A lateral offset that grows over travel can suggest a tracking-frame direction problem. Intermittent lost targets require review of photoeye reliability, encoder continuity, camera detections, object spacing, queue capacity and tracking windows.

A stopped conveyor with an encoder that continues to register counts suggests investigating encoder noise, wrong wiring, coupled drive movement or interpretation of the display. Conversely, a moving conveyor with unchanging counts suggests loss of measurement or an incorrect signal source. The Motoman setup guidance and ABB conveyor tracking documentation both establish why valid encoder and sensor interfaces matter to synchronized motion.

Read-Only Diagnostic Procedure

  • Record the robot model and controller software, active tracking option, conveyor ID, recipe or program name, workobject/frame ID and tool number before comparing measurements.
  • From approved diagnostics, collect synchronized encoder counts, detected-object events, conveyor velocity, vision timestamps, controller alarms and robot tracking status.
  • Compare measured conveyor travel with the reported encoder count change; confirm the configured count mode and physical measurement reference before calculating resolution.
  • Inspect whether the tracking error is fixed, grows in the direction of motion, grows laterally, or appears only after speed transitions or missed sensor events.
  • Escalate suspected sensor, encoder, frame, TCP or timing defects with the evidence to qualified maintenance and controls engineers; verify corrections only under an approved validation plan.

Practical Exercise

In an offline training worksheet, a conveyor sensor detects a part at count 45,000. The encoder later reads 49,800. If the scale is known to be 24 counts per millimeter, the estimated part displacement is (49,800 − 45,000)/24 = 200 mm. Now imagine the real conveyor moved only 190 mm. The disagreement is 10 mm, but the data alone cannot tell whether the encoder scale, mechanical coupling, detection event or distance measurement is wrong. List which independent measurements would separate these possibilities without adjusting the controller.

Workcell Safety and Intervention Limits

Conveyor tracking combines independently hazardous motion of both the robot and conveyor. Personnel must never enter a safeguarded cell, interrupt guarding, bypass safety-related inputs, grasp moving products or retune tracking while automatic operation continues. A protective stop does not automatically mean all energy sources are isolated. Follow OSHA robotics safety guidance, applicable hazardous-energy-control requirements, the robot manufacturer’s instructions, and the site-specific lockout, access and restart procedures. Maintenance verification of encoder wiring or mechanical coupling belongs to qualified personnel after the appropriate isolation and residual-energy checks.

Knowledge Check

  • What different information does a part-detect sensor provide compared with a conveyor encoder?
  • A conveyor moves 600 mm while the encoder changes by 12,000 counts. What is the resolution in counts/mm?
  • Why can two controllers show different counts per revolution for the same quadrature encoder?
  • What fault categories can cause tracking error to increase as the conveyor travels?
  • Why is a 40 ms timestamp delay important at 200 mm/s, and why should an operator not simply enter an 8 mm offset?

Answers: The sensor establishes when an object crosses a reference location; the encoder measures subsequent conveyor motion. Resolution is 20 counts/mm. Different edge-counting modes, gearing and configuration can change displayed counts. Scale error, missing pulses, slip and frame direction can create distance-dependent drift. A 40 ms delay corresponds to 8 mm at the stated speed, but a controller may compensate internally and a manual offset can introduce additional error.

Elementary Conclusion

A robot can pick up a moving product when it knows where the product started and how far it has traveled. The sensor marks the starting moment, the encoder measures conveyor motion, and the tracking frame explains the belt’s direction. Accurate timing and a calibrated gripper help the robot meet the product in motion.

If a pick misses, technicians should examine those measurements together. A wrong distance scale, missed sensor signal or misaligned frame can produce similar symptoms. Careful diagnosis protects the equipment and keeps people outside the danger area while authorized specialists make and verify changes.

Primary References and Further Study

Manufacturer sources: Yaskawa Motoman: Conveyor Tracking Setup, FANUC America: Line Tracking, and ABB: Conveyor Tracking Module. Related BitcoinVersus.Tech lessons include robot vision calibration, TCP setup, robot I/O and PLC handshakes, robot fault recovery and tool-changer inspection.

BitcoinVersus.Tech Editor’s Note: We volunteer daily to ensure the credibility of the information on this platform is Verifiably True. If you would like to support our independent technical education and research, please scan the original QR code below to donate 5,000 sats (best results on a laptop or larger screen).

Original BitcoinVersus.Tech Bitcoin donation QR code for 5,000 satoshis

To donate with a mobile wallet, display the QR code on a laptop or larger screen and scan it from your phone. Verify the recipient Bitcoin address before sending.

BitcoinVersus.tech is not a financial advisor. This media platform reports on financial subjects purely for informational purposes.

Leave a Reply