12-04-10: Bombaywalla
yes, Paperw8, thanks for taking the time to explain this to me but I already understand the concepts of DSP.
I agree that (100-65)*0.5 = 17.5dB, which you are rounding up to 18dB. I seem to have 1 issue in your calculations - how did you arrive at 18dB being an attenuation factor of 64??
it's a voltage attenuation of 18dB i.e. 20log10(x)=18dB. So, what should x be to get 18dB?
since each increment in the digital output level corresponds to 0.5dB, each increment of 6 corresponds to 3dB. the digital preamplifier is operating on voltage (and not power), so 3dB is a halving of voltage level. in the binary domain, a halving corresponds to 1-bit. so each 3dB knocks off 1-bit so when you knock off 6-bits you have reduced the binary value by 2**6=64.
as far as actual amplitude, bits 17-21/22 are fraction bits but i am just speaking generally, so if you just consider the 21/22-bit binary word, each 3dB would correspond to a right shift of the binary word as you knock off the least significant bit. so, for example, the binary value 100 corresponds to a base-10 value of 4. however, if you right shift the binary value, binary-100 becomes binary-10, which is a base-10 value of 2. if you do a right shift on binary-10, you get binary-1, which is a base-10 value of 1.
anyway, that's the idea...