Ultrasonic Sensor
Ultrasonic Sensor
Ultrasonic Sensor
ENGINEERING DEPARTMENT
An ultrasonic sensor is an instrument that measures the distance to an object using ultrasonic sound
waves.
An ultrasonic sensor uses a transducer to send and receive ultrasonic pulses that relay back
information about an object’s proximity.
High-frequency sound waves reflect from boundaries to produce distinct echo patterns.
Transducers are the microphones used to receive and send the ultrasonic sound.
Our ultrasonic sensors, like many others, use a single transducer to send a pulse and to receive the
echo. The sensor determines the distance to a target by measuring time lapses between the sending
and receiving of the ultrasonic pulse.
Ultrasound is reliable in any lighting environment and can be used inside or outside. Ultrasonic sensors
can handle collision avoidance for a robot, and being moved often, as long as it isn’t too fast.
Ultrasonics are so widely used, they can be reliably implemented in grain bin sensing applications,
water level sensing, drone applications and sensing cars at your local drive-thru restaurant or bank.
Ultrasonic rangefinders are commonly used as devices to detect a collision.
Presence
Level
Position
Distance
Light
Smoke
Dust
Color
Material (except for soft surfaces, i.e. wool, because the surface absorbs the ultrasonic sound
wave and doesn’t reflect sound.)
Ultrasonic sensors are superior to infrared sensors because they aren’t affected by smoke or black
materials, however, soft materials which don’t reflect the sonar (ultrasonic) waves very well may cause
issues. It’s not a perfect system, but it’s good and reliable.
Distance Calculation
Distance L = 1/2 × T × C
where L is the distance, T is the time between the emission and reception, and C is the sonic speed.
(The value is multiplied by 1/2 because T is the time for go-and-return distance.)
Line Tracking Proximity Sensor
Normalization process
Different sensors may output different results for the same color and distance. Furthermore,
environment can affect the range of analog output. For example, if we apply 10AD for sampling, we
may get the output range from 0 to 1023 theoretically. However, what we get actually will be the Min
output value higher than 0 and the Max output value lower than 1023. Normalization process is
important and necessary for reducing the affecting factors from different sensors and different
environments. Normalization process is a kind of linear transformation by transforming the range of
Min~Max to the range of 0~1 with the following formulas.
(In which, x is the original output value from sensor, y is the transformed value, and Max and Min are
the maximum output value and the minimum output value, respectively.
After transformed, the output value will be in the range of 0~1000, in which 1000 means the sensor is
far away from the black line, and 0 means the sensor is above the black line.
The program will sample the values from the sensors for many times to get the proper value of Min
and Max. In order to get the precise Min and Max, the car should be always running in course of
sampling.
Proximity Sensor
A proximity sensor is a sensor able to detect the presence of nearby objects without any physical
contact.
Proximity sensors are also used in machine vibration monitoring to measure the variation in distance
between a shaft and its support bearing. This is common in large steam turbines, compressors, and
motors that use sleeve-type bearings.
International Electrotechnical Commission (IEC) 60947-5-2 defines the technical details of proximity
sensors.
A proximity sensor adjusted to a very short range is often used as a touch switch.
Proximity sensors can be used to recognise air gestures and hover-manipulations. An array of proximity
sensing elements can replace vision-camera or depth camera based solutions for the hand gesture
detection.