SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
IOSR Journal of Electronics and Communication Engineering (IOSR-JECE)
e-ISSN: 2278-2834,p- ISSN: 2278-8735. Volume 7, Issue 6 (Sep. - Oct. 2013), PP 27-30
www.iosrjournals.org
www.iosrjournals.org 27 | Page
Security System Based on Ultrasonic Sensor Technology
Shinu N Yoannan1
, Vince T Vaipicherry2
, Don K Thankachan3
Prof. Ram Prasad Tripathy4
1,2,3
(M.Tech. Scholar, Applied Electronics and Instrumentation, LMCST, University of Kerala, India )
4
(Prof., Department of Electronics and Communication Engineering, LMCST, University of Kerala, India )
Abstract : In this paper we design and implement a security system with an ultrasonic sensor module to
enhance the system’s reliability. The ultrasonic sensor contains a transmitter and a receiver and the module is
placed in a rotating motor. It is assumed that an ultrasonic sensor is set in a rotating motor to cover a wide
range. The Ultrasonic transmitter periodically emits ultrasonic signals into an open area. A rotating motor is
used to allow the sensor to cover whole 360 degrees. If the signal ever hits any physical objects, it will be
reflected back and the receiver part of the sensor will then capture it. The microcontroller unit (MCU) will
constantly check for the receiver output of the ultrasonic transmitter. If the receiver output is high, the MCU
will perform distance analysis of the object from the sensor using the fact that ultrasonic waves travel in air at
340m/s. The time taken for the waves to hit the object and return can be calculated as the time taken for the
receiver output to be high after the transmitter has been initiated to send ultrasonic waves. Once the distance is
calculated, MCU checks whether the object is within the range threshold specified within the MCU for
initiating the alert. If the object is within the range threshold, the MCU initiates a sound alarm and also the
global system for mobile communications (GSM) modem to send short message service (SMS) or call to the
concerned person.
Keywords: GSM Module,Microcontroller unit(MCU),Motor controller driver unit,Ultrasonic sensor(obstacles
detection).
I. INTRODUCTION
We were inspired to build a Security system based on ultrasonic sensor technology. Security is an
important part of home, banks, shops and so on. The traditional security systems based on opening of doors and
windows. Our ultrasonic sensor technology is used, it detects the intruders on their physical presence. An
ultrasonic sensor can measure the distance to an obstacle within its conic beam. The AVR family
microcontroller was used to interface with the ultrasonic sensor. Here we used Atmega16A microcontroller. The
key features of Atmega16A microcontroller that we used for this paper are the three timers and the serial rs232
USART. The timers are responsible of scheduling periodical execution of various tasks, generate alarm tone,
and generate PWM signal with appropriate duty cycle and frequency to control the motor. Also, use the motor
drivers and it acts as current amplifiers since they take a low current control signal and provide a higher current
signal. The range of the ultrasonic sensor can be changed by using an external adjustment device. Fig.1 shows
the logical structure of Security system based on ultrasonic sensor technology.
Fig.1 shows the logical structure
II. PRINCIPLES
Figure 1 shows a logical structure of the system. The security system consists of one ultrasonic sensor,
a microcontroller, a motor driver controller, GSM module and a DC motor. The system uses ultrasonic sensors
that has a transmitter part and receiver part. The ultrasonic transmitter periodically emits ultrasonic signals into
12V
Supply
MCU
Sensor
Motor Driver
Motor
GSM Modem
Keypad
Security System Based on Ultrasonic Sensor Technology
www.iosrjournals.org 28 | Page
an open area in front of it. To cover a wide range, a rotating motor is used to allow the sensor (transmitter and
receiver pair) to cover roughly 180 or 360 degrees according to our need. If the signal ever hits a physical
object, it will be reflected back and, the receiver part of the sensor will then capture it with the object considered
detected as its position (distance from the device and angle relative to the device) is now known.
III. DESCRIPTION
A. Ultrasonic Sensor
The principle of working of an ultrasonic sensor is easy. The sensor transmits ultrasonic sound waves
and waits for reflected sound waves. After receiving reflected sound wave or usually named echo, sensor detects
the distance in different ways. Fig.2 shows the detection of an ultrasonic sound waves in an object. Ultrasonic
ranging module HC-SRO4 provides 2cm – 500cm non-contact measurement function, the ranging accuracy can
reach to 3mm. The modules includes ultrasonic transmitters, receivers and control unit. The ranges can be
increased by using other type of ultrasonic sensors. The basic principle of work:
 Using IO trigger for at least 10us high level signal.
 The Module automatically sends eight 40kHz and detect whether there is a pulse signal back.
 If the signal back, through high level, time of high output IO duration is the time from sending ultrasonic to
returning.
 Test Distance = (high level * velocity of sound)/2.
It has stable performance and high ranging accuracy and make it a popular module in electronic
market. Compared to the shape IR ranging module, it is more inexpensive . But it has the same ranging accuracy
and longer ranging distance. There are 4 pins out of the module: VCC, Trig, Echo, GND. So its a very easy
interface for controller to use ranging. The all process is : pull the Trig pin to high level for more than 10us
impulse, the module start ranging; finish ranging, if you find an object in front, Echo pin will be high level, and
based on the different distance, it will take the difference of high level. So we can calculate the distance easily.
Fig.2 shows the detection of an ultrasonic sound waves in an object.
Figure 3 shows the timing diagram after triggering sensor with a TTL logic 1(we use 5V) at least 10us, sonic
burst module embedded in sensor makes eight cycle sonic burst at 40kHz. After the last sonic burst go low our
echo signal became high and stay high until any reflected sound received by the sensor.
Security System Based on Ultrasonic Sensor Technology
www.iosrjournals.org 29 | Page
Fig.3 shoes the Timing Diagram after triggering sensor with a TTL logic at least 10us.
B. Microcontroller Unit
Microcontroller can be termed as a single on chip computer which includes number of peripherals like
RAM, EEPROM, Timers etc., required to perform some predefined task. There are number of popular families
of microcontrollers which are used in different applications as per their capability and feasibility to perform the
desired task, most common of these are 8051, AVR and PIC microcontrollers. To increase the system
performance we use AVR family microcontroller. Here, use Atmega16A microcontroller. It consists three
timers and the serial rs232 USART. The serial USART is used to communicate with the ultrasonic sensor and
the modem. The Atmega16A is a low cost and feature rich AVR microcontroller from ATMEL. The main
advantage is, it contains JTAG interface. Thus it is extensive On-chip Debug support. Programming of Flash,
EEPROM, Fuses, and Lock Bits through the JTAG interface.The program(Embedded C) can be stored in the
chip and according to that the system can perform.
C. GSM Module Unit
The GSM Module Unit is able to send and read SMS or call, connect to internet via general packet radio
service (GPRS) through simple AT commands. The modem needed only three wires (Tx, Rx, GND) except
power supply to interface with microcontroller unit. Here we use SIM900A.
D. Motor Controller Unit
The motor controller driver unit is dual H-bridge motor driver integrated circuit(IC). It acts as current
amplifier since they take a low-current control signal and provide a higher-current signal. This higher current
signals is used to drive the motors. Here use L293D motor driver IC. It is used to change the direction and to
adjust the speed of the motor. Thus the motor will rotate in clockwise and anticlockwise directions. When an
enable input is high, the associated driver gets enabled. As a result, the outputs become active and work in phase
with their inputs. Similarly, when the enable input is low, that driver is disabled, and their outputs are off and in
the high-impedance state.
IV. Implementation Results
A. Distance measurement accuracy
Our sensor calibration and utilization gave us a distance measurement with roughly 1.5 cm accuracy.
Provided that we are using the sensor to detect presence of an object more so than the exact distance, this
accuracy is tolerable.
TABLE I
TEST RANGE AND DETECTION MEASURED TABLE
Test Range Measured Detection Distance Echo Output High Time
1 7.5cm 500us
2 15cm 1000us
3 30cm 2000us
4 60cm 4000us
5 100cm 6600us
B. Speed of detection
It takes a maximum of three seconds for the system to detect a newly presented object, and to turn on
the alarm. This is because the motor is set to cover 180 or 360 degree range, and thus it takes roughly 3 seconds
for it to start from one angle and back. However, a user can easily configure the motor to a narrower angle to
focus at specific area(such as doorway), in which case the sensor will detect newly present object in less than a
second.
C. Detection accuracy
Through this paper, we believe our system is capable of detecting intruders 95% of the time, provided
that sensors was placed at appropriate position. The few times that intruder get away are when they are capable
of crossing past the sensor quicker than 200 millisecond, which is our measurement interval hard-coded into our
code.
D. Message notification
Upon object detection, we successfully receive SMS or call that contain the exact time when the
security was triggered. This is a standard delivery, and therefore it could take a minute or two for it to reach the
concerned cell. When the object continues to be in the way, the system does continue to send message or call
Security System Based on Ultrasonic Sensor Technology
www.iosrjournals.org 30 | Page
according to the program set. So far, we have not seen any false positive alerts. Table II shows the primary
results of our experiments.
TABLE II
IMPLEMENTATION RESULTS OF DIFFERENT SENSING DISTANCES
Distance Overall sensing probability
1m 100%
2m 99%
3m 94%
4m 87%
5m 79%
V. CONCLUSION
We have presented a portable security system through this paper. We believe our design possesses
competitive features to many of the security system out there, except at much more portable level. However, the
accuracy can be increased by using multiple of ultrasonic sensors.
References
[1]. Sungbok Kim and Hyunbin Kim, “Simple and Complex Obstacle Detection Using an Overlapped Ultrasonic Sensor Ring,”2012
12th
International Conference on Control, Automation and Systems.
[2]. Jun Hou, Chengdong Wu, Zhongjia Yuan, Jiyuan Tan, Qiaoqiao Wang and Yun Zhou, “Research of Intelligent Home Security
Surveillance System Based on ZigBee,” International Symposium on Intelligent Information Technology Application
Workshops,pp.554-557,21-22 Dec.2008
[3]. J. Borenstein, H. R. Everett, and L. Feng, “Where Am I?”: Sensors and Methods for Mobile Robot Positioning, The University of
Michigan, 1996.
[4] J. L. Crowley, “World Modelling and Position Estimation for a Mobile Robot Using Ultrasonic Ranging,”Proc. IEEE Int. Conf.
Robotics and Automation, pp. 674-680,1989.
[5]. H . Choset, K. Nagatani, and N. A. Lazar, "The Arc Traversal Median Algorithm: a Geometric Approach to Increase Ultrasonic
Sensor Azimuth Accuracy," IEEE Trans. Robotics and Automation, vol. 19, no. 3, pp. 513-522, 2003.
[6] Ying-Wen Bai, Li-Sih Shen and Zong-Han Li “Design and Implementation of an Embedded Home Surveillance System by Use of
Multiple Ultrasonic Sensor”.
[7]. Referenced Websites of en.wikiprdia.org/wiki/Ultrasonic Sensor, www.senix.com/Ultrasonic-Sensors.
BIOGRAPHY
.
Shinu N Yohannan received the B.Tech degree in Electronics and Communication
Engineering from Musaliar College of Engineering and Technology, Pathanamthitta, Kerala
India, in 2012. He is currently pursuing M.Tech. degree in Applied Electronics and
Instrumentation in Lourdes Matha College of Science and Technology,
Thiruvananthapuram, Kerala, India.
Vince T Vaippicherry received the B.Tech degree in Electronics and Communication
Engineering from College of Engineering, Kidagoor, Kerala India, in 2012. He is currently
pursuing M.Tech. degree in Applied Electronics and Instrumentation in Lourdes Matha
College of Science and Technology, Thiruvananthapuram, Kerala, India.
Don K Thankachan received the B.Tech degree in Electronics and Instrumentation
Engineering from College of Engineering, Kidagoor, Kerala India, in 2010. From 2010 to
2012, he was with the Cognizant Technology Solutions, Chennai, India. He is currently
pursuing M.Tech. degree in Applied Electronics and Instrumentation in Lourdes Matha
College of Science and Technology, Thiruvananthapuram, Kerala, India.

More Related Content

PPTX
Ultrasonic security system by arduino
PDF
Arduino Workshop Day 1 - Basic Arduino
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
PPTX
AN IOT BASED AIR POLLUTION MONITORING SYSTEM pptx (1).pptx
DOCX
Arduino lcd display
PPTX
Ultrasonic sensor
PPTX
Arduino course
PPTX
Half & Full Adder
Ultrasonic security system by arduino
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 2 - Advance Arduino & DIY
AN IOT BASED AIR POLLUTION MONITORING SYSTEM pptx (1).pptx
Arduino lcd display
Ultrasonic sensor
Arduino course
Half & Full Adder

What's hot (20)

PPT
Switch level modeling
PDF
Analog To Digital Conversion (ADC) Programming in LPC2148
PDF
ARM Architecture Instruction Set
PPT
Embedded c program and programming structure for beginners
PPTX
UNIT 3 - General Purpose Processors
PPTX
Ripple Carry Adder
PPTX
robotics and embedded system ppt
DOC
DPSK(Differential Phase Shift Keying) transmitter and receiver
DOCX
4 bit uni shift reg
PPTX
Security system using Arduino
PPTX
FPGA TECHNOLOGY AND FAMILIES
PPTX
Arduino Workshop
PPTX
Arduino slides
PPTX
LPG gas leekage dectection
PPTX
CMOS LOGIC STRUCTURES
PPT
PPTX
Design and implementation of qpsk modulator using digital subcarrier
PDF
Unit ii arm7 thumb
PPT
Multiplexers & Demultiplexers
PPT
Digital Communication: Information Theory
Switch level modeling
Analog To Digital Conversion (ADC) Programming in LPC2148
ARM Architecture Instruction Set
Embedded c program and programming structure for beginners
UNIT 3 - General Purpose Processors
Ripple Carry Adder
robotics and embedded system ppt
DPSK(Differential Phase Shift Keying) transmitter and receiver
4 bit uni shift reg
Security system using Arduino
FPGA TECHNOLOGY AND FAMILIES
Arduino Workshop
Arduino slides
LPG gas leekage dectection
CMOS LOGIC STRUCTURES
Design and implementation of qpsk modulator using digital subcarrier
Unit ii arm7 thumb
Multiplexers & Demultiplexers
Digital Communication: Information Theory
Ad

Viewers also liked (20)

PDF
Modeling Liquid Terminal Operation and Service System in a Port Using Linier ...
PDF
The Impact of International Businesses in a Global Economy: An Interdisciplin...
PDF
Content Based Image Retrieval for Unlabelled Images
PDF
C0611219
PDF
Attendance of Tunisian Supermarkets and Hypermarkets
PDF
The Management of the Village Fund Allocation as an Instrument towards Econom...
PDF
Islamic Banking: Inclusion in the Indian Banking Sector
PDF
Evaluation of Structural Implication of Incorporating Base Isolator as Earthq...
PDF
Fabrication and Mechanical Charecterization of Cnt Nanocomposites
PDF
Synthesis and Characterization of Cellulose Nanofibers From Coconut Coir Fibers
PDF
Synthesis, Spectroscopic study & Biological Activity Of Some Organotin(Iv) De...
PDF
An Enhanced Biometric System for Personal Authentication
PDF
COMm.PAT- Printed Antenna on a Non-Conventional Substrate for Communication
PDF
Performance of the Boiler and To Improving the Boiler Efficiency Using Cfd Mo...
PDF
Comparing BMI and hand grip strength of Tsinghua University Beijing and Unive...
PDF
Enhancement of New Channel Equalizer Using Adaptive Neuro Fuzzy Inference System
PDF
Synthesis and Study of Structural, Optical Properties of CoxZn1-xS Semiconduc...
PDF
Pest Control in Agricultural Plantations Using Image Processing
PDF
Effect of Pilot Fuel Quantity on the Performance and Emission Characteristics...
PDF
A Comparative Reliability Analysis of Bulldozers arriving at workshop in East...
Modeling Liquid Terminal Operation and Service System in a Port Using Linier ...
The Impact of International Businesses in a Global Economy: An Interdisciplin...
Content Based Image Retrieval for Unlabelled Images
C0611219
Attendance of Tunisian Supermarkets and Hypermarkets
The Management of the Village Fund Allocation as an Instrument towards Econom...
Islamic Banking: Inclusion in the Indian Banking Sector
Evaluation of Structural Implication of Incorporating Base Isolator as Earthq...
Fabrication and Mechanical Charecterization of Cnt Nanocomposites
Synthesis and Characterization of Cellulose Nanofibers From Coconut Coir Fibers
Synthesis, Spectroscopic study & Biological Activity Of Some Organotin(Iv) De...
An Enhanced Biometric System for Personal Authentication
COMm.PAT- Printed Antenna on a Non-Conventional Substrate for Communication
Performance of the Boiler and To Improving the Boiler Efficiency Using Cfd Mo...
Comparing BMI and hand grip strength of Tsinghua University Beijing and Unive...
Enhancement of New Channel Equalizer Using Adaptive Neuro Fuzzy Inference System
Synthesis and Study of Structural, Optical Properties of CoxZn1-xS Semiconduc...
Pest Control in Agricultural Plantations Using Image Processing
Effect of Pilot Fuel Quantity on the Performance and Emission Characteristics...
A Comparative Reliability Analysis of Bulldozers arriving at workshop in East...
Ad

Similar to Security System Based on Ultrasonic Sensor Technology (20)

PDF
Advanced Anti-Theft & Home Safety System using GSM
PDF
IRJET- Automated Targeting System for Open Space Military Area
PDF
Short Range Radar System using Arduino Uno
PDF
Distance Measurement Using Ultrasonic Sensor and Nodemcu
PDF
IRJET- Intruder Detection Security System
DOC
ULTRASONIC SENSOR DISTANCE CALCULATE
PPTX
MISSILE DETECTION AND AUTOMATIC DESTROY SYSTEM.pptx
PPTX
Ultrasonic_Based_Security_System
PPTX
Remote-Monitoring and Energy-Saving Room Architecture with Security System ba...
DOCX
Auto dial-er Home security
PDF
MISSILE DETECT AND DESTROY SYSTEM
PPTX
Smart accident detector and intimator [autosaved]
PPTX
RADAR SYSTEM
PPTX
Self Obstacle Avoiding Rover
PDF
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
PDF
A zigbee and embedded based security
PDF
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
PDF
Annunciator for Blind Person Using Ultrasonic Sensor
PDF
2014_04_msw_a4_format (2)
PPTX
Radar using ultrasonic sensor and arduino.pptx
Advanced Anti-Theft & Home Safety System using GSM
IRJET- Automated Targeting System for Open Space Military Area
Short Range Radar System using Arduino Uno
Distance Measurement Using Ultrasonic Sensor and Nodemcu
IRJET- Intruder Detection Security System
ULTRASONIC SENSOR DISTANCE CALCULATE
MISSILE DETECTION AND AUTOMATIC DESTROY SYSTEM.pptx
Ultrasonic_Based_Security_System
Remote-Monitoring and Energy-Saving Room Architecture with Security System ba...
Auto dial-er Home security
MISSILE DETECT AND DESTROY SYSTEM
Smart accident detector and intimator [autosaved]
RADAR SYSTEM
Self Obstacle Avoiding Rover
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
A zigbee and embedded based security
A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM
Annunciator for Blind Person Using Ultrasonic Sensor
2014_04_msw_a4_format (2)
Radar using ultrasonic sensor and arduino.pptx

More from IOSR Journals (20)

PDF
A011140104
PDF
M0111397100
PDF
L011138596
PDF
K011138084
PDF
J011137479
PDF
I011136673
PDF
G011134454
PDF
H011135565
PDF
F011134043
PDF
E011133639
PDF
D011132635
PDF
C011131925
PDF
B011130918
PDF
A011130108
PDF
I011125160
PDF
H011124050
PDF
G011123539
PDF
F011123134
PDF
E011122530
PDF
D011121524
A011140104
M0111397100
L011138596
K011138084
J011137479
I011136673
G011134454
H011135565
F011134043
E011133639
D011132635
C011131925
B011130918
A011130108
I011125160
H011124050
G011123539
F011123134
E011122530
D011121524

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
Construction Project Organization Group 2.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT on Performance Review to get promotions
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
bas. eng. economics group 4 presentation 1.pptx
Sustainable Sites - Green Building Construction
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mechanical Engineering MATERIALS Selection
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Geodesy 1.pptx...............................................
Construction Project Organization Group 2.pptx
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
Foundation to blockchain - A guide to Blockchain Tech
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Internet of Things (IOT) - A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT

Security System Based on Ultrasonic Sensor Technology

  • 1. IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-ISSN: 2278-2834,p- ISSN: 2278-8735. Volume 7, Issue 6 (Sep. - Oct. 2013), PP 27-30 www.iosrjournals.org www.iosrjournals.org 27 | Page Security System Based on Ultrasonic Sensor Technology Shinu N Yoannan1 , Vince T Vaipicherry2 , Don K Thankachan3 Prof. Ram Prasad Tripathy4 1,2,3 (M.Tech. Scholar, Applied Electronics and Instrumentation, LMCST, University of Kerala, India ) 4 (Prof., Department of Electronics and Communication Engineering, LMCST, University of Kerala, India ) Abstract : In this paper we design and implement a security system with an ultrasonic sensor module to enhance the system’s reliability. The ultrasonic sensor contains a transmitter and a receiver and the module is placed in a rotating motor. It is assumed that an ultrasonic sensor is set in a rotating motor to cover a wide range. The Ultrasonic transmitter periodically emits ultrasonic signals into an open area. A rotating motor is used to allow the sensor to cover whole 360 degrees. If the signal ever hits any physical objects, it will be reflected back and the receiver part of the sensor will then capture it. The microcontroller unit (MCU) will constantly check for the receiver output of the ultrasonic transmitter. If the receiver output is high, the MCU will perform distance analysis of the object from the sensor using the fact that ultrasonic waves travel in air at 340m/s. The time taken for the waves to hit the object and return can be calculated as the time taken for the receiver output to be high after the transmitter has been initiated to send ultrasonic waves. Once the distance is calculated, MCU checks whether the object is within the range threshold specified within the MCU for initiating the alert. If the object is within the range threshold, the MCU initiates a sound alarm and also the global system for mobile communications (GSM) modem to send short message service (SMS) or call to the concerned person. Keywords: GSM Module,Microcontroller unit(MCU),Motor controller driver unit,Ultrasonic sensor(obstacles detection). I. INTRODUCTION We were inspired to build a Security system based on ultrasonic sensor technology. Security is an important part of home, banks, shops and so on. The traditional security systems based on opening of doors and windows. Our ultrasonic sensor technology is used, it detects the intruders on their physical presence. An ultrasonic sensor can measure the distance to an obstacle within its conic beam. The AVR family microcontroller was used to interface with the ultrasonic sensor. Here we used Atmega16A microcontroller. The key features of Atmega16A microcontroller that we used for this paper are the three timers and the serial rs232 USART. The timers are responsible of scheduling periodical execution of various tasks, generate alarm tone, and generate PWM signal with appropriate duty cycle and frequency to control the motor. Also, use the motor drivers and it acts as current amplifiers since they take a low current control signal and provide a higher current signal. The range of the ultrasonic sensor can be changed by using an external adjustment device. Fig.1 shows the logical structure of Security system based on ultrasonic sensor technology. Fig.1 shows the logical structure II. PRINCIPLES Figure 1 shows a logical structure of the system. The security system consists of one ultrasonic sensor, a microcontroller, a motor driver controller, GSM module and a DC motor. The system uses ultrasonic sensors that has a transmitter part and receiver part. The ultrasonic transmitter periodically emits ultrasonic signals into 12V Supply MCU Sensor Motor Driver Motor GSM Modem Keypad
  • 2. Security System Based on Ultrasonic Sensor Technology www.iosrjournals.org 28 | Page an open area in front of it. To cover a wide range, a rotating motor is used to allow the sensor (transmitter and receiver pair) to cover roughly 180 or 360 degrees according to our need. If the signal ever hits a physical object, it will be reflected back and, the receiver part of the sensor will then capture it with the object considered detected as its position (distance from the device and angle relative to the device) is now known. III. DESCRIPTION A. Ultrasonic Sensor The principle of working of an ultrasonic sensor is easy. The sensor transmits ultrasonic sound waves and waits for reflected sound waves. After receiving reflected sound wave or usually named echo, sensor detects the distance in different ways. Fig.2 shows the detection of an ultrasonic sound waves in an object. Ultrasonic ranging module HC-SRO4 provides 2cm – 500cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receivers and control unit. The ranges can be increased by using other type of ultrasonic sensors. The basic principle of work:  Using IO trigger for at least 10us high level signal.  The Module automatically sends eight 40kHz and detect whether there is a pulse signal back.  If the signal back, through high level, time of high output IO duration is the time from sending ultrasonic to returning.  Test Distance = (high level * velocity of sound)/2. It has stable performance and high ranging accuracy and make it a popular module in electronic market. Compared to the shape IR ranging module, it is more inexpensive . But it has the same ranging accuracy and longer ranging distance. There are 4 pins out of the module: VCC, Trig, Echo, GND. So its a very easy interface for controller to use ranging. The all process is : pull the Trig pin to high level for more than 10us impulse, the module start ranging; finish ranging, if you find an object in front, Echo pin will be high level, and based on the different distance, it will take the difference of high level. So we can calculate the distance easily. Fig.2 shows the detection of an ultrasonic sound waves in an object. Figure 3 shows the timing diagram after triggering sensor with a TTL logic 1(we use 5V) at least 10us, sonic burst module embedded in sensor makes eight cycle sonic burst at 40kHz. After the last sonic burst go low our echo signal became high and stay high until any reflected sound received by the sensor.
  • 3. Security System Based on Ultrasonic Sensor Technology www.iosrjournals.org 29 | Page Fig.3 shoes the Timing Diagram after triggering sensor with a TTL logic at least 10us. B. Microcontroller Unit Microcontroller can be termed as a single on chip computer which includes number of peripherals like RAM, EEPROM, Timers etc., required to perform some predefined task. There are number of popular families of microcontrollers which are used in different applications as per their capability and feasibility to perform the desired task, most common of these are 8051, AVR and PIC microcontrollers. To increase the system performance we use AVR family microcontroller. Here, use Atmega16A microcontroller. It consists three timers and the serial rs232 USART. The serial USART is used to communicate with the ultrasonic sensor and the modem. The Atmega16A is a low cost and feature rich AVR microcontroller from ATMEL. The main advantage is, it contains JTAG interface. Thus it is extensive On-chip Debug support. Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG interface.The program(Embedded C) can be stored in the chip and according to that the system can perform. C. GSM Module Unit The GSM Module Unit is able to send and read SMS or call, connect to internet via general packet radio service (GPRS) through simple AT commands. The modem needed only three wires (Tx, Rx, GND) except power supply to interface with microcontroller unit. Here we use SIM900A. D. Motor Controller Unit The motor controller driver unit is dual H-bridge motor driver integrated circuit(IC). It acts as current amplifier since they take a low-current control signal and provide a higher-current signal. This higher current signals is used to drive the motors. Here use L293D motor driver IC. It is used to change the direction and to adjust the speed of the motor. Thus the motor will rotate in clockwise and anticlockwise directions. When an enable input is high, the associated driver gets enabled. As a result, the outputs become active and work in phase with their inputs. Similarly, when the enable input is low, that driver is disabled, and their outputs are off and in the high-impedance state. IV. Implementation Results A. Distance measurement accuracy Our sensor calibration and utilization gave us a distance measurement with roughly 1.5 cm accuracy. Provided that we are using the sensor to detect presence of an object more so than the exact distance, this accuracy is tolerable. TABLE I TEST RANGE AND DETECTION MEASURED TABLE Test Range Measured Detection Distance Echo Output High Time 1 7.5cm 500us 2 15cm 1000us 3 30cm 2000us 4 60cm 4000us 5 100cm 6600us B. Speed of detection It takes a maximum of three seconds for the system to detect a newly presented object, and to turn on the alarm. This is because the motor is set to cover 180 or 360 degree range, and thus it takes roughly 3 seconds for it to start from one angle and back. However, a user can easily configure the motor to a narrower angle to focus at specific area(such as doorway), in which case the sensor will detect newly present object in less than a second. C. Detection accuracy Through this paper, we believe our system is capable of detecting intruders 95% of the time, provided that sensors was placed at appropriate position. The few times that intruder get away are when they are capable of crossing past the sensor quicker than 200 millisecond, which is our measurement interval hard-coded into our code. D. Message notification Upon object detection, we successfully receive SMS or call that contain the exact time when the security was triggered. This is a standard delivery, and therefore it could take a minute or two for it to reach the concerned cell. When the object continues to be in the way, the system does continue to send message or call
  • 4. Security System Based on Ultrasonic Sensor Technology www.iosrjournals.org 30 | Page according to the program set. So far, we have not seen any false positive alerts. Table II shows the primary results of our experiments. TABLE II IMPLEMENTATION RESULTS OF DIFFERENT SENSING DISTANCES Distance Overall sensing probability 1m 100% 2m 99% 3m 94% 4m 87% 5m 79% V. CONCLUSION We have presented a portable security system through this paper. We believe our design possesses competitive features to many of the security system out there, except at much more portable level. However, the accuracy can be increased by using multiple of ultrasonic sensors. References [1]. Sungbok Kim and Hyunbin Kim, “Simple and Complex Obstacle Detection Using an Overlapped Ultrasonic Sensor Ring,”2012 12th International Conference on Control, Automation and Systems. [2]. Jun Hou, Chengdong Wu, Zhongjia Yuan, Jiyuan Tan, Qiaoqiao Wang and Yun Zhou, “Research of Intelligent Home Security Surveillance System Based on ZigBee,” International Symposium on Intelligent Information Technology Application Workshops,pp.554-557,21-22 Dec.2008 [3]. J. Borenstein, H. R. Everett, and L. Feng, “Where Am I?”: Sensors and Methods for Mobile Robot Positioning, The University of Michigan, 1996. [4] J. L. Crowley, “World Modelling and Position Estimation for a Mobile Robot Using Ultrasonic Ranging,”Proc. IEEE Int. Conf. Robotics and Automation, pp. 674-680,1989. [5]. H . Choset, K. Nagatani, and N. A. Lazar, "The Arc Traversal Median Algorithm: a Geometric Approach to Increase Ultrasonic Sensor Azimuth Accuracy," IEEE Trans. Robotics and Automation, vol. 19, no. 3, pp. 513-522, 2003. [6] Ying-Wen Bai, Li-Sih Shen and Zong-Han Li “Design and Implementation of an Embedded Home Surveillance System by Use of Multiple Ultrasonic Sensor”. [7]. Referenced Websites of en.wikiprdia.org/wiki/Ultrasonic Sensor, www.senix.com/Ultrasonic-Sensors. BIOGRAPHY . Shinu N Yohannan received the B.Tech degree in Electronics and Communication Engineering from Musaliar College of Engineering and Technology, Pathanamthitta, Kerala India, in 2012. He is currently pursuing M.Tech. degree in Applied Electronics and Instrumentation in Lourdes Matha College of Science and Technology, Thiruvananthapuram, Kerala, India. Vince T Vaippicherry received the B.Tech degree in Electronics and Communication Engineering from College of Engineering, Kidagoor, Kerala India, in 2012. He is currently pursuing M.Tech. degree in Applied Electronics and Instrumentation in Lourdes Matha College of Science and Technology, Thiruvananthapuram, Kerala, India. Don K Thankachan received the B.Tech degree in Electronics and Instrumentation Engineering from College of Engineering, Kidagoor, Kerala India, in 2010. From 2010 to 2012, he was with the Cognizant Technology Solutions, Chennai, India. He is currently pursuing M.Tech. degree in Applied Electronics and Instrumentation in Lourdes Matha College of Science and Technology, Thiruvananthapuram, Kerala, India.