News for hackers. Stuff that matters.
Re:Bang Bang Control by snowwindwaves on Friday April 08, 2016 @12:35PM (#11455950)
Two examples where I use bang-bang control for inflate/deflate valves on inflatable weirs[0] and open/close solenoids on hydraulic pressure units controlling hydraulic rams attached to pelton turbine deflectors[1].

But I calculate a pulse width - how long the valve should be opened for in order to correct the error.

For a turbine deflector loop it might execute every 1s with a minimum pulse time of 50ms and a maximum pulse time of 1s.

For the weir control it might execute every 60s with a minimum pulse time of 300ms and a maximum pulse time of 20s, because the weir continues to move after the output is de-energized and the response of the water level over the weir depends on the area of the body of water behind the weir.

I set a gain that determines how long the output is energized (the pulse width) for a given magnitude error.

In my case the actuators are still discrete so the signal stays as a pulse train, it is not filtered up to be a continuous time signal.

[0]: https://www.google.ca/#tbm=isch&q=obermeyer+weir [1]: https://www.google.ca/#q=pelton+turbine+deflector&tbm=isch

There are no comments on this comment yet.