AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why Robot Conveyor Tracking Ignores Encoder Speed Changes

Sensors, encoders and machine vision on the machine Published 7 min read By AutomateDirectUSA engineering team

Short answer

A conveyor-tracking motion that ignores encoder speed has one of three faults: the controller receives no changing count, the count converts to the wrong belt distance, or the executed motion never activates the conveyor reference. Confirm the count changes with belt speed first, calibrate distance per count second, verify tracking activation third — in that order. Speed and acceleration settings cannot supply a missing reference.

On this page
  1. What the encoder signal has to deliver
  2. Checks keyed to what you observe
  3. Confirm the feedback path first
  4. Calibrate distance per count by measured travel
  5. Worked example: a 1000-pulse-per-revolution encoder on a belt moving 2.000 m in 10.0 s
  6. Verify tracking is active on the motion that should follow
  7. Questions asked

When a conveyor-tracking motion ignores the encoder, one of three faults is present, and the order you check them decides how long the debug takes: the controller is not receiving a changing count, the count is converted to the wrong belt distance, or the motion that should follow the belt never activates the conveyor reference. Confirm the count first, calibrate distance per count second, verify activation third. Raising the programmed speed or the acceleration limits cannot fix any of the three: path speed and the moving reference are different functions, and motion limits constrain how fast the axes respond — they do not supply missing feedback. A count that sits still points upstream of every scaling field; correct displacement with unchanged motion points into the program.

What the encoder signal has to deliver #

An incremental encoder outputs a fixed number of electrical pulses per shaft revolution, and the controller counts them. To turn that count into position in distance units, the counts must be multiplied by an appropriate scalar — the distance per received count. Speed comes from sampling the count twice and dividing the difference by the elapsed time. In a tracking application the two relationships that matter are:

  • conveyor displacement = count change × distance per received count
  • average conveyor speed = conveyor displacement ÷ elapsed time

The word received is doing real work. The interface may decode one, two or all four edges of the two-channel signal per pulse, so the same encoder produces different counts per revolution depending on the configured decoding, and any roller, wheel or gearbox between encoder and belt adds its own ratio. That is why the scalar is calibrated against measured belt travel rather than computed from the datasheet.

Watching the tool alone proves nothing either: during an approach or a departure the tool velocity includes motion relative to the workpiece, so tool speed is not a conveyor-speed measurement. The observation that counts is the displacement between the tool and a mark on the belt during the tracking segment.

Checks keyed to what you observe #

Work down this table before changing any setting; each row lists causes in the order they are cheap to check, and the check that confirms them.

What you observe Likely causes, cheapest first Confirming check
Received count never changes at any belt speed Encoder power or signal wiring; wrong input channel selected; a diagnostics view that does not refresh Jog the belt by hand and watch the count in the controller's input diagnostics
Count changes, but the rate does not follow belt speed You are reading a different source than the tracking function; mechanical slip between belt and encoder; a value updated too slowly Compare counts per meter of belt travel at two speeds, as in the worked example below
Counts correct, calculated displacement wrong Distance-per-count value or its unit; mechanical ratio not included Calibrate against a measured belt travel
Count sign opposite to the configured conveyor direction A and B channels swapped at the input; direction setting in the interface Watch the sign during normal travel and correct it in the documented settings
Displacement correct, robot motion unchanged Tracking not active on that segment; reference ended or replaced by an earlier operation; reference origin latched at the wrong moment Watch the documented tracking status while the segment executes
Robot follows the belt but trails by a growing amount Distance per count off by a percentage; sign reversed Recalibrate against measured travel; a constant offset instead is reference-origin timing

Confirm the feedback path first #

Run every motion test in this sequence with the cell in its approved commissioning state and nobody inside the guarded space.

  1. Record what you have: robot and controller identification, software version, the encoder specification and how it is connected, and whether the tracking function reads the encoder directly or through another device.
  2. With the belt stopped, the received count must hold a single value. A creeping count points at wiring, shielding or grounding, and at vibration reaching the encoder.
  3. Read the count the controller receives, not an indicator elsewhere in the system, and confirm the view refreshes on its own: some device values stay unchanged until read jobs are triggered, and a polled display can imitate a dead encoder.
  4. Run the belt at two speeds and compare count changes over equal time windows against measured belt travel; the worked example below shows the arithmetic.
  5. If the count is dead or noisy, fix the physical layer before touching configuration — start with wiring the encoder to the controller.

Calibrate distance per count by measured travel #

  1. Mark the belt and measure one known travel with a tape; a travel of at least one meter is a reasonable rule of thumb, because mark-reading error shrinks relative to the distance.
  2. Record the count change over exactly that travel.
  3. Divide travel by count change and enter the result, with its unit, as the distance per received count in the tracking configuration.
  4. Confirm direction: normal belt travel must produce the sign the tracking reference expects.
  5. Repeat at a second belt speed. A speed-dependent difference is a feedback-path problem — slip, a stale value, a misread source — not a wrong constant, and editing the scalar again will not fix it.

Worked example: a 1000-pulse-per-revolution encoder on a belt moving 2.000 m in 10.0 s #

Inputs, all illustrative for a calculated example; the resolution is the 1000 pulses per revolution that appears in the application examples researched for this article, so take yours from your encoder datasheet:

  • Encoder: 1000 pulses per revolution.
  • Fast run: belt advanced 2.000 m, measured by a mark and a tape, in 10.0 s; received count rose by 100,000 counts.
  • Slow run: belt advanced 1.000 m in the same 10.0 s window; count rose by 50,000 counts.

Rule in words: distance per received count is measured belt travel divided by the count change over that travel; average belt speed is count change times distance per count, divided by elapsed time.

The arithmetic:

  • Fast run: 2.000 m ÷ 100,000 counts = 0.0000200 m per count = 0.0200 mm per count.
  • Slow run: 1.000 m ÷ 50,000 counts = 0.0200 mm per count — identical, so the count is proportional to travel, exactly 2:1 as the belt travels were.
  • Counts per meter: 100,000 ÷ 2.000 m = 50,000 counts/m, and 50,000 ÷ 1.000 m = 50,000 counts/m.
  • Belt speed, fast: 100,000 counts × 0.0200 mm/count = 2000 mm = 2.000 m in 10.0 s = 0.200 m/s, matching the tape-and-stopwatch value 2.000 m ÷ 10.0 s = 0.200 m/s.
  • Belt speed, slow: 50,000 counts × 0.0200 mm/count = 1.000 m ÷ 10.0 s = 0.100 m/s.

Note that 1000 pulses per revolution cannot by itself produce 0.0200 mm per count: you would also need the interface's edge-counting basis and the mechanics between shaft and belt, which is exactly why the scalar is calibrated, not computed. This is a calculated example for these inputs, not a measured result from a real conveyor.

Decision: if the slow run had still shown 100,000 counts — or both runs zero — the fault is upstream of scaling, so stop and fix the feedback path. With counts proportional to travel, enter the calibrated 0.0200 mm per count in the tracking configuration; if the configured value is anything other than that, scaling was the fault. If the configured value already matches and the robot still ignores belt speed, the remaining fault is tracking activation or reference selection, not scaling.

Verify tracking is active on the motion that should follow #

  1. Confirm which encoder source the tracking function reads — the one just calibrated, not a second encoder on the same conveyor.
  2. Locate the program operations that establish the conveyor reference and switch tracking on, and confirm they execute before the segment that should follow the belt.
  3. Check whether an intervening operation ends tracking, replaces the reference, or selects a different motion context before the segment runs.
  4. While the segment executes, watch the documented tracking status and the tool's displacement against a mark on the belt: in a working setup that displacement holds constant while the belt runs.
  5. Change the one identified fault and rerun the same test. Displacement can be scaled correctly while the reference origin is latched at the wrong moment, which shows as a constant offset rather than a speed mismatch.

When parts queue between a sensor and the pick, the same encoder count also drives a first-in-first-out part buffer; the method is covered in tracking conveyor parts with an encoder and a FIFO buffer.

Questions asked

Will raising the programmed robot speed make tracking follow the conveyor?

No. Programmed speed sets travel along the robot's own path; conveyor tracking adds the belt's motion on top of it. Raising path speed only shortens the time the tool spends in the tracking window, which makes a dead reference more visible, not less. Restore the count, the scaling or the activation first, then tune path speed for cycle time.

Should the encoder sit on the drive shaft or on a wheel riding the belt?

Whenever the belt can slip on its drive, put the encoder on the belt or on a measuring wheel pressed against it: a shaft-mounted encoder then counts motor-side rotation while the belt lags under load, and tracking drifts only when the conveyor carries weight. A drive-shaft encoder is the right choice when the drive is positive, such as a toothed belt or a chain.

The count creeps up while the conveyor stands still. What is that?

Usually noise or vibration reaching the inputs. Land the cable shield at one end only, route the encoder cable away from drive power wiring, and set the input filter to a time the encoder's maximum pulse frequency can tolerate. A few counts per minute of creep is tolerable; a steady stream will destroy tracking at speed.

Counts and scaling check out, but the robot trails the belt by a fixed distance. What is left?

A constant offset from cycle to cycle means the conveyor reference was latched at the wrong moment — before the workpiece passed the reference point, or after tracking had already started. Re-origin at the point the sequence documents. An offset that grows with travel is not an origin problem: it points back to the distance-per-count value or a reversed sign.

Keep reading

  • How-to

    How to Track Conveyor Parts With an Encoder and a FIFO Buffer

    Load one FIFO element per slot of encoder-measured belt travel and read any element by index arithmetic instead of shifting data down a table. Worst-case registration error equals one slot length, and update cost is constant whether the block holds 100 or 100,000 elements. Size the slot from placement tolerance and the block from sensor-to-actuator distance plus 10 to 20 percent margin.

    Sensors, encoders and machine vision on the machine

  • How-to

    Robot Conveyor Tracking: Wire the Encoder to the Controller

    Yes, a PC application can feed part data to a tracked conveyor pick, but it must never own position. Terminate the quadrature encoder and the part-detect proximity switch on the robot controller's conveyor tracking input so the switch edge latches the count in hardware; the PC sends only class, offsets and grip choice. Live coordinates streamed through a PC arrive stale by the round trip, and at 300 mm/s every 10 ms costs 3 mm at the gripper.

    Sensors, encoders and machine vision on the machine

  • How-to

    Sizing a Spindle Encoder Input for Servo Feed Control

    A 2000 PPR quadrature encoder on a 250 RPM spindle produces 33,333 counts/s, which fits a 50 kHz counter but overruns a 10 kHz variant; the most resolution that counter family allows is 3000 PPR. Scale feed per revolution to motor RPM through screw lead and gear ratio, then keep command pulses per revolution low enough that rapid speed stays under the 100 kHz pulse-output ceiling.

    Sensors, encoders and machine vision on the machine