BJT (Bipolar Junction Transistor) is a type of transistor that uses both electron and hole charge carriers. There are two main types of BJTs:
1. **NPN Transistor:**
- In an NPN transistor, the **N** stands for the negative type semiconductor, and the **P** stands for the positive type.
- The structure of an NPN transistor has a layer of **P-type** material (the base) between two **N-type** materials (the emitter and collector).
- When a small current flows into the base (P-type), it allows a larger current to flow between the collector and the emitter. The electrons flow from the emitter (N-type) to the collector (N-type).
**Key Features:**
- The current flows from the **emitter to the collector** (because the emitter is N-type).
- The base current is small, but the collector current is much larger.
- It is commonly used in digital and analog circuits.
2. **PNP Transistor:**
- In a PNP transistor, the **P** stands for the positive type, and the **N** stands for the negative type.
- The structure of a PNP transistor has a layer of **N-type** material (the base) between two **P-type** materials (the emitter and collector).
- When a small current flows out of the base (P-type), it allows a larger current to flow from the emitter to the collector. The holes (positive charge carriers) flow from the emitter (P-type) to the collector (P-type).
**Key Features:**
- The current flows from the **collector to the emitter** (because the emitter is P-type).
- The base current is small, but the collector current is much larger.
- It is also used in analog and digital circuits, but the voltage polarities are reversed compared to NPN transistors.
### Key Differences:
- **NPN:** The transistor is **on** when the base is **positive** relative to the emitter. It is more commonly used because electrons are faster carriers.
- **PNP:** The transistor is **on** when the base is **negative** relative to the emitter.
Both types are essential in switching and amplification circuits, but the choice of which to use depends on the application and the polarity of the circuit.