Doubling pwm output voltage.

this voltage doubler would work for something that is on or off for long periods of time, cause it takes some time for the caps to charge. Therefore you will never get a full resolution pwm to work with this circuit.

You are better off working with active components like transistors or op amps? but you need a source of 10+V. Do you have that source available?