智能插座(单片机或STM32)摘要中国改革开放脚步愈来愈稳定,社会经济发展变的越来越快。我国格外重视加速能源消费结构转型发展,营销推广电磁能替代煤碳和然料,大大的扩展了电能替代的深度和广度。伴随着电力取代的时尚潮流,即将迎来电力消费热潮,却也存有一一电力消耗的大问题。大家的生活质量愈来愈高,绝大多数的家居饰品全是电动式的,许多无意识地电器产品在待机模式下白白浪费非常大的电力。此外,伴随着电器的提高,容易因为插座的过载而出现电气事故,会带来很大的损害。本设计方案选用STC89C51单片机,由单片机最小系统、继电器控制器、采样电源电路和红外发射电路组成。与此同时提升过载保护模块,避免过载、过载造成短路故障,毁坏电器设备。采样电源电路对待机功耗机器的电流量开展采样,当采样值低于设定值时,单片机自动控制系统继电器控制模块关闭电源,完成零休眠。并且通过电器控制器远程控制,能够实现二次插电。另一个LED显示灯标示墙壁插座开/关情况。总的来说,该系统以普通插座为核心,根据单片机和外围电路用C语言程序编写,完成了远程操作、断电休眠、过载维护等一系列作用。能够很好地处理普通人家常见插座作用单一的不够,在符合智能控制系统目的与此同时,大幅度节省电磁能。关键词:STC89C51单片机,插座,红外学习,安全,节能ABSTRACTThe pace of China's reform and opening up is becoming more and more stable,and social and economic development is becoming faster and faster.China attachesgreat importance to accelerating the transformation and development of energyconsumption structure,marketing and promoting the substitution of electromagneticenergy for coal and natural materials,greatly expanding the depth and breadth ofelectric energy substitution.With the fashion trend of power replacement,there willbe an upsurge of power consumption,but there is also a big problem of powerconsumption.Everyone's quality of life is getting higher and higher.The vast majorityof household accessories are electric.Many electrical products unconsciously waste alot of power in standby mode.In addition,with the improvement of electricalappliances,it is easy to cause electrical accidents due to the overload of sockets,which will bring great damage.This design scheme selects STC89C51 single chip microcomputer,which iscomposed of the minimum system of single chip microcomputer,relay controller,sampling power supply circuit and infrared emission circuit.At the same time,theoverload protection module is lifted to avoid short circuit fault caused by overload andoverload and damage to electrical equipment.The sampling power supply circuitsamples the current of the machine to be used for power consumption.When thesampling value is lower than the set value,the relay control module of themicrocontroller automatic control system turns off the power and completes zerosleep.And through the remote control of the electrical controller,the secondary powerinsertion can be realized.The other LED indicates the wall socket on/off.In general,the system takes the common socket as the core,and is programmedin C language according to the single-chip microcomputer and peripheral circuits.Ithas completed a series of functions such as remote operation,power off sleep,overload maintenance,etc.It can well handle the insufficiency of single function ofcommon sockets in ordinary households,and at the same time,it can greatly saveelectromagnetic energy while meeting the purpose of intelligent control system.目录摘要55555................ABSTRACT第一章绪论.11.1智能插座研究的背景及意义1.2智能插座研究的现状及发展趋势.21.3本文研究的主要内容及思路第二章硬件部分设计….42.1总体工作原理2.2单片机最小系统2.3稳压电源模块.52.4继电器模块.6第三章系统软件设计…93.1系统软件设计流程93.2继电器控制程序93.3红外接收程序.103.4采样电路程序…11第四章仿真与调试.124.1仿真设计….124.2仿真调试.14第五章总结与展望.165.1总结.165.2展望.16谢辞.18参考文献19附录一系统原理图
暂无评论内容