一种改进的加密算法在空调群控系统中的研究与实现
2016-07-22张开生王沛
张开生+王沛


摘要:目前,空调已经成为办公楼里最基本的设备,人们在工作时间需要频繁的对空调进行开关以及调温等操作,如何对空调进行统一、有效的操控是人们非常关注的一个问题。课题以嵌入式微控制器LPC2103为核心,利用电力载波技术设计了一种楼宇空调群控系统,该系统利用现有的电力线对空调开关控制指令进行传输,并提出了一种新的加密算法对电力线传输的数据进行加密以确保控制指令的安全性。与传统的人工控制方式相比,该系统很好地解决了楼宇空调群控工作量大的问题,并且可以做到“随时控温、定时开关、统一操控”的效果,有效地避免了资源浪费的现象。
关键词:加密算法;嵌入式系统;电力载波;空调群控;红外编码
中图分类号:TP79 文献标识码:A 文章编号:1009-3044(2016)16-0231-03
Abstract: Now, air conditioning has become the most basic equipment in office, and how to control the air conditioning uniformly and effectively has been a problem that people concerned. The subject took the embedded microcontroller LPC2103 as the core, designed a building air conditioning group control system by using power carrier technology, the system used the existing power lines to transmit the air conditioner control commands, and proposed a new encryption algorithm to encrypt the data which transmitted by power line to ensure the security of control instructions. Compared with the traditional manual control method, the system solves the problem of heavy workload in building air conditioning control system well, and realize the effect of controlling temperature at any time, timing switch and uniformly control, which effectively avoid the waste of resources.
Key words:encryption algorithm; power line carrier; group control system; embedded system; infrared coding
随着人们对工作环境条件的不断提高,在办公楼或者写字楼里的使用空调的数量和频率大幅增加,同时由于空调分布在不同房间内,数量多,且线路复杂,这无疑增加了楼宇电控室的控制难度[1]。目前已有智能家居的相关技术已经投产使用,但是都限于一个房间内或几个房间内的智能控制,无法达到对于一些有着较高管理要求的场所进行控制,例如学校公寓,公司办公室。大型楼宇中,电控室控制每个房间的空调不仅工作量大,而且效率低,出现浪费能源的情况,同时也可能由于房间内使用空调遥控器的人员操作不当会对遥控器或空调造成损坏为了解决上述现有问题,系统采用电力载波通讯技术对空调进行群控,实现远程操作,不仅可以由电控室值班人员远程控制任一房间内的空调,还可以通过计算机进行统一控制[2-3]。……
