Follow MaxBotix:
|     Written By: Tom Bonar     |     DatePosted: 07-10-2012     |
Sensor Noise Analysis Diagram

Calculating Distance from Pin 2

All of the MaxSonar sensors have an output waveform that is a pictorial representation of distance measured. For the majority of our sensors that waveform output is a pulse width. The Pulse Width output is 0-Vcc that shows the Time of Flight in microseconds (uS).

Our standard LV-MaxSonar and XL-MaxSonar sensors assume the temperature is 22.5 degrees celsius. These sensors do not apply temperature compensation as the air temperature changes. Our HR-MaxSonar sensors do apply automatic temperature compensation as the air temperature changes. To apply temperature compensation to your LV-MaxSonar or XL-MaxSonar part please see the Temperature Compensation PDF here.

LV-MaxSonar Sensors

To calculate the Time of Flight (ToF) pulse width for all of our LV-MaxSonar sensors use the scaling factor: 147uS/inch

The formula to convert from ToF (pulse width) is:
(ToF/147)=Ri
ToF = Time of Flight in uS (microseconds)
Ri = Range in inches

Please be aware that in order to avoid incorrect calculations ToF must be in the same unit of measurement.

If you are viewing your ToF output on an oscilloscope and have a reading of 13.23mS, you would use the formula:
(13230/147)=Ri . In this example Ri = 90

XL-MaxSonar Sensors

To calculate the ToF pulse width for all of our XL-MaxSonar sensors use the scaling factor: 58uS/cm

The formula to convert from ToF to distance is:
(ToF/58)=Rcm
ToF = Time of Flight in uS
Rcm = Range in cm.

Please be aware that in order to avoid incorrect calculations ToF must be in the same unit of measurement.

If you are viewing your ToF output on an oscilloscope and have a reading of 10.44mS, the formula would look like:
(10440/58)=Rcm. In this example Rcm = 180

HR-MaxSonar Sensors

The scaling factor for these sensors is 1uS/mm

For this sensor family if the pulse width is 5mS, the distance to the target ranged is 5000mm.
If the pulse width to the target is 2.7mS, the distance to the target is 2700mm.

In summary for the HR-MaxSonar sensors; the represented ToF output from the sensor is equivalent to the distance of the ranged target from the sensor.

 
Author: Cody Carlson  Date: 05-14-2015
Sensors Expo 2015MaxBotix Inc., is attending the Sensors Expo June 9-11, 2015, in Long Beach, CA. Find us at Booth 612 near the main entrance. See you there!
Author: Carl Myhre  Date: 03-27-2015
I2C MaxSonar Arduino TutorialA number of customers have asked if the Arduino supports talking to the I2C‑MaxSonar sensors over an I2C interface. MaxBotix staff has worked to provide a clear and easy to follow path to get an I2C‑MaxSonar up and running on your Arduino.
Author: Scott Wielenberg  Date: 03-12-2015
Cube Corner Reflector PerformanceSometimes when using an ultrasonic sensor, users experience detection of unwanted objects that appear outside the expected beam pattern. These types of detections are the result of reflectors in the environment.
Author: CJM & TEB  Date: 01-06-2012
MaxBotix Inc. MaxSonar Quickstart GuideMaxBotix Inc., is excited to provide this guide which is designed to assist you in using your MaxSonar sensor for the first time!
Author: Tim Gallagher    Date: 03-27-2013
HRXL-MaxSonar-WR Extreme Duty Sensors, Industrial Ultrasonic SensorsMaxBotix Inc., thanks guest writer Tim Gallagher who shares his experience with the MB7369 while transporting heavy equipment.
 
 
 
 
 
Signup for notification of our exciting new products and periodic new letters. We are excited to provide the latest information from MaxBotix Inc.