electronic scheme for pump control