ADCToolbox

Version 1.10 (137 ko) par L. Jie
A toolbox for analyzing and calibrating data from analog-to-digital converters (ADC) https://github.com/Arcadia-1/ADCToolbox.git
63 téléchargements
Mise à jour 23 déc. 2025

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
### 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.
- **`wcalsine`** - 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
### 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

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2025a
Compatible avec les versions R2014b et ultérieures
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
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