discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] diminishing returns with increasing frequency off


From: Bastian Bloessl
Subject: Re: [Discuss-gnuradio] diminishing returns with increasing frequency offset
Date: Thu, 24 Mar 2016 18:12:36 +0100

Hi,

On 22 Mar 2016, at 21:58, tom x <address@hidden> wrote:

>What you could try is to adapt alpha of the single pole IIR, to get the same averaging with the increased sample rate.

I tried a variety of values without success but was not really sure what I was doing. Can you expand on what you meant by
"get the same averaging with the increased sample rate", and how to check this?  I thought about the equation for the
single pole filter being subtracted from the original signal  (that is, x[n]-y[n], where y[n] = a*x[n] + (1-a)*y[n-1]), but I didn't
see the relationship between this and the sample rate.

Following your notation you would have to decrease ‘a'. Think of a moving average, implemented with a FIR filter, which averages over a certain time window. If you double the sample rate, you have to double the length of the filter to average over the same time window.

Another thing you could try is multiplying the output of the subtract block by 2, when switching to 8MHz. This way, the input of the MM block would have the same amplitude (and amplitude matters).

Apart from that I don’t see any obvious problems. Unfortunately, I’m not in the office to test your 8MHz flow graph :-/



Here is a picture of the RX chain (which works for 4M but not 8, even with the omega adjustment)

I can put a scope after the USRP source and see some nice bursts; but I'm having trouble inspecting the signal after this
block in the chain..what is a good way to visualize what's happening after the quadrature demodulation?

After the subtract block you should have a signal that is centered around 0 and the chip sequences should be clearly visible. (The problem is that the trigger doesn’t work for the phase.)



>When this transceiver was implemented, the polyphase clock sync block was not available yet. You are right, it should improve performance.
> If you switch to that block and see performance improvements, it would be great if you made a pull request.

I made a pull request to parameterize the sample rate in the PHY block, so it wouldn't be hard coded in. If we can figure out these issues
I'd be happy to do some tests to compare the two and then make another pull request.

Thanks for the pull request. I just replied on github. In brief, I would prefer to keep the transceiver as simple as possible to provide an easy to use base that can be easily adapted to ones needs.
I think there are many aspects/paramters that can be studied, but I’m afraid it would make the code much more complicated if we introduce options for all of them.

(Replacing the MM Clock Recovery with something more robust would, of course, still be a good idea in my opinion.)

Best,
Bastian



>I think there is no reason why that shouldn’t work. It would be helpful if you could upload your flow graph, maybe there is
> a mistake somewhere (the picture you posted did not show the USRP and xlating filters

 here is my 2 channel receiver, showing the USRP and filters

http://i.imgur.com/dZpIqUw.png?1

(the variable chan_width is 2M).
Can you see some other issue? Maybe getting this working depends on increasing the samp_rate, which goes back to the first problem.

Thanksagain,
Tom

On Mon, Mar 21, 2016 at 3:42 AM, Bastian Bloessl <address@hidden> wrote:
Hi,

On 19 Mar 2016, at 12:08, tom x <address@hidden> wrote:

I tried doubling both, the sample rate to 8MHz and Omega to 4, but still no progress. The setup is simply the 802.15.4 PHY block connected to a USRP source, listening for an over the air transmission. Can you give some insight on how you picked the other MM Clock Recovery params? Is there any other dependence in the PHY block? The papers and guides I looked at explain what the MM params are but don't give much intuition for choosing them.

I didn’t set them and am not an expert, but I think there is no justification for this particular parameter set, i.e., there is no easy formula for calculating ideal parameters. I guess someone started with an educated guess and made simulations to find parameters that worked reasonably well.

Anyhow, I don’t think that the parameters of the MM block are the problem (once you adapted omega of course). As far as I see
- the gain parameters are independent from the sample rate as the error/feedback is calculated once per symbol
- mu is the initial phase and doesn’t matter
- omega relative limit could be cut in half (when using 8MHz). IIRC, it’s the maximum frequency deviation normalised with the sample rate.


What you could try is to adapt alpha of the single pole IIR, to get the same averaging with the increased sample rate.


Additionally, based on posts in this thread: https://lists.gnu.org/archive/html/discuss-gnuradio/2015-07/msg00585.html ,
 I thought it would be better to replace the MM CR block with a polyphase clock sync block, as "M&M block isn't great in fading environments", and I would like to receive possibly weak signals,

When this transceiver was implemented, the polyphase clock sync block was not available yet. You are right, it should improve performance. If you switch to that block and see performance improvements, it would be great if you made a pull request.



 Again, works for 4 MHz sample rate and 2 samples per symbol, but not 8 MHz rate and 4 samples per signal. What do you think?


I think there is no reason why that shouldn’t work. It would be helpful if you could upload your flow graph, maybe there is a mistake somewhere (the picture you posted did not show the USRP and xlating filters, for example).

Best,
Bastian


--
Dipl.-Inform. Bastian Bloessl
Distributed Embedded Systems Group
University of Paderborn, Germany


reply via email to

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