CHEMICAL ENGINEERING TRANSACTIONS VOL. 51, 2016 A publication of The Italian Association of Chemical Engineering Online at www.aidic.it/cet Guest Editors: Tichun Wang, Hongyang Zhang, Lei Tian Copyright © 2016, AIDIC Servizi S.r.l., ISBN 978-88-95608-43-3; ISSN 2283-9216 Design of Smart Home System Based on Power Line Communication Technology and Wireless Sensor Networks Xiuping Song ChongQing College of Electronic Engineering, ChongQing 401331, China sxp030210406@163.com Based on power line communication technology, research of smart home system-wide power line developed. Combined with high speed power line data communication system based on low-voltage distribution network, set Internet access and intelligent home control is one of the intelligent digital cell. Smart application of the home network system and power line communication technology put forward new ideas. Based on power line communication technology, research developed intelligent home automation system based on the power line. Power line combined with high-speed data communication system constructed set of Internet-based low voltage distribution network of the Internet. Intelligent home control in one of the intelligent digital cell for application of intelligent home systems and power line communication technology has opened up new areas. A comprehensive summary of the research results intelligent home automation systems and power line carrier communication technology, innovation put forward intelligent home automation based on an all-electric line of thought, the whole structure was constructed based on power line communication technology, intelligent home systems. 1. Introduction In recent years, with the rapid development of network technology and communication technology, people not only pay attention on the degree of automation and home of the increasingly high demand, but also the flexibility and convenience of home appliances control of external information obtained higher requirements (Jeet, 2015; Yu, 2015). Therefore, research and development of smart home system has become a hot issue in the information industry. At the same time, power line communication technology has been vigorously developed (Sarathi, 2013). After several years of research and hinder its development has been successfully break through some technical bottlenecks, making the low-voltage power line high-speed data transmission is possible (Tong and Zhou, 2014). Therefore, this article in the current understanding of the development of smart home system, the full use of the power line to act as a smart home system data signal transmission media, presented the overall program smart home system based on power line communication technology (Vasan and Long, 2014). Electricity networks have the advantage everywhere, using the power grid can reduce the huge investment in network construction, and this is the important factor restricting broadband applications (Wang, 2015). PLC network networking is very simple, just connect the power socket and the necessary network communications equipment, digital devices can communicate with each other between. And any power outlet in the room where the Internet can be connected and permanently online. Therefore, power line communication technology has broad application prospects (Subramanian, 2015). Once the technology commercialization phase, will facilitate change the telecommunications market, and to the popularity of the Internet has brought great development space (Ding, 2013; Yi, 2015). Based on the design of smart home system, flexible use of the power line communication technology, put forward innovative overall solution the whole power line smart home automation systems and digital community management system, to achieve a high speed power line data communication technology and smart home system integrated applications, a good power line carrier communication technology and intelligent home control combine to make the whole system has unique advantages, complete functions, to DOI: 10.3303/CET1651127 Please cite this article as: Song X.P., 2016, Design of smart home system based on power line communication technology and wireless sensor networks, Chemical Engineering Transactions, 51, 757-762 DOI:10.3303/CET1651127 757 form a more perfect intelligent control system, and more broadly to expand the application of smart home system and power line communication technology. 2. Smart home system home gateway (ICDT) 2.1 ICDT control system block diagram Intelligent network control data terminal (ICDT) act as special role, its contact within the family all the smart home installations (Long, 2012), smart home network system is the hub to connect an external network, CDT is the core unit of work is clearly the smart home system, often referred to as " home gateway ", as shown in Figure 1. Community management center server Cell local area network Cell local area network Door module Emergency button Electric meter module Heat meter module Infrared probe module Smoke alarm module Door module Water meter module Gas meter module Light module Household Electric Appliances Lighting system module ICDT RTU extend PC T0 INTERNET High speed PLC Cable Figure 1: ICDT control system block diagram As a home gateway, ICDT have good adaptability to provide for the smart home system friendly interface, user-friendly operation. The intelligent device management control ICDT divided into two: the input / output devices. Figure 1, above the indoor power line trunk road marked input equipment, the CDT acquisition read their input data and transmitting signals; label output devices below, ICDT to send control commands to them to achieve the appropriate action (2014). Workers CDT in the structure mainly composed of two parts: a communication interface unit and intelligent control unit, between two units interconnected via asynchronous communication interface, the communication interface unit is provided from the power line communication network between the intelligent control unit interface. The communication interface unit integrates 10M Ethernet card and four of HUB chip, its main role is to deal with network transport protocol. Input from the network packets are processed out all the protocol header, and re-assembled into a complete application layer data in a buffer, through asynchronous communication port to send to the intelligent control unit. 2.2 ICDT hardware design Workers CDT principle hardware structure was shown in Figure 2. Workers selects high-performance 16-bit microcontroller 80C196KC on the basis of the minimum system was extended 32KB data memory and program memory. X25045 set watchdog timer, voltage monitoring and EZPROM (slZxsbit) in one, some of the basic parameters used to store memory systems, such as the number of nodes, each node of the characteristic parameters, and some of the node identifier associated with the node contacts. Serial Real Time Clock using DSI302, provides seconds, minutes, hours, days, months, years real-time information, and can automatically adjust the month and end dates for the month and leap year situation. 8255 extends the parallel chip 4X5 keyboard interface for users to set and query interfaces to provide input. 758 CPU 80C196KC Power line carrier module Bus driver Read and write interrupt control Real time clock EPROM RAM Keyboard interface LCD EPLC- 14M Rabbit 2000 Development board Home gateway periphery LAN/Internet DB AB CB P1 Address latch GAL address decoding X25045 DB CB PL CB Rx Tx PI Figure 2: ICDT hardware design structure diagram ICDT control platform operating system is the digital home network. Since the object of control and monitoring it very clear that all the family microcontroller and electrical equipment, so workers CDT operating system must be a dedicated system, so not only can improve the control and monitoring functions to complete efficiency, but also save hardware resources, which will help reduce costs. Therefore, the operating system is not suitable for work CDT supplement made from an existing operating system such as Linux or Windows CE cut, we should proceed from the need to complete the function of the target, in a targeted manner designed. 3. Experiments and results 3.1 Overall system architecture Smart home system is a computer network-based intelligent residential management control system. In view of our multi-family residential units of cells, the paper design of smart home system is mainly composed of digital home networking, residential access network control center and community management platform structure, shown in Figure 3. Digital home network is based on a home control system centralized control terminal, through which the family complete variety of sensors, controllers and water, electricity, gas, heat meter data acquisition and control, data transmission within the family network using low-voltage power line carrier communication. Residential access network is a local area network to extend residential district home network, it can work well on a variety of broadband access networks, the design of high-speed PLC devices. Community management center is Ethernet-based information platform, system architecture C / S and B / S combined, mainly by the central management server, workstation and Internet access control network routers, complete the entire residential district intelligent control and management. Power line carrier communication module, the master, the slave module, this is one of the key design and development, they bear the analog system acquisition and pulse capture and digital acquisition tasks. Temperature controller and flooding controllers and other intelligent devices, the installation of a slave module for the collection and processing of analog signals, the analog slave controller input (current value 4 ~ 20 mA) is converted to level signals to digital by 0,1 microcontroller writing digital frame, and then converted to a modem chip carrier signal transmitted through the power line to the main station, the main station use a similar principle, the carrier signal received demodulated digital frame, Interpretation reduced to digital distributed HCT. Four table (water, electricity, gas, heat meter) CC genus pulse volume collection, after collection by the pulses from the station converted into a carrier signal is sent to the master, the master pulse volume reduction. 759 Internet BUB Community management and control center 14M PCL Residential power distribution switch cabinet 14M PCL 14M PCL 14M PCL EPLC-500 BCT G a s lea k a g e m o d u le E m erg en cy b u tto n m o d u le D o o r a n d w in d o w m o d u le W in d o w m a g n etic m o d u le In fra red p ro b e m o d u le S m o k e a la rm m o d u le H ea t m eter m o d u le W a ter m eter m o d u le G a s m eter m o d u le E lectric m eter m o d u le L ig h tin g sy stem m o d u le H o u seh o ld a p p lia n ce m o d u le Figure 3: Smart home network mapping system 3.2 Running processes controlling application Master program designed with loop combination of various modules (Figure 4). The first part of the process flow of the system is first run, the only run once; the second part of the process is the process run every time the system is powered; the third part of the normal operation of the process is a process. This loop execution time is very short, typically a few milliseconds or tens of milliseconds. start-up System initialization Assign physical address Download system parameters Download the user program for the module Module initialization Message processing Call user program There is no need to accept Packet reception exception handling There is no need to send Process first Process third Process second Message processing No Yes Figure 4: ICDT master control program flow 760 Smart home control software management system in accordance with the main high-low coupling polymerization, top-down stepwise refinement of the design principles, the system function modules: "DHCP server" module (responsible for the underlying communication function), "Information Query Monitor "module" control system "module" alarm monitor "module" telephone remote control "modules," Internet control "module and" database server "module. This article focuses on "control system" module design, main structure is given in Figure 5 specific "control system" module, which includes system management, data management terminal, send messages, community services, queries, database management, interface settings , window and help directory entries. Control system system management News release Database management window S y s te m S e tu p D e v ic e c o n fig u r a tio n d e v ic e m a n a g e m e n t a la r m s e ttin g P e r s o n n e l m a n a g e m e n t C h a n g e p a s s w o r d O p e r a tio n lo c k b a c k u p d a ta r e c o v e r y D a ta e r r o r c h e c k in g D a ta fin is h a r c h iv in g Program management query help D o w n p a s s c o n fig u r a tio n W r ite m e te r R e a d m e te r O u tp u t c o n tr o l P a s s w o r d s e ttin g s D e te c tio n r e s e t D y n a m ic L o g V ie w e r M e s s a g e v ie w A la r m v ie w M e te r v ie w H o u s in g e q u ip m e n t v ie w C o n fig u r a tio n W iz a r d Figure 5: Control system module main structure design 4. Conclusions With the development of power line carrier communication technology, especially the development of high- speed power line communication technology and mature, the power line carrier communication technology into the field of intelligent home will be on the development and popularization of intelligent home play a positive role in promoting. Based on the power line communication technology, research and development of intelligent home automation system based on the power line, and power line combined with high-speed data communication system constructed based on low-voltage distribution network set INTERNET access, intelligent home control in one of the intelligent digital cell for power line communication technology and smart home applications has opened up new areas. Based on the power line communication technology, research and development of intelligent home automation system based on the power line, and power line combined with high-speed data communication system constructed set of Internet-based low voltage distribution network of the Internet, intelligent home control in one of the intelligent digital cell for power line communication technology and smart home applications put forward new ideas. 761 Reference Ding G., Wang L., Yang P., Shen P., Dang S., 2013, Diagnosis model based on least squares support vector machine optimized by multi-swarm cooperative chaos particle swarm optimization and its application, Journal of Computers, 8(4), 975-982. Huo X., Zhang A., Karimi H. R., 2014, March. Research on amplifier performance evaluation based on δ- support vector regression, In Abstract and Applied Analysis (Vol. 2014). Hindawi Publishing Corporation. Jeet V., Dhillon H. S., Bhatia S., 2015, April, Radio frequency home appliance control based on head tracking and voice control for disabled person, In Communication Systems and Network Technologies (CSNT), 2015 Fifth International Conference on pp. 559-563, IEEE. Long B., Tian S., Wang H., 2012, Feature vector selection method using Mahalanobis distance for diagnostics of analog circuits based on LS-SVM, Journal of Electronic Testing, 28(5), 745-755. Long B., Xian W., Li M., Wang H., 2014, Improved diagnostics for the incipient faults in analog circuits using LSSVM based on PSO algorithm with Mahalanobis distance, Neurocomputing, 133, 237-248. Sarathi Vasan A. S., Long B., Pecht M., 2013, Diagnostics and prognostics method for analog electronic circuits, Industrial Electronics, IEEE Transactions on, 60(11), 5277-5291. Subramanian G., Ahmed Z., Okelola N., Murugan A., 2015, November, LEACH protocol based design for effective energy utilization in wireless sensor networks, In Science and Technology (TICST), 2015 International Conference on (pp. 385-389). IEEE. Vasan A. S. S., Long, B., Pecht M., 2014, Experimental validation of LS-SVM based fault identification in analog circuits using frequency features. In Engineering Asset Management 2011, 629-641, Springer London. Wang J., Shi J., He Q., 2015, October, Research on component-level health quantitative assessment based on SVM algorithm for analog electronic circuits, In Prognostics and System Health Management Conference (PHM),2015, 1-5, IEEE. Wang S.Y., 2015, Research into a wireless smart parking system, 46, 241-246, Chemical Engineering Transactions, DOI: 10.3303/CET1546041. Wang T., 2014, Track circuit fault diagnosis method based on least squares support vector machine, Railway Standard Design, 2, 022. Yi F.Y., He R., Luo Z.J., Parameter optimization design model of permanent magnet retarder based on artificial neural network algorithm, Chemical Engineering Transactions, 46, 229-234, DOI: 10.3303/CET1546039. Yu R., 2015, Parameter matching strategy of electric vehicle based on genetic algorithm, 46, 163-168, Chemical Engineering Transactions, DOI: 10.3303/CET1546028 Zhou J., Tian S., Yang C., Ren X., 2014, Test generation algorithm for fault detection of analog circuits based on extreme learning machine, Computational Intelligence and Neuroscience,2014, 55. 762 http://www.aidic.it/cet/15/46/indice.html#A122A http://www.aidic.it/cet/15/46/041.pdf http://www.aidic.it/cet/15/46/indice.html#A117A http://www.aidic.it/cet/15/46/indice.html#A118A http://www.aidic.it/cet/15/46/indice.html#A119A http://www.aidic.it/cet/15/46/039.pdf http://www.aidic.it/cet/15/46/039.pdf http://www.aidic.it/cet/15/46/indice.html#A86A http://www.aidic.it/cet/15/46/028.pdf