I'm trying to make a pair of devices which can measure their distance from each other (within 50 ft., irrespective of orientation). The basics of a robust solution are described in this comment, but I don't know what components are needed to realize it. Solution paraphrased below:
The master device emits a radio signal at \$f\$ Hz. The slave device detects the master's signal and produces an \$f\$ Hz signal which is phase-locked with it. The master determines the phase shift \$\phi\$ between its own signal and the slave's signal to determine the distance of the slave.
Since the total phase shift \$\phi\$ depends on the round-trip time, the distance between master and host can be computed, so long as the phase shift is less than \$2\pi\$within 50 ft. $$ D = \frac{C}{4 \pi f}\phi $$
It seems \$f\$ = 10 MHz would be the best frequency since the half-wavelength is ~50 ft.
How does one realize the signal transmission, detection, phase-locking, and phase shift computation. I'm good with embedded systems, but know very little about producing or detecting radio signals. I assume there will be VCOs, PLLs, amplifiers, and antennas.
Also how can the master distinguish between its own signal and the slave's return signal, when determining the phase shift?