An optocoupler electrically separates two circuit sections while carrying information with light. A multimeter in diode mode can check its input LED, reveal an obvious short on the phototransistor side, and indicate when an out-of-circuit measurement is needed. The method applies to common 4-pin and 6-pin phototransistor packages only after the exact part number has been confirmed.
This is a static diagnostic, not a full performance test. It does not measure current transfer ratio (CTR), switching speed, or behaviour under load. A mains power-supply board may retain hazardous voltage after disconnection, so proceed only if you can identify, isolate, and verify the primary side safely.
What a multimeter can actually confirm
The package contains an infrared LED at its input and a phototransistor at its output. Diode mode mainly tells you about the LED junction. A stable reading around 1.10 to 1.18 V was observed in the examined case, but it is not a universal pass value. Part type, meter test current, temperature, and parallel paths on the board all affect the result.
| Check | Possible reading | Meaning | Limitation |
|---|---|---|---|
| Forward-biased LED | Stable voltage drop | The junction conducts. | CTR is not verified. |
| Reverse-biased LED | OL or open circuit | No visible reverse conduction. | A parallel resistor may alter the reading. |
| Collector-emitter, LED off | OL or high resistance | No obvious short circuit. | Surrounding circuitry may influence it. |
| Low reading both ways | Abnormal conduction | Part or parallel path is suspect. | Desolder before deciding. |
Tools and safety precautions
- a multimeter with diode mode and sound leads;
- the manufacturer datasheet for the exact reference;
- good lighting, magnification, and a photograph of the assembly;
- insulated tools and protection suitable for the circuit;
- desoldering equipment if in-circuit readings are ambiguous.
Unplug the equipment, prevent reconnection, and verify absence of voltage using an appropriate method. Never discharge a capacitor by shorting it with a screwdriver. On mains-connected electronics, use a qualified technician if you cannot confidently identify the primary and secondary regions, high-voltage capacitors, and required insulation distances.
Six-step procedure
1. Make the board safe and locate the part
Switch off, physically remove the plug, and allow capacitors to discharge according to the manufacturer procedure. Verify absence of voltage before touching the board. Photograph connectors and find the optocoupler near the isolation barrier, which is often visible as a slot or a wide gap between copper tracks.

The board must be de-energised and capacitors handled with a safe procedure. 2. Identify the reference and pinout
Read the component marking, PCB reference, and dot indicating pin 1, then consult the manufacturer datasheet. On a typical 4-pin package, pin 1 is the anode, 2 the cathode, 3 the emitter, and 4 the collector. On the 6-pin CNY17F, pin 1 is the anode, 2 the cathode, 4 the emitter, and 5 the collector; pins 3 and 6 are not connected. Never transfer this layout to another reference without checking.

The package dot marks pin 1; the exact datasheet always takes priority. 3. Prepare the multimeter
Connect the black lead to COM and the red lead to the V/Ω socket, then select diode mode. Briefly touch the probes together; the display should react, confirming at least that the leads conduct. Separate them again and verify that OL or the meter’s overload indication returns. This prevents a broken lead or incorrect selector position from condemning a good component.

Verify the setting and leads before taking a board measurement. 4. Measure the input LED forward
Place the red probe on the anode and the black probe on the cathode, taking care not to bridge a neighbouring track. A stable voltage drop shows that the junction conducts. A reading near 1.10 to 1.18 V is an observation from this case, not a universal acceptance threshold. Compare it with the datasheet and, where possible, a known-good identical component.

With forward bias, the meter displays the LED voltage drop. 5. Reverse the probes on the LED
Put the black probe on the anode and the red probe on the cathode. A healthy LED should normally not conduct at the low level supplied by the meter, so OL is expected. A low reading in both directions suggests a damaged junction or a parallel path on the PCB. Lift one lead or remove the part before reaching a final conclusion.

Reverse polarity should normally produce an open reading. 6. Check the output phototransistor
With the input LED unpowered, check collector and emitter in both directions. Persistently low resistance may reveal a short, but OL does not prove correct optical transfer. On a typical DIP-4, measure pins 4 and 3; on the CNY17F, measure pins 5 and 4. Nearby resistors, capacitors, and semiconductors can create misleading readings, so isolate the device if the result is doubtful.

An in-circuit measurement may be influenced by components connected in parallel.
When should the part be desoldered?
Lift at least one lead if the LED appears to conduct in both directions, the output looks shorted, identical optocouplers produce inconsistent readings, or the schematic reveals a parallel path. Clean the pads, inspect them for damage, and repeat the measurement out of circuit. Desoldering removes one source of ambiguity but still does not replace a dynamic test.
How to validate full operation
A complete test drives the LED with a current limited according to the datasheet and measures collector current through a controlled load. That ratio provides information about CTR. Absolute ratings, isolation, and the manufacturer test circuit must be respected. Do not improvise this measurement on a mains-powered board.
Common mistakes
- using the package drawing without finding pin 1;
- treating one observed forward voltage as a universal specification;
- declaring the optocoupler good only because its LED conducts;
- ignoring parallel current paths during an in-circuit test;
- using continuity mode while the board is powered;
- replacing the device without finding why it failed.
Be the first to leave a comment.