TMC5031 DATASHEET (Rev. 1.11 / 2016-APR-28)
33
Parameter
Description
Setting Comment
IRUN
Current scale when motor is running. Scales coil 0 … 31 scaling factor
current values as taken from the internal sine
wave table. For high precision motor operation,
work with a current scaling factor in the range 16
to 31, because scaling down the current values
reduces the effective microstep resolution by
making microsteps coarser. This setting also
controls the maximum current value set by
coolStep.
1/32, 2/32, … 32/32
IHOLD
IHOLD
DELAY
Identical to IRUN, but for motor in stand still.
Allows smooth current reduction from run current 0
to hold current. IHOLDDELAY controls the number
of clock cycles for motor power down after
TZEROWAIT in increments of 2^18 clocks: 0=instant
power down, 1..15: Current reduction delay per
current step in multiple of 2^18 clocks.
instant IHOLD
1*218 … 15*218
clocks per current
decrement
1 …15
Example: When using IRUN=31 and IHOLD=16, 15
current steps are required for hold current
reduction. A IHOLDDELAY setting of 4 thus results
in a power down time of 4*15*2^18 clock cycles,
i.e. roughly one second at 16MHz.
vsense
Allows control of the sense resistor voltage range 0
0.32V
0.18V
for full scale current.
1
6.1 Sense Resistors
Sense resistors should be carefully selected. The full motor current flows through the sense resistors.
They also see the switching spikes from the MOSFET bridges. A low-inductance type such as film or
composition resistors is required to prevent spikes causing ringing on the sense voltage inputs
leading to unstable measurement results. A low-inductance, low-resistance PCB layout is essential.
Any common GND path for the two sense resistors must be avoided, because this would lead to
coupling between the two current sense signals. A massive ground plane is best. Please also refer to
layout considerations in chapter 17.3.
The sense resistor needs to be able to conduct the peak motor coil current in motor standstill
conditions, unless standby power is reduced. Under normal conditions, the sense resistor sees a bit
less than the coil RMS current, because no current flows through the sense resistor during the slow
decay phases.
The peak sense resistor power dissipation is:
ꢉ
푃ꢂꢃꢄꢅ푋 = 퐼ꢆꢇꢈ퐿 ∗ 푅ꢃꢊꢋꢃꢊ
For high current applications, power dissipation is halved by using the low vsense setting and using
an adapted resistance value. Please be aware, that in this case any voltage drop in PCB traces has a
larger influence on the result. A compact layout with massive ground plane is best to avoid parasitic
resistance effects.
www.trinamic.com