开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

A axis acceleration


dchristal2
 

I continue to have big trouble with A axis acceleration. In motor
tuning, the acceleration ramp looks like a pyramid and the velocity
is about 75% of the failure point. Jogging is silky smooth.
The code below will usually work, but there is NO hint of ramped
acceleration.
f5
g1 x1 a360
g1 x0 a0

If I try to add a zero:
g1 x1 a3600
g1 x0 a0

The a-axis will not budge. It will only squeal.

I have fiddled with feed rate and rotation diameter until I'm blue in
the face. They affect it, but don't CORRECT it.

Is anyone enjoying smooth dependable X-A axis travel?

David Christal


barker806
 

--- In mach1mach2cnc@..., "dchristal2" <dchristal@e...>
wrote:
I continue to have big trouble with A axis acceleration. In motor
tuning, the acceleration ramp looks like a pyramid and the velocity
is about 75% of the failure point. Jogging is silky smooth.
The code below will usually work, but there is NO hint of ramped
acceleration.
f5
g1 x1 a360
g1 x0 a0

If I try to add a zero:
g1 x1 a3600
g1 x0 a0

The a-axis will not budge. It will only squeal.

I have fiddled with feed rate and rotation diameter until I'm blue
in
the face. They affect it, but don't CORRECT it.

Is anyone enjoying smooth dependable X-A axis travel?

David Christal
Art is working on this. I am havinf the same trouble...
If you NEED to get something cut set the A axis up as the Y and run
your part (This works great!!)


Brian


dchristal2
 

Thanks Brian,

That's a great idea. Sometimes ya gotta think outside the box.
Hmm... I wonder if you could just set up the A axis as linear.....
Gonna have to test that.


--- In mach1mach2cnc@..., "barker806" <brian_barker@u...>
wrote:
--- In mach1mach2cnc@..., "dchristal2" <dchristal@e...>
wrote:
I continue to have big trouble with A axis acceleration. In
motor
tuning, the acceleration ramp looks like a pyramid and the
velocity
is about 75% of the failure point. Jogging is silky smooth.
The code below will usually work, but there is NO hint of ramped
acceleration.
f5
g1 x1 a360
g1 x0 a0

If I try to add a zero:
g1 x1 a3600
g1 x0 a0

The a-axis will not budge. It will only squeal.

I have fiddled with feed rate and rotation diameter until I'm
blue
in
the face. They affect it, but don't CORRECT it.

Is anyone enjoying smooth dependable X-A axis travel?

David Christal
Art is working on this. I am havinf the same trouble...
If you NEED to get something cut set the A axis up as the Y and run
your part (This works great!!)


Brian


barker806
 

--- In mach1mach2cnc@..., "dchristal2" <dchristal@e...>
wrote:
Thanks Brian,

That's a great idea. Sometimes ya gotta think outside the box.
Hmm... I wonder if you could just set up the A axis as linear.....
Gonna have to test that.

Save your time I did that an it did not work...

Happy cutting
Brian


Art
 

Hi Brian:

I think I have a fix for this. It will be in the next version. The problem
is a very long standing one that was thought to be gone. The problem is the
rotational axis are separate from the linear interpreter because they
typically cannot be based on feedrate without a radius compensation of the
angualr axis.. So when a move like G1X1A360 is made, Mach2 is forced to
recompute the feedrate based on an algorithm that compares the time required
to move X 1 to the time required to move A360. The move is then scaled and
the X movement feedrate lowered so that the X move now takes long enough for
the A axis to complete its move. This algorithm was created by myself and
Rab 2 years ago as a way to better control the rotational axis.
Unfortunately, though we scaled the feedrate, we did not scale the
acceleration curves. Till now, no-one had trouble as their A axis accel was
near enough to the X and Y that those systems worked fine. Now , of course,
with Mach2 growing in popularity, it was inevitable that some systems would
present themselves with a sensitivity to this oversight.
For the next version I have scaled the Acceleration by the same ratio
factor as the feedrate. This means however, that there may be a lack of
linearity in the acceleration curve tracking in different conditions, but
this would affect only mixed Linear/Angular moves. This fix is based solely
on the assumption that if a feedrate is scaled by 50% to compensate for
angular moves responce, then the acceleration can also be scaled back by the
same factor. It does make a world of difference in your test file, though
for some reason, my system is less sensitive to this than yours.

I will try to release by Friday this week with this fix installed. I'd
appreciate any feedback from you after testing this new algorithms output..

Thanks for the bug,
Art
www.artofcnc.ca


barker806
 

I will try to release by Friday this week with this fix
installed. I'd
appreciate any feedback from you after testing this new algorithms
output..

Thanks for the bug,
Art
www.artofcnc.ca
I will test this as soon as you have the release (I have the axis on
the machine waiting....)

Thank you again
Brian