CAN バスビットタイミング計算ツール
特定のボーレートとサンプルポイントについて、プリスケーラー、時間量子、同期セグメント、伝播セグメント、フェーズバッファセグメントを含むCANバスのビットタイミングパラメーターを計算します
公式
tq = 1/(f_clk/BRP); NBT = SS + PROP + BS1 + BS2
仕組み
CAN(Controller Area Network)バスのビットタイミングは、自動車および産業用ネットワークの通信プロトコルを設計する上で重要なパラメータです。ビットタイム、サンプリングポイント、同期セグメントの関係を定義することで、ネットワーク全体でのデータの送信方法と解釈方法が決まります。ビットタイミングの設定には、シグナルインテグリティとネットワークパフォーマンスに影響するビットレート、クロック周波数、伝搬遅延などの重要なパラメータが含まれます。
計算例
実践的なヒント
- ✓ビットタイミングを設定するときは、必ずネットワークの長さとバス特性を考慮してください
- ✓最適な信号検出のために、サンプリングポイントがビット時間の約 80% であることを確認してください
- ✓高速ネットワークには最小限の伝搬遅延セグメントを使用
- ✓すべてのネットワークノードでビットタイミングを一致させて、一貫した通信を実現
よくある間違い
- ✗ネットワークノード間のビットタイミングパラメータの不一致
- ✗ケーブル長と信号伝搬遅延を無視
- ✗システムクロックの精度と潜在的なジッターの見落とし
よくある質問
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
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
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.
Comms
I2C Pull-Up
Calculate I2C pull-up resistor values for Standard (100 kHz), Fast (400 kHz), and Fast-Plus (1 MHz) modes. Derives minimum, maximum, and recommended resistance from supply voltage and bus capacitance per NXP UM10204.
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
Comms
RS-485 Termination
Calculate RS-485 bus termination resistors, bias resistors, maximum baud rate for cable length, propagation delay, and bias current consumption
Comms
I2S Timing
Calculate I2S bit clock (BCLK), word clock (LRCLK/WCLK), and data rate for audio interfaces at any sample rate, bit depth, and channel count.