Definition: An optocoupler (or optoisolator) is an electronic component that transfers electrical signals between two isolated circuits using light. It prevents high voltages from affecting the system receiving the signal.
Key Components
- LED (Light Emitting Diode): Converts electrical input signal to light.
- Photodetector: Detects light and converts it back to an electrical signal (e.g., phototransistor, photodiode, or triac).
Common Types
Type |
Output Device |
Typical Use |
4N25, 4N35 |
Phototransistor |
Digital signal isolation |
PC817 |
Phototransistor |
General purpose |
MOC3021 |
TRIAC |
AC load control (e.g., SSR) |
HCPL-2630 |
High-speed logic gate output |
Digital communication isolation |
Applications
- ✔ Isolate microcontrollers from high-voltage circuits
- ✔ Noise suppression in industrial environments
- ✔ Switch-mode power supply feedback loops
- ✔ Digital communication (UART, SPI) isolation
- ✔ Solid-state relays (SSRs)
Key Parameters
- CMT (Current Transfer Ratio)
- Ratio of output current to input LED current (e.g., 100% = 1mA in → 1mA out)
- Isolation Voltage
- Up to 5kV typical; ensures safety between input/output
- Response Time
- From microseconds (general) to nanoseconds (high-speed types)
- Operating Temperature
- Usually -55°C to +110°C
Tip: Always use a series resistor with the input LED to limit current (typically 5–20 mA).
Schematic Symbol Example (4N35):
IN ──┤LED├───┐
│
[R]
│
GND ──────────┘
│
OUT ──┬─ Collector (C)
└─ Emitter (E) ── GND
(via load)
Base (B) often left floating or pulled down