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

When Line-Scan Triggers Resume After Reversing and Returning to a Previous Position | Crystal & Oscillator Handbook

After a reversal, forward steps do not always generate lines. A new-position trigger intentionally suppresses steps through previously scanned positions. Define whether the application needs only new material or rescans while moving forward through old positions.

Forward direction and forward progress beyond the boundary

Separate position input, decoded count and direction, trigger request, and captured line. In forward-only mode, requests resume as soon as movement turns forward. A forward-new-position mode remembers the prior boundary and resumes only beyond it. Both can look identical on monotonic test data.

This distinction is independent of encoder cycles per turn and ×1 or ×4 decoding. If decoded position skips or fails to decrease during reversal, investigate the input separately.

Worked example: eleven forward steps can give eight requests

Replay decoded position offline with no motor or production line. Start at 0, move six steps to 6, reverse three to 3, and move five more forward to 8. Assume no additional trigger interval constraint and at most one request per eligible step.

SegmentDecoded positionsForward onlyForward new positions
Initial forward run1, 2, 3, 4, 5, 66 requests6 requests
Reverse5, 4, 300
Return through old positions4, 5, 630
First new positions7, 822

The eleven forward steps give eleven or eight requests. Returning to position 6 reaches the old boundary. Position 7 is the first step beyond it in this model. Verify the manufacturer's boundary rule. Suppressing repeated lines can prevent duplicate stitching, but can fail a rescan requirement. If requests still fail after crossing, inspect device state separately.

The reference clock does not determine position history

The board clock can time trigger synchronization, state processing, and readout. It does not determine which position the encoder reports. NDK's NX3225SA series covers a fundamental 25 MHz passive crystal example. A standard specification gives ±15 ppm room-temperature tolerance at 25 °C, separate from temperature variation relative to that point. Confirm exact specification, load capacitance, equivalent series resistance, and drive.

At 25,000,000 Hz, 15 ppm is 375 Hz. This illustrates component tolerance under that condition. It is not total board tolerance or an explanation for exactly three suppressed positions. Investigate timing if the same replay and mode still give inconsistent requests or output intervals.

Preserve decoded motion, requests, and acquired line IDs

Use a software replay or approved isolated low-voltage board. Lock board, firmware, and mode. Record position, direction, output request, and received line ID, and mark unavailable signals pending.

CheckRecordDistinguish
Input and decodingPosition and direction at every stepValid motion versus decoding jumps
RuleRequests at repeated and new positionsExpected suppression versus missing trigger
BoundaryPrevious maximum and first new positionReturn to the boundary versus crossing it
AcquisitionRequest, accepted line, and host receiptTrigger, capture, and transfer failure
ClockActual point, board conditions, and specificationElectrical evidence of reference problems

Preserve the earlier path and any resets. Starting directly at 3 can differ from first reaching 6 and reversing to 3. Define rescan behavior and the first required line after crossing on the purchase specification. Keep the oscillator part and electrical requirements separate.

Frequently asked questions

Does a changing position count establish that a line was captured? Match the input to a request and verify acquisition and readout.

Why are lines still missing after forward motion resumes? New-position mode can suppress old positions. Replay across the old boundary. After it, distinguish absent requests from requests that fail to yield a line. Keep a normal clock baseline if the selected rule explains the blank interval.

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.