基于ARM的智能插座控制系统设计
基于ARM的智能插座控制系统设计(论文13000字,原理图)
摘要:智能家居是物联网科技快速发展的重要成果之一,随着各种低成本高效率的传感器的出现,满足各种智能家居功能需求的智能硬件也是层出不穷。插座作为家庭中最为基础的设备,实现其智能化是实现家居智能的第一步。本论文设计了一个基于STM32芯片的智能插座控制系统。该系统作为一种嵌入式设备可以实时监控插入插座的电器设备的电流、电压和功率这三个工作状态。若插座负载功率超过设定的最大功率值,系统将会自动断电,并发出短信,告知用户。用户也可以通过短信,远程控制电路的断开和连接,以此实现插座的智能化。同时,该系统还具备过继保护功能。所设计的系统具有功耗低,性能稳定等特点,在保障家庭用电安全化和智能化方面具有一定的实用价值。
关键字:STM32;智能插座;实时监控;过继保护;短信控制
Intelligent socket control system based on ARM
Abstract:Smart home is one of the important achievements in the rapid development of Internet of things technology. With the emergence of low cost and high efficiency sensor, Intelligent hardware is endless which could meet the needs of a variety of smart home functions. Realizing intelligent of socket, as the most basic equipment in the family, is the first step to realize intelligent household. An intelligent socket control system based on STM32 chip is designed in this paper. As an embedded device, the system can monitor the current, voltage and power of the electrical equipment of the socket in real time. The system will automatically cut off and send a message to the user if the outlet load power exceeds the set maximum power value. Users can also send message to implement the intelligent of the socket by remote controlling circuit disconnection and connection. At the same time, the system also has the adoptive protection function. The designed system has some features such as low power consumption, stable performance characteristics and practical value in terms of household security and intelligence.
Keywords: STM32; intelligent electrical outlet; real-time monitoring; adoptive protection; SMS control
目 录
1引言 1
1.1技术应用 2
1.2智能接口 2
1.3 本文主要内容 3
2系统设计 5
3硬件设计 5
3.1 主控模块 5
3.1.1启动电路 6
3.1.2JTAG接口电路 7 [资料来源:www.doc163.com]
3.2电源模块 7
3.3监测模块 8
3.3.1数据采集 8
3.3.2数据的AD转换 9
3.4显示模块 9
3.5短信模块 11
3.6继电保护模块 12
3.6.1继电保护电路设计 12
3.6.2电路器件介绍 12
4软件设计 13
4.1主程序设计 13
4.2子程序设计 14
4.2.1显示模块的设置 14
4.2.2AD转换模块的设置 14
4.2.3短信模块工作流程介绍 15
5功能调试 17
5.1实时监测 17
5.2继电保护和短信报警功能 18
5.3短信通信功能 20
5.3.1短信模块初始化 20
5.3.2短信远程控制功能 21
6总结 22
参考文献 23
致谢 24
[资料来源:Doc163.com]