|
Author |
Message |
Kawasaki Jimbo |
This post is not being displayed .
|
Kawasaki Jimbo World Chat Champion
Joined: 09 Oct 2015 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Riejufixing |
This post is not being displayed .
|
Riejufixing World Chat Champion
Joined: 24 Jun 2018 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Polarbear |
This post is not being displayed .
|
Polarbear Super Spammer
Joined: 24 Feb 2007 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Im-a-Ridah |
This post is not being displayed .
|
Im-a-Ridah World Chat Champion
Joined: 20 Oct 2006 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Riejufixing |
This post is not being displayed .
|
Riejufixing World Chat Champion
Joined: 24 Jun 2018 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Im-a-Ridah |
This post is not being displayed .
|
Im-a-Ridah World Chat Champion
Joined: 20 Oct 2006 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Riejufixing |
This post is not being displayed .
|
Riejufixing World Chat Champion
Joined: 24 Jun 2018 Karma :
|
Posted: 10:46 - 25 May 2020 Post subject: |
|
|
Im-a-Ridah wrote: | Riejufixing wrote: | (You can just time how long it takes for the packet to travel the distance)
Coo! How, using a cuckoo clock, or what? |
Just time stamps and/or hardware timers. Same way GPS works at least in principle. So yeah send out your carrier pigeon to your destination e.g MPD, guy on the other side hits it with a baseball bat and says go home you immigrant, then the pigeon arrives back with you and the cuckoo clock time divided by two is the one way travel time. Obviously immigrants never go home, unlike carrier pigeons
Also new version of bluetooth can give angle of arrival for the signal though its not relevant to the app as not everyone has the latest version of bluetooth |
There are things to consider here.
First, what you are trying to time? The time it takes for a signal to travel about 2 metres. That, for radio, which is what Bluetooth is, will be around 6 ns. for 2m, and you want to see if it's less than that (down to 0 seconds, instantaneous contact).
Doubling the distance, you're obviously looking at somewhere between 0 and 12 ns, easy peasy, BUT.
What about all the other gubbins? Taking it very simply:
The sender app has to communicate with whatever O/S is on the sending device to schedule and dispatch instructions to make the packet, tell the the transmitter to send it, it has to be sent using a set time slice (only then does transmission time at the speed of light come in), and it has to be received by the receiving device with all the processing entailed there, then in the "ping pong" case the receiving device's O/S has to tell the receiving app about the packet, which has to tell the receiver O/S to chedule and dispatch instructions to construct another packet and, the transmitter has to be told to send it, it has to be sent again using a set time slice, it has to be received by the oricinal sender with all the processing entailed there, and only then can the sent and returned time be calculated and the distance found.
While nanosecond precision "in the machine" is possible, nanosecond accuracy is not. The process of sending can only happen (I think, but don't quote me) on Android (BLE) every 7 1/2 ms, which is a massive figure compared to the ~6 ns we're trying to accurately measure.
"It's not going to happen" is the result. It would be nice if it could, though! |
|
Back to top |
|
You must be logged in to rate posts |
|
|
Kawasaki Jimbo |
This post is not being displayed .
|
Kawasaki Jimbo World Chat Champion
Joined: 09 Oct 2015 Karma :
|
Posted: 11:02 - 25 May 2020 Post subject: |
|
|
So if it can't determine whether you were within 2 metres or at maximum range (100 ) from the diseased individual, that effectively means social distancing for smart-phone-app users is 5-10 metres. |
|
Back to top |
|
You must be logged in to rate posts |
|
|
Riejufixing |
This post is not being displayed .
|
Riejufixing World Chat Champion
Joined: 24 Jun 2018 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Im-a-Ridah |
This post is not being displayed .
|
Im-a-Ridah World Chat Champion
Joined: 20 Oct 2006 Karma :
|
Posted: 12:09 - 25 May 2020 Post subject: |
|
|
Riejufixing wrote: |
First, what you are trying to time? The time it takes for a signal to travel about 2 metres. That, for radio, which is what Bluetooth is, will be around 6 ns. for 2m, and you want to see if it's less than that (down to 0 seconds, instantaneous contact).
Doubling the distance, you're obviously looking at somewhere between 0 and 12 ns, easy peasy, BUT.
What about all the other gubbins? Taking it very simply:
The sender app has to communicate with whatever O/S is on the sending device to schedule and dispatch instructions to make the packet, tell the the transmitter to send it, it has to be sent using a set time slice (only then does transmission time at the speed of light come in), and it has to be received by the receiving device with all the processing entailed there, then in the "ping pong" case the receiving device's O/S has to tell the receiving app about the packet, which has to tell the receiver O/S to chedule and dispatch instructions to construct another packet and, the transmitter has to be told to send it, it has to be sent again using a set time slice, it has to be received by the oricinal sender with all the processing entailed there, and only then can the sent and returned time be calculated and the distance found.
While nanosecond precision "in the machine" is possible, nanosecond accuracy is not. The process of sending can only happen (I think, but don't quote me) on Android (BLE) every 7 1/2 ms, which is a massive figure compared to the ~6 ns we're trying to accurately measure.
"It's not going to happen" is the result. It would be nice if it could, though! |
That is sufficient for contract tracing if they just want a vague idea which is all they seem to be going for. You aren't literally trying to measure the distance with a high level of precision, though that is possible. The description you present of the protocol is the most inefficient possible method and involves totally unnecessary steps. For a start this technique does not a require an OS, it can be implemented in hardware or firmware and does not need to go up the network layer except to give a result. Timing can be done with standard 32 bit timers with a period of 0.2ns. You seem to be under the impression that this is an idea I have come up with, it's literally an established method of measurement that is already used so you can't "debunk" it. |
|
Back to top |
|
You must be logged in to rate posts |
|
|
Riejufixing |
This post is not being displayed .
|
Riejufixing World Chat Champion
Joined: 24 Jun 2018 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Lord Percy |
This post is not being displayed .
|
Lord Percy World Chat Champion
Joined: 03 Aug 2012 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
stinkwheel |
This post is not being displayed .
|
stinkwheel Bovine Proctologist
Joined: 12 Jul 2004 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Im-a-Ridah |
This post is not being displayed .
|
Im-a-Ridah World Chat Champion
Joined: 20 Oct 2006 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Lord Percy |
This post is not being displayed .
|
Lord Percy World Chat Champion
Joined: 03 Aug 2012 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Mart_er6 |
This post is not being displayed .
|
Mart_er6 Nitrous Nuisance
Joined: 05 Jun 2007 Karma :
|
|
Back to top |
|
You must be logged in to rate posts |
|
|
Old Thread Alert!
The last post was made 3 years, 326 days ago. Instead of replying here, would creating a new thread be more useful? |
|
|
|