I'm currently working on a system that requires an RF rangefinder with ~15 cm precision, over a range of about 50 meters. My research into the field has shown that I'll need complex and expensive electronics, clocked at nearly 2GHz, to get anywhere near my desired accuracy. 1 / (time for light to travel 15 CM). My question, then, is what method do IR rangefinders (the simple little ones for hobby robotics use) use to accomplish the centimeter precision that they display in such a small, inexpensive package? Is the method that they use something that could translate to RF to power my project?

Background info:
I'm trying to localize an aircraft within a defined box for autolanding purposes (think home-grown ILS localizer). So, I'm currently thinking about the system described here, where the aircraft has a small repeater to throw back any received signals, for a time-of-flight range calculation. 3 ground beacons arranged in a triangle, and you have X,Y,Z coordinates. Obviously IR as a medium is out, because the systems needs to operate in broad daylight, over 50 to 100 meters. I considered using an RF signal strength based rangefinder (beacon on the aircraft with a tightly controlled transmitting power), however between the RF noise from the motors and control systems and the trees and buildings surrounding my testing area, I don't think that is going to work within my required accuracy.

  • 2
    \$\begingroup\$ I should point out that I have an IR rangefinder from Bushnell that works in daylight over a distance of 17 to 500 meters. And that unit cost me about US$100 about 6 years ago. So your statement "obviously IR as a medium is out" is premature. \$\endgroup\$ – user3624 Aug 4 '13 at 17:33

There are two methods I am aware of, three if you replace light with RF.

1: A simple circuit with an IR emitter, transmitting a short columnated pulse at a slight angle to the centreline of the measurement device. This refects of the remote object and comes back slightly offset. Capture the reflected light, measure this distance from the centreline, then the distance is simply geometry.

2: Uses a local oscillator, generating a sawtooth wave at a few tens of MHz. We transmit a laser pulse at the bottom of the triangle and trigger a sample and hold to capture the voltage when you get a reflection which is detected with a transimpedance amplifier and a photodiode.

The voltage + pulse count is directly proportianal to the distance.

Light takes 50ns (approx) to travel 15m and 1000ns (approx) to travel 300m. The detector needs a local oscillator of say 2/50ns = 40MHz We need 15cm accuracy, so lets make this 1 bit. We need to encode each 15m into one sawtooth and there are 100 x 15cm of these, we need a 7bit ADC that can sample at 40Mhz.

The counter needs to be able to count to 300/15 = 20 at 40MHz to achieve the full distance. The actual distance is limited by receiver front end sensitivity, output power (safety concerns) and the problems with carry chains on fast(ish) binary counters.

Each 15cm time interval is seperated in both time and voltage, so capturing it should not pose a problem.

The last component is a sample and hold. The circuit would require calibration to remove the error caused by the sample and hold's trigger delay. Other than that none of the components are expensive.

It is just as possible to use a very fast counter instead of the sawtooth, (and these do exist) but would be much more expensive.

3: You can substitude an RF transmitter for the laser and a directional antenna + RF front end for the reciever, otherwise the circuit is the same. (radio and light travel at the same speed)

4: By using RF you get another method, called CWFM, where you use the sawtooth to FM modulate the transmitted signal. The received signal is mixed with the transmitted one, the output of the mixer is a hetrodyne (frequency shifted representation) of the distance, an FM demodulator can turn this into a meaningful signal.

  • 1
    \$\begingroup\$ For #2, you don't need a 40 MHz ADC unless you want to take measurements at a 40 MHz rate. You can use a sample & hold circuit to capture the analog voltage when the pulse returns and then you can use a slow ADC to actually measure that voltage. Even though your sawtooth wave is 40 MHz, you may only take a measurement 1 or 100 times/second. Even so, good answer! +1 \$\endgroup\$ – user3624 Aug 4 '13 at 21:05
  • \$\begingroup\$ True, I thought that before I answered, but you would have to make it such that it would have to have seperate measurement phases. I was trying to keep the complexity of the answer down. Sample the ADC every time and it's less complicated to describe. A 40Mhz 7 bit voltage ADC is very cheap these days. \$\endgroup\$ – Jason Morgan Aug 4 '13 at 21:15
  • \$\begingroup\$ So could I replace the fast ADC with a micro that counts the top of each tooth, then goes and reads the ADC once the pulse has come back? This could alleviate loading on my micro; the processor I plan to use may be able to count 'em directly, but probably won't be able to fetch it over an interface in time. And thank you for such a great answer! This seems like a great method that I'm going to pursue :-D \$\endgroup\$ – Chris Aug 4 '13 at 21:23
  • \$\begingroup\$ I assume you mean 'replace counter' rather than 'replace ADC', I don't think you will find a micro that can count at 40MHz, use a small FPGA. Actel or Lattice are good as they work with 3.3V core. \$\endgroup\$ – Jason Morgan Aug 4 '13 at 21:27
  • \$\begingroup\$ Indeed the system I can imagine uses an FPGA to synchronise everything as well as doing the counting, reading the ADC and adding the result. Presenting the output distance to a host CPU over SPI or UART. \$\endgroup\$ – Jason Morgan Aug 4 '13 at 21:31

The very cheap ones (with ranges up to a few centimeters) use reflected signal strength. They are basically an IR LED and a photodiode in a single package.

The more expensive ones use triangulation, and consist of an IR LED and a linear photodiode array, with a lens in front.

I don't think any of this translates to RF.

  • \$\begingroup\$ Sharp makes some triangulation based IR distance sensors that cost around US$10. So there are obviously cheap ones that use triangulation. \$\endgroup\$ – user3624 Aug 4 '13 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.