TIDUF97 September 2024
Single or multi-turn absolute rotary angle encoders are used in many applications such as servo drives and robotics, where an absolute mechanical angle position is required. Absolute encoders typically offer a serial unidirectional or bidirectional half-duplex or full-duplex RS485 interface with vendor specific or open encoder protocols.
This reference design demonstrates a small form-factor absolute single-turn magnetic rotary angle encoder circuit design using on-axis sensing, as shown in Figure 1-1. A circular disc magnet is mounted to the end of the rotating shaft of the encoder. A static PCB with the TMAG6180-Q1 high-precision analog AMR 360° angle sensor is mounted on-axis with configurable air gap from the top of the AMR sensor package to the circular disc magnet. The effective air gap includes the location of the AMR and Hall sensor inside the IC package. The integrated two independent Hall sensor outputs at X and Y axes are used to extend the angle range of the sensor to 360° mechanically.
The TMAG6180-Q1 features integrated signal conditioning amplifiers and provides differential sine and cosine analog outputs related to the direction of the applied in-plane magnetic field.
A Cortex M0 MCU MSPM0G3507 with 4MSPS dual sampling 12-bit ADC with up to 128-times hardware integrated averaging enables low noise and low latency absolute angle calculation and a 4-Mbaud UART for high-speed rotary angle data transmission. The absolute encoder circuit design offers a bidirectional interface using a half-duplex RS-485 transceiver with integrated 120Ω switchable termination in a small 10-VSON package. A 5V supply with ±10% tolerance is required to power the absolute encoder circuit.