AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a CAM follower stroke shrinks as master speed rises

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

Short answer

A CAM follower stroke that shrinks only as master speed rises is dynamic tracking lag, not a changed profile: ten times the master speed demands ten times the slave velocity and a hundred times the curvature acceleration. A synchronized trace confirms the commanded endpoints are unchanged; then check following error, speed precontrol, loop tuning and torque limiting in that order before touching the CAM or its limits.

On this page
  1. What the measured endpoints show
  2. Worked example: acceleration demand from 10% to 100% master speed
  3. The likely causes, cheapest to check first
  4. Capture a synchronized trace before changing anything
  5. Fix in this order
  6. The decision for each signature
  7. Questions asked

A CAM profile maps slave position to master position, so the endpoints the piston reaches should be identical at any master speed. When the stroke shrinks only as speed rises, the profile has almost certainly not changed: the axis has stopped tracking the ends of it in the time available. Ten times the master speed demands ten times the slave velocity and a hundred times the curvature acceleration, and that is exactly where position-loop lag, missing velocity feedforward and torque limits start eating the ends of the stroke. Treat the loss as a tracking problem until a synchronized trace proves otherwise.

What the measured endpoints show #

In the reported case, two drives with resolver feedback run a conveyor as the master axis and a piston as the slave: the master in control mode under F01 technology, the slave in synchronous mode on a CAM profile. The drive reports positions in LU, its configured position length unit, whose physical size comes from the axis scaling. The endpoints were:

Master speed Upper endpoint Lower endpoint Total travel
10% 985 LU -2217 LU 3202 LU
100% 580 LU -1439 LU 2019 LU
Loss 405 LU inward 778 LU inward 1183 LU, about 37%

The loss is unequal at the two ends, which points at direction-dependent acceleration demand, process load, or a limit active in one direction only; check each direction separately. Treat these figures as actual position extrema. If the drive is showing reference values instead, the commanded stroke itself is changing, and the search moves upstream to reference generation, CAM selection and scaling.

Worked example: acceleration demand from 10% to 100% master speed #

Inputs. The slave position is x = f(m), where m is master position and f is the CAM profile, unchanged between the two tests. The master runs at constant velocity through the region of interest: 0.1 of nominal in the slow test, 1.0 of nominal in the fast test. The slope f'(m) and curvature f''(m) at the endpoints are therefore the same in both tests.

Rule. Differentiate the CAM with respect to time. The slave velocity is f'(m) times the master velocity. The slave acceleration is f''(m) times the master velocity squared, plus f'(m) times the master acceleration. With constant master velocity the second term vanishes, and the curvature term, which scales with the square of master speed, is the one that grows.

Arithmetic. At 10% master speed: the velocity term is f'(m) × 0.1, and the curvature term is f''(m) × 0.1² = 0.01 × f''(m). At 100% master speed: the velocity term is f'(m) × 1.0, and the curvature term is f''(m) × 1.0² = 1.0 × f''(m). The ratios are 1.0 ÷ 0.1 = 10 for velocity and 1.0 ÷ 0.01 = 100 for the curvature acceleration.

Result and decision. Going from 10% to 100% master speed raises the demanded slave velocity tenfold and the curvature-related acceleration demand a hundredfold. These are kinematic ratios, not measured motor loads: actual torque also depends on inertia, friction and external force. A stroke loss that begins at a definite speed stage is tracking difficulty growing with the square of speed. If the demand exceeds what the axis can deliver, no amount of tuning recovers the stroke: reduce master speed or soften the CAM's acceleration demand at the reversal.

The likely causes, cheapest to check first #

Work down this list; do not assign a cause from the symptom alone.

  • Display sampling. A display or HMI polled too slowly can miss a brief endpoint and report a stroke that never shrank. Confirming check: log actual position at a fast rate across full cycles and compare the logged extrema with the displayed values.
  • Position following error. The gap between commanded and feedback position grows with the acceleration demand. Confirming check: trace both signals together; read the drive's sign convention before judging polarity. The same diagnosis path applies as for troubleshooting a servo axis that faults mid move.
  • Speed precontrol missing or mis-scaled. Velocity feedforward supplies the predicted slave velocity without waiting for a position error to develop; without it or with the wrong scale, the error grows with speed. Confirming check: error grows with speed while the torque signal shows no sustained limiting; then verify the feedforward against the CAM derivative and the axis scaling using the commissioning documentation for the installed drive.
  • Speed controller not optimized. A poorly tuned inner loop cannot follow the steeper velocity profile. Confirming check: run the manufacturer's documented optimization routine under controlled machine conditions before touching the outer position loop.
  • Torque or current ceiling at reversals. Once the drive saturates, more position error produces no more acceleration, and steep CAM segments and reversals are where it happens. Confirming check: trace the torque signal against its configured limit through the endpoints.
  • Reference limiting or ramping upstream. Confirming check: the reference and the actual travel contract together; then inspect CAM selection, scaling and the master reference.
  • Mechanism between motor and piston. The resolver measures motor position, so slip, backlash or compliance downstream lets the piston fall short while motor feedback looks perfect. Confirming check: motor feedback reaches the full endpoints while an independent measurement of the piston does not.

Capture a synchronized trace before changing anything #

Capture all of these channels time-synchronized, several full cycles at the slow speed and again at the fast speed: master position, slave position reference, slave actual position, position following error, speed reference, actual speed, torque-producing current or torque indication, and active limiting status. Comparing isolated display readings taken at different moments invites a false conclusion, because a fast cycle can pass an endpoint between two polls. Record the drive's following-error sign convention first, then keep it fixed for every capture.

Fix in this order #

  1. Save both drive configurations and record the active CAM, scaling, control modes, controller settings, precontrol settings and limits, using the documentation that matches the installed hardware and software.
  2. Establish a low-speed baseline: several complete cycles at 10% master speed, with repeatable logged extrema near the slow-speed endpoints and a stable error pattern.
  3. Step the speed up in stages with the CAM unchanged, and note at which stage the travel begins to contract and whether error growth, a reference change or a limiting flag accompanies it. If intermediate stages trip the drive, compare with the pattern of a servo that faults as acceleration ramps increase.
  4. Enable or correct the speed precontrol, one setting at a time, and expect the speed-dependent following error to fall without new oscillation.
  5. Raise position-loop gain only as a last resort. Excess gain is not a substitute for feedforward, and hunting grows as loop gain rises; the gain step should end with stable reversals, not hunting that grows as loop gain rises.
  6. Resolve saturation before raising any limit. Check torque saturation in a servo axis if the trace shows the torque signal pinned at its ceiling; compare the active limits with the motor, drive and machine capabilities, and increase a limit only after validating the full operating envelope, including the mechanical stops at the piston.

The decision for each signature #

  • Reference keeps the full stroke, actual travel contracts: a tracking problem. Correct the speed precontrol, then the tuning, then the torque availability.
  • Reference and actual travel both contract: the commanded stroke itself changed. Inspect CAM selection, scaling and the master reference before touching the control loop.
  • Following error grows with speed and no limiting appears: a controller response problem. Feedforward first, gain second.
  • Torque pinned at its ceiling during reversals: the axis lacks the effort for the demanded acceleration. Reduce master speed or soften the CAM's acceleration demand; raising the limit is safe only after the motor, drive and mechanical envelope all support it.

Questions asked

What does LU mean on a motion drive?

LU is the drive's configured position length unit: the internal number the controller counts, before axis scaling converts it to millimeters, degrees or another machine unit. Its physical size comes entirely from that scaling, so LU values are only comparable on the same axis with the same scaling. When you compare endpoints at two speeds, keep the scaling unchanged, and record it with your trace so the logged numbers can be converted to real travel later.

Should I enlarge the CAM limits to recover the lost stroke?

No. The profile has not changed; the axis is failing to track its ends in the time available. Extending the CAM would command a longer stroke and add more acceleration demand at the reversal, making the tracking loss worse and risking the mechanical stops at the piston. First capture a synchronized trace, confirm the reference still reaches the full endpoints, and correct the speed precontrol, the tuning or the torque availability before you change any profile data.

Why do the two endpoints lose different amounts?

Because the two ends of the stroke do not load the axis identically. The CAM slope and curvature usually differ at each endpoint, so one reversal demands more acceleration than the other, and gravity or process load may help one direction and oppose the other. A torque or reference limit can also act in one direction only. Check each direction separately: trace the following error and torque through both endpoints and compare which one saturates or lags first.

Can resolver feedback hide this fault?

Partly. The resolver measures motor position, so if there is slip, backlash or compliance between the motor and the piston, the feedback can reach the full endpoints while the piston itself falls short. Resolver resolution and sampling can also smooth a brief peak, but that would understate travel only slightly, not by tens of percent. Confirm with an independent measurement of the piston position compared against the logged motor positions at the same moments.

Keep reading

  • Troubleshooting

    Servo error counter overflow alarm: check torque saturation first

    An error counter overflow alarm — alarm 29 on the drive family that numbers it that way — means the position error counter passed 134217728 counts, so the motor stopped following the command. Check the torque monitor first: output torque saturated at the limit points at the torque limit set-up, Pr5E on that family, or at a load the motor cannot move; torque below the limit points at the command pulses, the encoder wiring or the gains.

    Servo and stepper motion

  • How-to

    Setting Up Servo Electronic Gearing With Registration Correction

    Gear the folder servo to the web encoder with one fixed electronic gear ratio and apply registration error as a bounded phase trim ramped across the 100 to 200 ms between corrections. At 150 m/min a 0.1 mm tolerance is 40 microseconds of web travel — about eight 0.0127 mm increments — so doubling or halving a pulse train for six pulses trips following error, while a ramped trim changes speed by 0.04 percent.

    Servo and stepper motion

  • Troubleshooting

    Why a Servo Axis Never Reaches Its Commanded Speed

    A servo axis tops out at the lowest of three ceilings: the screw or actuator's documented linear speed limit, the peak a short move can reach through its accel and decel ramps, and the electronic gear ratio that turns command units into encoder counts. Worked example: a 20 mm screw limited to 600 mm/s caps a 3000 rpm motor at 1800 rpm.

    Servo and stepper motion