Skip to content
Documentation sections

Oversampling & Noise Shaping SNR Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug oversampling-snr. Calculate SNR improvement from oversampling and noise shaping for sigma-delta ADCs. Determine effective bits gained from higher OSR. Free, instant results.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of oversampling-snr
NameUnitRangeDefaultDescription
bitsnumberbits1 … 2412Underlying quantizer resolution
oversamplingRationumbernoneat least 164Ratio of sampling rate to Nyquist rate
noiseShapingOrdernumbernone0 … 51Order of the noise-shaping loop; 0 is plain oversampling with no shaping
signalBandwidthnumberHzat least 0.00124000The band the converter delivers, half its output rate: 24 kHz for 48 kHz audio. The modulator runs at 2·OSR·f_B

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of oversampling-snr
FieldUnitDescription
baseSnrdBBase SNR (Nyquist)
oversampledSnrheadlinedBOversampled SNR
effectiveBitsbitsEffective Bits
snrImprovementdBSNR Improvement
modulatorRateHzThe rate the modulator samples at, 2·OSR·f_B
outOfBandNoisedBThe shaped quantization noise between f_B and f_s/2 against the noise left inside the band: what the decimation filter must remove before it can fold back
foldBandsnoneDecimating to f_s/OSR folds every band 2·f_B wide around a multiple of the output rate onto the signal band, OSR/2 of them: the decimation filter must reject each (the plan draws at most 1024)

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.