I2C 풀업 저항기 계산기
표준 (100kHz), 고속 (400kHz) 및 패스트 플러스 (1MHz) 모드의 I2C 풀업 저항 값을 계산합니다.NXP UM10204 기준 공급 전압 및 버스 커패시턴스에서 최소, 최대 및 권장 저항을 도출합니다.
공식
R_{max} = \frac{t_r}{0.8473 \cdot C_{bus}}, \quad R_{min} = \frac{V_{DD} - V_{OL}}{I_{OL}}, \quad R_{rec} = \sqrt{R_{min} \cdot R_{max}}
참고: NXP I2C-bus specification and user manual, Rev. 7.0 (UM10204), §7.1
작동 방식
I2C 버스 통신은 기본 HIGH 상태를 설정하기 위해 풀업 저항이 필요한 오픈 드레인/오픈 컬렉터 드라이버를 사용합니다.이러한 저항은 신호 무결성, 상승 시간 및 버스 커패시턴스 특성을 결정하는 데 매우 중요합니다.풀업 저항은 두 가지 주요 제약 조건, 즉 논리적 HIGH 상태를 보장하기 위한 최소 전류와 빠른 신호 전환을 보장하기 위한 최대 저항의 균형을 위해 신중하게 선택해야 합니다.계산에는 버스 커패시턴스, 공급 전압 및 I2C 모드별 전기 파라미터에 대한 이해가 포함됩니다.풀업 저항은 버스 커패시턴스를 충전하는 전류 경로를 생성하며, 저항 값은 신호 상승 시간과 노이즈 내성에 직접적인 영향을 미칩니다.I2C 모드 (표준, 고속 및 고속 플러스) 에 따라 전기 사양이 다르므로 저항 선택에 영향을 미칩니다.
계산 예제
실용적인 팁
- ✓일관된 버스 성능을 위해 1% 허용 오차 저항을 사용하십시오.
- ✓긴 버스 트레이스에 병렬 터미네이션 추가 고려
- ✓오실로스코프로 실제 상승 시간을 측정하여 이론적 계산을 검증합니다.
흔한 실수
- ✗재계산 없이 다양한 I2C 모드에 동일한 풀업 저항기 사용
- ✗긴 트레이스의 기생 커패시턴스를 포함한 전체 버스 커패시턴스 무시
- ✗저항과 상승 시간 사이의 선형 관계 가정
자주 묻는 질문
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
Comms
UART Baud Rate
Calculate UART frame timing, throughput, and USART BRR register divisor from baud rate, data format, and MCU clock frequency. Identify baud rate error for reliable serial communication.
General
RC Time Constant
Calculate RC circuit time constant τ, charge time to 63.2% and 99%, and −3dB cutoff frequency. Essential for filter and timing circuit design.
General
Ohm's Law
Calculate voltage, current, resistance, and power using Ohm's Law. Enter any two values to solve for the remaining two quantities.
Comms
SPI Timing
Calculate SPI bus timing parameters including bit period, frame time, maximum clock frequency limited by trace capacitance, and signal slew rate
Comms
CAN Bus Timing
Calculate CAN bus bit timing parameters including prescaler, time quanta, sync segment, propagation segment, and phase buffer segments for a given baud rate and sample point
Comms
USB Termination
Calculate USB bus termination resistor values, differential impedance, cable propagation delay, signal rise time, and eye opening for USB 2.0 and USB 3.0