Driving a 0-10vDC signal control valve

accepts a 0-10vDC control signal

You may want to read the datasheet for your device to see what kind of signal it is expected. Generally this should be a high-impedance pin so putting a low-pass filter on the pwm output would work.

Otherwise, you may need buffering.