ADCToolbox
Version 1.01 (136 KB) by
L. Jie
A comprehensive MATLAB toolbox for ADC (Analog-to-Digital Converter) testing, characterization, and debugging.
# ADCToolbox - MATLAB
A comprehensive MATLAB toolbox for ADC (Analog-to-Digital Converter) testing, characterization, and debugging. This toolbox provides advanced functions for spectral analysis, calibration, linearity testing, signal processing, and performance evaluation of ADCs.
## Function Categories
### Spectral Analysis
Functions for analyzing the frequency-domain characteristics of ADC output data.
- **`specplot`** - Comprehensive spectrum analysis with ENOB, SNDR, SFDR, SNR, and THD calculations
- **`phaseplot`** - Coherent phase spectrum analysis with polar display
### Signal Fitting and Frequency Analysis
Functions for extracting signal parameters and frequency information.
- **`sinfit`** - Four-parameter iterative sine wave fitting (amplitude, phase, DC, frequency)
- **`findfreq`** - Find dominant frequency using sine wave fitting
- **`findbin`** - Find coherent FFT bin for a given signal frequency
- **`tomdec`** - Thompson decomposition of signal into sinewave, harmonics, and errors
### Calibration Functions
Functions for calibrating ADC bit weights and correcting errors.
- **`wcalsine`** - Weight calibration using sine wave input (single or multi-dataset)
- **`cdacwgt`** - Calculate bit weights for multi-segment capacitive DAC
### Linearity and Error Analysis
Functions for analyzing ADC linearity performance.
- **`inlsin`** - Calculate INL and DNL from sine wave data using histogram method
- **`errsin`** - Analyze sine wave fit errors with histogram binning
### Noise Transfer Function Analysis
Functions for analyzing noise-shaping ADCs (Delta-Sigma modulators).
- **`ntfperf`** - Analyze noise transfer function performance and SNR improvement
### Utility Functions
Supporting functions for signal processing and analysis.
- **`alias`** - Calculate aliased frequency after sampling
- **`ifilter`** - Ideal FFT-based filter to retain specified frequency bands
- **`ovfchk`** - Check ADC overflow by analyzing bit segment residue distributions
Cite As
L. Jie and Z. Zhang. ADCToolbox (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved August 26, 2025.
MATLAB Release Compatibility
Created with
R2025a
Compatible with R2014b and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
legacy
doc
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.01 | Rename specplot -> plotspec, phaseplot -> plotphase to avoid name conflict. |
|
|
| 1.0 | The first formal release with complete documentation. |
|
|
| 0.12 | - FGCalSine now supports multiple datasets with different frequencies (see function notes) |
|
|
| 0.11 | - fix specPlot noise floor calculation
|
|
|
| 0.1 |
|
