A device for metering fluid flow is disclosed. The device includes a variable sized orifice defined by a fluid flow conduit and an element movable relative to the fluid flow conduit to vary a size of the orifice, a
pressure sensor configured to determine a pressure differential across the orifice and generate a pressure
signal, a positioning device configured to determine a position of the element relative to the conduit and generate a position
signal, and a processor configured to determine the fluid flow rate using the pressure
signal and the position signal. The
system can directly control the adjustable valve or orifice. Alternatively, the
system can move back and forth between a
direct mode and a PID mode. When in a PID mode, the
system employs a standard PID
algorithm with a variable
gain term. The system switches to
direct mode when it is advantageous for the controller to directly change the valve position based upon the
setpoint, and the input and output pressures.