Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #407563 > unrolled thread
| Started by | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| First post | 2016-04-14 17:03 -0500 |
| Last post | 2016-04-26 13:46 -0500 |
| Articles | 20 on this page of 129 — 33 participants |
Back to article view | Back to sci.electronics.design
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 3 of 7 — ← Prev page 1 2 [3] 4 5 6 7 Next page →
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-05-04 11:39 -0500 |
| Message-ID | <uJ-dnaEs85tSuLfKnZ2dnUU7-emdnZ2d@giganews.com> |
| In reply to | #410462 |
On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: > 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. These days there's probably a lower-budget way to do that with a two- channel O-scope that can record to disk plus some number-crunching software like Scilab. It was exactly what I was going to suggest -- stick a piezo accelerometer to the table, give it a rap with the knuckles light enough so the thing doesn't lose lock, and look at the response. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2016-05-04 13:48 -0400 |
| Message-ID | <VpidnSti2vieq7fKnZ2dnUU7-XGdnZ2d@supernews.com> |
| In reply to | #410484 |
On 05/04/2016 12:39 PM, Tim Wescott wrote: > On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: > >> 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. > > These days there's probably a lower-budget way to do that with a two- > channel O-scope that can record to disk plus some number-crunching > software like Scilab. Maybe, but I paid $350 for mine, which is hard to beat. > It was exactly what I was going to suggest -- stick a piezo accelerometer > to the table, give it a rap with the knuckles light enough so the thing > doesn't lose lock, and look at the response. > 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]
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-05-04 16:34 -0500 |
| Message-ID | <-LadnXQXB41n97fKnZ2dnUU7-R-dnZ2d@giganews.com> |
| In reply to | #410499 |
On Wed, 04 May 2016 13:48:50 -0400, Phil Hobbs wrote: > On 05/04/2016 12:39 PM, Tim Wescott wrote: >> On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: >> >>> 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. >> >> These days there's probably a lower-budget way to do that with a two- >> channel O-scope that can record to disk plus some number-crunching >> software like Scilab. > > Maybe, but I paid $350 for mine, which is hard to beat. Goodgawd -- starting at $300 on eBay. Yeeks! I actually had the predecessor to the 35665A available to me when I started building control analyzer code into my software, on the theory that if you're tapping into the exact same signals as you're doing the controlling with, then (at least from the processor's perspective) your plant measurements will be exact. It's worked consistently and well for me, so I'm going to stick with it. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2016-05-04 19:16 -0400 |
| Message-ID | <572A82DF.9060005@electrooptical.net> |
| In reply to | #410530 |
On 05/04/2016 05:34 PM, Tim Wescott wrote: > On Wed, 04 May 2016 13:48:50 -0400, Phil Hobbs wrote: > >> On 05/04/2016 12:39 PM, Tim Wescott wrote: >>> On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: >>> >>>> 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. >>> >>> These days there's probably a lower-budget way to do that with a two- >>> channel O-scope that can record to disk plus some number-crunching >>> software like Scilab. >> >> Maybe, but I paid $350 for mine, which is hard to beat. > > Goodgawd -- starting at $300 on eBay. Yeeks! > > I actually had the predecessor to the 35665A available to me when I > started building control analyzer code into my software, on the theory > that if you're tapping into the exact same signals as you're doing the > controlling with, then (at least from the processor's perspective) your > plant measurements will be exact. > > It's worked consistently and well for me, so I'm going to stick with it. > Absolutely. About 80% of my control stuff is analogue, though, so the DSA is great. 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]
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-05-04 19:03 -0500 |
| Message-ID | <-LadnXIXB41GELfKnZ2dnUU7-R-dnZ2d@giganews.com> |
| In reply to | #410551 |
On Wed, 04 May 2016 19:16:47 -0400, Phil Hobbs wrote: > On 05/04/2016 05:34 PM, Tim Wescott wrote: >> On Wed, 04 May 2016 13:48:50 -0400, Phil Hobbs wrote: >> >>> On 05/04/2016 12:39 PM, Tim Wescott wrote: >>>> On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: >>>> >>>>> 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. >>>> >>>> These days there's probably a lower-budget way to do that with a two- >>>> channel O-scope that can record to disk plus some number-crunching >>>> software like Scilab. >>> >>> Maybe, but I paid $350 for mine, which is hard to beat. >> >> Goodgawd -- starting at $300 on eBay. Yeeks! >> >> I actually had the predecessor to the 35665A available to me when I >> started building control analyzer code into my software, on the theory >> that if you're tapping into the exact same signals as you're doing the >> controlling with, then (at least from the processor's perspective) your >> plant measurements will be exact. >> >> It's worked consistently and well for me, so I'm going to stick with >> it. >> >> > Absolutely. About 80% of my control stuff is analogue, though, so the > DSA is great. Does the version you have show the phase difference between excitation and system output? At FLIR we had the predecessor, which was slow and clunky and we lived in fear of the hard drive going out, and we had something similar to those that only showed the magnitude difference. I actually used it in my first big digital control project, for a variety of reasons. Later, I ended up inheriting the analog boards that my digital board replaced, and used it to maintain those, too. Part of the reason that I like my in-built thingie is because it's designed so that I can suck the response off into a file. That gets put on a computer with Scilab, and I have scripts that let me generate closed- loop Bode plots from the model of the control rule used by the processor. Since it's all digital, that model is damn near exact, meaning that for well-behaved plants the tuning often only took one or two iterations. (Plants with significant nonlinearities took more work, partially because the apparent response changed with the controller used, and partially because one had to make tradeoffs involved with dodging and/or embracing the nonlinearities.) -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhobbs@gmail.com> |
|---|---|
| Date | 2016-05-04 17:14 -0700 |
| Message-ID | <24f205a7-0a3a-482a-9617-9e58be0dcb98@googlegroups.com> |
| In reply to | #410559 |
>Does the version you have show the phase difference between excitation >and system output? Yup. So did the 35660A and 3561 I had at IBM BITD. If you have time and interest (and some shelf space!), try one out. The only bug I know about is that mine gets the noise BW of its flattop window wrong. Uniform and von Hann are fine. You can also get a ROM for $50 or so that will turn on all the options, e.g. various sources and math settings. I keep several of my boat anchors in a nice HP rack that I bought from ecnerwal in 2009 or so. (Hi, Lawrence, how's tricks?) Cheers Phil Hobbs
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2016-05-04 17:15 -0700 |
| Message-ID | <34fddc52-a470-4117-b286-03d5aa9aadc0@googlegroups.com> |
| In reply to | #410530 |
On Wednesday, May 4, 2016 at 5:34:55 PM UTC-4, Tim Wescott wrote: > On Wed, 04 May 2016 13:48:50 -0400, Phil Hobbs wrote: > > > On 05/04/2016 12:39 PM, Tim Wescott wrote: > >> On Wed, 04 May 2016 10:39:00 -0400, Phil Hobbs wrote: > >> > >>> 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. > >> > >> These days there's probably a lower-budget way to do that with a two- > >> channel O-scope that can record to disk plus some number-crunching > >> software like Scilab. > > > > Maybe, but I paid $350 for mine, which is hard to beat. > > Goodgawd -- starting at $300 on eBay. Yeeks! > > I actually had the predecessor to the 35665A available to me when I > started building control analyzer code into my software, on the theory > that if you're tapping into the exact same signals as you're doing the > controlling with, then (at least from the processor's perspective) your > plant measurements will be exact. > > It's worked consistently and well for me, so I'm going to stick with it. > > -- > > Tim Wescott > Wescott Design Services > http://www.wescottdesign.com Hi guys, I was wandering around, 1/2 thinking of this, and realized (You'll all say Duh...) that its the response of my drive that I need to measure. A piezo stack, driving a Al flex mount. (7025 Al? 7075? some stiff alloy) with a grating attached... (grating feed back into the laser.... that determines the frequency, to some extent) The laser is much faster than my piezo stack. I've got a split photodiode somewhere. George H.
[toc] | [prev] | [next] | [standalone]
| From | George Herold <gherold@teachspin.com> |
|---|---|
| Date | 2016-05-02 19:34 -0700 |
| Message-ID | <7dc6325a-c46c-4103-9036-78df48a1c204@googlegroups.com> |
| In reply to | #410304 |
On Monday, May 2, 2016 at 8:26:57 PM UTC-4, John Larkin wrote: > 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. Huh... I've got this circuit, that locks a diode laser to the side of a spectral line. (Photodiode in transmission looks at the side of a line, adjust some offset so the ~middle of the slope is at zero volts, "pick" a low pass filter TC, crank up the gain till it oscillates a bit, and then turn it down a little. I really have no idea how to pick the TC. I mostly set it at maximum TC 300ms. The feed back is to a grating that determines the wavelength. The piezo ->grating on Al flex mount oscillates at ~3kHz... at too much gain. I may be sending the contraption off to cold quanta (physics geeks in Colorado) to see if they can make a MOT with the laser. > > > > >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. For thermal loops I do some calculations, and then the Zeigler-Nichols tuning thing. (make it oscillate to measure TC) hopefully the two numbers are close. George H. > > > > -- > > John Larkin Highland Technology, Inc > picosecond timing precision measurement > > jlarkin att highlandtechnology dott com > http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | Les Cargill <lcargill99@comcast.com> |
|---|---|
| Date | 2016-05-02 19:07 -0500 |
| Message-ID | <ng8pp5$112$1@dont-email.me> |
| In reply to | #410247 |
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. > > Unlike PIDs, most of those should have a pretty simple method for figuring out it's at balance. I dunno, I've made some things self-calibrating in software lately. I like that better. -- Les Cargill
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-05-02 17:21 -0700 |
| Message-ID | <l0rfib5dqffnfq1fm2cjja6gpoidmstcr7@4ax.com> |
| In reply to | #410302 |
On Mon, 2 May 2016 19:07:06 -0500, Les Cargill <lcargill99@comcast.com> wrote: >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. >> >> > >Unlike PIDs, most of those should have a pretty simple method for >figuring out it's at balance. Things like output impedance, loop stability, line and load transient regulation sometimes matter. > >I dunno, I've made some things self-calibrating in software lately. >I like that better. Sure, but it's not generally practical to make a voltage regulator using an ADC and a DAC and a lot of code. Analog PID is still useful. We sometimes do temperature controllers as analog PID loops, too. For things like crystal ovens. -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | Paul Rubin <no.email@nospam.invalid> |
|---|---|
| Date | 2016-05-02 17:53 -0700 |
| Message-ID | <87zis8dks4.fsf@nightsong.com> |
| In reply to | #410303 |
John Larkin <jjlarkin@highlandtechnology.com> writes: > Sure, but it's not generally practical to make a voltage regulator > using an ADC and a DAC and a lot of code. Analog PID is still useful. Voltage regulators typically aren't really PID though, I thought. More like P without the I or D. > We sometimes do temperature controllers as analog PID loops, too. For > things like crystal ovens. That seems like a more interesting application.
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-05-02 19:48 -0700 |
| Message-ID | <ut1gib1jjcj07u0l7boslb37i1i5bb8dkq@4ax.com> |
| In reply to | #410307 |
On Mon, 02 May 2016 17:53:31 -0700, Paul Rubin <no.email@nospam.invalid> wrote: >John Larkin <jjlarkin@highlandtechnology.com> writes: >> Sure, but it's not generally practical to make a voltage regulator >> using an ADC and a DAC and a lot of code. Analog PID is still useful. > >Voltage regulators typically aren't really PID though, I thought. >More like P without the I or D. > >> We sometimes do temperature controllers as analog PID loops, too. For >> things like crystal ovens. > >That seems like a more interesting application. This is sort of PID: https://dl.dropboxusercontent.com/u/53724080/Circuits/Power/HV/28S840A_sh6.pdf -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-05-02 22:31 -0500 |
| Message-ID | <ub2dnST3Fb4FhrXKnZ2dnUU7-LudnZ2d@giganews.com> |
| In reply to | #410307 |
On Mon, 02 May 2016 17:53:31 -0700, Paul Rubin wrote: > John Larkin <jjlarkin@highlandtechnology.com> writes: >> Sure, but it's not generally practical to make a voltage regulator >> using an ADC and a DAC and a lot of code. Analog PID is still useful. > > Voltage regulators typically aren't really PID though, I thought. > More like P without the I or D. It's been a while since I've watched the turn-on ramp of a voltage regulator. But about 25 years ago, when a 7805 was causing a part to go into CMOS latchup, it had a classic integrator windup then overshoot event on power-up -- that's not behavior you can get from just proportional. I'm pretty sure that even today any precision regulator is going to have a built-in integrator. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2016-05-03 10:54 -0400 |
| Message-ID | <C_ydnYDPVKIPJrXKnZ2dnUU7-LvNnZ2d@supernews.com> |
| In reply to | #410324 |
On 05/02/2016 11:31 PM, Tim Wescott wrote: > On Mon, 02 May 2016 17:53:31 -0700, Paul Rubin wrote: > >> John Larkin <jjlarkin@highlandtechnology.com> writes: >>> Sure, but it's not generally practical to make a voltage regulator >>> using an ADC and a DAC and a lot of code. Analog PID is still useful. >> >> Voltage regulators typically aren't really PID though, I thought. >> More like P without the I or D. > > It's been a while since I've watched the turn-on ramp of a voltage > regulator. But about 25 years ago, when a 7805 was causing a part to go > into CMOS latchup, it had a classic integrator windup then overshoot > event on power-up -- that's not behavior you can get from just > proportional. > > I'm pretty sure that even today any precision regulator is going to have > a built-in integrator. > Well, it'll have dominant-pole compensation, anyway. I very much doubt that that was integrator windup, because the slowest thing in the loop is not the actuator (pass transistor), it's the output filter cap. Thus there's nothing corresponding to overspeeding a motor. It sounds to me like ordinary slew limiting followed by an underdamped transient response. ISTM that fixed-coefficient PID is merely a subset of the usual frequency-compensation problem for amplifiers, with the addition of windup control. Separate P, I, and D knobs are convenient for manual tuning, of course, but they're pretty limiting compared to what you can do with RC networks and op amps. IME PLLs are generally a lot harder to compensate well than (small) temperature control loops, at least once the nonlinearity is removed. 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]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-05-03 08:25 -0700 |
| Message-ID | <q4ghiblhgh6nvl9v68g7c7uuf4ukdo0vrl@4ax.com> |
| In reply to | #410324 |
On Mon, 02 May 2016 22:31:36 -0500, Tim Wescott <seemywebsite@myfooter.really> wrote: >On Mon, 02 May 2016 17:53:31 -0700, Paul Rubin wrote: > >> John Larkin <jjlarkin@highlandtechnology.com> writes: >>> Sure, but it's not generally practical to make a voltage regulator >>> using an ADC and a DAC and a lot of code. Analog PID is still useful. >> >> Voltage regulators typically aren't really PID though, I thought. >> More like P without the I or D. > >It's been a while since I've watched the turn-on ramp of a voltage >regulator. But about 25 years ago, when a 7805 was causing a part to go >into CMOS latchup, it had a classic integrator windup then overshoot >event on power-up -- that's not behavior you can get from just >proportional. > >I'm pretty sure that even today any precision regulator is going to have >a built-in integrator. Not a true integrator, but close, a bunch of gain with a rolloff. Voltage regulators have the problem that they may dump into all sorts of capacitive loads with various ESRs, or some weird combination of, say, electrolytics in parallel with ceramics. A programmable reg also has a loop gain that varies with the programmed voltage. If you are lucky, the data sheet will have a map of the safe zone of C and ESR, where the reg is stable, but it could still have a bit of overshoot if the input is applied suddenly. And the load capacitance includes all the bypass caps on other sheets of the schematic. If you are lucky, you'll have a useful Spice model. If not, breadboard and scope the damping of the load step response. For a 3t reg, like an LM317 or an 1117, it is often useful to separately bypass the ADJ pin to ground. -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | Les Cargill <lcargill99@comcast.com> |
|---|---|
| Date | 2016-05-02 23:23 -0500 |
| Message-ID | <ng98pu$h76$1@dont-email.me> |
| In reply to | #410303 |
John Larkin wrote: > On Mon, 2 May 2016 19:07:06 -0500, Les Cargill > <lcargill99@comcast.com> wrote: > >> 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. >>> >>> >> >> Unlike PIDs, most of those should have a pretty simple method for >> figuring out it's at balance. > > Things like output impedance, loop stability, line and load transient > regulation sometimes matter. > My understanding is that almost all those things are run well in the very linear operating region these days. But I've not dealt too much with load transients. Heck, I've go at least three amplifiers around here that turn themselves off if you short the output. Done by microprocessor. A nice feature. >> >> I dunno, I've made some things self-calibrating in software lately. >> I like that better. > > Sure, but it's not generally practical to make a voltage regulator > using an ADC and a DAC and a lot of code. Analog PID is still useful. > Analog PID is fine. It's probably the most common way, really. You won't beat it for size weight and power ( and cost) . But the software voltage regulator might be a thing soon. > We sometimes do temperature controllers as analog PID loops, too. For > things like crystal ovens. > > > Sure. The chambers we used to have all ran PID control. -- Les Cargill
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2016-05-03 11:46 -0700 |
| Message-ID | <nrrhibpusm61b0geb45l8os3u98i33opso@4ax.com> |
| In reply to | #410328 |
On Mon, 2 May 2016 23:23:31 -0500, Les Cargill <lcargill99@comcast.com> wrote: >John Larkin wrote: >> On Mon, 2 May 2016 19:07:06 -0500, Les Cargill >> <lcargill99@comcast.com> wrote: >> >>> 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. >>>> >>>> >>> >>> Unlike PIDs, most of those should have a pretty simple method for >>> figuring out it's at balance. >> >> Things like output impedance, loop stability, line and load transient >> regulation sometimes matter. >> > >My understanding is that almost all those things are run well in the >very linear operating region these days. But I've not dealt too much >with load transients. Voltage regulators have an annoying affection for oscillating, especially LDO types that have high open-loop output impedance, namely ones that drive the load from a collector or a drain. The oscillation waveform is usually a triangle, very nonlinear. Older data sheets, and many newer ones, only hint at stability issues. This was kind of fun: https://dl.dropboxusercontent.com/u/53724080/Circuits/LDO/TEM2_LDOs.jpg https://dl.dropboxusercontent.com/u/53724080/Circuits/LDO/TEM2_LDO_parts.JPG Those regs are only dropping tenths of a volt, so the mosfets are really controlled resistors. Loop dynamics varies with current. -- John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2016-04-14 19:11 -0400 |
| Message-ID | <nep7t2$rok$1@dont-email.me> |
| In reply to | #407563 |
On 4/14/2016 6: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 don't know if color is something that will be preserved, but that bright green for links actually hurts for me to look at. Hard to miss though. The PDF page numbering is off 1 from the text page numbers. I'm pretty sure there is a way to deal with that. Page 2 (text page number) paragraph 2, "Some command is given to a controller, and the determines a drive signal to be applied to the plant." Is "the" the word you want? Page 4, equation 1, you might explain the basis of this equation. I assume the voltage actually controls the torque. Friction force is a result of velocity and the acceleration is from the excess force until the motor speeds up. Contrasted to the equation for the frictionless platform. Page 6, paragraph 1, figure 5, you write "The magnet is attached to the stage", but the diagram calls it a "platform". That is not hugely distracting, but if I know nothing about optical systems (which I don't) I might be thinking the "stage" is something different and start looking for what it means (I did). Just for completeness, you might include the "position transducer" in your diagram. I assume it measures the position of the platform rather than the magnet. Page 6, paragraph 2, showing my ignorance I don't understand, "With this arrangement the force on the magnet is independent of the stage motion." Doesn't a magnet moving in the coil create a current/voltage that interacts with the applied current/voltage? Are we assuming the "good current-output amplifier" deals with this? Page 6, equation 2, I don't see where Vp is defined. It does not seem to be used anywhere else in the paper. Page 8, equation 3, you define Th twice but don't say what units. I assume it needs to be absolute temperature, Kelvin? Two time constants are given, but no explanation for why two or what is different about them. I don't know about others, but I have a hard time considering an equation I don't understand. It keeps me from getting an understanding of how the controller would work. I need to go now. Please take this for what it is worth, free advice. -- Rick
[toc] | [prev] | [next] | [standalone]
| From | Tim Wescott <seemywebsite@myfooter.really> |
|---|---|
| Date | 2016-04-14 18:41 -0500 |
| Message-ID | <wpydnba9wr8At43KnZ2dnUU7-WWdnZ2d@giganews.com> |
| In reply to | #407574 |
On Thu, 14 Apr 2016 19:11:38 -0400, rickman wrote: > On 4/14/2016 6: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 don't know if color is something that will be preserved, but that > bright green for links actually hurts for me to look at. Hard to miss > though. > > The PDF page numbering is off 1 from the text page numbers. I'm pretty > sure there is a way to deal with that. > > Page 2 (text page number) paragraph 2, "Some command is given to a > controller, and the determines a drive signal to be applied to the > plant." Is "the" the word you want? No - I think I wanted "this". > Page 4, equation 1, you might explain the basis of this equation. I > assume the voltage actually controls the torque. Friction force is a > result of velocity and the acceleration is from the excess force until > the motor speeds up. Contrasted to the equation for the frictionless > platform. Hmm. I'm trying to keep the math stuff short -- people write entire white papers on the behavior of motors alone. Maybe put all the math into a several-page appendix? To unpack a bit, the difference between the applied voltage and the motor's back-emf, divided by the armature resistance, determine the motor's armature current. Torque is armature current times the motor's torque constant, and acceleration is torque divided by the motor's moment of inertia. All of that is rolled into the kv and the time constant, in this case. > Page 6, paragraph 1, figure 5, you write "The magnet is attached to the > stage", but the diagram calls it a "platform". That is not hugely > distracting, but if I know nothing about optical systems (which I don't) > I might be thinking the "stage" is something different and start looking > for what it means (I did). You're right, the nomenclature should be consistent. I don't know about other people, but this is incredibly difficult for me. It's a subset of the "don't toss jargon around" rule. (Sometimes, the multiple-language problem is a consequence of incomplete solutions to removing jargon, at least for me). > Just for completeness, you might include the "position transducer" in > your diagram. I assume it measures the position of the platform rather > than the magnet. Good point. > Page 6, paragraph 2, showing my ignorance I don't understand, "With this > arrangement the force on the magnet is independent of the stage motion." > Doesn't a magnet moving in the coil create a current/voltage that > interacts with the applied current/voltage? Are we assuming the "good > current-output amplifier" deals with this? The good current-output amplifier, and the frictionless support of the platform, deals with this. > Page 6, equation 2, I don't see where Vp is defined. It does not seem > to be used anywhere else in the paper. Vp comes out of the position transducer that I left off of the drawing. Yup, need to change something! > Page 8, equation 3, you define Th twice but don't say what units. I > assume it needs to be absolute temperature, Kelvin? Two time constants > are given, but no explanation for why two or what is different about > them. I don't know about others, but I have a hard time considering an > equation I don't understand. It keeps me from getting an understanding > of how the controller would work. Well, I pulled the time constants out of my ear. Or my donkey (I _do not_ get that cliche :P ). Or something. Te temperature of the load (Th) is determined by both the driving input (Vd) and the ambient temperature (Ta). Again, I need to think about making that more clear without making the math-averse reader run away screaming. > I need to go now. Please take this for what it is worth, free advice. I appreciate your time and trouble you've taken to read the thing and write your comments. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
[toc] | [prev] | [next] | [standalone]
| From | mrdarrett@gmail.com |
|---|---|
| Date | 2016-04-14 16:43 -0700 |
| Message-ID | <89fb5322-266c-4174-83b7-2fa790e09164@googlegroups.com> |
| In reply to | #407588 |
On Thursday, April 14, 2016 at 4:41:22 PM UTC-7, Tim Wescott wrote: ... > > Page 4, equation 1, you might explain the basis of this equation. I > > assume the voltage actually controls the torque. Friction force is a > > result of velocity and the acceleration is from the excess force until > > the motor speeds up. Contrasted to the equation for the frictionless > > platform. > > Hmm. I'm trying to keep the math stuff short -- people write entire > white papers on the behavior of motors alone. Maybe put all the math > into a several-page appendix? Yes, putting all the math in appendices would be great, I agree! Michael
[toc] | [prev] | [next] | [standalone]
Page 3 of 7 — ← Prev page 1 2 [3] 4 5 6 7 Next page →
Back to top | Article view | sci.electronics.design
csiph-web