I have a PWM output (0-5v) that I need to convert to an analogue voltage. Simple = RC filter. However, the voltage range from that analogue voltage needs to be twice that of the input voltage, and I'm just not sure of the best approach.

Basically: **5v PWM** to **10v analogue**

A colleague suggested to use a voltage doubler (such as 7660) to power an op-amp, configured with a gain of 2.

Any other suggestions would be greatly appreciated.

Thanks