-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highly accurate synchronized clock distribution for BLE mesh network #22860
Comments
Thanks for submitting. We are planning on adding some clock synchronization mechanism in the future, but the targeted use case would have much more relaxed requirements than this. Doing the level of time synchronization required for a distributed ToA system (I believe this is what you're requesting? ie triangulating positions based on differences in time between rx on different mesh nodes?) is not feasible with the Bluetooth Mesh, I believe. Even getting stable time synchronization below 10 milliseconds is very hard in Bluetooth Mesh for two reasons:
I tried some back of the envelope calculations to see what it would take to solve this with naive Mesh based time synchronization: According to Wikipedia, light moves at 299700 km/s through air. To be able to measure position with ToA with an accuracy of 1 meter, we need clock synchronization with an accuracy of So say that we're able to run with these nice crystals, and the radio timestamp accuracy problem is taken care of, we're still spending most of the time synchronizing nodes, as a single mesh packet takes about 300us of radio time to transmit (on a single channel, the mesh really uses 3). We can improve this by quite a lot with better algorithms, but I think there are a little too many factors to consider for this to be a feasible approach. Although it has its flaws, I'd recommend looking into averaged RSSI based positioning instead. With 5-10 mesh devices deployed in some grid, it should be possible to estimate positions down to about a meter or less. It'll never be as accurate as ToA, but at least it's implementable in the application with the current APIs. Another approach could be to do direction finding in each mesh node, and triangulating based on angle of arrival. I'd consider this a better option than distributed ToA as well. |
Not sure why the requester mixed it up with Bluetooth, typically transceiver like DW1000 has timestamp support for RX/TX events, and for some scenarios like TDoA the anchor nodes need to be time synchronized. |
Thanks for the detailed clarification.
Yes we are looking for this as well. |
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: