SensorCatalog
IEC 61131-22-wire Voltage → Divider + Clamp

±10 V / 0–10 V 산업용 아날로그 스케일링 & 24 V 오배선 보호

0–10 V / ±10 V Scaled Analog · 3.3 V / 5.0 V Single-Supply ADC

0–10 V는 22 kΩ / 10 kΩ 분압, ±10 V는 Vref에 R3를 추가해 단일전원으로 변환하며 BAT54S 쇼트키가 +24 V 오배선에서 MCU를 보호합니다.

ADC SAFE — V_ADC = 1.56 V (1939 / 4095)

Input 5.0 V scales cleanly into 1.56 V with 32.0 kΩ input impedance and 0.5 mW in R1.

정상 전류 흐름경고 / 클램프고장 / 과전류속도 ∝ 전류 |I|
Analog Sensor+5.0 V0–10 V / ±10 VP(R1) = 1 mW22 kΩR1 (1206)10.0 kΩ0 V (AGND)⚠ R2 OPEN! NO ATTENUATION!+Vref (Bipolar Shift)22 kΩ+3.3 VBAT54S⚠ +24V MISWIRE CLAMPED0.00 mAMCU 12-bit ADC1.56 VSafe Input: 0…+3.3 VI_clamp: 0.00 mA

ADC Pin Voltage

1.56 V

Schottky Clamp Current

0.00 mA

R1 Power Dissipation

0.5 mW

Input Impedance

32.0 kΩ

Scaling Topology2-Res Unipolar
BAT54S ClampStandby (OFF)
12-bit ADC Code1939 / 4095
V

0 to +10 V in unipolar mode, or −10 to +10 V in bipolar mode.

kΩ

Sets input impedance and limits clamp current on +24 V miswire.

kΩ

22 kΩ / 10 kΩ maps 0–10 V to 0–3.125 V (safe margin under 3.3 V).

V

3.3 V for STM32/ESP32, or 5.0 V for 5 V industrial MCUs.

프리셋:

실시간 단계별 수식

Unipolar Divider Voltage

V_adc = Vin × R2 / (R1 + R2) = 5.0 × 10.0 / (22 + 10.0)

⇒ 1.563 V

24 V Miswire Clamp Survival Power

P(R1) = (Vin − V_clamp)² / R1 = (5.0 − 1.56)² / 22 kΩ

⇒ 0.5 mW

동적 부품 선정 및 BOM

부호부품계산 정격상태
R1 / R20.1% Thin-Film 1206 Resistors22 kΩ / 10.0 kΩ · ≥250 mWOK
D1BAT54S Dual Series SchottkyVf ≈ 0.3 V @ 1 mA, clamps to Vref & GNDOK

1. 회로 개요 및 동작 원리

Industrial analog sensors output 0–10 V or bipolar ±10 V, whereas modern STM32/ESP32 microcontrollers accept only 0–3.3 V. A precision resistive attenuator (with optional 3-resistor level shift for ±10 V) paired with a BAT54S Schottky clamp maps the full industrial range cleanly into the ADC while surviving accidental +24 V field miswires.

Unipolar vs Bipolar 3-Resistor Shift: For 0–10 V, a 22 kΩ / 10 kΩ divider scales 10 V to 3.125 V (leaving 175 mV headroom under 3.3 V). For ±10 V, adding R3 = R1 tied to Vref shifts −10 V…+10 V symmetrically inside 0…Vref without needing a negative supply rail.

24 V Miswire Survival: When +24 V hits the input, BAT54S conducts into the 3.3 V rail at Vref + 0.3 V. R1 limits current to (24 − 3.6) / R1 (~0.93 mA for 22 kΩ) and dissipates ~19 mW — easily survived by a 1206 resistor without blowing the MCU ESD diode.

±10 V / 0–10 V 산업용 아날로그 스케일링 & 24 V 오배선 보호 — SensorCatalog
±10 V / 0–10 V 스케일링PNG 1200×630

2. Step-by-step: Designing a 24 V-tolerant 0–10 V / ±10 V ADC input

  1. 1Choose 0.1% thin-film R1/R2 with 5% full-scale headroom

    Scale 10.0 V to ~3.1 V (not 3.30 V) so sensor over-range (10.5 V) does not clip.

  2. 2Add R3 = R1 to Vref for bipolar ±10 V sensors

    Use the exact same low-drift Vref as the ADC reference so rail drift cancels ratiometrically.

  3. 3Place BAT54S dual series Schottky directly before the ADC/buffer

    Schottky Vf ≈ 0.3 V turns on well before the MCU internal 0.6 V ESD clamp.

  4. 4Verify R1 wattage and 3.3 V rail sink capacity under +24 V fault

    Use 1206 resistors (250 mW) and ensure total board 3.3 V load exceeds worst-case clamp current so LDO rail cannot rise.

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

증상근본 원인멀티미터 점검조치 방법
ADC reads 4095 and 3.3 V rail rises to 4.1 V during 24 V miswireLDO cannot sink reverse current injected through BAT54S when MCU is in sleep modeMeasure 3.3 V rail while applying 24 V to analog inputAdd a 3.6 V Zener/TVS across 3.3 V rail or raise R1 to ≥ 22 kΩ

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

Can I read ±10 V without a negative −12 V op-amp supply?

Yes! A 3-resistor summing network (R1 from Vin, R3 from Vref, R2 to GND) shifts −10 V…+10 V cleanly into 0.1–3.2 V on a single 3.3 V supply.

Why does R1 need to be ≥ 10 kΩ for 24 V protection?

Because P = (24 − 3.6)² / R1. At 1 kΩ, R1 burns 416 mW and injects 20 mA into the 3.3 V rail; at 22 kΩ it drops to 19 mW and <1 mA.

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

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