1. 회로 개요 및 동작 원리
Mechanical limit switches, reed switches, tipping-bucket rain gauges, and relay contacts suffer from two classic failure modes: 3–15 ms contact bounce (causing 5–20 false MCU interrupts per closure) and contact film oxidation when pulled up with weak microamp resistors. A proper wetting resistor R1 (≥ 5 mA) + RC debounce (R2/C1) + 74HC14 Schmitt trigger solves both permanently.
Minimum Wetting Current: Industrial silver-alloy contacts form thin insulating sulfide/oxide layers over months. Pushing ≥ 5–10 mA through R1 at 12–24 V physically punches through oxide films on every closure, keeping contact resistance low for years.
Why a Schmitt Trigger Is Mandatory: Feeding a slow RC ramp directly into a normal CMOS GPIO input causes multi-MHz shoot-through oscillation near Vcc/2! A 74HC14 Schmitt inverter has wide built-in hysteresis that turns slow RC curves into a single crisp nanosecond edge.

2. Step-by-step: Designing an industrial-grade dry-contact input stage
1Size wetting resistor R1 for 5–15 mA when contact closes
For 24 V DI, 2.2 kΩ (0.5 W) delivers 10.9 mA wetting current; never rely on 47 kΩ MCU internal pull-ups for field switches.
2Set RC debounce delay t_deb ≈ 1.1 × R2 × C1 > worst bounce
For 8 ms bounce, 22 kΩ × 0.47 µF yields ~11.4 ms clean debounce while still allowing up to 29 Hz pulses.
3Buffer with a 74HC14 / SN74LVC1G14 Schmitt trigger
Add a 3.3 V / 5 V clamp diode before the Schmitt input when wetting from a 24 V field supply.
4Verify maximum pulse rate stays below 1 / (3 × t_deb)
High-speed flowmeters (>200 Hz) use solid-state Hall/optical sensors with smaller C1 (1–10 nF) instead.
3. 현장 트러블슈팅 및 멀티미터 점검
| 증상 | 근본 원인 | 멀티미터 점검 | 조치 방법 |
|---|---|---|---|
| Limit switch works on the bench but randomly misses triggers after 6 months in the plant | Contact oxidation due to < 1 mA wetting current | Measure closed-contact voltage drop across switch terminals | Lower R1 to supply 5–10 mA wetting current or switch to gold-plated contacts |
4. 자주 묻는 엔지니어링 질문 (FAQ)
Do gold-plated reed switches also need 10 mA wetting current?
No — gold does not oxidize, so gold-plated dry-circuit contacts work reliably down to 100 µA–1 mA (and high current would actually burn off the thin gold plating!).
5. 관련 계산기, 비교 가이드 및 다른 센서 회로
- 펄스 출력 계산기
- 앤티앨리어싱 RC 필터 계산기
- PNP (소싱) 3선식 센서 출력 회로 시뮬레이터
- NPN (싱킹 / 오픈컬렉터) 3선식 센서 출력 회로
- NAMUR 2선식 본질안전 방폭 센서 회로 (IEC 60947-5-6)
- 푸시풀 (HTL/TTL) & 오픈드레인 센서 출력 회로
- 포토커플러 절연 & 릴레이 플라이백 다이오드 보호 회로
- 24 V 산업용 센서 전원 입력 보호 (PMOS 역접속 · TVS · PTC)
- 2선식 4–20 mA 전류 루프 & ADC 보호 수신 회로
- 3선식 vs 4선식 능동 아날로그 트랜스미터 (0–10 V 접지 오차)
- OP-AMP + 트랜지스터 전압→4–20 mA 정전류 송신 회로
- NTC 서미스터 분압기 + OP-AMP 버퍼 & RC 필터 회로