Abstract: A controller for a photoresist dispense pump is described that actively monitors the operation of the pump and dynamically determines completion of the refill of the pump. In one embodiment, pressure measurements are made during the refill step. Changes in the pressure measurements are used to indicate completion of the refill. After refill is completed, the refill step is terminated and the operation cycle is continued.