北印智能BetterPrinter

NEWSROOM · 2026.12.06

How the machine knows where the media is: the encoder is where it breaks

Firing position is set by the encoder, not the motor. Lose pulses and the image shifts in a regular pattern, which is exactly why it is hard to find.

BetterPrinter · on site · 2026.12.06

Print position is not calculated from the motor

The common assumption: the motor turns a set amount, the platform travels a set distance, the board fires at that count. It does not work that way.

The real chain is: the encoder measures actual displacement, the board fires on encoder pulses. The motor moves, the encoder reports, firing follows the report.

Why the extra link? Because motors slip, belts stretch and roller diameters carry tolerance. Drive 1000 mm open-loop and you may travel 998.6. Read the encoder and the error is closed out.

Print accuracy is, in essence, encoder accuracy.

How an encoder reports

TypeMountedBehaviour
RotaryMotor or roller shaftCheap; measures rotation, not travel, so roller wear and media slip turn into error
Linear scaleAlong the railMeasures carriage travel directly, immune to roller diameter; sensitive to dirt, oil and creasing
MagneticTape along the railTolerates contamination better than optical, slightly lower resolution, sensitive to swarf

The number that matters is pulses per millimetre. A 150 lpi scale gives about 5.9 pulses per millimetre, so one pulse is 0.169 mm. That is the board minimum positioning unit — anything smaller does not exist to the system.

Four faults, four symptoms

Encoder faults are recognisable. Read the symptom and work backwards:

  • Missing pulses — evenly spaced vertical misalignment, constant pitch. Usually a dirty scale, wrong read-head gap or cable interference. The tell is that the pitch is identical.
  • Extra pulses or jitter — local compression or stretch, as if the image was kneaded. Read head not parallel, or a slightly creased scale.
  • Resolution mismatch — the whole image scaled up or down, worse further along. A scale of different lpi was fitted and the board parameter was not updated.
  • Reversed phase — unidirectional fine, bidirectional misaligned. A and B are 90 degrees apart and wired backwards.

Check order: is the error pitch constant, does it change with speed, and only then open the read head. Pulling parts without reading the pattern is mostly wasted work.

Why it only shows at speed

Because pulse frequency climbs. On a 150 lpi scale, a carriage at 1.5 m/s produces about 8.8 kHz; at 3 m/s it is 17.6 kHz. Three things give up at that frequency:

  • The cable — long runs and capacitance round off the square wave, blurring the edge until counts are lost
  • Read-head bandwidth — a head rated 20 kHz often starts losing at 15 kHz
  • Input filtering — a low-pass added for noise immunity takes the valid edge with it

So when a machine is clean at low speed and bands appear the moment it is pushed, the encoder chain is the first suspect, not the head.

Three details that get skipped

  • Clean the scale on schedule, with anhydrous ethanol and a lint-free cloth only. Acetone dissolves the graduation layer and ruins it in one wipe.
  • Read-head gap has a tolerance, typically 0.1 to 0.3 mm. Set it with a feeler gauge, not by hand.
  • The scale expands thermally. One metre of aluminium extrusion moves about 0.46 mm over a 20 °C swing. On a wide machine printing long images that is visible, which is why wide-format scales are fixed at one end and floating at the other.

One more question when choosing a board

Ask about encoders and the usual answer is that incremental encoders are supported. That is not enough. Four things to pin down:

  • Maximum input pulse frequency — this caps your top speed
  • Interpolation or subdivision factor — this sets the minimum positioning unit
  • Lost-pulse detection — does it raise an alarm, or just print crooked in silence
  • Can encoder parameters be edited on the machine — does a scale change mean a factory return

The last one is the practical one: if fitting a 150 lpi scale requires reflashing firmware at the factory, the machine is locked to one scale for life.

One line

The head decides how large the dot is; the encoder decides where it lands. Get the position wrong and every colour and waveform adjustment afterwards is fine finishing work on a broken foundation.

Questions about a configuration like this? Ask an engineer.

Get a configuration proposal