Datasheet
TMC2590-EVAL Evaluation Board • Document Revision V1.0 • 2019-AUGUST-16
8 / 11
3.3 StallGuard2™ Tuning
To tune StallGuard2
™
properly you need to set the current for the motor first, e.g. 1A RMS. After that
you specify the velocity to run the motor with. This could be 75 rpm as in this example. You can use the
TMCL IDE to calculate the velocity with the "Parameter calculator" tool shown in the list on the left when
connecting the board.
Figure 6: TMCL IDE v3.0.20.0 Parameter calculator
In the TMCL IDE you can use the CoolStep
™
& StallGuard2
™
graph where the StallGuard2
™
value is shown
in blue. There are two parameters that need tuning for proper StallGuard2
™
use. StallGuard2
™
Threshold
(SGT), will need to be tuned by raising or lowering the SGT value. The goal of SGT it so have it hit 0 before a
stall occurs. If the SGT is too high, a step loss will occur and you need to lower it. In the picture you see
two regions. In the first region the SGT value was too high. It was set to 10 and with loading the motor you
can see the value does not reach 0. In the second region the SGT value was set to 4 which results in hitting
the 0 axis just short before the motor stalls.
Figure 7: CoolStep™ & StallGuard2™ window
With optimal StallGuard2™ settings you can optionally activate CoolStep™.
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com