ADCToolbox

版本 1.10 (137.4 KB) 作者: L. Jie
A toolbox for analyzing and calibrating data from analog-to-digital converters (ADC) https://github.com/Arcadia-1/ADCToolbox.git
54.0 次下载
更新时间 2025/12/23

查看许可证

# 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

引用格式

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

MATLAB 版本兼容性
创建方式 R2025a
与 R2014b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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