TMC4671 Datasheet • IC Version V1.00 | Document Revision V1.04 • 2018-Dec-11
22 / 157
Figure 12: N_POLE_PAIRS - Number of Pole Pairs (Number of Poles)
4.3.3 Numerical Representation of Angles PHI
Electrical angles and mechanical angles are represented as 16 bit integer values. One full revolution of
360 deg is equivalent to 216 = 65536 steps. Any position coming from a sensor is mapped to this integer
range. Adding an offset of PHI_OFFSET causes a rotation of an angle PHI_OFFSET/216. Subtraction of an
offset causes a rotation of an angle PHI_OFFSET in opposite direction.
Figure 13: Integer Representation of Angles as 16 Bit signed (s16) resp. 16 Bit unsigned (u16)
Hexadecimal Value
0x0000h
u16
0
s16 PHI[°] ±PHI[°]
0
0.0
30.0
60.0
90.0
0.0
-330.0
-300.0
-270.0
0x1555h
5461
10922
16384
5461
0x2AAAh
10922
16384
0x4000h
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com