Shop OBEX P1 Docs P2 Docs Learn Events
How do you explain something like a Microcontroller to a layman? - Page 3 — Parallax Forums

How do you explain something like a Microcontroller to a layman?

13»

Comments

  • I'm starting to scratch my head. A lot of people are describing PID very differently than I would. I'm in agreement with Heater again here.

    A couple more posts in disagreement with my thoughts on PID are going to waste a lot of hours while I dig around in all my dusty books.
  • kwinnkwinn Posts: 8,697
    @Heater

    Re: “That is not integral. It is differential”

    That is basically how every manual I have read and wikipedia describes the integral term. Perhaps a bit clearer and more detailed, but essentially the same. See: https://en.wikipedia.org/wiki/PID_controller
  • Heater.Heater. Posts: 21,230
    edited 2015-09-10 03:42
    kwinn,

    There is some confusion going on here. Any manual that makes a statement equivalent to "Integral - is the applied force based on the rate of change of the error." is just wrong.

    The term based on rate of change of error is the "differential" or "derivative" term.

    The integral term is based on the cumulative sum of the error over time. The integral.

    The wikipedia article you linked to states it correctly and clearly in this equation

    ad135a1acd2a229d676881ad22a92157.png

    and then spells it out in English: "D accounts for predicted future values of the error, based on its current rate of change."

  • evanhevanh Posts: 15,918
    Heater,
    The details of implementation are not rigid. There is many variations including things like spitting the terms up into separate feedforward and feedback components.
  • I woke up today realizing I had been dreaming about applying P-I-D to stock market investment!

    I guess we all desire some control in our lives.
  • kwinnkwinn Posts: 8,697
    I woke up today realizing I had been dreaming about applying P-I-D to stock market investment!

    I guess we all desire some control in our lives.

    Perhaps just the "D" portion can be used since "D accounts for predicted future values of the error, based on its current rate of change.".
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2015-09-10 15:07
    The stock market idea is nonsense. Mostly what I dreamt the night before seems to be that way... amusing, but impossible.

    a. I don't have the wealth to control the entire stock market.
    b. I have no ability to set price targets to which others will comply.

    With motor control, we should start with enough power to drive a motor from a complete stall into optimal speed. And we should be able to drive the motor in either direction or to a stand-still

    In investment, there are:
    A. Those that make the market (that a fee for buying and selling and make a profit regardless.
    B. Those that follow the market (most of us)
    C. Those that lead the market (Perhaps the Federal Reserve, the Bank of England, et al.)

    Trying to transfer the modeling might take quite a bit of modification.
Sign In or Register to comment.