TECHNOLOGY / OPTICAL ENCODER CALIBRATION

Separating Scale Pitch Error from Signal Cycle Error in Optical Encoder Calibration

Encoder position error lives at two very different spatial wavelengths: scale grating pitch error that repeats every few millimeters and interpolation cycle error that repeats every signal period, often below a micron. This guide explains how to measure each contribution on its own terms and how to decide which compensation method fits which error.

DIRECT ANSWER

What should a buyer prioritize?

Position error reported by an optical encoder is the sum of contributions at very different spatial wavelengths. Scale pitch error originates in the grating itself: the ruled lines deviate from their nominal spacing, so the error repeats every scale period—tens of microns to a few millimeters—and builds slowly along the travel. Cycle error, sometimes called interpolation error, originates in the readhead optics and signal electronics: imperfect quadrature, gain mismatch and harmonic distortion in the sine and cosine signals repeat every signal period, which after interpolation can be a fraction of a micron.

The two errors are separated by their spatial signatures, not by a single measurement. A high-density scan over a short travel reveals the cycle error riding on the pitch error; a lower-density scan over full travel reveals the accumulated pitch pattern. Once separated, each maps to a different fix—pitch error to a travel-dependent error map or a better scale, cycle error to signal tuning or interpolation calibration—and applying the wrong method to the wrong error wastes effort while the error remains.

ENGINEERING CONTEXT

The decision starts with the real constraint.

An encoder datasheet reports a combined accuracy grade and a subdivision error figure, but the machine shows position error that matches neither number. Inspection with a reference instrument returns a periodic-looking trace, with structure hiding at wavelengths shorter than the measurement sampling. Teams then compensate with a linear error map built from sparse points, which removes the long-wavelength travel terms while leaving a repetitive short-range error that appears as velocity ripple and jitter in the application. Without separating pitch error from cycle error, calibration effort goes to the term that is easiest to measure rather than the one that dominates.

Discuss your requirement ↗

CRITICAL REQUIREMENTS

Define these before model selection.

01

Reference with sufficient sampling

A laser interferometer or calibrated comparator sampled densely enough to resolve the signal period, not just the scale period.

02

Two measurement scales

Full-travel scans at moderate density for pitch behavior; short-travel high-density scans at several positions for cycle behavior.

03

Signal-quality evidence

Lissajous figures, quadrature phase and amplitude data collected alongside position measurements to attribute cycle error to its source.

04

Spatial-frequency analysis

Error traces analyzed by spatial wavelength so each spectral component is assigned a cause and a compensation method.

BUYER MATRIX

Compare evidence, not feature labels.

Give every shortlisted supplier the same process definition and request configuration-specific proof.

Distinguishing and addressing the two error families
Error familySpatial wavelengthDominant causesFitting responses
Scale pitch errorOne scale period (tens of microns to millimeters), plus long-wavelength travel termsGrating ruling deviations, substrate distortion, scale mounting stressTravel error map, scale replacement or remounting
Cycle errorOne signal period after interpolation (sub-micron)Quadrature phase error, gain mismatch, harmonic distortion, electronics offsetSignal tuning, gain and offset adjustment, interpolation calibration
Long-wavelength errorMeters to full travelScale installation alignment, thermal expansion, scale material mismatchLinear error map, thermal control, scale material selection
Reversal errorDirection-dependent at any wavelengthHysteresis, readhead gap changes, mechanical lovenessBearing and mounting correction, bidirectional mapping
Random errorNo fixed wavelengthContamination, electrical noise, vibration at measurement timeEnvironment and electrical hygiene, not compensation

Why one error map cannot fix two different errors

Compensation stores corrections against position, which assumes the error is a stable function of position. Scale pitch error satisfies that assumption: the grating is fixed to the machine, so its deviations repeat at the same physical locations for the life of the installation. Cycle error also repeats, but at such a short wavelength that an error map sampled at practical intervals cannot represent it—points a millimeter apart alias the cycle error into noise, and the map averages it away while the motion system keeps feeling it as velocity ripple.

This is the practical reason for separation: the two errors need different data density and different correction mechanisms. A map that tries to serve both ends up serving neither, and the symptoms—surface finish marks at the scale period, tracking error that grows with speed—persist after compensation that looked correct on paper.

Read the error mapping and compensation guide ↗Read the interpolation error testing guide ↗

Measuring cycle error: dense scans within one scale period

Cycle error measurement needs a reference sampled well beyond the scale period—ideally tens of points per signal period, which for a fine scale means interferometer readings on millimeter-long strokes at very fine steps, or a calibrated short-range comparator. The scan is repeated at several positions along the scale, because cycle error amplitude varies with signal quality: readhead alignment, contamination and scale coupling all modulate it.

The signature is unmistakable once resolved: an error that completes exactly one cycle per signal period, typically from tens of nanometers to a fraction of a micron. Correlate it against the signal domain—plot position error versus the sine-cosine Lissajous phase at the same instants and the attribution becomes direct. First-harmonic error tracks gain mismatch and quadrature error; second-harmonic tracks signal distortion. This correlation turns a mysterious position ripple into a named, tunable defect.

  • Reference sampled at tens of points per signal period over strokes shorter than a few scale periods
  • Repeat the scan at 3–5 positions along the travel to check cycle error stability
  • Plot error against Lissajous phase to separate first- and second-harmonic contributions
  • Record DC offsets, amplitudes and phase alongside—cycle error is traceable to them

Measuring pitch error: full travel at scale-period resolution

Pitch error asks a different question: how faithfully does the grating convert real displacement into counts over the full travel, and with what periodic structure? The measurement is a full-travel scan with sampling fine enough to see the scale-period term—typically four to eight points per scale period—under stable thermal conditions so drift does not masquerade as pitch behavior.

Analysis then works in the spatial domain. A Fourier or periodogram view of the error trace shows three regions of interest: the long-wavelength terms from installation alignment and thermal state, a peak or cluster at the scale period that is the pitch error, and any elevated floor at the signal period reflecting cycle error leaking into the scan. Each region maps to its own response: long-wavelength terms to a low-order error map, a genuine pitch peak to the scale vendor or a periodic compensation entry, the signal-period floor back to the cycle-error workflow above.

Engineer reviewing a spatial-frequency spectrum of encoder position error on a monitor next to a calibration stage
Read the laser interferometer verification guide ↗Read the calibration artifacts traceability guide ↗

Choosing the right compensation for each error

With the errors separated, compensation decisions become mechanical. Cycle error responds best at its source: readhead gain and offset adjustment, quadrature phase trimming, or interpolation calibration performed by the drive. Where the signal cannot be improved, some controllers accept a cycle-period compensation table, but entry counts multiply quickly at fine scales and the correction only holds while signal quality holds—a fallback, not a first choice.

Pitch error responds to periodic compensation keyed to the scale period or to the scale itself. Before compensating, check the mounting: fastening stress and readhead gap variations produce pitch-like signatures that disappear when the installation is corrected. And keep the order—tune the signal path first, then capture the error map, because a map captured on an untuned signal bakes cycle error into its points.

Read the quadrature Lissajous signal tuning guide ↗Read the sine-cosine interpolation guide ↗

A separation workflow you can repeat

The workflow below fits a normal calibration visit and produces a defensible split of the encoder error budget. Repeated on every serviced machine, it shows which error family dominates each encoder model in each environment—and treats the results as living data, since signal quality drifts with LED aging and pitch behavior shifts when scales are remounted after maintenance.

  • Step 1: verify signal health—offsets, amplitudes, quadrature phase, Lissajous shape
  • Step 2: full-travel scan at scale-period resolution under logged temperature
  • Step 3: spatial-frequency analysis; assign long-wavelength, scale-period and signal-period components
  • Step 4: dense short-stroke scans at several positions to quantify cycle error amplitude
  • Step 5: correct at the source first (signal), then apply the position error map
  • Step 6: re-verify at application speed, where dynamic effects modulate both errors

CONCLUSION

Name the wavelength, then choose the fix.

Encoder position error is not one number but a spectrum of spatial wavelengths, and the two most consequential—pitch error at the scale period and cycle error at the signal period—demand different measurements and corrections. Dense short-stroke scans expose the cycle error and trace it to signal defects; full-travel scans with spatial-frequency analysis expose the pitch structure and separate it from installation and thermal terms.

The discipline pays for itself in compensation that works: signal corrections applied where they belong, error maps captured after the signal is clean, and periodic re-separation as hardware ages. When each error carries its own name and wavelength, encoder accuracy becomes a managed property instead of a datasheet promise.

EVIDENCE CHECKLIST

Ask for evidence that closes the decision.

  • Full-travel position error trace with stated sampling interval, temperature and reference instrument
  • Short-travel high-density scans at several positions, showing the error within one scale period
  • Lissajous and quadrature signal measurements correlated with the measured cycle error amplitude
  • Spatial-frequency spectrum separating scale-period and signal-period components

FAQ

Questions engineers ask before selection.

What is the difference between scale pitch error and cycle error?

Scale pitch error repeats once per scale period—tens of microns to millimeters—and comes from the grating itself. Cycle error repeats once per signal period, often well below a micron after interpolation, and comes from readhead optics and signal electronics: quadrature error, gain mismatch and distortion.

Can a standard error map remove interpolation cycle error?

Generally no. Map sampling at practical intervals is far coarser than the signal period, so cycle error aliases into the measurement and the map cannot represent it. Cycle error is corrected at the signal source through tuning or interpolation calibration.

How dense must the reference sampling be to resolve cycle error?

Aim for tens of reference points per signal period over strokes shorter than a few scale periods, repeated at several positions. This resolves the cycle amplitude and shows whether it is stable along the scale.

Which error causes velocity ripple at constant speed?

Cycle error is the usual suspect: as the stage crosses each signal period, the repeating error forces the velocity loop to correct continuously. A ripple synchronized to the scale period points to pitch error.

Should I tune signals before or after capturing the error map?

Before. A map captured on an untuned signal freezes aliasing artifacts into the compensation points. Verify signal health, tune quadrature and gains, then capture the map for the residual error.

TECHNICAL REVIEW

Turn the requirement into a selection brief.

Send the application, critical parameters and any drawing or process information available.

Discuss your application ↗