CAD CAM EDM DRO - Yahoo Group Archive

Re: Low cost Servo Controller

Posted by Bertho Boman
on 1999-09-17 04:43:03 UTC
I am very interested in the design of an all digital servo amp. I have mentioned the pieces in several previous post but here
is a summary:

I like to stay away form the analog circuitry if possible and have a well defined simple digital unit. I know how to design
analog circuits, that is not the issue. Simply we will have a more repeatable and easier to buil system if it is all digital.
Also, do not be scared of the "DSP". It is basically a microprocessor that has been optimized for certain math calculations but
a regular microprocessor can also be used.

The interface to the PC would be all digital and the PC would send a two-byte speed command to the servo amp. As it is now, the
software sends the 2-bytes to a D-A (Digital to Analog) on an internal I-O board so there would not be any significant software
changes. The actual interface could be through a digital I-O card, the printer port, USB or even high speed serial I-O.

A "real" servo amp needs a tach input but we would use the encoder signals to calculate the speed and avoid the analog issues
and extra mounting headaches of a tach.

The last input needed is the motor current. We would sense the current and feed it to an A-D converter. Some
microprocessors/DSP even have built in A-D.

The central component of course would be a microprocessor or DSP chip, programmed to do the servo loop calculations and the gain
& filtering would be software adjustable.

If this approach is followed we basically would end up with the controller chip with all the smarts and it would do all the
calculations and produce the PWM output drive to the high power output switching sections.

Envision the best case: One DSP chip with inputs from the PC, the encoder and the motor current and it produces a PWM that is
feed to the power output switching stage.

Questions?

What digital I-O is used today for servo amps that would be similar to what I am proposing. I am sure I am reinventing the
wheel and do not claim any originality. It is simply the obvious answer to a problem. Is there any type of standard? What
digital output options do high end commercial software have?

Bertho Boman



Dean Franks wrote:

> From: "Dean Franks" <dean@...>
>
> ----- Original Message -----
> From: Tom Kulaga <tkulaga@...>
> To: <CAD_CAM_EDM_DRO@onelist.com>
> Sent: Thursday, September 16, 1999 5:00 PM
> Subject: [CAD_CAM_EDM_DRO] Re: Low cost Servo Controller
>
> <snip>
>
> > 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).
> >
>
> Yes, use a linear ramp oscillator and a comparator. Configure the circuit
> so the oscillator runs at the desired PWM frequency, the oscillator and
> input ref signal are connected to the comparator. Set things up so the
> comparator generates a "true" output when the input ref signal > linear ramp
> signal. If you want to prevent 100% duty cycle, put a divider (and maybe a
> zener) on the input ref signal to scale/clip it to the desired max duty
> cycle value.
>
> You can generate a close linear ramp using analog methods, or you can use a
> counter connected to a D/A converter. Assuming that you use an 8 bit
> counter and D/A, run the counter at 256x the pwm frequency. You could also
> use a cheap PIC with a software counter driving a single D/A source,
> although using the same ramp for all PWM channels will generate a bucket of
> EMI. If you do this in software, you might take the opportunity to stagger
> the master PWM clock, or use spread spectrum PWM generation to reduce noise
> [drop me a note if you want details on this].
>
> Hope this is useful.
>
> Dean
>
> --------------------------- ONElist Sponsor ----------------------------
>
> ~ FREE Games & CA$H Prizes! ~ $55,000+ Awarded Monthly ~
> Welcome to Gamesville.com-- Home of the World's Biggest & Best Free Games
> Play Three-Eyed Bingo, Quick-Draw Poker, Pop Quiz & Picturama FREE!
> http://www.onelist.com/ad/gamesville3
>
> ------------------------------------------------------------------------
> Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the discussion of shop built systems in the above catagories.
> To Unsubscribe, read archives, change to or from digest.
> Go to: http://www.onelist.com/isregistered.cgi
> Log on, and you will go to Member Center, and you can make changes there.
> For the FAQ, go to http://www.ktmarketing.com/faq.html
> bill,
> List Manager

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