Marcio Cunha

How to test optocouplers on board with a multimeter

Learn the practical step-by-step method to test optocouplers in switch-mode power supplies using a digital multimeter on the diode scale.

Marcio Cunha•5 min
Also available in:PortuguêsEspañol
Summary
  • The optocoupler electrically isolates primary and secondary circuits in power supplies using an internal light beam.
  • The digital multimeter's diode scale injects enough current to check semiconductor junctions safely.
  • In-circuit measurements require caution and absolute disconnection from the electrical mains.
  • Common failures include shorted or open emitter LEDs, which halt proper circuit switching.
  • Complementary bench techniques like checking associated zener diodes help isolate complex board faults.

The critical role of optocouplers in switch-mode power supplies

Modern power supplies found in phone chargers, televisions, and computer motherboards rely on optocouplers to guarantee user safety. This small component, encapsulated with four or more pins, builds an invisible bridge between the high voltage of the electrical grid and the low voltage powering sensitive circuits. In practice, this means energy regulation occurs via an internal light beam, preventing electric shocks if a surge or catastrophic failure occurs. When a power supply suddenly dies without apparent reason, this tiny device is frequently the culprit.

To understand why it fails, imagine a messenger running between two completely isolated worlds. On the left side, we have the emitter, which is simply a small infrared LED. On the right side, we have the receiver, usually a light-sensitive transistor. When the control circuit notices that the output voltage is fluctuating, it brightens or dims the internal LED, adjusting the light output and commanding the primary circuit to regulate energy flow. If this light bridge breaks, the dialogue ceases, and the power supply simply shuts down or destroys neighboring components.

Before starting any measurement on the circuit board, the fundamental first step is ensuring safety by discharging the large electrolytic capacitors on the primary side, which store lethal voltages even after the equipment is unplugged. Using proper tools and keeping the workbench organized prevents accidental short circuits during analysis. Furthermore, just like when diagnosing associated components—such as the procedures detailed in our guide on testing zener diodes on board—patience and visual inspection for overheating signs save precious minutes of troubleshooting.

How the static test works with a digital multimeter

The fastest and most reliable bench test involves using a digital multimeter set to the diode test mode, the one that beeps for continuity. In this mode, the multimeter injects a small electric current through the test leads and measures the resulting voltage drop. For the optocoupler, the LED side acts exactly like a standard diode, presenting a predictable forward voltage drop. Meanwhile, the transistor side can be tested by checking for unwanted shorts between the output pins, providing a clear overview of the component's general health.

Although the ideal test requires removing the component to eliminate interference from other circuits connected to the board, we can often perform an efficient screening directly on the board, known as an in-circuit test. To do this, we map the component pins by consulting its datasheet or following the universal rule of traditional DIP-4 packages. Generally, pins one and two belong to the internal LED's anode and cathode, while pins three and four correspond to the receiver transistor's emitter and collector. Mentally isolating these two halves makes interpreting the values displayed on the screen much easier.

Practical step-by-step to test the emitter LED side

To check if the optocoupler's internal LED is working or if it is open or shorted, follow this simple sequence using the digital multimeter on the diode scale:

  1. Completely unplug the equipment from the wall outlet and wait a few minutes for the main power supply capacitors to discharge fully.
  2. Adjust the digital multimeter selector to the semiconductor or diode scale, identified by the graphical symbol of an arrow with a vertical line.
  3. Place the red test probe on pin 1 and the black test probe on pin 2 of the optocoupler, observing the reading on the display.

During this correct forward bias measurement, the multimeter display should show a stable numeric value usually ranging between five hundred and eight hundred millivolts, indicating that the internal LED's p-n junction is intact. If the display shows zero and the device emits a continuous beep, the LED is internally short-circuited. If the display shows an open circuit signal, represented by an isolated number one or the letter OL, the LED is burned out and broken. Reversing the test probes—placing the black probe on pin 1 and the red probe on pin 2—must force the multimeter to indicate an open circuit, proving there are no reverse leakage currents.

Checking the receiver transistor and board precautions

The second stage of testing involves checking the receiver side, which is typically a phototransistor. With the multimeter still on the diode scale, place the black test probe on the emitter pin and the red probe on the collector pin. In a healthy component with no external incident light, the reading should indicate an open circuit (OL) because the transistor is cut off without internal LED excitation. Any low resistance reading or direct conduction at this stage reveals that the internal transistor has suffered a dielectric breakdown and is shorted, requiring immediate component replacement.

It is worth noting that surrounding components, such as pull-up resistors or small ceramic capacitors, can slightly influence readings when testing with the optocoupler soldered to the board. If any persistent doubt remains after the in-circuit measurement, the safe procedure is to use a soldering iron and solder sucker to remove the component from the board, repeating the test in isolation on the workbench. This precaution prevents false diagnoses that might cause you to discard a healthy circuit due to interference from a shorted trace or damaged peripheral component. To complement this implementation in production environments, see our related technical analyses on How to clear terminal command history in Linux and Nginx 502 Bad Gateway Error? How to Fix Failures.

Final considerations on replacing optocouplers

Accurately diagnosing optocoupler failures using only a digital multimeter is an indispensable skill for any technician working on switch-mode power supplies and various electronic boards. Mastering this technique saves precious time and prevents the indiscriminate replacement of expensive components. Whenever you replace a damaged optocoupler, remember to also inspect adjacent biasing circuits, ensuring voltage spikes do not damage the new part right after the first bench test.