Changes between Version 2 and Version 3 of CostTerraSummerSchoolDemo

Show
Ignore:
Timestamp:
08/06/12 13:31:15 (12 years ago)
Author:
ismael (IP: 85.50.96.222)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CostTerraSummerSchoolDemo

    v2 v3  
    1 = COST-Terra Summer School Demo = 
     1= ALOE OFDM Transmitter Demo = 
    22 
    3 We describe in this page how to download the OFDM transmitter demo we presented at COST-Terra Summer School 2012.  
     3We describe in this page how to download the OFDM transmitter demo we presented at COST-Terra Summer School 2012. 
    44 
    55Main Features: 
     6 
    67 * Bandwidth 2-20 MHz 
    78 * FFT size 128-2048 points 
    89 * Turbo-encoding 
    910 * Cyclic-Prefix 
    10  * Run-time reconfiguration  
     11 * Run-time reconfiguration 
    1112 * E2E Latency: '''4 ms''' (constant and non-random) 
    12  * Distributed processing (tested with 2 processors and GigaEthernet)  
     13 * Distributed processing (tested with 2 processors and GigaEthernet) 
    1314 * GUI: signal visualization, execution time monitoring, etc. 
    1415 
    1516== Download and install == 
     171) Prerequisites: 
    1618 
    17 1) Prerequisites: 
    18   * Linux operating (tested on Ubuntu)  
    19   * Only the 'readline' and 'termcap' libraries are required to install ALOE. Ask your OS vendor how to install these libraries.  
    20 If you want to use the USRP, make sure you have the UHD drivers is installed before installing ALOE.  
     19 * Linux operating (tested on Ubuntu) 
     20 * Only the 'readline' and 'termcap' libraries are required to install ALOE. Ask your OS vendor how to install these libraries. 
     21 
     22If you want to use the USRP, make sure you have the UHD drivers is installed before installing ALOE. 
    2123 
    22242) Download the latest ALOE unstable version from http://flexnets.upc.edu/downloads/aloe-ctss-demo-1.5.0.tar.gz 
     
    2527 
    26284) Configure, compile and install 
     29 
    2730{{{ 
    2831./configure 
     
    3033sudo make install 
    3134}}} 
     355) Add the following lines to /etc/sysctl.conf file 
    3236 
    33 5) Add the following lines to /etc/sysctl.conf file 
    3437{{{ 
    3538kernel.msgmnb=1048576 
     
    3740kernel.msgmni=128 
    3841}}} 
     42and run 
    3943 
    40 and run 
    4144{{{ 
    4245sudo sysctl -p  
    4346}}} 
     476) Run the MAC-TEST to obtain your processor performance: 
    4448 
    45 6) Run the MAC-TEST to obtain your processor performance: 
    4649{{{ 
    4750sudo runcf -t NOFCORES 1000000 
    4851}}} 
    4952replacing NOFCORES with the number of cores in your processor. You should see something like this: 
     53 
    5054{{{ 
    5155child 2: 1344192127:118 -> 1344192127:1561      diff: 0:1443    693 MMACS 
     
    5559parent: 1344192126:183204->1344192127:3329 diff: 0:820125 
    5660}}} 
    57  
    58 Now set the ''mops'' field in /usr/local/etc/platform.conf option to the MMACS obtained in the test.   
     61Now set the ''mops'' field in /usr/local/etc/platform.conf option to the MMACS obtained in the test. 
    5962 
    6063== Running the Demo application == 
     641) Run core framework. Requires root privileges to set real-time scheduler 
    6165 
    62 1) Run core framework. Requires root privileges to set real-time scheduler 
    6366{{{ 
    6467sudo runcf 
    65 }}}  
     68}}} 
     692) In the CMDMAN prompt, run 
    6670 
    67 2) In the CMDMAN prompt, run 
    6871{{{ 
    6972load ofdm128 
     
    7174run ofdm128 
    7275}}} 
     76to load, initialize and run the OFDM-128 application. Now you can check the waveform is running with the command 
    7377 
    74 to load, initialize and run the OFDM-128 application. Now you can check the waveform is running with the command 
    7578{{{ 
    7679execinfo ofdm128 
    7780}}} 
     813) The OFDM bandwidth can be modified at run-time with: 
    7882 
    79 3) The OFDM bandwidth can be modified at run-time with: 
    8083{{{ 
    8184statset ofdm128 source fftsize 256 
    8285statset ofdm128 source fftsize 512 
    8386}}} 
    84  
    85 Which set the fft size to 256 and 512 tones respectively (4 and 8 MHz bandwidth). By default, the framework will use one processor only from your computer. If you have a multi-core processor, edit the 'nof_cores' option in /usr/local/etc/platform.conf file. In our tests, the OFDM application runs perfectly in a 2.5 GHz Intel processor using one core only. The 512 mode produces frequent real-time faults (printed stdout). This mode works correctly in a dual-processor environment.  
     87Which set the fft size to 256 and 512 tones respectively (4 and 8 MHz bandwidth). By default, the framework will use one processor only from your computer. If you have a multi-core processor, edit the 'nof_cores' option in /usr/local/etc/platform.conf file. In our tests, the OFDM application runs perfectly in a 2.5 GHz Intel processor using one core only. The 512 mode produces frequent real-time faults (printed stdout). This mode works correctly in a dual-processor environment. 
    8688 
    8789== USRP == 
     90If the UHD driver is installed before running ALOE's configure script, the option dac=uhd in /usr/local/etc/platform.conf file allows ALOE to send samples to the USRP. Just edit the platform.conf file and run the OFDM-128 waveform from the ALOE command man. The device sampling frequency is automatically configured by ALOE. Since not all devices can work with the same sampling frequencies, the execution period (time-slot) can differ slightly from one set-up to another. 
    8891 
    89 If the UHD driver is installed before running ALOE's configure script, the option dac=uhd in /usr/local/etc/platform.conf file allows ALOE to send samples to the USRP. Just edit the platform.conf file and run the OFDM-128 waveform from the ALOE command man. The device sampling frequency is automatically configured by ALOE. Since not all devices can work with the same sampling frequencies, the execution period (time-slot) can differ slightly from one set-up to another.   
    90  
    91 You may experience with different sampling frequencies and time-slots editing the file /usr/local/etc/usrp.conf. By setting different sampling frequencies  
     92You may experience with different sampling frequencies and time-slots editing the file /usr/local/etc/usrp.conf. By setting different sampling frequencies 
    9293 
    9394== Distributed Processing == 
    94  
    95951) Download and install ALOE in two computers 
    9696 
    97 2) Setup your network, making sure you have full TCP and UDP connectivity between both computers.  
     972) Setup your network, making sure you have full TCP and UDP connectivity between both computers. 
    9898 
    99993) Edit file /usr/local/etc/xitf1.conf and replace 192.168.1.1 by the ip address of your MASTER node. 
    100100 
    101 4)  
    102  
    103  
     1014)