Wednesday, 9 January 2019

bluetooth - Options for short range distance determination between two objects


I have a project idea in mind, but it involves calculating the distance between two people. I've looked into Bluetooth, RFID, and NFC (unsure about this one), but none appear to offer the accuracy I would need (I am a novice at best, so I would welcome being corrected on this).


Bluetooth: seems to only be able to detect that someone is either in range or not in range. And although that range works well for what I want to do (~30 feet is common?), I would ideally be able to specify distances within that range at 5 foot intervals.


RFID: seems to only work with very short (sub-meter) distances.


NFC: Unsure


Would one of these options work, or are there others that could work? Or is GPS the only route?


UPDATE: The idea is a child safety "net". A child would have some kind of beacon on them that only needs to send out a signal, and then the receiver would be on the parent. That way, if the child moved more than x distance away from the parent, the parent would be notified.


Ideally the parent would be able to set a different allowable distance depending on the environment they were in (crowded city street - small radius, park - large radius).



Answer



This idea might be patented, so it might not be suitable for a commercial project, but you can actually measure the position and orientation of one electronic device relative to another, with reasonable accuracy, using magnetic fields. This is how Polhemus and Ascension trackers work. They are used in VR motion tracking, and in surgery for tracking the position of surgical instruments during operations.



3 orthogonal coils


The basic concept is to have one set of coils transmitting, and another receiving. The transmitter coils emit audio frequency alternating magnetic fields, and the receiver coils then measure the amplitude of the fields in the three receiver coils.


There is some code available online for doing these calculations. You might also take a look at the guy's project page: Open source electromagnetic trackers using OpenIGTLink.


This may not be quite the system you're looking for, as it's fairly complex, and is giving you much more info than you wanted. However, a simpler algorithm could be used which just gave you distance.


A company called Sixense make a gaming controller with a 6DOF sensor in it. I don't know how easy it would be to integrate this technology into your project though.


Update:


Now that I know what your application is, I have been thinking of a very similar application. My suggestion would be this:


Use the three orthogonal coils approach. Both the mother and child have a set of coils. The child would be the transmitter. Every few seconds, the child module would transmit an acoustic frequency magnetic field on each coil in turn. The mother module would measure the amplitude of the voltage induced in its coils. If the amplitude was too low, or if no signal was heard for more than a few seconds, then the alarm sounds.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...