Marcio Cunha

How to test optocouplers on board with a multimeter

Practical workbench guide focused on diagnosing insulation and optical coupling failures in switched-mode power supplies using continuity and diode tests.

Marcio Cunha•4 min
Also available in:PortuguêsEspañol
Summary
  • Optocouplers combine an internal light emitter and a semiconductor receiver to galvanically isolate high and low-voltage circuits.
  • Common faults in power supplies occur when the internal LED burns out or when the output transistor suffers an internal short circuit.
  • Workbench testing requires prior discharge of board capacitors to prevent multimeter damage and ensure operator safety.
  • The multimeter diode mode allows verifying the direct polarization of the internal emitter diode and the phototransistor junction.
  • Altered measurements or leakage between pins indicate a damaged component, requiring replacement to restore the power supply.

Why the optocoupler is the guardian of switched-mode power supplies

In modern power supplies, commonly known as switched-mode power supplies, there is a fundamental component that acts as an invisible bridge between the high-voltage side connected directly to the AC mains and the low-voltage side powering sensitive circuits. This component is the optocoupler, also called an optical coupler. In practice, this means it transmits control signals via light using a tiny internal beam without allowing any direct electrical contact between the sections. If this barrier fails, high voltage can invade the secondary circuit and destroy entire equipment boards.

When a power supply suddenly stops working, the optocoupler is often a prime suspect on the maintenance workbench. Diagnosing insulation and optical coupling failures requires attention to detail and the correct use of tools. Before taking any measurements, it is essential to remember that electrical safety precautions on the bench are vital. Just like we do when how to test a Schottky diode on board with a multimeter, fully discharging the power supply filter capacitors eliminates the risk of electric shocks and prevents accidental damage to your digital multimeter.

Understanding the internal structure of the optical coupler

To test a component accurately, we must understand how it works internally. A traditional optocoupler, such as the popular PC817 model, features four or more external pins housed in a small black plastic package. On the input side, there is a standard semiconductor LED that emits infrared light when receiving electric current. On the output side, a phototransistor is positioned, which is a light-sensitive semiconductor component capable of conducting current whenever it receives photons emitted by the internal LED.

This physical separation ensures galvanic isolation, protecting the user and digital control circuits. In routine bench work, when the feedback loop fails, the power supply output voltage becomes completely unregulated or drops to zero. To find out whether the issue lies in the control circuit or the coupling component itself, using the multimeter diode scale is the fastest and most efficient way to isolate the defect without immediately desoldering the component from the printed circuit board.

Step-by-step procedure to test the internal LED on board

The first practical test consists of checking the integrity of the light-emitting diode located at the input pins of the component. To perform this procedure safely on the workbench, follow the steps below:

  1. Completely unplug the equipment from the electrical outlet and wait a few minutes for the main capacitors to fully discharge.
  2. Set your digital multimeter to the diode test mode, identified by the classic arrow symbol with a vertical line.
  3. Place the red probe on pin 1 of the optocoupler and the black probe on pin 2, observing the forward voltage drop displayed on the screen.

In practice, a healthy infrared LED will show a forward voltage drop reading typically between 1.0V and 1.3V on the instrument screen. If the display shows an open circuit, meaning infinite resistance or an isolated one, it means the internal LED is burned out or has a broken wire. If the multimeter beeps or shows resistance close to zero, the internal LED is short-circuited, requiring immediate replacement of the component to restore the power supply switching.

Diagnosing failures in the output phototransistor

The second stage of analysis focuses on the receiver side of the component, where the phototransistor sends the error signal back to the primary circuit of the power supply. To carry out this check, the multimeter probes in diode mode must be applied to the output pins, usually corresponding to pins 3 and 4. Under normal circumstances, without external light and with the internal LED turned off, the phototransistor should behave like an open switch, showing infinite resistance in both measurement directions.

If you find continuity or a low voltage drop between the output pins without any input polarization, it indicates that the internal transistor has suffered thermal breakdown and short-circuited. This failure prevents the power supply from regulating voltage properly, causing the protection circuit to repeatedly shut down the switching system. Similarly to how we evaluate power semiconductor components, such as when how to test MOSFET transistors on board with multimeter, accurate terminal readings prevent unnecessary replacements of expensive parts on the board. To explore these architectural concepts further in production, see our related technical analysis on How to extract text from scanned PDF with OCR in Python.

Final considerations on component replacement

Mastering optocoupler diagnostics directly on the printed circuit board saves valuable time on the electronics workbench and increases repair accuracy in switched-mode power supplies. Although in-circuit measurement offers an excellent initial screening, remember that cold solder joints or interference from parallel components on the board can produce ambiguous readings. Whenever there is any doubt after continuity and diode tests, the best practice is to carefully desolder the component and repeat the check on the bench in isolation before installing a new part and energizing the circuit again.