Image credit: Avago | Newark / element14
Optocouplers are electronic components which use light waves to provide electrical isolation while transferring an electrical signal. They are sometimes known as opto-isolators, photocouplers, or optical isolators.
All optocouplers consist of two elements: a light source — almost always a light-emitting diode (LED) — and a photosensor — typically a photoresistor, photodiode, phototransistor, silicon-controlled rectifier (SCR), or triac. Both of these elements are separated by a dielectric (nonconducting) barrier. When input current is applied to the LED, it switches on and emits infrared light; the photosensor then detects this light and allows current to flow through the output side of the circuit. Conversely, when the LED is off, no current will flow through the photosensor. By this method, the two flowing currents are electrically isolated.
The image below describes the basic operation of an optocoupler. In the gray image at left, current is not being applied via Pin 1, the LED is off, and the circuit connected to Pins 4 and 5 is experiencing no current flow. When power is applied to the input circuit, the LED switches on, the sensor detects the light, closes the switch and initiates current flow in the output circuit, as shown in the image at right.
Image credit: REUK
As semiconductor devices, optocouplers may be manufactured as one of several different form factors.
Surface mount (SMT) devices are mounted to the top of a printed circuit board (PCB) using short leads or flat terminals. These products are typically small, lightweight, and allow for fast and inexpensive automated assembly.
Through-hole (THT) devices feature long leads which are threaded through holes on a PCB and soldered to the other side. While THT is slowly being supplanted by SMT manufacturing because of the former's necessity for large components and labor intensive assembly, through-hole devices remain capable of a strong mechanical connection.
Leaded components attach to PCBs using long leads.
(left to right) A THT (DIP) package, SMT package, and leaded (TO-78) package.
Image credit: Solarbotics | RoboticLab | Digikey
Optocouplers can be used for a number of different uses and applications, including:
Input and output switching, especially in electronically noisy environments
Switch-mode power supplies
PC / modem communications
Controlling transistors and triacs
While the vast majority of optocouplers perform relatively simple on-off circuit control, recent developments have allowed more "intelligent" devices to transmit coded signals by varying the brightness of the light source.
Optocouplers are similar to relays and isolation transformers and often perform related functions, but they offer several distinct differences and advantages. Optocouplers typically:
are smaller and lighter than relays
feature much faster switching
require much less switching current to activate
offer minimal fatigue due to their solid state construction, especially when compared with electromechanical relays
For the reasons listed above, optocouplers are very common in digital or microelectronic devices that require fast switching and utilize low voltage transmissions.
The following video explains the basic construction of optocouplers, their primary uses, and their similarity to relays.
Video credit: myvideoisonutube
Optocoupler types are determined by the type of detector used, as described below. Certain types have different characteristics and are therefore better suited to specific applications. Optocouplers are often referred to by their "output type"; for example, a phototransistor device might be called an optocoupler "with phototransistor output."
Photocell optocouplers, also known as resistive opto-isolators, represent the earliest optocoupler design. They use an incandescent light bulb, neon lamp, or LED as their light source, and a cadmium sulfide (CS) or cadmium selenide (CSe) photoresistor as their detector. Photocells are largely obsolete due to their very slow switching (from 5 to 200 milliseconds), and in their heyday were used in telephone networks, photocopiers, and industrial automation applications. They are, however, unique among optocouplers in that they are non-polarized and are therefore suited for both AC and DC operation. Photocell optocouplers are still manufactured in small quantities for use as cheap gain controls or compressors in niche products such as guitar amplifiers and electronic musical instruments. Resistive LED opto-isolators are sometimes known as Vactrols.
Photodiode optocouplers employ LEDs as light sources and photodiodes as detectors. They are capable of extremely fast switching, but their current transfer ratio - the ratio between the output current and the input current that caused it - is typically very low, often less than 1%. Photodiode optocouplers can be outfitted with integral LED drivers and buffer amplifiers to achieve extremely fast switching that compensates for delays in the LED output; these devices are known as full logic optocouplers.
A photodiode optocoupler in a simple circuit. Image credit: DAENotes
Like photodiode devices, phototransistor optocouplers feature LED light sources. Their output circuits are controlled by a bipolar phototransistor or a Darlington phototransistor. Both phototransistor types are only capable of conducting in one direction, making them suitable only for DC use as well as use in controllers and signal transmission applications. Transistor optocouplers are slower than photodiode types but much faster than photocells. Depending on the biasing of an individual device, transistor devices are capable of a wide range of current transfer ratios, and both types are well-suited to "stepping up" input current. To this effect, bipolar transistor optocouplers can typically output up to 120% of their input current, while Darlington devices are able to output up to 600%.
The two schematics below represent a phototransistor (left) and a Darlington transistor (right) optocoupler. Note that the Darlington device consists of two stacked bipolar transistors in Darlington configuration.
Image credit: Power Topics | Ebay
SCR and Triac
Two other common optocoupler outputs are SCR and triac. Both types feature high current-transfer ratios and are typically used to control higher voltage AC circuits.
Opto-isolated SCR devices use a silicon-controlled rectifier (SCR) as their detector. These optocouplers are typically used as step-up devices, and feature slow to medium switching speeds.
Schematic for an SCR optocoupler. Image credit: teacher.en
Opto-isolated triac devices feature triac (triode for alternating current) output. Triacs are similar in construction to SCRs, but while SCRs only allow current flow in one direction, triacs allow for flow in both directions. Like opto-isolated SCRs, triac optocouplers typically feature very high current-transfer ratios.
A triac optocoupler used in a basic circuit. Image credit: roysoala
Specifications and Selection Parameters
Input / Output Specifications
Optocouplers are often specified by their input and output circuit configurations. For example, input specs consist of information about the light source, such as an LED's forward current, power dissipation, or wavelength. Output specs often include similar information about the device's detector. One specification common to both circuits is isolation voltage.
Isolation voltage is sometimes referred to as input to output isolation voltage and is one of the more important optocoupler specifications. Isolation voltage represents the maximum voltage that can be applied to both the input and output circuits while still maintaining electrical isolation.
Current-transfer ratio, or CTR, describes the relationship between the output current and the input current that caused it. This is a minimum value expressed as a percentage of the input current. Typical CTR specs are around 10-50%; these devices operate similarly to step-down isolation transformers. Optocouplers designed to step-up current into the output circuit, often those with photodarlington outputs, can reach 600% or more. Current-transfer ratio reaches its maximum value when the input light source is brightest. Knowing a device's CTR is essential to configuring it in order to effectively control the output current.
Optocouplers may be designed and manufactured to meet one or many standards. In particular, the SMD 5962 family of standards includes different optocoupler product designs that conform to MIL PRF 38534 (General specifications for microcircuits).