How a BJT Transistor Works: Technical Guide
📂 Fundamental Electronics

How a BJT Transistor Works: Technical Guide

⏱ Read time: 10 min 📅 Published: 09/03/2026

💡 Quick Tip

Tip: The BJT is a current-controlled device, unlike the MOSFET which is voltage-controlled.

Introduction to Bipolar Junction Transistors (BJT)

The Bipolar Junction Transistor or BJT is a fundamental semiconductor component in modern electronics. Its invention marked the transition from bulky vacuum tubes to the miniaturization of integrated circuits. A BJT is a three-terminal device consisting of the Base (B), Collector (C), and Emitter (E). The core physical principle involves the interaction of two PN junctions in close proximity, allowing a small current at the base to modulate and control a significantly larger current flowing between the collector and emitter.

Architecture and Types: NPN vs. PNP

BJTs are classified into two main types based on their doping structure:

  1. NPN Transistors: A thin layer of P-type material (the base) is sandwiched between two N-type layers (emitter and collector). These are the most common due to the higher mobility of electrons compared to holes, enabling faster switching speeds.
  2. PNP Transistors: An N-type layer is situated between two P-type layers. In this configuration, the main current flow is from the emitter to the collector when the base is pulled to a lower potential relative to the emitter.

Operating Regions

To use a BJT effectively in circuit design, one must understand its three operational states:

  • Cut-off Region: The base current is zero ($I_B = 0$). The transistor behaves like an open switch, blocking current flow between collector and emitter.
  • Active Region: This is the linear amplification zone. The collector current ($IC$) is proportional to the base current, determined by the gain factor known as Beta (β) or $h{FE}$. Here, $I_C = β cdot I_B$.
  • Saturation Region: The transistor acts as a closed switch. Increasing the base current further does not increase the collector current, as it has reached the maximum allowed by the external circuit.

Critical Design Parameters

When designing with BJTs, engineers must account for power dissipation ($V_{CE} cdot IC$) to prevent thermal runaway and ensure the collector-emitter breakdown voltage ($V{CEO}$) is never exceeded.

📊 Practical Example

Real-World Scenario: Controlling a 12V Relay with an Arduino

Imagine you need to control a high-power 12V relay using a microcontroller like an Arduino, which only outputs 5V and a few milliamperes. A digital pin cannot drive the relay coil directly without damaging the chip. We use an NPN transistor (e.g., the 2N2222) as a saturation switch.

Step 1: Base Resistor Calculation. If the relay coil requires 100mA and the transistor has a minimum Beta of 100, we need at least 1mA at the base. For reliable saturation, we apply a safety factor of 3 (3mA). Using Ohm's Law: $R = (V{out} - V{BE}) / IB$. With $5V$ output and a $0.7V$ $V{BE}$ drop, we get: $(5 - 0.7) / 0.003 approx 1.4kOmega$. A standard 1kΩ or 1.5kΩ resistor is ideal.

Step 2: Wiring. Connect the Emitter to Ground (GND). The Collector connects to one side of the relay coil, and the other side of the coil connects to +12V. The base resistor is placed between the Arduino digital pin and the Transistor Base.

Step 3: Inductive Protection. It is mandatory to place a flyback diode in parallel with the relay coil (cathode to +12V, anode to collector). This protects the BJT from high-voltage spikes generated by the coil's magnetic field collapse when the transistor turns off.