<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RSSI switching values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25399/rssi-switching-values</link><description>Hi,
(I&amp;#39;m a computer scientist, please be kind) 
 In the below attached image, I have collected the data outdoors (so no signal reflection or signal fading) from a single BLE beacon at two different pre-set power levels. I see that RSSI values fluctuate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Sep 2017 10:31:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25399/rssi-switching-values" /><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100124?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 10:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f91feff-1620-4e17-9dba-2920ae0d0a35</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I don&amp;#39;t remember and it is actually not possible to say exactly either. The X-axis in the plot is not time, but sample number. The time between each point in the plot can be anything dependent on how fast the peripheral is advertising and whether all advertising packets are picked up by the central.&lt;/p&gt;
&lt;p&gt;But let us assume that it is ~10 samples per &amp;quot;level&amp;quot; in my plot. Then we can say that the Scan window is e.g. 100ms and the advertising interval is 10ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100122?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 12:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80eea845-05fd-4d62-9bd5-4376202c6ed4</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;if you can, can you please tell me what is the time for the flat part of the graph (before increasing or decreasing; ignoring the small fluctuations). A approximate value would also help. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100123?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 11:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ecafc1e-3bb0-4f50-875f-f08130686206</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It is just the number of received advertising packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100121?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 11:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9dcb7e6-91af-4e23-a4d7-003631db575d</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;In the last image, what scale is your x-axis?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100125?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 09:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39ba892f-7e5e-488d-8242-7e0c27f0ffed</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I added some sentences and a picture in my answer that hopefully explains what I mean.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100118?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 07:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb28ac66-9263-4558-a2bf-aff4af7ba724</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;and  What do you mean by different performance? does it mean slightly different powers in the three channels?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100120?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 06:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8006a9e-4fe5-4465-975f-cb2512dcd2cc</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It has been a while a go since I did it, but I&amp;#39;m pretty sure I:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Used a Central example from the SDK.&lt;/li&gt;
&lt;li&gt;Scanned for packets from a peripheral with a certain UUID in the advertising packet.&lt;/li&gt;
&lt;li&gt;Read the RSSI values (p_gap_evt-&amp;gt;params.adv_report.rssi) on BLE_GAP_EVT_ADV_REPORT events.&lt;/li&gt;
&lt;li&gt;Printed the values via UART to a computer and stored the values in a .CSV file and opened it in excel.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100119?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 06:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d11249-a288-4122-b522-100c19dfecb2</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;How did you read the advertisements? using a smartphone?
What do you mean by different performance? does it mean slightly different powers in the three channels?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100117?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 14:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5f2812-c39f-4937-8947-a9a328d35f94</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could it simply be that you are scanning advertising packets with long scan windows and that the three distinct &amp;quot;levels&amp;quot; correspond to the three different advertising channels. I have seen a very similar pattern before where this was the case. Have a look at the picture below:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Scanning.PNG" alt="sadfi" /&gt;&lt;/p&gt;
&lt;p&gt;If you scan with relatively long scan windows compared to advertising intervals you will pick up several packets from channel 37, then from channel 38, and finally from channel 39. Now remember that even though they are numbered in sequence, the three advertising channels are spaced out in the entire spectrum:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Frequency.PNG" alt="adf" /&gt;&lt;/p&gt;
&lt;p&gt;Since it is impossible to design a radio with perfect frequency response across the entire BLE spectrum you will always have slightly different performance on the three different channels. In the image below the red line illustrates how the performance might differ over the 40 BLE channels (This is just an illustration. The curve might be very different). It shows how the antenna is able to output more power on advertising channel 38 and data channels 11-16 than e.g. on data channel 36 and advertising channel 39. More power on the air shows up in your plot as higher dBm.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Bluetooth_5F00_frequencies_5F002D005F00_low_5F00_energy_5F005F005F00_Classic.jpg" alt="asdf" /&gt;&lt;/p&gt;
&lt;p&gt;The RSSI on each channel can also vary depending on your surroundings. A signal on a given frequency might e.g. travel more easily through a wall than a different frequency.&lt;/p&gt;
&lt;p&gt;The bottom line: You have no guarantee that all three advertising channels will perform equally well. In fact, that is why there are three of them; To increase the chances of reaching your receiver. If one channel is useless due to interference or just poor antenna design, then hopefully you can still reach your receiver through one of the other two channels.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;In the figure below I have reproduced a similar pattern just by playing around with scan windows and advertising interval:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Reproduced.png" alt="asdg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100113?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4690e6ca-8304-4374-8233-2eb7c01b9748</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Btw. half a meter apart you are still almost in the near field, behavior of these things with wide spectrum of radiating things can be very far from our linear intuition...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100115?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d0ede91-f91b-44a5-ac81-43174f1271f9</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I can only say that this is what most of (cheap) Android phones do and I&amp;#39;ve seen such periodic fluctuations many times. It&amp;#39;s very hard to say what is actual root cause (and even radio engineers might not be able to tell without spending weeks in the lab with particular electronics and isolating the things on different layers one by one) but my theory is that systems with volume of 150x150x8mm3 packed with several antennas + 4-band GSM/3G/LTE + Wifi (sometimes dual-band) + Bluetooth + GPS(Glonass...) + bunch of more or less unshielded chips and all that powered from battery, it&amp;#39;s even mystery for me how all of that can work so well. Having +-10dBm noise on some of these radios when you are +30/50dBm from sensitivity thresholds is probably peanuts for handset makers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100112?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9392f26e-e8d0-4f1d-8d8e-ee95df6b0355</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;In the lawn, no user presence here. The beacon and mobile device (mounted on tripod) were half a meter apart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100116?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ededfab8-7339-4722-90df-2a981d466d1e</guid><dc:creator>Srikant</dc:creator><description>&lt;p&gt;Hi @endnode,&lt;/p&gt;
&lt;p&gt;Thanks for the lightning fast reply. The transmitter is nRF51822 chip but the receiver is a smartphone device. A noise would cause random fluctuations but this looks (very)periodic. Don&amp;#39;t you think? I need to model this data for localization problem. Just wondering why this happens so that I get a better understanding about the measurement process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100111?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467fef16-5857-49c3-ab47-8afeb8c153c7</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Outdoor as in a soccer field?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI switching values</title><link>https://devzone.nordicsemi.com/thread/100114?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2017 13:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa568eb7-898e-4f08-9ba3-5e809f48ca6b</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;What is the receiver and what is transmitter? Are both nRF5x chips with Nordic stack and custom FW? From the first look I would say: this is how typical &amp;quot;static&amp;quot; RSSI plot looks like. Even you think that both transmitter and receiver are static and that nothing is changing in the environment the signal strength and radio stages are so sensitive that even small changes and noise (e.g. from power stage on the board or inducted from any other source in the system) cause +-10dBm fluctuations. This is the main reason why most of these &amp;quot;location tracking&amp;quot; systems based on RSSI are failing (or take big effort to &amp;quot;smooth&amp;quot; the curve and cross check the data from many receivers and patterns).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>