The purpose of this circuit is to convert a PWM signal to a relatively clean DC signal. The module (square wave source) creates a PWM signal with the given specs and changes the duty cycle from 100%, 50%, 25%, and 10%. In this circuit, I have a passive peak detector (to the left of the SPST switch) outputting the filtered signal to the NPN transistor. When the switch is closed, the NPN transistor is activated allowing the 14V to pass through to power the mechanical relay in order to power a certain load (in this case, an LED). I've created this circuit with the given specs and it works. My questions: (1) Is this configuration correct in which I have the load on the emmiter side of the NPN as opposed to the collector side? (2) I'm new to peak detectors so did I use this peak detector with the correct application? If not, what would you suggest to convert a PWM signal to power something requiring DC voltage?
|