Electronic – Signal rectifier – what is the use of the resistors

diodesresistorssignal

In the art of electronics book, page 49, 2nd edition, they show a signal rectifier circuit (a circuit that tosses away the negative part of a signal). Here it is:

schematic

simulate this circuit – Schematic created using CircuitLab

I think the capacitor is there to block out DC. Is that right?
What are the uses of the two resistors? Couldn't the same goal be accomplished by taking them out?

I think R2 between GND and the diode is needed for the diode to work correctly, as a way for the circuit to drop the needed voltage so the voltage drop across the diode stays at the diode forward voltage drop.

What about R1?

Thank you very much.

Best Answer

Assuming ideal components, when the diode is "on", the equivalent circuit is:

schematic

simulate this circuit – Schematic created using CircuitLab

The charging current clockwise through C1 produces a voltage across the parallel combination of resistors.

When the diode is "off", the equivalent circuit is:

schematic

simulate this circuit

Now, you can see that R1 is provide a path for a counter-clockwise current to discharge the capacitor.

Also, see that R2 is required to pull the output voltage to zero while the diode is off.


Why is the path that R1 provides needed? if it's not there, then there is an open-circuit, no current flows. Theoretically the end result should be the same: the negative part of the signal does not appear at the output.

If there is no path for a counter-clockwise current through the capacitor, the voltage across the capacitor will only increase and this voltage will oppose the positive signal voltage. Eventually, the capacitor voltage will be large enough that the diode will not turn on and the output voltage will be zero.

Below is a simulation I ran without R1. The top trace is the voltage across the capacitor; the bottom trace is the output voltage. The input source is 1kHz sine wave.

enter image description here

Note that the voltage across the capacitor increases while the diode is on but doesn't decrease while the diode is off. Note the effect of this on the output voltage.