Re: [CAD_CAM_EDM_DRO] PC based CNC system architecture
Posted by
Mike Gann
on 2000-12-08 16:39:49 UTC
Jeff -
I think what you say below is correct. I also think
this is exactly the thing Jon Elson is working on.
Here is a quote from a post Jon previously made:
(Jon - I don't mean to throw you in the middle of this)
******************************
What I am working on is a 4-channel programmable pulse generator
that would actually send the step and direction pulses to the stepper
driver. Each channel would be given a velocity value and a direction.
It would also generate quadrature pulses that followed the step and
direction signals, and could be used to drive old phase-drive type
stepper drivers, as well as be counted by an encoder counter, for
open-loop systems. For closed loop, the encoder counters would
read actual encoders on the motors, or on the machine itself.
I am running EMC with a 100 MHz Pentium, and updating the
servo loop at a 1 KHz rate, with plenty of CPU power to spare.
This type of device would look about the same to the CPU,
encoder values are read in, servo calculations are done, and a new
velocity command is written out.
A 24-bit counter/comparator circuit running at 10 MHz (100 nS
resolution) could output up to 5 Million steps / second (although the
jump from 3.333 to 5 million is obviously too big a jump).
But, reasonable step rates would be well in excess of 100,000/sec,
which might be needed for people using high microstepping
division ratios. And, the timing resolution there would still be
100 nS, giving extremely fine velocity control, no large jumps
in velocity, and smooth acceleration and running at any sped
desired.
The low end is one step every 1.6 seconds. The code could either
stop the counter if no steps are needed, or just let it bump every
1.6 seconds, first one way, then the other. This would cause
some VERY slow and small hunting, and might not be objectionable.
If it is, the code could shut off the pulses when the commanded
velocity is below some threshold, like .001" / sec.
Jon
***************************************
It sounds like this "black box" is already being done and drivers
for EMC are also in the works, from what I have read on the EMC List.
Jeff Barlow wrote:
I think what you say below is correct. I also think
this is exactly the thing Jon Elson is working on.
Here is a quote from a post Jon previously made:
(Jon - I don't mean to throw you in the middle of this)
******************************
What I am working on is a 4-channel programmable pulse generator
that would actually send the step and direction pulses to the stepper
driver. Each channel would be given a velocity value and a direction.
It would also generate quadrature pulses that followed the step and
direction signals, and could be used to drive old phase-drive type
stepper drivers, as well as be counted by an encoder counter, for
open-loop systems. For closed loop, the encoder counters would
read actual encoders on the motors, or on the machine itself.
I am running EMC with a 100 MHz Pentium, and updating the
servo loop at a 1 KHz rate, with plenty of CPU power to spare.
This type of device would look about the same to the CPU,
encoder values are read in, servo calculations are done, and a new
velocity command is written out.
A 24-bit counter/comparator circuit running at 10 MHz (100 nS
resolution) could output up to 5 Million steps / second (although the
jump from 3.333 to 5 million is obviously too big a jump).
But, reasonable step rates would be well in excess of 100,000/sec,
which might be needed for people using high microstepping
division ratios. And, the timing resolution there would still be
100 nS, giving extremely fine velocity control, no large jumps
in velocity, and smooth acceleration and running at any sped
desired.
The low end is one step every 1.6 seconds. The code could either
stop the counter if no steps are needed, or just let it bump every
1.6 seconds, first one way, then the other. This would cause
some VERY slow and small hunting, and might not be objectionable.
If it is, the code could shut off the pulses when the commanded
velocity is below some threshold, like .001" / sec.
Jon
***************************************
It sounds like this "black box" is already being done and drivers
for EMC are also in the works, from what I have read on the EMC List.
Jeff Barlow wrote:
>(SNIP)
> Hi again,
> We seem to be in general agrement that hooking motor drivers directly to
> the PC printer port doesn't really cut it. We also seem to agree that
> there is a missing piece of hardware that would go between the PC and
> the motor drivers. It is, in my view, the exact form that this "black
> box" might take that is the primary subject of debate, here.
>
> It is tempting, for many of us, to try to go off by ourself and design
> this "black box". If we do, we will, most likely, get tripped up by the
> usual tendency to view a task in terms of the tools with which we are
> most comfortable. I'm trying to resist this temptation.
Discussion Thread
Jeff Barlow
2000-12-08 16:14:56 UTC
PC based CNC system architecture
Mike Gann
2000-12-08 16:39:49 UTC
Re: [CAD_CAM_EDM_DRO] PC based CNC system architecture
Jeff Barlow
2000-12-08 17:32:27 UTC
Re: [CAD_CAM_EDM_DRO] PC based CNC system architecture
Wally K
2000-12-08 17:41:26 UTC
Re: PC based CNC system architecture
Mariss Freimanis
2000-12-08 18:30:56 UTC
Re: PC based CNC system architecture
Mike Gann
2000-12-08 20:14:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Tim Goldstein
2000-12-08 20:18:49 UTC
RE: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-08 23:08:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Matt Shaver
2000-12-08 23:38:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Wally K
2000-12-09 03:01:46 UTC
Re: PC based CNC system architecture
Steve Stallings
2000-12-09 05:39:23 UTC
RE: PC based CNC system architecture
John Beidl
2000-12-09 07:11:05 UTC
Re: [CAD_CAM_EDM_DRO] RE: PC based CNC system architecture
Smoke
2000-12-09 08:30:19 UTC
Re: [CAD_CAM_EDM_DRO] RE: PC based CNC system architecture
cnc002@a...
2000-12-09 17:47:06 UTC
Re: [CAD_CAM_EDM_DRO] PC based CNC system architecture
Jon Elson
2000-12-09 22:41:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-09 22:59:44 UTC
Re: [CAD_CAM_EDM_DRO] RE: PC based CNC system architecture
Matt Shaver
2000-12-10 03:25:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
John Beidl
2000-12-10 04:42:15 UTC
Re: [CAD_CAM_EDM_DRO] RE: PC based CNC system architecture
Wally K
2000-12-10 10:30:11 UTC
Re: PC based CNC system architecture
Wally K
2000-12-10 10:50:22 UTC
Re: PC based CNC system architecture
Tim Goldstein
2000-12-10 11:15:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Matt Shaver
2000-12-10 17:27:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Wally K
2000-12-10 19:37:11 UTC
Re: PC based CNC system architecture
ballendo@y...
2000-12-10 21:27:09 UTC
Re: PC based CNC system architecture
Matt Shaver
2000-12-10 21:45:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-10 22:28:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-10 23:01:15 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-11 00:20:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-11 00:23:26 UTC
Re: [CAD_CAM_EDM_DRO] RE: PC based CNC system architecture
Wally K
2000-12-11 02:15:37 UTC
Re: PC based CNC system architecture
Wally K
2000-12-11 02:38:34 UTC
Re: PC based CNC system architecture
ballendo@y...
2000-12-11 03:16:28 UTC
re: Re: PC based CNC system architecture
Wally K
2000-12-11 03:28:44 UTC
Re: PC based CNC system architecture
Wally K
2000-12-11 04:27:45 UTC
Re: PC based CNC system architecture
Jon Elson
2000-12-11 13:06:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Wally K
2000-12-11 14:02:30 UTC
Re: PC based CNC system architecture
Jon Elson
2000-12-11 16:14:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Wally K
2000-12-11 20:27:00 UTC
Re: PC based CNC system architecture
Jon Elson
2000-12-11 22:03:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-11 22:38:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Matt Shaver
2000-12-11 22:40:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
dave engvall
2000-12-12 08:44:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Alan Marconett KM6VV
2000-12-12 10:39:05 UTC
Re: PC based CNC system architecture
Greg Nuspel
2000-12-12 10:40:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
cnc002@a...
2000-12-12 13:13:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture
Jon Elson
2000-12-12 16:30:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC based CNC system architecture