Wireless Security System Incorporating Tilt Sensors and Web Cameras. Hong-
Chul Kim, Woo-Sung Kim, Dong-Hyuk Im, Geun-Duk Park*. Department of ...
Wireless Security System Incorporating Tilt Sensors and Web Cameras Hong-Chul Kim, Woo-Sung Kim, Dong-Hyuk Im, Geun-Duk Park* Department of Computer Engineering Hoseo University Asan, Korea Abstract—The need for research and development of the security and alarm devices has been expanding in order to prevent growing crimes. In this paper, we propose the security system using both sensors and cameras to complement the drawbacks of the existing system. The sensors are used to recognize emergency situations more correctly, and cameras to overcome the difficulty of on-site check. Also, the user can directly check the situation of the scene from the server or user’s smart phone.
shown in Fig. 1. Up to three sensor nodes are connected wirelessly with one receiver. The receiver is connected to the server computer by serial communication and the server computer is configured to forward the video data to the client.
Keywords—security system; tilt sensor; web camera; smart phone
I.
INTRODUCTION
The number of crimes in modern society is on the gradual increase. In Korea, approximately 168,831 crimes occurred in 2007 and 180,682 in 2009 [1]. Studies for the security and alarm devices have been actively conducted in order to prevent growing crimes accordingly. The security systems with sensors [2, 3, 4, 5] have advantages that users don’t need to check the monitor constantly because motion is detected, but also have disadvantages that it takes time to take an action if the scene is remote. The detection method to use cameras [6, 7, 8, 9, 10] have advantages that users could be in more secure situation than the method to use sensors because users can check the scene directly, unlike sensors, so they can respond after checking the status of the site. However, the camera security system has a difficulty in recognizing emergency situations, compared to the method to use sensors, because it detects objects using image processing. The security system incorporating sensors and cameras is proposed in this study to complement the drawbacks of the existing system. The sensors are used to recognize emergency situations more easily and correctly, and cameras to overcome the difficulty of on-site check. The user can directly check the situation of the scene from the server or user’s smart phone. II.
THE PROPOSED SECURITY SYSTEM
Fig. 1. Overall System Configuration
The sensor network part consists of one receiver and three sensor nodes. The sensor nodes are equipped with CC1020 chip for wireless transmission and ATMega8 chip for data processing and tilt sensors for shock detection. It also is designed to be operated when shock is detected with buzzer attached to notify users around and equipped with switch to terminate its own alarming sound. The receiver has a buzzer for LED and alarming sound to respond to the sensor node connected to it and equipped with the switch to terminate the alarming sound. It notifies the receiver that the event occurs when the impact is detected in the sensor nodes. The receiver is connected to the server and sends and receives messages via serial communication. The receiver sends the sensor values to the server when serial communication event occurs. The server displays video on the screen by receiving image data all the time. Smartphone applications are designed on the basis of Android operating system and can request data to the server and receive image data though TCP communication. It is designed to notify the user of the problem by ringing the alarm after receiving corresponding information from the server when shock is detected in the sensor nodes.
A. System Configuration The proposed security system with sensors and cameras is
B. Server Architecture The server is implemented in the Java language and the library uses 2 RxTxComm, javacv. RxTxComm library is for
*Corresponding author:
[email protected]
978-1-4799-0604-8/13/$31.00 ©2013 IEEE
the serial communication and javacv is to retrieve the image data from a web camera. The server performs three functions. First, it controls the sensor nodes or receives the data of the sensor nodes through the receiver. Second, it shows the image from the web camera on the screen of the server. Third, it processes the request of smart phone applications or sends sensor data to the smart phone applications. The first and the second tasks are done almost in real time because it is done without network. However, the third task is in the standby status before the smart phone application sends the request. Therefore, the third task is processed in parallel using a separate thread because it can affect the whole system. C. Client Architecture The shock detection messages and images are sent to the smart devices of the users to let the users know the current situation of the security system even though the users are far apart from the security system. The users can send the visual information or sensor control messages to the server by using the buttons in the smart phone application. The smart phone applications consist of main thread and receive thread. The main thread changes the status when it receives a shock detection message by toggling the radio button corresponding to each sensor. It also shows the image received from ImageView by receiving the sever-sending image information. However, the smart phone applications should change it to a Bitemap object after receiving it because the server sends the visual information based on the array of bytes. III.
IMPLEMENTATION AND DISCUSSION
There are three implementation environments of the security system proposed in this study. For sensor nodes, C language is used for the development language, ATMega8 for CPU and CC1020 chip for communication chip. For the server, Java is used and javacv.jar file is used for video processing and RxTxComm.jar file for serial communication. NI-800 of Notei is used for the products used as a web camera. Fig. 2 below shows the major components of the proposed system. The picture on the top left represents sensor nodes and a receiver and on the top right is a picture of a web camera. On the bottom left is the operation screen of the server. It doesn’t need additional UI because the server performs the client’s request and handles the serial communication of the receiver. On the bottom right is the operation screen of the smart phone application. It has some widgets because it needs the input of the users. The system proposed in this study allows the users to check the site directly because the intruding objects can be detected more accurately by the sensor and the image can be seen by the camera. It also has advantages that the discomfort of the users can be minimized because the user can directly operate the sensor through smart devices and the system can be constructed with lower budget with the web camera.
Fig. 2. The Major Components of the Implemented System
There is a plan to build a more affordable system by replacing PC which is currently used as a server with the gateway. The gateway is composed of web cameras and sensors and has internet functions and image processing capabilities. Also, the method to expand the scope of surveillance security system is planned to be studied to overcome the limitation of the communication distance between the sensor and the receiver using the data relay among sensors. REFERENCES [1] [2]
http://kosis.kr, Monthly Crime Status (2002.01 ~ 2009.01) Y. S. Song, “Magnetic Sensors for Electronic Article Surveillance System”, Journal of The Korean Magnetics Society, Vol. 7, No. 5, 1997.10, 280-283 [3] J.I.Lee, “Presentation of Improvement Devices for Bicycle Safety and Antitheft”, KSPE(Korean Society for Precision Engineering), 2012.5. 63-64 [4] You Sung Kang, Ho-won Kim, Kyo-il Chung, “Technology Trend of RFID Security Devices for the Protection of Cargo Containers”, Journal of The Korean Institute of Communication Sciences, 24(11), 2007.11, 43-50 [5] Jaeil Lee, Ju-Hyung Lee, Jong-Wu Hyun, Chong Hyun Lee, Jinho Bae, Dong-Guk Paeng, Jungsam Cho, Taein Kang, and Nobok Lee, “Surveillance-Alert System based on USN using PDR sensors”, The Institute of Electronics Engineers of Korea 48(12), 2011.12, 54-61 [6] Dae-Jun Kim, Sang-Hoon Lee, “A Security System of Agricultural Products Based on Read-time Event Recognition”, Proceedings of KIIS Spring Conference 2012 Vol.22, No.1, 2012.4, 291-292 [7] Jiman Kim, Daijin Kim, “Abandoned/Stolen Objects Detection Analysis with Pan/Tilt Camera”, Proceedings of the HCI 2012, 2012.1, 478-480 [8] Jiman Kim, Jayeong Ku, Jeongeun Lim, Daijin Kim, “Abandoned/Theft Object Detection in Complex Environment for Visual Surveillance”, Proceedings of the HCI 2012, 2011.1, 170-172 [9] Myung-Jae Oh, Young-Hoon Joo, Jin-Bae Park, “Theft Surveillance System of Livestock Using Vision”, The Korea Institute of Electrical Engineers, 2010.7, 1826-1827 [10] Young-Min Kim, Myeong-Hwan Kim, Kil-Sung Park, and Sun-Hyung Kim, “A Study on the Implementation of the Wireless Video Security System”, Korean Institute Of Information Technology, 10(8), 2012.8 6168