Hello,
I'm trying to design a simple circuit to convert a PWM signal to variable DC. The PWM signal is a 5.5vpeak 50Hz square wave of varying duty cycles. However, I want a clean DC output. So, at say, 10% duty cycle, I want a clean .6vDC; at 20% I want a clean 1.2vDC; and so on until at 90%, the DC output is a clean 5.4v DC.
Really, what I'm trying to do is create a circuit to take the PWM signal from a remote control car (hobby class) receiver (which would normally go to a servo) and have the output on (~6v) or off (0v), but would be nice to have the variable aspect for other uses. So far, I figured I'd use a basic op-amp input stage to buffer the signal against loading, use *something* (this is where I'm stuck) to filter the PWM signal to a clean DC level, and use another op-amp as a comparator to trigger the output. The buffer and the comparator works (easy enough), I'm just stuck on the PWM filtering part.
I've searched here and googled for some clues but everything I've found talks about converting DV to a PWM signal, not the other way around. Any clues or anything would be greatly appreciated! Thanks in advance!
I'm trying to design a simple circuit to convert a PWM signal to variable DC. The PWM signal is a 5.5vpeak 50Hz square wave of varying duty cycles. However, I want a clean DC output. So, at say, 10% duty cycle, I want a clean .6vDC; at 20% I want a clean 1.2vDC; and so on until at 90%, the DC output is a clean 5.4v DC.
Really, what I'm trying to do is create a circuit to take the PWM signal from a remote control car (hobby class) receiver (which would normally go to a servo) and have the output on (~6v) or off (0v), but would be nice to have the variable aspect for other uses. So far, I figured I'd use a basic op-amp input stage to buffer the signal against loading, use *something* (this is where I'm stuck) to filter the PWM signal to a clean DC level, and use another op-amp as a comparator to trigger the output. The buffer and the comparator works (easy enough), I'm just stuck on the PWM filtering part.
I've searched here and googled for some clues but everything I've found talks about converting DV to a PWM signal, not the other way around. Any clues or anything would be greatly appreciated! Thanks in advance!