First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Transistor as a switch and an amplifier

Using a bipolar junction transistor (BJT) in two roles: as an ON–OFF switch (cutoff/saturation) and as a linear amplifier (active region with biasing, load line, small-signal gain).

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Transistors are used in almost every electronic product. As a switch, a transistor controls power to loads like LEDs, relays and motors in embedded systems; as an amplifier, it boosts weak sensor or microphone signals before processing by op-amps, microcontrollers or communication circuits.

Key ideas

  • Regions of operation: For an NPN BJT:
    • Cutoff: Base–emitter junction not forward biased (approximately V_BE < about 0.6–0.7 V for silicon). Collector current I_C ≈ 0. Transistor is OFF (open switch between collector and emitter).
    • Active region: Base–emitter junction forward biased and base–collector junction reverse biased. Collector current is controlled by base current: I_C ≈ β I_B (β is current gain). Used for linear amplification.
    • Saturation: Both junctions forward biased. Transistor is ON (closed switch with low V_CE ≈ V_CE(sat)). Increasing I_B further does not significantly increase I_C.
  • Transistor as a switch: Operates between cutoff (OFF) and saturation (ON). We design base drive so that in ON state the transistor is in saturation with adequate margin (often called “overdrive factor”).
  • Transistor as an amplifier: Operates in active region around a Q-point (quiescent point) set by a bias network. Small variations in base–emitter voltage or base current produce proportionally larger variations in collector current and output voltage across the load, without distortion.
  • Current gains:
    • β (beta): Common-emitter current gain, β = I_C / I_B (active region). Typically 50–200 for small-signal BJTs; varies with device, current and temperature.
    • α (alpha): Common-base current gain, α = I_C / I_E, with α ≈ β / (β + 1) and close to 1.
  • Input characteristics: The base–emitter junction behaves like a diode. For silicon BJTs, V_BE(on) is typically around 0.7 V at moderate currents and room temperature (varies with I_C and temperature).
  • Saturation voltage: V_CE(sat) is the collector–emitter voltage in saturation, typically ≈ 0.1–0.3 V for small BJTs at moderate current.
  • Ebers–Moll relation (diode law approximation): In active region, I_C ≈ I_S · exp(V_BE / V_T) where I_S is saturation current and V_T is thermal voltage (~25.85 mV at 300 K). In first-year design, we usually use I_C ≈ β I_B and V_BE ≈ 0.7 V as practical approximations.
  • DC load line: For a given supply V_CC and collector resistor R_C, the relation V_CE + I_C R_C = V_CC defines a straight line on the I_C–V_CE plane. The intersection with the transistor I–V characteristic gives possible operating points. The Q-point is chosen on this line within active region for amplification.
  • Small-signal model: Around the Q-point, we linearize the transistor:
    • Transconductance (g_m): g_m = I_CQ / V_T (Si unit: S). Relates small change in base–emitter voltage to change in collector current: i_c = g_m · v_be.
    • Base-emitter dynamic resistance (r_e′): r_e′ = V_T / I_EQ ≈ V_T / I_CQ (for large β, I_E ≈ I_C). Useful for quick gain estimates.
    • Input resistance (r_π): r_π = β / g_m = β · r_e′.
  • Common-emitter (CE) amplifier: The most common single-stage amplifier:
    • Coupling capacitors block DC and pass AC.
    • Emitter resistor (R_E) stabilizes bias; a bypass capacitor (C_E) across R_E increases AC gain by reducing emitter AC resistance.
    • Voltage gain (A_v) approximately −(R_C‖R_L) / r_e′ when emitter is fully bypassed. The negative sign means 180° phase inversion.
  • Switching times (qualitative): When used as a switch, a BJT has finite delay and rise/fall times: delay time (before current starts rising), rise time (to reach ON), storage time (time to remove stored charge when turning OFF from saturation), and fall time. Saturation increases storage time; limiting deep saturation (e.g., with a base resistor network or a Schottky clamp) can speed up switching.

Exact statements and typical derivations universities ask:

  1. Definition — Transistor as a switch: “A BJT used as a switch is biased so that it alternates between cutoff (I_C ≈ 0, V_CE ≈ V_CC) and saturation (I_C limited by the load, V_CE ≈ V_CE(sat)). The base current is designed to guarantee saturation for the maximum load current.” Assumptions: silicon BJT, known minimum β (β_min) from datasheet, known V_CE(sat) and V_BE(sat) (~0.7–0.9 V).
  2. Definition — Transistor as an amplifier: “A BJT used as a linear amplifier is biased in the active region at a Q-point such that the input signal causes proportional variations in collector current and output voltage without clipping.” Assumptions: small-signal approximation holds, signal variations small compared to bias quantities.
  3. DC load line derivation: Start with KVL in the collector loop of CE circuit: V_CC = I_C R_C + V_CE. Rearranged: V_CE = V_CC − I_C R_C. Intercepts: if I_C = 0 ⇒ V_CE = V_CC; if V_CE = 0 ⇒ I_C = V_CC / R_C. Draw a straight line between these points; choose Q in the linear portion (typically mid-point for symmetrical swing).
  4. CE small-signal voltage gain derivation (bypassed emitter): With small-signal model, i_c = g_m v_be. Input small-signal v_be ≈ v_in across r_π. Output small-signal v_out = −i_c (R_C‖R_L). Therefore A_v = v_out / v_in = −g_m (R_C‖R_L) · (v_be / v_in). For a directly driven base, v_be ≈ v_in (neglecting source resistance), so A_v ≈ −g_m (R_C‖R_L). Using r_e′ = 1/g_m, A_v ≈ −(R_C‖R_L) / r_e′. Assumptions: emitter bypassed for AC, small-signal linearity, β large so r_e′ ≈ V_T / I_CQ.
  5. Input/output resistances: R_in ≈ r_π (for base-driven amplifier without bias network loading). R_out ≈ R_C (neglect transistor output resistance r_o for first-year analysis). If bias network exists (voltage-divider bias), R_in is r_π in parallel with the Thevenin resistance of the divider.
  6. Signal limits and distortion: To avoid clipping, ensure the output swing keeps the instantaneous V_CE above saturation and I_C ≥ 0. Approximate symmetrical swing if Q is at V_CE ≈ V_CC/2 and I_C ≈ V_CC/(2R_C).

Diagrams to draw in exams (describe precisely):

  • For “Transistor as a switch (NPN)”:
    • Draw V_CC at top, collector resistor R_C from V_CC to collector C, emitter to ground. Load (e.g., LED with its series resistor or a relay coil) can be either at collector (between V_CC and collector) or at collector with R_C as the load. Base connected via base resistor R_B to a control voltage source V_IN. Show base–emitter with diode arrow idea (symbol only). Label V_CC, R_C (or load), R_B, V_IN, I_B, I_C, V_CE, and indicate cutoff (V_IN low) and saturation (V_IN high) states.
  • For “CE amplifier with voltage-divider bias”:
    • NPN with collector resistor R_C to V_CC, emitter resistor R_E to ground. Two resistors R1 from V_CC to base and R2 from base to ground forming a divider. Input source V_S with source resistance R_S coupled to base through capacitor C_IN. Output taken from collector through coupling capacitor C_OUT to load R_L. Optional emitter bypass capacitor C_E across R_E for AC. Label I_CQ, V_CEQ, Q-point on load line (sketch axes I_C vs V_CE). Indicate all components.

Formulas

I_C ≈ β · I_B

  • I_C: collector current (A); β: DC current gain (unitless); I_B: base current (A). Applies in active region (not in saturation or cutoff).

I_E ≈ (β + 1) · I_B

  • I_E: emitter current (A). Approximate relation in active region.

α = β / (β + 1)

  • α: common-base current gain (unitless). Relation between α and β.

V_CE = V_CC − I_C · R_C

  • V_CE: collector–emitter voltage (V); V_CC: supply voltage (V); R_C: collector resistor (Ω). DC load line equation for CE circuit.

I_C(sat) ≈ (V_CC − V_CE(sat)) / R_C

  • I_C(sat): collector current when saturated (A); V_CE(sat): saturation V_CE (V). Assumes resistive collector load.

Required base current for saturation, I_B(sat) = I_C(sat) / β_forced

  • β_forced: chosen forced beta (unitless), smaller than datasheet β_min to guarantee saturation (e.g., β_forced = 10). Applies for switch design.

g_m = I_CQ / V_T

  • g_m: transconductance (S); I_CQ: quiescent collector current (A); V_T: thermal voltage ≈ 25.85 mV at 300 K. Applies for small-signal model.

r_e′ ≈ V_T / I_EQ ≈ V_T / I_CQ

  • r_e′: small-signal emitter resistance (Ω). Valid for β large.

r_π = β / g_m

  • r_π: small-signal base input resistance (Ω). Applies in small-signal hybrid-π model.

A_v(CE, emitter bypassed) ≈ − (R_C ‖ R_L) / r_e′

  • A_v: small-signal voltage gain (unitless); R_C: collector resistor (Ω); R_L: load resistance seen at collector (Ω); ‖ denotes parallel. Assumes emitter bypassed for AC, small-signal.

R_in(CE, base driven) ≈ r_π ‖ R_divider

  • R_in: amplifier input resistance (Ω); R_divider: Thevenin resistance of base bias divider (Ω). Applies when divider present.

C_couple ≥ 1 / (2π f_L R_effective)

  • C_couple: coupling capacitor (F); f_L: chosen lower cutoff frequency (Hz); R_effective: resistance seen by capacitor (Ω), at input or output as appropriate. For setting low-frequency response.

Worked examples

Example 1: BJT as a low-side switch driving a relay Given: NPN BJT, V_CC = 12 V. Relay coil is the collector load: R_load = 120 Ω (DC resistance). Desired: ensure saturation. Assume V_CE(sat) = 0.2 V, V_BE(sat) = 0.8 V. Minimum transistor β_min = 100. Choose a conservative forced beta β_forced = 10. Control input V_IN = 5 V (from microcontroller). Find: (a) required base current, (b) base resistor R_B, (c) collector current and power checks.

Steps:

  1. Collector current in saturation (limited by load): Formula: I_C(sat) = (V_CC − V_CE(sat)) / R_load Numbers: I_C(sat) = (12 V − 0.2 V) / 120 Ω = 11.8 V / 120 Ω = 0.09833 A So I_C(sat) ≈ 98.3 mA.
  2. Required base current using forced beta: Formula: I_B(sat) = I_C(sat) / β_forced Numbers: I_B(sat) = 0.09833 A / 10 = 0.009833 A = 9.83 mA.
  3. Base resistor from 5 V logic to base in saturation: Base–emitter drop in saturation V_BE(sat) ≈ 0.8 V. So voltage across R_B ≈ V_IN − V_BE(sat) = 5.0 V − 0.8 V = 4.2 V. Formula: R_B = (V_IN − V_BE(sat)) / I_B(sat) Numbers: R_B = 4.2 V / 9.83 mA = 427.3 Ω. Choose standard value R_B = 430 Ω (nearest E24) or 390 Ω to add margin.
  4. Power checks:
    • Transistor dissipation in ON: P_transistor ≈ V_CE(sat) · I_C(sat) = 0.2 V · 98.3 mA = 19.7 mW.
    • Base resistor dissipation: P_RB = I_B^2 · R_B = (9.83 mA)^2 · 427.3 Ω ≈ 0.0412 W ≈ 41 mW. Both are small; standard 0.25 W resistor is fine.
  5. Practical notes: Add a diode across the relay coil (cathode to V_CC, anode to collector) to protect the transistor from inductive flyback when switching OFF. Ensure the microcontroller can source ≈10 mA; if not, use a pre-driver or increase β_forced if the transistor’s β_min is well above 10 (risking less saturation margin).

Final answers:

  • (a) I_B(sat) ≈ 9.83 mA
  • (b) R_B ≈ 427 Ω; choose 430 Ω (or 390 Ω for extra margin)
  • (c) I_C(sat) ≈ 98.3 mA; transistor ON dissipation ≈ 19.7 mW

Example 2: CE amplifier bias and small-signal gain Given: NPN CE amplifier with V_CC = 12 V, R_C = 3.3 kΩ, R_E = 1.0 kΩ (bypassed for AC by a large capacitor so the emitter is effectively at AC ground). Base bias via voltage-divider R1 = 120 kΩ (from V_CC to base) and R2 = 22 kΩ (from base to ground). Assume β = 100, V_BE ≈ 0.7 V, V_T = 26 mV at room temperature, and load R_L = ∞ (no external load on collector). Find: (a) DC Q-point: I_CQ and V_CEQ, (b) small-signal voltage gain A_v, (c) input resistance R_in.

Steps:

  1. Find base bias voltage from divider (no signal): Formula: V_B ≈ V_CC · R2 / (R1 + R2) Numbers: V_B = 12 V · 22 kΩ / (120 kΩ + 22 kΩ) = 12 V · 22 / 142 = 1.859 V. Divider Thevenin resistance: R_th = R1 ‖ R2 = (120 kΩ · 22 kΩ) / (120 kΩ + 22 kΩ) = 18.59 kΩ (for later input resistance).
  2. Emitter and collector DC currents: Emitter voltage: V_E ≈ V_B − V_BE = 1.859 V − 0.7 V = 1.159 V. Emitter current: I_E ≈ V_E / R_E = 1.159 V / 1.0 kΩ = 1.159 mA. Collector current: I_CQ ≈ I_E · β/(β+1) ≈ 1.159 mA · 100/101 = 1.147 mA (approx I_CQ ≈ 1.16 mA if β large; we will use 1.15 mA for simplicity). Take I_CQ ≈ 1.15 mA.
  3. Collector voltage and V_CE: Collector drop: I_CQ · R_C = 1.15 mA · 3.3 kΩ = 3.795 V. Collector voltage: V_C = V_CC − 3.795 V = 12 V − 3.795 V = 8.205 V. V_CE = V_C − V_E = 8.205 V − 1.159 V = 7.046 V. Q-point: (I_CQ ≈ 1.15 mA, V_CEQ ≈ 7.05 V). This is within active region.
  4. Small-signal parameters: g_m = I_CQ / V_T = 1.15 mA / 26 mV = 0.04423 S. r_e′ = 1 / g_m = 22.61 Ω (also ≈ V_T / I_CQ = 26 mV / 1.15 mA = 22.61 Ω). r_π = β / g_m = 100 / 0.04423 = 2261 Ω ≈ 2.26 kΩ.
  5. Voltage gain (emitter bypassed ⇒ AC emitter ≈ ground): Formula: A_v ≈ − (R_C ‖ R_L) / r_e′. Here R_L = ∞ ⇒ R_C ‖ R_L = R_C = 3.3 kΩ. Numbers: A_v ≈ − 3300 Ω / 22.61 Ω = −145.9. So A_v ≈ −146 (large gain with phase inversion). If emitter were not bypassed, gain would reduce to approximately −R_C / (r_e′ + r_e_E,ac) where r_e_E,ac is the emitter AC resistance not bypassed.
  6. Input resistance seen by the source: R_in(base) ≈ r_π in parallel with R_th of the divider. r_π ≈ 2.26 kΩ, R_th ≈ 18.59 kΩ. R_in ≈ r_π ‖ R_th = (2.26 kΩ · 18.59 kΩ) / (2.26 kΩ + 18.59 kΩ) = (42.0 MΩ) / 20.85 kΩ ≈ 2.01 kΩ.

Final answers:

  • (a) I_CQ ≈ 1.15 mA; V_CEQ ≈ 7.05 V
  • (b) A_v ≈ −146 (with emitter bypassed and no external load)
  • (c) R_in ≈ 2.0 kΩ (limited mainly by r_π)

Example 3: Load line and symmetrical swing Given: V_CC = 10 V, R_C = 2.0 kΩ. Design the Q-point for approximately symmetrical output swing about the midpoint. Assume negligible R_E for AC and use first-order analysis. Find I_CQ and V_CEQ.

Steps:

  1. Load line intercepts: I_C(max) at V_CE = 0 is V_CC / R_C = 10 V / 2.0 kΩ = 5.0 mA. V_CE(max) at I_C = 0 is V_CC = 10 V.
  2. For symmetrical swing, choose midpoint on load line: V_CEQ ≈ V_CC / 2 = 5.0 V and I_CQ ≈ I_C(max) / 2 = 2.5 mA.
  3. Check: With this Q, the output can ideally swing from near V_CE ≈ 0 V to near V_CE ≈ 10 V without clipping (practically keep some margin above saturation, e.g., V_CE ≥ 0.2–0.3 V).

Final answer: Q-point at approximately I_CQ ≈ 2.5 mA, V_CEQ ≈ 5.0 V for symmetrical swing.

Common mistakes

  • Forgetting V_CE(sat) and V_BE(sat) in switch calculations, leading to optimistic resistor values.
  • Ignoring the bias network loading on input resistance; r_π in parallel with divider can significantly reduce R_in.
  • Choosing Q-point at V_CE ≈ V_CC/2 without checking I_C drop across R_C; must satisfy V_CE = V_CC − I_C R_C simultaneously.
  • Omitting coupling and bypass capacitors in CE amplifier diagrams or not explaining their role (DC block, AC pass, gain shaping).
  • Confusing phase: CE amplifier inverts the signal (negative gain), while emitter follower (not in this topic’s main focus) does not.
  • Using V_BE = 0.7 V blindly at all currents and temperatures; be aware it varies (approx 0.6–0.8 V for common bias currents at room temperature).
  • Forgetting flyback diode across inductive loads when switching relays/coils.
  • Ignoring storage time in fast switching; deep saturation slows turn-off.

For your exam

  • Short notes: Transistor as a switch; transistor as an amplifier; DC load line; voltage-divider bias; coupling and bypass capacitors; switching times and their effect.
  • Derivations: DC load line (V_CE = V_CC − I_C R_C), relation between α and β, small-signal gain of CE amplifier (A_v ≈ −(R_C‖R_L)/r_e′), expressions for g_m, r_e′, r_π.
  • Numericals: Design of base resistor for switching a given load; calculation of Q-point for given divider and resistors; estimating A_v, R_in. Show formula before substitution, carry SI units, and state final answers clearly.
  • Diagrams: Neat CE amplifier with bias network and capacitors; transistor switch with labeled V_CC, R_C or load, R_B, I_B, I_C, V_CE, and direction of currents. Explain labels in the answer.
  • Full-marks answers: List assumptions (e.g., silicon BJT, room temperature, β value), draw clean circuit, derive step-by-step, compute numerically with units, and interpret physically (e.g., phase inversion, margin to saturation).

Quick check

  1. What region must a BJT operate in to act as a linear amplifier, and how is this ensured?
  2. Why do we use a forced beta (β_forced) smaller than β_min when designing a BJT switch?
  3. A CE amplifier has V_CC = 9 V and R_C = 1.8 kΩ. For symmetrical swing, estimate I_CQ and V_CEQ.

Answers: 1) Active region; ensure by proper DC bias (Q-point) using a bias network so that base–emitter is forward biased and base–collector is reverse biased. 2) To guarantee saturation despite device variations; using a smaller β_forced ensures enough base current under worst-case β. 3) I_CQ ≈ (V_CC/R_C)/2 = (9/1.8k)/2 = (5 mA)/2 = 2.5 mA; V_CEQ ≈ V_CC/2 = 4.5 V.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?