User Manual
PD42-x-1140 Hardware Manual (V1.03 / 2018-JAN-25) 28
Copyright © 2012-2018, TRINAMIC Motion Control GmbH & Co. KG
11 PD42-x-1140 Operational Description
11.1 Calculation: Velocity and Acceleration vs. Microstep and
Fullstep Frequency
The values of the parameters sent to the motion controller TMC429 integrated on the PD42-x-1140 PANdrive do
not have typical motor values like rotations per second as velocity. But these values can be calculated from the
TMC429 parameters as shown in this section.
PARAMETERS OF TMC429
Signal
Description
Range
f
CLK
clock-frequency
16 MHz
velocity
-
0… 2047
a_max
maximum acceleration
0… 2047
pulse_div
divider for the velocity. The higher the value is, the less is
the maximum velocity
default value = 0
0… 13
ramp_div
divider for the acceleration. The higher the value is, the
less is the maximum acceleration
default value = 0
0… 13
Usrs
microstep-resolution (microsteps per fullstep = 2
usrs
)
0… 8
Table 11.1 TMC429 velocity parameters
MICROSTEP FREQUENCY
The microstep frequency of the stepper motor is calculated with
3220482
][
][
_
divpulse
CLK
velocityHzf
Hzusf
with usf: microstep-frequency
FULLSTEP FREQUENCY
To calculate the fullstep frequency from the microstep frequency, the microstep frequency must be divided by
the number of microsteps per fullstep.
usrs
Hzusf
Hzfsf
2
][
][
with fsf: fullstep-frequency
The change in the pulse rate per time unit (pulse frequency change per second – the acceleration a) is given
by
29__
max
2
2
divrampdivpulse
CLK
af
a
This results in acceleration in fullsteps of:
usrs
a
af
2
with af: acceleration in fullsteps