智能家居蓝牙技术毕业论文
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
智能家居蓝牙技术毕业论文
智能家居蓝牙技术毕业论文题目:基于LPC2138和蓝牙技术的智能家居系统的设计
学科、专业:物理电子学
研究方向:信号检测与处理
摘要
随着电子技术和计算机技术的进步,智能家居逐步进入人们的生活中。然而通过调研发现,目前市场上的产品还都存在这样或那样的不足,例如功能不全、成本较高、安装维护不便等,使智能家居产品没有得到很好的推广。为此,设计了基于LPC2138和蓝牙技术的智能家居系统。
系统采用菲利普公司的LPC2138作为中心控制芯片。LPC2138是基于一个支持实时仿真和嵌入式跟踪的ARM7TDMI-STM CPU的微控制器,支持32/16位代码,有很强的处理能力。其具有多达47个GPIO和9个外部中断,使系统可实现多种功能。
系统应用蓝牙模块来组建家庭内部通信网络。蓝牙技术是一项公开的近距离无线连接的技术规范,工作在2. 4GHz的ISM(工业、科学、医学) 频段上,具有开放性、低功耗等特点,传输距离一般为0.1m~10m,功率放大后可达100m。蓝牙模块在系统中的应用,解决了智能家居系统应用时需重新布线的烦恼。但是,蓝牙工作的ISM频段是全球的公共频段(大多数国家规定该频段为2400~2483.5 MHz ,并划分为79个信道, 每个信道带宽为1MHz),在使用其中某个频段时,也就难免出现相互之间的干扰。为此,系统采用跳频和前向纠错方案以确保链路的稳定性。
在进行系统的硬件电路设计时,为了提高系统电路的通用性,从而将系统分为不同的模块。中心控制模块,负责信息汇总处理和系统总体控制功能;家庭安全防范模块,监控并采集家庭环境信息,并通过系统中心控制模块与安全设备连接可实现安全联动功能;家用电器控制模块,通过控制开关和红外遥控来实现控制家用电器的功能;紧急呼叫模块,实现紧急呼救功能;家庭内部通信模块,即为蓝牙模块,嵌入在系统中心控制模块、家庭安全防范模块、家用电器控制模块和紧急呼叫模块上,实现系统中心控制模块和家庭安全防范模块、家用电器控制模块、紧急呼叫模块间的通信;家庭对外通信模块,可实现自动报警和远程控制的功能。由于系统电路的模块化设计和无线通信技术的应用,从而使得系统便于安装、维护。
在进行软件设计时,遵循模块化的设计思想,既考虑了各模块功能的实现,又兼顾了程序总体的协调性。系统软件主要由一个中心控制程序和六个子程序构成。各个子程序基本上与硬件模块相对应。在ARM公司推出的ADS1.2集成开发环境下,利用C语言进行系统的程序设计。
论文首次将ARM单片机和蓝牙技术应用于智能家居系统中;蓝牙技术的无线连接解决了家庭布线的烦恼;系统的硬件和软件都采用了模块化设计,使得系统具有很强的可移植性。系统的各部分硬件电路均经过联机检测实验,性能良好。
系统具有成本较低,性能完善,可靠性高,易于安装、维护、扩充升级等特点,便于推广和应用。
关键词:智能家居;LPC2138;蓝牙技术;模块化设计
Abstract
With the development of the technology in electronic and communication, the smart home system is coming into people’s life. But the products on the market still have some deficiencies at present, for example, incomplete function, high cost, discommodious to install and safeguard and so on. So the smart home system product isn’t popularized very well. Therefore, the smart home system based on LPC2138 and bluetooth technology has been designed.
LPC2138 which Philip Corporation promotes is used for the master control chip in the smart home system. It is a micro-controller which based on a 32/16 bit ARM7TDMI-STM CPU supported Real-Time Emulation and Embedded Track. It supported 32/16 bit code and can supply strong process function. Because of forty-seven GPIO and nine external interrupt in LPC2138, the smart home system can supply many kinds of function.
Bluetooth technology is used for organizing the communication network in the house. It is one kind of public short distance wireless connection technology manual. It works in the 2.4GHz ISM (Industry, Science, Medicine) frequency band and has many characteristics, for example, openness, low power consumption. Its trans- mission distance is popularly from 0.1m to 10m, it can reach 100m if amplifying its power.The application of bluetooth module in the smart home system,solve the trouble that the system wouldn’t need wiring in house again when being employed. But the ISM frequency band which bluetooth works in is one kind of global public frequency band (defined 2400 to 2483.5MHz by most countries in the world and it is plotted out to seventy-nine channels and the bandwidth is 1MHz). It is inevitable to come across mutual interference when it is working at one of channels. The project of Frequency Hopping and Forward Error Correction is used for insuring stability of the link.
While carrying on hardware circuit design of the smart home system, in order to improve the commonality of the circuit, the system is plotted out different modules. The master control module assumes the information collecting , information processing and the major control of the system; The house safety and protection module monitors and collects the environmental information of the system, it also can realize the safety team work if it connects the safety equipment by the master control module; The household appliances control module can control the household appliances by control switch points and infrared remote-control; The emergency call