[Tinyos-help] RSSI and TOSSIM

Iñigo Urteaga urteaga at gmail.com
Thu Feb 14 13:37:01 PST 2008


Hi all,

I found this previous post from Dec. 19th in tynios-help and I would
like to have some points clarified.

First, I agree with Phil that the received signal strength will be
(assuming waves are in phase) the addition of both desired signal's
power and existing noise power level.

As far as I understand TOSSIM's code, no radio stack is simulated. All
the radio communications are simulated by TossimActiveMessageC, which
relies in CPMModel. CPMModel computes the packet's received power with
it's corresponding noise level using CPM gain/noise model. At this
point is calculated the "strength" value as mentioned by Tal, which is
included in the metadata of the packet. This "strength" field can then
be accessed by TossimPacket interface.

So, having this scenario, I understand the goal of TossimPacket
interface is to give the application a chance to access radiolink
quality information, am I right? Accessing received message's strength
value, it is possible to have a rough idea of the link quality between
the sender and the receiver.

However, I am not completely comfortable with using signal strength as
link quality indicator. Although I agree received signal strength is
the sum of both the original signal and noise, I don't think this
truly reflects link quality. It would be possible to have really noisy
links (with low desired signal power level) that would have as good
strength values as really good links (where desired signal power is
much bigger than noise level). Instead, since signal's power level and
noise level are accessible by the CPMModel component, why not use
Signal To Noise Ratio?

That is why I would like to know if there is any reason that makes
necessary to have the strength value included in the metadata. Would
not be possible to include the SNR value in that field? My point here
is that, since no radio stack is simulated in TOSSIM, it would be more
useful to offer a SNR indicator than the "strength" field.

Thanks in advance for your attention,

Iñigo

On Wed, Dec 19, 2007 at 11:40 AM, Philip Levis <pal at cs.stanford.edu> wrote:
>
>  On Dec 19, 2007, at 6:09 AM, Tal Rusak wrote:
>
>  > Hi,
>  >      I noticed that TOSSIM uses the following formula to compute RSSI:
>  > rcv->strength = (int8_t)(floor(10.0 * log(pow(10.0, power/10.0) +
>  > pow(10.0, noiseStr/10.0)) / log(10.0)));
>  > (in CpmModelC.nc)
>  >      I notice that this is adding the signal power (gain) and noise
>  > levels. I am wondering if this is a true reflection of the physical
>  > phenomenon--i.e., in the CC2420, when RSSI is computed
>  > (CC2420Packet.getRssi(packet)), do signal and noise strength
>  > contribute in an additive fashion? Are there any paper or documents
>  > that support this notion?
>  >      I appreciate any response in advance.
>
>  It's basic wave physics. This is a very simplistic way to compose the
>  signals. If the signals are completely in phase, it will be additive.
>  In practice, they're not, so it's less. But trying to capture this
>  more accurately becomes strange, especially when the two signals are
>  not precisely the same frequency.
>
>  Phil
>
>
> _______________________________________________
>  Tinyos-help mailing list
>  Tinyos-help at millennium.berkeley.edu
>  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



More information about the Tinyos-help mailing list