Physics notes

Semiconductor Electronics Notes: Formulas, Tricks and Solved Examples

Logic gates and their combinations, the Zener diode with photodiode, LED and solar cell, transistor relations and the amplifier, rectifiers and diode circuits, energy bands and doping, and the p-n junction.

By Sunil Kumar. Updated 5 December 2026.

Logic gates

GateOutputHigh output when
ORany input is 1
ANDall inputs are 1
NOTinput is 0
NORall inputs are 0
NANDany input is 0
XORinputs are different
XNORinputs are the same
De Morgan's laws
  • Identities that shorten a circuit: , , , , , .
  • NAND and NOR are universal gates. Any gate can be built from either one alone.
  • A NAND or NOR gate with its two inputs joined is a NOT gate.
  • NAND followed by NOT is AND. NOR followed by NOT is OR.
  • Both inputs inverted, then NAND: , an OR gate. Both inputs inverted, then NOR: , an AND gate.
  • Both inputs inverted, then AND gives NOR. Both inputs inverted, then OR gives NAND.
  • Least number of NAND gates: NOT 1, AND 2, OR 3, NOR 4, XOR 4. Least number of NOR gates: NOT 1, OR 2, AND 3, NAND 4.
  • Diode gates: two diodes pointing towards the output with a resistor to ground make an OR gate. Two diodes pointing away from the output with a resistor to the supply make an AND gate.
  • Waveform questions: cut the time axis into slots, write the input pair in each slot, and apply the truth table slot by slot.
Shortcut For a circuit of several gates, write the Boolean expression at the output of each gate from left to right, then simplify with De Morgan's laws. Compare the final expression with the table above. Do not fill a full truth table unless the expression will not simplify.

Worked example. The output of a NOR gate is given to both inputs of a second NOR gate. Which gate does the combination act as?

Show the method
  1. First gate: .
  2. The second gate has both inputs joined, so it inverts: .
  3. The combination is an OR gate.

Zener diode and special purpose diodes

  • A Zener diode is heavily doped and is used in reverse bias in its breakdown region. The voltage across it stays at while the current through it changes. This makes it a voltage regulator.
Series current
Load current
Zener current
  • Largest safe Zener current . Power used in the Zener .
  • The Zener regulates only if the voltage it would get without breakdown is at least : . Otherwise treat it as an open branch.
  • If the input voltage rises, and rise and the load current stays the same. If the load is removed, the whole of passes through the Zener.
  • Zener breakdown: heavy doping, thin depletion layer, strong field pulls electrons out of bonds. Avalanche breakdown: light doping, wide layer, carriers knock out more carriers by collision.
DeviceBiasWorkingNote
Photodiodereverselight creates electron-hole pairs, current rises with intensitydetects light with
LEDforwardelectrons and holes recombine and emit lightheavily doped, about 1.8 eV or more for visible light
Solar cellnonelight produces an emf across the junctionI-V curve lies in the fourth quadrant
Wavelength and band gap
  • A photodiode is used in reverse bias because the fractional change in the small minority carrier current is large and easy to measure.
  • LED materials: GaAs gives infrared, GaAsP red and yellow, GaP green. Silicon and germanium are not used because they give heat, not light.
  • Solar cell materials have a band gap near 1.5 eV: Si, GaAs, CdTe. Open circuit voltage is read on the voltage axis and short circuit current on the current axis.

Worked example. In a Zener regulator V, ohm, V and kilo-ohm. Find the Zener current.

Show the method
  1. mA.
  2. mA.
  3. mA.

Transistors

Currents
Current gains
Voltage gain (common emitter)
Power gain
  • is a little less than 1 (0.95 to 0.99). is large (20 to 200). gives ; gives .
  • Structure: emitter heavily doped, base thin and lightly doped, collector moderately doped and largest in size.
  • Regions: active (emitter junction forward, collector junction reverse) for an amplifier; saturation (both forward) and cut-off (both reverse) for a switch.
  • Common emitter circuit: and . Find from the input loop, then , then .
  • The common emitter amplifier inverts the signal: output and input differ in phase by .
  • Input resistance . Output resistance . Transconductance .
  • Oscillator: an amplifier with positive feedback. Frequency .
  • In an n-p-n transistor electrons carry the current from emitter to collector; in a p-n-p transistor holes do.
Common mistake Gains in decibel or as plain ratios must not be mixed. Voltage gain uses the resistance ratio once, power gain uses twice.

Worked example. A common emitter amplifier has , input resistance 1 kilo-ohm and load resistance 2 kilo-ohm. Find the voltage gain and the power gain.

Show the method
  1. .
  2. .

Rectifiers and diode circuits

QuantityHalf waveFull wave
Output frequency
Average current
RMS current
Greatest efficiency40.6 percent81.2 percent
Ripple factor1.210.48
  • Peak inverse voltage: half wave , centre tap full wave , bridge .
  • A centre tap rectifier uses 2 diodes, a bridge rectifier 4. A capacitor across the load smooths the output; a larger gives less ripple.
  • Ideal diode: forward biased it is a closed switch, reverse biased an open switch. Decide the bias by comparing the potentials at its two ends: the p side must be higher.
  • Real diode: subtract the knee voltage, 0.7 V for silicon and 0.3 V for germanium. Current .
  • Silicon and germanium diodes in parallel: the germanium one conducts first and holds the voltage at 0.3 V, so the silicon diode stays off.
  • Dynamic resistance from the characteristic curve.
  • Two diodes back to back in series block the current in both directions.

Worked example. A silicon diode (knee voltage 0.7 V) is joined in forward bias to a 5 V battery through a 1 kilo-ohm resistor. Find the current.

Show the method
  1. Voltage across the resistor V.
  2. mA.

Energy bands and types of semiconductors

  • Band gap: conductors have none (bands overlap), semiconductors below about 3 eV (Ge 0.7 eV, Si 1.1 eV), insulators above 3 eV (diamond 5.5 eV).
  • At 0 K a pure semiconductor behaves as an insulator. Its conductivity rises with temperature, so the temperature coefficient of resistance is negative.
  • Intrinsic: .
  • n-type: doped with a pentavalent atom (P, As, Sb). Electrons are the majority carriers. The donor level lies just below the conduction band.
  • p-type: doped with a trivalent atom (B, Al, Ga, In). Holes are the majority carriers. The acceptor level lies just above the valence band.
  • Both types remain electrically neutral as a whole.
Mass action law
Conductivity
  • Mobility of electrons is higher than that of holes.
  • Doping of 1 part per million: dopant density density of host atoms.

Worked example. Pure silicon has m. It is doped so that m. Find the hole density.

Show the method
  1. .
  2. m.

The p-n junction

  • Diffusion of majority carriers across the junction leaves a depletion region without free carriers, about m wide, with a barrier potential of about 0.7 V in silicon and 0.3 V in germanium.
  • The field in the depletion region points from the n side to the p side. Its size is about .
  • Diffusion current is due to majority carriers, drift current to minority carriers. Without bias they are equal and opposite.
  • Forward bias (p to the positive terminal): barrier falls, depletion region narrows, current in milliampere after the knee voltage.
  • Reverse bias: barrier rises, depletion region widens, a small current in microampere flows due to minority carriers. It hardly changes with voltage until breakdown.
  • The junction diode conducts in one direction only, which is the basis of rectification.
Revise with the short notesSolve questions of this chapterAll physics notes