Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #407563 > unrolled thread

PID Without a PhD, Finally

Started byTim Wescott <seemywebsite@myfooter.really>
First post2016-04-14 17:03 -0500
Last post2016-04-26 13:46 -0500
Articles 20 on this page of 129 — 33 participants

Back to article view | Back to sci.electronics.design


Contents

  PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:03 -0500
    Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 15:09 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:47 -0500
    Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 15:39 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:46 -0500
      Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 19:16 -0400
    Re: PID Without a PhD, Finally bitrex <bitrex@de.lete.earthlink.net> - 2016-04-14 19:00 -0400
    Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-14 19:09 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:25 -0500
      Re: PID Without a PhD, Finally DaveC <not@home.cow> - 2016-04-14 22:53 -0700
        Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-15 14:31 -0400
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:02 -0500
        Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-04-26 00:30 -0700
          Re: PID Without a PhD, Finally Andre Lodwig <lodwig@pathme.de> - 2016-04-26 09:45 +0200
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 12:08 -0500
            Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-26 18:11 -0700
              Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-26 21:22 -0400
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:50 -0500
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-26 19:34 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:39 -0500
      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 17:07 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-26 20:50 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:57 -0500
        Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:45 -0500
          Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-27 10:16 -0700
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-28 22:02 -0500
              Re: PID Without a PhD, Finally M Philbrook <jamie_ka1lpa@charter.net> - 2016-04-30 20:12 -0400
              Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 10:50 -0700
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 13:14 -0500
                  Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 17:26 -0700
                    Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-05-02 17:57 -0700
                      Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-05-03 17:16 +0100
                      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-03 17:23 -0500
                        Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 17:07 -0700
                          Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-05-03 18:23 -0700
                          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 11:37 -0500
                        Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-05-03 17:26 -0700
                          Re: PID Without a PhD, Finally Glen Walpert <nospam@null.void> - 2016-05-04 13:27 +0000
                            Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-05-04 07:27 -0700
                          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-04 10:39 -0400
                            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 11:39 -0500
                              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-04 13:48 -0400
                                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 16:34 -0500
                                  Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-04 19:16 -0400
                                    Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 19:03 -0500
                                      Re: PID Without a PhD, Finally Phil Hobbs <pcdhobbs@gmail.com> - 2016-05-04 17:14 -0700
                                  Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-05-04 17:15 -0700
                    Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-05-02 19:34 -0700
                Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-05-02 19:07 -0500
                  Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 17:21 -0700
                    Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-05-02 17:53 -0700
                      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 19:48 -0700
                      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 22:31 -0500
                        Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-03 10:54 -0400
                        Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 08:25 -0700
                    Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-05-02 23:23 -0500
                      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 11:46 -0700
    Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 19:11 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:41 -0500
        Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 16:43 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:50 -0400
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:57 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:58 -0400
      Re: PID Without a PhD, Finally Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-04-15 12:28 +0300
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 11:29 -0400
          Re: PID Without a PhD, Finally Tim Wescott  <Tim@seemywebsite.com> - 2016-04-15 09:31 -0700
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:35 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:04 -0400
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:11 -0500
                  Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:32 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:51 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:57 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 18:12 -0400
    Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-15 03:37 +1000
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 19:12 -0500
        Re: PID Without a PhD, Finally Ralph Barone <ralph@invalid.com> - 2016-04-15 06:05 +0000
    Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 20:10 -0500
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-14 23:06 -0500
        Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 23:46 -0500
        Re: PID Without a PhD, Finally Phil Hobbs <pcdhobbs@gmail.com> - 2016-04-15 00:42 -0700
    Re: PID Without a PhD, Finally o pere o <me@somewhere.net> - 2016-04-15 11:23 +0200
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:18 -0500
    Re: PID Without a PhD, Finally Peter Mairhofer <63832452@gmx.net> - 2016-04-15 03:46 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:19 -0500
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:43 +0100
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:32 -0500
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:47 -0400
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:00 -0500
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 14:42 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 14:02 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 16:04 -0400
          Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-16 09:12 +0000
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 13:35 +0200
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-16 12:34 -0400
              Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-17 08:12 +0000
        Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:27 +0300
          Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:32 +1000
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:31 +0100
      Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 10:20 -0400
      Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 17:25 +0200
        Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:30 -0500
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:44 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:59 -0500
          Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 20:37 +0200
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:53 -0500
              Re: PID Without a PhD, Finally Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-04-15 12:41 -0700
              Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:40 +0300
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 16:44 -0500
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:16 +0200
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:48 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:59 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:23 -0400
              Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:41 +1000
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:21 +0200
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-15 21:19 +0200
              Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:05 -0500
                Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:18 -0400
                Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 19:52 +0200
    Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-15 10:18 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:41 -0500
        Re: PID Without a PhD, Finally Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-04-15 12:47 -0700
          Re: PID Without a PhD, Finally "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-04-16 16:17 -0500
        Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-15 17:55 -0700
    Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 19:38 -0500
    Re: PID Without a PhD, Finally John S <Sophi.2@invalid.org> - 2016-04-15 22:02 -0500
    Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-16 09:25 +0200
    Re: PID Without a PhD, Finally OG <AIEO@AIOESPAM.COM> - 2016-04-17 10:12 -0700
    Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 11:12 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 13:46 -0500

Page 2 of 7 — ← Prev page 1 [2] 3 4 5 6 7  Next page →


#409376

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-04-26 17:07 -0700
Message-ID<5j00ibdubm75bctg0k1cl8ftn3f9r66rlu@4ax.com>
In reply to#407573
On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:

>
>You leave out math but include C code, I think that's defeating the
>purpose.  If you can't explain it in non-technical words or a simple
>picture... well, try harder :-)
>
>You spend only one page on tuning, and give no examples of "If you see
>this, try this" which is much more useful to the practical user.


Engineers tend to do

  Actuator = error * (Kp + Ki + Kd)

whereas old-time analog controllers did

  Actuator = Kp * (1 + Ki + Kd)

with the idea being that it's easier to tune on-site.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#409385

Fromrickman <gnuarm@gmail.com>
Date2016-04-26 20:50 -0400
Message-ID<nfp25g$ooq$1@dont-email.me>
In reply to#409376
On 4/26/2016 8:07 PM, John Larkin wrote:
> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>
>>
>> You leave out math but include C code, I think that's defeating the
>> purpose.  If you can't explain it in non-technical words or a simple
>> picture... well, try harder :-)
>>
>> You spend only one page on tuning, and give no examples of "If you see
>> this, try this" which is much more useful to the practical user.
>
>
> Engineers tend to do
>
>    Actuator = error * (Kp + Ki + Kd)
>
> whereas old-time analog controllers did
>
>    Actuator = Kp * (1 + Ki + Kd)
>
> with the idea being that it's easier to tune on-site.

I think you mean,

Actuator = error * Kp * (1 + Ki + Kd)

In other words, the Ki and Kd terms were normalized to Kp.

-- 

Rick C

[toc] | [prev] | [next] | [standalone]


#409405

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:57 -0500
Message-ID<nfp9h4$a31$1@dont-email.me>
In reply to#409385
rickman wrote:
> On 4/26/2016 8:07 PM, John Larkin wrote:
>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>>
>>>
>>> You leave out math but include C code, I think that's defeating the
>>> purpose.  If you can't explain it in non-technical words or a simple
>>> picture... well, try harder :-)
>>>
>>> You spend only one page on tuning, and give no examples of "If you see
>>> this, try this" which is much more useful to the practical user.
>>
>>
>> Engineers tend to do
>>
>>    Actuator = error * (Kp + Ki + Kd)
>>
>> whereas old-time analog controllers did
>>
>>    Actuator = Kp * (1 + Ki + Kd)
>>
>> with the idea being that it's easier to tune on-site.
>
> I think you mean,
>
> Actuator = error * Kp * (1 + Ki + Kd)
>
> In other words, the Ki and Kd terms were normalized to Kp.
>


No, he didn't do that properly. Otherwise, there'd be no need
for three Kx constants.

The integrator term accumulates the error per sample by some law/filter
and the Kd is multiplied by a filtered version of the difference
between the error this sample and the error of the previous sample.

Actuator = (error * Kp)
            + ( filter1(sum(error)) * Ki )
            + ( filter2(delta(error,lastError)) * Kd)

where the filters are very likely extremely stateful and not very 
filter-ey.

Forms exist for continuous linear PID and they're about what you'd expect.


-- 
Les Cargill

[toc] | [prev] | [next] | [standalone]


#409402

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:45 -0500
Message-ID<nfp8qn$8jk$1@dont-email.me>
In reply to#409376
John Larkin wrote:
> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>
>>
>> You leave out math but include C code, I think that's defeating the
>> purpose.  If you can't explain it in non-technical words or a simple
>> picture... well, try harder :-)
>>
>> You spend only one page on tuning, and give no examples of "If you see
>> this, try this" which is much more useful to the practical user.
>
>
> Engineers tend to do
>
>    Actuator = error * (Kp + Ki + Kd)
>

Uhhhhh... no.

Actuator = (error * Kp)
            + ( filter1(sum(error)) * Ki )
            + ( filter2(delta(error,lastError)) * Kd)

> whereas old-time analog controllers did
>
>    Actuator = Kp * (1 + Ki + Kd)
>
> with the idea being that it's easier to tune on-site.
>
>

Because trimpots are awesome.

-- 
Les Cargill

[toc] | [prev] | [next] | [standalone]


#409479

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-04-27 10:16 -0700
Message-ID<fts1ib17b0c6ieei5l4tun425phbk86t6f@4ax.com>
In reply to#409402
On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
<lcargill99@comcast.com> wrote:

>John Larkin wrote:
>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>>
>>>
>>> You leave out math but include C code, I think that's defeating the
>>> purpose.  If you can't explain it in non-technical words or a simple
>>> picture... well, try harder :-)
>>>
>>> You spend only one page on tuning, and give no examples of "If you see
>>> this, try this" which is much more useful to the practical user.
>>
>>
>> Engineers tend to do
>>
>>    Actuator = error * (Kp + Ki + Kd)
>>
>
>Uhhhhh... no.
>
>Actuator = (error * Kp)
>            + ( filter1(sum(error)) * Ki )
>            + ( filter2(delta(error,lastError)) * Kd)
>
>> whereas old-time analog controllers did
>>
>>    Actuator = Kp * (1 + Ki + Kd)
>>
>> with the idea being that it's easier to tune on-site.
>>
>>
>
>Because trimpots are awesome.

Oh, you know what I mean. Old-time analog PID controllers often used a
different sigal flow path than sum-of-terms.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#409752

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-28 22:02 -0500
Message-ID<nfuiil$cc0$2@dont-email.me>
In reply to#409479
John Larkin wrote:
> On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
> <lcargill99@comcast.com> wrote:
>
>> John Larkin wrote:
>>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>>>
>>>>
>>>> You leave out math but include C code, I think that's defeating the
>>>> purpose.  If you can't explain it in non-technical words or a simple
>>>> picture... well, try harder :-)
>>>>
>>>> You spend only one page on tuning, and give no examples of "If you see
>>>> this, try this" which is much more useful to the practical user.
>>>
>>>
>>> Engineers tend to do
>>>
>>>     Actuator = error * (Kp + Ki + Kd)
>>>
>>
>> Uhhhhh... no.
>>
>> Actuator = (error * Kp)
>>             + ( filter1(sum(error)) * Ki )
>>             + ( filter2(delta(error,lastError)) * Kd)
>>
>>> whereas old-time analog controllers did
>>>
>>>     Actuator = Kp * (1 + Ki + Kd)
>>>
>>> with the idea being that it's easier to tune on-site.
>>>
>>>
>>
>> Because trimpots are awesome.
>
> Oh, you know what I mean. Old-time analog PID controllers often used a
> different sigal flow path than sum-of-terms.
>
>

Oh, I'm sure. I haven't done anything directly with analog
PID other than read about them.

-- 
Les Cargill


[toc] | [prev] | [next] | [standalone]


#410054

FromM Philbrook <jamie_ka1lpa@charter.net>
Date2016-04-30 20:12 -0400
Message-ID<MPG.318f13ee81cebb2d989ee2@news.eternal-september.org>
In reply to#409752
In article <nfuiil$cc0$2@dont-email.me>, lcargill99@comcast.com says...
> 
> John Larkin wrote:
> > On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
> > <lcargill99@comcast.com> wrote:
> >
> >> John Larkin wrote:
> >>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
> >>>
> >>>>
> >>>> You leave out math but include C code, I think that's defeating the
> >>>> purpose.  If you can't explain it in non-technical words or a simple
> >>>> picture... well, try harder :-)
> >>>>
> >>>> You spend only one page on tuning, and give no examples of "If you see
> >>>> this, try this" which is much more useful to the practical user.
> >>>
> >>>
> >>> Engineers tend to do
> >>>
> >>>     Actuator = error * (Kp + Ki + Kd)
> >>>
> >>
> >> Uhhhhh... no.
> >>
> >> Actuator = (error * Kp)
> >>             + ( filter1(sum(error)) * Ki )
> >>             + ( filter2(delta(error,lastError)) * Kd)
> >>
> >>> whereas old-time analog controllers did
> >>>
> >>>     Actuator = Kp * (1 + Ki + Kd)
> >>>
> >>> with the idea being that it's easier to tune on-site.
> >>>
> >>>
> >>
> >> Because trimpots are awesome.
> >
> > Oh, you know what I mean. Old-time analog PID controllers often used a
> > different sigal flow path than sum-of-terms.
> >
> >
> 
> Oh, I'm sure. I haven't done anything directly with analog
> PID other than read about them.

http://www.contrexinc.com/PDF/Reflex/tm_12m03_104.pdf

 That is a perfect Analog PID circuit,.. Scroll down to see print.

 LAG = (I)  With enhanced control.
 LEAD= (D)    "    "        "       Via the BREAK levels.
 GAIN= (P)
  
 Dancer POS is the Set Point (SP)
 While the input to the buffer is the Process Value (PV)

 Jamie

[toc] | [prev] | [next] | [standalone]


#410247

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-02 10:50 -0700
Message-ID<1p4fib11kffprlk2cfi8si1s14nm04l1ao@4ax.com>
In reply to#409752
On Thu, 28 Apr 2016 22:02:08 -0500, Les Cargill
<lcargill99@comcast.com> wrote:

>John Larkin wrote:
>> On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
>> <lcargill99@comcast.com> wrote:
>>
>>> John Larkin wrote:
>>>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com> wrote:
>>>>
>>>>>
>>>>> You leave out math but include C code, I think that's defeating the
>>>>> purpose.  If you can't explain it in non-technical words or a simple
>>>>> picture... well, try harder :-)
>>>>>
>>>>> You spend only one page on tuning, and give no examples of "If you see
>>>>> this, try this" which is much more useful to the practical user.
>>>>
>>>>
>>>> Engineers tend to do
>>>>
>>>>     Actuator = error * (Kp + Ki + Kd)
>>>>
>>>
>>> Uhhhhh... no.
>>>
>>> Actuator = (error * Kp)
>>>             + ( filter1(sum(error)) * Ki )
>>>             + ( filter2(delta(error,lastError)) * Kd)
>>>
>>>> whereas old-time analog controllers did
>>>>
>>>>     Actuator = Kp * (1 + Ki + Kd)
>>>>
>>>> with the idea being that it's easier to tune on-site.
>>>>
>>>>
>>>
>>> Because trimpots are awesome.
>>
>> Oh, you know what I mean. Old-time analog PID controllers often used a
>> different sigal flow path than sum-of-terms.
>>
>>
>
>Oh, I'm sure. I haven't done anything directly with analog
>PID other than read about them.

We do it all the time on boards: voltage regulator loops, power amps,
that sort of thing.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#410251

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-05-02 13:14 -0500
Message-ID<ub2dnSn3Fb6OBLrKnZ2dnUU7-LudnZ2d@giganews.com>
In reply to#410247
On Mon, 02 May 2016 10:50:32 -0700, John Larkin wrote:

> On Thu, 28 Apr 2016 22:02:08 -0500, Les Cargill <lcargill99@comcast.com>
> wrote:
> 
>>John Larkin wrote:
>>> On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
>>> <lcargill99@comcast.com> wrote:
>>>
>>>> John Larkin wrote:
>>>>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com>
>>>>> wrote:
>>>>>
>>>>>
>>>>>> You leave out math but include C code, I think that's defeating the
>>>>>> purpose.  If you can't explain it in non-technical words or a
>>>>>> simple picture... well, try harder :-)
>>>>>>
>>>>>> You spend only one page on tuning, and give no examples of "If you
>>>>>> see this, try this" which is much more useful to the practical
>>>>>> user.
>>>>>
>>>>>
>>>>> Engineers tend to do
>>>>>
>>>>>     Actuator = error * (Kp + Ki + Kd)
>>>>>
>>>>>
>>>> Uhhhhh... no.
>>>>
>>>> Actuator = (error * Kp)
>>>>             + ( filter1(sum(error)) * Ki )
>>>>             + ( filter2(delta(error,lastError)) * Kd)
>>>>
>>>>> whereas old-time analog controllers did
>>>>>
>>>>>     Actuator = Kp * (1 + Ki + Kd)
>>>>>
>>>>> with the idea being that it's easier to tune on-site.
>>>>>
>>>>>
>>>>>
>>>> Because trimpots are awesome.
>>>
>>> Oh, you know what I mean. Old-time analog PID controllers often used a
>>> different sigal flow path than sum-of-terms.
>>>
>>>
>>>
>>Oh, I'm sure. I haven't done anything directly with analog PID other
>>than read about them.
> 
> We do it all the time on boards: voltage regulator loops, power amps,
> that sort of thing.

I have to admit that I do more "seat of the pants" loop tuning in that 
sort of circumstance than I should.

Sometimes more math and less knob-twiddling is a good thing (sometimes 
not).

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#410304

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-02 17:26 -0700
Message-ID<0orfib1sj9hv2c0gajnoq19hvaoahfdcim@4ax.com>
In reply to#410251
On Mon, 02 May 2016 13:14:43 -0500, Tim Wescott
<seemywebsite@myfooter.really> wrote:

>On Mon, 02 May 2016 10:50:32 -0700, John Larkin wrote:
>
>> On Thu, 28 Apr 2016 22:02:08 -0500, Les Cargill <lcargill99@comcast.com>
>> wrote:
>> 
>>>John Larkin wrote:
>>>> On Tue, 26 Apr 2016 21:45:06 -0500, Les Cargill
>>>> <lcargill99@comcast.com> wrote:
>>>>
>>>>> John Larkin wrote:
>>>>>> On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie <dj@delorie.com>
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>> You leave out math but include C code, I think that's defeating the
>>>>>>> purpose.  If you can't explain it in non-technical words or a
>>>>>>> simple picture... well, try harder :-)
>>>>>>>
>>>>>>> You spend only one page on tuning, and give no examples of "If you
>>>>>>> see this, try this" which is much more useful to the practical
>>>>>>> user.
>>>>>>
>>>>>>
>>>>>> Engineers tend to do
>>>>>>
>>>>>>     Actuator = error * (Kp + Ki + Kd)
>>>>>>
>>>>>>
>>>>> Uhhhhh... no.
>>>>>
>>>>> Actuator = (error * Kp)
>>>>>             + ( filter1(sum(error)) * Ki )
>>>>>             + ( filter2(delta(error,lastError)) * Kd)
>>>>>
>>>>>> whereas old-time analog controllers did
>>>>>>
>>>>>>     Actuator = Kp * (1 + Ki + Kd)
>>>>>>
>>>>>> with the idea being that it's easier to tune on-site.
>>>>>>
>>>>>>
>>>>>>
>>>>> Because trimpots are awesome.
>>>>
>>>> Oh, you know what I mean. Old-time analog PID controllers often used a
>>>> different sigal flow path than sum-of-terms.
>>>>
>>>>
>>>>
>>>Oh, I'm sure. I haven't done anything directly with analog PID other
>>>than read about them.
>> 
>> We do it all the time on boards: voltage regulator loops, power amps,
>> that sort of thing.
>
>I have to admit that I do more "seat of the pants" loop tuning in that 
>sort of circumstance than I should.

Nothing wrong with that. We're not at a blackboard trying to impress a
classroom full of EE students, we're trying to design something that
works.

>
>Sometimes more math and less knob-twiddling is a good thing (sometimes 
>not).

Tuning by simulation is quick. Use a little theory to get the starting
point. Any serious loop is nonlinear enough that it should be
simulated anyhow. Sometimes the only practical way to design a
temperature control loop is by breadboarding it; the thermal structure
can be too fuzzy to even simulate.



-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#410308

FromPaul Rubin <no.email@nospam.invalid>
Date2016-05-02 17:57 -0700
Message-ID<87vb2wdklf.fsf@nightsong.com>
In reply to#410304
John Larkin <jjlarkin@highlandtechnology.com> writes:
> Sometimes the only practical way to design a temperature control loop
> is by breadboarding it; the thermal structure can be too fuzzy to even
> simulate.

I wonder how close you can come by sticking temperature sensors all over
the place during development.  Then apply heat in a single place and see
how the temperature map evolves over time; then move the heat source to
another place and repeat, etc.  The idea is to get enough info to let
you simulate the system accurately using basic thermo equations.

[toc] | [prev] | [next] | [standalone]


#410374

FromPaul <paul@pcserviceselectronics.co.uk>
Date2016-05-03 17:16 +0100
Message-ID<MPG.3192df2fb2c6a57f9897f6@172.16.0.1>
In reply to#410308
In article <87vb2wdklf.fsf@nightsong.com>, no.email@nospam.invalid 
says...
> 
> John Larkin <jjlarkin@highlandtechnology.com> writes:
> > Sometimes the only practical way to design a temperature control loop
> > is by breadboarding it; the thermal structure can be too fuzzy to even
> > simulate.
> 
> I wonder how close you can come by sticking temperature sensors all over
> the place during development.  Then apply heat in a single place and see
> how the temperature map evolves over time; then move the heat source to
> another place and repeat, etc.  The idea is to get enough info to let
> you simulate the system accurately using basic thermo equations.

BTDTGTS _sometimes_ you can do that but often this is a SYSTEM based 
problem, involving many aspects and best guesses can be made but until
a complete system is built the thermal and other effects of adjacent 
components affect the whole system.

I remember a light box for behind some very high brightness LCD screens
(4 x 11W fluorescent tubes and their holders), that required fan 
cooling. The thermal properties got difficult to model, depending on 
things like slight change of positioning of cabling, of the tube holders
let alone slight changes in fan position or ducting or variations 
between fans. Then we get to heat profile, measured by array of 
thermistors, that varied depending on how tight the mounting screws of 
the light box secured it to the frame. Trying to work best way to run 12 
thermistor cables to avoid interrupting air flow or changing effects was 
'interesting'.

-- 
Paul Carpenter          | paul@pcserviceselectronics.co.uk
<http://www.pcserviceselectronics.co.uk/>    PC Services
<http://www.pcserviceselectronics.co.uk/pi/>  Raspberry Pi Add-ons
<http://www.pcserviceselectronics.co.uk/fonts/> Timing Diagram Font
<http://www.badweb.org.uk/> For those web sites you hate

[toc] | [prev] | [next] | [standalone]


#410403

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-05-03 17:23 -0500
Message-ID<t6qdnXf7COtBubTKnZ2dnUU7-aOdnZ2d@giganews.com>
In reply to#410308
On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:

> John Larkin <jjlarkin@highlandtechnology.com> writes:
>> Sometimes the only practical way to design a temperature control loop
>> is by breadboarding it; the thermal structure can be too fuzzy to even
>> simulate.
> 
> I wonder how close you can come by sticking temperature sensors all over
> the place during development.  Then apply heat in a single place and see
> how the temperature map evolves over time; then move the heat source to
> another place and repeat, etc.  The idea is to get enough info to let
> you simulate the system accurately using basic thermo equations.

If the question you want to answer is "now that I have it, how to I 
control it", then you can do swept-sine or step-input tests for system 
identification, and then design your controller from that.

I prefer swept-sine measurements followed by design based on Bode plots.  
I like them because they're valid for any linear system, even ones that 
have distributed states, and because -- to an extent -- you can take 
nonlinearities into account as part of your control design.

<http://wescottdesign.com/articles/FreqMeas/freq_meas.html> 

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#410408

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-03 17:07 -0700
Message-ID<5seiibdrghag0c8np9iaip4jkrbdp9a538@4ax.com>
In reply to#410403
On Tue, 03 May 2016 17:23:24 -0500, Tim Wescott
<seemywebsite@myfooter.really> wrote:

>On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:
>
>> John Larkin <jjlarkin@highlandtechnology.com> writes:
>>> Sometimes the only practical way to design a temperature control loop
>>> is by breadboarding it; the thermal structure can be too fuzzy to even
>>> simulate.
>> 
>> I wonder how close you can come by sticking temperature sensors all over
>> the place during development.  Then apply heat in a single place and see
>> how the temperature map evolves over time; then move the heat source to
>> another place and repeat, etc.  The idea is to get enough info to let
>> you simulate the system accurately using basic thermo equations.
>
>If the question you want to answer is "now that I have it, how to I 
>control it", then you can do swept-sine or step-input tests for system 
>identification, and then design your controller from that.
>
>I prefer swept-sine measurements followed by design based on Bode plots.  
>I like them because they're valid for any linear system, even ones that 
>have distributed states, and because -- to an extent -- you can take 
>nonlinearities into account as part of your control design.
>
><http://wescottdesign.com/articles/FreqMeas/freq_meas.html> 


A thermal system might have milliHertz responses, heater to sensor. I
find it easier to measure the step response, which still might take
many minutes to settle, and hack up an RC network model that simulates
like the hardware. Diffusion is involved, so it might need a lot of
RCs.

The biggest nonlinearity in a closed-loop heater is railing the driver
output at 0 and 100%. And there is a square-law heater response if you
use a simple voltage drive.



-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#410414

FromGeorge Herold <gherold@teachspin.com>
Date2016-05-03 18:23 -0700
Message-ID<76959516-c492-4e3c-ad49-fc94f33daf20@googlegroups.com>
In reply to#410408
On Tuesday, May 3, 2016 at 8:07:35 PM UTC-4, John Larkin wrote:
> On Tue, 03 May 2016 17:23:24 -0500, Tim Wescott
> <seemywebsite@myfooter.really> wrote:
> 
> >On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:
> >
> >> John Larkin <jjlarkin@highlandtechnology.com> writes:
> >>> Sometimes the only practical way to design a temperature control loop
> >>> is by breadboarding it; the thermal structure can be too fuzzy to even
> >>> simulate.
> >> 
> >> I wonder how close you can come by sticking temperature sensors all over
> >> the place during development.  Then apply heat in a single place and see
> >> how the temperature map evolves over time; then move the heat source to
> >> another place and repeat, etc.  The idea is to get enough info to let
> >> you simulate the system accurately using basic thermo equations.
> >
> >If the question you want to answer is "now that I have it, how to I 
> >control it", then you can do swept-sine or step-input tests for system 
> >identification, and then design your controller from that.
> >
> >I prefer swept-sine measurements followed by design based on Bode plots.  
> >I like them because they're valid for any linear system, even ones that 
> >have distributed states, and because -- to an extent -- you can take 
> >nonlinearities into account as part of your control design.
> >
> ><http://wescottdesign.com/articles/FreqMeas/freq_meas.html> 
> 
> 
> A thermal system might have milliHertz responses, heater to sensor. I
> find it easier to measure the step response, which still might take
> many minutes to settle, and hack up an RC network model that simulates
> like the hardware. Diffusion is involved, so it might need a lot of
> RCs.
> 
I'd like more experience with step responses.  
Story:
I was in the lab one day measuring the step response of this 
gain section.  My boss had a biochemist friend from the local uni 
visiting... said he knew electronics, so I was explaining the 
step response measurement.  He looked at the 'scope trace and 
said there was too much delay, my jaw dropped.  Yeah, 
I said this is the monitor output, there's 1k ohm in series.

George H. 

> The biggest nonlinearity in a closed-loop heater is railing the driver
> output at 0 and 100%. And there is a square-law heater response if you
> use a simple voltage drive.
> 
> 
> 
> -- 
> 
> John Larkin         Highland Technology, Inc
> picosecond timing   precision measurement 
> 
> jlarkin att highlandtechnology dott com
> http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#410483

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-05-04 11:37 -0500
Message-ID<uJ-dnaYs85uiuLfKnZ2dnUU7-emdnZ2d@giganews.com>
In reply to#410408
On Tue, 03 May 2016 17:07:28 -0700, John Larkin wrote:

> On Tue, 03 May 2016 17:23:24 -0500, Tim Wescott
> <seemywebsite@myfooter.really> wrote:
> 
>>On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:
>>
>>> John Larkin <jjlarkin@highlandtechnology.com> writes:
>>>> Sometimes the only practical way to design a temperature control loop
>>>> is by breadboarding it; the thermal structure can be too fuzzy to
>>>> even simulate.
>>> 
>>> I wonder how close you can come by sticking temperature sensors all
>>> over the place during development.  Then apply heat in a single place
>>> and see how the temperature map evolves over time; then move the heat
>>> source to another place and repeat, etc.  The idea is to get enough
>>> info to let you simulate the system accurately using basic thermo
>>> equations.
>>
>>If the question you want to answer is "now that I have it, how to I
>>control it", then you can do swept-sine or step-input tests for system
>>identification, and then design your controller from that.
>>
>>I prefer swept-sine measurements followed by design based on Bode plots.
>>I like them because they're valid for any linear system, even ones that
>>have distributed states, and because -- to an extent -- you can take
>>nonlinearities into account as part of your control design.
>>
>><http://wescottdesign.com/articles/FreqMeas/freq_meas.html>
> 
> 
> A thermal system might have milliHertz responses, heater to sensor. I
> find it easier to measure the step response, which still might take many
> minutes to settle, and hack up an RC network model that simulates like
> the hardware. Diffusion is involved, so it might need a lot of RCs.
> 
> The biggest nonlinearity in a closed-loop heater is railing the driver
> output at 0 and 100%. And there is a square-law heater response if you
> use a simple voltage drive.

Most swept-sine measurement systems (I have one that I compile in with 
any serious control code in my embedded stuff) will run a measurement 
unattended.  Just leave a yellow card with "test in progress" on the 
thing and go have a nice lunch.

There's formal methods for extracting parameters from a step response, 
but if your accuracy need isn't super-stringent then eyeballing it with 
RC networks isn't a bad way to go.

Yes on the nonlinearity, although if it's not going to batter the power 
supply too much then a simple slow PWM to the heating element will take 
care of that right off, or use the pass transistor for the heating 
element (which is easy if you're talking about incubating eggs, but 
challenging if you're melting tungsten).

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#410409

FromGeorge Herold <gherold@teachspin.com>
Date2016-05-03 17:26 -0700
Message-ID<0bec7920-0cd8-4ae7-9f75-246cb4db8b78@googlegroups.com>
In reply to#410403
On Tuesday, May 3, 2016 at 6:23:30 PM UTC-4, Tim Wescott wrote:
> On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:
> 
> > John Larkin <jjlarkin@highlandtechnology.com> writes:
> >> Sometimes the only practical way to design a temperature control loop
> >> is by breadboarding it; the thermal structure can be too fuzzy to even
> >> simulate.
> > 
> > I wonder how close you can come by sticking temperature sensors all over
> > the place during development.  Then apply heat in a single place and see
> > how the temperature map evolves over time; then move the heat source to
> > another place and repeat, etc.  The idea is to get enough info to let
> > you simulate the system accurately using basic thermo equations.
> 
> If the question you want to answer is "now that I have it, how to I 
> control it", then you can do swept-sine or step-input tests for system 
> identification, and then design your controller from that.
> 
> I prefer swept-sine measurements followed by design based on Bode plots.  
> I like them because they're valid for any linear system, even ones that 
> have distributed states, and because -- to an extent -- you can take 
> nonlinearities into account as part of your control design.
> 
> <http://wescottdesign.com/articles/FreqMeas/freq_meas.html> 
> 
> -- 
> 
> Tim Wescott
> Wescott Design Services
> http://www.wescottdesign.com

Huh, OK. How good is my laser locker? 
and what does the response look like?
I should wiggle the (optical) table with sine waves, in some controlled way*.
rather than rapping with my knuckle.  

(Drop a screw driver on the table, and the lock is done.
(maybe with faster PD's, and more electronics.))

George H. 
*So how do I make controlled audio vibrations? 
Mount a speaker?  
Piezo pushing on the table would drop off fast..
A motor and off axis cylinder.. cam's?

[toc] | [prev] | [next] | [standalone]


#410446

FromGlen Walpert <nospam@null.void>
Date2016-05-04 13:27 +0000
Message-ID<5729f8bb$0$43803$c3e8da3$5e5e430d@news.astraweb.com>
In reply to#410409
On Tue, 03 May 2016 17:26:41 -0700, George Herold wrote:

<clip>

> Huh, OK. How good is my laser locker?
> and what does the response look like?
> I should wiggle the (optical) table with sine waves, in some controlled
> way*.
> rather than rapping with my knuckle.
> 
> (Drop a screw driver on the table, and the lock is done.
> (maybe with faster PD's, and more electronics.))
> 
> George H.
> *So how do I make controlled audio vibrations?
> Mount a speaker?
> Piezo pushing on the table would drop off fast..
> A motor and off axis cylinder.. cam's?

Use a shaker?

http://www.ebay.com/bhp/vibration-shaker

This would be a standard method of assessing mechanical response, 
normally in conjunction with accelerometers, but it sounds like you 
already have an accelerometer in your laser locker :-).

The voice coil of a high power woofer could make a reasonable low force 
shaker, if you have a suitable woofer you want to scrap, but if you 
figure value of time and woofer it is probably cheaper to buy one.  1 

[toc] | [prev] | [next] | [standalone]


#410459

FromGeorge Herold <gherold@teachspin.com>
Date2016-05-04 07:27 -0700
Message-ID<718928c8-5766-4dbc-92aa-77a98f69fda2@googlegroups.com>
In reply to#410446
On Wednesday, May 4, 2016 at 9:27:29 AM UTC-4, Glen Walpert wrote:
> On Tue, 03 May 2016 17:26:41 -0700, George Herold wrote:
> 
> <clip>
> 
> > Huh, OK. How good is my laser locker?
> > and what does the response look like?
> > I should wiggle the (optical) table with sine waves, in some controlled
> > way*.
> > rather than rapping with my knuckle.
> > 
> > (Drop a screw driver on the table, and the lock is done.
> > (maybe with faster PD's, and more electronics.))
> > 
> > George H.
> > *So how do I make controlled audio vibrations?
> > Mount a speaker?
> > Piezo pushing on the table would drop off fast..
> > A motor and off axis cylinder.. cam's?
> 
> Use a shaker?
> 
> http://www.ebay.com/bhp/vibration-shaker
> 
> This would be a standard method of assessing mechanical response, 
> normally in conjunction with accelerometers, but it sounds like you 
> already have an accelerometer in your laser locker :-).
> 
> The voice coil of a high power woofer could make a reasonable low force 
> shaker, if you have a suitable woofer you want to scrap, but if you 
> figure value of time and woofer it is probably cheaper to buy one.  1

Yeah something like that, but a lot smaller.  I'll have to look at the closed loop
response.  I'll try a speaker.  (Maybe Friday.) 

George H. 

[toc] | [prev] | [next] | [standalone]


#410462

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-05-04 10:39 -0400
Message-ID<g5idnTwYabAZlLfKnZ2dnUU7-bOdnZ2d@supernews.com>
In reply to#410409
On 05/03/2016 08:26 PM, George Herold wrote:
> On Tuesday, May 3, 2016 at 6:23:30 PM UTC-4, Tim Wescott wrote:
>> On Mon, 02 May 2016 17:57:32 -0700, Paul Rubin wrote:
>>
>>> John Larkin <jjlarkin@highlandtechnology.com> writes:
>>>> Sometimes the only practical way to design a temperature control loop
>>>> is by breadboarding it; the thermal structure can be too fuzzy to even
>>>> simulate.
>>>
>>> I wonder how close you can come by sticking temperature sensors all over
>>> the place during development.  Then apply heat in a single place and see
>>> how the temperature map evolves over time; then move the heat source to
>>> another place and repeat, etc.  The idea is to get enough info to let
>>> you simulate the system accurately using basic thermo equations.
>>
>> If the question you want to answer is "now that I have it, how to I 
>> control it", then you can do swept-sine or step-input tests for system 
>> identification, and then design your controller from that.
>>
>> I prefer swept-sine measurements followed by design based on Bode plots.  
>> I like them because they're valid for any linear system, even ones that 
>> have distributed states, and because -- to an extent -- you can take 
>> nonlinearities into account as part of your control design.
>>
>> <http://wescottdesign.com/articles/FreqMeas/freq_meas.html> 

> 
> Huh, OK. How good is my laser locker? 
> and what does the response look like?
> I should wiggle the (optical) table with sine waves, in some controlled way*.
> rather than rapping with my knuckle.  
> 
> (Drop a screw driver on the table, and the lock is done.
> (maybe with faster PD's, and more electronics.))
> 
> George H. 
> *So how do I make controlled audio vibrations? 
> Mount a speaker?  
> Piezo pushing on the table would drop off fast..
> A motor and off axis cylinder.. cam's?
> 

Two-channel dynamic signal analyzers like my HP 35665A are the bee's
knees for that job.  You measure the disturbance with one channel (e.g.
on an accelerometer) and the response with the other.  You can do all
sorts of math on the results, which makes them really good for
millihertz-to-tens-of-kilohertz feedback loops.

Cheers

Phil Hobbs


-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

[toc] | [prev] | [next] | [standalone]


Page 2 of 7 — ← Prev page 1 [2] 3 4 5 6 7  Next page →

Back to top | Article view | sci.electronics.design


csiph-web