<?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>Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102538/longer-range-distance-measurement-synchronisation</link><description>NRF52833 with NCS 2.4.0 
 I&amp;#39;ve added basic Distance Measurement support by adapting the nrf_dm example, but I&amp;#39;d like to get rid of the scanning and I also want to extend the range to a reliable 100ft (33m). 
 I found the RTT (round trip time) option which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Aug 2023 12:59:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102538/longer-range-distance-measurement-synchronisation" /><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439927?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 12:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f8fd9ed-5ac3-4d59-b972-f79db7fb4da6</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;d not seen those range tests before. Unfortunately I cannot use the nrf21540. I ordered the (hopefully) final PCBs this week. So I have to work with what I have.&lt;/p&gt;
&lt;p&gt;I repeated the test. This time being more careful to maintain line of sight. and got results upto 50m. Which is probably as far as I walked. It was too bright to use my laser pointer to verify the figures unfortunately.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ice_5F00_screenshot_5F00_20230804_2D00_143819.png" /&gt;&lt;/p&gt;
&lt;p&gt;I will continue testing but I think it&amp;#39;s unlikely I can promise my customers any more than 10m (30ft) reliably. Assuming they put it in their pocket etc. But it&amp;#39;s still a useful feature, so I will try to include it.&lt;/p&gt;
&lt;p&gt;Thanks again&amp;nbsp;for your help. It&amp;#39;s much appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439911?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 12:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2345bb1-2590-4a67-aed7-97966dabc87b</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;So for the Bluetooth range, we test several 100 meters with the standard DKs in line of sight, &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/testing-max-range-with-ble-with-nrf21540dks-and-nrf52840-dks"&gt;Comparing range with Bluetooth Low Energy of the nRF21540 DK and the nRF52840 DK&lt;/a&gt;. The range will be highly depending on the environment so walls and similar will shorten it. Same for the PCB design and the antenna.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t use phase based to estimate the range of the RTT as that will be overly pessimistic.&lt;/p&gt;
&lt;p&gt;You can use other synchronization mechanisms if you want, proprietary protocols will also work as long as you can get the synchronization good enough. We only offer the Bluetooth scanner/advertising sample but as the ranging is proprietary running in the timeslot API you can use any radio standard for the synchronization.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439909?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 12:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81acee4-34ef-40d6-955f-492553765ef5</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;I see, thank you.&lt;/p&gt;
&lt;p&gt;Then I cannot expect the 100ft range I had hoped for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just tested RTT with the example again. Making a histogram of the number of samples for each metre.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ice_5F00_screenshot_5F00_20230804_2D00_134501.png" /&gt;&lt;/p&gt;
&lt;p&gt;I walked away from the device and back again. Not very scientific. But it looks like the range was already struggling beyond 10m and was fairly bad by 20m. I will repeat the test.&lt;/p&gt;
&lt;p&gt;Is there any easy way to synchronise except scannable advertising? It uses a lot of power to scan.&lt;/p&gt;
&lt;p&gt;Perhaps PAwR is worth a try?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439898?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 11:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40e2bc85-106d-4f1f-8a3f-124411bab541</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;The phase based ranging works reliably out to 8-10 meters, for longer ranges you should use RTT only. At longer ranges you are more likely to get incorrect resolutions for the range with the phase based ranging due to multi-path and similar.&lt;/p&gt;
&lt;p&gt;The RTT ranging requires that you can communicate over non-coded PHY so using coded PHY for the advertising will not increase your ranging capabilities.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439827?ContentTypeID=1</link><pubDate>Fri, 04 Aug 2023 07:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2d29a88-9f78-4a5f-995e-5b29b639722d</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;I did a test with the nrf_dm example with +8TX power and I can see that the range returned by ifft is good enough, and that the high-precision returns nan when the range is large. I think the estimates are about right&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ice_5F00_screenshot_5F00_20230802_2D00_145106.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve not tested RTT mode yet. And I&amp;#39;ve not got CODED phy advertising to work (yet)&lt;/p&gt;
&lt;p&gt;It seemed to have poor reliability at this relatively short range however. I&amp;#39;m not sure if RTT will be more suited to longer ranges&amp;nbsp;I&amp;#39;m not sure if the non-CODED scannable adverts are the problem, or it its because of the DM calculations.&lt;/p&gt;
&lt;p&gt;I will try to get CODED phy scannable adverts working and try to test RTT also today.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439777?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2023 18:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c04e61-8658-4ed1-8b53-60854425756f</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi Amanda, Thank you.&lt;/p&gt;
&lt;p&gt;I realised that I had misunderstood the webinar, specifically that the phase calculations themselves require 2-way communications.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ice_5F00_screenshot_5F00_20230803_2D00_193630.png" /&gt;&lt;/p&gt;
&lt;p&gt;I had failed to comprehend this when I first watched it. I thought they were just referring to the synchronisation step, but instead it&amp;#39;s actually happening during the DM timeslot also. In order to do the phase calculations.&lt;/p&gt;
&lt;p&gt;So I can&amp;#39;t expect this to work at vast ranges, even if I can do one-way synchronisation.&lt;/p&gt;
&lt;p&gt;My goal is to have a &lt;strong&gt;reliable&lt;/strong&gt; 30m (100ft) *outdoor* range. And it would be great if I could&amp;nbsp;get the&amp;nbsp;synchronisation using the&amp;nbsp;12 periodic adverts that I&amp;#39;m already sending and receiving every second.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see several possibilities.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change the example to use CODED phy and then look for ways to reduce the time spent scanning.&lt;/li&gt;
&lt;li&gt;Find a way to get synchronisation from my existing periodic adverts.&lt;/li&gt;
&lt;li&gt;Try the callbacks from PAWR (periodic adverts with responses)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I can see that there are callbacks listed in&amp;nbsp;bt_le_ext_adv_cb which might be what I need.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	/**
	 * @brief The Controller indicates it is ready to transmit one or more subevent.
	 *
	 * This callback notifies the application that the controller has requested
	 * data for upcoming subevents.
	 *
	 * @param adv     The advertising set object.
	 * @param request Information about the upcoming subevents.
	 */
	void (*pawr_data_request)(struct bt_le_ext_adv *adv,
				  const struct bt_le_per_adv_data_request *request);
	/**
	 * @brief The Controller indicates that one or more synced devices have
	 * responded to a periodic advertising subevent indication.
	 *
	 * @param adv  The advertising set object.
	 * @param info Information about the responses received.
	 * @param buf  The received data. NULL if the controller reported
	 *             that it did not receive any response.
	 */
	void (*pawr_response)(struct bt_le_ext_adv *adv, struct bt_le_per_adv_response_info *info,
			      struct net_buf_simple *buf);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Obviously I&amp;#39;m not sure what to try.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestions or advice are greatly appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;-Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Longer range distance measurement synchronisation.</title><link>https://devzone.nordicsemi.com/thread/439761?ContentTypeID=1</link><pubDate>Thu, 03 Aug 2023 16:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a69a83e8-d779-43ec-8945-479b8e5188be</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am working on your case and will update it later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>