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


Groups > sci.electronics.design > #407563 > 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 98 — 31 participants

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


Contents

  PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:03 -0500
    Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 15:09 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:47 -0500
    Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 15:39 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 17:46 -0500
      Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 19:16 -0400
    Re: PID Without a PhD, Finally bitrex <bitrex@de.lete.earthlink.net> - 2016-04-14 19:00 -0400
    Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-14 19:09 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:25 -0500
      Re: PID Without a PhD, Finally DaveC <not@home.cow> - 2016-04-14 22:53 -0700
        Re: PID Without a PhD, Finally DJ Delorie <dj@delorie.com> - 2016-04-15 14:31 -0400
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:02 -0500
        Re: PID Without a PhD, Finally Paul Rubin <no.email@nospam.invalid> - 2016-04-26 00:30 -0700
          Re: PID Without a PhD, Finally Andre Lodwig <lodwig@pathme.de> - 2016-04-26 09:45 +0200
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 12:08 -0500
            Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-26 18:11 -0700
              Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-26 21:22 -0400
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:50 -0500
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-26 19:34 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:39 -0500
      Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 17:07 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-26 20:50 -0400
          Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:57 -0500
        Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-26 21:45 -0500
          Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-27 10:16 -0700
            Re: PID Without a PhD, Finally Les Cargill <lcargill99@comcast.com> - 2016-04-28 22:02 -0500
    Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 19:11 -0400
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 18:41 -0500
        Re: PID Without a PhD, Finally mrdarrett@gmail.com - 2016-04-14 16:43 -0700
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:50 -0400
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:57 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-14 21:58 -0400
      Re: PID Without a PhD, Finally Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-04-15 12:28 +0300
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 11:29 -0400
          Re: PID Without a PhD, Finally Tim Wescott  <Tim@seemywebsite.com> - 2016-04-15 09:31 -0700
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:35 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:04 -0400
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:11 -0500
                  Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:32 -0400
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:51 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:57 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 18:12 -0400
    Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-15 03:37 +1000
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-14 19:12 -0500
        Re: PID Without a PhD, Finally Ralph Barone <ralph@invalid.com> - 2016-04-15 06:05 +0000
    Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 20:10 -0500
      Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-14 23:06 -0500
        Re: PID Without a PhD, Finally quiasmox@yahoo.com - 2016-04-14 23:46 -0500
        Re: PID Without a PhD, Finally Phil Hobbs <pcdhobbs@gmail.com> - 2016-04-15 00:42 -0700
    Re: PID Without a PhD, Finally o pere o <me@somewhere.net> - 2016-04-15 11:23 +0200
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:18 -0500
    Re: PID Without a PhD, Finally Peter Mairhofer <63832452@gmx.net> - 2016-04-15 03:46 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:19 -0500
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:43 +0100
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:32 -0500
        Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:47 -0400
          Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:00 -0500
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 14:42 -0400
              Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 14:02 -0500
                Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 16:04 -0400
          Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-16 09:12 +0000
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 13:35 +0200
            Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-16 12:34 -0400
              Re: PID Without a PhD, Finally Jasen Betts <jasen@xnet.co.nz> - 2016-04-17 08:12 +0000
        Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:27 +0300
          Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:32 +1000
    Re: PID Without a PhD, Finally Paul <paul@pcserviceselectronics.co.uk> - 2016-04-15 14:31 +0100
      Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 10:20 -0400
      Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 17:25 +0200
        Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:30 -0500
          Re: PID Without a PhD, Finally rickman <gnuarm@gmail.com> - 2016-04-15 13:44 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:59 -0500
          Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-15 20:37 +0200
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:53 -0500
              Re: PID Without a PhD, Finally Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-04-15 12:41 -0700
              Re: PID Without a PhD, Finally Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-15 23:40 +0300
                Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 16:44 -0500
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:16 +0200
          Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 14:48 -0400
            Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 13:59 -0500
              Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:23 -0400
              Re: PID Without a PhD, Finally Clifford Heath <no.spam@please.net> - 2016-04-16 12:41 +1000
              Re: PID Without a PhD, Finally David Brown <david.brown@hesbynett.no> - 2016-04-16 18:21 +0200
            Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-15 21:19 +0200
              Re: PID Without a PhD, Finally Tim Wescott <tim@seemywebsite.com> - 2016-04-15 15:05 -0500
                Re: PID Without a PhD, Finally Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-04-15 16:18 -0400
                Re: PID Without a PhD, Finally Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-04-16 19:52 +0200
    Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-15 10:18 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 12:41 -0500
        Re: PID Without a PhD, Finally Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-04-15 12:47 -0700
          Re: PID Without a PhD, Finally "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-04-16 16:17 -0500
        Re: PID Without a PhD, Finally George Herold <gherold@teachspin.com> - 2016-04-15 17:55 -0700
    Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-15 19:38 -0500
    Re: PID Without a PhD, Finally John S <Sophi.2@invalid.org> - 2016-04-15 22:02 -0500
    Re: PID Without a PhD, Finally Christian Gollwitzer <auriocus@gmx.de> - 2016-04-16 09:25 +0200
    Re: PID Without a PhD, Finally OG <AIEO@AIOESPAM.COM> - 2016-04-17 10:12 -0700
    Re: PID Without a PhD, Finally John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-26 11:12 -0700
      Re: PID Without a PhD, Finally Tim Wescott <seemywebsite@myfooter.really> - 2016-04-26 13:46 -0500

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


#407685

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


#407752

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 18:12 -0400
Message-ID<neroqm$9vc$1@dont-email.me>
In reply to#407685
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]


#407592

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#407563
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]


#407593

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-14 19:12 -0500
Message-ID<wpydnbO9wr9wrI3KnZ2dnUU7-WWdnZ2d@giganews.com>
In reply to#407592
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]


#407627

FromRalph Barone <ralph@invalid.com>
Date2016-04-15 06:05 +0000
Message-ID<neq0bt$1bhr$1@gioia.aioe.org>
In reply to#407593
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]


#407599

Fromquiasmox@yahoo.com
Date2016-04-14 20:10 -0500
Message-ID<cof0hbheh8thoolrb8l36ea5q6tpconhtl@4ax.com>
In reply to#407563
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]


#407616

FromTim Wescott <tim@seemywebsite.com>
Date2016-04-14 23:06 -0500
Message-ID<O_KdnVCCifte9Y3KnZ2dnUU7-fOdnZ2d@giganews.com>
In reply to#407599
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]


#407620

Fromquiasmox@yahoo.com
Date2016-04-14 23:46 -0500
Message-ID<lbs0hb99ki33n6798trvl899urcq3r0hf9@4ax.com>
In reply to#407616
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]


#407629

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2016-04-15 00:42 -0700
Message-ID<02c2be67-b4ec-4809-9b1c-0c837beda489@googlegroups.com>
In reply to#407616
>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. 

There are a few workarounds for this sort of problem that I've collected. I'm not at my computer, but IIRC the two main ones are specifying -j0 to dvips and then 
-dEmbedAllFonts to ps2pdf. 

Cheers

Phil Hobbs

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


#407631

Fromo pere o <me@somewhere.net>
Date2016-04-15 11:23 +0200
Message-ID<neqblp$o1t$1@dont-email.me>
In reply to#407563
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]


#407672

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


#407638

FromPeter Mairhofer <63832452@gmx.net>
Date2016-04-15 03:46 -0700
Message-ID<neqgqg$ni6$1@news.albasani.net>
In reply to#407563
On page 14 in the code, it should be pid->iState instead of iState right?

On 2016-04-14 15: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
> 

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


#407674

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:19 -0500
Message-ID<xdGdnQIxP7A1v4zKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#407638
On Fri, 15 Apr 2016 03:46:40 -0700, Peter Mairhofer wrote:

> On page 14 in the code, it should be pid->iState instead of iState
> right?
> 

Argh!  yes.  Thank you.



-- 

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

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


#407654

FromPaul <paul@pcserviceselectronics.co.uk>
Date2016-04-15 14:43 +0100
Message-ID<MPG.317b003f846826ae9897ef@172.16.0.1>
In reply to#407563
In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>, 
seemywebsite@myfooter.really says...
> 
> 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

OOps just spotted a terminology blunder

Page 2 
  The "PID" in "PID Control" stands for "Proportional, Integral, 
  Derivative".

Page 19

   Section Title is "Differential"  Should be "Derivative"

From there on you interchange differential and derivavtive all over 
the place.

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

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


#407676

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 12:32 -0500
Message-ID<xdGdnTwxP7ADuIzKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#407654
On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:

> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
> seemywebsite@myfooter.really says...
>> 
>> 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
> 
> OOps just spotted a terminology blunder
> 
> Page 2
>   The "PID" in "PID Control" stands for "Proportional, Integral,
>   Derivative".
> 
> Page 19
> 
>    Section Title is "Differential"  Should be "Derivative"
> 
> From there on you interchange differential and derivavtive all over the
> place.

That calls for clarification.  "Derivative" is the correct term if you're 
doing the work with continuous-time hardware (i.e. op-amps, resistors and 
capacitors).  "Differential" is the correct term if you're doing the work 
in sampled time.

So I need to figure out how to work that in.

-- 

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

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


#407680

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 13:47 -0400
Message-ID<ner98t$7q7$2@dont-email.me>
In reply to#407676
On 4/15/2016 1:32 PM, Tim Wescott wrote:
> On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:
>
>> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
>> seemywebsite@myfooter.really says...
>>>
>>> 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
>>
>> OOps just spotted a terminology blunder
>>
>> Page 2
>>    The "PID" in "PID Control" stands for "Proportional, Integral,
>>    Derivative".
>>
>> Page 19
>>
>>     Section Title is "Differential"  Should be "Derivative"
>>
>>  From there on you interchange differential and derivavtive all over the
>> place.
>
> That calls for clarification.  "Derivative" is the correct term if you're
> doing the work with continuous-time hardware (i.e. op-amps, resistors and
> capacitors).  "Differential" is the correct term if you're doing the work
> in sampled time.
>
> So I need to figure out how to work that in.

I was going to make that comment, but then I recalled the term my 
professor actually used was "difference equations".  "Differential 
equations" means something else, no?  I couldn't find any sources on 
this, so I didn't make the comment.  It's been far too long to trust my 
memory.

-- 

Rick

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


#407687

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 13:00 -0500
Message-ID<xdGdnTUxP7CgsYzKnZ2dnUU7-X-dnZ2d@giganews.com>
In reply to#407680
On Fri, 15 Apr 2016 13:47:18 -0400, rickman wrote:

> On 4/15/2016 1:32 PM, Tim Wescott wrote:
>> On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:
>>
>>> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
>>> seemywebsite@myfooter.really says...
>>>>
>>>> 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
>>>
>>> OOps just spotted a terminology blunder
>>>
>>> Page 2
>>>    The "PID" in "PID Control" stands for "Proportional, Integral,
>>>    Derivative".
>>>
>>> Page 19
>>>
>>>     Section Title is "Differential"  Should be "Derivative"
>>>
>>>  From there on you interchange differential and derivavtive all over
>>>  the
>>> place.
>>
>> That calls for clarification.  "Derivative" is the correct term if
>> you're doing the work with continuous-time hardware (i.e. op-amps,
>> resistors and capacitors).  "Differential" is the correct term if
>> you're doing the work in sampled time.
>>
>> So I need to figure out how to work that in.
> 
> I was going to make that comment, but then I recalled the term my
> professor actually used was "difference equations".  "Differential
> equations" means something else, no?  I couldn't find any sources on
> this, so I didn't make the comment.  It's been far too long to trust my
> memory.

"Differential equations" are what you need to describe things in a 
continuous-time world (the three equations in the paper are differential 
equations).

"Difference equations" are what you need to describe things in a discrete-
time world.

-- 

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

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


#407703

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 14:42 -0400
Message-ID<nercff$n1i$1@dont-email.me>
In reply to#407687
On 4/15/2016 2:00 PM, Tim Wescott wrote:
> On Fri, 15 Apr 2016 13:47:18 -0400, rickman wrote:
>
>> On 4/15/2016 1:32 PM, Tim Wescott wrote:
>>> On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:
>>>
>>>> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
>>>> seemywebsite@myfooter.really says...
>>>>>
>>>>> 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
>>>>
>>>> OOps just spotted a terminology blunder
>>>>
>>>> Page 2
>>>>     The "PID" in "PID Control" stands for "Proportional, Integral,
>>>>     Derivative".
>>>>
>>>> Page 19
>>>>
>>>>      Section Title is "Differential"  Should be "Derivative"
>>>>
>>>>   From there on you interchange differential and derivavtive all over
>>>>   the
>>>> place.
>>>
>>> That calls for clarification.  "Derivative" is the correct term if
>>> you're doing the work with continuous-time hardware (i.e. op-amps,
>>> resistors and capacitors).  "Differential" is the correct term if
>>> you're doing the work in sampled time.
>>>
>>> So I need to figure out how to work that in.
>>
>> I was going to make that comment, but then I recalled the term my
>> professor actually used was "difference equations".  "Differential
>> equations" means something else, no?  I couldn't find any sources on
>> this, so I didn't make the comment.  It's been far too long to trust my
>> memory.
>
> "Differential equations" are what you need to describe things in a
> continuous-time world (the three equations in the paper are differential
> equations).
>
> "Difference equations" are what you need to describe things in a discrete-
> time world.

So is the use of the title "Differential" correct or not?  I'm a bit 
confused.  Above you say "Derivative" is the term for use with 
continuous time systems and "Differential" is for sampled time systems. 
  Here you say "Differential" is the correct term for use with 
continuous time systems and "Difference" is used with sampled time systems.

-- 

Rick

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


#407708

FromTim Wescott <seemywebsite@myfooter.really>
Date2016-04-15 14:02 -0500
Message-ID<_p6dnY374PYmp4zKnZ2dnUU7-QOdnZ2d@giganews.com>
In reply to#407703
On Fri, 15 Apr 2016 14:42:00 -0400, rickman wrote:

> On 4/15/2016 2:00 PM, Tim Wescott wrote:
>> On Fri, 15 Apr 2016 13:47:18 -0400, rickman wrote:
>>
>>> On 4/15/2016 1:32 PM, Tim Wescott wrote:
>>>> On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:
>>>>
>>>>> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
>>>>> seemywebsite@myfooter.really says...
>>>>>>
>>>>>> 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
>>>>>
>>>>> OOps just spotted a terminology blunder
>>>>>
>>>>> Page 2
>>>>>     The "PID" in "PID Control" stands for "Proportional, Integral,
>>>>>     Derivative".
>>>>>
>>>>> Page 19
>>>>>
>>>>>      Section Title is "Differential"  Should be "Derivative"
>>>>>
>>>>>   From there on you interchange differential and derivavtive all
>>>>>   over the
>>>>> place.
>>>>
>>>> That calls for clarification.  "Derivative" is the correct term if
>>>> you're doing the work with continuous-time hardware (i.e. op-amps,
>>>> resistors and capacitors).  "Differential" is the correct term if
>>>> you're doing the work in sampled time.
>>>>
>>>> So I need to figure out how to work that in.
>>>
>>> I was going to make that comment, but then I recalled the term my
>>> professor actually used was "difference equations".  "Differential
>>> equations" means something else, no?  I couldn't find any sources on
>>> this, so I didn't make the comment.  It's been far too long to trust
>>> my memory.
>>
>> "Differential equations" are what you need to describe things in a
>> continuous-time world (the three equations in the paper are
>> differential equations).
>>
>> "Difference equations" are what you need to describe things in a
>> discrete-
>> time world.
> 
> So is the use of the title "Differential" correct or not?  I'm a bit
> confused.  Above you say "Derivative" is the term for use with
> continuous time systems and "Differential" is for sampled time systems.
>   Here you say "Differential" is the correct term for use with
> continuous time systems and "Difference" is used with sampled time
> systems.

A differential equation uses derivatives.

A difference equation uses delays, but relies heavily on the concept of a 
first difference (x_n - x_{n-1}) if you're modeling real-world phenomenon.

Please don't blame me for the terminology -- folks have been using this 
since before I was born, I'm just the messenger.

-- 

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

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


#407723

Fromrickman <gnuarm@gmail.com>
Date2016-04-15 16:04 -0400
Message-ID<nerhaq$aoc$1@dont-email.me>
In reply to#407708
On 4/15/2016 3:02 PM, Tim Wescott wrote:
> On Fri, 15 Apr 2016 14:42:00 -0400, rickman wrote:
>
>> On 4/15/2016 2:00 PM, Tim Wescott wrote:
>>> On Fri, 15 Apr 2016 13:47:18 -0400, rickman wrote:
>>>
>>>> On 4/15/2016 1:32 PM, Tim Wescott wrote:
>>>>> On Fri, 15 Apr 2016 14:43:03 +0100, Paul wrote:
>>>>>
>>>>>> In article <wpydnbi9wr9Ujo3KnZ2dnUU7-WXNnZ2d@giganews.com>,
>>>>>> seemywebsite@myfooter.really says...
>>>>>>>
>>>>>>> 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
>>>>>>
>>>>>> OOps just spotted a terminology blunder
>>>>>>
>>>>>> Page 2
>>>>>>      The "PID" in "PID Control" stands for "Proportional, Integral,
>>>>>>      Derivative".
>>>>>>
>>>>>> Page 19
>>>>>>
>>>>>>       Section Title is "Differential"  Should be "Derivative"
>>>>>>
>>>>>>    From there on you interchange differential and derivavtive all
>>>>>>    over the
>>>>>> place.
>>>>>
>>>>> That calls for clarification.  "Derivative" is the correct term if
>>>>> you're doing the work with continuous-time hardware (i.e. op-amps,
>>>>> resistors and capacitors).  "Differential" is the correct term if
>>>>> you're doing the work in sampled time.
>>>>>
>>>>> So I need to figure out how to work that in.
>>>>
>>>> I was going to make that comment, but then I recalled the term my
>>>> professor actually used was "difference equations".  "Differential
>>>> equations" means something else, no?  I couldn't find any sources on
>>>> this, so I didn't make the comment.  It's been far too long to trust
>>>> my memory.
>>>
>>> "Differential equations" are what you need to describe things in a
>>> continuous-time world (the three equations in the paper are
>>> differential equations).
>>>
>>> "Difference equations" are what you need to describe things in a
>>> discrete-
>>> time world.
>>
>> So is the use of the title "Differential" correct or not?  I'm a bit
>> confused.  Above you say "Derivative" is the term for use with
>> continuous time systems and "Differential" is for sampled time systems.
>>    Here you say "Differential" is the correct term for use with
>> continuous time systems and "Difference" is used with sampled time
>> systems.
>
> A differential equation uses derivatives.
>
> A difference equation uses delays, but relies heavily on the concept of a
> first difference (x_n - x_{n-1}) if you're modeling real-world phenomenon.

I am familiar with the terminology, you seem to be using the terms 
irregularly.  What you say here is correct, but it doesn't clarify the 
confusion of your other statements.  Here you use both differential and 
derivative in the continuous time domain.  Elsewhere you have used the 
term differential for the discrete (sampled) time domain.

-- 

Rick

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


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

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


csiph-web