This tool models the behavior of a 16-bit SAR ADC integrated with a DMA controller. It is designed to help engineers validate metrology algorithms (like RMS or FFT) against quantization noise and harmonic interference.

Key Features:

  • Harmonic Distortor: Inject 3rd and 5th harmonics to test THD resilience.
  • Accuracy Class Check: Real-time compliance monitoring for Class 0.2, 0.5, and 1.0.
  • Data Export: Generate synthetic 16-bit datasets for offline C/Python analysis.

STM32H7 Metrology Lab: FFT & Delta Error

DMA: READY
WAVEFORM (1024-SAMPLE DMA)
SPECTRUM (256-BIN WINDOW)
TRUE RMS ERROR
0.00%
DELTA ERROR (V)
0.000V
INIT

Looking for the technical deep-dive? Read the full analysis in the ADC Digital Twin Lab Post.