Skip to content
/ collision Public

Analysis of concurrent transmission in IEEE 802.15.4 wireless networks

License

Notifications You must be signed in to change notification settings

mwil/collision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Collisions in 802.15.4 Networks

Simulation code for the analysis of concurrent transmission in IEEE 802.15.4 wireless networks. This is the accompanying code to the technical report available at ArXiv; the full paper appeared in IEEE Transactions on Wireless Communications 13(12) (On the Reception of Concurrent Transmissions in Wireless Sensor Networks).

Directories

  • src: Python code for calculating the demodulator output of the receiver
  • julia: re-implementation in Julia using @parallel, awesomely faster
  • figs: matplotlib code used to generate some of the figures in the paper, to see how to use phitau.py
  • collision-viz: re-implementation of the simulation code in JavaScript and the visualization applet code

Dependencies

Python

For the src/figs part, you need

Julia

For julia, you need

  • the release version (v0.5) of Julia
  • package NPZ (to read and write numpy data files)
  • PyPlot (to call matplotlib from julia)
  • DistributedArrays (for speed up by parallel computations)

Run it like this to enable parallel execution on worker threads (inside the subfolders in the figs folder):

$ julia -O 3 -p auto gen_ser_contour.jl unif soft

Example Outputs

BER Contour Plot

Plot of the bit error rate that a sender experiences when time or phase offsets are present. Contour plot of the bit error rate (BER)

MSK Waveform Plot

An example waveform of the physical signal when the sender employs the minimum shift keying modulation. MSK waveform