## Half-wave rectifier circuit

One of most important use of diodes based on the ability of diode to conduct current in only one direction. When the diode is mounted on an alternating current or AC current, then the sine wave is converted into unidirectional wave or DC current.

Watch what happens to the circuit below

Electrical current is supplied to the circuit is an alternating current generated by a transformer. During the positive half cycle of AC, diodes are forward biased so current can flow. Current that flows through the diode to the load (RL) and back toward the transformer. Then the negative AC half cycle, diode does not conduct electric current, because given the reverse bias.

Waveforms of current through the load (RL) plot in the figure below.

A circuit that is capable of converting AC voltage into DC is called as a rectifier circuit (rectifier). While the rectifier circuit as above, producing output current from the positive half cycle of input, we call it a half-wave rectifier circuit.

## AC (Alternating Current) and DC (Direct Current)

Voltage at the positive terminal of a battery will last a constantly, until the cells ran out of charge. If we plot a graph illustrating voltage changes with time, the graph for a new battery as follows:

Tangible graphs above is horizontal straight line. The graph shows that battery voltage will stay constant at a value of 6 V.

If we connect battery to a lamp, we can use a multimeter to measure the current flowing through it. Because the voltage is constant, thus current flow to the lamp is also constant. Current versus time graph is also a horizontal straight line, as the graph above. A flowing constant current is called as direct current, usually abbreviated to DC.

Currents that we get from some types of generators as well as electricity generators, in contrast with this DC current. Current from the generators continuously changing its direction.

Such flow is called as alternating current, abbreviated to AC. AC current is depicted graphically as shown below

## Calculating the value of LED current limiting resistor

To prevent damage to the LEDs due to the high voltage source, we must put in series a current limiter resistor. Resistance value appropriate to the LED current limiting resistor, can be calculated as follows.

The voltage source provided is VS (Volt). We want the LED current is I (Amperes). Assume that the LED forward voltage drop or VD to be produced is 2 V. Note the picture below

The voltage drop across the resistor R must be value VS - VD or equal to VS - 2. According to Ohm's Law, the value of this voltage drop should be equal to I x R, thus VS - 2 = I x R. Rearrange the equation to get the value of R will generate

VS - 2 = I x R
R = (VS - 2) / I

example question
An LED will be lit by the source voltage of 9 V and the estimated current draw of 15 mA, what is the value series resistors must be connected to the LED?

completion:
R = (VS - 2) / I
R = (9-2) V / 15 mA
R = 7 V / 0.015 A
R = 466.67 Ω
Obtained value of 466.67 Ω resistor or use a value of 470 Ω according to the reference value in the market.