Comment

Comment by lmilcin

Why not something more intelligent than PID?

Control theory knows a lot more algorithms. PID is arguably simple to implement but is not particularly good algorithm.

It kinda seems to me as if everybody red only the first page on control theory and decided they don't need to read further and base their solution on it.

PID will basically have you experience either large overshoots (which you will experience as overcorrecting to changes in demand) or slow adaptation to changes.

There is also possibility that your system changes and your PID parameters will cause the whole controller to misbehave.

I have implemented a controller for espresso machine boiler water temperature. Replacing PID with moving horizon estimator allowed me to cut time from startup until stable temperature by at least half and eliminate any measurable over or undershoots.

parent lmilcin 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton