# Position and rotation sensors

Encoders, Hall-effect and magnetic angle sensors, magnetometers, potentiometers and LVDTs: how each reports position, and what misleads it.

Page: https://dharanova.com/learn/position-and-rotation-sensors · Track: Sense · Level: Core · Facts last checked 19 November 2026

Read first: [What a sensor actually is](https://dharanova.com/learn/what-is-a-sensor.md), [Sensor families](https://dharanova.com/learn/sensor-families.md)

Diagram: Top left: an incremental encoder's A and B signals, 90° apart, and reference mark R; R must be crossed to set the datum; an absolute encoder knows its position at switch-on. Top right: one maker's 200 mm rings, in arc seconds: system error 1.1, installed with one readhead 5.2, with two 2.1. Bottom left: a magnetic angle sensor under a magnet on a shaft; tilt, offset, warmth and nearby ferromagnetic parts add error. Bottom right: hard and soft iron turn a compass's ideal sphere of readings into an offset ellipsoid, fitted in place.

## Key points

1. An incremental encoder typically outputs two signals, A and B, 90° (electrical) apart, plus a reference mark. It counts steps from a datum, so the reference mark must be crossed to set it, which can mean moving the axis a long way. An absolute encoder reads a coded scale, so its position is available at switch-on. [1]
2. Fine resolution is not accuracy. Steps finer than an encoder's graduations come from interpolation, whose non-linearity adds a cyclic error. On one maker's 200 mm rings, typical system error was 1.1 arc seconds, installed 5.2 with one readhead (2.1 with two); eccentricity caused 60% or more of the installation error. [2]
3. A Hall-effect switch reports whether a magnetic field passes a threshold, as in lid detection and push buttons. A latch gives speed and direction for rotary encoding, and position for motor commutation. A linear type's output follows the field, for absolute position. Switching thresholds vary with temperature. [3][4]
4. A magnetic angle sensor reads a magnet turning with a shaft, so assembly tolerances add angle error: one maker simulates 2° of magnet tilt and a magnet 0.1 mm off-centre. Magnets weaken as they warm, typically by 0.12 %/°C (NdFeB) or 0.2 %/°C (ferrite), and nearby ferromagnetic parts change the field. [5][6]
5. A compass magnetometer is misled by ferromagnetic parts on its own circuit board. Magnetised ones add a fixed offset (hard iron); unmagnetised ones add a field induced by the Earth's (soft iron). Readings then lie on an ellipsoid, not a sphere. One maker's note fits it in place, without knowing where magnetic north is. [7]
6. A potentiometer is a contact sensor: a wiper moves over a resistive track, and its life is rated in cycles. One maker rates a 12 mm carbon part at 15 000 cycles, a precision wirewound one at 1 000 000 shaft revolutions (no load). A free-core LVDT's core does not touch its coil, but needs AC excitation and demodulation. [8][9][10][11][12]
7. India's BIS lists IS 17123 (Part 5/Sec 3):2025 as identical (dual numbering) to IEC 61800-5-3:2021, on functional, electrical and environmental requirements for encoders in power drive systems. IEC's abstract says it applies where an encoder's functional safety is claimed. BIS committee: ETD 31 (Power Electronics). (as of 19 November 2026) [13][14]

## Common mistakes

- Trusting an incremental encoder's count before its reference mark has been crossed. It counts steps from a datum; an absolute encoder has its position at switch-on.
- Reading an encoder's resolution as its accuracy. In one maker's tests on 200 mm rings, typical system error was 1.1 arc seconds but installed error with one readhead 5.2.
- Calibrating a compass module before it is fitted to its circuit board. Hard- and soft-iron errors come from the parts around it, so calibrate it in place.

## Sources

1. [Interfaces of HEIDENHAIN Encoders (brochure ID 1078628)](https://www.heidenhain.us/wp-content/uploads/2024/08/PR_Interfaces_ID1078628_en.pdf), DR. JOHANNES HEIDENHAIN GmbH
2. [The accuracy of rotary encoders (white paper)](https://www.renishaw.com/en/the-accuracy-of-rotary-encoders--47130), Renishaw plc
3. [Introduction to Hall-Effect Sensors (SLYT824B, revised April 2024)](https://www.ti.com/lit/pdf/slyt824), Texas Instruments
4. [Understanding and Applying Hall Effect Sensor Data Sheets (SLIA086A, revised December 2021)](https://www.ti.com/lit/an/slia086a/slia086a.pdf), Texas Instruments
5. [Achieving Highest System Angle Sensing Accuracy (SBAA539A, revised May 2023)](https://www.ti.com/lit/an/sbaa539a/sbaa539a.pdf), Texas Instruments
6. [Angle Measurement With Multi-Axis Linear Hall-Effect Sensors (SBAA463A, revised April 2023)](https://www.ti.com/lit/an/sbaa463a/sbaa463a.pdf), Texas Instruments
7. [AN4246: Calibrating an eCompass in the Presence of Hard- and Soft-Iron Interference, Rev. 4.0 (November 2015)](https://www.nxp.com/docs/en/application-note/AN4246.pdf), NXP Semiconductors (originally Freescale Semiconductor)
8. [Potentiometers and Trimmers (application note, document 51001, revision 02-Aug-13)](https://www.vishay.com/docs/51001/potentiom.pdf), Vishay Sfernice
9. [PTV/PTT Series 12 mm Potentiometer datasheet (REV. 09/23)](https://www.bourns.com/pdfs/PTVPTT.pdf), Bourns
10. [3590 Precision Potentiometer datasheet (REV. 12/20)](https://www.bourns.com/docs/product-datasheets/3590.pdf), Bourns
11. [Basics of the Linear Variable Differential Transformer (LVDT) (Understanding LVDTs tutorial)](https://www.te.com/en/products/sensors/position-sensors/resources/lvdt-tutorial.html), TE Connectivity
12. [PGA970 Use Case for LVDT Applications (SLYA028, May 2017)](https://www.ti.com/lit/an/slya028/slya028.pdf), Texas Instruments
13. [IS 17123 (Part 5/Sec 3):2025 / IEC 61800-5-3:2021 Adjustable speed electrical power drive systems, Part 5 Safety requirements, Section 3 Functional, electrical and environmental requirements for encoders (Know your standards record)](https://www.services.bis.gov.in/php/BIS_2.0/bisconnect/knowyourstandards/Indian_standards/isdetails/MzM2MzU=), Bureau of Indian Standards
14. [IEC 61800-5-3:2021 Adjustable speed electrical power drive systems, Part 5-3: Safety requirements, Functional, electrical and environmental requirements for encoders](https://webstore.iec.ch/en/publication/28614), IEC
