no image file

Rosetta - MicroStep Calculator


This program is used to determine the setting of the microsteps on the DM542T Stepper Driver, based on the device being used on your rose engine. It should be used to calculate the needed setting to achieve a granularity of movement lower than 0.0005”.

Stepper Motor Drive Options

Each DM542T Stepper Drives can be set to one of these settings. DM542T Microstepping Options

Micro-steps Pulses / Motor Rev   Micro-steps Pulses / Motor Rev   Micro-steps Pulses / Motor Rev   Micro-steps Pulses / Motor Rev
1 200   16 3,200   5 1,000   40 8,000
2 400   32 6,400   10 2,000   50 10,000
4 800   64 12,800   20 4,000   100 20,000
8 1,600   128 25,600   25 5,000   125 25,000

Input fields are  colored . Once the values have been entered, click the Calculate Granularity button below the table.

Fixed Values

These are based on your machine

DM542T Microsteps Setting  

Stepper Motor Gearing Ratio :1 The gearing ratio for the stepper motor driving the moved part. For spindles on the MDF Rose Engine, this is 9:1, so a 9 would be entered here.
Leadscrew Movement per Revolution inch This is the distance the cutter is moved for each revolution of the leadscrew.
Leadscrew Starts    
Object Radius inch For cutting on the perimeter, this is the angular movement.

Calculated Values

 
Linear Movement per Microstep

inch

Angular Movement per Microstep

inch


Determining the Setting to Use

The microsteps setting to use should be based on weighing accuracy vs. speed.

Higher Number of Micro-steps Lower Number of Micro-steps
A higher setting for the microsteps allows for a finer granularity of movement.

There is a limit to the number of pulses which LinuxCNC can send to a stepper motor in a given timeframe (i.e., there is a maximum pulses/second).

Defining the pulses per revolution lower allows LinuxCNC to drive the motion faster.

Background

Stepper Motors

This calculator is based on stepper motors which have a step angle of 1.8°. The movement on those stepper motors is defined by this formula: \[ \begin{align} Stepper \, Motor \, Accuracy & = \frac{1.8°}{step} \\ & = 200\frac{steps}{rev} \end{align} \]

Stepper Motor Accuracy

If the DM542T is set to 8 microsteps, \[ \begin{align} Stepper \, Motor \, Accuracy & = 200\frac{steps}{rev} \times 8\frac{microsteps}{sep} \\ & = 1600\frac{microsteps}{rev} \end{align} \]

Spindle Movement

If the spindle is driven by a belt giving a gearing ratio of 9:1, the movement per microstep is given by: \[ \begin{align} Movement & = \frac{360\frac{deg}{rev}}{1600\frac{microsteps}{rev}} \times \frac{1 \, spindle \, rev}{9 \, motor \, revs} \\ & = 0.025 \, \frac{deg}{microstep} \end{align} \] Arc length can then be calculated for the perimiter of the piece which has a 2” radius as: \[ \begin{align} Arc \, Length & = \frac{0.025 \frac{deg}{microstep}}{360 \, deg} \times 2 \pi \times 2 \, inch \\ & = 0.000 \, 83 \, \frac{inch}{microstep} \end{align} \]

Linear Movement

For a linear axis movement, the movement is driven by a leadscrew which has these parameters:

  1. a distance of movement per revolution (in this case, 0.100” is used), and
  2. a number of starts for the threads (in this case, 4 is used).

And this too can have a gearing ratio. In this case, a 6:1 ratio is used. \[ \begin{align} Movement & = \frac{0.100\frac{inches}{rev}}{1600\frac{microsteps}{rev}} \times \frac{1 \, leadscrew \, rev}{6 \, motor \, revs} \times 4 \\ & = 0.000 \, 042 \, \frac{inches}{microstep} \end{align} \]