Changes between Version 4 and Version 5 of ALOEOFDMDemo

Show
Ignore:
Timestamp:
08/06/12 18:22:33 (12 years ago)
Author:
ismael (IP: 90.163.39.25)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ALOEOFDMDemo

    v4 v5  
    1111 * Run-time reconfiguration 
    1212 * '''E2E Latency: 4 ms''' (constant and non-random) 
    13  * Distributed processing (tested with 2 processors and GigaEthernet) 
     13 * Distributed processing (tested with 2 processors and Gigabit Ethernet) 
    1414 * GUI: signal visualization, execution time monitoring, etc. 
     15 
     16This version is unstable. Therefore, please don't hesitate to send your questions or comments to our [http://groups.google.com/group/flexnets Maillist].  
    1517 
    1618== Download and install == 
     
    5052sudo runcf -t NOFCORES 1000000 
    5153}}} 
    52 replacing NOFCORES with the number of cores in your processor. For example, in a quad-core you would type: 
     54replacing NOFCORES with the number of cores in your processor (the second parameter tells the MAC-TEST to run one million MAC operations). For example, in a quad-core, type 
    5355{{{ 
    5456sudo runcf -t 4 1000000 
    5557}}} 
    5658 
    57 And you will see something like this: 
     59and you get: 
    5860 
    5961{{{ 
     
    9395 
    9496== USRP == 
    95 If the [http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/ UHD] driver is installed before running ALOE's configure script, the option  
     97If the [http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/wiki/ UHD] driver is installed before running ALOE's configure script, the OFDM waveform will send the samples to the USRP. In the configuration file '''/usr/local/etc/platform.conf''' (need root privileges) you'll see something like this: 
     98 
    9699{{{ 
    97 dac=uhd 
     100## DAC SELECT. Use dac_tx/dac_rx modules to send/recv samples to dac's. 
     101# Available dacs: 
     102#       x5-400: use the pci-e x5-400 daughterboard from innovation logic 
     103#       soundcard: use jack libraries to access soundcard's dac 
     104#       udh: use Universal Hardware Driver to access USRP 
     105#       none: disable dac    
     106 
     107dac { 
     108        name=none 
     109        dac_drives_clock=no 
     110        #Select dac configuration file. Read dac's documentation. 
     111        cfg_dac=usrp.conf 
     112} 
     113 
    98114}}} 
    99 in '''/usr/local/etc/platform.conf''' file allows ALOE to send samples to the USRP.  
     115Just change the field '''name=none''' by 
     116{{{ 
     117name=uhd 
     118}}} 
    100119 
    101 Now run the OFDM-128 waveform as described in the previous section. 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. 
     120Now you need to choose the transmit center frequency, which depends on your device. Edit the file '''/usr/local/etc/usrp.conf''' and look for the section 
     121{{{ 
     122tx { 
     123        samp_freq=1777778 
     124        freq=2400000000 
     125        gain=30.0 
     126        bw=0.0 
     127        blocksize=960 
     128} 
     129}}} 
     130Only the '''freq''' and '''gain''' options needs to be configured. The rest of the parameters define the initial working mode. The OFDM application, however, modifies the sampling frequency and blocksize at runtime, depending on the transmission mode.  
     131  
     132Now run again the core framework (''sudo runcf'' command) and from the command prompt, load, init and run the OFDM application as described in the previous section.  
    102133 
    103 You may experience with different sampling frequencies and time-slots editing the file /usr/local/etc/usrp.conf. By setting different sampling frequencies 
     134Try again to change the fftsize and you should observe in an spectrum analyser that the transmitter is using more or less bandwidth.    
    104135 
    105136== Distributed Processing == 
     137 
     138In a distributed environment, one of the processors acts as the MASTER. The MASTER node runs the so called Manager Daemons. The aloe-ctss package already provides the configuration for running the demo with two computers connected by an Ethernet.  
     139 
    1061401) Download and install ALOE in two computers 
    107141 
    1081422) Setup your network, making sure you have full TCP and UDP connectivity between both computers. 
    109143 
    110 3) Edit file /usr/local/etc/xitf1.conf and replace 192.168.1.1 by the ip address of your MASTER node. 
     1443) In the SLAVE node, edit file /usr/local/etc/xitf1.conf and replace 192.168.1.1 by the ip address of your MASTER node. 
    111145 
    112 4) 
     1464) In the MASTER node, run the core framework 
     147{{{ 
     148sudo runcf 
     149}}} 
     150 
     1515) In the SLAVE node, run the core framework indicating that the configuration file is platform1.conf: 
     152{{{ 
     153sudo runcf -c hw_api/lnx/cfg/platform1.conf 
     154}}} 
     155 
     1566) In the MASTER node, you should see messages indicating that the new processor has been detected.  
     157 
     1587) In the MASTER node, enter the load/init/run command sequence to begin start the waveform. Use  
     159{{{ 
     160execinfo ofdm128 
     161}}} 
     162command to check whether the waveform modules have been mapped to the two processors or not. If the waveform only uses one processor, try loading the '''ofdm512''' application (which requires more computing resources).