波特率计算器

计算串行通信的波特率和数据传输时间。

bits
V

Step Size (LSB)

4.8828 mV

输出电压2.5000 V
Maximum Output4.9951 V

Step Size (LSB) vs DAC Bits

公式

## DAC Resolution ### Formulas **Step Size = V_ref / 2^N** **V_out = Code x V_ref / 2^N** **V_max = (2^N - 1) x V_ref / 2^N** The DAC converts a digital number into an analog voltage. Each increment of the digital code changes the output by one LSB.

计算示例

10-bit DAC with 5 V reference, digital code = 512.

  1. 01Step size = 5 / 1024 = 4.883 mV
  2. 02V_out = 512 x 5 / 1024 = 2.500 V
  3. 03V_max = 1023 x 5 / 1024 = 4.995 V

常见问题

Why can the DAC not reach full Vref?

The maximum code is 2^N - 1, so V_max = Vref x (2^N-1)/2^N, which is one LSB below Vref.

What is glitch energy?

A brief output spike during code transitions caused by internal switch timing. It matters in high-speed and audio applications.

R-2R vs resistor string DAC?

R-2R ladder is compact and monotonic. Resistor string (thermometer) has guaranteed monotonicity and better DNL but more components.

学习

Ohm's Law Guide

相关计算器