Ultrasonic Sensor

Introduction

Theory of operation

Basic timing

Beam Pattern

Specifications

Introduction

We use Two Devantech SRF04 Ultrasonic Range Finder sensors. It offers precise ranging information from roughly 3 cm to 3 meters. We put the 2 sensors back to back to speed up scanning process.

Theory of operation

The ranger works by transmitting a pulse of sound outside the range of human hearing. This pulse travels at speed of sound (roughly 340 m/s) away from the ranger in a cone shape and the sound reflects back to the ranger from any object in the path of this sonic wave. The ranger pauses for a brief interval after the sound in the form of an echo .the controller driving the ranger then requests a ping, the ranger creates the sound pulse, and waits for the return echo.

If received, the ranger reports this echo to the controller and the controller can then compute the distance to the object based on the elapsed time.

 

Basic timing

There is couple of requirements for the input trigger and output pulse generated by the ranger. The input line should be held low (logic 0) and then brought high for a minimum of 10usec to initiate the sonic pulse. The pulse is generated on falling edge of this input trigger. The ranger’s receive circuitry is held in a short   blanking interval of 100usec to avoid noise from the initial ping and then it is enabled to listen for the echo. The echo line is low until reception is enabled. Once the receive circuitry is enabled, the falling edge of the echo line signals either an echo detection or the time out (if no object echo is detected).

Microcontroller will want to begin timing on the falling edge of the trigger  

Input and end timing on the falling edge of the echo received from the object.

If no object is detected, the pulse will timeout and return an echo at approximately 36 msec.


Beam Pattern

 The SRF04 has a detection cone that is roughly 30 degree wide.

Testing in a 90-degree arc revealed the following beam pattern:

 

Specifications:

Beam Pattern 30 degrees
Voltage 5v
Current 30mA Typical 50mA Max
Frequency 40KHz
Maximum Range 3 m
Minimum Range 3 cm
Sensitivity Detect a 3cm diameter stick at > 2 m
Input Trigger 10uS Min. TTL level pulse
Echo Pulse

Positive TTL level signal, width proportional to range.

    

Copyright © 2002  [ smart-car.tripod.com ]. All rights reserved.
Best viewed in 1024*768 resolution.
FOR ANY TECHNICAL PROBLEMS IN THE SITE CLICK HERE