3 ms·
It's a bang-bang controller. It's so simple that it's what I came up with for controlling power producers / sinks to fill / drain buffers (load matching) in mo
by willis936 5y ago
It's a bang-bang controller. It's so simple that it's what I came up with for controlling power producers / sinks to fill / drain buffers (load matching) in modded minecraft many years ago. It's the very simplest way to do this and is far from optimal. The only thing it optimizes is simplicity of implementation. A PI loop tuned to either minimize error or transitions is going to perform better for whatever goal or balance of goals a user wants.
- marcosdumay 5y agoA bang-bang controller can have hysteresis or not, it's as simple as turning off in a higher temperature than the one it turns on and putting a low-pass filter (a capacitor if you do it in hardware) after the temperature sensor. The simplest possible implementation of an electronic thermostat would be able to switch thousands of times per second, and this is completely useless for controlling anything mechanical. When you are making real controllers, you always need some extra complexity, but you don't need a lot of it to make a good one.
- willis936 5y agoFilters add more latency than PI(D) loops. They're not used in practice because they perform worse. Would you trust a 20% tolerance capacitor when setting your poles?