Motor encoder vs resolver vs Hall sensor: which feedback do I need?
How incremental and absolute encoders, resolvers and Hall sensors report rotor position, their resolution and robustness, and how to pick one for a servo, BLDC or stepper drive.
Updated 2026-11-28
The short answer
All three sensors tell the drive where the rotor is. An encoder (optical or magnetic) gives high resolution, usually as digital pulses, and is the usual choice for servo motors. A resolver is an electromagnetic transformer with analog sine and cosine outputs, and it is rugged and works at high temperature with no electronics in the sensor. A Hall sensor gives a coarse position, six states per electrical cycle, and is cheap; it is used for block commutation in brushless DC motors. Pick by the accuracy, the environment and the drive's control method.
How each one works
- Incremental encoder: a disc with lines (optical) or a magnetic ring gives A and B pulses 90 degrees apart plus an index pulse Z. Direction and counts are relative, so the drive must home after power-on.
- Absolute encoder: each shaft angle has a unique code, so the position is known at power-on. Common protocols include SSI, BiSS and EnDat (protocol names for reference).
- Resolver: a rotor coil excited by a high-frequency carrier (often several kHz) induces sine and cosine signals whose amplitudes change with angle. An external resolver-to-digital converter turns them into position.
- Hall sensors: three digital sensors spaced 120 degrees (electrical) detect the magnet poles. They give six states per electrical cycle, which is enough to start and run a BLDC motor in block commutation.
Resolution and worked example
An incremental encoder with 2500 pulses per revolution gives 4 × 2500 = 10,000 counts per revolution in quadrature decoding. Its angular resolution is 360 / 10,000 = 0.036 degrees. At 3000 rpm the count rate is 10,000 × 3000 / 60 = 500,000 counts per second, so the drive's counter input must handle at least 500 kHz. A 16-bit resolver-to-digital converter gives 65,536 counts per revolution, or about 0.0055 degrees. A Hall sensor on a 4-pole motor (2 pole pairs) changes 6 × 2 = 12 times per mechanical revolution, which is 30 degrees per step, so it is far too coarse for smooth servo control.
Comparison
- Incremental encoder: high resolution, cheap, but loses position at power-off; sensitive to dirt and EMC on long cables.
- Absolute encoder: knows position at power-on, no homing, more expensive and more wiring.
- Resolver: rugged, works at high temperature and vibration, long life; needs a converter and has moderate accuracy.
- Hall: lowest cost and simplest, good for BLDC block commutation; coarse position, not for precise servo.
Common mistakes
- Setting the wrong pulses-per-revolution in the drive. Every count is then scaled wrongly, and the motor may run away.
- Swapping A and B, or Hall phases out of sequence. The motor may vibrate, reverse or fail to start.
- Ignoring voltage drop on the sensor supply. A 5 V encoder on a long cable may need a higher supply or a line driver.
- Running a resolver cable close to power cables. The sine and cosine signals pick up noise.
- Assuming a Hall-based BLDC will hold position smoothly at standstill; it will not with block commutation.
How to choose
- Precision servo with FOC or closed-loop positioning: high-resolution encoder, absolute if the axis cannot home.
- Harsh environment, heat or vibration: resolver.
- Low-cost BLDC with block commutation: Hall sensors.
- Open-loop stepper motors often have no feedback at all; closed-loop steppers use an encoder.
- Check the drive's supported feedback type, voltage, maximum input frequency and cable length before ordering.
Sourcing a motor or production equipment from China? We can find and contact the right factories for you in Chinese. Ask on WhatsApp →