I am currently designing an electromagnetic tether robot. The robot needs to stay a constant distance from an electromagnetic beacon. I am having difficulty coming up with a way to determine distance using magnetic field. I assume you run an alternating current through a solenoid to generate an...