Driving inductive load from IC with MOSFET
The first circuit is close to what you need.

If you are expecting to use PWM for linear positioning, you really need to dissipate the energy in the proportional coil very rapidly. The best way to do that is to allow the voltage across the coil to rise to a controlled value on turn-off.

In the schematic below when the PWM turn off the voltage rises to about 34 V which quickly dissipates the energy from the valve coil. 

The MPT10N10EL gets exposed to about 60 V just after turnoff, well within its rating.     







simulate this circuit &ndash; Schematic created using CircuitLab