Ugenz Academy/IoT Tutorial

Transistors

14 min read2,751 words

Reading progress

Keep learning

Transistors — Complete Detailed Explanation

1. What Is a Transistor?

A transistor is a semiconductor electronic component used to amplify electrical signals, switch electronic circuits ON and OFF, and control the flow of current or voltage.

Transistors are among the most important components in modern electronics. They are used in computers, mobile phones, televisions, amplifiers, power supplies, microcontrollers, and almost every digital electronic device.

Что такое транзистор: основы, типы и области применения - JUNCT

junct.ru

A transistor can perform two major functions:

  • Switching: It controls whether current flows through a circuit.
  • Amplification: It uses a small input signal to control a larger output signal, allowing the signal to be amplified.

For example, a transistor can allow a small signal from a microcontroller to control a relay driver circuit, or it can amplify a weak audio signal so it can drive a speaker through a suitable amplifier stage.

2. Why Are Transistors Important?

Before transistors became widely available, many electronic circuits used vacuum tubes. Vacuum tubes were generally larger, consumed more power, and generated more heat than comparable transistor-based circuits.

Transistors made it possible to build smaller, more efficient, and more reliable electronic devices.

They are important because they allow electronic circuits to:

  1. Amplify weak signals.
  2. Switch loads electronically.
  3. Control motors, relays, and LEDs through suitable driver circuits.
  4. Generate and process electrical signals.
  5. Perform digital logic operations.
  6. Regulate voltage and current.
  7. Build integrated circuits containing billions of transistors.

Modern processors, memory chips, and microcontrollers rely on transistors to perform their functions.

3. Terminals of a Transistor

The terminals depend on the transistor type.

A common bipolar junction transistor (BJT) has three terminals:

  • Base (B): Controls the transistor's operation.
  • Collector (C): Carries current through the transistor's collector path.
  • Emitter (E): Provides the other side of the main current path.

Transistor 2N3904

electronicoscaldas.com

A metal-oxide-semiconductor field-effect transistor (MOSFET) also commonly has three externally used terminals:

  • Gate (G): Controls the transistor using an electric field.
  • Drain (D): One terminal of the main current path.
  • Source (S): The other terminal of the main current path.

Some MOSFET packages expose a fourth body connection internally or externally, and the metal tab on many power transistors may be electrically connected to a particular terminal.

Important: Transistor pin arrangements vary by model and manufacturer. Always check the datasheet before wiring a transistor into a circuit.

4. Construction of a Transistor

Transistors are made from semiconductor materials, commonly silicon.

Their structure is designed so that a small input signal can control a larger current or voltage.

A. BJT Construction

A bipolar junction transistor contains three semiconductor regions:

  • Emitter
  • Base
  • Collector

These regions form two PN junctions.

In an NPN transistor, the structure is N-type, P-type, and N-type. In a PNP transistor, the arrangement is P-type, N-type, and P-type.

The emitter is heavily doped to supply charge carriers, the base is thin and relatively lightly doped, and the collector is designed to collect carriers and handle the required voltage and power.

PPT - Chapter 13 : Bipolar Junction Transistors PowerPoint Presentation - ID:4279270

slideserve.com

B. MOSFET Construction

A MOSFET has a gate separated from the semiconductor by an insulating layer. Applying a suitable gate voltage creates or controls a conductive channel between the drain and source.

BJT vs MOSFET: Which Is Better for Your Circuit?

jlcpcb.com

Because the gate is insulated, a MOSFET ideally draws almost no steady-state DC gate current. However, charging and discharging its gate capacitance requires current during switching.

5. Types of Transistors

Transistors can be divided into several major families.

BC549C transistor NPN 30V, 100mA; 500mW; TO92 | UralTone

1. Bipolar Junction Transistor (BJT)

A BJT uses both electrons and holes as charge carriers. Its collector current is controlled by the base-emitter drive in normal operation.

Common types: NPN and PNP.

Applications: Signal amplifiers, switching circuits, and current-control stages.

IRF540N tranzystor unipolarny N-MOSFET THT obudowa TO-220

2. Field-Effect Transistor (FET)

A FET controls current through an electric field. Its input control terminal typically requires very little steady-state current.

Common types include JFETs and MOSFETs.

Applications: Electronic switching, amplification, and power conversion.

Transistor JFET 2n3819

3. Junction Field-Effect Transistor (JFET)

A JFET controls the current through a semiconductor channel using a reverse-biased gate-channel junction.

Applications: Low-noise amplifiers, input stages, and analog circuits.

Insulated Gate Bipolar Transistor (IGBT) Guide

4. Insulated-Gate Bipolar Transistor (IGBT)

An IGBT combines an insulated gate with bipolar conduction characteristics. It is useful for controlling relatively high voltages and currents.

Applications: Motor drives, industrial inverters, and power-conversion equipment.

6. NPN and PNP Transistors

NPN and PNP transistors are the two main types of BJT.

A. NPN Transistor

An NPN transistor consists of an N-type emitter, a P-type base, and an N-type collector.

It is commonly used in low-side switching circuits, where the load is connected between the positive supply and the transistor's collector.

NPN vs PNP Transistor: Which One Should You Use?

jlcpcb.com

In a typical NPN switching circuit:

  • The emitter is connected to ground.
  • The load is connected between the positive supply and the collector.
  • A control signal is applied to the base through a suitable resistor.

When sufficient base drive is provided, the transistor turns ON and current flows from the collector to the emitter.

When the base drive is removed, the transistor turns OFF, apart from any leakage current.

B. PNP Transistor

A PNP transistor consists of a P-type emitter, an N-type base, and a P-type collector.

A PNP transistor is commonly used in high-side switching circuits, where it controls the connection between a positive supply and a load.

In a typical PNP switching circuit:

  • The emitter is connected toward the positive supply.
  • The load is connected between the collector and the lower-potential side of the circuit.
  • The base must be driven sufficiently lower than the emitter to turn the transistor ON.

The exact required base voltage depends on the transistor and operating current.

NPN vs. PNP

FeatureNPNPNP
Semiconductor structureN-P-NP-N-P
Main conventional current direction when ONCollector to emitterEmitter to collector
Typical switching arrangementLow-sideHigh-side
Turn-on conditionBase sufficiently above emitterBase sufficiently below emitter
Common examplesBC547, 2N2222BC557, 2N2907

These are common usage patterns rather than absolute limitations; both types can be used in other circuit configurations.

7. How Does a BJT Transistor Work?

A BJT can operate as a switch or as an amplifier.

For an NPN transistor in its forward-active region, the base-emitter junction is forward-biased and the base-collector junction is reverse-biased.

A small base current helps control a larger collector current.

A commonly used approximate relationship is:

IC=βIBI_C=\beta I_B

Where:

  • ICI_C = collector current
  • IBI_B = base current
  • β\beta = DC current gain

For example, if a transistor has a current gain of 100 and its base current is 1 mA, the simple active-region estimate is:

IC=100×1 mAI_C=100\times1\text{ mA} IC=100 mAI_C=100\text{ mA}

This estimate applies only when the transistor is operating in the forward-active region and other circuit limits do not restrict the current.

When used as a switch, the transistor is normally driven toward saturation in the ON state, so the collector current is determined mainly by the load and supply rather than by the gain equation alone.

8. Transistor Operating Regions

A BJT can operate in several regions.

A. Cutoff Region

The transistor is essentially OFF.

  • Base-emitter drive is insufficient for normal conduction.
  • Collector current is very small, apart from leakage.
  • It behaves approximately like an open switch.

B. Forward-Active Region

The transistor operates as an amplifier.

  • The base-emitter junction is forward-biased.
  • The base-collector junction is reverse-biased.
  • Collector current is controlled by the input signal over the normal operating range.

C. Saturation Region

The transistor is driven fully ON for switching purposes.

  • Both junctions are forward-biased.
  • Collector-emitter voltage becomes relatively low.
  • The load current is mainly determined by the external circuit.

D. Reverse-Active Region

The transistor operates with the roles of collector and emitter effectively reversed. This mode is uncommon in normal circuit designs and usually has lower performance.

RegionApproximate behaviorCommon use
CutoffOFFSwitching
Forward-activeAmplifyingAnalog circuits
SaturationONSwitching
Reverse-activeReverse operationSpecialized or uncommon uses

9. Transistor as a Switch

One of the most common applications of a transistor is electronic switching.

A transistor can allow a low-power control signal to operate a higher-current load, provided the transistor and circuit are properly designed.

Consider an NPN transistor used to switch a load:

  1. A control signal supplies base current through a resistor.
  2. The transistor turns ON.
  3. Current flows through the load and collector-emitter path.
  4. When the control signal is removed, the transistor turns OFF.

Example: Switching an LED

Suppose a transistor switches an LED connected to a 5 V supply.

The circuit can contain:

  • A 5 V supply
  • An LED
  • A current-limiting resistor for the LED
  • An NPN transistor
  • A base resistor
  • A control signal from a microcontroller

The LED's resistor limits LED current, while the base resistor limits base current.

The two resistors perform different jobs and should not be confused.

10. Calculating the Base Resistor

When using a BJT as a switch, the base resistor limits the current from the control signal.

A simplified calculation is:

RB=V_control−V_BEIBR_B=\frac{V\_{\text{control}}-V\_{BE}}{I_B}

Where:

  • RBR_B = base resistor
  • V_controlV\_{\text{control}} = control output voltage
  • V_BEV\_{BE} = base-emitter voltage while conducting
  • IBI_B = desired base current

Example

Suppose:

  • Control voltage = 3.3 V
  • Approximate base-emitter voltage = 0.7 V
  • Desired base current = 5 mA

Then:

RB=3.3−0.70.005R_B=\frac{3.3-0.7}{0.005} RB=2.60.005R_B=\frac{2.6}{0.005} RB=520 Ω\boxed{R_B=520\ \Omega}

A nearby standard value could be selected after checking the transistor's required drive, the microcontroller's output-current limits, and the load current.

For reliable saturation, the base current is often chosen using a conservative forced current gain rather than relying on the transistor's typical gain alone.

11. Transistor as an Amplifier

A transistor can amplify a small input signal.

In an amplifier circuit, a small change in the input signal produces a larger change in output current or voltage. Appropriate biasing keeps the transistor in its intended operating region.

The Bipolar Junction Transistor - ppt download

slideplayer.com

For example, a microphone may produce a weak electrical signal. A transistor amplifier can increase the signal's amplitude so that a later stage can process it.

Common BJT amplifier configurations include:

  • Common emitter: Often provides voltage gain and an inverted output.
  • Common collector: Also called an emitter follower; commonly used for buffering.
  • Common base: Often used in specialized high-frequency and impedance-matching applications.

Amplifier performance depends on biasing, transistor characteristics, load impedance, feedback, and the surrounding circuit.

12. Field-Effect Transistors (FETs)

A field-effect transistor controls current using an electric field.

Unlike a BJT, which uses base current to control conduction, a FET is primarily controlled by voltage at its gate.

The two major FET families are:

  • JFET
  • MOSFET

MOSFET Terminals

A typical MOSFET has:

  • Gate (G)
  • Drain (D)
  • Source (S)

[MOSFET Symbol Explained: NMOS, PMOS & Diagram Guide

20262026

](https://images.openai.com/static-rsc-4/Mcp_vVtrDEVAAXE_9-XFvgXJ4X94wt9itHM6z0OvcNTlLNhdWQKhD6xa6WbSRjkJPnDwV2GKKIoRPq3o4Ts6vpVu4b18A5aPO1K7K6miWZH9PC78nq_OO9HZkFigX5aNTaaizhWF7nvaJ2NhUsrc3vATTNzhv7ICVsjF_5dA9Vk?purpose=inline)

jlcpcb.com

In an enhancement-mode N-channel MOSFET, applying a sufficiently positive gate-to-source voltage creates a conductive channel, allowing current to flow between drain and source.

Removing the gate drive generally turns the device OFF, assuming the gate is referenced properly and the MOSFET is used within its ratings.

13. MOSFET as a Switch

MOSFETs are widely used for switching because they can provide low conduction resistance with very little steady-state gate current.

A common example is an N-channel MOSFET used as a low-side switch.

N-Channel MOSFET: The Complete Guide | MakersDeck

makersdeck.com

In this arrangement:

  • The source connects to circuit ground.
  • The drain connects to the load.
  • The other side of the load connects to the positive supply.
  • The gate receives a suitable control voltage.

When the gate-to-source voltage is high enough for the selected MOSFET, it turns ON. When the gate-to-source voltage is sufficiently low, it turns OFF.

For inductive loads such as motors and relays, a suitable flyback diode or other suppression circuit may be required to limit voltage spikes.

Important: Not every MOSFET turns fully ON with a 3.3 V control signal. Select a logic-level MOSFET whose on-resistance is specified at the available gate voltage.

14. BJT vs. MOSFET

FeatureBJTMOSFET
Control methodBase currentGate-to-source voltage
Main terminalsBase, collector, emitterGate, drain, source
Steady-state control currentRequiredVery small ideally
Input impedanceGenerally lowerGenerally very high
Switching behaviorSuitable for many switching tasksWidely used in high-speed and power switching
Common applicationsSignal amplification, switchingPower supplies, motor drivers, digital circuits

Neither type is always better. The best choice depends on the required current, voltage, switching speed, drive circuit, efficiency, and cost.

15. Transistor Power Dissipation

A transistor converts some electrical energy into heat during operation.

For a BJT, a simplified estimate of the power dissipated in the transistor is:

P≈V_CEICP\approx V\_{CE}I_C

Where:

  • PP = transistor power dissipation
  • V_CEV\_{CE} = collector-emitter voltage
  • ICI_C = collector current

For example, if a transistor has 2 V across its collector-emitter terminals while carrying 0.2 A:

P=2×0.2P=2\times0.2 P=0.4 W\boxed{P=0.4\text{ W}}

The device's junction temperature must remain within its limits. Heat sinks, appropriate package selection, and safe operating area checks may be necessary.

In a properly saturated switching circuit, the transistor's voltage drop can be much lower, reducing conduction loss.

16. Transistor Applications

D1047 Transistor Stereo Amplifier 160W | Auxtics Technologies – Auxtics Technologies E-Store

Signal amplification

Transistors amplify audio, radio-frequency, sensor, and other electrical signals.

Relay Driver Circuit - Part 1 - The Tech Circuit™

Switching and control

Transistors switch LEDs, relays, motors, and other loads when appropriately rated.

Close-up of CPU Chip Processor. Selective Focus

Digital electronics

Integrated circuits use large numbers of transistors to build logic gates, memory, processors, and control systems.

Power electronics

MOSFETs and IGBTs control power in converters, inverters, motor drives, and regulated power supplies.

17. Advantages of Transistors

  • Small size and low weight.
  • Low power consumption in many applications.
  • Fast electronic switching.
  • Suitable for signal amplification.
  • High reliability when operated within ratings.
  • Can be integrated in very large numbers into a single chip.
  • Available for low-power signals and high-power applications.

18. Limitations of Transistors

  • Can be damaged by excessive current or voltage.
  • Generate heat during operation.
  • Often require appropriate biasing or gate-drive circuitry.
  • Have limits on switching speed, power dissipation, and operating temperature.
  • May need protective components when switching inductive loads.
  • Can be sensitive to static electricity, especially many MOSFETs.

19. Important Transistor Formulas

QuantityFormula
BJT collector current in active regionIC≈βIBI_C\approx\beta I_B
BJT emitter currentIE=IC+IBI_E=I_C+I_B
Base resistorRB=V_control−V_BEIBR_B=\frac{V\_{\text{control}}-V\_{BE}}{I_B}
BJT power estimateP≈V_CEICP\approx V\_{CE}I_C
Electrical powerP=VIP=VI
MOSFET conduction-loss estimateP≈ID2R_DS(on)P\approx I_D^2R\_{DS(on)}

The formulas are simplified models. Actual circuit design must account for device datasheets, temperature, load requirements, switching behavior, and safe operating limits.

Conclusion

A transistor is a semiconductor component that controls electrical current and is used mainly for switching and amplification. The two major families are BJTs, which are controlled by base drive, and FETs, which are controlled primarily by an electric field at the gate. NPN and PNP transistors are common BJT types, while MOSFETs are widely used in digital electronics and power switching. Transistors form the foundation of modern electronic circuits, from simple LED drivers to advanced processors and industrial control systems.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy