3.5" Form Factor

PC/104

PC/104-Plus

PCIe/104

PCI/104-Express

COM Express

Single Board Computers

I/O Modules

Power Supplies

Single Board Computers

I/O Modules

Power Supplies

I/O Modules

Single Board Computers

Cables

PC/104

Adapters

PC/104

PC/104-Plus

PCIe MiniCard

PC/104

PCIe MiniCard

PC/104

PC/104-Plus

PCI/104-Express

PCIe MiniCard

PC/104-Plus

PCIe MiniCard

PC/104-Plus

PCIe MiniCard

I/O Modules

Single Board Computers

I/O Modules

PC/104

PC/104-Plus

PC/104

Small form factor

Ethernet Switch Modules

Single Board Computers

Ethernet Switches

AGX Orin Solutions

ORIN Nano / NX

Nano and NX Solutions

AGX Xavier Module Solutions

TX2 / TX2i Module Solutions

Whitepapers

Designing Embedded Computers for Rugged Applications

Application Articles

Building Automation
Paper Processing
Train Controller
Wind Instrument
Lung Simulator
Gas Analyzer
Weapon System

Visit our Markets & Applications page.

Sign Up for our eNewsletter Today!




A/D Board Tutorial
Slideshow Contents
Introduction
Typical A/D Board Architecture
A/D Chip Technology
Resolution and Input Range
Input Bandwidth
Input Channel Configurations
Differential Input Simulation
A/D Sampling Methods
A/D Triggers
Sampling Sequences
Data Transfer to Memory
Interrupt Timing
Source Impedance
Source Impedance - Solution
Calibration
Autocalibration
Comparison Test: Autocalibration vs. Manual Calibration
Results: Autocalibration vs. Manual Calibration
<-prev next->

Interrupt Timing


This illustration shows three different sampling methods with interrupts.

The upper diagram shows single-channel sampling with interrupts. Each A/D trigger generates one A/D sample on one channel and one interrupt. This is the simplest method that involves the most software overhead. This method will only work up to about 1KHz in operating systems such as Linux or Windows due to the extreme interrupt overhead required. (DOS will support interrupt rates up to about 20KHz, depending on the duration of the interrupt routine.) Remember in this mode the sample rate for each channel is equal to the A/D clock rate divided by the number of channels being sampled, so for multi-channel applications the maximum sample rate for each channel will be severely limited.

The middle diagram shows multi-channel scan sampling with interrupts. Each A/D trigger generates a sample on all selected input channels. At the end of the scan a single interrupt causes the entire scan to be transferred to memory. This reduces the interrupt rate by a factor equal to the number of channels being sampled (in this case 2). This is an improvement over the above method but still not optimal.

The bottom diagram shows multi-channel scan sampling with interrupts and FIFO support. This is the most advanced method of sampling and provides the best performance. The interrupt rate is reduced by the size of the FIFO threshold, resulting in a dramatic reduction in interrupt overhead. For example, a total sample rate of 200KHz and a FIFO threshold of 300 results in an interrupt rate of only 667Hz, easily manageable by almost any operating system.