Hacker News new | ask | show | jobs
by guipinto 4464 days ago
I've been working on building an arduino-powered solution for this but for sinks, using 2 servos to control the hot/cold faucets and a waterproof temp sensor measuring/controlling the output. Initial challenge was easy, but I'm now having issues with the fact that the pipes cool/warm over time as they get used, and that doesn't seem to be playing well with the basic logic I have in place to keep the temp. balanced.
1 comments

Have a look at Model Predictive Control :).

It's one of the simpler methods beyond straight forward feedback systems.

https://controls.engin.umich.edu/wiki/index.php/MPC

Very cool. Thanks a lot for sharing, this is a perfect solution for what I'm encountering.