Tuesday, 25 March 2014

Ultrasonic Sensor

Ultrasonic sensors are devices that use electrical–mechanical energy transformation to measure distance from the sensor to the target object. Ultrasonic waves are longitudinal mechanical waves which travel as a sequence of compressions and rarefactions along the direction of wave propagation through the medium. Apart from distance measurement, they are also used in ultrasonic material testing (to detect cracks, air bubbles, and other flaws in the products), Object detection, position detection, ultrasonic mouse, etc.
Ultrasonic wave propagation



Above diagram showing full working between ultrasonic sensor and an object. Following application will make clear view about distance sensing using US sensor
Application:
PING)))™ is designed for easy distance measuring application of ultrasonic sensor.
Our PING)))™ ultrasonic sensor provides an easy method of distance measurement. This sensor is perfect for any number of applications that require you to perform measurements between moving or stationary objects.
PING)))™ Sensor
Features:
  • Provides precise, non-contact distance measurements within a 2 cm to 3 m range
  • Simple pulse in/pulse out communication
  • Burst indicator LED shows measurement in progress
  • 20 mA power cosumption
  • Narrow acceptance angle
Key Specifications:
  • Power requirements: +5 VDC
  • Communication:Positive TTL pulse
  • Dimensions: 22 x 46 x 16 mm
  • Operating temp range: 0 to +70 °C


Principle of operation

The Ping sensor measures distance using sonar; an ultrasonic (well above human hearing) pulse is transmitted from the unit and distance-to-target is determined by measuring the time required for the echo return. Output from the PING))) sensor is a variable-width pulse that corresponds to the distance to the target.
SensorPingOperation.png
SensorPingUS Cone.png
The PING))) sensor detects objects by emitting a short ultrasonic burst and then "listening" for the echo. Under control of a host microcontroller (trigger pulse), the sensor emits a short 40 kHz (ultrasonic) burst. This burst travels through the air, hits an object and then bounces back to the sensor. The PING))) sensor provides an output pulse to the host that will terminate when the echo is detected, hence the width of this pulse corresponds to the distance to the target.
SensorPingTiming.png

Connection

Interfacing to the microcontrollers is a snap: a single (shared) I/O pin is use to trigger the Ping sensor and "listen" for the echo return pulse. An on-board three-pin header allows the PING))) to be plugged into a  breadboard  and to be connected to its host through a standard three-pin servo extension cable.
SensorPingConnection.png
That's all about Ultrasonic sensor if you need any other assistance, post your query.