Obligatory link to PID without a PhD: https://www.wescottdesign.com/articles/pid/pidWithoutAPhd.pd...
Proportional-Integral-Derivative (PID) controllers
51–60 of 65 posts
Re: Proportional-Integral-Derivative (PID) controllers
#52Honest question: are wiki links to any technical topic post worthy now?
At least for me, it's not about the wiki link. I'm here for the comments, the stories, anecdotes, related deep Diving links and general chit chat. If you view the link as "this is the control systems thread for today", all the upvoter make a lot more sense.
Re: Proportional-Integral-Derivative (PID) controllers
#53My personal exposure to the PID algorithm was my GPU fan. There is supposed to be some sort of internal fan curve to control it's speed but mine was not working, crashes everywhere. I Could still set the speed by hand. and while I was putting together a sort of hacky user space fan curve I had an epiphany. I Don't actually want a fan curve. I want to set an ideal temperature and have the computer figure out what fan…
why not just set maximum speed and forget about it?
My computer sits next to my desk, so I want it to be as quiet as possible. This means the fan should run as the lowest speed which maintains a reasonable temperature, so at the very least there should be some kind of mapping between temperature and fan speed.
However, a rapidly-changing fan speed results in a more annoying sound than a slightly faster fan, and chip temperatures can ramp fast, so a simple linear mapping between temperature and fan speed isn't enough. To get a quiet fan in an environment where you are, say, loading the CPU to 100% for 100ms every second, the fan controller should be able to average out the heat production and let the fan run at a steady speed. After all, the cooler is a big chunk of metal, so its temperature will never ramp as fast as the core itself, so a rapid fan speed response is pointless.
Re: Proportional-Integral-Derivative (PID) controllers
#54Earlier quoted context omitted.
Yeah, kind of hilarious to me that this was posted here. I suppose if you’ve never encountered control systems at all before they are quite simple, elegant, and cool, but I’m surprised any technical person hasn’t come across them at some point.
https://xkcd.com/1053/
Re: Proportional-Integral-Derivative (PID) controllers
#55The fascination of programmer types with classical control and estimation topics is endlessly interesting as someone who studied control and estimation and hangs out here for interest in the programming. For me it was surprising to see that JEPA is a model predictive control algorithm it an almost literal sense; I guess I’m happy to have studied what I chose when I was 18.
Yeah, kind of hilarious to me that this was posted here. I suppose if you’ve never encountered control systems at all before they are quite simple, elegant, and cool, but I’m surprised any technical person hasn’t come across them at some point.
Re: Proportional-Integral-Derivative (PID) controllers
#56Re: Proportional-Integral-Derivative (PID) controllers
#57My personal exposure to the PID algorithm was my GPU fan. There is supposed to be some sort of internal fan curve to control it's speed but mine was not working, crashes everywhere. I Could still set the speed by hand. and while I was putting together a sort of hacky user space fan curve I had an epiphany. I Don't actually want a fan curve. I want to set an ideal temperature and have the computer figure out what fan…
No futzing with software needed.
Reminds me of Dave "EEVblog" Jones' in his "always give negative feedback" T-shirt.
(for those who don't know: it's a reference to opamps)
Re: Proportional-Integral-Derivative (PID) controllers
#58Earlier quoted context omitted.
> Eventually, I suspect we will replace most PIDs with a small neural network for almost all industrial applications With or without serverless lambda architecture bitcoins ?
Depends on how they address the side fumbling between the Spurving bearing and the Dingle arm, vis-a-vis the lotuso-toroidal damping force.
Re: Proportional-Integral-Derivative (PID) controllers
#59Earlier quoted context omitted.
I signed up for one of the first MOOCs ever, about self driving cars by Sebastian Thrun, and of course PID was part of the curriculum. I think that PID hits a certain sweet spot between cleverness, ease of implementation and practical utility that makes it catnip for the typical programmer's mind. I liked it so much that when we had to implement it, I downloaded an open source driving simulator to see it work there i…
> I think that PID hits a certain sweet spot between cleverness, ease of implementation and practical utility that makes it catnip for the typical programmer's mind. It's easy to implement, but hard to tune. PID controllers can be built from analog pneumatic components, and often are.[1] This predates computer control. The I term is called "Reset" and the D term is called "Rate" in classical control. [1] https://cont…
Re: Proportional-Integral-Derivative (PID) controllers
#60Earlier quoted context omitted.
This isn’t meant to be an attack, but almost everything you say here is false. > PIDs are great but notoriously hard to tune. They require deep insight into the underlying physical phenomena to get right. They are also rather rigid and cannot adjust well to a changing environment (temperature and humidity can fluctuate dramatically between summer and winter in some climates). This is not true. PID controllers are oft…
I saw a crazy stat somewhere like some large fraction of the industrial PID controllers that are actually deployed in plants are completely untuned--that is, just running default settings. I think it was a book about tuning PID controllers, but I don't have the exact citation handy..