Re: Low cost Servo Controller
Posted by
Bertho Boman
on 1999-09-19 04:27:59 UTC
I am happy to see that you are going the digital way for the servo amp. Please keep us informed on your progress and thoughts.
You mentioned about using start-end positions and calculating speed for velocity feedback. I do not think that will work
because you need continuos and "instantaneous" velocity feedback. If there is a delay in the velocity feedback signal the servo
loops will be all messed up.
The software tachs go to great lengths to QUICKLY calculate the velocity from the time between two encoder pulses. There has
been a lot of research on how to do that fast enough that the introduced delay is not significant to the servo loop.
Preferable, the delay should also be independent of the value converted. There was an article in one of the IEEE magazines some
years ago about the theory and software. With all this discussion, it is only a question of time before I have to dig it
out. Today's DSP should fly through the time to velocity calculations.
I did such a calculation 22 years ago on a MC6800 for a EKG & pacemaker tester. It had to display both Beat per Minute and time
in ms between pulses. Since the software also was used for timing, the math loops duration had to be independent of value or
the timing would have been messed up. I did it all in hand assembly! (No PCs at that time.... only 4 & 8 bit Intel's and
Motorola's 8-bit 6800 available) It makes me feel old thinking back that far.
Bertho
=================================================
Dean Franks wrote: <dean@...>
You mentioned about using start-end positions and calculating speed for velocity feedback. I do not think that will work
because you need continuos and "instantaneous" velocity feedback. If there is a delay in the velocity feedback signal the servo
loops will be all messed up.
The software tachs go to great lengths to QUICKLY calculate the velocity from the time between two encoder pulses. There has
been a lot of research on how to do that fast enough that the introduced delay is not significant to the servo loop.
Preferable, the delay should also be independent of the value converted. There was an article in one of the IEEE magazines some
years ago about the theory and software. With all this discussion, it is only a question of time before I have to dig it
out. Today's DSP should fly through the time to velocity calculations.
I did such a calculation 22 years ago on a MC6800 for a EKG & pacemaker tester. It had to display both Beat per Minute and time
in ms between pulses. Since the software also was used for timing, the math loops duration had to be independent of value or
the timing would have been messed up. I did it all in hand assembly! (No PCs at that time.... only 4 & 8 bit Intel's and
Motorola's 8-bit 6800 available) It makes me feel old thinking back that far.
Bertho
=================================================
Dean Franks wrote: <dean@...>
>
> True, I was assuming from the previous conversation that the system would be
> built using both linear encoders for position detection, and rotary
> encoders. The rotary encoders would be just for motor velocity generation.
> On each cycle, an difference error would be generated between the current
> position, and the previous cycle goal. This error signal would be used to
> throttle the feed rate when tracking errors start to occur. The system
> would then generate target velocities for the current cycle goal, and send
> them to the 629's. This is would not be the most accurate way to do things,
> I suspect that the positioning error inside a single cycle will be
> unacceptable for moderate to high precision applications.
>
> I am not advocating this approach, I believe that it would be much easier to
> develop an integrated system using the TI motion DSP's (TMS320 series). The
> chips are cheaper, the hardware simpler, and the development exercise
> becomes almost totally a software one. It's much easier to do basic
> research (incremental design) in software than hardware (particularly when
> you have DSP's with flash memory).
>
> I am building a servo/encoder based system. I have built a table-top test
> x-y table (using threaded rod and joiner nuts), and am developing the
> software in x86 assembler (software encoder decode and pwm generation). The
> x86 is too slow for real machine control, but it provides an opportunity to
> solve all the problems I will face with a full side/ball screw machine.
> Once the software is right, I will port it to the TMS320x and build an EMC
> interface.
>
> The application is a gantry wood router.
>
> Dean
>
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