Hacker News new | ask | show | jobs
by LoSboccacc 2224 days ago
it's interesting but that not how thermostats work, sure they're on-off but they have hysteresis they don't keep switching

also you can use bang bang demo and inertia to orbit the thing moving the point on the tangent at the fastest approach, which is awesome.

1 comments

The thermostat he describes is not stateless, the key phrase is "When the temperature is too high by some amount" (emphasis mine) -- the thermostat will turn on outside a particular range.

This matches my understanding of a simple thermostat, is it wrong?

The JS simulation doesn't demonstrate this, though; the bang-bang controller keeps oscillating in very short steps around the goal.