Photocoupler · IRED input · phototransistor output
PC817 Optocoupler and Isolation Checks
The Sharp PC817XxNSZ1B series is a four-pin photocoupler containing an infrared emitter and an optically coupled phototransistor. Its CTR is specified under stated input-current, collector-voltage and temperature conditions. A weak output can therefore come from the LED drive, CTR grade, collector load or receiver supply—not only a failed optocoupler.
Search problem: PC817 pinout, optocoupler CTR low, feedback isolation signal missing, PC817 output stuck high or low.
Evidence boundary: Sharp’s PC817XxNSZ1B datasheet supports the pin assignment and the listed series ratings. PC817-compatible parts from other manufacturers and different suffix/rank grades may have different limits. A specific welder-board location is not established by the component datasheet.
Quick checks
PC817 is not a three-terminal transistor and has no VCC pin. Pins 1–2 are the input LED; pins 3–4 are the isolated phototransistor. Diagnose the two sides independently and keep their electrical references separate where galvanic isolation is required.
| Observation | First check | Common false conclusion |
|---|---|---|
| Input LED drive is absent | Trace the series resistor, driver transistor and input-side return. | Do not condemn the output transistor before confirming LED current. |
| LED side responds but output is weak | Check exact CTR rank, collector pull-up, receiver rail and output load. | CTR is not a fixed gain independent of test conditions. |
| Collector output remains high | Check whether the LED is driven, whether the phototransistor conducts and whether the pull-up is intact. | High may be the normal off state in a common-emitter interface. |
| False or intermittent protection signal | Check connector return, solder joints, contamination and receiver threshold margin. | Do not bridge the isolation barrier to “prove” the signal path. |
Four-pin connection map
For the Sharp PC817XxNSZ1B series, the manufacturer’s internal connection diagram assigns the terminals as follows. Use the package pin-1/anode mark and the top-view drawing; do not infer numbering from a bottom-view footprint.
| Pin | Terminal | Side | Function |
|---|---|---|---|
| 1 | Anode | Input | Positive terminal of the internal infrared-emitting diode. |
| 2 | Cathode | Input | Return terminal of the internal infrared-emitting diode. |
| 3 | Emitter | Output | Emitter of the isolated phototransistor. |
| 4 | Collector | Output | Collector of the isolated phototransistor; the external circuit defines the pull-up and logic polarity. |
The isolation barrier is between the LED input and phototransistor output. Pin 2 is not automatically the same ground as pin 3. Connecting those returns can defeat the intended isolation.
CTR and rating interpretation
Sharp specifies the PC817XxNSZ1B series as a 4-pin DIP photocoupler. The published series document lists CTR from 50% to 400% at IF = 5 mA, VCE = 5 V and Ta = 25 °C; it also lists 5 kV RMS input-output isolation voltage and 80 V collector-emitter voltage. These figures belong to the specified Sharp series and its test conditions.
- CTR = IC / IF × 100%. It is a ratio measured under defined conditions, not a universal in-circuit gain.
- Sharp identifies multiple rank marks. Check the exact suffix/rank before comparing a measured transfer ratio with a datasheet minimum.
- The 5 kV RMS figure is a datasheet isolation test rating; do not reinterpret it as a continuous working-voltage permission for a repair setup.
- The phototransistor output requires an external circuit. A pull-up, load resistor and receiver supply determine the observed logic level and transition speed.
- A multimeter diode test can help identify an open or shorted input LED, but it cannot establish CTR or prove high-voltage isolation integrity.
Isolation-aware measurement order
- Read the complete part marking, manufacturer and rank code. Confirm whether the fitted component is Sharp PC817XxNSZ1B, another PC817 family variant or a compatible part from a different supplier.
- Disconnect mains, allow stored energy to discharge and verify the safe state. Identify which side is the control/input domain and which side is the isolated receiver domain from the schematic or copper tracing.
- With the circuit unpowered, inspect the LED series resistor, input driver, collector load, pull-up and solder joints. Use diode mode only as a gross LED open/short check, observing meter polarity.
- In a separate current-limited, low-voltage test fixture, drive pins 1–2 within the exact datasheet conditions and observe the isolated output at pins 4–3. Do not use a live welder power stage as a test fixture.
- Measure the receiver-side supply and pull-up relative to the receiver’s own return. Confirm that the output transistor has a valid load path before judging its collector voltage.
- If the output is weak, compare the input current, receiver load and exact CTR rank. A low collector current can be caused by insufficient LED current or an excessive collector load.
- After component replacement, verify both sides separately and preserve the isolation barrier. Confirm the downstream protection/feedback signal returns to its expected state without bypassing it.
Fault interpretation
| Evidence | Likely boundary | Next check |
|---|---|---|
| No forward response across pins 1–2 | LED open, wrong pin orientation or series path open. | Check the exact part drawing and input resistor/driver path. |
| LED current present; output transistor does not pull down | Wrong pin mapping, failed phototransistor, inadequate CTR or open emitter return. | Check pins 3/4 and receiver-side load in an isolated fixture. |
| Output pulls down unloaded but not on the board | Receiver load too heavy, pull-up rail abnormal or downstream short. | Measure the collector load and receiver supply independently. |
| Output switches slowly | Large collector load, capacitance, low LED drive or device aging. | Compare with the circuit timing requirement; do not infer CTR from edge speed alone. |
| Signal changes when input and output grounds are joined | Isolation boundary may be bypassed or reference assumptions are wrong. | Stop and restore the designed isolation topology. |
Stop conditions
- Never connect input-side and output-side grounds merely to make a meter reading easier.
- Do not treat 5 kV RMS isolation test voltage as a safe working voltage for continuous operation or bench probing.
- Do not apply the CTR range to every PC817-compatible part; exact manufacturer, suffix and rank matter.
- Do not use a multimeter diode test as proof of CTR, switching speed or isolation withstand.
- Do not bypass an optocoupler in a feedback, shutdown, VRD or protection path to keep the welder operating.
- Stop if the primary-side reference is floating, the DC bus is charged, or the test instrument is not rated for the domain being measured.
Safety boundary: use an isolated low-energy fixture for functional checks. Live primary/secondary measurements require qualified personnel and properly rated differential/isolated instrumentation.
Manufacturer source
Pin assignment, CTR, package and isolation figures are tied to this Sharp series document. Do not transfer its values to an unmarked clone or a different suffix without checking that manufacturer’s specification.