基于Android的智能家居控制的设计与实现
发布时间:2019-02-22 09:45
【摘要】:随着科学技术的迅猛发展,人们生活水平的不断提高,智能家居逐渐走进了人们的生活并深受喜爱。智能家居应用无线技术、自动控制技术和计算机技术,通过移动控制终端与家居设备的互联与通信,实现对智能设备的控制。温度作为家居控制的一个重要参数,在人们日常生活中扮演着非常重要的角色,其控制普遍应用于智能家居行业。手机作为智能家居控制的客户端,可以接收并控制监测点的情况,不受地点约束。本文详细阐述了课题研究的背景及意义,分析了智能家居系统的国内外研究现状及发展形势,论述了智能家居系统的关键技术。通过对家庭室内温度的分析与研究,设计并实现了基于Android的智能家居控制系统,主要控制室内温度,使其保持在最适温度值。本文首先通过分析温度采集模块的结构、组成与功能,完成了温度数据采集的设计。该采集模块选用开源的硬件平台树莓派作为中央控制器,选用DS18B20温度传感器作为温度采集模块,采用Mysql数据库作为数据存储平台,实现了温度的采集、存储与显示等功能。在温度控制的设计与实现中,台灯模拟供暖系统,直流电机模拟空调系统。基于DS18B20温度传感器采集的温度数据,读取数据库中的实测温度并与移动终端设置的温度值进行比较,使用Python语言控制供暖或者空调设备,实现温度的控制。根据被控对象的特性建立数学模型,使用PID算法进行温度控制。通过MATLAB/Simulink软件对室温PID控制系统的模型进行仿真与研究,得到最优的PID控制参数,以达到最佳的控制效果。最后,论文详细说明了Android应用程序的设计与实现。通过分析温度的采集与控制,完成了移动终端与控制网关之间的数据通信,实现了APP各个模块的功能。
[Abstract]:With the rapid development of science and technology and the improvement of people's living standard, smart home has come into people's life and is deeply loved. Intelligent home application wireless technology, automatic control technology and computer technology, through the mobile control terminal and home equipment interconnection and communication, to achieve intelligent equipment control. As an important parameter of household control, temperature plays a very important role in people's daily life, and its control is widely used in smart home industry. As the client of smart home control, mobile phone can receive and control the situation of monitoring point, which is not restricted by location. This paper describes the background and significance of the research in detail, analyzes the current situation and development situation of the smart home system at home and abroad, and discusses the key technologies of the intelligent home system. Through the analysis and research of home temperature, the intelligent home control system based on Android is designed and implemented, which mainly controls the indoor temperature to keep it at the optimum temperature value. Firstly, the design of temperature data acquisition is completed by analyzing the structure, composition and function of temperature acquisition module. The collection module uses the open source hardware platform raspberry pie as the central controller, the DS18B20 temperature sensor as the temperature acquisition module, and the Mysql database as the data storage platform. The functions of temperature acquisition, storage and display are realized. In the design and implementation of temperature control, lamp simulation heating system, DC motor simulation air conditioning system. Based on the temperature data collected by the DS18B20 temperature sensor, the measured temperature in the database is read and compared with the temperature value set by the mobile terminal, and the heating or air conditioning equipment is controlled by Python language to realize the temperature control. According to the characteristics of the controlled object, the mathematical model is established, and the PID algorithm is used to control the temperature. The model of room temperature PID control system is simulated and studied by MATLAB/Simulink software, and the optimal control parameters of PID are obtained in order to achieve the best control effect. Finally, the paper describes the design and implementation of Android application program in detail. By analyzing the collection and control of temperature, the data communication between mobile terminal and control gateway is completed, and the function of each module of APP is realized.
【学位授予单位】:沈阳理工大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TU855;TP273
[Abstract]:With the rapid development of science and technology and the improvement of people's living standard, smart home has come into people's life and is deeply loved. Intelligent home application wireless technology, automatic control technology and computer technology, through the mobile control terminal and home equipment interconnection and communication, to achieve intelligent equipment control. As an important parameter of household control, temperature plays a very important role in people's daily life, and its control is widely used in smart home industry. As the client of smart home control, mobile phone can receive and control the situation of monitoring point, which is not restricted by location. This paper describes the background and significance of the research in detail, analyzes the current situation and development situation of the smart home system at home and abroad, and discusses the key technologies of the intelligent home system. Through the analysis and research of home temperature, the intelligent home control system based on Android is designed and implemented, which mainly controls the indoor temperature to keep it at the optimum temperature value. Firstly, the design of temperature data acquisition is completed by analyzing the structure, composition and function of temperature acquisition module. The collection module uses the open source hardware platform raspberry pie as the central controller, the DS18B20 temperature sensor as the temperature acquisition module, and the Mysql database as the data storage platform. The functions of temperature acquisition, storage and display are realized. In the design and implementation of temperature control, lamp simulation heating system, DC motor simulation air conditioning system. Based on the temperature data collected by the DS18B20 temperature sensor, the measured temperature in the database is read and compared with the temperature value set by the mobile terminal, and the heating or air conditioning equipment is controlled by Python language to realize the temperature control. According to the characteristics of the controlled object, the mathematical model is established, and the PID algorithm is used to control the temperature. The model of room temperature PID control system is simulated and studied by MATLAB/Simulink software, and the optimal control parameters of PID are obtained in order to achieve the best control effect. Finally, the paper describes the design and implementation of Android application program in detail. By analyzing the collection and control of temperature, the data communication between mobile terminal and control gateway is completed, and the function of each module of APP is realized.
【学位授予单位】:沈阳理工大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TU855;TP273
【参考文献】
相关期刊论文 前10条
1 廖东旭;金峰;田金辉;;浅谈智能建筑的发展[J];河南建材;2016年04期
2 徐峰;;浅谈智能家居的技术与发展趋势[J];通讯世界;2015年22期
3 陆兴华;吴恩q,
本文编号:2428095
本文链接:https://www.wllwen.com/jianzhugongchenglunwen/2428095.html