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


Groups > comp.dsp > #31161 > unrolled thread

PID Without a PhD, Finally

Started byTim Wescott <seemywebsite@myfooter.really>
First post2016-04-14 17:03 -0500
Last post2016-04-26 14:09 -0700
Articles 20 on this page of 150 — 35 participants

Back to article view | Back to comp.dsp


Contents

  PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:03 -0500
    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 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 herrmannsfeldt@gmail.com - 2016-04-27 13:57 -0700
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-27 16:25 -0500
                Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-27 23:55 +0200
                  Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-27 17:12 -0500
                  Re: PID Without a PhD, Finally spope33@speedymail.org (Steve Pope) - 2016-04-28 01:22 +0000
                  Re: PID Without a PhD, Finally Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-04-28 12:02 +0300
                  Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-28 21:59 -0500
            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 robert bristow-johnson <rbj@audioimagination.com> - 2016-05-02 16:37 -0700
                  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 Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 11:37 -0500
                  Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-05-02 19:05 -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 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 gyansorova@gmail.com - 2016-04-14 16:33 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 19:09 -0500
      Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-14 21:14 -0500
        Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-14 23:09 -0500
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-15 00:37 -0500
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:11 -0500
    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 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 herrmannsfeldt@gmail.com - 2016-04-15 13:26 -0700
                    Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:32 -0500
                      Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-15 15:06 -0700
                        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 20:13 -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 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 herrmannsfeldt@gmail.com - 2016-04-15 19:57 -0700
              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 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 robert bristow-johnson <rbj@audioimagination.com> - 2016-04-15 20:36 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:34 -0500
        Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-04-19 22:14 -0700
        Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-04-19 22:57 -0700
    Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-16 09:25 +0200
      Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-16 15:44 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-17 00:58 -0400
        Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-17 08:41 +0200
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:49 -0500
            Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-18 13:43 -0700
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 16:24 -0500
                Re: PID Without a PhD, Finally lasselangwadtchristensen@gmail.com - 2016-04-18 15:19 -0700
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-18 16:19 -0700
                  Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-20 00:34 -0400
                    Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-19 23:07 -0700
                      Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-20 04:23 -0400
                      Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-20 06:17 -0700
                Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-18 19:50 -0500
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-18 20:01 -0700
              Re: PID Without a PhD, Finally Nobody <nobody@nowhere.invalid> - 2016-04-19 12:37 +0100
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-19 11:45 -0700
              Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-21 21:16 -0700
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-22 11:47 -0500
                  Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-22 12:20 -0700
                    Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-22 13:02 -0700
    Re: PID Without a PhD, Finally OG <AIEO@AIOESPAM.COM> - 2016-04-17 10:12 -0700
      Re: PID Without a PhD, Finally gyansorova@gmail.com - 2016-04-17 12:48 -0700
        Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:36 -0500
    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
        Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-26 11:54 -0700
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 14:38 -0500
            Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-26 14:09 -0700

Page 1 of 8  [1] 2 3 4 5 6 7 8  Next page →


#31161 — PID Without a PhD, Finally

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-14 17:03 -0500
SubjectPID Without a PhD, Finally
Message-ID<wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>
Embedded Systems Design (or whatever they call themselves) kept moving 
this around -- so I've revamped it, updated it, and posted it on the web.

Take a gander.  Please comment on anything you like/don't like.  I'm not 
sure if the way that I'm setting off the math is a Really Good Idea or a 
Really Bad Idea -- I'm trying to make it easy for the math-averse to skip 
over it, without breaking up the flow too much for folks who can read 
math without breaking stride.

http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf

-- 

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

[toc] | [next] | [standalone]


#31165

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-04-14 19:00 -0400
Message-ID<siVPy.15926$2s3.10937@fx04.iad>
In reply to#31161
On 04/14/2016 06:03 PM, Tim Wescott wrote:
> Embedded Systems Design (or whatever they call themselves) kept moving
> this around -- so I've revamped it, updated it, and posted it on the web.
>
> Take a gander.  Please comment on anything you like/don't like.  I'm not
> sure if the way that I'm setting off the math is a Really Good Idea or a
> Really Bad Idea -- I'm trying to make it easy for the math-averse to skip
> over it, without breaking up the flow too much for folks who can read
> math without breaking stride.
>
> http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf
>

I could have gotten the required PhD in the meantime...

Haha no just kidding that would be lame-o. Looks great! :)

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


#31166

FromDJ Delorie <dj@delorie.com>
Date2016-04-14 19:09 -0400
Message-ID<xnr3e7lrdl.fsf@delorie.com>
In reply to#31161
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.

You don't mention feed-forward terms at all.

In short, it looks much like all the other PID papers out there, and
wouldn't have helped me "get" PID back when I was trying to figure it
out.

The section on I - the last paragraph should go first, since the point
of the I term is to correct for long-term errors, and you don't even
mention it in the first paragraph.

The second paragraph in D should be first, and is probably the most
useful paragraph in the paper, if you don't already understand PID.

The other thing I always hated about PID papers is that they never gave
solid examples of the difference between controlling speed and
controlling position, or the more complicated case of
torque/speed/position nested PID loops for CNC control.

I'm reminded of a YouTube video about how NOT to weld - the guy would
intentionally do it wrong various ways so you could compare his results
with your results, so you could figure out what you were doing wrong and
how to fix it.  Something like that for PID would be more useful than
showing an ideal situation.

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


#31170

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-14 18:25 -0500
Message-ID<wpydnbe9wr90u43KnZ2dnUU7-WWdnZ2d@giganews.com>
In reply to#31166
On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie 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.
> 
> You don't mention feed-forward terms at all.
> 
> In short, it looks much like all the other PID papers out there, and
> wouldn't have helped me "get" PID back when I was trying to figure it
> out.
> 
> The section on I - the last paragraph should go first, since the point
> of the I term is to correct for long-term errors, and you don't even
> mention it in the first paragraph.
> 
> The second paragraph in D should be first, and is probably the most
> useful paragraph in the paper, if you don't already understand PID.
> 
> The other thing I always hated about PID papers is that they never gave
> solid examples of the difference between controlling speed and
> controlling position, or the more complicated case of
> torque/speed/position nested PID loops for CNC control.
> 
> I'm reminded of a YouTube video about how NOT to weld - the guy would
> intentionally do it wrong various ways so you could compare his results
> with your results, so you could figure out what you were doing wrong and
> how to fix it.  Something like that for PID would be more useful than
> showing an ideal situation.

Good points.

The intended audience is writers of software for embedded processors, so 
the 'C' code may be easier to understand than English for some readers.  
This was implied when it was in its original context -- I think I'll at 
least put in an expanded forward.

-- 

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

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


#31189

FromDaveC <not@home.cow>
Date2016-04-14 22:53 -0700
Message-ID<0001HW.1CC0B977002D63CC1112FC3CF@news.eternal-september.org>
In reply to#31166
On 14 Apr 2016, DJ Delorie wrote
(in article <xnr3e7lrdl.fsf@delorie.com>):

> I'm reminded of a YouTube video about how NOT to weld

Can you remember the guy--and find the link to that video series?

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


#31221

FromDJ Delorie <dj@delorie.com>
Date2016-04-15 14:31 -0400
Message-ID<xnmvoulo62.fsf@delorie.com>
In reply to#31189
DaveC <not@home.cow> writes:
>> I'm reminded of a YouTube video about how NOT to weld
>
> Can you remember the guy--and find the link to that video series?

ChuckE2009

https://www.youtube.com/watch?v=PJDv7Y6dUi0  mig welding
https://www.youtube.com/watch?v=akvv4ApYMVE  stick welding
https://www.youtube.com/watch?v=CVAByfuZXIY  tig welding

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


#31231

FromTim Wescott <tim@seemywebsite.com>
Date2016-04-15 15:02 -0500
Message-ID<KOqdnf0qBb9U1YzKnZ2dnUU7-UWdnZ2d@giganews.com>
In reply to#31166
On Thu, 14 Apr 2016 19:09:26 -0400, DJ Delorie 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.
> 
> You don't mention feed-forward terms at all.
> 
> In short, it looks much like all the other PID papers out there, and
> wouldn't have helped me "get" PID back when I was trying to figure it
> out.
> 
> The section on I - the last paragraph should go first, since the point
> of the I term is to correct for long-term errors, and you don't even
> mention it in the first paragraph.
> 
> The second paragraph in D should be first, and is probably the most
> useful paragraph in the paper, if you don't already understand PID.
> 
> The other thing I always hated about PID papers is that they never gave
> solid examples of the difference between controlling speed and
> controlling position, or the more complicated case of
> torque/speed/position nested PID loops for CNC control.
> 
> I'm reminded of a YouTube video about how NOT to weld - the guy would
> intentionally do it wrong various ways so you could compare his results
> with your results, so you could figure out what you were doing wrong and
> how to fix it.  Something like that for PID would be more useful than
> showing an ideal situation.

D'oh -- why, of course I'll include an appendix or something on how to do 
this with op-amps.  It should have occurred to me immediately.

-- 
www.wescottdesign.com

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


#31354

FromPaul Rubin <no.email@nospam.invalid>
Date2016-04-26 00:30 -0700
Message-ID<87fuu8ket1.fsf@nightsong.com>
In reply to#31231
Tim Wescott <tim@seemywebsite.com> writes:
> D'oh -- why, of course I'll include an appendix or something on how to do 
> this with op-amps.  It should have occurred to me immediately.

Indeed I've been wondering whether this stuff was ever done with purely
analog electronics.  I don't know how far back it goes historically but
I imagine quite a way.  Optimal control is from the 1940s and I'd expect
PID to be much older?  I'm clueless though.

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


#31355

FromAndre Lodwig <lodwig@pathme.de>
Date2016-04-26 09:45 +0200
Message-ID<nfn6ae$5g6$1@news.albasani.net>
In reply to#31354
On 26.04.2016 09:30, Paul Rubin wrote:
> Tim Wescott <tim@seemywebsite.com> writes:
>> D'oh -- why, of course I'll include an appendix or something on how to do
>> this with op-amps.  It should have occurred to me immediately.
>
> Indeed I've been wondering whether this stuff was ever done with purely
> analog electronics.  I don't know how far back it goes historically but
> I imagine quite a way.  Optimal control is from the 1940s and I'd expect
> PID to be much older?  I'm clueless though.
>

I think the 1st generation of CD players had pretty analog control loops 
for focus and track. This is not too long ago...

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


#31356

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-26 12:08 -0500
Message-ID<-cydnXFuLrPjPYLKnZ2dnUU7-c-dnZ2d@giganews.com>
In reply to#31354
On Tue, 26 Apr 2016 00:30:18 -0700, Paul Rubin wrote:

> Tim Wescott <tim@seemywebsite.com> writes:
>> D'oh -- why, of course I'll include an appendix or something on how to
>> do this with op-amps.  It should have occurred to me immediately.
> 
> Indeed I've been wondering whether this stuff was ever done with purely
> analog electronics.  I don't know how far back it goes historically but
> I imagine quite a way.  Optimal control is from the 1940s and I'd expect
> PID to be much older?  I'm clueless though.

The first PID controllers, to my knowledge, were purely mechanical 
systems.  The seminal papers were written in the 1860's, but they were to 
describe and analyze what had already been in use in industry.  

Pneumatic systems were a great innovation in the 1930's (or 20's, or 
teens).

Electronics doing PID control is a johnny come lately.

Here's Maxwell's paper (yes, James Clerk Maxwell of E&M fame).  There was 
a Russian -- Tchebychev, I think.  I can't remember who, nor have I found 
any papers.

https://upload.wikimedia.org/wikipedia/commons/b/b1/On_Governors.pdf

-- 

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

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


#31367

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:50 -0500
Message-ID<nfp941$8jk$2@dont-email.me>
In reply to#31356
Tim Wescott wrote:
> On Tue, 26 Apr 2016 00:30:18 -0700, Paul Rubin wrote:
>
>> Tim Wescott <tim@seemywebsite.com> writes:
>>> D'oh -- why, of course I'll include an appendix or something on how to
>>> do this with op-amps.  It should have occurred to me immediately.
>>
>> Indeed I've been wondering whether this stuff was ever done with purely
>> analog electronics.  I don't know how far back it goes historically but
>> I imagine quite a way.  Optimal control is from the 1940s and I'd expect
>> PID to be much older?  I'm clueless though.
>
> The first PID controllers, to my knowledge, were purely mechanical
> systems.  The seminal papers were written in the 1860's, but they were to
> describe and analyze what had already been in use in industry.
>
> Pneumatic systems were a great innovation in the 1930's (or 20's, or
> teens).
>
> Electronics doing PID control is a johnny come lately.
>
> Here's Maxwell's paper (yes, James Clerk Maxwell of E&M fame).  There was
> a Russian -- Tchebychev, I think.  I can't remember who, nor have I found
> any papers.
>
> https://upload.wikimedia.org/wikipedia/commons/b/b1/On_Governors.pdf
>


The writing on that is superb. Thanks for the link.

-- 
Les Cargill

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


#31362

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-04-26 19:34 -0400
Message-ID<571FFB22.8040005@electrooptical.net>
In reply to#31354
On 04/26/2016 03:30 AM, Paul Rubin wrote:
> Tim Wescott <tim@seemywebsite.com> writes:
>> D'oh -- why, of course I'll include an appendix or something on how to do
>> this with op-amps.  It should have occurred to me immediately.
>
> Indeed I've been wondering whether this stuff was ever done with purely
> analog electronics.

Sure thing.  About three weeks ago for me. ;)

Cheers

Phil Hobbs

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


#31365

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:39 -0500
Message-ID<nfp8h2$7u7$1@dont-email.me>
In reply to#31354
Paul Rubin wrote:
> Tim Wescott <tim@seemywebsite.com> writes:
>> D'oh -- why, of course I'll include an appendix or something on how to do
>> this with op-amps.  It should have occurred to me immediately.
>
> Indeed I've been wondering whether this stuff was ever done with purely
> analog electronics.  I don't know how far back it goes historically but
> I imagine quite a way.  Optimal control is from the 1940s and I'd expect
> PID to be much older?  I'm clueless though.
>


The first PID was used for steering ships and was mostly mechanical:

http://www.pcbheaven.com/wikipages/PID_Theory/

-- 
Les Cargill

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


#31363

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-04-26 17:07 -0700
Message-ID<5j00ibdubm75bctg0k1cl8ftn3f9r66rlu@4ax.com>
In reply to#31166
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]


#31364

Fromrickman <gnuarm@gmail.com>
Date2016-04-26 20:50 -0400
Message-ID<nfp25g$ooq$1@dont-email.me>
In reply to#31363
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]


#31368

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:57 -0500
Message-ID<nfp9h4$a31$1@dont-email.me>
In reply to#31364
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]


#31366

FromLes Cargill <lcargill99@comcast.com>
Date2016-04-26 21:45 -0500
Message-ID<nfp8qn$8jk$1@dont-email.me>
In reply to#31363
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]


#31369

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-04-27 10:16 -0700
Message-ID<fts1ib17b0c6ieei5l4tun425phbk86t6f@4ax.com>
In reply to#31366
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]


#31370

Fromherrmannsfeldt@gmail.com
Date2016-04-27 13:57 -0700
Message-ID<e6decbb0-718b-4913-997c-7bf6771d1178@googlegroups.com>
In reply to#31369
On Wednesday, April 27, 2016 at 10:16:27 AM UTC-7, John Larkin wrote:

(snip)

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

I suppose there are a lot of trick from the mechanical systems days that
never made it to electronics. 

As I noted above, in the early days of electronics mechanical analogs were
often used to understand electronic systems, such as RLC circuits.

Now, it is more usual to use the electronic system to understand the
mechanical system.  It is easier to explain and understand an RLC circuit
than a mass, spring, damper system.

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


#31371

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-27 16:25 -0500
Message-ID<l7SdnX014ZDEs7zKnZ2dnUU7-a2dnZ2d@giganews.com>
In reply to#31370
On Wed, 27 Apr 2016 13:57:35 -0700, herrmannsfeldt wrote:

> On Wednesday, April 27, 2016 at 10:16:27 AM UTC-7, John Larkin wrote:
> 
> (snip)
> 
>> Oh, you know what I mean. Old-time analog PID controllers often used a
>> different sigal flow path than sum-of-terms.
> 
> I suppose there are a lot of trick from the mechanical systems days that
> never made it to electronics.
> 
> As I noted above, in the early days of electronics mechanical analogs
> were often used to understand electronic systems, such as RLC circuits.
> 
> Now, it is more usual to use the electronic system to understand the
> mechanical system.  It is easier to explain and understand an RLC
> circuit than a mass, spring, damper system.

Well, for you maybe.

I always get wrapped around the axle on what electronic quantity is 
supposed to be analogous to what mechanical quantity (there's a number of 
different systems).  Then I toss my hands in the air, write the equations 
of motion for the mechanical or electrical system directly, and solve 
them.

Because a transfer function is a transfer function.

-- 

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

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


Page 1 of 8  [1] 2 3 4 5 6 7 8  Next page →

Back to top | Article view | comp.dsp


csiph-web