SensorCatalog
IEC 60947-5-2IEC 61131-23-wire (BN +Vcc, BU 0V, BK Sink)

NPN (싱킹 / 오픈컬렉터) 3선식 센서 출력 회로

Low-side Sinking (0 V ON) · 5–30 V DC (24 V / 5 V)

3선식 NPN(싱킹) 센서는 내부 로우사이드 오픈컬렉터 트랜지스터로 흑색 선을 0 V(청색)로 당겨 +Vcc 측 풀업 부하나 소싱 PLC 입력으로부터 전류를 흡수합니다.

ACTIVE LOW (Black = 0.40 V · Sinking 7.15 mA) — Load Energized

Current flows from +24.0 V → Load/PLC Sourcing DI → INTO Black wire → NPN transistor → Blue (0 V).

정상 전류 흐름경고 / 클램프고장 / 과전류속도 ∝ 전류 |I|
DC PSU+24.0 VReturn: 15.2 mA0 V (GND)BN (+Vcc)+Vcc to Sourcing PLC / Pull-UpTARGET3-Wire NPN Sensor (Open-Collector)PWROUTSensingIC / OscNPN Q10.40 V← BK (Sink In)7.15 mAPINCHED TO FRAME → FALSE ON!Sourcing DICOM = +Vcc3.3 kΩV_RL: 23.60 VON (LOW)BU (0 V Return)

Black Wire Voltage (Vout)

0.40 V

Voltage Across Load (VRL)

23.60 V

Sinking Load Current (IL)

7.15 mA

Load / Pull-up Dissipation

169 mW

Power LED (Green)ON
Sensor Output LED (Yellow)ON (Sinking)
NPN Transistor StateSATURATED (ON)
PLC Sourcing DI / LoadENERGIZED (ON)
V

24 V industrial rail or 5 V / 12 V MCU interface.

Ω

Connected between +Vcc and Black output wire (2.2–4.7 kΩ for PLC, 4.7–10 kΩ for MCU).

V

Low-side open-collector drop to 0 V (typically 0.2–1.2 V).

mA

Maximum collector current into Black wire (typically 100–200 mA).

프리셋:

실시간 단계별 수식

1. Sinking current into Black wire

I_L = (V_CC − V_CE(sat)) / R_L = (24.0 − 0.4) / 3300

⇒ 7.15 mA

2. Pull-up resistor dissipation

P_RL = I_L² · R_L = (0.00715 A)² × 3300 Ω

⇒ 168.8 mW

3. Blue-wire total return current

I_BU = I_q + I_L = 8.0 mA + 7.15 mA

⇒ 15.15 mA

동적 부품 선정 및 BOM

부호부품계산 정격상태
R_PUPull-Up / Sourcing PLC DI (COM = +Vcc)3300 Ω, ≥ 0.25 WOK
S13-Wire NPN Sensor (Open-Collector)BN=+Vcc, BU=0V, BK=Sink Out (Vce_sat 0.4 V)OK
D1Flyback Diode (if inductive relay load)1N4148 / 1N4007 anti-parallel across coilOK

1. 회로 개요 및 동작 원리

A 3-wire NPN (sinking / open-collector) sensor switches its Black output terminal down to 0 V (Blue) via an internal low-side NPN transistor. It is widely used in Asian machinery, Mitsubishi/Omron sourcing-DI PLC panels, and 5 V / 3.3 V microcontroller interfaces.

Because the collector is left open (unconnected to +Vcc inside the sensor), an NPN output CANNOT source voltage by itself. The load or pull-up resistor must be wired between +Vcc and the Black wire so current flows from +Vcc → Load → INTO the sensor → 0 V.

Triggered (Active Low / Sinking): The internal NPN transistor saturates (Vce_sat ≈ 0.2–0.8 V). Full load voltage (Vcc − Vce_sat) appears across the pull-up load or PLC sourcing optocoupler, turning it ON while the Black terminal sits near 0 V.

Standby (OFF / Pulled High): The NPN transistor cuts off. With a pull-up load present, no current flows across the load, so the Black wire rises cleanly to +Vcc (no voltage drop across load → PLC input is OFF).

Open-collector superpower (easy level shifting!): Because the NPN collector only pulls to 0 V, you can power the sensor from 12–24 V while pulling its Black output up to 3.3 V or 5 V through a 4.7 kΩ resistor — letting a 24 V industrial sensor talk directly to an MCU sharing 0 V ground (verify datasheet has no internal pull-up to 24 V!).

NPN (싱킹 / 오픈컬렉터) 3선식 센서 출력 회로 — SensorCatalog
NPN 싱킹 출력 회로PNG 1200×630

2. Step-by-step: Wiring an NPN sensor to a PLC or Microcontroller

  1. 1Connect PLC DI common (COM / S/S) to +24 V DC (Sourcing DI)

    For an NPN sensor, the PLC digital input common terminal MUST connect to +24 V DC so the input card supplies current out of the channel terminal into the sensor Black wire.

  2. 2Add a pull-up resistor if bench-testing or wiring to an MCU

    When testing an NPN sensor on a bench without a PLC, connect a 2.2 kΩ–10 kΩ pull-up resistor between Brown (+Vcc) and Black. Without it, Black floats in OFF state and multimeter readings will confuse you.

  3. 3Check sinking current & resistor wattage rating

    Calculate I_L = (Vcc − Vce_sat) / R_L and verify I_L ≤ sensor Imax (typically 100–200 mA) and resistor power P = I_L²·R_L stays well below half its wattage rating (e.g. < 125 mW for a 1/4 W resistor).

  4. 4Inspect cable routing to prevent frame-ground false triggers

    Route Black output cables away from sharp metal edges and moving pinch points: any unintended short from Black to 0 V chassis will immediately energize the load as a false ON signal.

3. 현장 트러블슈팅 및 멀티미터 점검

증상근본 원인멀티미터 점검조치 방법
Multimeter reads ~0 V on Black both WITH and WITHOUT targetMissing pull-up resistor / open-collector floating outputConnect a temporary 4.7 kΩ resistor from +Vcc to Black and re-measureKeep pull-up resistor or wire into PLC sourcing DI (COM = +24 V)
PLC input stays permanently ON even with sensor unpluggedBlack signal wire pinched/shorted to grounded machine chassis (0 V)Measure continuity from disconnected Black wire to 0 V / frame groundReplace damaged cordset; consider migrating critical interlocks to PNP or NAMUR

4. 자주 묻는 엔지니어링 질문 (FAQ)

Why is an NPN sensor called a "sinking" output?

In conventional current flow (+ to −), when the NPN sensor turns ON, load current flows FROM +Vcc, through the load, and INTO the sensor Black wire toward 0 V — the sensor acts as a current sink.

What pull-up resistor value should I use with an NPN sensor?

For 24 V logic, 2.2 kΩ to 4.7 kΩ (0.5 W) draws 5–11 mA with strong noise immunity. For 3.3 V / 5 V MCU inputs, 4.7 kΩ to 10 kΩ (0.25 W) is ideal unless high-speed encoder pulses (>20 kHz) require 1–2.2 kΩ.

Can I wire an NPN sensor directly to a 24 V Sinking PLC input?

Not directly — both the sensor and PLC try to connect to 0 V so no current flows. Use a 2.2 kΩ pull-up resistor to +24 V (inverts logic: target = PLC LOW) or an interposing relay / signal converter.

Does an NPN sensor have a built-in pull-up resistor?

Many industrial M12 sensors include a weak internal pull-up (typically 10 kΩ to +Vcc) so bench meters see Vcc when OFF, while true open-collector encoders have none. Always check the datasheet before wiring to a 3.3 V MCU!

Can two NPN sensors be wired in parallel for wired-OR?

Yes! Tying multiple open-collector NPN outputs to one shared pull-up resistor creates natural wired-OR (active-low): any triggered sensor pulls the shared line to 0 V without fighting the others.

Why do I need a flyback diode when an NPN sensor drives a relay?

When the NPN transistor turns OFF abruptly, the relay coil inductance generates a high-voltage inductive kickback (+60 V to +200 V) that can punch through the sensor output transistor. An anti-parallel 1N4007 across the coil clamps the spike safely.

5. 관련 계산기, 비교 가이드 및 다른 센서 회로

↑ ↓ 선택 · Enter 열기 · Esc 닫기