Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Posted by
Jon Elson
on 2000-09-02 23:16:40 UTC
Dennis Fielder wrote:
It
is connected to the 2nd IDE port, the hard drive is on the 1st IDE port.
I pulled the memory card out once while the system was powered on, and
it trashed my hard drive. I had to re-install windows to repair the
damage!
This sounded pretty scary for using devices outside the box, or
software/
hardware development.
absolutely
nothing to do with threading. The machine makes exactly the same move,
whether it is threading a 1/4" part, or a 4" part. Are you worried
about
surface finish? Maybe the surface finish would get worse as the
diameter
increased on a stepper system, but it probably has more to do with
stepper resolution on the Z axis than the encoder resolution on the
spindle!
OK, let's do a calculation. Since you mention inches above, I'll use
those units, even though your sig indicates a UK location.
Let's say we want a thread of 8 TPI (it seems a coarse thread would
show more 'stairsteps' than a fine one). Now, with a spindle encoder
of 200 cycles/rev, that gives 800 (real, not pseudo) counts/revolution.
We need to advance 1/8 of an inch for a count of 800 on the spindle.
If the Z axis leadscrew was an 8 TPI (common on a manual Imperial
lathe), that would be one full rotation. For a stepper system with 200
steps/rev, directly driving the screw, you need 200 steps for every 800
on the spindle. So, for every 4 encoder counts, you get one Z axis
step. Now, this system has a Z axis step resolution of 8 x 200 = 1600,
or .000625", which is moderate. For smoother results, you could
put a 2:1 or 4:1 belt reduction between the stepper and the leadscrew.
What I'm trying to point out here is that the resolution of the Z axis
(stepper or servo/encoder) will be dominant most of the time, not the
spindle encoder. Second, the update rate of the CNC system may
become dominant at high speeds. Lets say you are turning small
parts at 1800 RPM, or 30 Rev/sec. With a 200 cycle/rev spindle
encoder, that is 30 x 800 counts/sec, or 24,000 counts/sec.
With a CNC update rate of 1 KHz, it is finding that the spindle
has advanced 24 counts every time it looks! OK, nobody threads
at 1800 RPM, of course. But, how slow do you have to go before
the CNC is ready to see each Z axis stepper pulse? Well, in the
original
8 TPI example, the Z axis stepped once every 4 encoder counts.
At a 1 KHz rate again, that would need a spindle encoder at 4000 counst
per sec, or 1000 cycles of the encoder disc/sec. That comes to
1000/200,
or 5 Rev/sec. which is only 300 RPM. IF you go faster than this, a
1 KHz update rate can't send the step pulses smoothly, and will
have to bunch them.
Finally, of course, the machine is not going to be able to follow the
steps precisely. It will end up smoothing the motions out due to
inertia,
stick-slip friction, flexing of mechanical parts, etc.
And, if it is a servo system, the ability of the servo motor to continue
at
constant velocity between servo updates from the CNC control will make
it all smooth no matter what the encoder resolution.
Jon
> Three queries which I'm sure someone will know about...I have an IDE pc-card reader for getting images off a digital camera.
>
> 1) Has anyone considered using the EIDE interfaces on the PC boards to
> interface out to the real
> world? Seems it's a very simple interface to use, with 8 off 8/16 bit
> read writable addresses?
> There's usually at least one spare on a low end machine, and it's easy
> to get 2 extra ports on an
> add-in card.
It
is connected to the 2nd IDE port, the hard drive is on the 1st IDE port.
I pulled the memory card out once while the system was powered on, and
it trashed my hard drive. I had to re-install windows to repair the
damage!
This sounded pretty scary for using devices outside the box, or
software/
hardware development.
> 3) re encoders on lathes to enable CNC threading, I see theHuh? I don't follow your logic at all. First, part diameter has
> Microkinetics units are 200 or 400 per
> rev, with pseudo-800 using all edges. Say with 1 thou periphery
> movement then 800 only allows
> 0.8/pi, or only a 1/4 inch diameter item. Seems very small to me,
> where have I gone wrong? I've
> seen encoders with 5000 steps, which seems more likely to be needed.
absolutely
nothing to do with threading. The machine makes exactly the same move,
whether it is threading a 1/4" part, or a 4" part. Are you worried
about
surface finish? Maybe the surface finish would get worse as the
diameter
increased on a stepper system, but it probably has more to do with
stepper resolution on the Z axis than the encoder resolution on the
spindle!
OK, let's do a calculation. Since you mention inches above, I'll use
those units, even though your sig indicates a UK location.
Let's say we want a thread of 8 TPI (it seems a coarse thread would
show more 'stairsteps' than a fine one). Now, with a spindle encoder
of 200 cycles/rev, that gives 800 (real, not pseudo) counts/revolution.
We need to advance 1/8 of an inch for a count of 800 on the spindle.
If the Z axis leadscrew was an 8 TPI (common on a manual Imperial
lathe), that would be one full rotation. For a stepper system with 200
steps/rev, directly driving the screw, you need 200 steps for every 800
on the spindle. So, for every 4 encoder counts, you get one Z axis
step. Now, this system has a Z axis step resolution of 8 x 200 = 1600,
or .000625", which is moderate. For smoother results, you could
put a 2:1 or 4:1 belt reduction between the stepper and the leadscrew.
What I'm trying to point out here is that the resolution of the Z axis
(stepper or servo/encoder) will be dominant most of the time, not the
spindle encoder. Second, the update rate of the CNC system may
become dominant at high speeds. Lets say you are turning small
parts at 1800 RPM, or 30 Rev/sec. With a 200 cycle/rev spindle
encoder, that is 30 x 800 counts/sec, or 24,000 counts/sec.
With a CNC update rate of 1 KHz, it is finding that the spindle
has advanced 24 counts every time it looks! OK, nobody threads
at 1800 RPM, of course. But, how slow do you have to go before
the CNC is ready to see each Z axis stepper pulse? Well, in the
original
8 TPI example, the Z axis stepped once every 4 encoder counts.
At a 1 KHz rate again, that would need a spindle encoder at 4000 counst
per sec, or 1000 cycles of the encoder disc/sec. That comes to
1000/200,
or 5 Rev/sec. which is only 300 RPM. IF you go faster than this, a
1 KHz update rate can't send the step pulses smoothly, and will
have to bunch them.
Finally, of course, the machine is not going to be able to follow the
steps precisely. It will end up smoothing the motions out due to
inertia,
stick-slip friction, flexing of mechanical parts, etc.
And, if it is a servo system, the ability of the servo motor to continue
at
constant velocity between servo updates from the CNC control will make
it all smooth no matter what the encoder resolution.
Jon
Discussion Thread
William Scalione
2000-09-01 16:59:38 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Jon Elson
2000-09-01 22:35:05 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
bfp
2000-09-02 09:28:17 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Jon Anderson
2000-09-02 11:09:29 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Dennis Fielder
2000-09-02 11:39:11 UTC
PC ports, Encoder resolution and EDM PSU info
Alan Marconett KM6VV
2000-09-02 12:14:00 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Tim Goldstein
2000-09-02 15:04:06 UTC
RE: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Paul Corner
2000-09-02 16:12:25 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
William Scalione
2000-09-02 17:10:16 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Jon Elson
2000-09-02 23:16:40 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Jon Elson
2000-09-02 23:33:00 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Ian Wright
2000-09-03 02:55:47 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
dave engvall
2000-09-04 10:44:14 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Dennis Fielder
2000-09-04 15:14:46 UTC
RE: [CAD_CAM_EDM_DRO] Spindle Encoder resolution
Jon Elson
2000-09-04 23:20:07 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Jon Elson
2000-09-04 23:41:07 UTC
Re: [CAD_CAM_EDM_DRO] Spindle Encoder resolution
diazden
2000-09-05 17:32:11 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Robert Grauman
2000-09-05 19:25:26 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Jon Elson
2000-09-05 21:56:04 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Ian Wright
2000-09-06 01:13:47 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Ron Ginger
2000-09-06 06:09:08 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Ian Wright
2000-09-06 12:46:26 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
diazden
2000-09-06 16:25:24 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
diazden
2000-09-06 16:31:58 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Robert Grauman
2000-09-06 20:03:52 UTC
Re: [CAD_CAM_EDM_DRO] PC ports, Encoder resolution and EDM PSU info
Kenn Danner
2000-09-15 10:43:51 UTC
Re: [CAD_CAM_EDM_DRO] EMC in 10 minutes???
Lee Studley
2000-09-27 10:20:35 UTC
Re: EMC in 10 minutes??? Any updates?
Dan Falck
2000-09-27 16:01:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Lee Studley
2000-09-27 17:16:49 UTC
Re: EMC in 10 minutes??? Any updates?
PMeinhard@a...
2000-09-27 23:25:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Dan Mauch
2000-09-28 07:30:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Dan Eaton
2000-09-28 12:03:06 UTC
Re: EMC in 10 minutes??? Any updates?
Matt Shaver
2000-09-28 12:10:20 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
James Owens
2000-09-28 19:03:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Ian Wright
2000-09-29 02:27:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
James Owens
2000-09-29 12:07:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Lee & Chris studley
2000-10-07 10:45:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Dan Falck
2000-10-07 11:51:51 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Lee Studley
2000-10-07 12:16:19 UTC
Re: EMC in 10 minutes??? Any updates?
Anne Ogborn
2000-10-08 12:41:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
wanliker@a...
2000-10-08 17:49:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC in 10 minutes??? Any updates?
Bob Bachman
2000-10-08 19:15:10 UTC
[CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Matt Shaver
2000-10-08 20:53:06 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
bfp
2000-10-09 03:22:34 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
William Scalione
2000-10-09 08:59:48 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Matt Shaver
2000-10-09 09:41:52 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Ian Wright
2000-10-12 01:34:42 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Ray
2000-10-12 09:31:25 UTC
Re: Re: EMC in 10 minutes + 6 hours + ?
bfp
2000-10-12 11:46:32 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
bfp
2000-10-12 12:25:07 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Ian Wright
2000-10-13 01:17:54 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Bob Bachman
2000-10-13 19:17:19 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Matt Shaver
2000-10-13 20:34:31 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?
Ian Wright
2000-10-14 02:21:14 UTC
Re: [CAD_CAM_EDM_DRO]EMC in 10 minutes + 6 hours + ?