I am working on a circuit for use with a dimming LED Driver that takes a 0-10V linear input. I have worked with a variety of averaging/filtering circuits before, but would like to know what everyone thought as far as the most cost effective way to take the PWM arduino output at 5v and convert that to a 0-10V analog signal corresponding to the proper duty cycle would be. The lease amount of ripple possible is always desired, but I'd like to stay in a cost effective method.
Also, when filtering the high frequency content out to get an "averaged" signal, I would assume its best to filter after amplifying to 10V, is this correct? Any advice or suggestions would be much appreciated.
Thanks & Regards,