Default Interference Noise Model (dra_inoise)
This section describes the functionality and implementation of the default model occupying stage eight of the Radio Transceiver Pipeline. This model is named dra_inoise. The source code is provided in the file dra_inoise.ps.c, which resides in the <reldir>/models/std/wireless directory.
Invocation Context
The Radio Transceiver Pipeline can model the interference that concurrent transmissions might impose on each other. The actual effect of interference depends on the properties of the transmitting and receiving devices and the timing of the transmissions. Stage eight of the pipeline is devoted to analyzing these parameters and quantifying the mutual interference of concurrent transmissions.
The computation of interference noise occurs only when two packets are simultaneously present at the same radio receiver. This stage will not necessarily be invoked during execution of the Radio Transceiver Pipeline if a packet experiences no collisions. On the other hand, it might be called several times if the packet of interest should collide with more than one other packet. Invocation of the interference noise model always coincides with the arrival of a packet at the receiver. This might be the arrival of the packet of interest if another packet was already in reception, or the arrival of another packet during the reception of the packet of interest. The earlier arriving packet is passed to the pipeline procedure as the first argument; the second argument is the newly arriving packet which causes the collision. The simulation time at invocation is the start of reception time for the later arriving packet.
The results of the Interference Noise Model invocation for a packet are two double precision floating point values which represent the interference noise power contributed by each packet involved in the collision towards the other. The Simulation Kernel expects that these results will be added into the respective packets’ OPC_TDA_RA_NOISE_ACCUM transmission data attributes.
Interference Noise Computation
The default Interference Noise Model, called dra_inoise, filters out zero-length packet overlaps by testing the end of reception time for the earlier arriving packet against the current time. Packets that are ending at the current time can be considered to escape the collision, because in fact the overlap is really a result of the arbitrary order given to events that occur at the same simulation time.
If a non-zero width collision has occurred, dra_inoise increments the number of collisions for each packet, determines if the packets are interference packets or valid packets, and retrieves the received power levels of both packets. Computations of noise contribution are only necessary for affected valid packets, because invalid packets are not considered for reception, and their signal quality need not be determined. For valid packets, noise contributions from other packets are based on the interfering packets’ power level.
The Simulation Kernel automatically subtracts the average received power from the accumulated noise attribute as interfering packets complete transmission. The net effect of this process is a time-varying interference noise level, and therefore a time-varying signal-to-noise ratio (SNR) and bit error rate (BER). These values are calculated in stages ten and eleven.