CAD CAM EDM DRO - Yahoo Group Archive

Re: stepper vs. servo - Allegro and ignoring the edges....

Posted by jmkasunich
on 2004-02-16 14:38:26 UTC
--- In CAD_CAM_EDM_DRO@yahoogroups.com, "Mariss Freimanis"
<mariss92705@y...> wrote:
> That is the point I disagree with. Though a motor may have a +/-3%
> non-accumulative tolerance, it does not mean the steps adjacent to
> the current one will vary by +/-3%. In practice they vary by much
> much less than that. The error is cyclic, i.e. over the span of a
> full revolution, a "wobble" if you will.
> Mariss
>
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, "turbulatordude"
> <davemucha@j...> wrote:
> >
> >
> >
> > As I read that, it seems they are saying that even though
> > the calculation says the current should be 98.1% of the fla,
> > the motor error is 3% and this it is not worth chasing.

I think the talk about motor error has muddied the water.
They are talking sin/cos currents. They do 16x microstepping,
so each step is 5.625 electrical degrees. So the step
currents would be:

uStep Angle Sin Cos
0 0.000 0.000 1.000
1 5.625 0.098 0.995
2 11.250 0.195 0.981
3 16.875 0.290 0.957
4 22.500 0.383 0.924
etc....

The electrical angle is arctan(sin/cos). If they
use 1.000 for the cos term for the steps closest
to zero, the result will be as follows:

uStep Sin Cos Angle Error
0 0.000 1.000 0.000 0.000
1 0.098 1.000 5.597 0.027
2 0.195 1.000 11.024 0.216
3 0.290 1.000 16.172 0.703
4 0.327 1.000 20.957 1.543

The errors are in electrical degrees. Since there are
50 sin/cos cycles per rev (200 step motor), the mechanical
error is 50 times smaller.

Those errors aren't very big for the first couple steps.
Here they are as percent of a microstep and percent of
a full step:

uStep Error Micro Full
0 0.000 0.00% 0.00%
1 0.027 0.48% 0.03%
2 0.216 3.84% 0.24%
3 0.703 12.49% 0.78%

So if Allegro wants to use 1.000 as the cos term for the
first two steps, I'm not gonna complain...

John Kasunich

Discussion Thread

plastiguy 2004-02-09 18:41:27 UTC stepper vs. servo bull2003winkle 2004-02-09 19:49:34 UTC Re: stepper vs. servo Jon Elson 2004-02-09 21:24:17 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo ballendo 2004-02-09 21:59:06 UTC Re: stepper vs. servo Albee Tang 2004-02-09 21:59:07 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Roy J. Tellason 2004-02-09 22:35:39 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-10 00:55:07 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo John Johnson 2004-02-10 05:22:09 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Peter Renolds 2004-02-10 06:01:12 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - H Bridge question Jon Elson 2004-02-10 07:47:46 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Stan Aarhus 2004-02-10 07:49:36 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo ballendo 2004-02-10 07:50:14 UTC DIY servo drive? was Re: stepper vs. servo Jon Elson 2004-02-10 08:02:47 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo bank haam 2004-02-10 09:47:15 UTC Re: [CAD_CAM_EDM_DRO] DIY servo drive? was Re: stepper vs. servo Mariss Freimanis 2004-02-10 11:36:49 UTC DIY servo drive? was Re: stepper vs. servo dchristal2 2004-02-10 13:32:47 UTC Re: stepper vs. servo ballendo 2004-02-10 16:59:46 UTC Re: stepper vs. servo ballendo 2004-02-10 17:02:13 UTC Re: stepper vs. servo ballendo 2004-02-10 17:03:03 UTC Re: stepper vs. servo Roy J. Tellason 2004-02-10 17:51:24 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Jon Elson 2004-02-10 21:23:22 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Roy J. Tellason 2004-02-10 21:42:58 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Tony Jeffree 2004-02-11 02:17:12 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-11 02:31:50 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-11 02:43:21 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Raymond Heckert 2004-02-11 19:23:21 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Robert Campbell 2004-02-11 19:40:12 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo bull2003winkle 2004-02-11 20:35:58 UTC Re: stepper vs. servo Jon Elson 2004-02-11 20:51:18 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Jon Elson 2004-02-11 21:02:29 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo ballendo 2004-02-12 09:03:44 UTC Re: stepper vs. servo ballendo 2004-02-12 09:04:03 UTC microstepping was Re: stepper vs. servo Harvey White 2004-02-12 11:44:40 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Chris Cain 2004-02-12 16:44:15 UTC RE: [CAD_CAM_EDM_DRO] microstepping was Re: stepper vs. servo JanRwl@A... 2004-02-12 20:42:04 UTC Re: [CAD_CAM_EDM_DRO] microstepping was Re: stepper vs. servo ballendo 2004-02-13 06:36:22 UTC Re: stepper vs. servo turbulatordude 2004-02-13 07:26:28 UTC Re: stepper vs. servo ballendo 2004-02-13 07:51:51 UTC microstepping was Re: stepper vs. servo Harvey White 2004-02-13 08:34:30 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-13 10:11:40 UTC Re: stepper vs. servo Jon Elson 2004-02-13 10:15:17 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-13 10:59:38 UTC Re: stepper vs. servo Jon Elson 2004-02-13 18:46:24 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo ballendo 2004-02-14 07:46:52 UTC Re: stepper vs. servo ballendo 2004-02-14 07:46:53 UTC Re: stepper vs. servo Harvey White 2004-02-14 08:43:17 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-14 12:31:32 UTC Re: stepper vs. servo ballendo 2004-02-15 11:45:06 UTC Chopper methodology was Re: stepper vs. servo ballendo 2004-02-15 11:45:07 UTC Stepper Mid band resonance Help! please... jeffalanp 2004-02-15 12:22:14 UTC Re: Stepper Mid band resonance Help! please... Mariss Freimanis 2004-02-15 13:02:29 UTC Chopper methodology was Re: stepper vs. servo Mariss Freimanis 2004-02-15 13:22:53 UTC Re: Stepper Mid band resonance Help! please... zephyrus@r... 2004-02-15 16:33:25 UTC Re: Chopper methodology was Re: stepper vs. servo Mariss Freimanis 2004-02-15 17:05:54 UTC Chopper methodology was Re: stepper vs. servo turbulatordude 2004-02-15 22:20:30 UTC Re: stepper vs. servo - hundreds of microsteps turbulatordude 2004-02-15 22:40:08 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Jon Elson 2004-02-16 09:39:54 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - hundreds of microsteps Mariss Freimanis 2004-02-16 10:48:05 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... ballendo 2004-02-16 10:52:22 UTC Chopper methodology was Re: stepper vs. servo jmkasunich 2004-02-16 14:07:51 UTC Re: Stepper Mid band resonance Help! please... Mariss Freimanis 2004-02-16 14:22:28 UTC Re: Stepper Mid band resonance Help! please... jmkasunich 2004-02-16 14:38:26 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... jmkasunich 2004-02-16 14:41:11 UTC Re: Stepper Mid band resonance Help! please... ballendo 2004-02-16 15:25:25 UTC Re: Stepper Mid band resonance Help! please... Jon Elson 2004-02-16 22:01:46 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - Allegro and ignoring the edges.... Mariss Freimanis 2004-02-17 07:14:02 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... turbulatordude 2004-02-17 08:09:24 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Mariss Freimanis 2004-02-17 09:27:33 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Jon Elson 2004-02-17 19:28:16 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - Allegro and ignoring the edges....