Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Posted by
Les Watts
on 2002-06-30 05:09:02 UTC
Fast PID algorithms I have seen use a finite impulse response digital filter
set
to implement integration and differentiation. This is simply a short list of
coefficients
in memory. Each one is multiplied by a datapoint in time order then the data
is shifted
one and it is repeated, forming a digital approximation of convolution.
Simply by
choosing proper coefficients band pass filters can be used to control high
gains
at high frequencies for derivative (for noise immunity) and at low
frequencies for
integral.
I have written some in c for dos that were blazing fast at least on a pc. I
seem to
recall running some at 100 kHz for a project a while back in a pentium even
though
I used floats.
Les
Leslie Watts
L M Watts Furniture
Tiger, Georgia USA
http://www.rabun.net/~leswatts/wattsfurniturewp.html
engineering page:
http://www.rabun.net/~leswatts/shop.html
set
to implement integration and differentiation. This is simply a short list of
coefficients
in memory. Each one is multiplied by a datapoint in time order then the data
is shifted
one and it is repeated, forming a digital approximation of convolution.
Simply by
choosing proper coefficients band pass filters can be used to control high
gains
at high frequencies for derivative (for noise immunity) and at low
frequencies for
integral.
I have written some in c for dos that were blazing fast at least on a pc. I
seem to
recall running some at 100 kHz for a project a while back in a pentium even
though
I used floats.
Les
Leslie Watts
L M Watts Furniture
Tiger, Georgia USA
http://www.rabun.net/~leswatts/wattsfurniturewp.html
engineering page:
http://www.rabun.net/~leswatts/shop.html
----- Original Message -----
From: "Doug Harrison" <prototype@...>
To: <CAD_CAM_EDM_DRO@yahoogroups.com>
Sent: Saturday, June 29, 2002 9:47 PM
Subject: Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
> > Qbasic? My servo amps have a velocity bandwidth of about 3 KHz,
> > higher than the EMC servo update rate in my system. I suspect that
> > you'd have trouble doing a decent PID algorithm at a reasonable
> > rate in software on a $10 micro.
> >
> > Jon
>
> OK, what about some form of compiled basic? 8KHz should be possible in
dos.
>
> Doug
Discussion Thread
Doug Harrison
2002-06-28 20:18:33 UTC
Dedicated mb for PID
Jon Elson
2002-06-28 22:55:46 UTC
Re: [CAD_CAM_EDM_DRO] Dedicated mb for PID
Doug Harrison
2002-06-29 07:48:59 UTC
Re: Dedicated mb for PID
vavaroutsos
2002-06-29 09:12:00 UTC
Re: Dedicated mb for PID
Brian Pitt
2002-06-29 09:27:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Doug Harrison
2002-06-29 09:42:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
vavaroutsos
2002-06-29 10:02:26 UTC
Re: Dedicated mb for PID
Doug Harrison
2002-06-29 10:33:55 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Nic van der Walt
2002-06-29 12:20:52 UTC
RE: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Joll503@A...
2002-06-29 14:39:03 UTC
Re: [CAD_CAM_EDM_DRO] Dedicated mb for PID
Jon Elson
2002-06-29 16:37:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Jon Elson
2002-06-29 16:43:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Jon Elson
2002-06-29 16:46:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Doug Harrison
2002-06-29 18:43:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Doug Harrison
2002-06-29 18:48:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
vavaroutsos
2002-06-30 00:25:44 UTC
Re: Dedicated mb for PID
Les Watts
2002-06-30 05:09:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Doug Harrison
2002-06-30 09:34:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Jon Elson
2002-06-30 17:36:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID
Les Watts
2002-07-01 07:29:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: Dedicated mb for PID