Regulating PWM Voltage

Why not just regulate the supply voltage to the device, for example 10V? Then you can use two resistors (e.g. 10 K) to divide the output down to Arduino range.