CAD CAM EDM DRO - Yahoo Group Archive

Re: Low cost Servo Controller

Posted by Tom Kulaga
on 1999-09-16 17:06:29 UTC
OK, you guys have managed to drag me out of the woodwork on this one.
Due to numerous Real Life issues, I've been very swamped, but I really
want to chime in here, because this is the group project that I've been
waiting for.

I'm just going to hit the key points that I can help with or that I am
curious about.

Most of you have seen my work on the PC-based DRO, and those of you who
haven't can see it at:

http://www.mcs.net/~kulaga/dro.html

This is the same card that Dan Mauch is selling.

I think that it could serve as a good starting point for a servo
controller card. I'd knock it back down to 2 axis, add 2 DAC outputs,
a few digital I/O channels for limits, home, etc, and generally add alot
more in the way of buffering and protection. I know that we sort of
discussed this here on the list some time ago, but I haven't seen very
great enthusiasm, and being pressed for time myself... you know the
story. Anyway, there was some interest from Fred regarding setting up
EMC to work with my card. Each card would support 2 axis, and users
requiring more could just add cards in a modular fashion. It would be
a little demanding on ISA slots for more complex machines, but any PC
controlling something that complex would be dedicated and probably not
running sound cards and such.

I was also thinking that we could dovetail this project with all the
talk about handwheels as controllers. Add one of my 4-axis cards for
reading the handwheels, strip EMC down to just the PID loop stuff, add a
little code to read the handwheels and feed commands to the servos, and
you'd have a nice manual interface for your CNC machine. I don't know
nearly enough about Linux, programming, or the Real Time patch to do any
of this myself, but I'm sure someone could figure it out. It wouldn't
be as clean a solution as running it all inside EMC, but it would be
plenty useful.

The debate about linear versus rotary encoders is one that I thought I
could add something of interest on. Now, any backlash in the system is
going to be annoying, and sometimes more than annoying. However, if you
use linear encoders for feedback, that backlash will kill servos as a
usable solution. For a PID loop to work right, the feedback to the loop
*must* be exactly what the motor is doing. I have, however, seen this
sort of thing done, and it resulted in a stable system. The trick was
to use both rotary and linear encoders. The rotary, mounted directly
to the motor shaft, would provide feedback for only the Derivative
portion of the PID loop, with Integral and Proportional coming from the
linear. It is not a perfect solution, but it does work. Still,
backlash should be kept very very small, or the system is impossible to
tune. Hands down, the best solution is zero-backlash ballscrews. It
may be more expensive to retrofit, but the headaches and added cost of
reading multiple encoders per axis is *far* more expensive and
difficult, IMHO.

When it comes to the amps, I'm not much of a help, but can anyone say
whether it is possible to convert an analog signal to a PWM signal? It
would be impossible for EMC to handle a software generated PWM signal,
and the only way I know how to do it is by using a dedicated motion
controller chip which is set up to output PWM. It's gotta be possible
to convert one signal to the other, right? Especially given that we
can decide here and now what level the signals will be (industry
standards of +/-10VDC for analog, and 0-5VDC for PWM).

OK, my brain is feeling pretty tapped right now, so I'll cut this off.
I'll be monitoring the list daily, and I'll try to post if I've got any
other thoughts. I know there was something else I wanted to say, but I
can't seem to remember what it was.

-Tom Kulaga

Discussion Thread

David Howland 1999-09-10 12:24:44 UTC Low cost Servo Controller PTENGIN@a... 1999-09-10 15:48:31 UTC Re: Low cost Servo Controller David Howland 1999-09-10 17:07:57 UTC RE: Low cost Servo Controller Andy Olney 1999-09-10 19:34:45 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-10 21:19:13 UTC Re: Low cost Servo Controller Jon Elson 1999-09-12 22:42:24 UTC Re: Low cost Servo Controller David Howland 1999-09-13 13:34:08 UTC RE: Low cost Servo Controller Jon Elson 1999-09-13 14:49:40 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-13 15:26:10 UTC Re: Low cost Servo Controller Mo 1999-09-13 14:31:40 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-13 16:08:55 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-13 18:09:21 UTC Re: Low cost Servo Controller PTENGIN@a... 1999-09-13 16:36:02 UTC Re: Low cost Servo Controller David Howland 1999-09-13 17:41:39 UTC RE: Low cost Servo Controller CG 1999-09-13 18:06:05 UTC RE: Low cost Servo Controller Dan Falck 1999-09-13 19:00:45 UTC RE: Low cost Servo Controller PTENGIN@a... 1999-09-13 21:44:43 UTC Re: Low cost Servo Controller Jon Elson 1999-09-13 22:52:12 UTC Re: Low cost Servo Controller Jon Elson 1999-09-13 23:52:43 UTC Re: Low cost Servo Controller David Howland 1999-09-14 09:03:57 UTC RE: Low cost Servo Controller Kirk W. Fraser 1999-09-14 10:00:49 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-14 10:06:39 UTC Re: Low cost Servo Controller George Potter 1999-09-14 10:41:57 UTC Re: Low cost Servo Controller David Howland 1999-09-14 11:04:16 UTC RE: Low cost Servo Controller David Howland 1999-09-14 11:44:55 UTC RE: Re: Low cost Servo Controller Bertho Boman 1999-09-14 12:21:12 UTC Low cost Servo Controller Matt Shaver 1999-09-14 12:42:53 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 12:58:25 UTC Re: Low cost Servo Controller David Howland 1999-09-14 13:01:16 UTC RE: Low cost Servo Controller Bertho Boman 1999-09-14 12:53:19 UTC Low cost Servo Controller Bertho Boman 1999-09-14 13:05:48 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-14 13:20:37 UTC Re: Low cost Servo Controller David Howland 1999-09-14 15:26:19 UTC RE: Low cost Servo Controller Steve Carlisle 1999-09-14 16:43:25 UTC Re: Low cost Servo Controller David Howland 1999-09-14 15:31:48 UTC RE: Low cost Servo Controller Ian Wright 1999-09-14 15:42:11 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 16:11:54 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 16:20:15 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-14 17:40:37 UTC Re: Low cost Servo Controller PTENGIN@x... 1999-09-14 16:32:29 UTC Re: Low cost Servo Controller PTENGIN@x... 1999-09-14 16:34:15 UTC Re: Low cost Servo Controller PTENGIN@x... 1999-09-14 16:36:36 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-14 18:03:13 UTC Re: Low cost Servo Controller garfield@x... 1999-09-14 18:39:50 UTC Re: Low cost Servo Controller Dan Falck 1999-09-14 18:10:27 UTC RE: Low cost Servo Controller Bertho Boman 1999-09-14 19:09:34 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 23:07:45 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 23:16:59 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 23:21:04 UTC Re: Low cost Servo Controller Jon Elson 1999-09-14 23:42:00 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-14 23:36:26 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-15 03:54:15 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-15 04:00:36 UTC Re: Low cost Servo Controller Ray Henry 1999-09-15 06:19:49 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-15 07:49:52 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-15 07:52:54 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-15 08:16:04 UTC Re: Re: Low cost Servo Controller David Howland 1999-09-15 10:11:41 UTC RE: Low cost Servo Controller Jon Elson 1999-09-15 13:35:35 UTC Re: Re: Low cost Servo Controller F. de Beer 1999-09-15 14:52:43 UTC Re: Low cost Servo Controller Jon Elson 1999-09-15 15:23:54 UTC Re: Low cost Servo Controller CG 1999-09-16 10:02:58 UTC RE: Low cost Servo Controller Jon Elson 1999-09-16 15:39:09 UTC Re: Low cost Servo Controller Tom Kulaga 1999-09-16 17:06:29 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-16 19:40:10 UTC Re: Low cost Servo Controller Jon Elson 1999-09-16 22:40:26 UTC Re: Re: Low cost Servo Controller Dean Franks 1999-09-17 00:32:44 UTC Re: Re: Low cost Servo Controller Bertho Boman 1999-09-17 04:43:03 UTC Re: Low cost Servo Controller Darrell Gehlsen 1999-09-17 22:44:49 UTC Re: Low cost Servo Controller CG 1999-09-18 08:28:21 UTC RE: Low cost Servo Controller Mike Gann 1999-09-18 09:47:15 UTC Re: Low cost Servo Controller Dean Franks 1999-09-18 12:40:43 UTC Re: Low cost Servo Controller CG 1999-09-18 14:23:16 UTC RE: Low cost Servo Controller Jon Elson 1999-09-18 21:03:37 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-18 22:38:48 UTC Re: Low cost Servo Controller Jon Elson 1999-09-18 21:40:59 UTC Re: Low cost Servo Controller Matt Shaver 1999-09-18 22:05:11 UTC Re: Low cost Servo Controller Dean Franks 1999-09-18 23:09:04 UTC Re: Low cost Servo Controller John Craddock 1999-09-19 04:28:15 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-19 04:27:59 UTC Re: Low cost Servo Controller Pete Dunster 1999-09-19 05:48:20 UTC Re: Low cost Servo Controller Les Watts 1999-09-19 07:32:37 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-19 09:28:21 UTC Re: Low cost Servo Controller Steve Carlisle 1999-09-19 09:38:53 UTC Re: Low cost Servo Controller Dean Franks 1999-09-19 11:21:32 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-19 13:28:28 UTC Re: Low cost Servo Controller Jon Elson 1999-09-19 21:49:09 UTC Re: Low cost Servo Controller Jon Elson 1999-09-19 22:05:46 UTC Re: Low cost Servo Controller Jon Elson 1999-09-19 22:25:23 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-20 04:22:28 UTC Re: Low cost Servo Controller Leslie Watts 1999-09-20 12:47:55 UTC Re: Low cost Servo Controller Leslie Watts 1999-09-20 12:59:48 UTC Re: Low cost Servo Controller PTENGIN@x... 1999-09-20 13:55:27 UTC Re: Low cost Servo Controller Bertho Boman 1999-09-20 14:11:43 UTC Re: Low cost Servo Controller Jon Elson 1999-09-20 16:05:20 UTC Re: Low cost Servo Controller Peter Bailey 1999-09-20 16:56:10 UTC Re: Low cost Servo Controller Leslie Watts 1999-09-21 08:17:58 UTC Re: Low cost Servo Controller PTENGIN@a... 1999-09-21 10:04:48 UTC Re: Low cost Servo Controller Jon Elson 1999-09-21 13:03:23 UTC Re: Low cost Servo Controller Leslie Watts 1999-09-21 13:46:58 UTC Re: Low cost Servo Controller Les Watts 1999-09-22 07:25:34 UTC Re: Low cost Servo Controller Jon Elson 1999-09-22 12:18:19 UTC Re: Low cost Servo Controller Stephen Barmash 1999-09-23 17:13:28 UTC Re: Low cost Servo Controller