12 / 102
TMC4670 Datasheet PRELIMINARY • IC Version V0.99 | Document Revision V0.91 • 2016-Nov-09
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
-240.0
-210.0
-180.0
-150.0
-120.0
-90.0
0x1555h
5461
10922
16384
21845
27306
5461
0x2AAAh
0x4000h
10922
16384
0x5555h
21845 120.0
27768 150.0
0x6AAAh
0x8000h
32768 -32768 180.0
38229 -27307 210.0
43690 -21846 240.0
49152 -16384 270.0
54613 -10923 300.0
0x9555h
0xAAAAh
0xC000h
0xD555h
0xEAAAh
-60.0
60074
-5462 330.0
-30.0
Table 5: Examples of u16, s16, q8.8
The option of adding an offset is for adjustment of angle shift between motor and stator and rotor and
encoder. Finally, the relative orientations between motor and stator and rotor and encoder can be adjusted
by just one offset. Alternatively, one can set the counter position of an incremental encoder to zero on
initial position. For absolute encoders one needs to use the offset to set an initial position.
3.5 ADC Engine
The ADC engine controls the sampling of different available ADC channels.
The FOC engine expects offset corrected ADC values, scaled into the FOC engine 16 bit (s16) fixed point
representation. The integrated scaler and offseter maps raw ADC samples of current measurement
channels to 16 bit two’s complement values (s16). Both, offset and scale calculations are signed. With this,
the user can change the signs of current according to the application by the scaling factors.
The s16 scaled ADC values are available for read out from the register by the user. ADC samples for motor
supply voltage (VM), MOSFET temperature, motor temperature, general purpose analog input (AIN) are
only raw values without scaling.
• ADC samples of integrated ADC
• ADC samples from external ADC (LTC2351)
• ADC samples from external sources can be written into dedicated registers (ADC EXT)
• ADC values are for:
– phase current measurement (most important task)
– Supply voltage measurement (for monitoring or brake chopper)
– Analog Hall signal measurement
– analog Sine/Cosine encoder signal measurement
– analog voltage input for MOS-FET temperature signal monitoring
©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.