A hybrid controller for purity control of a pressure swing adsorption process