discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] PSK Modulation->Demodulation


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] PSK Modulation->Demodulation
Date: Tue, 16 Jun 2015 11:14:35 -0400

On Tue, Jun 16, 2015 at 11:01 AM, Washbourne, Logan <address@hidden> wrote:
Hello,

I know a similar question has been asked before on this mailing list but I didn't quite get a solution out of it. I am generating a random byte source, either ones or zeroes, modulating them with DBPSK and immediately demodulating them. The problem I am running into is that I get roughly 8 times the number of bytes out of the demodulation block than I am inputting into the modulation block. I believe its a packed vs. unpacked byte problem but every attempt at packing the output bytes yields an output that doesn't match the input.

Attached are the GRC file, and the output file streams.

Does anyone have any suggestions? I appreciate all of your time,



Logan Washbourne
Electrical Engineering Graduate Student
(Electromagnetics)


The problem is that you don't know which bit to put where in the byte. So just packing the output bits into 8 bits per byte doesn't necessarily give you the right information. Say you transmit a byte with bits [a b c d e f g h]. After the delays introduced by the transmit and receiver filter and the channel, when you pack the results, you could get something like [x x x a b c d e] [f g h 0 0 0 0 0], for some unknown number of x's.

You need some logic that knows how to discover the start of your information and get rid of those x's. The framer blocks do this with some assumed formatting and expectations. Johnathan and I have been working on a better version of this, but we haven't had a chance to finish it off.

Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]