TMC5160 DATASHEET (Rev. 1.08 / 2018-NOV-19)
68
Three parameters are used for controlling both chopper modes:
Parameter
Description
Setting Comment
Sets the slow decay time (off time). This setting also
limits the maximum chopper frequency.
TOFF
0
chopper off
off time setting NCLK= 12 +
32*TOFF
(1 will work with minimum
blank time of 24 clocks)
1…15
For operation with stealthChop, this parameter is not
used, but it is required to enable the motor. In case of
operation with stealthChop only, any setting is OK.
Setting this parameter to zero completely disables all
driver transistors and the motor can free-wheel.
Selects the comparator blank time. This time needs to
safely cover the switching event and the duration of the
ringing on the sense resistor. For most applications, a
setting of 1 or 2 is good. For highly capacitive loads, 2
e.g. when filter networks are used, a setting of 2 or 3
TBL
0
1
16 tCLK
24 tCLK
36 tCLK
54 tCLK
3
will be required.
Selection of the chopper mode
chm
0
1
spreadCycle
classic const. off time
Fast decay time in multiple
of 128 clocks (128 clocks
are roughly 10µs)
TPFD
Adds passive fast decay time after bridge polarity
change. Starting from 0, increase value, in case the 0…15
motor suffers from mid-range resonances.
8.1 spreadCycle Chopper
The spreadCycle (patented) chopper algorithm is a precise and simple to use chopper mode which
automatically determines the optimum length for the fast-decay phase. The spreadCycle will provide
superior microstepping quality even with default settings. Several parameters are available to
optimize the chopper to the application.
Each chopper cycle is comprised of an on phase, a slow decay phase, a fast decay phase and a
second slow decay phase (see Figure 8.3). The two slow decay phases and the two blank times per
chopper cycle put an upper limit to the chopper frequency. The slow decay phases typically make up
for about 30%-70% of the chopper cycle in standstill and are important for low motor and driver
power dissipation.
Calculation of a starting value for the slow decay time TOFF:
EXAMPLE:
Target Chopper frequency: 25kHz.
Assumption: Two slow decay cycles make up for 50% of overall chopper cycle time
ꢃ
5ꢄ
ꢃ
ꢀ
ꢉ푂ꢕꢕ
=
∗
∗
= ꢃꢄµ푠
ꢀ5푘퐻푧 ꢃꢄꢄ
For the TOFF setting this means:
ꢘꢑ퐹퐹 = ꢝꢉ푂ꢕꢕ ∗ 푓 − ꢃꢀꢞ/3ꢀ
ꢋ퐿퐾
With 12 MHz clock this gives a setting of TOFF=3.4, i.e. 3 or 4.
With 16 MHz clock this gives a setting of TOFF=4.6, i.e. 4 or 5.
The hysteresis start setting forces the driver to introduce a minimum amount of current ripple into
the motor coils. The current ripple must be higher than the current ripple which is caused by resistive
losses in the motor in order to give best microstepping results. This will allow the chopper to
precisely regulate the current both for rising and for falling target current. The time required to
introduce the current ripple into the motor coil also reduces the chopper frequency. Therefore, a
higher hysteresis setting will lead to a lower chopper frequency. The motor inductance limits the
www.trinamic.com