Difference between revisions of "Ultrasonic Distance Sensor"

(Selecting an Ultrasonic Sensor)
(Selecting an Ultrasonic Sensor)
Line 22: Line 22:
 
The beam patterns are shown as viewed from the top, though they would look similar viewed from the side as well. The patterns are generated by keeping the sensor at a fixed location (the bottom center of each grid, facing up) and a dowel is moved in at progressively further distances from the sensor until the dowel is detected. By tracking the points where the dowel is detected and lost by the sensor, the beam pattern profile is generated.  
 
The beam patterns are shown as viewed from the top, though they would look similar viewed from the side as well. The patterns are generated by keeping the sensor at a fixed location (the bottom center of each grid, facing up) and a dowel is moved in at progressively further distances from the sensor until the dowel is detected. By tracking the points where the dowel is detected and lost by the sensor, the beam pattern profile is generated.  
  
Each column is a different ultrasonic sensor model, and a different diameter test dowel is used for each row of the table. Note that the sensors are all able to detect larger dowels from further distances away and thus have larger beam detection patterns on the lower rows of the table. Conversely, they can only see smaller dowels at close distances and have smaller detection patterns on the upper table rows where smaller dowels are used. The solid black line shows the beam pattern when the sensor is powered at 5V, while the red circles show the beam pattern while the sensor is powered by 3.3V. In this example, the beam detection pattern is almost always larger with 5V than with 3.3V.
+
Each column is a different ultrasonic sensor model, and a different diameter test dowel is used for each row of the table. Note that the sensors are all able to detect larger dowels from further distances away and thus have larger beam detection patterns on the lower rows of the table. Conversely, they can only see smaller dowels at close distances and have smaller detection patterns on the upper table rows where smaller dowels are used. The solid black line shows the beam pattern when the sensor is powered at 5V, while the red circles show the beam pattern while the sensor is powered by 3.3V. For these sensors, the beam detection pattern is almost always larger with 5V than with 3.3V.
  
 
Depending on the application, a wide or narrow beam wave might be a better fit. The HRLV-MaxSonar-EZ0 has the widest and most sensitive beam pattern of any unit from HRLV-MaxSonar-EZ sensor line. This makes the HRLV-MaxSonar-EZ0 an excellent choice for use where high sensitivity, wide beam, or people detection is desired. The HRLV-MaxSonar-EZ4 is the narrowest beam width sensor that is also the least sensitive to side objects offered in the HRLV-MaxSonar-EZ sensor line. The HRLV-MaxSonar-EZ4 is an excellent choice when only larger objects need to be detected.
 
Depending on the application, a wide or narrow beam wave might be a better fit. The HRLV-MaxSonar-EZ0 has the widest and most sensitive beam pattern of any unit from HRLV-MaxSonar-EZ sensor line. This makes the HRLV-MaxSonar-EZ0 an excellent choice for use where high sensitivity, wide beam, or people detection is desired. The HRLV-MaxSonar-EZ4 is the narrowest beam width sensor that is also the least sensitive to side objects offered in the HRLV-MaxSonar-EZ sensor line. The HRLV-MaxSonar-EZ4 is an excellent choice when only larger objects need to be detected.

Revision as of 19:36, 14 September 2020

These range sensors test how close you are to an object by using sonar waves. These will bounce off an object and the time it took for the wave to get back to the sensor is used to calculate the distance from the object. These come in all distances and strengths but can be fairly accurate at a far lower price than Lidar.

Sensor Overview

Obstacle Detection: Detects the nearest obstacle in a cone. Although the detection area is significantly larger than IR and 1D lidar, the ultrasonic sensor still only measures the distance to the closest object. Maximum detection range is about 15 feet.

Ideal operating conditions: No sources of external ultrasonic noise present.

Sensor Pros:

  • Data is easily processed, allowing the use of cheaper microcontrollers
  • Inexpensive
  • Good detection range and update rate

Sensor Cons:

  • Ultrasonic emissions can echo, causing the receiver to pick up “ghost” data
  • Similarly, complications can arise if multiple ultrasonic sensors are used since receivers can pick up emissions from other sensors. Some effort may be required to coordinate the emit/receive measurement times for each sensor.

Selecting an Ultrasonic Sensor

Here is a comparison of beam detection patterns between sensors in the LV-MaxSonar-EZ line:

-- Pic --

The beam patterns are shown as viewed from the top, though they would look similar viewed from the side as well. The patterns are generated by keeping the sensor at a fixed location (the bottom center of each grid, facing up) and a dowel is moved in at progressively further distances from the sensor until the dowel is detected. By tracking the points where the dowel is detected and lost by the sensor, the beam pattern profile is generated.

Each column is a different ultrasonic sensor model, and a different diameter test dowel is used for each row of the table. Note that the sensors are all able to detect larger dowels from further distances away and thus have larger beam detection patterns on the lower rows of the table. Conversely, they can only see smaller dowels at close distances and have smaller detection patterns on the upper table rows where smaller dowels are used. The solid black line shows the beam pattern when the sensor is powered at 5V, while the red circles show the beam pattern while the sensor is powered by 3.3V. For these sensors, the beam detection pattern is almost always larger with 5V than with 3.3V.

Depending on the application, a wide or narrow beam wave might be a better fit. The HRLV-MaxSonar-EZ0 has the widest and most sensitive beam pattern of any unit from HRLV-MaxSonar-EZ sensor line. This makes the HRLV-MaxSonar-EZ0 an excellent choice for use where high sensitivity, wide beam, or people detection is desired. The HRLV-MaxSonar-EZ4 is the narrowest beam width sensor that is also the least sensitive to side objects offered in the HRLV-MaxSonar-EZ sensor line. The HRLV-MaxSonar-EZ4 is an excellent choice when only larger objects need to be detected.