High-Speed Logic Optocoupler (highSpeedOpto)
Passes a fast logic signal across an isolation barrier through an LED and a logic output stage.
Group: ICs · Kind: {"definition":"highSpeedOpto","kind":"subsystem"}
When to use it
Use it for PWM, fault or communication signals at up to tens of MBd, with the real threshold current, both edge delays and the CMTI. Use Optocoupler for an analog feedback current and Digital Isolator for the fastest signals.
Pins
| Pin | Domain | Meaning |
|---|---|---|
AN |
electrical | LED anode |
CAT |
electrical | LED cathode, the input-side reference |
VCC |
electrical | Output-side supply |
OUT |
electrical | Logic output, open collector or totem pole |
GND |
electrical | Output-side ground, isolated from the LED |
Common parameters
iFth: Input threshold current: above it the LED is lit and the output switches (Default: 0.005)tPhl: Propagation delay to the output going low (Default: 0.000000035)tPlh: Propagation delay to the output going high (|tPlh − tPhl| is the pulse-width distortion) (Default: 0.00000004)totemPole: 1: totem-pole output; 0: open collector (add a pull-up) (Default: 0)cmti: Common-mode transient immunity: the barrier slope the output withstands (0: not set, no check) (Default: 10000000000)
Parameters
| Key | Unit | Default | Typical range | Description | Datasheet source |
|---|---|---|---|---|---|
vf |
V | 1.3 | 100m – 5 V | LED forward drop of the straight-line fit | typical, user must set |
rLed |
Ω | 10 | 0 – 1k Ω | LED series resistance of the straight-line fit | typical, user must set |
iFth |
A | 0.005 | 10u – 100m A | Input threshold current: above it the LED is lit and the output switches | typical, user must set |
iFhys |
A | 0.0005 | 0 – 50m A | Hysteresis of the threshold: the LED counts as dark again below iFth − iFhys | typical, user must set |
tPhl |
s | 0.000000035 | 0 – 1m s | Propagation delay to the output going low | typical, user must set |
tPlh |
s | 0.00000004 | 0 – 1m s | Propagation delay to the output going high (|tPlh − tPhl| is the pulse-width distortion) | typical, user must set |
inverting |
— | 1 | 0 – 1 | 1: the output is low while the LED is lit; 0: high while it is lit | typical, user must set |
totemPole |
— | 0 | 0 – 1 | 1: totem-pole output; 0: open collector (add a pull-up) | typical, user must set |
rOnLo |
Ω | 25 | 100m – 100k Ω | Output resistance to GND when low | typical, user must set |
rOnHi |
Ω | 50 | 100m – 100k Ω | Output resistance to VCC when high (totem pole only) | typical, user must set |
cOut |
F | 0.000000000015 | 0 – 10n F | Output capacitance: with the pull-up it sets the rise and fall | typical, user must set |
vccMin |
V | 4.5 | 500m – 40 V | Lowest supply: below it the output stage is off | typical, user must set |
vccMax |
V | 5.5 | 500m – 40 V | Highest supply of the recommended range (checked against vccMin only) | typical, user must set |
maxRate |
Bd | 10000000 | 1 – 10g Bd | Highest data rate of the part (used to choose an isolator; not a limit of the model) | typical, user must set |
rOff |
Ω | 100000000 | 1k – 1t Ω | Off-state resistance of the output switches | assumption: leakage is not modelled |
cmti |
V/s | 10000000000 | 0 – 10t V/s | Common-mode transient immunity: the barrier slope the output withstands (0: not set, no check) | typical, user must set |
tGlitch |
s | 0.00000002 | 1p – 1m s | Width of the spurious output pulse while the barrier slope is above cmti | assumption (typical, user must set): data sheets give CMTI as a pass/fail limit, not the glitch it causes |
Parameter descriptions are in English in both languages.
Model
The LED is a diode with a drop vf and a resistance rLed. Above the threshold current iFth (with hysteresis iFhys) the LED is lit, and the output goes low (inverting = 1) or high (inverting = 0). A falling output edge comes tPhl later and a rising one tPlh later, so the pulse-width distortion is the difference. The output pulls low through rOnLo and, for a totem pole, high through rOnHi, while VCC is above vccMin. cOut sits on the output and sets the rise with the pull-up. The slope of GND against CAT is measured; above cmti the output inverts for tGlitch and Problems reports CMTI exceeded. The defaults are typical of the 10 MBd class, not a part's values.
Common mistakes
- The defaults are typical, user must set. Enter the threshold current, both delays, the output capacitance and the CMTI from your part's data sheet before you trust the timing.
- An open-collector output has no high level of its own. Add a pull-up resistor from OUT to VCC; with cOut it sets the rise time.
- The output reaches the switches one solver step late. Use a step of 1 ns or less with delays of tens of nanoseconds.
Problems rules: step.too_large, ground.missing
Datasheet and sources
iFth is the input threshold current (IFT or IFLH, the maximum for a safe design). tPhl and tPlh are the propagation delays at your LED current and load, and their difference is the pulse-width distortion. rOnLo is VOL divided by its test current. cOut is the output capacitance, vccMin and vccMax the supply range, maxRate the data rate and cmti the common-mode transient immunity (the minimum). Pass them to ic.fromSpec with the highSpeedOpto template.
Example
Open the example with the command file.openExample and the name demo:highSpeedOpto.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.