WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2008-Nov-06 18:50:56

shreesha
Member
Registered: 2008-Oct-09
Posts: 8

Changing Modulation and Demodulation for MAC Implementations

Hi

I am a new user, i would like to know how to change the modulation and demodulation schemes. I know that the MAC implementations provide BPSK, QPSK, QAM and that can be selected but I want to change the way it demodulates QAM but can not find any demodulation function to make the necessary changes.

Thanks

Offline

 

#2 2008-Nov-07 11:09:10

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Changing Modulation and Demodulation for MAC Implementations

It's actually the PHY that implements the various modulation schemes. Our MIMO OFDM PHY supports BPSK, QPSK, 16-QAM and 64-QAM. The MAC selects one of these schemes for each outgoing packet when constructing the packet's header. The Rx PHY reads the header to configure the demodulator for an incoming packet's payload. The mod/demod are implemented in the FPGA as part of the overall PHY model; the source Sysgen model is in the repository.

Offline

 

#3 2008-Nov-07 20:03:27

shreesha
Member
Registered: 2008-Oct-09
Posts: 8

Re: Changing Modulation and Demodulation for MAC Implementations

Thanks for the reply and the hints. i did look into the .mdl file and figured out that if I need to make some changes in the way I need to demodulate a 64 QAM then the changes are need in the hard decision block. But I am not able to understand the inputs to the block i.e the width of the bits and what they represent. Could you please elaborate teh exact changes and how I get around doing them?

Offline

 

#4 2008-Nov-07 20:38:21

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Changing Modulation and Demodulation for MAC Implementations

I don't quite understand what you're trying to change- the mapping of bits-to-symbols for 64-QAM? Or the detection algorithm (i.e. something more sophisticated than symbol-by-symbol hard-decision)? The mapping can be changed by updating the modulation values in the Tx init script. The bits-to-symbol mapping are just values stored in lookup tables, and the values are initialized by the m code script. If you're trying to change the detection algorithm itself, this is much more complicated. You'll need to implement the algorithm in the FPGA fabric, either using Sysgen or wrapping Verilog/VHDL in a black box.

Offline

 

#5 2008-Nov-13 11:08:24

shreesha
Member
Registered: 2008-Oct-09
Posts: 8

Re: Changing Modulation and Demodulation for MAC Implementations

Thank for the previous reply. I think I got a little confused. My goal is to implement a multilevel modulation and demodulation scheme. I want to use the OFDM reference design as I could integrate the rest of the layers( network, application etc.) easily. Now I understand that on the modulation side it is easy to make the change as all I need to do is change the bits to symbol mapping in the file you have specified. It is a 64-QAM like constellation. Now when i demodulate it what I want is that I do a multilevel demodulation i.e. I want to change the demodulation steps to something like I take the fist two bits determine the quadrant, then depending on the first pair I get the next two bits and then the last two bits based on the second pair. Can now please give me some hints on where exactly are the changes to be made and how do I achieve this? If this is not possible ten my next attempt would be to use the Warplab in which I can characterize the physical layer but how do I integrate the effects of the other layers especially when I want a system behavior with retransmissions etc in Warplab?

Offline

 

#6 2008-Nov-14 10:56:13

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Changing Modulation and Demodulation for MAC Implementations

WARPLab is not well-suited to building full network stacks, since the latency from antenna to detected symbol is so long. WARPLab is good for exploring physical layer algorithms over real wireless channels, to identify which algorithms are worth implementing in the FPGA. Then, once the PHY is in the FPGA, you can implement higher network layers and run everything in real-time.

Offline

 

Board footer