transistor-bjt-npn-pnp-funcionamiento

What is a BJT Transistor: NPN, PNP and Operating Regions

  • 5 min

An BJT transistor is a transistor controlled by base current, capable of governing a larger current between collector and emitter.

We begin to dissect the transistor family with the most classic member: the BJT (Bipolar Junction Transistor).

Although today MOSFETs dominate power electronics, BJTs (like the famous BC547 or 2N2222) remain essential for small signal, analog amplification, and low-power switching.

The key fundamental you must burn into memory is that the BJT is a current-controlled device. A small current at its input governs a large current at its output.

Base, Collector, and Emitter

A BJT transistor has three terminals, each with a specific function:

  1. Emitter (E): where charge carriers are “emitted” or flow through.
  2. Base (B): the control terminal (the faucet). Here we inject the pilot current.
  3. Collector (C): where the main current is “collected.”

Depending on how they are internally constructed, we have two flavors:

The main current flows from collector to emitter. It requires a positive voltage and current entering the base to turn on. (This is the most common type.)

  • Mnemonic rule for the symbol: The arrow No Pinch pointing outward → Comes out of the symbol.

Conventional current flows from emitter to collector. It is activated by bringing the base to a voltage sufficiently lower than the emitter and drawing current out of it.

  • Mnemonic rule for the symbol: The arrow Points inward → Goes into the symbol.

In 90% of your microcontroller projects, you will use NPN transistors connected as a “low-side” switch (between the load and GND).

The Amplification Factor ( or )

Beta () relates the collector current to the base current in the active region and under specific conditions.

Where:

  • : collector current (the “large” one).
  • : base current (the “small” one).
  • : gain (typically between 100 and 300 for small transistors).

If you have a transistor with and you feed 1 mA into the base, it will allow approximately 100 mA to flow through the collector.

Operating Regions

Depending on how much current we give to the base, the transistor can be in one of three states. Understanding this is the difference between your circuit running cool and perfect, or letting out the magic smoke.

Cut-off region (Open Switch)

If there is no current in the base (), the valve is closed.

  • .
  • The transistor behaves like an open circuit.
  • Use: “OFF” state (logic 0) in digital electronics.

Active region (Amplifier)

If we inject a moderate current into the base, the transistor lets through a proportional current ().

  • The transistor is neither fully open nor fully closed. It is “choking” the passage partially.
  • Use: audio amplifiers. This is where the input signal is magnified without distortion.
  • The danger: in this region the transistor dissipates a lot of heat, because it has current flowing (𝐼) and voltage dropping across its terminals (𝑉) simultaneously (𝑃 = 𝑉 · 𝐼).

Saturation region (Closed Switch)

What happens if we feed so much current into the base that tries to exceed what the power supply can deliver? The transistor “throws in the towel” and opens the gate fully. It no longer amplifies because there is no more “water” to draw.

  • The voltage between collector and emitter () drops to nearly zero (≈ 0.2 V).
  • It behaves like a closed switch (or a wire).
  • Use: “ON” state (logic 1) in digital circuits. For turning on relays, motors, or LEDs.

Practical Calculation: Using an NPN as a Switch

This is the “battle-tested” exercise. You have a relay that consumes 100 mA and you want to activate it with an Arduino pin (5 V). We will use an NPN transistor (e.g., 2N2222).

Goal: drive the transistor into saturation (so it acts as a perfect switch and doesn’t overheat).

  1. Data:

    • .
    • (we look at the datasheet and take a conservative case).
    • (typical base-emitter drop).
  2. Calculate theoretical base current: To allow 100 mA to pass, we need at least:

  3. Apply saturation factor (overdrive): To ensure it goes into deep saturation and doesn’t stay in the active region (where it would burn up), we multiply the required base current by a safety factor (x3, x5, or x10). This is called hard saturation. Let’s use a conservative factor (x5):

  4. Calculate base resistance (): Apply Ohm’s law to the input circuit. Choice: a 1kΩ resistor is the perfect “standard” value for almost any small transistor in these tasks.

If the load is inductive, such as a relay or solenoid, add the appropriate protection network. For a DC coil with unidirectional switching, this is usually a flyback diode; other topologies may require a different solution.

Forcing excessively deep saturation reduces the voltage drop but can increase turn-off time. In fast switching, we must balance conduction losses, switching speed, and base current.