Electronic proportional regulator