Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: VLF: DK7FC > W1VD / K3SIW 8.27 kHz EbNaut - We don't give up!

To: [email protected]
Subject: Re: VLF: DK7FC > W1VD / K3SIW 8.27 kHz EbNaut - We don't give up!
From: Paul Nicholson <[email protected]>
Date: Fri, 16 Mar 2018 13:21:03 +0000
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:References:Reply-To:To:From:Subject:Sender:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WAPN0R2vOiA+Ca12W9Wj96GdLeSiKJniasAvYxHkgVk=; b=yDML32SdMYIrJPWKvwEdMmcLYL cA6WyQPL/ocXLFLK4delk7EUzGoJ0g7iFmDoSR0aPszWxxDIwwUG780bSyAVZ9tRpRnfMW2EepLL+ T5rRUwcTlSMykBo3oZYaAAp81l8ViOxsXBn1P1vH75jV0L8+0dhG6ZjFjNF2yxOxiMhY=;
In-reply-to: <[email protected]>
References: <1UQOBAX9Wi.5GpBpi86BpG@optiplex980-pc> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Here's an awk script to normalise the I/Q signal to the
RMS amplitude.

#!/usr/bin/awk -f

BEGIN{
   idx = 0;
   sum_square = 0
}
{
   stamp[idx] = $1
   ival[idx] = $2
   qval[idx] = $3

   sum_square += $2*$2 + $3*$3
   idx++

   if( idx == 300)
   {
      rms = sqrt( sum_square/idx)

      for( i = 0; i < idx; i++)
         printf( "%s %.5e %.5e\n", stamp[i], ival[i]/rms, qval[i]/rms)
      idx = 0;
      sum_square = 0
   }
}


Make sure the 'shebang' line is the first line of the script.

Save it in a file, say, iqnorm.

Make the file executable with: chmod +x iqnorm

Then pipe the raw ASCII signal through it, so that instead of

 vtwavex 26.wav | vtraw -oa | ebnaut -dp16K21A ...

you run

 vtwavex 26.wav | vtraw -oa | ./iqnorm | ebnaut -dp16K21A ...

I've run it on my recordings (sample rate 1Hz) of the 5char
transmissions and every single one has improved Eb/N0.

Not yet tried it on the W1VD, K3SIW files.

The '300' means 300 samples, so that's 300 * 0.45723950 ~= 137 seconds
for the W1VD files, or 231.5 seconds for K3SIW.

--
Paul Nicholson
--

<Prev in Thread] Current Thread [Next in Thread>