Distance Measurement of an Object or Obstacle by Ultrasound Sensors using P89C51RD2

Similar documents
Distance Measurement of an Object by using Ultrasonic Sensors with Arduino and GSM Module

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

Ultrasound-Based Indoor Robot Localization Using Ambient Temperature Compensation

An Autonomous Self- Propelled Robot Designed for Obstacle Avoidance and Fire Fighting

Hardware Implementation of an Explorer Bot Using XBEE & GSM Technology

Ultrasonics. Introduction

4-BIT RCA FOR LOW POWER APPLICATIONS

A Reflectometer for Cable Fault Location with Multiple Pulse Reflection Method

Sonic Distance Sensors

SPEED is one of the quantities to be measured in many

Measuring Distance Using Sound

Electronic Buzzer for Blind

Special Issue Review. 1. Introduction

Analysis of Propagation Paths of Partial Discharge Acoustic Emission Signals

Performance Analysis of Equalizer Techniques for Modulated Signals

Design and Implementation of Integrated Smart Township

Analysis of Wireless Power Transmission Using Resonant Inductive Coupling for small distance

International Journal of Innovations in Engineering and Technology (IJIET) Nadu, India

ISSN Vol.05,Issue.01, January-2017, Pages:

Development of FPGA based Speed Control of Induction Motor

Robot Navigation System with RFID and Ultrasonic Sensors A.Seshanka Venkatesh 1, K.Vamsi Krishna 2, N.K.R.Swamy 3, P.Simhachalam 4

Assistant Professor, 2, 3, 4, 5 Students, 1, 2, 3, 4, 5

Improving Passive Filter Compensation Performance With Active Techniques

A Quality of Service aware Spectrum Decision for Cognitive Radio Networks

Efficiency Optimization of Induction Motor Drives using PWM Technique

A STUDY ON NON-CONTACT ULTRASONIC TECHNIQUE FOR ON-LINE INSPECTION OF CFRP

SPACE-TIME coding [1], [2], which uses the advantage of

Experimental evaluation of ultrasonic oscillating temperature sensors (UOTS) under cyclically changing temperatures

SIMULTANEOUS OBSTACLE DETECTION FOR MOBILE ROBOTS AND ITS LOCALIZATION FOR AUTOMATIC BATTERY RECHARGING

International Journal Of Engineering And Computer Science ISSN: Volume 2 Issue 12 December, 2013 Page No Abstract

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 6, Issue 2, March 2017

The Decision Aid Leak Notification System for Pigging False Alarm

PROF (Dr).JITENDRA SAXENA OBJECTIVE: SKILLS SUMMARY

Miniaturized Dielectric Resonator Antenna with Broadside Radiations for Ultra-Wideband Applications

Estimation of Absolute Positioning of mobile robot using U-SAT

Improvement of Ultrasonic Distance Measuring System

ULTRASONIC GUIDED WAVES FOR AGING WIRE INSULATION ASSESSMENT

International Journal of Scientific & Engineering Research, Volume 4, Issue 5, May ISSN

Laboratory Manual for EL-492

Hysteresis Circuits and Their Realizations*

ASSESSMENT OF WALL-THINNING IN CARBON STEEL PIPE BY USING LASER-GENERATED GUIDED WAVE

Power factor improvement of SMPS using PFC Boost converter

Ultrasonic Proximity Sensor/Module for Water Proof Types of Ultrasonic Sensors (HG-P40WP)

MEMS Accelerometer sensor controlled robot with wireless video camera mounted on it

Robot Sensors Introduction to Robotics Lecture Handout September 20, H. Harry Asada Massachusetts Institute of Technology

Target simulation for monopulse processing

MICROPROCESSOR BASED PWM INVERTER SYSTEM AND ITS USE FOR CONTROL OF INDUCTION MOTOR

NONDESTRUCTIVE EVALUATION OF CLOSED CRACKS USING AN ULTRASONIC TRANSIT TIMING METHOD J. Takatsubo 1, H. Tsuda 1, B. Wang 1

3D ULTRASONIC STICK FOR BLIND

Wednesday, October 29, :00-04:00pm EB: 3546D. TELEOPERATION OF MOBILE MANIPULATORS By Yunyi Jia Advisor: Prof.

15 th Asia Pacific Conference for Non-Destructive Testing (APCNDT2017), Singapore.

[Ahmed, 3(1): January, 2014] ISSN: Impact Factor: 1.852

AUTOMATIC MISSILE DETECTOR USING ULTRASONIC PROXIMITY DETECTOR

Design of Tracked Robot with Remote Control for Surveillance

Automatic Transfer Switch (ATS) Using Programmable Logic Controller (PLC)

EE631 Cooperating Autonomous Mobile Robots. Lecture 1: Introduction. Prof. Yi Guo ECE Department

Analysis by Simulation of the Over-voltages in PWM-Inverter Fed Induction Motors

INTERFERENCE OF SOUND WAVES

Acoustic Velocity Independent Ultrasonic Flow-Meter

The Cricket Indoor Location System

FOURIER analysis is a well-known method for nonparametric

Penn State University ESM Ultrasonics R&D Laboratory Joseph L. Rose Research Activities

Lamb Wave Ultrasonic Stylus

COMPARISON OF SIMULATION AND EXPERIMENTAL RESULTS OF ZVS BIDIRECTIONAL DC-DC CONVERTER

A New Data Conjugate ICI Self Cancellation for OFDM System

Curriculum Vitae. Computer Vision, Image Processing, Biometrics. Computer Vision, Vision Rehabilitation, Vision Science

Smart Navigation System for Visually Impaired Person

A Novel Single-Stage Push Pull Electronic Ballast With High Input Power Factor

Voice Guided Military Robot for Defence Application

SIMULATION OF FOUR SWITCH PWM AC CHOPPER FED SINGLE PHASE INDUCTION MOTOR. M. Narendra Kumar and K.S.R. Anjaneyulu

Dr. Wenjie Dong. The University of Texas Rio Grande Valley Department of Electrical Engineering (956)

Development of Magnetostriction Based Ultrasonic Transducer. For In-situ High Temperature Inspection

Substitute eyes for Blind using Android

Design and Implemetation of Degarbling Algorithm

INTELLIGENT LANDING TECHNIQUE USING ULTRASONIC SENSOR FOR MAV APPLICATIONS

Design & Simulation of Half Adder Circuit Using AVL technique based on CMOS Technology

Hardware Implementation of Adaptive Algorithms for Noise Cancellation

PHYSIOLOGICAL SIGNALS AND VEHICLE PARAMETERS MONITORING SYSTEM FOR EMERGENCY PATIENT TRANSPORTATION

Wireless Energy Meter Using Handheld Reader

Smart eye using Ultrasonic sensor in Electrical vehicles for Differently Able.

Speed Control of Single Phase Induction Motor Using Infrared Receiver Module

CRACK DETECTION SYSTEM FOR RAILWAY TRACK BY USING ULTRASONIC AND PIR SENSOR

Broadband Temporal Coherence Results From the June 2003 Panama City Coherence Experiments

Simulation Study of MOSFET Based Drive Circuit Design of Sensorless BLDC Motor for Space Vehicle

Solar Powered Obstacle Avoiding Robot

Implementation of a Low Cost PWM Voltage Source Multilevel Inverter

ENERGY EFFICIENT SENSOR NODE DESIGN IN WIRELESS SENSOR NETWORKS

Speed control of sensorless BLDC motor with two side chopping PWM

THREE-PHASE converters are used to handle large powers

Keywords Wireless power transfer, Magnetic resonance, Electric vehicle, Parameter estimation, Secondary-side control

e-issn: p-issn:

Optimized Dispersion Compensation with Post Fiber Bragg Grating in WDM Optical Network

Autonomous Obstacle Avoiding and Path Following Rover

Continuous Rotation Control of Robotic Arm using Slip Rings for Mars Rover

Automated Mobility and Orientation System for Blind

We Know Where You Are : Indoor WiFi Localization Using Neural Networks Tong Mu, Tori Fujinami, Saleil Bhat

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: MECHANICAL ENGINEERING

Designing of a Shooting System Using Ultrasonic Radar Sensor

Scope. Here are the times schedule of the pulse-echo technique detect method. Reflect pulse. Emit detect pulse (Ultrasound)

A FRAMEWROK FOR WIRELESS COMPUTER MONITOR USING OPTICAL APPROACH Neeraj Kumar Mishra

Transcription:

International Journal of Computer Theory and Engineering, Vol. 2, No. 1 February, Measurement of an Object or Obstacle by Ultrasound Sensors using P89C1RD2 A. K. Shrivastava, A. Verma, and S. P. Singh Abstract measurement of an object in the path of a person, equipment, or a vehicle, stationary or moving is used in a large number of applications such as robotic movement control, vehicle control, blind man s walking stick, medical applications, etc. Measurement using ultrasonic sensors is one of the cheapest among various options. In this paper distance measurement of an obstacle by using separate ultrasonic transmitter, receiver and a microcontroller is presented. The experimental setup and results are described and explained. Index Terms Corrections in distance measurement, distance measurement, microcontroller, sewer blockage detection, sewer inspection system, robotics, and ultrasonic sensors. I. INTRODUCTION measurement of an object in front or by the side of a moving entity is required in a large number of devices. These devices may be small or large and also quite simple or complicated. Such distance measurement systems are available. These use various kinds of sensors and systems. Low cost and accuracy as well as speed is important in most of the applications. In this paper, we describe such a measurement system which uses ultrasonic transmitter and receiver units mounted at a small distance between them and a Phillips P89C1RD2 microcontroller based system. This microcontroller is equivalent to the most popular 81 microcontroller and hence very easily available at low cost. A correlation is applied to minimize the error in the measured distance. Ultrasound sensors are very versatile in distance measurement. They are also providing the cheapest solutions. Ultrasound waves are useful for both the air and underwater [1]. Ultrasonic sensors are also quite fast for most of the common applications. In simpler system a low cost version of 8- bit microcontroller can also be used in the system to lower the cost. This system has been developed and tested for use in a robotic sewer inspection system under development. Sewer Manuscript received July 31, 9. This work is supported by MP Council of Science and Technology (MPCST), Bhopal, Project Code No. R&D/PHYSICS.23/8-9-1. A. K. Shrivastava is with the Department of MCA, Krishna Institute of Engineering & Technology, Ghaziabad (U.P.), India; phone: +91987367877; (e-mail: ajay@ kiet.edu). A. Verma is with the Department of Physics and Electronics, Dr. Hari Singh Gour University, Sagar (M.P.), India; Phone:+9194246 (e-mail: vermaashish31@rediffmail.com). S. P. Singh is with the Electronics and Communication Engineering Department, Noida Institute of Engineering & Technology, Greater Noida (U.P.), India; phone:+919873339183; (e-mail: sahdeopsingh@yahoo.com). network is prevalent everywhere. Sewer lines may be made of circular pipes for smaller sizes or a covered masonry channel for larger sizes. Smooth working of sewer system is a present day necessity for keeping the cities clean. Generally maximum portion of sewer pipelines are underground and sewer blockages have become quite common. The blockages have become more frequent due to the dumping of polythene bags, hair and solid materials into the sewer system [2], [3]. The current methods of blockage detection are based on manual visual inspection and inspection through CCD camera based equipments. The main limitation of these systems are that sewage pipeline has to be drained out first so that visual inspection by a personnel or by a camera based equipment can work and pictures of blockage or damage can be obtained, observed and analyzed [4]. In the sewer inspection system under development and testing this system is mounted in the front portion on an automatic robotic vehicle which will move inside the fully or semi-filled sewer pipeline. The system will compute the distance of obstacle or blockage store it and also communicate the distance or location of the obstacle or blockage to the control station above ground. II. RELATED WORK H. He, et al. had designed distance measurement device using S3C24. The temperature compensation module had also been used to improve the precision []. Y. Jang, et al. had studied a portable walking distance measurement system having 9% accuracy [6]. C. C. Chang, et al. had studied the ultrasonic measurement system for underwater applications. It uses ultrasonic system, laser system as well as camera based system for 3-D position control of underwater vehicles [7]. A new method of timing is described by D. Webster in 1994. He used binary frequency shift-keyed signal (BSFK) which has noise immunity [8]. III. PRINCIPLE Ultrasonic transducer uses the physical characteristics and various other effects of ultrasound of a specific frequency. It may transmit or receive the ultrasonic signal of a particular strength. These are available in piezoelectric or electromagnetic versions. The piezoelectric type is generally preferred due to its lower cost and simplicity to use []. The Ultrasonic wave propagation velocity in the air is approximately 3 m/s at 1 C of air or atmospheric temperature, the same as sonic velocity. To be precise, the 64

International Journal of Computer Theory and Engineering, Vol. 2, No. 1 February, ultrasound velocity is governed by the medium and its temperature hence the velocity in the air is calculated using the formula below (1). V= 3+.6(t-1) m/s (1) t:temperature, C Fig. 1: System Development Kit Fig. 2: Transmitter Module Fig. 3: Receiver Module Fig. 4: Sensor Module In this study, a room temperature of C is assumed; hence the velocity of ultrasound in the air is taken as 343 m/s. Because the travel distance is very short, the travel time is little affected by temperature. It takes approximately 29.1μsec for the ultrasound to propagate waves through 1cm distance; therefore it is possible to have 1cm resolution in the system [6]. IV. EXPERIMENTAL SETUP The system consists of a transmitter and a receiver module controlled by a microcontroller P89C1RD2. A microcontroller development kit has been used for testing of the system (Fig, 1). KHz ultrasound sensors have been used for the experiments. Fig. 2 & Fig. 3 show the photographs of the transmitter module and the receiver module, Fig. 4 shows the photograph of ultrasonic transmitter and receiver sensors. The block diagram of the system is shown in Fig.. In the Fig., an interrupt INT1 signal initiates the system. When the interrupt INT1 signal is received, MCU (microcontroller unit) starts the timer1 and simultaneously generates the controlled KHz burst pulse having a train of specific number of pulses. These pulses are applied to the amplifier circuit and after amplification; the ultrasound transmitter transmits the KHz ultrasound pulses in the air in the direction of the object. These ultrasonic pulses are reflected from the object and travels back in different directions. When these waves arrive at receiver, the signals received by the receiver is amplified and processed by the receiver module. The receiver module also generates an interrupt signal; INT2 at the instant the first pulse of the burst is received. Interrupt INT2 stops the timer1, and MCU calculates the time period between the generation of the wave and reception of the wave, which is proportional to the distance travelled by the waves. Using the formula, MCU calculates the distance of the obstacle and displays it or transfers it to the part of the total system where it is to be used for further control. V. EXPERIMENTAL RESULTS A recording of the transmitted and received waveforms of the ultrasonic signal as displayed on a Digital Storage Oscilloscope, is shown in Fig. 6. The transmitted wave is shown on the upper part of the Fig. 6 and the received wave is shown in the lower part of the same figure. Measurements of travel time have been taken for a number of distances at intervals of cm. Three measurments have been made for each distance. The results of the measurement are shown in Table I. The table shows the average of the three travel time measurements. 6

International Journal of Computer Theory and Engineering, Vol. 2, No. 1 February, INT1 Ultrasound Transmitter Circuit MCU T INT2 Receiver Amplifier Display R Fig. : Block Diagram of the System The maesured distance is calculated on the basis of travel time. The formula to calculate the distance is shown below (2) Fig. 6: Waveforms of Transmitted & Received Waves Actual Vs Measured = (Travel Time*-6 * 3) / 2 (2) Measured The ultrasonic waves travevelled to and from the object hence the whole distence is divided by two. Table I: Experimental Results S.No. 1 2 3 4 6 7 8 9 Actual 1 2 3 4 Travel Time (µsec) 69 1 16 19 218 2 27 Measured 6.86 11.83 18.1 21.44 28. 33. 37.39 41.16 46.31 1.4 % Error 37. 18.34. 7.19 13.19.33 6.82 Actual 1 2 3 4 1 1 2 3 4 Actual Fig. 7: Graph between Actual and Measured VI. CORRECTIONS IN THE MEASUREMENT The observed errors in the measured distance are due to many factors. One important factor is the inclusion of generation and processing times of the burst pulse signals. These are as follows: 1. Time period between the starting of the timer1 and actual time of the transmission of the first pulse of the burst pulse train by the ultrasonic transmitter. This happens due to two delays, first the time taken by the microcontroller to start generating the burst pulses and second the time delay introduced by the amplifier. 2. The reflected signal received by the ultrasonic receiver sensor is passed on to the receiver amplifier, which amplifies it and generates the interrupt signal INT2. This is applied to the microcontroller. The above time periods are also included in the measured travel time. Hence these time periods have been calculated and their sum deducted from the measured travel time. This has been shown as corrected travel time in Table II, which shows the corrected experimental results. The experimental results for the distance measurement are shown in Table I. Fig. 7 shows the graph between actual distance and measured distance. We observe that there is considerable error in the measured distance as compared to the actual distance. The %error column also shows similar results. The error is specially large at lower distances of the obstacle. The same error is also observed in the graph of Fig. 7 between actual distance and measured distance. S. No. 4 3 2 1 Table II: Corrected Experimental Results Travel Correc. Time (µsec) Correc. Measured Time (µsec) 69 1 33 62 98 118 66.7.72 16.89.32 % Error 14.91 7.19 12.62 1.61

International Journal of Computer Theory and Engineering, Vol. 2, No. 1 February, 2 16 18 27.18 8.73 6 19 186 31.98 6.62 7 3 218 211 36.27 3.64 8 2 233..11 9 4 27 263 4.19.42 293.34.67 From the Table II, it is observed that corrected measured Corr. Measured 4 3 2 1 Actual Vs Correc. Measured 1 2 3 4 Actual Fig. 8: Graph between Actual and Corrected Measured distance comes very close to the actual distance. The corrected measured distances have also reduced the %error to small levels for long distances. The graph for the corrected measured distance versus actual distance is shown in Fig. 8. It shows that the plotting of the graph for corrected measured distance and actual distance is almost linear. I. CONCLUSION The results show that the results for measured distance is satisfying for use in the sewer inspection system being developed. It can also be used for other devices requiring distance measurement of an object or obstacle. As shown, the system is implementable in the robotic sewer blockage detection system. The distance of the blockage from a specified entry point in the sewer pipeline can be calculated by adding travelled distance by the robotic vehicle and the distance of the blockage from the robotic vehicle. The accuracy of distance of blockage will be sufficient for normal practical uses. The system can be easily implemented in other devices and systems requiring the measurement of distance of an object or an obstacle from stationary or moving observation point where the ultrasonic sensor will be located. REFERENCES [1] J. David and N. Cheeke, Fundamentals of ultrasonic waves, CRC Press, Florida, USA, 2, ISBN -8493-1-. [2] S. P. Singh, A. Verma, and A. K. Shrivastava, Design and development of robotic sewer inspection equipment controlled by embedded systems, Proceedings of the First IEEE International Conference on Emerging Trends in Engineering and Technology, Jul. 8, Nagpur, India, pp. 1317-13. [3] A. K. Shrivastava, A. Verma, and S. P. Singh, Partial automation of the current sewer cleaning system, Invertis Journal of Science and Technology, Vol. 1, No. 4, 8, pp. 261-26. [4] O. Duran, K. Althoefer, and L. Seneviratene, State of the art in sensor technologies for sewer inspection, IEEE Sensors Journal, Apr. 2, Vol. 2, No. 2, pp. 73-81. [] H. He, and J. Liu, The design of ultrasonic distance measurement system based on S3C24, Proceedings of the IEEE International Conference on Intelligent Computation Technology and Automation, Oct. 8, pp. 44-47. [6] Y. Jang, S. Shin, J. W. Lee, and S. Kim, A preliminary study for portable walking distance measurement system using ultrasonic sensors, Proceedings of the 29 th Annual IEEE International Conference of the EMBS, France, Aug. 7, pp. 29-293. [7] C. C. Chang, C. Y. Chang, and Y. T. Cheng, measurement technology development at remotely teleoperated robotic manipulator system for underwater constructions, IEEE International Symposium on Underwater Technology, Apr. 4, pp. 333-338. [8] D. Webster, A pulsed ultrasonic distance measurement system based upon phase digitizing, IEEE Transaction on Instrumentation and Measurement, Vol. 43, No. 4, Aug. 1994, pp. 78-82. A. K. Shrivastava was born at Guna (M.P.), India on 7 th August, 1977. He had done his graduation in Electronics from Dr. H.S.Gour University, Sagar (M.P.), India in 1998. After that he had completed his MCA from the same university in 2. He has more than seven years of teaching experience. He had worked as Lecturer in Technocrats Institute of Technology, Bhopal (M.P.), India for three years. Presently he is working as Associate Professor in Krishna Institute of Engineering and Technology, Ghaziabad (U.P.), India from Aug.. His research interests include Embedded Systems and Data Mining. Mr. Shrivastava is the life member of Computer Society of India (CSI). He is also life member of Association of Computer, Electronics and Electrical Engineers (ACEEE) and International Association of Computer Science and Information Technology (IACSIT) and International Association of Engineers (IAENG). He is also reviewer of various ACEEE organized conferences. He has published a paper in National Journal and published/presented four papers in conferences. Dr. A. Verma was born on 23rd March 1963. He received the M.Sc. degree in Physics with specialization in Electronics and solid-state physics in1984 and Ph.D. degree in Physics in 1991 from Dr. Hari Singh Gour Central University, Sagar, (M.P.), India. He has having 24 years of teaching (UG/PG) and research experience and is currently working as a Senior Lecturer in the department of Physics and Electronics, Dr. Hari Singh Gour Central University, Sagar. He guided 4 Ph.D. students (One as Co-Supervisor). Presently, he is guiding 8 Ph.D. students for their innovative research. He is supervising 3 Ph.D. students in Physics and Electronics of M.P. BHOJ (Open) University, Bhopal, (M.P.), India. He had published a book entitled Microprocessor, Vishwavidyalaya Prakashan, Sagar (M.P.), India and 67

International Journal of Computer Theory and Engineering, Vol. 2, No. 1 February, written two chapters in Bhotiki, Madhya Pradesh Hindi Granth Academy, Bhopal (M.P.), India. Dr. Verma published / presented about research papers in the National /International Journals / Conferences of high repute. He is the Executive Council (Government Nominee) in Government Girls Autonomous College, Sagar, (M.P.). Prof. S. P. Singh was born at village Manirampur in Nalanda district, Bihar, India on th June 1939. He completed his B.Sc.(Engg.) degree in Electrical Engineering from National Institute of Technology, Jamshedpur, India in the year 1964. He did M.Tech. in Electrical Engineering (Electronic Devices and Circuits) from Indian Institute of Technology, Kanpur, India in 197. He obtained his Ph.D. degree from Ranchi University, Ranchi, India in the year 1993. His topic was microprocessor based speed control of induction motors. He joined N.I.T., Jamshedpur, India as Lecturer in Electrical Engineering in 1964 continued there as lecturer, AP and Professor till 1999. He started teaching electronic subjects and shifted to electronics engineering. After retirement from NIT in 1999, he continued to work as professor in institutes around Delhi. Currently, he is working as professor in Electronics & Communication Engineering at Noida Institute of Engineering and Technology, Greater Noida, U.P., India. Prof. Singh was a member of IEEE from 1974 to 1991. At present Dr. Singh is a fellow of I.E.T.E., India. 68