- #1
SSGD
- 49
- 4
What are some effective ways to convert a Pulse Width Modulation from a Microcontroller to a DC Voltage as a function of Pulse Width?
1. Use a low pass filter to remove the unwanted harmonics and leave only the 0th term of the Fourier Series. What produces a better DC Voltage an Active or a Passive Filter.
2... Any other methods.
Background.
I want to use a Microcontroller and the duty cycle of the PWM to generate an output voltage that is a function of duty cycle and then use an OP-AMP to increase the voltage to operating range of the DC Motor.
Example before OP-AMP Gain
@ 0% Duty DC Voltage = 0V
@50% Duty DC Voltage = 2.5V
@100% Duty DC Voltage = 5V
1. Use a low pass filter to remove the unwanted harmonics and leave only the 0th term of the Fourier Series. What produces a better DC Voltage an Active or a Passive Filter.
2... Any other methods.
Background.
I want to use a Microcontroller and the duty cycle of the PWM to generate an output voltage that is a function of duty cycle and then use an OP-AMP to increase the voltage to operating range of the DC Motor.
Example before OP-AMP Gain
@ 0% Duty DC Voltage = 0V
@50% Duty DC Voltage = 2.5V
@100% Duty DC Voltage = 5V