MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Polarity checking of differential encoder signals
HomeModels
Table of contents

On this page

Sensors & Detection (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Polarity checking of differential encoder signals

One reversed wire in a differential pair flips the direction, and on a servo that can mean a runaway at enable. Understand the differential principle, three polarity-check methods and the consequences, then apply them at every encoder or drive swap.

1. How it works

A differential pair sends one signal on two wires: A+ carries the true phase and A- the inverse, and the receiver amplifies their difference, cancelling common-mode noise so runs reach 100m. Polarity definition: in forward rotation A+ leads B+ by 90 electrical degrees. Swap either wire of a pair and that phase inverts by 180 degrees, rewriting the phase relationship - swapping A+ with A- alone flips the direction decision, and B inverted does the same. The three pairs A, B, Z are independent, but one reversed count phase is already enough to reverse travel.

2. Numbers and practice

Three check methods. Datasheets: both the encoder and the drive document pin tables - match true-to-true logic, or cross over when one side defines inverted logic. Scope: probe A+ against A- and B+ against B-, rotate by hand in the positive direction, and A+ should lead B+ by a quarter cycle; if it lags, either the polarity or the direction convention is flipped. Drive monitor: most servo drives display the encoder count direction - rotate slowly forward and the monitor must increase; if it decreases, swap one pair (A+ with A-) and retest, never two pairs at once, since two inversions cancel and prove nothing.

3. Pitfalls and fixes

Consequences scale in three tiers: on plain counters the machine drifts the wrong way; on a servo speed loop the reversal becomes positive feedback and the axis runs away at enable with overcurrent; on position loops it can crash. Defences: after any encoder or drive change, first power-up happens with the load detached and speed capped at 10 percent for a direction check; wiring is done de-energised with every conductor labelled A+, A-, B+, B-, Z+, Z- rather than trusted to colour memory; and each pair is twisted and equal-length, since unequal lengths introduce phase shift. The slow-speed direction check is the two minutes that buy everything.

4. Differential polarity verification table

Check itemCorrect stateConsequence if wrong
A+ versus B+ phaseA+ leads 90 degrees forwardDirection reversed, motion inverts
A- swapped with A+Phase inverts 180 degreesDirection flips, servo may run away
B pair swappedB invertsSame effect as A reversed
Z+ swapped with Z-Z inverts, direction unchangedHoming faults on some drives
Twisted, equal lengthPair twisted and matchedUnequal length distorts the waveform
First power-up10% speed, no load, verifyLoaded start risks a runaway crash

5. Notes

The polarity mantra: forward means A leads B, one swapped pair reverses the direction, and verification always runs at low speed. Pin the pinout table inside the cabinet door, hand-rotate before powering, and those two minutes outweigh any schedule pressure.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Differential electrical characteristics per the IEC 61158 series and TIA-485; control circuit safety per GB/T 5226.1 (IEC 60204-1). Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Powering up loaded with A+ and A- swapped:Positive feedback sends the axis away at enable - cap 10 percent speed and verify unloaded
② Wiring from colour memory:Batch colour codes differ - label every conductor or invite a runaway
③ Swapping two pairs to hunt direction:Two inversions cancel and prove nothing - move one pair at a time

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL