Data Weighted Averaging for Simulink
The SIMULINK- models of multibit Delta-Sigma ADC and Delta-Sigma DAC all have a non-ideal D/A-converter.
The DAC mismatch noise will be shaped according to a general Data Weighted Averaging (DWA) transfer function 1±z^(-D), where D is a positive integer.
The DWA element selection logic calculates a selection vector. The selection vector chooses, which of the unit DACs will be used according to DAC input.
The DWA block is constructed using mainly fixed-point blocks.
Models for Incremental DWA (IDWA) were also added.
This package also includes a spurious tone estimator: the spurs can be estimated using the DS input signal and the DNL error shape.
Cite As
Marko Neitola (2024). Data Weighted Averaging for Simulink (https://www.mathworks.com/matlabcentral/fileexchange/23079-data-weighted-averaging-for-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Delta Sigma Toolbox, Modulo Time Plot
Inspired: Quadrature Data Weighted Averaging, Multibit CT DS ADC with DWA and ISI-Mitigation
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.
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.0 | A bugfix: the spur estimator now supports all DWA modes (i.e. noise shaping transfer functions). |
||
1.3.0.0 | Feature update: spurious tone estimator.
|
||
1.2.0.0 | Added three simulation models for Delta-Sigma D/A converters. |
||
1.1.0.0 | Major improvement. The DWA-DAC is now more realistic. Also added a model that uses incremental DWA. |
||
1.0.0.0 |