AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a recorded path drifts during conveyor tracking

Servo and stepper motion Published 9 min read By AutomateDirectUSA engineering team

Short answer

A hand-taught recorded path replays through fixed coordinates, so on a moving line the tool misses the part by conveyor speed times elapsed time since the trigger — zero at the path start, largest at the end. Confirm the part moves, measure whether the miss grows or stays constant, verify encoder scaling and the trigger, then re-teach the contour as tracked waypoints or stop the line.

On this page
  1. Why does a hand-taught path miss a part that keeps moving?
  2. How large is the miss at a given line speed?
  3. Is the part actually moving while the tool is on it?
  4. Does the miss grow along the path or stay constant?
  5. Are the encoder scaling and the part-detect trigger telling the truth?
  6. Which fix fits a line that cannot stop?
  7. What breaks tracking when the conveyor ramps up or down?
  8. How do you verify the fix before running product?
  9. Questions asked

A hand-guided recorded path replays through fixed coordinates in the frame where you taught it, so on a line that keeps moving the tool falls behind the part by conveyor speed multiplied by elapsed time since the trigger — zero at the path start, largest at the end, hundreds of millimetres at production line speeds. That is a design limit of fixed-frame replay, not a tuning fault. Work down the checks in order: confirm the part really moves during the process, measure how the miss grows, verify the encoder scaling and the part-detect trigger, then choose between stopping the line and re-teaching the contour as tracked waypoints.

Why does a hand-taught path miss a part that keeps moving? #

Because the replay drives the tool through the stored coordinates in the frame they were recorded in and never adds the conveyor's displacement, the tool misses the part by conveyor speed multiplied by elapsed time since the trigger: offset = v × t.

Hand guidance stores each point relative to whatever was fixed at teach time — the part's position when the trigger fired, or the fixture under it. Conveyor tracking works differently: the controller reads a conveyor position signal and shifts the working frame so every commanded point rides with the part. A fixed-frame replay has no term for that shift. Where the tool's vendor documents that its recording function does not support conveyor tracking, treat that as a design limit: the points replay unshifted whether tracking is enabled or not, and no change of speeds, blends or gains removes the miss. What you can choose is the workaround, and the sections below separate the failure patterns so you fix the right thing.

How large is the miss at a given line speed? #

The end-of-path miss equals line speed times the time from trigger to path end, so at 150 mm/s with a 10 s path the tool lands 1,500 mm behind the taught point, and the miss at the path midpoint is 750 mm.

Worked example — calculated for these inputs, not measured. Inputs: constant line speed v = 150 mm/s; the part-detect trigger fires at the path start; the path takes T = 10 s from trigger to final point. The miss is offset(t) = v × t:

  • at t = 2 s: 150 mm/s × 2 s = 300 mm
  • at t = 5 s: 150 mm/s × 5 s = 750 mm
  • at t = 10 s: 150 mm/s × 10 s = 1,500 mm

The relation is linear: doubling the line speed or the path duration doubles every offset, and a trigger that fires late by a fixed delay adds a constant offset of speed × delay on top. The decision falls straight out of the arithmetic: a fixed-frame path survives only where speed × duration stays inside the process tolerance, so dividing a 3 mm bead tolerance by the path duration gives 3 mm ÷ 10 s = 0.3 mm/s — no production conveyor runs that slow, which means every real moving-line application ends up tracked or stopped.

Is the part actually moving while the tool is on it? #

Read the conveyor's velocity across the whole process window before editing anything: a line that indexes and stands still while the tool works keeps the hand-taught path, a part that keeps moving through the window forces tracked waypoints or a stop.

Log the conveyor velocity signal for a full cycle and mark the process window on it. Three states cover every line:

  • Indexing — the part stands still during the process. Use the recorded path in a fixed frame exactly as taught and release the line after the path completes.
  • Continuous — the part moves for the whole window. A recorded fixed-frame path cannot hold position; go to the tracked-waypoint fix below.
  • Ramping — the line accelerates or decelerates inside the window. Tracking degrades at the transitions; see the ramp section.

Stopping the line is only viable when the process fits the takt: if the process occupies a third of the takt time, the stop-and-go branch costs a third of the line's capacity, which most continuous processes cannot spare. When you do add a stop branch, wire it through the machine's safety-related stop circuit — for a conveyor that usually means a controlled stop followed by power removal, stop category 1 under IEC 60204-1 — and confirm the arrangement against the machine's risk assessment.

Does the miss grow along the path or stay constant? #

Mark a test part and measure the offset between the deposited mark and the taught point at the start, middle and end of the path at constant speed: growth from zero means fixed-frame replay, a constant offset means trigger latency or a teach error, and the speed response separates them.

Run the same part at a second line speed before concluding anything, then match the pattern. Cheapest checks first:

  • Miss near zero at the start, growing in proportion to elapsed time, scaling with speed — fixed-frame replay, the expected behavior of an unshifted recording. Confirming check: replay the path with the line stopped; the miss disappears.
  • Constant offset along the whole path, proportional to speed — a late or jittery part-detect trigger. At 250 mm/s, a 120 ms delay alone puts the start point 250 mm/s × 0.12 s = 30 mm behind. Confirming check: read the trigger-to-motion delay from a controller trace; the offset should equal speed × delay.
  • Constant offset along the path, independent of speed, same sign on every part — a frame, reference or tool center point teach error. Confirming check: re-teach the reference and verify the TCP; the offset disappears.
  • Offset growing in proportion to distance travelled rather than time — encoder scaling or lost counts. Confirming check: the tape test in the next section.

Drift that accumulates from part to part is a different fault again, with its own chain of causes — see why conveyor tracking drifts further from each box.

Are the encoder scaling and the part-detect trigger telling the truth? #

Move the conveyor a tape-measured 1,000 mm and compare the distance the controller reports: a fixed ratio error is scaling, a ratio that changes with speed means coupling slip or lost counts, and a late part-detect signal adds a constant speed-proportional offset at every path start.

Scaling test. Run or push the belt exactly 1,000 mm against a tape and read the controller's reported travel. If it reports 980 mm the scaling is 2% low: correct the ratio in the controller's conveyor tracking configuration by 1,000 ÷ 980 ≈ 1.02 and repeat the test. Take the scaling values from the configuration screen for that conveyor, never from another cell. If the direction is inverted the tool walks away from the part instead of following it — fix the sign before judging anything else.

Trigger test. Run a part past the sensor at two speeds and record the delay between the part-detect edge and the first commanded motion. A stable delay gives a constant offset you can predict; a delay that jitters between parts means unstable sensing — dirty optics, a part that occludes late, or a sampler running slower than the part arrives (see when a scan time misses an encoder cam window). Mount the sensor as early in the flow as the mechanical layout allows.

Which fix fits a line that cannot stop? #

Re-teach the contour as discrete waypoints in the tracked part frame using the controller's own conveyor tracking: a straight bead or a simple edge teaches in minutes, and tracking applies the line's displacement to every waypoint for as long as the part stays inside the tracking window.

That trades away the hand-guided recording's convenience — free-form contours cost real teaching time, and the path is only as good as the frame it is taught against. Build it in this order:

  1. Confirm encoder scaling and direction with the tape test.
  2. Teach or verify the part-fixed frame at the moment the trigger fires.
  3. Teach the contour as waypoints in that frame, with blends wherever the process allows continuous motion.
  4. Set the programmed speed so the speed relative to the moving part meets the process requirement, because line motion adds to or subtracts from the tool speed along the path.
  5. Dry-run with a marker before running product.

Re-recording a free-form contour against a tracked frame is only possible where the vendor documents that support; without it, the routes are tracked waypoints taught by hand, stop-and-go, or a feature request to the vendor stating your use case, speed range and path length. Starting from scratch, a retrofit needs more than an encoder — what a conveyor tracking retrofit needs beyond an encoder lists the full input set.

What breaks tracking when the conveyor ramps up or down? #

Tracking assumes the conveyor velocity the controller reads stays steady, so during ramp-up and ramp-down the tracked frame lags the accelerating part and accuracy degrades worst at the transitions — a reported symptom on continuous lines, so gate the process on a conveyor-at-speed signal rather than tuning the path.

The fix is sequencing, not tuning: start the process only after the line reaches steady speed and end the path before deceleration begins. Where the line ramps constantly, the error concentrates in the ramp regions, so space the parts so the process window sits between them. A conveyor speed the controller never actually sees — a slipping coupling, a speed change outside the tracked region — produces the same lag and has its own diagnosis (why robot conveyor tracking ignores encoder speed changes). Keep the process window inside the tracking zones the controller defines; a path that starts before the tracking window opens or ends after it closes falls back toward fixed-frame behavior.

How do you verify the fix before running product? #

Dry-run with a marker instead of sealant or paint and measure the offset at the start, middle and end of the path at minimum, nominal and maximum line speed: nine points, all inside the process tolerance, with no residual that grows with elapsed time.

Sign off on three consecutive parts that meet that rule, and read any residual before touching coordinates again:

  • A residual that still grows with elapsed time — scaling is still wrong; repeat the tape test.
  • A residual that scales with speed but stays flat along the path — trigger latency remains; re-check the sensor.
  • An offset that steps between parts — jitter; clean or remount the sensor.
  • A residual that appears only at the ramps — the process window straddles a speed transition; re-sequence.

Offline simulation is worth running first for reach, window limits and collisions, and it is honest about where it stops — conveyor tracking offline simulation: what it can verify draws that line. Only the nine-point marker run on the real line proves the path.

Decision, then: indexing line whose process fits the takt — stop the line and keep the taught path. Continuous line — tracked waypoints, gated on a conveyor-at-speed signal. Miss flat along the path — fix the trigger before editing coordinates. Miss growing with time — fix the scaling. Free-form contour and no documented tracking support in the recording tool — teach the waypoints by hand in the tracked frame or stop the line.

Questions asked

How do I know before commissioning whether my recording tool supports tracking?

Look for the support statement in the tool's own documentation. Where the vendor documents that its recording function does not support conveyor tracking, the stored points replay unshifted with tracking enabled or not. If the documentation is silent, run one marked part at a known speed: a miss that grows in proportion to elapsed time settles it.

Does a faster line make the drift proportionally worse?

Yes, the miss is linear in line speed. Raising the worked example from 150 mm/s to 300 mm/s at the same path duration turns a 1,500 mm end miss into 3,000 mm. A latency offset scales the same way: a trigger delay that cost 30 mm at one speed costs 60 mm once the speed doubles.

Can I just shift the taught path to cancel the miss?

A constant shift cancels a constant offset, which is what a stable trigger delay produces at one speed, but it cannot cancel a miss that grows along the path, and any fixed correction breaks as soon as the line speed changes. If the measured miss is flat along the path, fix the trigger; if it grows with time, move the waypoints into the tracked frame.

What is the fastest line speed a fixed-frame path can survive?

Work the tolerance backwards: the maximum survivable speed equals the process tolerance divided by the path duration. With a 3 mm bead tolerance and a 10 s path that is 0.3 mm/s, far below any production conveyor, so a moving-line application always ends up tracked or stopped.

What happens if the robot pauses in the middle of the path?

If the conveyor keeps running, the part moves on while the tool holds position and the miss resumes growing from the pause point. Gate an operator pause so the conveyor stops with the robot, or re-trigger the part capture on restart through the same stop branch the line uses.

Keep reading

  • Troubleshooting

    Why robot hand tracking sends velocity spikes to a servo

    The spikes are not a servo tuning problem: the robot's own axes close their loops, so any jump injected upstream arrives as a velocity spike. Work the chain in order — sample timestamps, pose estimate, coordinate transform, inverse-kinematics target, command stream — find the first signal that turns discontinuous, and repair that stage before touching any gain.

    Servo and stepper motion

  • Explainer

    Conveyor tracking offline simulation: what it can verify

    Offline simulation with a static coordinate frame verifies reach, path structure and clearance before the robot exists. It cannot verify moving-frame synchronization: as a calculated example, at a conveyor speed of 300 mm/s with 0.5 s between detection and pick, the target moves 150 mm, so frame conversion and tracking checks stay on the real controller.

    Servo and stepper motion

  • Selection guide

    Counting Real Axes Before Selecting a Gantry Motion Controller

    Count independent servos, not marketing axes: this machine is 13 controlled axes (1 X, 4 Y, 4 Z, 4 C), so the controller must coordinate 13. Size the payload forces first — 300 N horizontal and about 1,772 N accelerating up on Z — then use a PLC with integrated motion driving servos on one deterministic fieldbus unless robot-style kinematics or conveyor tracking saves real development time.

    Servo and stepper motion