19 / 102
TMC4670 Datasheet PRELIMINARY • IC Version V0.99 | Document Revision V0.91 • 2016-Nov-09
3.6.7 Analog Hall and Analog Encoder Interface (SinCos of 0°90° or 0°120°240°)
An analog encoder interface is part of the decoder engine. It is able to handle analog position signals of
0° and 90° and 0° 120° 240°. The analog decoder engine adds offset and scales the raw analog encoder
signals and calculates the electrical angle PHI_E from these analog position signals.
ADC offsets and ADC scalers need to be programmed into the associated registers to use analog Hall
sensors or analog encoders. Each AENC_0_SELECT, AENC_1_SELECT, AENC_2_SELECT, and AENC_3_SELECT,
selects one raw analog ADC input channel AENC out of AENC_UX_RAW, AENC_VN_RAW, AENC_WY_RAW,
AENC_N_RAW, or one AENC register channel AENC_UX_EXT, AENC_VN_EXT, AENC_WY_EXT, AENC_NEXT.
An individual signed offset is added each associated raw ADC channel and scaled by its associated scaling
factors according to
AENC_VALUE = (AENC_RAW + AENC_OFFSET) · AENC_SCALE
(5)
In addition, the AENC_OFFSET is for conversion of unsigned ADC values into signed ADC values as required
for the FOC.
Figure 11: Analog Encoder (AENC) Selector & Scaler w/ Offset Correction
©2016 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
Read entire documentation.