← Blocks

Optocoupler Isolated Digital Signal

Signal

Rules References

EV.6.5

Suggested Parts

Overview

An optocoupler transmits a digital signal across a galvanic isolation barrier using light. The input side drives an LED; the output side contains a phototransistor or photodiode that responds to the emitted light. No electrical connection exists between the two sides, so potentials can differ by tens or hundreds of volts without coupling noise, spurious ground currents, or damage across the barrier.

In a Formula Student EV, optocouplers are commonly used to transmit a digital signal across the GLV↔TS barrier. Optocouplers are also used for robust input/output interfaces since they tolerate separate ground references.

Common device families suit different speed requirements:

Circuit description

The input side is an LED driven through a current-limiting resistor R1. The output side is a phototransistor (for general-purpose devices) or a logic gate output (for high-speed devices) referenced to the output-side supply and ground.

General purpose optocoupler circuit

For a phototransistor output (e.g. 4N25):

For a logic-output device (e.g. 6N137):

Design notes

R1=VINVFIFR_1 = \frac{V_{IN} - V_F}{I_F} \\[0.5cm]

Where VFV_F is the LED forward voltage (typically 1.0 to 1.4 V). Do not overdrive the LED; the maximum rated IFI_F is an absolute maximum.

Gotchas