Controller for a Proportionally Controlled Solenoid Valve