Power Electronics & Semiconductors

NPN Transistor Switch & Current Gain (BJT Driver) Simulator

Use a 5V logic micro-current (~0.43 mA) at the Base of a 2N3904 Ebers-Moll NPN transistor to switch a 9V Blue LED collector load between Cutoff and Saturation.

Speed
A tiny 0.43 mA Base current through RB = 10 kΩ switches ON a 22 mA Collector current driving the Blue LED! Toggle the Base switch to test Cutoff vs. Saturation.
● CH1: CH1
● CH2: CH2

Engineering Theory & Mathematical Model

Ic = β × Ib (Active), Vce(sat) ≈ 0.08 V (Saturation)

A Bipolar Junction Transistor (BJT) operates as a current-controlled current valve modeled accurately here via the full Ebers-Moll equations. When the Base input switch opens, Ib = 0 and the collector-emitter path is in Cutoff (dark LED, Vce = 9V). Closing the 5V logic switch injects Ib = (5V − 0.7V)/10kΩ ≈ 0.43 mA into the Base, driving Q1 deep into Saturation (Vce_sat < 0.15 V) and illuminating the high-side LED.

Interactive Lab Procedure

  1. Click switch "Base IN" to toggle Q1 cleanly between Cutoff (LED OFF) and Saturation (LED ON).
  2. Click transistor Q1 to inspect live Vbe, Vce, Ib, and Ic directly in the right-hand Inspector.
  3. Increase Base resistor RB from 10 kΩ to 220 kΩ to move Q1 out of saturation into its linear Active region!

Technical FAQ

What is the core governing formula for NPN Transistor Switch & Current Gain (BJT Driver) Simulator?

Ic = β × Ib (Active), Vce(sat) ≈ 0.08 V (Saturation) — A Bipolar Junction Transistor (BJT) operates as a current-controlled current valve modeled accurately here via the full Ebers-Moll equations. When the Base input switch opens, Ib = 0 and the collector-emitter path is in Cutoff (dark LED, Vce = 9V). Closing the 5V logic switch injects Ib = (5V − 0.7V)/10kΩ ≈ 0.43 mA into the Base, driving Q1 deep into Saturation (Vce_sat < 0.15 V) and illuminating the high-side LED.

Can I modify component values and rewire this circuit live?

Yes! The schematic above runs a live MNA SPICE engine. Click any part to adjust parameters, add or delete wires and components, and click Share URL to save your custom topology.

Explore More Interactive SPICE Circuits