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


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

Re: PID Without a PhD, Finally

Started byJohn Larkin <jjlarkin@highlandtechnology.com>
First post2016-05-02 10:50 -0700
Last post2016-05-03 11:46 -0700
Articles 20 on this page of 30 — 9 participants

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

Page 1 of 2  [1] 2  Next page →


#410247 — Re: PID Without a PhD, Finally

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-02 10:50 -0700
SubjectRe: PID Without a PhD, Finally
Message-ID<1p4fib11kffprlk2cfi8si1s14nm04l1ao@4ax.com>
On Thu, 28 Apr 2016 22:02:08 -0500, Les Cargill
<lcargill99@comcast.com> wrote:

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

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


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

[toc] | [next] | [standalone]


#410251

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

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

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

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

-- 

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

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


#410304

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

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

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

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

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



-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#410308

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

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

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


#410374

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

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

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

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

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


#410403

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

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

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

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

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

-- 

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

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


#410408

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

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


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

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



-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#410414

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

George H. 

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

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


#410483

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

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

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

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

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

-- 

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

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


#410409

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

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

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

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

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


#410446

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

<clip>

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

Use a shaker?

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

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

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

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


#410459

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

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

George H. 

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


#410462

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

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

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

Cheers

Phil Hobbs


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

160 North State Road #203
Briarcliff Manor NY 10510

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

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


#410484

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-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]


#410499

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-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]


#410530

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-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]


#410551

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-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]


#410559

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-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]


#410564

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2016-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]


#410565

FromGeorge Herold <gherold@teachspin.com>
Date2016-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]


Page 1 of 2  [1] 2  Next page →

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


csiph-web