To run a DC motor under speed or position control, the controller needs to know the actual measured value. Depending on the requirement, a simple tachometer supplies an analogue voltage, an encoder supplies digital pulses or a code word, a resolver supplies an absolute angular position, or a Hall sensor supplies the coarse switching states needed for electronic commutation. More on speed control itself in Speed Control (PWM).
Tachometer
A tachometer (tachogenerator) is a small auxiliary generator mechanically coupled to the motor shaft. In the classic DC tachometer, an armature rotates in the field of a permanent magnet and the signal is taken off via a commutator; output voltage is proportional to speed and typically ranges roughly from 5 to 200 V per 1,000 RPM, at speeds up to around 12,000 RPM and a typical current capacity of around 300 mA. An AC tachometer instead rotates either a coil via slip rings or a permanent magnet inside a fixed coil - here both amplitude and frequency are proportional to speed, and rotation direction can be determined from the phase relationship.
Signal processing: The output voltage is usually fed directly into the control loop as an analogue value, with no digital processing needed. In brushed DC tachometers, a commutation-related ripple voltage of roughly 5-6% peak-to-peak overlays the signal and may need filtering.
Advantages:
- Simple, rugged technology with no additional signal-processing electronics required.
- Direct analogue voltage that feeds straight into classic analogue control loops.
- AC versions available without brush wear.
Disadvantages:
- DC versions suffer mechanical wear from their own brushes and commutator.
- Temperature drift of the permanent magnets affects accuracy.
- No angle or position information; very low speeds are hard to measure reliably.
- Increasingly displaced in new designs by cheaper incremental encoders.
Typical applications: Classic analogue speed control loops and test benches that need a simple, immediately usable speed signal.
Encoder
Encoders sense rotation digitally, most commonly either optically or magnetically. Optical encoders scan a coded, rotating disc with an LED and photodiodes and reach resolutions of up to 10,000 lines, or around 4,096 steps (12 bits), at an accuracy of roughly 0.015° (50 arcseconds). Magnetic encoders instead evaluate the field change of a multipole or diametral magnet using Hall elements or magnetoresistive sensors; they reach an accuracy of roughly 0.15° (500 arcseconds) and need additional signal interpolation for higher resolution, but are considerably more robust against contamination, vibration and shock than optical versions.
In incremental encoders, two tracks (A and B) offset by 90 electrical degrees provide counting and direction information, with an additional Z track giving one reference pulse per revolution; after a power loss, a homing move is therefore needed unless additional UVW tracks provide a coarse rotor position (resolution from about 60°) for commutation. Absolute encoders instead usually code position with a Gray code, where only one bit changes between adjacent positions - enabling immediate error detection and delivering the actual position right after power-up. Singleturn absolute encoders resolve one revolution, while multiturn versions also count revolutions, via a gearbox, a backup battery, or a battery-free Wiegand energy-harvesting sensor.
Signal processing: Incremental signals are processed via a quadrature decoder or a counter input in a PLC or servo drive, often with additional interpolation for higher effective resolution. Absolute encoders transmit their position over serial interfaces such as SSI (13 bits singleturn or 25 bits multiturn as the standard data word length), BiSS, EnDat, or manufacturer-specific protocols such as Hiperface or Drive-CLiQ.
Advantages:
- High to very high resolution and accuracy, especially for optical versions.
- Absolute encoders deliver position immediately on power-up, with no homing move.
- Magnetic designs are robust, compact and virtually wear-free.
Disadvantages:
- Incremental encoders lose position on a power loss (without UVW tracks or multiturn capability).
- Optical versions are sensitive to contamination, moisture and vibration.
- Multiturn absolute encoders and high-resolution optical versions cost considerably more than simple tachometers or Hall sensors.
Typical applications: Servo drives, CNC machines, robotics, and automation in general wherever accurate rotation or position data is needed.
Resolver
A resolver is an electromechanical angle sensor based on the transformer principle. In the now-common brushless design, an excitation signal of typically 2-20 kHz at 2-40 V RMS is inductively coupled onto a rotor winding; two stator windings offset by 90 degrees then produce amplitude-modulated sine and cosine signals. From the ratio of the two signals (angle equals the arctangent of the sine-to-cosine amplitude), electronics calculate the exact rotor angle within one revolution. Older resolver designs instead use slip rings or brushes to transfer the signal.
Signal processing: A dedicated resolver-to-digital converter (RDC), such as the widely used AD2S1210, excites the resolver and converts the sine/cosine signals into a digital angle and speed signal, with programmable resolution typically between 10 and 16 bits. Depending on RDC quality, achievable accuracy ranges roughly from 5 to 0.5 arcminutes (around 300 to 30 arcseconds); with higher-grade electronics, manufacturers quote up to around 16-18 bits (roughly 4-20 arcseconds). This range varies between sources, as different RDC classes are being compared.
Advantages:
- Extremely rugged against heat, vibration, contamination and electromagnetic interference - reportedly functional above 200 °C and in harsh industrial environments.
- Brushless design is virtually wear-free, with a mean time between failures (MTBF) of over 100,000 hours; often in service over 5 years in harsh environments versus sometimes only 6-12 months for optical encoders.
- Delivers an absolute position within one revolution with no homing move.
Disadvantages:
- Lower raw resolution than high-end optical encoders unless higher-grade RDC electronics are used.
- The RDC electronics can cost 3 to 5 times more to procure than the resolver itself.
- Physically heavier and larger than comparable optical or magnetic encoders.
Typical applications: Servo motors in harsh environments, automotive drivetrains, aerospace, machine tools, industrial robots, and other applications where temperature and vibration resistance matter more than the last bit of angular resolution.
Hall sensor
A Hall sensor is a semiconductor element that responds to a perpendicular magnetic field: the Lorentz force deflects charge carriers in the element, producing a Hall voltage that is initially only a few microvolts and therefore amplified. There are linear Hall sensors with a continuous output voltage proportional to field strength (used, for example, for current or position sensing) and digital Hall sensors with Schmitt-trigger behaviour that switch once a threshold is exceeded.
In brushless DC motors (BLDC), three digital Hall sensors are typically arranged 120 electrical degrees apart around the rotor - mechanically equivalent to (2/pole count) × 120°, or only about ±20° for a 12-pole system. Together these three sensors produce six distinct switching combinations per electrical revolution, giving a sector resolution of 60 electrical degrees per switching state - sufficient for classic block or six-step commutation, but coarse compared with an encoder.
Signal processing: The digital switching levels from the three Hall sensors drive the electronic commutation logic directly, and work at standstill and very low speed - a clear advantage over sensorless commutation methods, which rely on an induced voltage. Modern integrated Hall ICs already include temperature compensation of the switching threshold and chopper techniques against offset drift.
Advantages:
- Very low cost, compact and virtually wear-free.
- Works reliably at zero speed and very low speeds.
- Robust against moisture and contamination.
Disadvantages:
- Low angular resolution with the standard 3-sensor configuration (only 60-electrical-degree steps).
- Switching threshold is temperature-dependent and prone to drift without compensation.
- Not suitable for fine position control without additional interpolation.
Typical applications: Commutation of brushless motors, simple speed measurement, and current or position sensing using linear Hall sensors.
Comparison at a glance
| Criterion | Tachometer | Encoder | Resolver | Hall sensor (3× digital) |
|---|---|---|---|---|
| Measuring principle | Electromagnetic induction, analogue voltage | Optical/magnetic, digital pulses or code word | Transformer principle, sine/cosine + electronics | Hall effect, digital or linear |
| Resolution/accuracy | No angular resolution, ripple approx. 5-6% (DC) | Optical up to approx. 0.015° (50″); magnetic approx. 0.15° (500″) | Approx. 5-0.5′ (300-30″) standard, up to approx. 4-20″ with high-grade electronics | 60 electrical degrees per switching state (standard configuration) |
| Delivers absolute position | No | Incremental: no, absolute: yes | Yes (within one revolution) | No (coarse sector information only) |
| Robustness (temp./vibration/EMI) | Medium, brush wear and temperature drift in DC version | Optical more sensitive, magnetic robust | Very high, above 200 °C, EMI-immune | High against moisture/dirt, switching threshold temperature-dependent |
| Cost | Low to medium | Magnetic low, optical/multiturn medium to high | Resolver moderate, electronics 3-5x more | Very low |
| Service life/wear | DC with brush wear, AC brushless low-maintenance | Optical sometimes only months in harsh environments, magnetic long-lived | Virtually wear-free, MTBF >100,000 h | Wear-free |
Suitability as a feedback signal
| Sensor type | Speed control | Position control/commutation |
|---|---|---|
| Tachometer | Yes, classic analogue value | No, no angle information |
| Encoder (incremental) | Yes, from pulse frequency | Conditional, suitable for coarse commutation with UVW tracks |
| Encoder (absolute) | Yes, from the change in position | Yes, standard for high-precision servo control |
| Resolver | Yes, modern RDC chips deliver position and speed directly | Yes, standard for commutation in harsh or hot environments |
| Hall sensor (3× digital) | Conditional, coarse from switching-edge frequency | Yes for block commutation, unsuitable for fine position control |
Which feedback system is the most economical choice for your application depends heavily on environmental conditions, required accuracy and budget - we determine this together as part of the motor sizing process. More on the broader motor choice in Brushed or Brushless Motor?.
Frequently asked questions
What feedback systems exist for speed and position sensing in DC motors?
The most common are the tachometer (analogue speed voltage), the encoder (digital pulses or a code word), the resolver (electromagnetic angle sensor) and the Hall sensor (magnetic-field switch, mainly for commutating brushless motors).
What is the difference between a tachometer and an encoder?
A tachometer outputs an analogue voltage proportional to speed with no angle information. An encoder instead outputs digital pulses or a code word, from which both speed and, depending on the design, the exact angular position can be derived.
What is the difference between an incremental and an absolute encoder?
An incremental encoder counts steps from a reference point and loses its position on a power loss until a homing move is performed. An absolute encoder instead outputs the actual angle - and, in multiturn versions, also the turn count - immediately on power-up, via a Gray code or a serial protocol.
How does a resolver work and why is it so rugged?
A resolver couples an excitation signal onto the rotor using a transformer principle; two stator windings offset by 90 degrees then produce amplitude-modulated sine and cosine signals from which electronics calculate the angle. Because it is brushless and uses no sensitive optical semiconductors, it tolerates high temperatures, vibration and electromagnetic interference far better than optical encoders.
Why are Hall sensors used in brushless motors?
Three Hall sensors, spaced 120 electrical degrees apart around the rotor, produce six distinct switching states per electrical revolution. That is enough to trigger electronic commutation in a brushless motor - even at standstill and very low speed, where sensorless methods reach their limits.
Which sensor is best suited for precise position control?
Optical absolute encoders offer the highest accuracy. Where resistance to heat, vibration and contamination matters more than the last bit of angular resolution, the resolver is the more rugged choice - it also delivers an absolute position within one revolution.
How is a resolver signal processed?
A dedicated resolver-to-digital converter (RDC) chip, or an equivalent function inside the servo drive, excites the resolver with a kilohertz-range AC signal and calculates the current rotor angle - and often the speed as well - from the ratio of the two stator signals.
Can a Hall sensor also measure speed?
Yes, approximately: speed can be derived from the frequency of the switching edges. However, the coarse 60-electrical-degree sector resolution of a standard Hall sensor arrangement is not sufficient for fine position control.
Sources (selection): Wikipedia: Tachogenerator, elektro.net: encoder technology overview, Wikipedia: rotary encoder, Wikipedia: absolute encoder, Wikipedia: resolver, Digi-Key: resolver signal processing, encoder.com: encoders vs. resolvers, RS Online: Hall sensor guide, Elektronikpraxis: angle sensors and Hall switches, Wikipedia: brushless DC motor.
Request motor sizing