Re: mill threading, Acceleration, Axis
Posted by
Alan Marconett KM6VV
on 2000-11-16 00:21:49 UTC
Dave, Ballendo, Jon and the list,
Sigmoid? is that what you call the curve? I think mine looks like
that. I have a table of delays that correspond to a table of step
rates. I just walk the rate table and calc how many steps to let go by
before bumping up to the next rate in the table.
I pre-calc the deceleration point (I know the number of acceleration
steps to go from starting rate to ending rate for a trapezoid ramp),
continually "watch" for the next point to bump up, after the final rate
is reached, no bumping until the deceleration point, where I start
looking for decel points. Triangular acceleration, just start decel at
the midpoint.
OK, it's not perfect yet, but it's working! Only doing single axis move
for the rotary table or a linear axis, (not that I won't keep expanding
the code!).
I think MY shop processor IS computationally challenged! Certainly the
little hand held I want to use is!
Alan
dave engvall wrote:
Sigmoid? is that what you call the curve? I think mine looks like
that. I have a table of delays that correspond to a table of step
rates. I just walk the rate table and calc how many steps to let go by
before bumping up to the next rate in the table.
I pre-calc the deceleration point (I know the number of acceleration
steps to go from starting rate to ending rate for a trapezoid ramp),
continually "watch" for the next point to bump up, after the final rate
is reached, no bumping until the deceleration point, where I start
looking for decel points. Triangular acceleration, just start decel at
the midpoint.
OK, it's not perfect yet, but it's working! Only doing single axis move
for the rotary table or a linear axis, (not that I won't keep expanding
the code!).
I think MY shop processor IS computationally challenged! Certainly the
little hand held I want to use is!
Alan
dave engvall wrote:
>
> ballendo@... wrote:
>
> > Alan,
> >
> > Jon already gave you some good advice. I'll add in a different
> > direction...
> >
> > The "best" acceleration "curve" for a stepper motor is generally
> > considered to be the "S" curve. This is where we start acceleration
> > slowly, then accelerate the acceleration (yep, read that one twice!),
> > and then do the reverse to slowly move into the desired step rate.
> >
> > It's two exponential curves back-to-back. The benefit here is that
> > the acceleration RATE is low at the beginning and end of
> > the "ramp"(curve), where the inertia of the load is against us. And
> > the acceleration RATE is HIGH in the "middle" of the ramp, so we get
> > to our desired rate as quickly as possible.
>
> Do you gain anything by tableizing the sigmoid curve in normalized form and just scaling it....or are the processors today so fast
> they are not challanged?
>
> Dave
Discussion Thread
Alan Marconett KM6VV
2000-11-15 03:09:19 UTC
Re: mill threading, Acceleration, Axis
Jon Elson
2000-11-15 12:20:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-15 13:27:48 UTC
Re: mill threading, Acceleration, Axis
Jon Elson
2000-11-15 14:17:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
ballendo@y...
2000-11-15 16:52:24 UTC
re:Re: mill threading, Acceleration, Axis
dave engvall
2000-11-15 20:58:29 UTC
Re: [CAD_CAM_EDM_DRO] re:Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 00:21:49 UTC
Re: mill threading, Acceleration, Axis
dave engvall
2000-11-16 09:07:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 11:48:18 UTC
Re: mill threading, Acceleration, Axis
Smoke
2000-11-16 11:57:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
dave engvall
2000-11-16 12:04:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 12:28:09 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 12:47:54 UTC
Re: mill threading, Acceleration, Axis
Mariss Freimanis
2000-11-16 13:02:00 UTC
Re: mill threading, Acceleration, Axis
dave engvall
2000-11-16 15:11:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 17:09:06 UTC
Re: mill threading, Acceleration, Axis
Mariss Freimanis
2000-11-16 18:00:45 UTC
Re: mill threading, Acceleration, Axis
Alan Marconett KM6VV
2000-11-16 19:14:41 UTC
Re: mill threading, Acceleration, Axis
ballendo@y...
2000-11-17 23:42:49 UTC
re:Re: mill threading, Acceleration, Axis
Roman Black
2001-01-16 23:32:34 UTC
Re: mill threading, Acceleration, Axis
Roman Black
2001-01-16 23:41:46 UTC
Re: mill threading, Acceleration, Axis