Even so, if it is really -10V to +10V, i made the attached shematic and the simulation and it worked fine. Probably it can be improved, but since it's 1:30am, and it was made in 5min, i think its good.
If you have 100% PWM you will get -10V, if you have 50% you will get 0V, and if you have 0%, you will get +10V
If you want try it, and post the results.
Bookmarks