Datasheet
TMC5062 DATASHEET (Rev. 1.11 / 2017-MAY-16) 55
www.trinamic.com
Torque for VSTART
Torque available for
AMAX
Torque available for acceleration A1
Torque required
for static loads
torque
velocity [RPM]
0
M
FRICT
M
MAX
VMAX
M
FRICT
Portion of torque required for friction and static load within the system
M
MAX
Motor pull-out torque at v=0
motor torque
M
NOM2
high acceleration
reduced accel.
V1
M
NOM1
M
NOM1/2
Torque available at V1 resp. VMAX
Motor torque used in acceleration phase
high deceleration
reduced decel.
2xM
FRICT
Overall torque usable for deceleration
VSTART
Figure 10.2 Illustration of optimized motor torque usage with TMC5062 ramp generator
10.2.3 Velocity Mode
For the ease of use, velocity mode movements do not use the different acceleration and deceleration
settings. You need to set VMAX and AMAX only for velocity mode. The ramp generator always uses
AMAX to accelerate or decelerate to VMAX in this mode.
In order to decelerate the motor to stand still, it is sufficient to set VMAX to zero. The flag vzero
signals standstill of the motor. The flag velocity_reached always signals, that the target velocity has
been reached.
Please see chapter 10.6 for a known restriction of the velocity mode.
10.3 Interrupt Handling
The motion controllers provide the capability to issue an interrupt to the microcontroller, e.g. in order
to react on a position reached event. In case more than one interrupt source is possible, it is
necessary to carefully check for the actual event, without risking losing an event.
INTERRUPT HANDLING FOR 2 AXIS (EXAMPLE FOR POSITION_REACHED):
1. Read RAMP_STAT1 to clear the interrupt flags. This will turn off the interrupt source.
2. Check XACTUAL1 for reaching of the target position (and any other conditions you want to check
for ramp 1).
3. Do the same for RAMP_STAT2 and XACTUAL2.
This way, you are sure that you will not miss any position_reached condition, because you first clear
the flags, and afterwards read out the condition.
10.4 Velocity Thresholds
The ramp generator provides a number of velocity thresholds coupled to the actual velocity VACTUAL.
The different ranges allow programming the motor to the optimum step mode, coil current and
acceleration settings.