CSG250 Wireless Networks Spring 2007 GlomoSim Simulation Project 1 - GlomoSim Warm-up I. setup GlomoSim simulator in your own UNIX account You could access the instructions at www.ccs.neu.edu/home/taojin/course/csg250.htm II. Simulation of different Propation Models In this simulation, you need to set up a 2-node wireless network with different scenarios, in terms of propagation models. Different propagation models are supposed to achieve different attenuation in signal transmission. Find out the corresponding transmission ranges of 8 settings obtained by varing the following 3 dimensions: TX Power: 1dBm, 10dBm RX Receive Threshold: -81.0dBm, -91dBm PROPAGATION-PATHLOSS: FREE-SPACE, TWO-RAY Compare your results with the equations in section 2.3 of glomoman.pdf Deliverables: 1. A brief description of your simulation procedure 2. Script file of command line output 3. A table, giving the transmission ranges for each of the 8 settings 4. A plot of TX power vs transmission range, for a fixed receive threshold of -81.0dBm, for each of the two propagation-loss models. 5. A brief analysis or comparison of different propagation models 6. You can also be creative and try to tweak the radio parameters; for instance, you could get ANTENNA-GAIN involved in your simulation to check out the benefits or disadvantages of directionality of radios. III. BER vs. Distance vs. PKT LOSS 1. Given fixed radio parameters, BER could be cast as a function of Eb/N0, which varies with the distance between sender-receiver pair in single hop network since the signal attenuates over distance. In this simulation, you are required to explore the relation between distance and BER by observing packet loss rate for different encoding schemes. 2. We choose constant-bit rate (CBR) as the traffic model for the application upper layer; set packet length to 32B. The script for the config file is the following. CBR 0 1 5000 32 1S 0S 500S 3. Set following radio parameters in config.in RADIO-RX-TYPE BER-BASED BER-TABLE-FILE ./ber_bpsk.in RADIO-TX-POWER 1 RADIO-RX-SENSITIVITY -100.9 RADIO-RX-THRESHOLD -100.9 Feel free to edit any other parameters or config files to set up a reasonable simulation scenario. 4. Plot the packet loss rate as a function of traffic distance, varying the distance in steps of 10 ms, starting from a distance at which there is nearly 0% packet loss and ending at a distance where the packet loss is nearly 100%. 5. Change packet length to 256B, repeating the above simulation. Deliverables: 1. Script file of your command line output 2. Brief description of simulation scenario 3. Plots of pkt loss rate vs. dist IV Effect of Receive-threshold on BER plot (BER vs distance) RADIO-RX-TYPE BER-BASED BER-TABLE-FILE ./ber_bpsk.in RADIO-TX-POWER 1 Vary RADIO-RX-SENSITIVITY and RADIO-RX-THRESHOLD between -95.0 dBm and -100 dbm in decrements of -0.5 dbm, in each case setting both parameters to be the same. Obtain a plot of BER vs distance for each setting. Deliverables: 1. Script file of your command line output 2. The 10 BER vs distance plots. 3. Given an explanation for how the BER plots change as you change the receive-threshold.