Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

A nanometer-resolution encoder still has position error: test interpolation | Crystal & Oscillator Handbook

After replacing the encoder readout board of a precision assembly positioning stage with one offering a finer subdivision, the digital display can change in increments of a few nanometers. However, when referenced against an independent position standard, the recorded data still exhibits a periodic deviation. This is not due to a change in the display resolution, nor should one initially suspect a change in the crystal oscillator frequency on the board. Subdivision indicates how many digital steps exist within a single signal period; the true position error also depends on whether the two signal paths sufficiently match the assumed shape, amplitude, and phase. One should first check whether the residuals repeat according to the encoder signal period, rather than equating the minimum display step size with accuracy.

This paper discusses the independent low-pressure positioning station based solely on static calibration records and synthesized position data, without issuing commands to moving equipment, modifying drive or safety parameters, or inferring material for equipment currently in sale. The engineering decision is to allocate funds toward either increased bit depth, higher-precision reference oscillators, or supplementary cross-validation, thereby separating resolution, cycle error, and long-range scale error.

The same cycle can be subdivided more finely, but not necessarily with equal duration for each segment.

A type of position sensor produces two near-sinusoidal signals in quadrature. The estimator combines them to calculate fractional position within a signal period and adds whole-period counts. Ideally the channels have equal amplitudes, matching offsets and a quarter-cycle phase shift. Amplitude imbalance, offsets, phase error and harmonics can produce periodic position error. A finer digital subdivision can expose the residual curve without making it smaller.

This error must be distinguished based on the horizontal axis. On the test bench, during constant velocity, the deviation repeats at regular intervals; this may simply be due to passing through the same position at the same speed repeatedly. If the playback or comparison record position coordinates are changed, and the deviation primarily follows the position signal period rather than clock seconds, there is reason to prioritize investigating the interpolation process. Proportional errors over long distances, as well as installation or reference part errors, may also superimpose on this local curve. Relying solely on the maximum error over the full stroke makes it difficult to determine which category of factors dominates.

The number of edges per cycle in a standard square-wave incremental encoder should not be conflated with the analog interpolation error presented here. The edge multiplication factor determines how many counts are reported per mechanical cycle; here, we assume two analog phase quantities are being read, and the question pertains to whether the estimated position within the cycle is close to an independent reference. The catalog lists only the two higher-resolution products and will not automatically rank them based on local precision using this term.

Thousands of digital steps can coexist with a 0.18 μm residual

Assume that one signal period on the test bench corresponds to 20 micrometers. If 4096 uniformly spaced digital position bins are obtained, the nominal bin size is 20 divided by 4096 micrometers, approximately 0.00488 micrometers, or 4.88 nanometers. This value derives from the digital encoding scale, not a sensor commitment to equal physical spacing per bin. Further assume that, according to an independent position reference, a segment of residuals exhibits a periodic oscillation of ±0.18 micrometers. Its peak corresponds to approximately 37 display bins. An instrument resolution of 4.88 nanometers and an error reaching 180 nanometers are not contradictory.

If the 4096 counts are changed to 8192 counts, the nominal step size is halved, but the hypothetical periodic error does not halve accordingly; it merely occupies more digital counts. This set of values does not represent actual device performance nor general encoder acceptance criteria. Conversely, detecting a very small deviation within a single signal cycle for true position information does not prove absolute accuracy over the entire travel range, because positioning reference, temperature, and long-range scaling must be measured separately.

The crystal oscillator still has utility here. If a self-owned sampling board requires a pre-approved CMOS clock to control two sampling channels, one may examine the 24 MHz model SX3M24.000B10G40TNN from SCTF, with a nominal voltage of 3.3 V; the manufacturer's exact model row lists frequency tolerance and stability separately. If the two signals are not acquired simultaneously, rapid motion can indeed result in a problem where the two channels correspond to different positions due to a sampling time offset. One should first check the actual sampling instant for each channel, the displacement velocity, and the reference record; a stable reference clock cannot be taken as proof of "simultaneous sampling." If periodic residuals also appear at static position points, they cannot be fully explained by pure time offsets alone.

ObservationCheck firstConclusion not established
Bins get finer but positive and negative residuals repeat at the same positionsInterpolation, amplitude balance, phase and receive pathAccuracy improved in proportion to resolution
Static points pass, while faster motion shows errorsSample timing and independent position alignmentAn error in the grating period
Residual is small within one signal periodLocal interpolationFull travel and temperature range pass
Clock is stable but a periodic residual remainsIndependent position calibration and analog signal qualityA better oscillator will fix it

Specify resolution, within-period residual and full-travel accuracy

Prefer confirmed independent calibration references and use a single record spanning multiple signal cycles. Retain the original two-channel amplitudes, estimated positions, and external references rather than extracting only the digital display page. Engineering data may be aggregated either by position within a cycle or arranged by long stroke; if local fluctuations repeat with the same direction, specify the sampling method, temperature, and interface conditions used. Store separate records at different velocities within the same position range for velocity-dependent phenomena to prevent sampling latency and static interpolation errors from compensating each other. Check resolution at only one position, as there is no way to determine whether deviations repeat at other positions across cycles.

The procurement specifies the actual resolution requirements for the device: the minimum displacement to be resolved, the allowable error within a single signal period, and the allowable absolute deviation within the operating range. The supplier shall confirm all three parameters in a separate line item within the same quotation schedule. If only the number of bits per revolution or the number of divisions per millimeter is provided, the supplier must clarify the implications of this figure in actual installation, signal reception, and error statistics. Additionally, a separate line item must list the reference crystal oscillator part number, operating temperature range, logic level, and load conditions, explicitly confirming whether the board's sampling path actually utilizes this timer. Changing only the encoder interpolation gear without any other condition changes should not automatically delete the original period and full-scale checks from the table.

State whether the error is maximum magnitude, peak-to-peak or another statistic. A symmetric residual of ±0.18 μm has 0.36 μm peak-to-peak under the stated assumption. Compare results only with aligned definitions. A single displayed position cannot recover the underlying distribution. Record installation and measurement direction for each pilot result.

Common Follow-up Questions

If the nominal accuracy does not specify cycle error, is it sufficient to request the manufacturer to provide total accuracy? Not necessarily. Short-stroke repeatability observations may prioritize cycle error, whereas long-stroke positioning also requires total error. When both are important, they should be listed separately with their respective conditions.

Can a more accurate oscillator improve positioning accuracy? It is helpful only if timing is indeed the current source of error. If the deviation repeats with the position cycle even under static conditions, check interpolation and signal first; do not substitute time accuracy for the position reference.

Can relying solely on two waveforms being close to sinusoidal avoid position measurement? No. Waveform inspection can narrow the troubleshooting scope, but only results relative to an independent reference answer the end-user's question.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.