next up previous
Next: RC Circuit Up: Micro-controller Learning Module Output Previous: What is Pulse Width

How to use a PWM signal to generate an analog voltage

Figure 4 shows a capacitive circuit. This circuit will generate an analog voltage when the applied voltage is a PWM signal.

Figure 4: PWM Circuit
\begin{figure}\epsfxsize =4.in
\epsfclipon \centerline{\epsffile{fig/pwm-circuit.eps}} \end{figure}

The circuit in figure 4 is driven by a PWM signal, $v(t)$. The remainder of the circuit is divided into two parts. The first part is the RC circuit combination. This part transforms the PWM input signal into an analog voltage. The second part is the op-amp circuit that generates the output voltage $v_{\rm out}(t)$. This op-amp circuit is used to buffer the RC circuit from any load that has been put across the circuit's output. We will now discuss how the RC and op-amp parts of this circuit work.



Subsections

Bill Goodwine 2001-09-04