Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by mtain-dk06.r1000.mx.aol.com (Internet Inbound) with ESMTP id 35EC5380000AC; Sat, 3 Dec 2011 05:24:48 -0500 (EST) Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1RWmka-0007Iy-08 for rs_out_1@blacksheep.org; Sat, 03 Dec 2011 10:23:20 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1RWmkZ-0007Ip-DP for rsgb_lf_group@blacksheep.org; Sat, 03 Dec 2011 10:23:19 +0000 Received: from mail-iy0-f171.google.com ([209.85.210.171]) by relay1.thorcom.net with esmtp (Exim 4.63) (envelope-from ) id 1RWmkX-0003pS-Kh for rsgb_lf_group@blacksheep.org; Sat, 03 Dec 2011 10:23:19 +0000 Received: by iaen33 with SMTP id n33so7982135iae.16 for ; Sat, 03 Dec 2011 02:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=pw3XQYAswjTZiVft7W4cwOiMA1pmIfhC4Ao0NoHDWdE=; b=apQmhC3vZerKJuFAJjjj/QELrBA8Az6Wn1mRvZZXtI69C366oegrXGcIv2RWCGs6BG qJCU7zhToaneoq6vO8K9sCknmcTC4NmUTakprJIScoeGorDp0HbTpj9HlKTJOWCZpvHS 3QQSxNzTTs/fwyhm2cqvBkxJshB7BRrM7cN9I= MIME-Version: 1.0 Received: by 10.50.94.229 with SMTP id df5mr1976409igb.27.1322907790925; Sat, 03 Dec 2011 02:23:10 -0800 (PST) Received: by 10.231.200.140 with HTTP; Sat, 3 Dec 2011 02:23:10 -0800 (PST) In-Reply-To: References: <80A163C9035C44FBA23C7501118A6FDF@JimPC> Date: Sat, 3 Dec 2011 10:23:10 +0000 Message-ID: From: Andy Talbot To: rsgb_lf_group@blacksheep.org X-Spam-Score: 0.0 (/) X-Spam-Report: autolearn=disabled,none Subject: Re: LF: 16 bit vs 24 bit ADC? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:501400160:93952408 X-AOL-SCOLL-URL_COUNT: 0 X-AOL-SCOLL-AUTHENTICATION: mail_rly_antispam_dkim-d310.2 ; domain : gmail.com DKIM : pass x-aol-sid: 3039ac1db40a4ed9f8f067ac X-AOL-IP: 195.171.43.25 X-AOL-SPF: domain : blacksheep.org SPF : none Which is exactly the point I was making earlier. When a signal is buried in noise, and subject to post processing that decimates the sampling rate, the initial quantisation noise becomes irrelevant Since my earlier posting, I've had a thought about the matter and reckon an approximation can be made along these lines: Assume the quantisation noise is equal to one bit RMS (a bit of a crude assumption, but stay with it for now) =3D Nq Place your receiver noise so that is covers the first four quantisation levels (0 - 15) (take that as the RMS value; ignoring the crest factor is probably the same bodge as the one bit Nq assumed before) and add the two. Its clear that the input noise will be greater than Nq by 20.LOG(16) =3D 24dB. When Nq is added to the Rx noise, it will increase the overall in the ratio (1 + 16^2) / 16^2 =3D 257 / 256 or by about 0.017dB. So, provided your input noise is comfortably above the quantising threshold, it really doesn't matter as far as weak signals are concerned. Where greater sampling intervals really scores is in dynamic range. If all you are doing is quantising the audio output from an SSB filter then you are probably limited by the total dynamic range of the Rx, which is only going to be 60dB or so, and any old A/D of 12 bits or more will work If you are downconverting directly with no AGC and a straight linear mixing process, then teh 120dB range of a 24 bit soundcard is probably going to score when impulsive noise and strong signals come along to drive into saturation. But only assuming you make the most of dynamic range in each case by putting a smaller mean level into the higher resolution A/D Andy G4JNT On 3 December 2011 05:57, Bill de Carle wrote: > First of all, thanks to everyone for the great comments, much appreciated= . > > I don't have a 24-bit ADC here to run Jim's test but tried another > experiment with interesting results. =A0Tonight Stefan, DK7FC is transmit= ting > his callsign using DFCW on 136.172 Khz. =A0Watching the screen, I noticed > Stefan's signal was at times marginal here in Ontario Canada so I decided= to > record it for an hour, change the recorded data from 16-bit samples to > 12-bit samples, then process the file using Spectrum Lab with exactly the > same settings. =A0Basically I threw away the least significant 4 bits of = each > signed 16-bit value from the ADC by AND-ing all the samples with a mask o= f > FFF0. =A0 My recording covers the period from 0048z thru 0148z on Decembe= r > 3rd, 2011 (some 329.6 Mb). =A0The sample rate was 48000 and I injected an > accurate 10 Khz audio reference tone through the ADC so SL could use it t= o > correct for sound card sample rate drift. =A0Wolf's sample-rate correctio= n > algorithm seems to work very well for both live ADC data and played back > data. =A0I was using a 4096-point FFT with 512 X decimation to give a bin > width of 22.8882 mHz, equivalent noise bandwidth of 34.3323 mHz and scree= n > scroll rate was one pixel every 10 seconds. =A0The SL noiseblanker was en= abled > for both real-time and off-line processing. =A0I really expected to see > significant degradation of this already marginal signal when using the > 12-bit data but the results surprised me. =A0In the attached image > 16_vs_12.jpg you can see the two traces. =A0The top image is the one take= n > from a screen capture as the live data was coming in, using 16-bit ADC da= ta; > the bottom image was captured (at the same jpg quality) from a second > instance of Spectrum Lab running on another computer but processing the d= ata > chopped to 12 bits. =A0Not only was there no obvious degradation, in some > respects there seemed to be an actual improvement! =A0In no case was any > portion of the trace discernable in the top image but not in the bottom. > =A0The background of the 12-bit data seems to be a little more obvious > (visually loud?) but the traces of Stefan's signal are brighter too. =A0I > actually find the 12-bit bottom image easier to read. > 73, > Bill VE2IQ > > At 12:02 PM 12/2/2011, Jim Moritz M0BMU wrote: >> >> Dear Bill, Andy, LF Group, >> >> It seems to me it should be quite easy to subject this to practical >> testing. First, using SpecLab etc., measure the SNR of a weak signal in = the >> presence of noise, with the FFT parameters chosen so that the signal is = near >> the quantisation noise level.. Then attenuate the signal and noise at th= e >> ADC input by, say, 24dB. This would effectively reduce the >> resolution/accuracy of the A-D conversion by 4 bits ( I guess you would = want >> to chose the signal, noise and attenuation levels so that the external n= oise >> was well above the sound card or other ADC noise floor, with and without= the >> attenuation). Then see if the SNR in the FFT output has changed. >> >> Cheers, Jim Moritz >> 73 de M0BMU > >