Return-Path: X-Spam-DCC: paranoid 1481; Body=3 Fuz1=3 Fuz2=3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, HTML_10_20,HTML_MESSAGE,SPF_PASS autolearn=no version=3.1.3 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by paranoid.lipkowski.org (8.13.7/8.13.7) with ESMTP id u9DCLYvO025762 for ; Thu, 13 Oct 2016 14:21:34 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1buewT-0000vy-Hi for rs_out_1@blacksheep.org; Thu, 13 Oct 2016 13:16:57 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1buewS-0000vp-L9 for rsgb_lf_group@blacksheep.org; Thu, 13 Oct 2016 13:16:56 +0100 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1buewQ-00077L-1u for rsgb_lf_group@blacksheep.org; Thu, 13 Oct 2016 13:16:55 +0100 Received: by mail-lf0-x236.google.com with SMTP id b81so131315165lfe.1 for ; Thu, 13 Oct 2016 05:16:53 -0700 (PDT) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=iaPPmNPiouHs54Lhb1/urH4USfKjhV/Msw4lXJ11muc=; b=jWBqPVggsATUpY+Ni8oEX4e/cd4TYGLo5dzTKC3rLBckWpGCAKxIGAwmSL4resw6qu PzdXn4Aq+T5K0oAvF4SQA5k9mQDcbail3vEFUkb1SPWBufWwwSNBao6LfGTT7PH7qEyl Q26ce3/8wc2UJg58KyEMms/5Rhr4t5s4XVFzfOw4RrSH6yPvYBrCzgMys1a2RRoBanRw x4mliffta7+Gl+8VNDGu90YDlXacjx0lnmDxLAGi3YK2g6qThRB008i/9idNUyChi6j8 rtXaZ0mA5OSTLbwNQ/YkHjf2+4BqKa4s/plAHhvjAvKRhhTtc1vdbs5Xw8YlA2p461H5 9gdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=iaPPmNPiouHs54Lhb1/urH4USfKjhV/Msw4lXJ11muc=; b=bihcPNH5THCmgUiABWe4U5Fsz/ilC4JVzsyYKfs3EoNpbxEA9D6CoZyCRAWKT6ZiKi bOppqpQn7ZzO3KYoT7ah2PqbhFB71A8dCzu0mqNYX9nFDi1EFYV51i4ihkVYbXhMcAF/ 9DwT+NVFPDF5bVXJKiIfMAQPBzzIA1Bcuz023IS/SAjF2lEZ0+H8ex/cL1jrG5E8MeFz iJciB5eF8tB8UtwN1MOtz2gp7a/bdShfWpuK7G/HnPBDoTiuuPuwnIBffbM2F+XpsLD/ iKwKRTFuwOUI+SrUPgld+pgJmoJ0Oy9+Z6QEeCFqtC4oB+sXbGtwy1aoWuZhFAUGTZ/B rnJQ== X-Gm-Message-State: AA6/9RmWA2RT3cI7g2PDpCJF6z3+jnH+ZBWGqg4MKNM45DZr+uYfroL/8MO9Kn+Qp0Awr5IMn0ftpF4lIQ+O3g== X-Received: by 10.25.149.203 with SMTP id x194mr8625750lfd.76.1476361010839; Thu, 13 Oct 2016 05:16:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.141.80 with HTTP; Thu, 13 Oct 2016 05:16:50 -0700 (PDT) In-Reply-To: <1173910789.20161013103634@chriswilson.tv> References: <1585067730.20161012155231@chriswilson.tv> <1173910789.20161013103634@chriswilson.tv> From: Andy Talbot Date: Thu, 13 Oct 2016 13:16:50 +0100 Message-ID: To: rsgb_lf_group@blacksheep.org X-Scan-Signature: c96efc14f58f84aa05b44c520f48db32 Subject: Re: Re[2]: LF: Running 2 WSPR transmissions, how to stop them TX'ing at the same time?? Content-Type: multipart/alternative; boundary=001a114021ec9c9b8d053ebe15c4 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-Scanned-By: MIMEDefang 2.56 on 10.1.3.11 Content-Length: 14084 Status: O X-Status: X-Keywords: X-UID: 9070 --001a114021ec9c9b8d053ebe15c4 Content-Type: text/plain; charset=UTF-8 No 41dB is NOT a real S/N figure and is due solely to your artificially restricting the noise bandwidth gon gin ! If you use a receiver bandwidth any narrower than the full SSB bandwidth then the S/N reporting will be wrong. With just one exception (*) there is no benefit at all to be gained from using a narrow receiver filter. It does absolutely nothing to improve signal reception and just makes your noise measurement wrong. The reasons are as follows : All filtering of the signal is done in the DSP software, where for WSPR it is bandpass filtered to a bank of 1.46Hz wide filters, called bins (as in dustbin) - this being the tone spacing and the speed of a WSPR signal. There may be some incidental pre-filtering on the way to getting down to this narrow bandwidth, but it is not relevant to the process. ONLY the final 1.46Hz bandwidth is the one that matters. Measuring the signal level (the S part of the S/N) is straightforward. Your four tones fall in four of the 1.46Hz wide adjacent parallel filter banks corresponding to each of the four tones transmitted. The sum of the power in the tones is then the signal in the four adjacent bins added together and is just a relative number. But to get S/N we now have to make a noise measurement and here is where it gets difficult. There are many ways of estimating the noise and one of the simplest is to take everything going into the soundcard / software and assume that as it is so wide, a few weak signals present won't affect the average too much; ie. that it is all noise. An assumption has to be made about the input now, and since SSB radios are used, the assumption is made that the noise is bandpass filtered at this point to 2.5kHz width - this being the bandwidth of a typical SSB filter. By measuring the signal over this full bandwidth a value for N in 2.5kHz can be obtained. As the WSJT standard for S/N is to express it in a 2.5kHz bandwidth, simply dividing the previously measured S value by this N (for 2.5kH input) will give the final S/N value. If DSP prefiltering has been included in the software, the noise will have been measured over just this pre-filtered bandwidth and the lower resulting N is then scaled up to what it would be in 2.5kHz. Noise power is proportional to bandwidth, so a 250Hz prefilter means the measured total noise is now 10dB lower and this correction has ot be added on Simples ! Except it is all too easy to go very wrong. First of all, if the input noise is externally filtered (say by a narrow CW filter) its total power will be lower by the proportion of this BW to 2.5kHz. So the value of N will be less. S stays the same (it is filtered in software to 4 * 1.46Hz) so same S, lower N results in a higher S/N when the input is bandpass filtered. This is clearly why a certain F station consistently reports ridiculously high values of S/N for everyone. Next is what happen when strong signals come up inside the SSB filter width but outside the WSPR band. These can get lumped into the overall measurement and give an artificially high value of N. They are some way away from the signal of interest so don't actually affect the decoding process, but to lead to a falsely low value for S/N. This is probably happening for stations who consistently report lower than expected S/N for many stations. There are many ways that more accurate estimates of noise can be obtained, using statistics and probability distributions to separate out genuine noise from signals. Others just by looking for the presence of signals and adding everything else up that doesn't fit that criteria of 'signal'. All are used in the electronic Warfare and Communications Intercept business to automatically detect and then classify signals. But it is a complicated process just to obtain an incidental measurement value for information only, that does nothing to help the actual decoding process. (*) The one exception, where a narrow input filter will help is if a very strong local signal appears in the SSB filter passband that is sufficient to depress the AGC. This can degrade the wanted signal. However, if the receiver is properly designed, the S/N of the wanted signal in the now depressed audio should still be the same. A soundcard has typically 80dB dynamic range or more, so unless the unwanted signal is say 60 to 70dB above the WSPR signal of interest, it should still cope. Although the N measurement will be wrong for the reasons detailed above For a description of how signals can be detected in noise, take a look at the RadCom Data columns for April and June 2008. There's also a description on page 47 my book "Command, Computers, Microcontrollers and DSP for the Radio Amateur". RSGB still have a few copies - I saw it on the stand at the Convention! (Although several sections in there are embarrassingly out of date by now). Andy G4JNT On 13 October 2016 at 10:36, Chris Wilson wrote: > Hello Andy, > > Thursday, October 13, 2016 > > Thanks for the detailed explanation Andy. Good copy thoughout the > night on your WSPR2 and 15 signals. Early this morning I greatly > reduced the filter width to just encompass the needed section of the > band to hear your WSPR2 signal and the level reported from WSPR went > mad high. I read a paper you wrote on S/N levels in WSPR and filter > width but it rather went over my head. I assume +41 SNR is not a > "real" figure when filter width is reduced right down? > > > Best regards, > Chris 2E0ILY mailto:chris@chriswilson.tv > > My part time LF grabber is at http://www.chriswilson.tv/grabber.html > > > > Correct. I have a PIC that reads timing data from a GPS and at > > the right timing uses a set of pre-stored WSPR symbols to calculate > > the frequencies for the tones and sends the resulting data to an > > AD9852 DDS. Different symbol sets (for the two messages) and > > frequency data is stored for each of the two modes. > > > > > --001a114021ec9c9b8d053ebe15c4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No 41dB is NOT a real S/N figure and is due solely to= your artificially restricting the noise bandwidth gon gin !=C2=A0=C2=A0=C2= =A0 If you use a receiver bandwidth any narrower than the full SSB bandwidt= h then the S/N reporting will be wrong.

With just = one exception (*) there is no benefit at all to be gained from using a narr= ow receiver filter.=C2=A0 It does absolutely nothing to improve signal rece= ption and just makes your noise measurement wrong.=C2=A0 The reasons are as= follows :

All filtering of the signal is done in = the DSP software, where for WSPR it is bandpass filtered to a bank of 1.46H= z wide filters, called bins (as in dustbin)=C2=A0- this being the tone spac= ing and the speed of a WSPR signal.=C2=A0=C2=A0=C2=A0 There may be some inc= idental pre-filtering on the way to getting down to this narrow bandwidth, = but it is not relevant to the process.=C2=A0 ONLY the final 1.46Hz bandwidt= h is the one that matters.=C2=A0=C2=A0

Measuring = the signal level=C2=A0 (the S part of the S/N) is straightforward.=C2=A0=C2= =A0 Your four tones fall in four of the 1.46Hz wide adjacent parallel filte= r banks corresponding to each of the four tones transmitted.=C2=A0=C2=A0 Th= e sum of the power in=C2=A0the=C2=A0tones is then the signal in the four ad= jacent=C2=A0bins =C2=A0added together and=C2=A0 is just a relative number.<= /div>

But to get S/N we now have to make a noise measure= ment and here is where it gets difficult.=C2=A0 There are many ways of=C2= =A0 estimating the noise=C2=A0and one of the=C2=A0simplest is to take every= thing going into the soundcard=C2=A0/ software and assume that as it is so = wide, a few weak signals present =C2=A0won't affect the average too muc= h; ie.=C2=A0=C2=A0that it is all noise.=C2=A0=C2=A0
An assumptio= n has to be made about the input now, and since SSB radios are used, the as= sumption is made that the noise is bandpass filtered at this point to 2.5kH= z width - this being the bandwidth of a typical SSB filter.=C2=A0=C2=A0=C2= =A0 By measuring the signal over this full bandwidth a value for N in 2.5kH= z=C2=A0can be obtained.

As the WSJT standard for S= /N is to express it in a 2.5kHz bandwidth, simply dividing the previously m= easured=C2=A0S value by this N (for 2.5kH input)=C2=A0=C2=A0 will give the = final S/N value.=C2=A0=C2=A0=C2=A0If DSP prefiltering has been included in = the software, the noise will have been=C2=A0measured over just this pre-fil= tered bandwidth and the lower resulting N is then scaled up to what it woul= d be in 2.5kHz.=C2=A0 Noise power is proportional to bandwidth, so a 250Hz = prefilter means the measured total noise is now 10dB lower and this correct= ion has ot be added on

Simples !=C2=A0=C2=A0 Excep= t it is all too easy to go very wrong.

First of al= l, if the input noise is externally filtered (say by a narrow CW filter) it= s total power will be lower by the proportion of this BW to 2.5kHz.=C2=A0 S= o the value of N will be less.=C2=A0=C2=A0=C2=A0 S stays the same (it is fi= ltered in software to 4 * 1.46Hz)=C2=A0 so same S, lower N=C2=A0 results in= a higher S/N=C2=A0 when the input is bandpass =C2=A0filtered.
This is clearly why a certain F station consistently reports r= idiculously high values of S/N for everyone.

Next = is what happen when strong signals come up inside the SSB filter width but = outside the WSPR band.=C2=A0=C2=A0 These can get lumped into the overall me= asurement and give an artificially high value of N.=C2=A0=C2=A0 They are so= me way away from the signal of interest so don't actually affect the de= coding process, but to lead to a falsely low value for S/N.=C2=A0=C2=A0=C2= =A0=C2=A0 This is probably happening for stations who consistently report l= ower than expected S/N for many stations.

There ar= e many ways that more accurate estimates of noise can be obtained, using st= atistics and probability distributions to separate out genuine noise from s= ignals.=C2=A0=C2=A0 Others just by looking for the presence of signals and = adding everything else up that doesn't fit that criteria of 'signal= '.=C2=A0=C2=A0 All are used in the electronic Warfare and Communication= s Intercept business to automatically detect and then classify signals.=C2= =A0=C2=A0
But it is a complicated process just to obtain an incid= ental measurement value for information only, that does nothing to help the= actual decoding process.

(*) The one exception,= =C2=A0where a narrow input filter will help is if a very strong local signa= l appears in the SSB filter passband that is sufficient to depress the AGC.= =C2=A0=C2=A0=C2=A0 This can degrade the wanted signal.=C2=A0=C2=A0 However,= if the receiver is properly designed, the S/N of the wanted signal=C2=A0in= the now depressed audio should still be the same.=C2=A0=C2=A0 A soundcard = has typically 80dB dynamic range or more,=C2=A0so unless the unwanted signa= l =C2=A0is say=C2=A0 60 to 70dB above the WSPR signal of interest, it shoul= d still cope.=C2=A0 Although the N measurement will be wrong for the reason= s detailed above

For a description of how signals = can be detected in noise, take a look at the =C2=A0RadCom=C2=A0 Data column= s for=C2=A0 April and June 2008.=C2=A0 There's also a description=C2=A0= on page 47 =C2=A0my book "Command,=C2=A0 Computers, Microcontrollers a= nd DSP for the Radio Amateur".=C2=A0=C2=A0 RSGB still have a few copie= s - I saw it on the stand at the Convention!=C2=A0 (Although several sectio= ns in there are embarrassingly out of date by now).

Andy=C2=A0 G4JNT



<= br>

On 13 Oc= tober 2016 at 10:36, Chris Wilson <chris@chriswilson.tv> = wrote:
Hello Andy,

Thursday, October 13, 2016

Thanks for the detailed explanation Andy. Good copy thoughout the
night on your WSPR2 and 15 signals. Early this morning I greatly
reduced the filter width to just encompass the needed section of the
band to hear your WSPR2 signal and the level reported from WSPR went
mad high. I read a paper you wrote on S/N levels in WSPR and filter
width but it rather went over my head. I assume +41 SNR is not a
"real" figure when filter width is reduced right down?


Best regards,
=C2=A0Chris=C2=A0 2E0ILY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 mailto:chris@chriswilson.tv

=C2=A0My part time LF grabber is at http://www.chriswilson.tv/= grabber.html


> Correct.=C2=A0=C2=A0 I have a PIC that reads timing data from a GPS an= d at
> the right timing uses a set of pre-stored WSPR symbols to calculate > the frequencies for the tones and sends the resulting data to an
> AD9852 DDS.=C2=A0 Different symbol sets (for the two messages) and
> frequency data is stored for each of the two modes.

<SNIP>



--001a114021ec9c9b8d053ebe15c4--