On-off controller with hysteresis
LabVIEW file (subVI):
What is it?
The subVI implements a feedback controller in the form of an on-off controller with hysteresis. It can be used as an alternative to a PID controller.
Inputs to the function:
Output from the function:
How to include this subVI in your block-diagram?
Why this subVI?
The reason why I have developed this subVI, is that the only On-off controller with hysteresis in LabVIEW assumes you implement your controller in a Simulation loop. This is an unfortunate restriction (at least for me), since I prefer implementation in While loops rather than in Simulation loops, due to some experiences with crashes and block diagrams that can not be opened when using the latter. Also, the computational overhead ("administration") is relatively large with Simulation loop.
Updated 30 August 2016 by Finn Aakre Haugen