deckle studio
Open the editor
SPICE subcircuitPC817XNNSZ1Bpc817

PC817 optocoupler (LED + phototransistor)

Optocoupler: an infrared LED (A, K) switches a phototransistor (C, E) across an isolation gap of 5 kV, for signals between circuits without a common ground (mains side, motor supply, a second device). The transistor carries CTR × the LED current: 50–600 % for the unranked part, so design for the minimum (e.g. 5 mA into the LED, a 10 kΩ pull-up at the collector switches fully). LED: 1.2 V, at most 50 mA, a series resistor as for any LED. Transistor up to 80 V and 50 mA; switching times a few µs (up to some 10 kHz). DIP-4, SMD (gull-wing) or the SOP-4 equivalent EL357N.

AKCEPC817XNNSZ1B
Schematic symbol

Key data

Category
Semiconductors
Simulation model
SPICE subcircuit
Manufacturer part number
PC817XNNSZ1B
Reference prefix
U
Pins
4
Land pattern
DIP-4_W7.62mm

Simulation model

The part is a small SPICE netlist (below), solved by the analog engine together with the rest of the circuit. Pin ids are the node names, {braces} are parameters.

SPICE netlist
D1 A m DPC817
F1 C b m K {CTR/500}
Q1 C b E QPC817
RBE b E 2Meg
.model DPC817 D(IS=1.3e-14 N=1.6 RS=2 BV=6 IBV=10u)
.model QPC817 NPN(IS=1e-14 BF=500 BR=1 VAF=100 CJE=20p CJC=8p)

Pins 4

PinNameUse
AAPassive pinLED anode: from the driving signal through a series resistor (about 5 mA)
KKPassive pinLED cathode: to the ground of the driving side
CCPassive pinPhototransistor collector: pull-up to the supply of the isolated side
EEPassive pinPhototransistor emitter: to the ground of the isolated side

Parameters 2

Packagepackage
DefaultDIP-4
DIP-4SMD-4SOP-4

DIP-4 through-hole PC817; SMD-4 = the same part with gull-wing leads; SOP-4 = the smaller Everlight EL357N with the same pins

Current transfer ratioCTR
Default1

IC / IF at 5 mA: 0.5–6 unranked; ranks A 0.8–1.6, B 1.3–2.6, C 2–4, D 3–6

PCB

Verified land patternDIP-4_W7.62mm
PackageLand patternStatusSource
DIP-4 · PC817XNNSZ1BDIP-4_W7.62mmVerified land patternKiCad Package_DIP:DIP-4_W7.62mm (symbol Isolator:PC817); Sharp PC817 pinout 1 anode, 2 cathode, 3 emitter, 4 collector
SMD-4 · PC817XNNIP1BSMDIP-4_W9.53mmVerified land patternKiCad Package_DIP:SMDIP-4_W9.53mm (gull-wing DIP-4, as Isolator:LTV-817S); Sharp PC817XNNIP1B pinout as DIP-4
SOP-4 · EL357N(TA)-GSO-4_4.4x3.6mm_P2.54mmVerified land patternKiCad Package_SO:SO-4_4.4x3.6mm_P2.54mm (as Isolator:LTV-357T); Everlight EL357N pinout 1 anode, 2 cathode, 3 emitter, 4 collector