Skip to main content
_andreas
Senior
Sep 30, 2022 12:06 PM UTC
Solved

Is there a simpler way to compute the gain factor in the SCALE stage of the MDF?

To me, it looks like each gain step shifts by "half" a bit, so we could compute the gain as

floor((DSfilt - DScic)*2);

e.g. with RSFLT as target and Sinc5/Dec5 + 14bit ADC1:

floor((22 - 25.6)*2) = -7;

This topic has been closed for replies.
_andreas
_andreasBest answer
Senior
Oct 5, 2022 3:20 PM UTC

0693W00000UnQetQAF.pngYes, this should work.

3 replies

_andreas
_andreasAuthor
Senior
Sep 30, 2022 12:26 PM UTC

0693W00000UFWwCQAX.png

_andreas
_andreasAuthor
Senior
Sep 30, 2022 12:32 PM UTC
20*log10(2) = 6.0206 dB

If we shift by one bit, this would be the resulting gain in dB

_andreas
_andreasAuthorBest answer
Senior
Oct 5, 2022 3:20 PM UTC

0693W00000UnQetQAF.pngYes, this should work.