Three components, three behaviours
A resistor opposes current. Its resistance, measured in ohms, links voltage and current through Ohm's law: V = I x R. A resistor turns electrical energy into heat.
A capacitor is two conductive plates separated by an insulator. Charge builds up on the plates when a voltage is applied. Its capacitance, measured in farads, is the charge stored per volt.
A diode is a semiconductor junction. It lets current flow easily when forward biased and blocks nearly all of it when reverse biased. A silicon diode usually needs about 0.7 V across it before it conducts well.
How each one responds to voltage and current
In an ideal resistor, current is proportional to voltage. Doubling the voltage doubles the current. Power dissipated is P = V x I, which equals I squared times R.
A capacitor's current depends on how fast its voltage changes. When connected through a resistor to a source, it charges with a time constant of tau = R x C. After one time constant, the capacitor reaches about 63 percent of the source voltage. A steady direct voltage eventually stops current through it, so it is said to block direct current.
A diode does not obey Ohm's law. Its current rises very steeply once the forward voltage passes the threshold. In reverse, only a tiny leakage current flows until the breakdown voltage is reached.
Worked example: an LED with a series resistor
Take a 5 V supply driving an LED that drops 2 V when conducting. The target current is 10 mA. The resistor must drop the remaining 5 V minus 2 V, which is 3 V.
Using Ohm's law, R = 3 V / 0.01 A = 300 ohms. The resistor's power is 3 V x 0.01 A = 0.03 W, well below the common 0.25 W rating.
Now add a 100 microfarad capacitor and a 1000 ohm resistor in an RC circuit. The time constant is 1000 x 0.0001 = 0.1 s. After 0.1 s, the capacitor holds about 63 percent of the supply voltage.
Common misconceptions
A capacitor is not a battery. It stores far less energy for its size and its voltage falls as it discharges. A battery keeps a nearly steady voltage through a chemical reaction.
A diode does not conduct with no loss. A forward voltage drop remains, so a diode dissipates power equal to that drop times the current. Real resistors also have limits, such as a maximum power rating and a tolerance, often 1 or 5 percent.
Where they show up
Resistors set bias levels, divide voltages and limit current in nearly every circuit board. Capacitors smooth power supply ripple, filter signals and set timing. Diodes rectify alternating current into direct current, protect circuits from reversed polarity and form the basis of LEDs.
Key terms
- Resistance
- The opposition to current, measured in ohms.
- Ohm's law
- The relation V = I x R for an ideal resistor.
- Capacitance
- Charge stored per volt, measured in farads.
- Time constant
- The product R x C, the time for a charging capacitor to reach about 63 percent of the final voltage.
- Forward bias
- A voltage applied so that a diode conducts.
- Rectification
- Converting alternating current to direct current, commonly with diodes.
