ADCToolbox

Version 1.30 (164 ko) par L. Jie
A toolbox for analyze and calibrate data from analog to digital converter (ADC) https://github.com/Arcadia-1/ADCToolbox.git
86 téléchargements
Mise à jour 8 fév. 2026

Afficher la licence

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

Dashboard and Comprehensive Analysis

Unified analysis functions that combine multiple testing methods.
- **`adcpanel`** - Comprehensive ADC analysis dashboard with automatic data format handling

Spectral Analysis

Functions for analyzing the frequency-domain characteristics of ADC output data.
- **`plotspec`** - Comprehensive spectrum analysis with ENOB, SNDR, SFDR, SNR, and THD calculations
- **`plotphase`** - 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.
- **`wcalsin`** - Weight calibration using sine wave input (single or multi-dataset)
- **`cdacwgt`** - Calculate bit weights for multi-segment capacitive DAC
- **`plotwgt`** - Visualize bit weights with radix annotations, compute optimal scaling and effective resolution
- **`plotres`** - Plot partial-sum residuals of an ADC bit matrix as scatter plots

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

Shortcut Functions

Convenience wrappers that combine multiple steps into a single call.
- **`plotressin`** - Plot partial-sum residuals directly from bit matrix (auto-calibrates via `wcalsin`)
- **`errsinv`** - Shortcut for `errsin` with value-mode binning (`xaxis='value'`)

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
- **`bitchk`** - Check ADC overflow by analyzing bit segment residue distributions

Citation pour cette source

L. Jie and Z. Zhang. ADCToolbox (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange.

Compatibilité avec les versions de MATLAB
Créé avec R2025a
Compatible avec les versions R2014b et ultérieures
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.30

Added two functions for visualizing partial-sum residuals of ADC bit matrices: plotres, plotressin

1.21

- plotwgt: Added wgtsca and effres outputs
- adcpanel: Automatic maxCode calculation for bit-wise data
- wcalsin: Improve robustness under abnormal data

1.20

- Add function 'adcpanel' for automatic one-stop ADC data analysis! More on 'help adcpanel'
- Add auto mode for 'sidebin' option in plotspec

1.10

- Fixed some naming problems
- Add a new function 'plotwgt' to display the weighting of ADC code
- Improve display quality for 'errsin'
- Add an auto mode (now default) for calculating noise floor in 'plotspec'

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
- add errHistSine input dimension check

0.1