BJT as a switch
WHAT is switching mode?
The load is placed between the supply and the collector; the emitter goes to ground (common-emitter configuration).

HOW to derive the design equations (from scratch)
We want a guaranteed hard ON. Let's build the equations from Kirchhoff's laws, not memorize them.
Step 1 — Collector current when ON
When ON, the transistor pulls the collector node down to . Apply KVL around the collector loop (supply → load resistor → collector → emitter → ground):
Why this step? It's just voltage adding up around a loop. Solving for the current that flows through the load:
This is the current we need the transistor to sink.
Step 2 — How much base current does that need?
In the active region, . But at the edge of saturation, the base current needed is exactly:
Why this step? (current gain, also written ) tells you how much collector current one unit of base current can support. If we supply exactly this, we're teetering on the boundary — risky.
Step 3 — Overdrive for a solid switch
varies wildly with temperature and part-to-part (a "" transistor might really be 50). To be safe we deliberately push in more base current than the minimum:
Why this step? Extra base current forces the transistor deep into saturation, keeping low and the switch reliably closed even if is smaller than the datasheet's "typical."
The saturation condition (the acid test)
The transistor is truly saturated when:
The ratio actually flowing is called . If , you are saturated.
Worked Example 1 — Driving an LED-like load
Drive a load needing mA from V, controlled by a V logic pin. Transistor .
- Collector current (given/target): mA. Why? This is set by the load, not us.
- Edge base current: mA. Why? Minimum base current can amplify to 100 mA.
- Overdrive : . Why? Guarantees saturation despite spread.
- Base resistor: Pick nearest standard 470 Ω (slightly more overdrive — fine). Why 470 not 560? Lower = more base current = deeper saturation, safer for a switch.
Worked Example 2 — Check if it's really saturated
Same circuit, but suppose the real transistor has (worse than datasheet).
- We supply mA (from the 470 Ω design). Actual mA.
- Max collector current transistor could pass in active mode mA.
- Load only demands 100 mA.
- Since , the transistor can't push all that current → the collector voltage collapses → saturated. ✅
Why this step? The collector current is limited by the load, not by , whenever exceeds the load demand. That surplus is exactly what "hard ON" means.
Worked Example 3 — Power dissipation sanity check
While ON, the transistor dissipates .
Why so low? Because is tiny. Compare to linear operation at mid-supply: mW — 12.5× hotter. This is why switching is efficient.
Recall Feynman: explain to a 12-year-old
Imagine a garden hose (the big water = collector current) with a stiff valve. A grown-up can barely turn the valve with one finger. But you attach a little lever (the base current): now a tiny push on the lever fully opens or shuts the big valve. The BJT is that lever — a weak signal from a computer chip opens or closes a big flow of electricity to a motor or lamp. And you push the lever a bit harder than needed so it never slips halfway open (which would make it get hot).
Active-Recall Flashcards
#flashcards/hardware
What are the two regions used for BJT switching?
In saturation, what is roughly equal to?
Why do we overdrive the base current instead of using exactly?
Formula for the collector ON-current with a load resistor ?
Formula for the base resistor?
What is the saturation condition in terms of and currents?
Why is switching more power-efficient than linear operation?
For a low-side NPN switch, where do the load and emitter go?
What is the overdrive factor typically?
If (330 mA) far exceeds load demand (100 mA), what limits ?
Connections
- BJT as an amplifier — same device, but biased in the active region we avoid here.
- MOSFET as a switch — voltage-controlled alternative, no steady gate current, lower loss at high current.
- Transistor beta (hFE) — the gain parameter whose variability forces overdrive.
- Saturation and Cutoff regions — the operating-region map on the output characteristics.
- Flyback diode — needed across inductive loads (relays/motors) switched by a BJT.
- Kirchhoff's Voltage Law — the tool used to derive every equation above.
- Power dissipation in switches — why and set heating.
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
Bhai, BJT ko switch ki tarah use karna bahut simple idea hai: thoda sa base current dedo, aur transistor bade collector current ko ON kar deta hai — jaise ek chhoti si chaabi se bada gate khulta hai. Do hi states matter karti hain: cutoff (base pe kuch nahi, transistor OFF = open switch) aur saturation (base pe kaafi current, transistor fully ON, sirf 0.1–0.2 V bachta hai = closed switch). Beech ka "active" region amplifier ke liye hai, switch ke liye nahi.
Design ka funda: pehle load se nikalo, phir nikalo. Lekin yahin pe log galti karte hain — sirf itna base current mat do. garmi aur part ke hisaab se badalta rehta hai, isliye overdrive karo, matlab 2 se 10 guna zyada base current. Isse transistor pakka deep saturation mein rahega. Base resistor ka formula bhi KVL se banta hai: . Woh V ka mat bhoolna, chhota lagta hai par matter karta hai.
Yeh important kyun hai? Microcontroller ka pin sirf thoda sa current de sakta hai, motor ya relay ya bright LED chala nahi sakta. BJT beech mein aakar weak signal se strong load ko command karta hai. Aur switching efficient hai kyunki ON state mein chhota hai, toh kam banta hai — transistor thanda rehta hai, linear mode ke mukable bahut kam garmi.