Font Size: a A A

Design And Simulation Of Intelligent Residential Area Temperature Data Acquisition System

Posted on:2015-10-03Degree:MasterType:Thesis
Country:ChinaCandidate:L L LiangFull Text:PDF
GTID:2208330431476804Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The living environment and residential safety have become an issue which is very much concerned in today’s society. As a result, the fire pre-warning, the energy consumption monitoring are very important, and they all need the environmental temperature to be detected. The traditional MCU systems cannot satisfy the need of batch temperature data acquisition and storage. Moreover, the accuracy of data, the real-time performance and timely response cannot meet the requirements of systems. So a temperature acquisition system based on ARM and Linux for the intelligent community is designed in this thesis, and in this system the real-time, integrity and accuracy of the data acquisition have all been considered.In this thesis, a temperature data acquisition system for the intelligent community is built on an ARM+Linux system in order to analyze, judge and monitor the data which the management platform on the server gets from the end devices. If the data exceeds a threshold value, the administrative staff will be informed and the fire pre-warning and the energy consumption monitoring will be realized. The design details are described as follows:1.System Programming Design:The data acquisition program initializes the sensors, collect data and send storage commands to the database program; The database program is in charge of the database operations and communication programs for the storage and query of data, and the communication between other programs; The data uploading program sends commands to the database program and query the current data, then communicate with the server and upload the data to the server.2.Server Design:The server will monitor the temperature data uploaded by each end device and make decisions according to the preset threshold values. If the threshold value is exceeded, the server will send alerts and try to handle with it. The main functions of the server are described as follows:Static Alarm is to show the alert status by the color displayed on the interface of the management platform. Red is often used to represent some emergency situations and green often means peace, therefore, in this thesis the red color stands for alerts and the green color stands for normal conditions. Dynamic Alarm is to inform the administrative staff when they are not near the PC and the Static Alarm is triggered. In this thesis a sound alarm is designed for the administrative staff to judge by the sound.Alarm Response is to handle with the situation in the "pre-warning operations" column when the dynamic sound alarm is triggered. The alarm sound can be dealt with by clicking on "management"3.Local Database:It is very convenient for the data query and the management for the administrative staff.4.TCP/IP Socket Communication Protocol is used to ensure the integrity and reliability of the data communication.5.UNIX Domain Socket for Inter-Process Communication realized inter-process communication.A C/S model is built and realized in the temperature data acquisition system. The test results show the flexibility and reliability of this communication mechanism.The system has been tested in practice, and the server can receive the temperature data collected by the sensors every5s without errors and delays. When the temperature exceed the threshold, the server will raise the alarms and the "pre-warning" column will show the red color, so the integrity and reliability of the data acquired by the system are proved.
Keywords/Search Tags:Intelligent Community, Temperature and humidity Acquisition, Fire Warning, Energy Consumption Monitoring
PDF Full Text Request
Related items