Controlling a valve with 0-6 V regulation

In steady state current is proportional to voltage.

Control actually is done by PWM.

Current monitoring is suggested for feedback, as is with any inductive load.