Smart Home Security Access System Using Field Programmable Gate Arrays
Smart Home Security Access System Using Field Programmable Gate Arrays
Smart Home Security Access System Using Field Programmable Gate Arrays
Shukur Bin Saleh, Sulaiman Bin Mazlan, Nik Iskandar Bin Hamzah,
Ahmad Zahid Zakwan Bin Abdul Karim, Mohd Shamian Bin Zainal, Shipun Anuar Bin Hamzah,
Danial Bin Md Nor, Hazwaj Bin Mhd Poad
Faculty of Electrical and Electronic Engineering, Universiti Tun Hussein Onn Malaysia, Batu Pahat, Johor, Malaysia
Corresponding Author:
Sulaiman Bin Mazlan,
Faculty of Electrical and Electronic Engineering,
Universiti Tun Hussein Onn Malaysia,
Batu Pahat, Johor, Malaysia.
Email: [email protected]
1. INTRODUCTION
A “smart home" technology is one realization of home automation ideals employs integrated digital
systems such as FPGAs technology. FPGA’s has vastly wider potential for many applications depend on
innovation and market demand especially to implement a fully functional or reliable of thesmart home
product [1]. Since smart home product such as security system become more popular because dramatically
increase of burglary and theft threats last few years and threatening of vulnerability of traditional security
system in future [2]. Therefore based on reviews of statistical cases found that a house without asecurity
system, often to be broken into compared to those equipped with security alarm [3]. Thereby vital fact of
cases obviously shows security system had proved could reduce the intrusion incident. Hence, it is become
compulsory to develop and enhance existing security system with smart technology that can protect people or
resident and their properties.
In this project, to make security access system more intelligent and effective, the emergence of
digital integrated circuit technologies are implementing for setting security entry system. There are 3
different subsystems that are combined together to form a smart system which known as smart home security
access system. It will work with acombination of few input and output components such as servo motor,
Passive Infrared (PIR) motion sensor, temperature sensor, led seven segments display, buzzer, push buttons
and switches [4]. This project is being implemented using Field Programmable Gate Array (FPGA) Altera
DE2-115 board and programmed using Verilog Hardware Description Language (HDL).
The first subsystem is the setting of security access system. This security access system consists of
two major parts. There are code entry and memory entry logic. The code entry logic is acombinational logic
network which will process all logic function and the memory entry logic while keeping the present security
codes define by user. The correct login security access will activate the servo motor gear for unlocking
thedoor and deactivate the other additional secure sensor in the house.
Secondly, thesubsystem is the LED seven segment display system. The LED is used to display the
status login access through keypad press of user and statuses activate or deactivation functional sensors and
alarm during project running.
The third subsystem is the motion detection and temperature sensing setting. The motion setting is
used to set the distance radius for intruder detection desired areas in house by PIR motion sensor [5].
Meanwhile for the temperature setting is used to set the range of desired temperature either normal or high
temperature (very hot) condition for hazardous fire detection. Therefore theoperation of both device depends
on thesetting,or parameter calibration such as user could insert detection range of distance motion start
between 1 to 3 meters and also setting hot temperature start when room temperature over 50 degrees Celsius.
The main project system is consisting acombination of the digital security access and another
security devices system on detecting any irregular motion, and high temperature incident occurred in the
smart home security system. When the login security access correct or the motion and temperature sensor
was trigger, it will send thesignal to the Altera DE2-115 board, the program will process the signal and
decide the suitable output that will be turned on. In further action when unsecure or emergency condition
occurred, then alarm device will activate such as buzzer will functioning when either one or both of sensors
are detecting any intrusion,or fire incident occurs in the house. This project is a result of a subject MEE
10203 – Programmable Electronics. The aim of this project experience is to expose and gain
anunderstandingof the Verilog programming application using of Quartus II software.
Smart Home Security Access System Using Field Programmable Gate Arrays (Shukur Bin Saleh)
154 ISSN: 2502-4752
programming. The development of smart home security access was done mainly using Verilog (Hardware
Description Language). The methodology is the overall process of developing information systems through a
multistep process that includes design, analysis, implementation, testing and getting the result. Therefore, the
project works are divided into three stages which are design specification, implementation and design testing
and verification. This sectiongenerally describes the design methodology of this project. All of the design
stages are briefly discussed in the following sections. The purpose of doing methodology is to ensure that the
project is in the scope and achieve the objective.
Indonesian J Elec Eng & Comp Sci, Vol. 11, No. 1, July 2018 : 152 – 160
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 155
The block diagram project design also illustrated together in Figure 3. From the block diagram, the
push button and switches act input interface (i.e.: keypad) for key-in access security by pressing secret code
for open the doors through servo motor. In addition, it also functions forarming or disarming sensors such as
PIR motion and temperature sensors. Meanwhile, the led seven segment display will highlight thepresent
status of execution task of login access security through push-button/switches interface and output sensor. In
this project, the detection system consists of two inputs which arethe temperature sensor and PIR motion
sensor. The temperature sensor is used to measure the temperature in a room, and the PIR motion sensor is
used to detect any irregular motion which illustrates the connection of FPGA board with input and output
hardware. The Altera DE-2 board is being used to interface between input and output components. The
FPGA compute and process the signals from the input and sent it to output. The temperature sensor (LM35)
senses the range of current temperature in the form of analog signal and sends it to Arduino to convert the
analog signal to digital signal before sent to the FPGA [7].
Smart Home Security Access System Using Field Programmable Gate Arrays (Shukur Bin Saleh)
156 ISSN: 2502-4752
When the room temperature suddenly achieves more than hot temperature limit (over 50 degrees
Celsius) the as per design system. Meanwhile, PIR motion sensor is used to detect the irregular movement or
motion in specific range distance in selected space area in house depend on user requirement. When the
motion sensor suddenly senses or detect irregular movement ina house in time delay 10 seconds in range
distance 1 to 3 meters from thedetection area,both sensors will send output to the main security system; then
it will trigger ‘ON’ the alarm system. In this project, we have used buzzer as ademo of analarm device for
alerting theuser if any fire incident occurs in the house.
Figure 5. Schematic Diagram for Input Temperature Sensor Using Arduino UNO Microcontroller
From Figure 5 above, theservo motoris used as the output system for the Arduino microcontroller.
This servo motor functioned as the door lock mechanism for this project which is the smart home security
system. The input from FPGA board is connected to input pin 9 of the Arduino microcontroller to trigger the
movement of the servo motor for opening door application.In addition, the Arduino microcontroller is used
for deciding the direction of the servo motor whether 180o clockwise or anti-clockwise. For the simulation in
Proteus software as shown above, the button is representing the digital signal from the FPGA board [9].
When FPGA board send the digital signal to Arduino, the movement direction of theservo motor is 180o
clockwise and vice versa.
Indonesian J Elec Eng & Comp Sci, Vol. 11, No. 1, July 2018 : 152 – 160
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 157
2.2.3. Interfacing of Servo Motor, Buzzer, Push Button, Switches and LED Seven Segment Display
In this stage, the push button or switches available on FPGA board become input chums as keypad
for key-in access security bypressing push-button for open the doors through servo motorwhile buzzer act as
fire/intruder alarmas output devices. The LED seven segment will display thedesired status of
activation/deactivation related sensor involved in the project. Figure 7 shows the servo motor and push-
button/switchesare used to manipulate the desired input and output into FPGA board by the user.
Figure 7. Servo Motor, Buzzer, Led 7 Segment Display and Push-button/Switches of FPGA board
to execution inputs and state process of thelogic circuit before transfer output to external devices (buzzer,
servo motor, and seven segment display). Therefore, overall operation and function of theproject areontrack
as per design.
3. RESULT
Theoverall result simulation of project design will demonstrate in this section for find out the
simulation RTL similar to thedesired physical outcome at FPGA board. The operation of design project will
be investigatedto justify the right output of project toachieves the main objective of adevelopment project as
below.
Referring to waveform simulation as shown in Figure 9, the logic state starts with theinput of bit ‘0’
and ‘1’ from push button withsecret setup password (‘01011’) in 3-bit state condition. When the correct
password is entering to FPGA, the servo motor will activate to open the door. At the same time all sensors
are in disarming condition and to arming back the sensor devices, need to press ‘ARM’ switch (SW0) for
thetrigger in ‘HIGH (1)’ condition. Therefore, any sensor; PIR motion detect any irregular movement or
temperature sensor measure hot temperature (>50 degree Celsius), thealarm system will activate (buzzer
=ON). Conversely, if the ‘DISARM’ switch (SW1) is press by theuser, all sensor is deactivated condition and
overallsystem back to initial condition which is the door locking still working as usual when theuserenters the
password for close the door. The operational of home sensors can control by the user independently after user
get access from door security lock system. The design system provides user opportunity to decide whether to
‘ON’ or ‘OFF’ sensor function during themin house or leaving the building for outstation. In this project, the
selection of operational of smart home security system depends on user requirement. The important is user
feel safe with the full protection of asecurity system; then easy to control and maintain in future.
Indonesian J Elec Eng & Comp Sci, Vol. 11, No. 1, July 2018 : 152 – 160
Indonesian J Elec Eng & Comp Sci ISSN: 2502-4752 159
Figure 10. Overall view of Altera DE2-115 board with‘d-oFFand ‘OPEn’ state condition Using Servo Motor
as OutputDoor Controller
3.2. Implemented LED Seven Segment Display of Status Operational (arm/disarming) Sensor
Figure 11. Overall view of Altera DE2-115 board with ‘OFF’and ‘On’ state condition Using PIR Motion and
Temperature Sensor Detection
Smart Home Security Access System Using Field Programmable Gate Arrays (Shukur Bin Saleh)
160 ISSN: 2502-4752
Figure 12. Hardware Simulation of Mart Home SecurityAccess System Project Based on DE2-115 Board
4. CONCLUSION
In this project, the development of a smart home security system based on FPGA technology is work
well in progress. The system is designed and implemented on DE2-115 FPGA board and it also suitable for
real-time home security monitoring. Therefore, enhances home safety can preventfromunexpected
incidentssuch as fire damage or property loss done by intruders. Instead of applyingdigital lock control; the
systems also integrate withadditional fire and intruder sensor to create the home security system verysmart,
secure reliable and robust than conventional systems. The system can be implemented in any commercial,
residential and industrial buildings. Since the FPGA technologies very robust withextending large capacity,
the features of thesystem can be upgradedfor remote control using Wi-Fi, GSM or IoT application for further
project development in future.
ACKNOWLEDGEMENT
The authors would like to thank the Office of Research, Innovation, Commercialization and
Consultancy (ORICC), Universiti Tun Hussein Onn Malaysia (UTHM) for the funding of this paper
publication under TIER 1 Fasa 1/2017 Research Grant (Vot. No. U854).
REFERENCES
[1] K. Saroch and A. Sharma, “FPGA Based System Login Security Lock Design Using Finite State Machine,”
Journal of Electronics and Communication Engineering, vol/issue: 5(3), pp. 70-75, 2013.
[2] S. Morsalin, et al., “Machine-to-machine Communication Based Smart Home Security System,” International
Conference on Electrical Engineering and Information Communication Technology. Dhaka, 2016.
[3] M. Schiefer, “Smart Home Definition and Security Threats,” International Conference on IT Security Incident
Management & IT Forensics. Magdeburg, 2015.
[4] S. A. Sudiro, et al., “Automatic controller component development using FPGA device,” International Conference
on Informatics and Computing. Mataram, pp. 122-127, 2016.
[5] R. Kannan and T. R. S. Kumar, “Efficient method for controlling electric power by automated monitoring system
using FPGA,” Fourth International Conference on Computing, Communications and Networking Technologies.
Tiruchengode, pp. 1-4, 2013.
[6] O. N. Electron and S. Micheal, “Report of Department of Defense Advisory Group on Electronic Devices,” Special
Technology Area Review on Field Programmable Gate Arrays. Washington, 2005.
[7] S. A. Anil and R. K. Megalingam, “A comparative analysis of a navigation platform designed in Arduino and
FPGA,” International Conference on Communication and Signal Processing. Melmaruvathur, pp. 1306-1310,
2016.
[8] S. Pandit and V. N. Shet, “Review of FPGA based control for switch mode converters,” Second International
Conference on Electrical, Computer and Communication Technologies. Tamil Nadu, pp. 1-5, 2017.
[9] R. Szabó and A. Gontean, “Pong game on FPGA with CRT or LCD display and push button controls,” Federated
Conference on Computer Science and Information Systems. Warsaw, pp. 729-734, 2014.
[10] S. Palnitkar, “Verilog HDL (2nded.),” Pearson Education. Verilog. Wikipedia, the free encyclopedia, 2008.
Retrieved March 23, 2012.
Indonesian J Elec Eng & Comp Sci, Vol. 11, No. 1, July 2018 : 152 – 160