Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Posted by
Jon Elson
on 2010-12-16 19:38:54 UTC
Phil@Yahoo wrote:
applications, this works
fine. I make hardware that has encoder counters that update at 1 MHz or
better, so that
you are sure not to miss any counts. I have motion interfaces that
control analog (+/-10 V)
servo amps, PWM (digital)-input servo amps and step/direction input
drives. All of these
can read encoder position and report it to the computer. These boards
also solve the
limited number of pins problem. For instance, the Universal Stepper
Controller and Universal
PWM Controller boards have 16 digital inputs (one dedicated to E-stop),
plus 8 Solid State
Relays for output, plus the encoder inputs (with index pulse handling),
motion command
outputs, and an extra output usually used for spindle speed control.
This is all performed
through ONE parallel port connection. The IEEE-1284 protocol (usually
called EPP mode)
allows you to address up to 256 device registers through the parallel
port. Input and output
functions are about 600-800 ns per byte transferred in EPP mode. This
makes it possible
to easily control 4- or 8-axes with a 1 or 2 KHz servo update cycle.
The analog servo interface is a set of boards that plug into a
motherboard, so it is easy to
add additional boards as needed to get as much I/O as your particular
machine needs.
The USC and UPC boards mentioned above put all their functions on one
board, but they
can be "daisy-chained" on the same parallel port to add capacity.
Without hardware assist, you would want to limit encoder counting to
about 40 KHz, and you
always want to keep a conservative reserve, otherwise there will be a
loss of position and
velocity information if the machine aver moves too fast, causing a servo
runaway.
Jon
> This is a question mainly for Jon Elson, being the EMC2 guru-The PC CAN read the encoder inputs fairly quickly, and in some
>
> You mentioned in a recent post that EMC2 can run the servo loop in the PC,
> which I presume means the PC is reading the encoder outputs. My question is:
> how can the PC read the encoder fast enough? I know there are some fairly
> significant delays in the parallel port speed, at least on output. Maybe
> that's not an issue on input? Also, where do you get enough inputs?
>
>
applications, this works
fine. I make hardware that has encoder counters that update at 1 MHz or
better, so that
you are sure not to miss any counts. I have motion interfaces that
control analog (+/-10 V)
servo amps, PWM (digital)-input servo amps and step/direction input
drives. All of these
can read encoder position and report it to the computer. These boards
also solve the
limited number of pins problem. For instance, the Universal Stepper
Controller and Universal
PWM Controller boards have 16 digital inputs (one dedicated to E-stop),
plus 8 Solid State
Relays for output, plus the encoder inputs (with index pulse handling),
motion command
outputs, and an extra output usually used for spindle speed control.
This is all performed
through ONE parallel port connection. The IEEE-1284 protocol (usually
called EPP mode)
allows you to address up to 256 device registers through the parallel
port. Input and output
functions are about 600-800 ns per byte transferred in EPP mode. This
makes it possible
to easily control 4- or 8-axes with a 1 or 2 KHz servo update cycle.
The analog servo interface is a set of boards that plug into a
motherboard, so it is easy to
add additional boards as needed to get as much I/O as your particular
machine needs.
The USC and UPC boards mentioned above put all their functions on one
board, but they
can be "daisy-chained" on the same parallel port to add capacity.
Without hardware assist, you would want to limit encoder counting to
about 40 KHz, and you
always want to keep a conservative reserve, otherwise there will be a
loss of position and
velocity information if the machine aver moves too fast, causing a servo
runaway.
Jon
Discussion Thread
Phil@Y...
2010-12-16 17:04:37 UTC
EMC2 Servo Loop
Stephen Wille Padnos
2010-12-16 19:11:24 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-16 19:38:54 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-16 19:41:18 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Phil@Y...
2010-12-17 10:09:25 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Stephen Wille Padnos
2010-12-17 11:23:18 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
samcoinc2001
2010-12-17 11:24:38 UTC
Re: EMC2 Servo Loop
Jon Elson
2010-12-17 19:53:36 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Phil@Y...
2010-12-18 10:46:27 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Michael Fagan
2010-12-18 11:23:15 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-18 14:20:09 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
Jon Elson
2010-12-18 14:22:11 UTC
Re: [CAD_CAM_EDM_DRO] EMC2 Servo Loop
timgoldstein
2010-12-22 05:56:24 UTC
Servo hardware Was: EMC2 Servo Loop
Jon Elson
2010-12-22 08:38:25 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
Jim Register
2010-12-22 11:13:44 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
Jon Elson
2010-12-22 19:23:17 UTC
Re: [CAD_CAM_EDM_DRO] Servo hardware Was: EMC2 Servo Loop
timgoldstein
2010-12-28 09:46:56 UTC
Re: Servo hardware
Jon Elson
2010-12-28 10:27:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
danmauch
2010-12-28 11:29:39 UTC
Re: Servo hardware
grd750
2010-12-28 12:52:28 UTC
Re: Servo hardware
Dan Mauch
2010-12-28 14:11:20 UTC
RE: [CAD_CAM_EDM_DRO] Re: Servo hardware
danmauch
2010-12-28 14:12:11 UTC
Re: Servo hardware
caudlet
2010-12-28 15:15:31 UTC
Re: Servo hardware
Jon Elson
2010-12-28 20:46:03 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
timgoldstein
2010-12-28 21:20:21 UTC
Re: Servo hardware
Steve Blackmore
2010-12-28 23:24:17 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
Jeffrey T. Birt
2010-12-29 07:34:20 UTC
RE: [CAD_CAM_EDM_DRO] Re: Servo hardware
Jon Elson
2010-12-29 09:09:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
imserv1
2010-12-29 13:14:17 UTC
Re: Servo hardware
grd750
2010-12-29 14:12:33 UTC
Re: Servo hardware
Peter Homann
2010-12-29 15:52:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Servo hardware
imserv1
2010-12-29 17:51:40 UTC
Re: Servo hardware
grd750
2010-12-29 18:27:59 UTC
Re: Servo hardware
grd750
2010-12-29 19:36:44 UTC
Re: Servo hardware
timgoldstein
2010-12-30 06:36:28 UTC
Re: Servo hardware