Re: PWM circuits
Yes , you can use a simple RC filer on the pwm then a differential opamp to offset and double the voltage
Originally Posted by
vegipete
Some filtering turns the PWM into an analog value. Then one (or a few) op-amps can amplify, invert and offset the 0 to 5 volts to 10 to -10 volts.
The trick though is getting a sensible output when the input is not running. If the PWM is off, what should the output voltage be, considering safe operation?
You have the PIC output a delayed enable to the amplifier to only turn it on when its stable. Thats what i do on my step2linear
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com