Ah thanks! Makes perfect sense!

For my transmit/receive issue, I found out there is always a random phase 
offset upon tuning of the LOs.  So I set up a matlab script that will correlate 
the two IQ streams and find this offset.  While it is still running, I 
implement this offset in GNU and I do indeed see the BER drop.

The issue is, it doesn't drop very deep. Certainly not like the example 
simulation.  I need to investigate the waveforms to see if there is too much 
noise.  I will look at this over the next few days and if I have any more 
questions I will report back here.  I don't want to overstay my welcome in 
regards to asking too many questions.

Thanks again!
________________________________
From: Achilleas Anastasopoulos [[email protected]]
Sent: Tuesday, November 20, 2018 3:08 PM
To: Matthew J. Brandsema
Cc: [email protected]
Subject: Re: [Discuss-gnuradio] Packet Decoder Breaking when adding noise

Hi Mathew,

the random source outputs bytes with numbers 0 or 1 (NOT 2).
This single bit information is "packed" into a byte that is the input to the 
QAM modulator.
The QAM modulator internally breaks up these bytes and uses every 4 bits to 
signal the 16QAM constellation.

best,
Achilleas



On Tue, Nov 20, 2018 at 3:03 PM Matthew J. Brandsema 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

When I switched AC coupling off, it just went blank.

So instead, I saved the waveforms to a file and plotted the result in Matlab.  
See attached for plots.  The blue curve are the data before modulating, and the 
red x's are the data after demodulating.  They are lined up!

Thanks so much for the help in getting this working!!!  I noticed the random 
numbers are only 0, 1 and 2.  How the heck does this work for 16 QAM?  How does 
it encode 3 numbers to 16 symbols?

My next step is to transmit and receive using two Ettus radios next.  I got 
them to transmit and receive but I can't seem to find a delay that will make 
them sync up like I did with the file you sent.

I saved their IQ waveforms to see how out of sync they are by doing a 
correlation and the correlation peak seem to be changing between data collects. 
Does anyone have any idea of what might be happening? (Sorry to add another 
question, I have been trying all day to get this working).
________________________________
From: Achilleas Anastasopoulos [[email protected]<mailto:[email protected]>]
Sent: Tuesday, November 20, 2018 1:25 PM
To: Matthew J. Brandsema; 
[email protected]<mailto:[email protected]>
Subject: Re: [Discuss-gnuradio] Packet Decoder Breaking when adding noise

Can you switch off the AC-coupling, and check the scope plot again.
Also, maybe useful to have markers instead of just lines.

The two streams should be perfectly synchronized (for low noise) and as noise 
gets higher
some of the demodulated bits are in error. This is perfectly OK.

Achilleas
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to