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


Groups > comp.arch.embedded > #23614 > unrolled thread

PID Without a PhD, Finally

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

Back to article view | Back to comp.arch.embedded


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 Les Cargill <lcargill99@comcast.com> - 2016-04-28 22:02 -0500
              Re: PID Without a PhD, Finally M Philbrook <jamie_ka1lpa@charter.net> - 2016-04-30 20:12 -0400
              Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 10:50 -0700
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-02 13:14 -0500
                  Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-02 17:26 -0700
                    Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-05-02 17:57 -0700
                      Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-05-03 17:16 +0100
                      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-03 17:23 -0500
                        Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-05-03 17:07 -0700
                          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-05-04 11:37 -0500
                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 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 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 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 Christian Gollwitzer <auriocus@gmx.de> - 2016-04-16 09:25 +0200
    Re: PID Without a PhD, Finally OG <AIEO@AIOESPAM.COM> - 2016-04-17 10:12 -0700
    Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 11:12 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 13:46 -0500

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


#23624

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 21:57 -0400
Message-ID<nephjg$ihh$1@dont-email.me>
In reply to#23623
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]


#23625

Fromrickman <gnuarm@gmail.com>
Date2016-04-14 21:58 -0400
Message-ID<nephm0$ihh$2@dont-email.me>
In reply to#23624
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]


#23631

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


#23638

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 11:29 -0400
Message-ID<ner16n$92v$1@dont-email.me>
In reply to#23631
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]


#23639

FromTim Wescott <Tim@seemywebsite.com>
Date2016-04-15 09:31 -0700
Message-ID<QpudnbLvl7PriozKnZ2dnUU7-afNnZ2d@giganews.com>
In reply to#23638
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]


#23644

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:35 -0500
Message-ID<xdGdnT8xP7DWu4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#23639
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]


#23651

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-04-15 14:04 -0400
Message-ID<ceSdnblDi9SIsIzKnZ2dnUU7-KfNnZ2d@supernews.com>
In reply to#23644
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]


#23652

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 13:11 -0500
Message-ID<xdGdnTExP7BZs4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#23651
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]


#23654

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2016-04-15 14:32 -0400
Message-ID<tp-dnbDP7O46rozKnZ2dnUU7-LPNnZ2d@supernews.com>
In reply to#23652
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]


#23647

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 13:51 -0400
Message-ID<ner9h3$7q7$3@dont-email.me>
In reply to#23639
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]


#23648

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:57 -0500
Message-ID<xdGdnTsxP7AetozKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#23647
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]


#23671

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 18:12 -0400
Message-ID<neroqm$9vc$1@dont-email.me>
In reply to#23648
On 4/15/2016 1:57 PM, Tim Wescott wrote:
> 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.

Then there is no point in including it is there?  I run into this sort 
of thing in reviewing presentations.  An item is inserted, but not 
clearly.  I point out the shortcoming and get the reply that it isn't 
important to the presentation.  I ask them why it's in there then.

I'm not trying to duplicate the examples, I'm trying to understand them. 
  The math, presented in a clear way, helps.

It doesn't have to be exhaustive, but it at least needs to be clear. 
Including equations that can't be easily found other places with an 
explanation only confuses the matter.  Or did I miss some sources I 
should have found?

-- 

Rick

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


#23620

FromClifford Heath <no.spam@please.net>
Date2016-04-15 03:37 +1000
Message-ID<5710315b$0$53737$c3e8da3$3304c218@news.astraweb.com>
In reply to#23614
On 15/04/16 08:03, 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

Thanks - passed on to folk who might benefit.

One thing - in the text for Figure 5, you say "magnet is attached
to the stage, which moves with an acceleration proportional to the
coil current."

I've done exactly this with a large voice coil (4" diameter, 4" throw)
with a constant *voltage*, and you get a *speed* proportional to the
voltage, although the current quickly settles to a constant (-ish).
I'm sure I don't need to explain why - but it might be worth
mentioning back EMF at some point. It was a surprise to me, initially.

Clifford Heath.

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


#23621

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-14 19:12 -0500
Message-ID<wpydnbO9wr9wrI3KnZ2dnUU7-WWdnZ2d@giganews.com>
In reply to#23620
On Fri, 15 Apr 2016 03:37:58 +1000, Clifford Heath wrote:

> On 15/04/16 08:03, 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
> 
> Thanks - passed on to folk who might benefit.
> 
> One thing - in the text for Figure 5, you say "magnet is attached to the
> stage, which moves with an acceleration proportional to the coil
> current."
> 
> I've done exactly this with a large voice coil (4" diameter, 4" throw)
> with a constant *voltage*, and you get a *speed* proportional to the
> voltage, although the current quickly settles to a constant (-ish). I'm
> sure I don't need to explain why - but it might be worth mentioning back
> EMF at some point. It was a surprise to me, initially.
> 
> Clifford Heath.

I think maybe I should write a white paper on how motors work.  The 
principle of voice-coil motor behavior is pretty much the same as motors 
that turn in circles.

-- 

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

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


#23629

FromRalph Barone <ralph@invalid.com>
Date2016-04-15 06:05 +0000
Message-ID<neq0bt$1bhr$1@gioia.aioe.org>
In reply to#23621
Tim Wescott <seemywebsite@myfooter.really> wrote:
> On Fri, 15 Apr 2016 03:37:58 +1000, Clifford Heath wrote:
> 
>> On 15/04/16 08:03, 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
>> 
>> Thanks - passed on to folk who might benefit.
>> 
>> One thing - in the text for Figure 5, you say "magnet is attached to the
>> stage, which moves with an acceleration proportional to the coil
>> current."
>> 
>> I've done exactly this with a large voice coil (4" diameter, 4" throw)
>> with a constant *voltage*, and you get a *speed* proportional to the
>> voltage, although the current quickly settles to a constant (-ish). I'm
>> sure I don't need to explain why - but it might be worth mentioning back
>> EMF at some point. It was a surprise to me, initially.
>> 
>> Clifford Heath.
> 
> I think maybe I should write a white paper on how motors work.  The 
> principle of voice-coil motor behavior is pretty much the same as motors 
> that turn in circles.

Thanks Tim. That last sentence rang a bell in my head and turned on a
light. I guess I officially "learned something" today. 

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


#23622

Fromquiasmox@yahoo.com
Date2016-04-14 20:10 -0500
Message-ID<cof0hbheh8thoolrb8l36ea5q6tpconhtl@4ax.com>
In reply to#23614
On Thu, 14 Apr 2016 17:03:53 -0500, Tim Wescott
<seemywebsite@myfooter.really> 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

The boxed equations don't have any equals signs. I imagine that's
stuff that's understood, but maybe not for everyone.

-- 
John

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


#23626

FromTim Wescott <tim@seemywebsite.com>
Date2016-04-14 23:06 -0500
Message-ID<O_KdnVCCifte9Y3KnZ2dnUU7-fOdnZ2d@giganews.com>
In reply to#23622
On Thu, 14 Apr 2016 20:10:23 -0500, quiasmox wrote:

> On Thu, 14 Apr 2016 17:03:53 -0500, Tim Wescott
> <seemywebsite@myfooter.really> 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
> 
> The boxed equations don't have any equals signs. I imagine that's stuff
> that's understood, but maybe not for everyone.

Do too.

I've gotten this report before, and I think it's something about the way 
that LaTeX renders pdf files, and then the way that Adobe renders those 
pdf files on some screens.  I would really appreciate it if you could 
email me a screen shot so that I can file a bug report with the LaTeX 
folks, or ask for a work-around.

tim AT wescottdesign DOT com.

Thanks in advance.

-- 
www.wescottdesign.com

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


#23627

Fromquiasmox@yahoo.com
Date2016-04-14 23:46 -0500
Message-ID<lbs0hb99ki33n6798trvl899urcq3r0hf9@4ax.com>
In reply to#23626
On Thu, 14 Apr 2016 23:06:27 -0500, Tim Wescott <tim@seemywebsite.com>
wrote:

>On Thu, 14 Apr 2016 20:10:23 -0500, quiasmox wrote:
>
>> On Thu, 14 Apr 2016 17:03:53 -0500, Tim Wescott

{message trimmed}
>>>http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf
>> 
>> The boxed equations don't have any equals signs. I imagine that's stuff
>> that's understood, but maybe not for everyone.
>
>Do too.
>
>I've gotten this report before, and I think it's something about the way 
>that LaTeX renders pdf files, and then the way that Adobe renders those 
>pdf files on some screens.  I would really appreciate it if you could 
>email me a screen shot so that I can file a bug report with the LaTeX 
>folks, or ask for a work-around.
>
>tim AT wescottdesign DOT com.
>
>Thanks in advance.

Ok, I downloaded the file instead of looking at it in the browser, and
the equals signs are fine. I've sent you an email with the screenshots
from within the browser.

-- 
John

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


#23630

Fromo pere o <me@somewhere.net>
Date2016-04-15 11:23 +0200
Message-ID<neqblp$o1t$1@dont-email.me>
In reply to#23614
On 15/04/16 00:03, 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
>
A very nice work. I seem to remember that you already had a previous 
version of it, didn't you?

It was a surprise to see that the D box input (and pehaps P) is taken 
from the feedback and not the error signal, as os usual in most 
textbooks. For constant or slow varying commands, it makes no 
difference. Is this arrangement an empirical result?

Pere

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


#23640

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:18 -0500
Message-ID<xdGdnQMxP7Dqv4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#23630
On Fri, 15 Apr 2016 11:23:26 +0200, o pere o wrote:

> On 15/04/16 00:03, 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
>>
> A very nice work. I seem to remember that you already had a previous
> version of it, didn't you?

Yes.  It was published in Embedded Systems Design magazine back in 2000 
or something.  For years I've just pointed to their version in my 
website, but they keep moving it around as their priorities change.

> It was a surprise to see that the D box input (and pehaps P) is taken
> from the feedback and not the error signal, as os usual in most
> textbooks. For constant or slow varying commands, it makes no
> difference. Is this arrangement an empirical result?

Textbooks make things easy to understand.  Practitioners make things work 
well.  (Snarkity-snark).

I kind of allude to this in the text -- I could add a section.  
Basically, if you feed the entire error signal to the PID controller then 
when you have a step-change in the input you just hammer the output 
driver of the controller.  Sometimes this is a good thing, because you 
get snappier response from the plant.  Sometimes this is a bad thing, 
because if you've got a lot of extraneous changes in the command you can 
heat up (or wear out, or whatever) your output driver.

-- 

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

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


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

Back to top | Article view | comp.arch.embedded


csiph-web