You are on page 1of 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/323695337

Design and Implementation of Security Patrol Robot Using Android Application

Conference Paper · October 2017


DOI: 10.1109/AMS.2017.20

CITATIONS READS
5 12,473

3 authors, including:

Tahzib Mashrik Hasib Zunair


North South University Concordia University Montreal
1 PUBLICATION   5 CITATIONS    31 PUBLICATIONS   232 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Deep Learning for Image Classification View project

All content following this page was uploaded by Hasib Zunair on 28 February 2020.

The user has requested enhancement of the downloaded file.


2017 Asia Modelling Symposium

Design and Implementation of Security Patrol Robot using Android Application

Tahzib Mashrik, Hasib Zunair, Maofic Farhan Karin


Electrical and Computer Engineering
North South University
Dhaka, Bangladesh
zunair.hasib@northsouth.edu

Abstract— Mobile robots are now widely used in various the primary challenges in the mobile-robot industry; many
security and surveillance applications. The paper includes control algorithms and techniques have been recently
designing and developing a reconfigurable autonomous developed that aim to overcome this challenge [5]. A
security robot which can be used in household or office security robot based on UWB technology for indoor
purposes. The idea consists of four main parts: Multiple
positioning of unknown areas. It can be used in hazardous
sensor array, communication system (Bluetooth and GSM),
motion planning (autonomous patrolling) and software environments, like harmful gas leaks, where use of
application for mobile interface. personnel is very risky [6]. The security patrol robot will
utilize several sensors and motors in order to navigate
Keywords— Multisensor, Security Robot, Automatic indoors in autonomous mode. It will also be able to
Patrolling, GSM, Bluetooth, Android Application. communicate and be controlled via Wi-Fi [7].
Recently, security robots are being marketed
I. INTRODUCTION commercially. Knightscope’s robot security guards, an
Autonomous security robots are a new groundbreaking advanced physical security robot which patrols parking
innovation in advanced security and surveillance lots, offices and even outdoors. Also, emerging social
technology. robots like Buddy, Personal Robot, Riley and Aido also
Guards patrolling an area with flashlights and batons never features home security patrolling.
worked very well; however, today there is an immergence While several research and implementation of security
of smart security systems with intelligent sensors, robots are available, the technology used in security robots
embedded systems, autonomous control mechanism and reduces its affordability. To solve this problem, the paper
mobile application. proposes a low-cost autonomous mobile security robot
The first security surveillance robot was proposed by based on a multisensor system that is user friendly and is
Everett, H. & Gage, D.W, 1999 in “Mobile Detection. also affordable. The intelligent security patrol robot is
Assessment and Response System (MDARS)” [1]. Since implemented using mobile application. The robot is mobile
then security robots have become a growing interest with and provides fully autonomous patrolling in a defined area.
increasing developments in research and application. It has a multisensor monitoring system with 6 sensors.
Yoichi Shimosasa et al., combining security surveillance This also make the robot versatile, such that it can be used
and service system together, developed an autonomous for both patrolling and also for alerts depending on user
guard robot which can guide visitors in daytime and patrol choice. Whereas many of the devices serve only one
at the night [2]. A team of intelligent mobile security purpose. It also provides 4 kinds of alarming systems via
robots patrols different floors of a building. During the which notification of security violation is sent.
occurrence of an abnormal event, the mobile robot II. SYSTEM DESIGN
transmits the relation location (floor number) of the event
to the supervised computer [3]. An automatic patrolling This section discusses the system modelling, process
vehicle acts as a security patroller in the security system, and theoretical design of the SPR. It also describes the
which can monitor those dead zones of the traditional fixed flow of instructions and system architecture.
surveillance system. The remote monitoring capabilities A. Multiple Sensor Array & Structure of the SPR
can also be enhanced by using the wireless network. And
the face detection system is adapted to record and analyze
The SPR utilizes numerous sensors to detect security
the invaders [4]. Countless applications today are using of
risks. These are— passive infrared motion sensor, light
mobile service security robots, including autonomous
sensor (LDR), temperature sensor (LM35), sound sensor
navigation, security patrolling, housework, search-and-
SparkFun Electret Microphone Breakout), ultrasonic
rescue operations, material handling, manufacturing, and
sensor(HCSR04) and smoke sensor(MQ-2). All the sensors
automated transportation systems. Regardless of the
are directly connected to theATmega328 based 16Mhz
application, a mobile robot must use a robust autonomous
microcontroller (Arduino Uno) which is used as the main
navigation system. Autonomous navigation remains one of
controller. This multisensor system makes security

2376-1172/17 $31.00 © 2017 IEEE 60


77
DOI 10.1109/AMS.2017.20
surveillance more effective and also avoids false alarms.
For example, if the temperature sensor fails to work and a
fire occurs, it will still be able to detect a fire as the light
sensor and smoke sensor crosses the threshold value. In
addition, in our microcontroller we have incorportated the
interrupt function with our sensors so that does not always
keep reading values from the sensor, rather the system
reads the value if there it detects any change, they are set to
trigger on RISING or FALLING edge signals. This also
shortens the processing time which makes our system
more efficient.

Moving on to the structure of the SPR, the robot is made


using plastic material which is durable and strong which
can withstand hits to some extent. Since it has to travel
over narrow fragile terrain, this robot is made very
lightweight; about 500 g and it is also quiet small in size, Fig. 1. Mobile Application home screen
15cm x 15cm x 10cm.
The mobile application interface of the intelligent
It contains four 600 rpm, 160 oz-in 6V DC micro metal security system is shown in Fig. 1. for the robot system. To
gear motors. These motors are small light and consume start up the system, the user must press the “connect
low current. The 42mm diameter wheel has a 19mm button” to connect to the robot via Bluetooth connection.
rubber tire. The placement of the front wheels enables the Once, the robot and the mobile phone are paired, the user
robot to easily climb over any small objects. The motors must press the “receive button” to receive the current
are inverted and screwed at the bottom of the chassis, readings from the sensors which is displayed in the Current
which gives the robot more clearance from the ground. A values column. Using the Set point column, the user can
figure of the robot is showed in a later section. now put in customized sensor values for the alarm system.
The “Set button” provides the user with suggested sensor
values the user may set for the Set Point column. After
B. Communication Interface
setting the sensor values, the user will choose the alarm
methods by which security violation notification will be
There are two modes of communication interface used sent. The user is able to choose more than one
in the SPR— Bluetooth and GSM. Firstly, bluetooth is combinations from the 5 methods by which notifications
used to communicate between the robot and mobile phone will be received. The “Combinations” blank is used for the
application which is discussed in detail in the next section. number of sensor values that will be violated to set off the
The Bluetooth module used is a HC05 which used the alarm. For instance, if the user picked 2 for the
serial port protocol. It is fully qualified Bluetooth “Combinations”, this means out of the seven sensors if two
V2.0+EDR 3Mbps modulation with complete 2.4GHz are triggered at the same time, the alarm goes off. The
radio transceiver and baseband. The module is used with “Patrol button” is used to enter the code for patrolling.
the microcontroller to send and receive data from the
mobile application. The user is able to choose the alarm tick off values for
each sensor and also choose the number of sensor values to
Secondly, a SIM900 Quad Band Wireless GSM/GPRS be violated before the alarm ticks off. This makes it
module which works in the 800-1900MHz range in convenient because it avoids circumstances where the
addition with a SIM card is used for sending alarm alarm does not go off with incorrect situations, for
notifications to mobile phone via call, text alert in case of instance, with movements from pets at home. Thus,
abnormal situations. The destination of the text and calls avoiding false alarms. There are two modes of
are to be set initially using the microcontroller. communication interface used in the SPR— Bluetooth and
GSM. Bluetooth is used to communicate between the robot
C. Mobile Application and mobile phone. GSM module is used for sending alarm
notifications to mobile phone via call, text, and app alert.
A mobile application interface is used to operate and D. Motion Planning
customize the SPR. Using the application, the user can set
desired alarms, control patrolling and set alarm ticking The SPR can be static or autonomous. The
values of the sensors. Autonomous motion sets the SPR to patrol a certain area.
Localization alogorithms are used to obtain the desired
location. Patrol route is customizable according to the
patrol area – this can be done remotely using the mobile
application. The robot uses ultrasonic distance sensor to

78
61
move to the assigned distance. Surveillance routes are F. Flow Chart
assigned by the user.

For example, the fig shows the manual input of SPR motion can be Autonomous or manual. The
distances and turn angles to be patrolled. The robot can manual motion makes use of the Bluetooth module and
calculate how much distance it has travelled using wheel- mobile phone. The operator can manually move the SPR
encoders. They work in the 3.3V range. The readings are according to need of placement. The Autonomous motion
taken continuously and processed accordingly. The sets the SPR to patrol a certain area. Patrolling is
command for the distance and angles to be covered are customizable according to the user’s needs.
give in the following format command =
(“10cm,90*,50cm,45*,25cm,5*,10cm,160*). This
automatically patrols a defined area. A simple
demonstration for the patrolling is show in the figure
below for a distance of 10cm and an angle of 90 degrees.

Fig. 2. Patrol input

E. System Architecture

Fig. 3. System Architecture

The Fig.2 portrays the architecture of the system. The Fig.4. Flow Chart
inputs being connected to the microcontroller and outputs III. HARDWARE IMPLEMENTATION
being the mobile phone. The inputs being the 6 sensors,
Motion Sensor, Temperature sensor, Smoke sensor, Object
sensor, Sound sensor and transmission interfaces The SPR has the shape of a four-wheeler, and it is
(Bluetooth module and GSM Module). The outputs can be equipped with Microcontroller (Arduino Uno), Light
of different types according to the user’s preference which sensor (LDR), motion sensor (infrared PIR HC-SR04),
includes an on-board alarm buzzer and a LED light, a Sound Sensor (SparkFun Electret Microphone Breakout),
phone call or text message to the mobile phone. distance/obstacle sensor (HC-SR04), smoke sensor (MQ-
02), Bluetooth (HC05), GSM module, battery 9V mobile
battery, two driver motors( L293d).

79
62
Fig 7 shows the initial condition from 0-2.5 minutes
with fixed distance and from 2.5-5 minutes shows
condition when there is a change in distance, in this case,
the distance became smaller than initial condition.

Fig.5a Hardware circuit

Fig.5 shows the diagram of our complete system using


fritizing software, it include all the sensors and
communication modules.

Fig. 8. Sound sensor


IV. RESULTS
The prototype was tested and works successfully. This The results from the sound sensors were taken in no
section will portray and explain the results from the sounds and with sound intervals. The flat lines show no
sensors of the robot. sound conditions and the peak values show when sound is
present. The sound peaks at different kinds of possible
sounds like human voice, door closing, claps, etc.

Fig. 6. Light sensor

Fig 6 shows the functionality of the light sensor used.


The result is plotted with level of light against time. From
0-3.2 minutes portrays no light condition and 3.2-5
minutes portrays condition when light is present. Fig.9. Motion Sensor

Fig 9 shows the results from the motion sensor used. The
sensor gives digital outputs which in initial condition
displays 0 and when in condition with motion displays 1.

Fig.7. Distance sensor

80
63
fixed security system. The robot features autonomous
patrolling in a defined area, however can also be kept
stationary. It also provides the user with variety of alarm
methods— call, text, on board alarm, app alert. Other than
security, the robot can be used for variety of purpose, such
as fire alarm, burglar alarm, temperature monitoring, even
as a simple alarm clock! Thus the design robot provides a
better and safer environment. A picture of the final
prototype is given below in figure 12.

Fig. 10. Smoke Sensor

Fig 10 shows the results from the smoke sensor used. From
0-3.4 minutes, the sensor portrays initial condition. From
3.4-5 minutes, sensor readings show change with high
values.

Fig. 12. Hardware setup of the robot

VI. FUTURE WORK


There is still a wide area of research to be conducted on
security robots to fully implement them in our everyday
lives. The limitations of our prototype include:
• Improvement of sensor accuracy
• Improve algorithm for autonomous patrolling
• Indoor localization
• Implementing Internet of things (IOT)
technology such as Web Control and Camera
Fig. 11. Temperature Sensor feedback
• More accurate system for tracking robot’s
Fig 11 shows the results from the LM35 Temperature movement. Since the wheel encoders have
Sensor. The sensor was exposed to different surroundings. different characteristics in different surfaces –
From 0-1.6 minutes, the sensor portrays initial condition. uneven or slippery surface. Sometimes, it does
At 1.5 minutes a peek is detected when the temperature not work properly.
was changed using a household lighter. Beyond 3.5
minutes the temperature was drastically changed and the
results were observed. A peek of 180*C was seen.

REFERENCES
[1] K. Pooventhan, R. Achuthaperumal and C. Manoj
V. CONCLUSION Balajee, "Surveillance Robot Using Multi Sensor
The robot is easily interfaced via mobile phone; Network", International Journal of Innovative Research in
additionally, the mobile application interface is also easy Electrical, Electronics, Instrumentation and Control, vol. 3,
to use and user friendly. Its multisensor feature provides a no. 2, pp. 113-115, 2015.
proficient way to monitor security, avoiding false alarms. [2] Y. Shimosasa, J. Kanemoto, K. Hakamada, H. Horii, T.
A mobile security system is more efficient compared to a Ariki, Y. Sugawara, F. Kojio, A. Kimura, S. Yuta, “Some

81
64
results of the test operation of a security service system Mathematical Problems in Engineering, vol. 2013, Article
with autonomous guard robot”, 26th Annual Conference of ID 902013, 2013.
the IEEE on Industrial Electronics Society, Vol.1, pp.405- [6] R. Salman and I. Willms, "A Mobile Security Robot
409, 2000. equipped with UWB-Radar for Super-Resolution Indoor
[3] S. Chia, J. Guo, B. Li and K. Su, "Team Mobile Robots Positioning and Localisation Applications", in International
Based Intelligent Security System", Applied Mathematics & Conference on Indoor Positioning and Indoor Navigation,
Information Sciences, vol. 7, no. 2, pp. 435-440, 2013. 13-15 Nov. 2012.
[4] H. Lee, W. Lin and C. Huang, "Indoor Surveillance [7] J. Garcia, A. Alsuwaylih and S. Tosunoglu, "Security
Security Robot with a Self-Propelled Patrolling Vehicle", Patrolling Autonomous Robot", in Florida Conference on
Journal of Robotics, vol. 2011, Article ID 197105, 2011. Recent Advances in Robotics, 14-15 May 2015.
[5] L. Chung, "Remote Teleoperated and Autonomous Mobile
Security Robot Development in Ship Environment",

82
65

View publication stats

You might also like