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


Groups > comp.dsp > #31161 > unrolled thread

PID Without a PhD, Finally

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

Back to article view | Back to comp.dsp


Contents

  PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:03 -0500
    Re: PID Without a PhD, Finally bitrex <bitrex@de.lete.earthlink.net> - 2016-04-14 19:00 -0400
    Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-14 19:09 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:25 -0500
      Re: PID Without a PhD, Finally DaveC <not@home.cow> - 2016-04-14 22:53 -0700
        Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-15 14:31 -0400
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:02 -0500
        Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-04-26 00:30 -0700
          Re: PID Without a PhD, Finally Andre Lodwig <lodwig@pathme.de> - 2016-04-26 09:45 +0200
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 12:08 -0500
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:50 -0500
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-26 19:34 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:39 -0500
      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 17:07 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-26 20:50 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:57 -0500
        Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:45 -0500
          Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-27 10:16 -0700
            Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-27 13:57 -0700
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-27 16:25 -0500
                Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-27 23:55 +0200
                  Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-27 17:12 -0500
                  Re: PID Without a PhD, Finally spope33@speedymail.org (Steve Pope) - 2016-04-28 01:22 +0000
                  Re: PID Without a PhD, Finally Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-04-28 12:02 +0300
                  Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-28 21:59 -0500
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-28 22:02 -0500
              Re: PID Without a PhD, Finally M Philbrook <jamie_ka1lpa@charter.net> - 2016-04-30 20:12 -0400
              Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 10:50 -0700
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 13:14 -0500
                  Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-05-02 16:37 -0700
                  Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 17:26 -0700
                    Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-05-02 17:57 -0700
                      Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-05-03 17:16 +0100
                      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-03 17:23 -0500
                        Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 17:07 -0700
                          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 11:37 -0500
                  Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-05-02 19:05 -0700
                Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-05-02 19:07 -0500
                  Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 17:21 -0700
                    Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-05-02 17:53 -0700
                      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 19:48 -0700
                      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 22:31 -0500
                        Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-05-03 10:54 -0400
                        Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 08:25 -0700
                    Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-05-02 23:23 -0500
                      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 11:46 -0700
    Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 19:11 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:41 -0500
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:50 -0400
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:57 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:58 -0400
      Re: PID Without a PhD, Finally Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-04-15 12:28 +0300
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 11:29 -0400
          Re: PID Without a PhD, Finally Tim Wescott  <Tim@seemywebsite.com> - 2016-04-15 09:31 -0700
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:35 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:04 -0400
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:11 -0500
                  Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:32 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:51 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:57 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 18:12 -0400
    Re: PID Without a PhD, Finally gyansorova@gmail.com - 2016-04-14 16:33 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 19:09 -0500
      Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-14 21:14 -0500
        Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-14 23:09 -0500
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-15 00:37 -0500
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:11 -0500
    Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-15 03:37 +1000
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 19:12 -0500
        Re: PID Without a PhD, Finally Ralph Barone <ralph@invalid.com> - 2016-04-15 06:05 +0000
    Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 20:10 -0500
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-14 23:06 -0500
        Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 23:46 -0500
    Re: PID Without a PhD, Finally o pere o <me@somewhere.net> - 2016-04-15 11:23 +0200
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:18 -0500
    Re: PID Without a PhD, Finally Peter Mairhofer <63832452@gmx.net> - 2016-04-15 03:46 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:19 -0500
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:43 +0100
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:32 -0500
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:47 -0400
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:00 -0500
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 14:42 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 14:02 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 16:04 -0400
                  Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-15 13:26 -0700
                    Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:32 -0500
                      Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-15 15:06 -0700
                        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 20:13 -0400
          Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-16 09:12 +0000
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 13:35 +0200
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-16 12:34 -0400
              Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-17 08:12 +0000
        Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:27 +0300
          Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:32 +1000
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:31 +0100
      Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 10:20 -0400
      Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 17:25 +0200
        Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:30 -0500
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:44 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:59 -0500
          Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 20:37 +0200
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:53 -0500
              Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:40 +0300
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 16:44 -0500
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:16 +0200
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:48 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:59 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:23 -0400
              Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:41 +1000
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-15 19:57 -0700
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:21 +0200
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-15 21:19 +0200
              Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:05 -0500
                Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:18 -0400
                Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 19:52 +0200
    Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 19:38 -0500
    Re: PID Without a PhD, Finally John S <Sophi.2@invalid.org> - 2016-04-15 22:02 -0500
    Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-04-15 20:36 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:34 -0500
        Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-04-19 22:14 -0700
        Re: PID Without a PhD, Finally robert bristow-johnson <rbj@audioimagination.com> - 2016-04-19 22:57 -0700
    Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-16 09:25 +0200
      Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-16 15:44 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-17 00:58 -0400
        Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-17 08:41 +0200
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:49 -0500
            Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-18 13:43 -0700
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 16:24 -0500
                Re: PID Without a PhD, Finally lasselangwadtchristensen@gmail.com - 2016-04-18 15:19 -0700
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-18 16:19 -0700
                  Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-20 00:34 -0400
                    Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-19 23:07 -0700
                      Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-20 04:23 -0400
                      Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-20 06:17 -0700
                Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-18 19:50 -0500
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-18 20:01 -0700
              Re: PID Without a PhD, Finally Nobody <nobody@nowhere.invalid> - 2016-04-19 12:37 +0100
                Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-19 11:45 -0700
              Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-21 21:16 -0700
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-22 11:47 -0500
                  Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-22 12:20 -0700
                    Re: PID Without a PhD, Finally Mac Decman <dearman.mark@gmail.com> - 2016-04-22 13:02 -0700
    Re: PID Without a PhD, Finally OG <AIEO@AIOESPAM.COM> - 2016-04-17 10:12 -0700
      Re: PID Without a PhD, Finally gyansorova@gmail.com - 2016-04-17 12:48 -0700
        Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-18 11:36 -0500
    Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 11:12 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 13:46 -0500
        Re: PID Without a PhD, Finally makolber@yahoo.com - 2016-04-26 11:54 -0700
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 14:38 -0500
            Re: PID Without a PhD, Finally herrmannsfeldt@gmail.com - 2016-04-26 14:09 -0700

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


#31405

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-02 19:48 -0700
Message-ID<ut1gib1jjcj07u0l7boslb37i1i5bb8dkq@4ax.com>
In reply to#31402
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]


#31406

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-05-02 22:31 -0500
Message-ID<ub2dnST3Fb4FhrXKnZ2dnUU7-LudnZ2d@giganews.com>
In reply to#31402
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]


#31413

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-05-03 10:54 -0400
Message-ID<C_ydnYDPVKIPJrXKnZ2dnUU7-LvNnZ2d@supernews.com>
In reply to#31406
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]


#31414

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-03 08:25 -0700
Message-ID<q4ghiblhgh6nvl9v68g7c7uuf4ukdo0vrl@4ax.com>
In reply to#31406
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]


#31407

FromLes Cargill <lcargill99@comcast.com>
Date2016-05-02 23:23 -0500
Message-ID<ng98pu$h76$1@dont-email.me>
In reply to#31399
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]


#31416

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-05-03 11:46 -0700
Message-ID<nrrhibpusm61b0geb45l8os3u98i33opso@4ax.com>
In reply to#31407
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]


#31167

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 19:11 -0400
Message-ID<nep7t2$rok$1@dont-email.me>
In reply to#31161
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]


#31173

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-14 18:41 -0500
Message-ID<wpydnba9wr8At43KnZ2dnUU7-WWdnZ2d@giganews.com>
In reply to#31167
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]


#31180

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 21:50 -0400
Message-ID<neph64$hkn$1@dont-email.me>
In reply to#31173
On 4/14/2016 7:41 PM, Tim Wescott wrote:
> On Thu, 14 Apr 2016 19:11:38 -0400, rickman 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?

I don't think tucking away the math into an appendix is the answer. 
Maybe derivations or something not essential to understanding the 
problem.  All I would need is an understanding of the meaning of the 
terms of the equation.  Typically each term of the equation comes from 
some specific "thing" in the problem.  I don't get what those "things" 
are in these equations.


> 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.

I'm not sure I understand this.  I'd need to write out the equations. 
The back-emf is proportional to what, the rate of change of the current? 
  Or the speed of the motor?  It's been a long time and I forget.  I 
think saying it "is rolled into the kv and the time constant" is a bit 
simplified.  Again, I'd like to know the meaning of each term in the 
equation.  d theta/dt is the speed of the motor, but why is that in this 
spot of the equation?  Does this represent the friction?  Then I would 
get that the friction force balances with the motor torque and the 
acceleration would become zero.


>> 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.

Then where did this equation come from?  I find it very hard to follow 
the rest of the approach if I can't understand the equation.  I guess 
I'm not the target audience.


> 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.

Seems to me the equation would be

dTh/dt = ka * (Ta - Th) + kh * Vd

kh * Vd is the heat applied by the heater with kh the constant for the 
heater watts vs the thermal mass of the container.  ka * (Ta -Th) is the 
heat entering (or leaving) the container with ka accounting for the 
thermal mass and the amount of surface area, etc.  The heat moving 
into/out of the container is proportional to the temperature rate of 
change, no?

How does this get to be a second order differential equation?


>> 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.

I appreciate you writing this.  I'm sure I will learn a lot from reading 
it.

-- 

Rick

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


#31181

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 21:57 -0400
Message-ID<nephjg$ihh$1@dont-email.me>
In reply to#31180
On 4/14/2016 9:50 PM, rickman wrote:
> On 4/14/2016 7:41 PM, Tim Wescott wrote:
>> On Thu, 14 Apr 2016 19:11:38 -0400, rickman 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?
>
> I don't think tucking away the math into an appendix is the answer.
> Maybe derivations or something not essential to understanding the
> problem.  All I would need is an understanding of the meaning of the
> terms of the equation.  Typically each term of the equation comes from
> some specific "thing" in the problem.  I don't get what those "things"
> are in these equations.
>
>
>> 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.
>
> I'm not sure I understand this.  I'd need to write out the equations.
> The back-emf is proportional to what, the rate of change of the current?
>   Or the speed of the motor?  It's been a long time and I forget.  I
> think saying it "is rolled into the kv and the time constant" is a bit
> simplified.  Again, I'd like to know the meaning of each term in the
> equation.  d theta/dt is the speed of the motor, but why is that in this
> spot of the equation?  Does this represent the friction?  Then I would
> get that the friction force balances with the motor torque and the
> acceleration would become zero.
>
>
>>> 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.
>
> Then where did this equation come from?  I find it very hard to follow
> the rest of the approach if I can't understand the equation.  I guess
> I'm not the target audience.
>
>
>> 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.
>
> Seems to me the equation would be
>
> dTh/dt = ka * (Ta - Th) + kh * Vd
>
> kh * Vd is the heat applied by the heater with kh the constant for the
> heater watts vs the thermal mass of the container.  ka * (Ta -Th) is the
> heat entering (or leaving) the container with ka accounting for the
> thermal mass and the amount of surface area, etc.  The heat moving
> into/out of the container is proportional to the temperature rate of
> change, no?

I just spotted an error.  If the heater is controlled by volts, it would 
have to be voltage squared to get power.  Unless the volts is out of the 
ADC and the heater is controlled by a voltage to watts control, lol.

dTh/dt = ka * (Ta - Th) + kh * Vd^2


> How does this get to be a second order differential equation?
>
>
>>> 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.
>
> I appreciate you writing this.  I'm sure I will learn a lot from reading
> it.
>


-- 

Rick

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


#31182

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 21:58 -0400
Message-ID<nephm0$ihh$2@dont-email.me>
In reply to#31181
On 4/14/2016 9:57 PM, rickman wrote:
> On 4/14/2016 9:50 PM, rickman wrote:
>> On 4/14/2016 7:41 PM, Tim Wescott wrote:
>>> On Thu, 14 Apr 2016 19:11:38 -0400, rickman 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?
>>
>> I don't think tucking away the math into an appendix is the answer.
>> Maybe derivations or something not essential to understanding the
>> problem.  All I would need is an understanding of the meaning of the
>> terms of the equation.  Typically each term of the equation comes from
>> some specific "thing" in the problem.  I don't get what those "things"
>> are in these equations.
>>
>>
>>> 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.
>>
>> I'm not sure I understand this.  I'd need to write out the equations.
>> The back-emf is proportional to what, the rate of change of the current?
>>   Or the speed of the motor?  It's been a long time and I forget.  I
>> think saying it "is rolled into the kv and the time constant" is a bit
>> simplified.  Again, I'd like to know the meaning of each term in the
>> equation.  d theta/dt is the speed of the motor, but why is that in this
>> spot of the equation?  Does this represent the friction?  Then I would
>> get that the friction force balances with the motor torque and the
>> acceleration would become zero.
>>
>>
>>>> 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.
>>
>> Then where did this equation come from?  I find it very hard to follow
>> the rest of the approach if I can't understand the equation.  I guess
>> I'm not the target audience.
>>
>>
>>> 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.
>>
>> Seems to me the equation would be
>>
>> dTh/dt = ka * (Ta - Th) + kh * Vd
>>
>> kh * Vd is the heat applied by the heater with kh the constant for the
>> heater watts vs the thermal mass of the container.  ka * (Ta -Th) is the
>> heat entering (or leaving) the container with ka accounting for the
>> thermal mass and the amount of surface area, etc.  The heat moving
>> into/out of the container is proportional to the temperature rate of
>> change, no?
>
> I just spotted an error.  If the heater is controlled by volts, it would
> have to be voltage squared to get power.  Unless the volts is out of the
> ADC and the heater is controlled by a voltage to watts control, lol.

Need to give this up tonight... make that DAC, not ADC.

-- 

Rick

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


#31192

FromTauno Voipio <tauno.voipio@notused.fi.invalid>
Date2016-04-15 12:28 +0300
Message-ID<neqc2j$p8u$1@dont-email.me>
In reply to#31167
On 15.4.16 02:11, rickman 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.


Rick:

Every motor is also a generator. For a motor with constant
magnetization, the back EMF is proportional to the speed and
the motor torque is proportional to the current.

You can model such a motor with a series connection of the
supply voltage, the motor (and line) resistance and the back
EMF. The motor settles to a speed near such speed that the
difference between supply voltage and back EMF runs just enough
current in the circuit to compensate for torque needed to keep
the speed.

If you feed a constant-magnetized motor with a constant current
supply, the torque stays constant until the compliance limit
of the feed supply.

-- 

-TV

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


#31203

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 11:29 -0400
Message-ID<ner16n$92v$1@dont-email.me>
In reply to#31192
On 4/15/2016 5:28 AM, Tauno Voipio wrote:
> On 15.4.16 02:11, rickman 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.
>
>
> Rick:
>
> Every motor is also a generator. For a motor with constant
> magnetization, the back EMF is proportional to the speed and
> the motor torque is proportional to the current.
>
> You can model such a motor with a series connection of the
> supply voltage, the motor (and line) resistance and the back
> EMF. The motor settles to a speed near such speed that the
> difference between supply voltage and back EMF runs just enough
> current in the circuit to compensate for torque needed to keep
> the speed.
>
> If you feed a constant-magnetized motor with a constant current
> supply, the torque stays constant until the compliance limit
> of the feed supply.

Ok, that all makes sense and is what is being described in the paper. 
The drive is current rather than voltage and will produce the result 
shown in the diagram until the max voltage of the supply is reached. 
Thanks.

I still don't get equation 3.  I searched a bit and could not find 
anything similar.  All the other references I found on the web use the 
Laplace transform to perform the math and don't produce a similar equation.

Trying to find info on the web for control theory really opens a rabbit 
hole, lol.

-- 

Rick

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


#31204

FromTim Wescott <Tim@seemywebsite.com>
Date2016-04-15 09:31 -0700
Message-ID<QpudnbLvl7PriozKnZ2dnUU7-afNnZ2d@giganews.com>
In reply to#31203
rickman <gnuarm@gmail.com> Wrote in message:
> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>> On 15.4.16 02:11, rickman 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.
>>
>>
>> Rick:
>>
>> Every motor is also a generator. For a motor with constant
>> magnetization, the back EMF is proportional to the speed and
>> the motor torque is proportional to the current.
>>
>> You can model such a motor with a series connection of the
>> supply voltage, the motor (and line) resistance and the back
>> EMF. The motor settles to a speed near such speed that the
>> difference between supply voltage and back EMF runs just enough
>> current in the circuit to compensate for torque needed to keep
>> the speed.
>>
>> If you feed a constant-magnetized motor with a constant current
>> supply, the torque stays constant until the compliance limit
>> of the feed supply.
> 
> Ok, that all makes sense and is what is being described in the paper. 
> The drive is current rather than voltage and will produce the result 
> shown in the diagram until the max voltage of the supply is reached. 
> Thanks.
> 
> I still don't get equation 3.  I searched a bit and could not find 
> anything similar.  All the other references I found on the web use the 
> Laplace transform to perform the math and don't produce a similar equation.
> 
> Trying to find info on the web for control theory really opens a rabbit 
> hole, lol.
> 
> -- 
> 
> Rick
> 

Thermal systems are generally far more complex than equation 3
 implies. That one really should be taken just add the equation
 used to generate the plant model, nothing more.

Pragmatically, if you need to wrap a control loop around a thermal
 plant, you should probably close your eyes to the theory and
 either tune it up by the seat of your pants (as in that paper),
 or you should use measured responses (which I cover briefly in
 another paper, and at length in my book).

-- 
www.wescottdesign.com


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

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


#31212

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:35 -0500
Message-ID<xdGdnT8xP7DWu4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#31204
On Fri, 15 Apr 2016 09:31:49 -0700, Tim Wescott wrote:

> rickman <gnuarm@gmail.com> Wrote in message:
>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>> On 15.4.16 02:11, rickman 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.
>>>
>>>
>>> Rick:
>>>
>>> Every motor is also a generator. For a motor with constant
>>> magnetization, the back EMF is proportional to the speed and the motor
>>> torque is proportional to the current.
>>>
>>> You can model such a motor with a series connection of the supply
>>> voltage, the motor (and line) resistance and the back EMF. The motor
>>> settles to a speed near such speed that the difference between supply
>>> voltage and back EMF runs just enough current in the circuit to
>>> compensate for torque needed to keep the speed.
>>>
>>> If you feed a constant-magnetized motor with a constant current
>>> supply, the torque stays constant until the compliance limit of the
>>> feed supply.
>> 
>> Ok, that all makes sense and is what is being described in the paper.
>> The drive is current rather than voltage and will produce the result
>> shown in the diagram until the max voltage of the supply is reached.
>> Thanks.
>> 
>> I still don't get equation 3.  I searched a bit and could not find
>> anything similar.  All the other references I found on the web use the
>> Laplace transform to perform the math and don't produce a similar
>> equation.
>> 
>> Trying to find info on the web for control theory really opens a rabbit
>> hole, lol.
>> 
>> --
>> 
>> Rick
>> 
>> 
> Thermal systems are generally far more complex than equation 3
>  implies. That one really should be taken just add the equation used to
>  generate the plant model, nothing more.
> 
> Pragmatically, if you need to wrap a control loop around a thermal
>  plant, you should probably close your eyes to the theory and either
>  tune it up by the seat of your pants (as in that paper),
>  or you should use measured responses (which I cover briefly in another
>  paper, and at length in my book).

I double-checked, and I kind of allude to this but I need to SAY this in 
the text.  Thermal systems are generally sluggish with lots of high-
frequency roll-off.  The model chosen is sluggish with lots of high-
frequency roll-off.  That's about the extent of the accuracy of the 
model, in general.  On a good day the chosen model may actually match a 
real thermal system well enough to work with -- but it's not to be taken 
as a generally accurate model, where equations 1 and 2 are generally much 
more applicable.

-- 

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

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


#31219

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-04-15 14:04 -0400
Message-ID<ceSdnblDi9SIsIzKnZ2dnUU7-KfNnZ2d@supernews.com>
In reply to#31212
On 04/15/2016 01:35 PM, Tim Wescott wrote:
> On Fri, 15 Apr 2016 09:31:49 -0700, Tim Wescott wrote:
> 
>> rickman <gnuarm@gmail.com> Wrote in message:
>>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>>> On 15.4.16 02:11, rickman 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.
>>>>
>>>>
>>>> Rick:
>>>>
>>>> Every motor is also a generator. For a motor with constant
>>>> magnetization, the back EMF is proportional to the speed and the motor
>>>> torque is proportional to the current.
>>>>
>>>> You can model such a motor with a series connection of the supply
>>>> voltage, the motor (and line) resistance and the back EMF. The motor
>>>> settles to a speed near such speed that the difference between supply
>>>> voltage and back EMF runs just enough current in the circuit to
>>>> compensate for torque needed to keep the speed.
>>>>
>>>> If you feed a constant-magnetized motor with a constant current
>>>> supply, the torque stays constant until the compliance limit of the
>>>> feed supply.
>>>
>>> Ok, that all makes sense and is what is being described in the paper.
>>> The drive is current rather than voltage and will produce the result
>>> shown in the diagram until the max voltage of the supply is reached.
>>> Thanks.
>>>
>>> I still don't get equation 3.  I searched a bit and could not find
>>> anything similar.  All the other references I found on the web use the
>>> Laplace transform to perform the math and don't produce a similar
>>> equation.
>>>
>>> Trying to find info on the web for control theory really opens a rabbit
>>> hole, lol.
>>>
>>> --
>>>
>>> Rick
>>>
>>>
>> Thermal systems are generally far more complex than equation 3
>>  implies. That one really should be taken just add the equation used to
>>  generate the plant model, nothing more.
>>
>> Pragmatically, if you need to wrap a control loop around a thermal
>>  plant, you should probably close your eyes to the theory and either
>>  tune it up by the seat of your pants (as in that paper),
>>  or you should use measured responses (which I cover briefly in another
>>  paper, and at length in my book).
> 
> I double-checked, and I kind of allude to this but I need to SAY this in 
> the text.  Thermal systems are generally sluggish with lots of high-
> frequency roll-off.  The model chosen is sluggish with lots of high-
> frequency roll-off.  That's about the extent of the accuracy of the 
> model, in general.  On a good day the chosen model may actually match a 
> real thermal system well enough to work with -- but it's not to be taken 
> as a generally accurate model, where equations 1 and 2 are generally much 
> more applicable.

Lots of high frequency rolloff and even more high frequency phase shift.
 In thermal diffusion, you get another radian for every 1/e amplitude
decay, which makes PID kind of disappointing IME.

My TC loops are always pretty simple--diode lasers on TECs, or
resonators with a heater--but after the nonlinearity is taken out, I can
usually get away with a plant model of a time delay followed by an
integrator.  You can read the parameters right off the scope trace.  I'm
perfectly sure that was invented a very long time ago, but it works
great for smallish stuff.

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]


#31220

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 13:11 -0500
Message-ID<xdGdnTExP7BZs4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#31219
On Fri, 15 Apr 2016 14:04:05 -0400, Phil Hobbs wrote:

> On 04/15/2016 01:35 PM, Tim Wescott wrote:
>> On Fri, 15 Apr 2016 09:31:49 -0700, Tim Wescott wrote:
>> 
>>> rickman <gnuarm@gmail.com> Wrote in message:
>>>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>>>> On 15.4.16 02:11, rickman 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.
>>>>>
>>>>>
>>>>> Rick:
>>>>>
>>>>> Every motor is also a generator. For a motor with constant
>>>>> magnetization, the back EMF is proportional to the speed and the
>>>>> motor torque is proportional to the current.
>>>>>
>>>>> You can model such a motor with a series connection of the supply
>>>>> voltage, the motor (and line) resistance and the back EMF. The motor
>>>>> settles to a speed near such speed that the difference between
>>>>> supply voltage and back EMF runs just enough current in the circuit
>>>>> to compensate for torque needed to keep the speed.
>>>>>
>>>>> If you feed a constant-magnetized motor with a constant current
>>>>> supply, the torque stays constant until the compliance limit of the
>>>>> feed supply.
>>>>
>>>> Ok, that all makes sense and is what is being described in the paper.
>>>> The drive is current rather than voltage and will produce the result
>>>> shown in the diagram until the max voltage of the supply is reached.
>>>> Thanks.
>>>>
>>>> I still don't get equation 3.  I searched a bit and could not find
>>>> anything similar.  All the other references I found on the web use
>>>> the Laplace transform to perform the math and don't produce a similar
>>>> equation.
>>>>
>>>> Trying to find info on the web for control theory really opens a
>>>> rabbit hole, lol.
>>>>
>>>> --
>>>>
>>>> Rick
>>>>
>>>>
>>> Thermal systems are generally far more complex than equation 3
>>>  implies. That one really should be taken just add the equation used
>>>  to generate the plant model, nothing more.
>>>
>>> Pragmatically, if you need to wrap a control loop around a thermal
>>>  plant, you should probably close your eyes to the theory and either
>>>  tune it up by the seat of your pants (as in that paper),
>>>  or you should use measured responses (which I cover briefly in
>>>  another paper, and at length in my book).
>> 
>> I double-checked, and I kind of allude to this but I need to SAY this
>> in the text.  Thermal systems are generally sluggish with lots of high-
>> frequency roll-off.  The model chosen is sluggish with lots of high-
>> frequency roll-off.  That's about the extent of the accuracy of the
>> model, in general.  On a good day the chosen model may actually match a
>> real thermal system well enough to work with -- but it's not to be
>> taken as a generally accurate model, where equations 1 and 2 are
>> generally much more applicable.
> 
> Lots of high frequency rolloff and even more high frequency phase shift.
>  In thermal diffusion, you get another radian for every 1/e amplitude
> decay, which makes PID kind of disappointing IME.
> 
> My TC loops are always pretty simple--diode lasers on TECs, or
> resonators with a heater--but after the nonlinearity is taken out, I can
> usually get away with a plant model of a time delay followed by an
> integrator.  You can read the parameters right off the scope trace.  I'm
> perfectly sure that was invented a very long time ago, but it works
> great for smallish stuff.

I may change my model.

Probably the most important temperature loop I've ever closed (the 
temperature of a focal plane array, cooled by a split-cycle Stirling 
cooler) had a simple 1st-order dominant pole, with no discernible excess 
phase shift or attenuation until well past the practical loop closing 
frequency.  I was happily astonished.

-- 

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

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


#31222

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-04-15 14:32 -0400
Message-ID<tp-dnbDP7O46rozKnZ2dnUU7-LPNnZ2d@supernews.com>
In reply to#31220
On 04/15/2016 02:11 PM, Tim Wescott wrote:
> On Fri, 15 Apr 2016 14:04:05 -0400, Phil Hobbs wrote:
> 
>> On 04/15/2016 01:35 PM, Tim Wescott wrote:
>>> On Fri, 15 Apr 2016 09:31:49 -0700, Tim Wescott wrote:
>>>
>>>> rickman <gnuarm@gmail.com> Wrote in message:
>>>>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>>>>> On 15.4.16 02:11, rickman 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.
>>>>>>
>>>>>>
>>>>>> Rick:
>>>>>>
>>>>>> Every motor is also a generator. For a motor with constant
>>>>>> magnetization, the back EMF is proportional to the speed and the
>>>>>> motor torque is proportional to the current.
>>>>>>
>>>>>> You can model such a motor with a series connection of the supply
>>>>>> voltage, the motor (and line) resistance and the back EMF. The motor
>>>>>> settles to a speed near such speed that the difference between
>>>>>> supply voltage and back EMF runs just enough current in the circuit
>>>>>> to compensate for torque needed to keep the speed.
>>>>>>
>>>>>> If you feed a constant-magnetized motor with a constant current
>>>>>> supply, the torque stays constant until the compliance limit of the
>>>>>> feed supply.
>>>>>
>>>>> Ok, that all makes sense and is what is being described in the paper.
>>>>> The drive is current rather than voltage and will produce the result
>>>>> shown in the diagram until the max voltage of the supply is reached.
>>>>> Thanks.
>>>>>
>>>>> I still don't get equation 3.  I searched a bit and could not find
>>>>> anything similar.  All the other references I found on the web use
>>>>> the Laplace transform to perform the math and don't produce a similar
>>>>> equation.
>>>>>
>>>>> Trying to find info on the web for control theory really opens a
>>>>> rabbit hole, lol.
>>>>>
>>>>> --
>>>>>
>>>>> Rick
>>>>>
>>>>>
>>>> Thermal systems are generally far more complex than equation 3
>>>>  implies. That one really should be taken just add the equation used
>>>>  to generate the plant model, nothing more.
>>>>
>>>> Pragmatically, if you need to wrap a control loop around a thermal
>>>>  plant, you should probably close your eyes to the theory and either
>>>>  tune it up by the seat of your pants (as in that paper),
>>>>  or you should use measured responses (which I cover briefly in
>>>>  another paper, and at length in my book).
>>>
>>> I double-checked, and I kind of allude to this but I need to SAY this
>>> in the text.  Thermal systems are generally sluggish with lots of high-
>>> frequency roll-off.  The model chosen is sluggish with lots of high-
>>> frequency roll-off.  That's about the extent of the accuracy of the
>>> model, in general.  On a good day the chosen model may actually match a
>>> real thermal system well enough to work with -- but it's not to be
>>> taken as a generally accurate model, where equations 1 and 2 are
>>> generally much more applicable.
>>
>> Lots of high frequency rolloff and even more high frequency phase shift.
>>  In thermal diffusion, you get another radian for every 1/e amplitude
>> decay, which makes PID kind of disappointing IME.
>>
>> My TC loops are always pretty simple--diode lasers on TECs, or
>> resonators with a heater--but after the nonlinearity is taken out, I can
>> usually get away with a plant model of a time delay followed by an
>> integrator.  You can read the parameters right off the scope trace.  I'm
>> perfectly sure that was invented a very long time ago, but it works
>> great for smallish stuff.
> 
> I may change my model.
> 
> Probably the most important temperature loop I've ever closed (the 
> temperature of a focal plane array, cooled by a split-cycle Stirling 
> cooler) had a simple 1st-order dominant pole, with no discernible excess 
> phase shift or attenuation until well past the practical loop closing 
> frequency.  I was happily astonished.
> 

Plus you were a hero.  It's nice when things work out that way.

One time when I was a post-doc, a colleague needed a notch filter to get
rid of a 30-kHz resonance in the piezo tube actuator of the STM he was
building.  I reached into my bench drawer, pulled out a largish Pulse
Engineering transformer, and parallel-resonated both sides with a 0.1 uF
cap on it, just as a first try.

Stuck a sweep generator and scope on it, and what came out was a nearly
symmetrical two-bump notch exactly at 30 kHz, with a Q of about 30.

Then of course I just quietly handed it to him, smiled, and went back to
work. Never did let slip that it was a total fluke. ;)

I still don't know where the beautiful two-bump notch shape came
from--leakage inductance and capacitor tolerance, I suppose.

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]


#31215

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 13:51 -0400
Message-ID<ner9h3$7q7$3@dont-email.me>
In reply to#31204
On 4/15/2016 12:31 PM, Tim Wescott wrote:
> rickman <gnuarm@gmail.com> Wrote in message:
>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>> On 15.4.16 02:11, rickman 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.
>>>
>>>
>>> Rick:
>>>
>>> Every motor is also a generator. For a motor with constant
>>> magnetization, the back EMF is proportional to the speed and
>>> the motor torque is proportional to the current.
>>>
>>> You can model such a motor with a series connection of the
>>> supply voltage, the motor (and line) resistance and the back
>>> EMF. The motor settles to a speed near such speed that the
>>> difference between supply voltage and back EMF runs just enough
>>> current in the circuit to compensate for torque needed to keep
>>> the speed.
>>>
>>> If you feed a constant-magnetized motor with a constant current
>>> supply, the torque stays constant until the compliance limit
>>> of the feed supply.
>>
>> Ok, that all makes sense and is what is being described in the paper.
>> The drive is current rather than voltage and will produce the result
>> shown in the diagram until the max voltage of the supply is reached.
>> Thanks.
>>
>> I still don't get equation 3.  I searched a bit and could not find
>> anything similar.  All the other references I found on the web use the
>> Laplace transform to perform the math and don't produce a similar equation.
>>
>> Trying to find info on the web for control theory really opens a rabbit
>> hole, lol.
>>
>> --
>>
>> Rick
>>
>
> Thermal systems are generally far more complex than equation 3
>   implies. That one really should be taken just add the equation
>   used to generate the plant model, nothing more.
>
> Pragmatically, if you need to wrap a control loop around a thermal
>   plant, you should probably close your eyes to the theory and
>   either tune it up by the seat of your pants (as in that paper),
>   or you should use measured responses (which I cover briefly in
>   another paper, and at length in my book).

Yes, I understand a real system may be more complicated.  But as I've 
said before, if I can't understand what an equation means, I have a very 
hard time understanding how to use it.  I just need to "get" the 
equations you use as examples.  This one eludes me and you seem to be 
saying you sort of made it up without a physical basis.  You said you 
invented not one, but two time constants.

-- 

Rick

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


#31216

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:57 -0500
Message-ID<xdGdnTsxP7AetozKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#31215
On Fri, 15 Apr 2016 13:51:41 -0400, rickman wrote:

> On 4/15/2016 12:31 PM, Tim Wescott wrote:
>> rickman <gnuarm@gmail.com> Wrote in message:
>>> On 4/15/2016 5:28 AM, Tauno Voipio wrote:
>>>> On 15.4.16 02:11, rickman 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.
>>>>
>>>>
>>>> Rick:
>>>>
>>>> Every motor is also a generator. For a motor with constant
>>>> magnetization, the back EMF is proportional to the speed and the
>>>> motor torque is proportional to the current.
>>>>
>>>> You can model such a motor with a series connection of the supply
>>>> voltage, the motor (and line) resistance and the back EMF. The motor
>>>> settles to a speed near such speed that the difference between supply
>>>> voltage and back EMF runs just enough current in the circuit to
>>>> compensate for torque needed to keep the speed.
>>>>
>>>> If you feed a constant-magnetized motor with a constant current
>>>> supply, the torque stays constant until the compliance limit of the
>>>> feed supply.
>>>
>>> Ok, that all makes sense and is what is being described in the paper.
>>> The drive is current rather than voltage and will produce the result
>>> shown in the diagram until the max voltage of the supply is reached.
>>> Thanks.
>>>
>>> I still don't get equation 3.  I searched a bit and could not find
>>> anything similar.  All the other references I found on the web use the
>>> Laplace transform to perform the math and don't produce a similar
>>> equation.
>>>
>>> Trying to find info on the web for control theory really opens a
>>> rabbit hole, lol.
>>>
>>> --
>>>
>>> Rick
>>>
>>>
>> Thermal systems are generally far more complex than equation 3
>>   implies. That one really should be taken just add the equation used
>>   to generate the plant model, nothing more.
>>
>> Pragmatically, if you need to wrap a control loop around a thermal
>>   plant, you should probably close your eyes to the theory and either
>>   tune it up by the seat of your pants (as in that paper),
>>   or you should use measured responses (which I cover briefly in
>>   another paper, and at length in my book).
> 
> Yes, I understand a real system may be more complicated.  But as I've
> said before, if I can't understand what an equation means, I have a very
> hard time understanding how to use it.  I just need to "get" the
> equations you use as examples.  This one eludes me and you seem to be
> saying you sort of made it up without a physical basis.  You said you
> invented not one, but two time constants.

Here's how you use that equation within the intended context of the paper:

* Look at it.
* Say "oh, it's math".
* move on.

Seriously.  If you're not trying to duplicate the examples, you _do not 
need the math_.  That's the point of the paper.

-- 

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

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


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

Back to top | Article view | comp.dsp


csiph-web