Lesson 5/1729%
MODULE 05

Different Types of Optocouplers

A guided tour of every output family with representative parts, characteristic curves, strengths, and traps: from the humble phototransistor to gate-driver couplers that swing amps, and analog linear devices that pass a faithful copy of a waveform across the barrier.

Learning Objectives

After completing this module, you will be able to:

Distinguish all major output-stage families and their symbols
Match each family to its speed/gain/drive envelope
Read the key spec differences between representative parts
Choose between TRIAC and SCR output for AC control
Explain how linear (analog) optocouplers achieve linearity
Where this fits. Module 3 showed that the detector die is what distinguishes optocoupler families, and Module 4 derived how a phototransistor works. This module tours every output family you will meet in real designs: what is inside, the symbol, representative parts, and where each one wins or bites. Module 6 (Parameters) then quantifies the specs, and Module 10 (Design Examples) builds circuits with them.
Illustrations and animations are original teaching drawings, not to scale. Values marked representative are typical of common parts; always confirm against the current datasheet or standard you design to.

Every optocoupler has the same input: an infrared LED. What differs is the output die, and that choice fixes speed, gain, how much current the output can handle, whether it needs a supply on the isolated side, and whether it switches DC, AC or an analog signal. Ten families cover almost every design:

Log-log chart of approximate speed versus output current for ten optocoupler families, with bubble size showing relative cost: TRIAC and SCR outputs at low speed and high current, gate drivers at high speed and high current, logic output at the highest speed, linear parts at low current
Figure 1. Where each family sits. Power outputs (orange) trade speed for current; logic outputs (cyan) trade current for speed; the linear family (purple) is in a class of its own: tiny currents, but precise.

Interactive: Family Comparison Matrix

Filter by output type and minimum speed. The table and the bubble chart update together; families that fail the filter are dimmed on the chart.

FamilyExamplesOutputApprox. speedOutput currentGain / drive specRel. cost

Interactive: “Which Family?” Wizard

Answer six questions about your interface. The wizard recommends a family and a representative part, and explains why. It is a starting point: confirm with Module 8’s full selection method.

Recommended family–
Representative part–
–

Phototransistor optocoupler symbolAKCEB4N35 (6-pin, base bonded out) / PC817 (4-pin, no base)

The workhorse: an NPN phototransistor whose large base–collector junction is the light detector (Module 4). 6-pin parts bond the base out, so you can add RBE for speed and noise immunity. 4-pin parts do not. Output is an open collector (or emitter follower) that you load with a resistor.

Representative parts and key specs

PartKey specs (representative)Notes
PC817 (4-pin DIP/SMD)CTR 50–600 % (ranks A–D); IC ≤ 50 mA; tr/tf ≈ 4/3 µs typ at RL = 100 Ω; 5 kVrmsLowest cost, huge second-source base
4N35 (6-pin DIP)CTR ≥ 100 % at 10 mA; base pin; VCEO 30–70 V (vendor-dependent)Classic part, base available for RBE
TLP785 / TLP185CTR ranks similar to PC817; TLP185 in SO6Small-footprint alternatives

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Digital inputs (24 V PLC), status signals, relay drivers, SMPS feedback (linear region, Module 10), any signal slower than ≈ 10–50 kbit/s.

Strengths

Cheap, robust, gain above 100 %, no output supply needed, huge choice of packages and ranks.

Traps

Slow (Miller effect); CTR spreads 10×, varies with temperature and ages; deep saturation adds storage time. Pick the rank and derate (Modules 4 and 9).

Photodarlington optocoupler symbolAKCEPhotodarlington (4N32, H11B1)

A phototransistor drives a second transistor on the same die, so the gains multiply. CTR of 500 % to several thousand percent lets tiny LED currents switch tens of milliamps. The price is speed and a high saturation voltage: a Darlington cannot pull its output below about one diode drop plus a VCE(sat).

Representative parts and key specs

PartKey specs (representative)Notes
4N32 / 4N33CTR ≥ 500 % at IF = 10 mA; VCE(sat) ≈ 1 V; turn-off tens to ≈ 100 µs6-pin, base available
H11B1CTR ≥ 500 %Similar family, several vendors

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Very low-power inputs (battery-sensing, µA-starved signals), slow relay or indicator drivers, where speed does not matter.

Strengths

Very high gain; drives loads directly from weak signals.

Traps

VCE(sat) ≈ 1 V may not be a valid logic low on 3.3 V systems; very slow; dark current is also multiplied by the huge gain, so hot leakage is large.

Photodiode plus transistor optocoupler symbolAKV_CCV_OGND6N135 / 6N136

The detector is split: a photodiode reverse-biased from VCC generates photocurrent, and a separate output transistor amplifies it. Because the photodiode node barely moves, the Miller multiplication that slows a phototransistor disappears. Speed rises to about 1 Mbit/s, while CTR falls to tens of percent.

Representative parts and key specs

PartKey specs (representative)Notes
6N135CTR ≥ 7 % at IF = 16 mA; ≈ 1 Mbit/s; VCC 5 VBase pin (pin 7) accessible
6N136CTR ≥ 19 % at IF = 16 mA; ≈ 1 Mbit/sHigher-CTR grade of 6N135
HCPL-4502 classSame topology, improved CMR optionsUsed in inverter feedback paths

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Serial links up to ~1 Mbit/s, isolated feedback in motor drives, IPM fault lines, anywhere a phototransistor is too slow and a logic part too power-hungry.

Strengths

Fast for its class, linear photodiode current, less temperature-dependent than a phototransistor.

Traps

Low CTR needs higher IF (≈ 10–16 mA); needs a VCC on the output side; base pin picks up noise if not handled per the datasheet.

High-speed logic-output optocoupler symbolAKTIAlogicV_OV_CCGNDEN6N137 / HCPL-2630 / TLP2361 (shield not shown)

A photodiode feeds an integrated trans-impedance amplifier, comparator and logic output stage. Many parts put a transparent Faraday shield over the detector for common-mode immunity. The input is specified as an LED threshold current rather than CTR: above it, the output switches cleanly. Outputs are either open-collector (6N137, needs a pull-up) or totem-pole (TLP2361-class, drives the line directly). Some parts have an enable pin.

Representative parts and key specs

PartKey specs (representative)Notes
6N13710 MBd; IF threshold ≤ 5 mA (recommend 6.5–15 mA); VCC 5 V; open-collector; enable pin0.1 µF bypass at the pins is mandatory
HCPL-2630Dual-channel 10 MBd; open-collectorNo enable; two channels share one package
TLP2361≈ 15 MBd class; totem-pole output; low-voltage VCC capable; SO6No pull-up needed; faster rising edges

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Isolated UART, SPI (low rate), CAN/RS-485 transceiver isolation, fieldbus, PWM signals where timing matters.

Strengths

Clean logic output, ns-class propagation delays, threshold-type input insensitive to CTR ageing (until the LED falls below threshold).

Traps

Needs a regulated output supply and bypassing; standard (unshielded) grades have modest CMTI; pulse-width distortion and channel-to-channel skew limit the usable data rate (Module 6); leaving the enable pin floating near noisy traces causes glitches.

Linear optocoupler with servo and output photodiodesAKPD1 servo (input side)PD2 output (isolated side)K1 = I_P1 / I_FK2 = I_P2 / I_FK3 = K2 / K1 ≈ 1

The trick behind a linear optocoupler is a second photodiode on the input side. The LED illuminates two matched photodiodes: PD1 (servo) on the input side and PD2 (output) across the barrier. An input op-amp adjusts IF until PD1’s current equals Vin/R1. That servo loop cancels the LED’s non-linearity, temperature drift and ageing. Because PD2 sees the same light, its current tracks PD1 with a ratio K3 = K2/K1 ≈ 1, and an output op-amp turns it back into a voltage.

Representative parts and key specs

PartKey specs (representative)Notes
IL300K1 ≈ 0.007 typ; K3 ≈ 1 (sold in K3 bins); servo linearity in the 0.01 % class; bandwidth > 100 kHzAlGaAs LED, DIP-8
HCNR201K3 = 1 ± 5 %; low non-linearity; wide bandwidthTighter K3 than the HCNR200 grade

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Isolated voltage and current sensing (DC bus, shunt amplifiers), isolated 4–20 mA loops, medical signal isolation, analog feedback where a digital isolator plus ADC is overkill.

Strengths

True analog isolation with excellent linearity and stability; the servo loop removes LED ageing from the transfer function (to first order).

Traps

Needs op-amps and supplies on both sides; K3 tolerance sets gain accuracy (trim or buy tight bins); photoconductive mode gains bandwidth but adds offset; the servo loop needs compensation to be stable.

Two schematics of linear optocoupler circuits: photovoltaic mode with photodiodes at 0 V bias, and photoconductive mode with reverse-biased photodiodes; each has an input op-amp driving the LED with servo photodiode PD1 and an output op-amp with PD2 and R2
Figure 2. Photovoltaic and photoconductive servo circuits. In both, Vout/Vin = K3·R2/R1: the gain depends on two resistors and a matched photodiode ratio, not on LED efficiency.
IP1 = Vin / R1  ⇒  IF = IP1 / K1  ⇒  IP2 = K2·IF = K3·IP1  ⇒  Vout = K3 · (R2/R1) · Vin
  • K1, K2 — photodiode current per LED current (≈ 0.5–1 %)
  • K3 = K2/K1 — the transfer gain, set by photodiode matching, not by the LED
Worked example — 0–5 V isolated measurement
R1 = R2 = 50 kΩ, K1 = 0.007, K3 = 1.00.
  1. Full-scale PD1 current 5 V / 50 kΩ = 100 µA.
  2. Required IF = 100 µA / 0.007 ≈ 14.3 mA, within a 20 mA design limit.
  3. Vout = 1.00 × (50k/50k) × Vin = Vin. With a K3 bin of ±5 %, expect 4.75–5.25 V at full scale unless trimmed.

Calculator: Linear Optocoupler (IL300-class)

Resistances in kΩ. The calculator follows the equations above and flags when the LED current or the output rail limits the range.

Transfer gain Vout/Vin–
Full-scale input Vin,max–
Full-scale output–
LED current at full scale–
Gain spread for K3 ±5 %–
Bandwidth class–
–

MOSFET-output solid-state relay symbolAKPV arrayctrlLoad 1Load 2PhotoMOS / SSR (AQY210, TLP222): back-to-back MOSFETs

Instead of amplifying photocurrent, the detector die stacks many tiny photovoltaic cells in series. Together they generate several volts, enough to charge the gates of two output MOSFETs through a control circuit that also speeds turn-off. The MOSFETs are connected source-to-source, so the output blocks and conducts in both polarities: an electronic replacement for a small mechanical relay contact.

Representative parts and key specs

PartKey specs (representative)Notes
AQY210 family (PhotoMOS)Form A (normally open); load voltage and current from tens of volts/amps to hundreds of volts/tens of mA across the rangeMany voltage/RON variants
TLP222 familyForm A photorelay; DIP4/SOP4 variantsSimilar concept
General SSR trade-offHigher voltage rating → higher RON (ohms to tens of ohms); off-state leakage nA–µA; turn-on ≈ 0.1–few msForm B (normally closed) versions exist

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Replacing signal relays: measurement multiplexers, battery-stack sensing, telecom hook switches, isolated switching of small AC or DC loads, alarm contacts.

Strengths

No moving parts or contact bounce, AC and DC switching, very low drive current, silent, long life, tiny off-state leakage.

Traps

RON causes voltage drop and heating (and rises with temperature); slow (ms) switching; limited surge capability; off-state capacitance can couple fast signals; not a safety isolator for the load path itself.

TRIAC-output optocoupler symbolAKZCMT2MT1MOC3041 / MOC3063: zero-cross

A light-activated bidirectional thyristor (photo-TRIAC) that is not meant to carry the load current itself. It fires the gate of an external power TRIAC. Random-phase drivers (MOC302x) fire the moment the LED turns on, which is needed for phase-angle control (dimmers, soft starters). Zero-cross drivers (MOC304x, MOC306x) include an inhibit circuit that only allows firing when the line voltage is near zero, typically within a few tens of volts. That drastically reduces inrush current and EMI for on/off switching of resistive and inductive loads.

Representative parts and key specs

PartKey specs (representative)Notes
MOC3021 / 22 / 23Random-phase; VDRM 400 V; IFT 15 / 10 / 5 mA max; ITSM ≈ 1 A peakPhase control, inductive loads
MOC3041 / 42 / 43Zero-cross; VDRM 400 V; IFT 15 / 10 / 5 mA maxOn/off switching on 120 V lines
MOC3061 / 62 / 63Zero-cross; VDRM 600 V; IFT 15 / 10 / 5 mA maxPreferred on 230/240 V lines
Static dV/dt (typ)Random-phase parts ≈ 10 V/µs class; zero-cross parts hundreds to > 1000 V/µsCheck your exact part

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Heater and lamp control, solenoid valves, AC contactor coils, fan speed (random-phase), SSR modules.

Strengths

Very simple mains switching from logic; zero-cross versions cut EMI and inrush; the driver provides the mains isolation.

Traps

Zero-cross parts cannot do phase control; inductive loads need snubbers (the voltage jumps when the TRIAC commutates at current zero, and the current lags the voltage); 400 V parts are marginal on 230 V lines with surges; snubber leakage keeps a small current in the load when “off”.

Schematic: logic drives the LED of a MOC3041 through R_LED; the zero-cross photo-TRIAC connects from the line through a 360 ohm series resistor to the gate of a power TRIAC switching a load, with an RC snubber across the power TRIAC
Figure 3. The standard application circuit. The driver fires the power TRIAC’s gate; the snubber tames commutation dV/dt with inductive loads.
Animation comparing load current for a random-phase and a zero-cross driver given the same LED command: random-phase starts conducting at the voltage peak with a step, zero-cross waits for the next zero crossing
Animation 1. Same LED command, two drivers. The random-phase part fires at the peak and slams current into the load. The zero-cross part waits a few milliseconds for the next zero. Both stop at the first current zero after the LED turns off.

Calculator: TRIAC Driver and Snubber

Snubber R in Ω, C in nF, load inductance in mH. The dV/dt estimate is the initial slope when an RC snubber meets a step of Vpk through the load inductance, a simplified first check. Verify on the bench.

Peak line voltage–
Driver VDRM / Vpeak–
LED resistor (VF max 1.5 V)–
Min. series resistor RS (ITSM 1 A)–
Initial dV/dt with snubber ≈ R·Vpk/L–
Snubber leakage when OFF–
–

SCR-output optocoupler symbolAKAnodeCathodeGateH11C1 / 4N40: photo-SCR (latching)

A light-activated silicon-controlled rectifier. Once triggered, it latches and keeps conducting until its current falls below the holding current, regardless of the LED. It conducts in one direction only, so it suits DC circuits (where it acts as a latch that must be reset by interrupting the current) or half-wave AC control. A gate pin allows sensitivity adjustment with a gate–cathode resistor.

Representative parts and key specs

PartKey specs (representative)Notes
H11C1 / H11C4 classPhoto-SCR; VDRM 200–400 V class; a few hundred mA on-stateGate pin for sensitivity/dV/dt tuning
4N40Photo-SCR, 400 V classOlder family, still available from some vendors

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Crowbar and latching alarm circuits, triggering larger SCRs, half-wave AC control, DC latching relays.

Strengths

Latching memory without extra logic; high surge capability for its size; simple.

Traps

Does not turn off on DC by itself; one direction only; sensitive to dV/dt false triggering (use RGK). For full-wave AC use a TRIAC driver instead.

Gate-driver optocoupler symbolAKampdriverV_OV_CC2V_EEHCPL-3120 / TLP250 (ACPL-332J adds DESAT, UVLO, clamp)

A photodiode and amplifier drive a push-pull output stage powered from an isolated supply referenced to the power switch’s emitter or source. It can source and sink amps of peak gate current directly into an IGBT or MOSFET gate. Smart versions add under-voltage lockout (UVLO), desaturation (DESAT) short-circuit detection with soft shutdown, an active Miller clamp and an isolated fault signal back to the controller.

Representative parts and key specs

PartKey specs (representative)Notes
HCPL-3120≈ 2.5 A peak output; VCC 15–30 V; UVLO; propagation delay ≤ 0.5 µs classThe classic IGBT driver
TLP250≈ 1.5 A peak output class; DIP8Low-cost alternative
ACPL-332J≈ 2.5 A; DESAT + soft shutdown, UVLO, active Miller clamp, fault feedback; SO16 wideIntegrated protection for IGBT modules
CMTITens of kV/µs minimum for gate-driver grades; newer parts much higherEssential for fast SiC/GaN edges

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Motor-drive and inverter IGBT/MOSFET gates, solar inverters, UPS, welders, induction heating.

Strengths

Isolation and gate drive in one part; built-in protection; high CMTI; reinforced-insulation packages available.

Traps

Needs a floating supply (bootstrap or isolated DC-DC) with a negative rail for hard-switched IGBTs; bypass the output supply with low-ESR capacitors at the pins; propagation-delay mismatch between high and low side sets dead time; check CMTI against your real dV/dt (SiC can exceed 50–100 kV/µs).

Block diagram of a smart gate-driver optocoupler: input side with LED and fault output; output side with photodetector, UVLO, DESAT comparator, soft shutdown, push-pull stage and Miller clamp, driving an IGBT through R_G with a DESAT sense line to the collector
Figure 4. Protection features of an ACPL-332J-class driver. DESAT watches VCE while the gate is on; the Miller clamp holds the gate low during the opposite switch’s dV/dt.
AC-input optocoupler symbolACACCEH11AA1: antiparallel LEDs, responds to either polarity

Two LEDs connected in anti-parallel light the same phototransistor, so the part responds to input current of either polarity. With a series resistor from the mains, the output is on for most of each half-cycle and briefly turns off near each zero crossing. That makes it a simple mains-presence or zero-cross detector, and a polarity-insensitive input for AC/DC signals.

Representative parts and key specs

PartKey specs (representative)Notes
H11AA1Anti-parallel LEDs; CTR ≥ 20 % at IF = ±10 mA; symmetry spec between the two LEDsThe classic zero-cross detector
PC814 / TLP620 classAC-input phototransistor couplers in 4-pin/SMD packagesCompact alternatives

Representative values from common vendor datasheets; ratings differ between manufacturers and ordering options. Always confirm on the exact part.

Typical applications

Mains zero-cross detection for TRIAC phase control, line-presence and phase-loss detection, AC/DC universal 24 V inputs.

Strengths

Detects both half-cycles with one part; no bridge rectifier; simple.

Traps

The input resistor dissipates real power on mains (≈ 0.5 W for 230 V through 94 kΩ) and must be voltage-rated or split into series resistors; the zero-cross pulse is offset and widened by the LED threshold; CTR mismatch between the LEDs makes alternate pulses unequal.

Animation: 230 V mains waveform, the two LED currents alternating each half-cycle, and the output voltage pulsing high around every zero crossing
Animation 2. One H11AA1 detects both half-cycles. The output goes high only while the line is within a few tens of volts of zero, giving 100 pulses per second on a 50 Hz line.
The detector die defines the family

Same IR LED in every part; phototransistor, Darlington, photodiode, logic IC, PV array, thyristor or driver IC on the other side.

Speed vs gain

Phototransistor tens of kHz, Darlington ~kHz, 6N136 ~1 Mbit/s, logic parts 10+ Mbit/s. Gain falls as speed rises.

Threshold vs CTR

Logic and driver parts are specified by LED threshold current, not CTR; ageing matters only when IF approaches the threshold.

Linear = servo

IL300/HCNR201 use a second photodiode to cancel LED non-linearity: Vout/Vin = K3·R2/R1.

SSR for relays

PhotoMOS switches AC or DC with no contacts; watch RON, speed and leakage.

TRIAC vs SCR

TRIAC drivers for full-wave AC (zero-cross for on/off, random-phase for dimming); SCR latches and conducts one way.

Gate drivers protect

Push-pull amps of drive, UVLO, DESAT, Miller clamp; check CMTI against real dV/dt.

AC input detects zero

Anti-parallel LEDs respond to both polarities; resistors must handle mains power and voltage.

Design checklist

Tick items as you review a design. Your ticks are saved in this browser only; use your browser’s print function for a sign-off copy.

Four parts: multiple choice, true/false, a matching exercise and engineering scenarios. Score 80 % on the multiple choice to pass the module.

Part A — Multiple Choice

Question 1 of 10  •  Score: 0/10

Part B — True or False

Score: 0/8

Part C — Match the Term to Its Meaning

Drag each term onto its definition, or click a term and then click a definition.

Placed: 0/6

Part D — Engineering Scenarios

Scenario 1 — A dimmer that will not dim
A lamp dimmer uses a MOC3041 to fire the power TRIAC with a variable delay after each zero crossing. The lamp is either fully on or off, never dimmed. Why?
Analysis. The MOC3041 is a zero-cross driver. Its inhibit circuit only allows it to fire when the line is within its inhibit voltage of zero. A delayed trigger arrives when the line is already far from zero, so it is ignored until the next zero, and the lamp gets full cycles. Fix: use a random-phase driver (MOC3021/3022/3023) for phase-angle control, and add a zero-cross detector (e.g. H11AA1) to time the delay.
Scenario 2 — Isolated 5 V sensor voltage with 0.5 % accuracy
You must isolate a 0–5 V sensor signal to ±0.5 % gain accuracy over temperature. A colleague suggests a PC817 with a pull-up. What family do you choose and how do you set the gain?
Analysis. A phototransistor’s transfer depends on CTR, which spreads 10× and drifts with temperature and age, so it is useless for 0.5 %. Use a linear optocoupler (IL300/HCNR201) in the servo configuration: Vout/Vin = K3·R2/R1. With R1 = R2 = 50 kΩ the full scale needs IF ≈ 5 V/50 kΩ/0.007 ≈ 14 mA. K3 tolerance (±5 % for HCNR201) exceeds 0.5 %, so trim R2 once in production (or calibrate in firmware). The servo loop then holds the gain against temperature and LED ageing.
Scenario 3 — The logic input that reads HIGH at 3.3 V
An H11B1 photodarlington pulls a 10 kΩ pull-up to 3.3 V. With the LED on, the MCU sometimes still reads HIGH. Why?
Analysis. A Darlington output cannot saturate like a single transistor: VCE(sat) is about 1 V (one VBE plus the driver’s saturation). A 3.3 V CMOS input needs VIL ≤ ≈ 0.8–1.0 V, so 1 V is marginal and rises with temperature and current. Fix: use a phototransistor (VCE(sat) ≈ 0.2 V) with enough IF, or buffer the Darlington with a Schmitt-trigger input.

Additional Resources

Datasheets to compare

PC817, 4N35, 4N32/H11B1, 6N135/6N136, 6N137, HCPL-2630, TLP2361, IL300, HCNR201, AQY210, TLP222, MOC3021/3041/3063, H11C1, HCPL-3120, ACPL-332J, TLP250, H11AA1.

Application notes

Vendor application notes on TRIAC driver circuits and snubbers (onsemi/Vishay MOC30xx), linear optocoupler design (IL300 and HCNR201 application notes), PhotoMOS selection guides, gate-driver optocoupler application notes (Broadcom).

Keep learning

Module 6 quantifies the parameters; Module 10 builds full circuits with several of these families; Module 15 compares them with digital isolators.