An Optimal Controller for a Quadruple Tank System