Dave Houghton wrote:
> 
> Steve wrote
> Loosing steps on change of direction is a relatively common fault, it
> seems to show up more on Z axis, it's usually caused by having the wrong
> pulse direction. If it's active high, invert it to active low, or vice
> versa. 
> 
> Steve Blackmore
> --
> OK Thanks I can certainly do that. But will reducing the acceleration help?

Dave:

There are two totally unrelated issues that can cause lost steps.  The
answer to the problem depends on which issue you are seeing.

Issue #1:

For lack of a better term, I'll call it "stalling".  If the load torque
is too high, the speed is too high, or the acceleration is too high, the
motor can lose sync.  If that happens, you usually lose a LOT more than
one step.  Typically the motor stalls, and doesn't start moving again
until the commanded speed slows down.  Usually there is an obnoxious
noise when this happens, significantly different than the usual stepper
noise.

The solution to "stalling" is to reduce friction (oil, adjust gibs,
etc), reduce max speed, or reduce acceleration.

Issue #2:

I'll call this one "direction reversal timing".  Imagine your axis is
cruising along in one direction, then it slows down and reverses.  At
some point, the last "forward" step pulse is issued, then the direction
line changes, and the first "reverse" pulse is issued.

If the direction pin flips right at the end of the last forward pulse,
some drives might see that change and take what was supposed to be a
forward pulse in the reverse direction.  The opposite can also happen -
the direction pin might change so close to the beginning of the first
reverse pulse that the driver misses the change and goes forward for
that pulse instead.

Either of these problems results in a single lost step, not a bunch of
lost steps like you get with stalling.  It doesn't necessarily happen on
every reversal either - timing issues are like that.

The solution to "direction reversal timing" is to set the stepgen
parameters so that it generates signals that are acceptable to the drive.

The problem with Sherline is they haven't been considerate enough to
publish the timing requirements for their stepper drives.  So everybody
is stuck figuring it out by trial and error.

Hope this clears things up.  Sorry for the length, but some questions
don't have short answers.

Regards,

John Kasunich


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to