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


Groups > comp.dsp > #31180

Re: PID Without a PhD, Finally

From rickman <gnuarm@gmail.com>
Newsgroups comp.dsp, sci.electronics.design, comp.arch.embedded
Subject Re: PID Without a PhD, Finally
Date 2016-04-14 21:50 -0400
Organization A noiseless patient Spider
Message-ID <neph64$hkn$1@dont-email.me> (permalink)
References <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com> <nep7t2$rok$1@dont-email.me> <wpydnba9wr8At43KnZ2dnUU7-WWdnZ2d@giganews.com>

Cross-posted to 3 groups.

Show all headers | View raw


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

Back to comp.dsp | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web