TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PID Controller: A Simple Control Loop Mechanism

115 pointsby vackosaralmost 4 years ago

9 comments

oceanghostalmost 4 years ago
If I may recommend &quot;PID without a PHD&quot;<p><a href="https:&#x2F;&#x2F;www.wescottdesign.com&#x2F;articles&#x2F;pid&#x2F;pidWithoutAPhd.pdf" rel="nofollow">https:&#x2F;&#x2F;www.wescottdesign.com&#x2F;articles&#x2F;pid&#x2F;pidWithoutAPhd.pd...</a>
valbacaalmost 4 years ago
I worked with a PID controller in college. It&#x27;s a concept that&#x27;s stuck with me to this day.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PID_controller" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PID_controller</a><p>Proportional–integral–derivative<p>P: proportional, this one is obvious. Water is WAY too cold, turn the knob WAY up<p>I: integral, how long does it take for feedback to take effect. You don&#x27;t want to turn the knob up and up each second if it takes 10 seconds for the change to take effect.<p>D: derivative, a bit trickier.<p>What&#x27;s really interesting is seeing how humans apply these concepts, which are so intuitive to things like balance, we don&#x27;t even think about them. In face we&#x27;ll apply them to where they don&#x27;t apply or are faulty. You&#x27;ll see it when people learn to back up a car for the first time or start winning at blackjack.
评论 #27320946 未加载
评论 #27322086 未加载
评论 #27325471 未加载
cardosofalmost 4 years ago
Saw PID in college and as a course project designed one to control room heating systems. Years later worked on one to control ads spending.
评论 #27325209 未加载
评论 #27323555 未加载
Animatsalmost 4 years ago
Wasn&#x27;t there an HN article recently which linked to a useful site on PID controller tuning? That was interesting. PID controllers are easy to create but hard to tune.
评论 #27320772 未加载
lazzlazzlazzalmost 4 years ago
There&#x27;s an interesting crypto protocol called Reflexer[1] that uses a PID loop to alter interest rates and incentives to maintain the stability of a stablecoin&#x2F;debt coupon called Rai.<p>This allows the asset to remain relatively stable[2] in response to actual market forces. At the time of posting there are over $35m worth of Rai in circulation[3].<p>[1]: <a href="https:&#x2F;&#x2F;reflexer.finance&#x2F;faq" rel="nofollow">https:&#x2F;&#x2F;reflexer.finance&#x2F;faq</a><p>[2]: <a href="https:&#x2F;&#x2F;stats.reflexer.finance&#x2F;" rel="nofollow">https:&#x2F;&#x2F;stats.reflexer.finance&#x2F;</a><p>[3]: <a href="https:&#x2F;&#x2F;coinmarketcap.com&#x2F;currencies&#x2F;rai&#x2F;" rel="nofollow">https:&#x2F;&#x2F;coinmarketcap.com&#x2F;currencies&#x2F;rai&#x2F;</a>
zubspacealmost 4 years ago
I&#x27;ve used PID controllers for some things in game development, but mostly for simple stuff like specifying a target velocity.<p>What I always have problems with, is using pid controllers for angular movements. Like turning an object to a desired angle or approaching a desired angular velocity. Are PID controllers suited for this task? For example: You want to turn right and specify a large angular velocity. But now, after a few turns the integral part adds up to a huge value. Then you want to turn back, but now the response is very slow, because of the large integral part. Never got around this problem. How would you approach this?
评论 #27323769 未加载
评论 #27323738 未加载
lamontcgalmost 4 years ago
When you&#x27;ve figured out PIDs then its time to try a Linear Quadratic Regulator:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;The___Missile&#x2F;status&#x2F;1378190268520927234" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;The___Missile&#x2F;status&#x2F;1378190268520927234</a>
评论 #27341659 未加载
mbilalalmost 4 years ago
I remember using <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ziegler%E2%80%93Nichols_method" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ziegler%E2%80%93Nichols_method</a><p>in college to tune PID controllers in C. Fun times.
xupybdalmost 4 years ago
I&#x27;m tempted to try this for our logistics forecasting. PID seems perfect but it really breaks the KISS principle.
评论 #27330996 未加载