Tricky Circuit

分解能と量子化

電圧を数に変える

ADCはAnalog to Digital Converter、アナログ・デジタル変換器で、電圧を数に変えます。ビット数で分解能が決まり、コード数は2^bitsです。量子化は連続範囲を段階に分けます。基準電圧は範囲の上端です。 ビットは0または1の二進数字一つです。

インタラクティブな実験を開く

実験台

回路の設定を変え、測定値を予想してから課題を確認しましょう。教材用のモデルで、各レッスンに仮定を説明しています。

ログインして進捗を保存. ゲストの進捗はこの端末に保存されます.

実験室を全画面のウィンドウで開く

動作の仕組み

理想変換は切り捨ててコード範囲に制限します。雑音、入力負荷、標本化遅れ、校正誤差は省略。センサーつまみは0–5 Vです。

刻み = Vref/2^bits。コード = floor(Vin/刻み)、範囲0…2^bits − 1。floorは切り捨てです。小さい刻みほど小さな変化を区別できます。 Vinは入力電圧、Vrefは基準電圧です。

難易度
  1. 組み立て · 組み立てる

    8ビット、基準5 V、センサー50%で電源を入れ、128を確認します。

    ヒントを見る

    8; 5 V; 50% → 128

  2. 探究 · 一つ変える

    10ビット、基準5 V、センサー25%にして256を確認します。

    ヒントを見る

    10; 5 V; 25% → 256

  3. 自力で解く · 課題を解く

    12ビット、基準2.5 V、センサー80%にし、4095での飽和を確認します。

    ヒントを見る

    12; 2.5 V; 80% → 4095

追加の読み物と回路レシピ

電圧を数に変える

役立つ法則

8ビットの256コードは0から255です。

モデルの外では

ビット数が増すと理想刻みは小さくなりますが、実際の雑音や誤差が有効な分解能を制限します。

避けたい落とし穴

コード制限は実際の入力を過電圧から守りません。実機の入力定格を確認します。

理想8ビットADCに基準と同じ電圧を入れるとコードは…

  1. 256
  2. 255
  3. 128
詳しく読む

256個のコードはゼロから始まるため最大は255です。

Texas Instruments

Temu affiliate offers

Find your next electronics project

Explore these do-it-yourself project kits. Check the selected option, included parts and instructions on each offer.

Tricky Circuit may earn a commission if you buy through these Temu affiliate links. These are product ideas; they have not been bench-tested by Tricky Circuit and are not verified lesson parts lists.

Supplier photo of an assembled infinity mirror light cube illuminated on a dark background.

Supplier product photo

Build an infinity light cube

Listing specifies 5-volt direct current. Soldering required; battery and glue not included.

View kit on Temu

Supplier photo of a breadboard, jumper wires and assorted electronic components in a plastic storage case.

Supplier product photo

Try breadboard experiments

Breadboard, wires and assorted parts. Arduino controller board not included.

View kit on Temu

Supplier photo of an assembled blue surface-mount soldering practice board with a circular ring of small lights.

Supplier product photo

Solder a chasing-light board

Surface-mount soldering practice. Battery and battery holder not included.

View kit on Temu