The rapid development of electronic technology is changing people’s production and life,"green & intelligent" has become the consensus of all walks of life.From the "smart house,intelligent building,intelligent transportation to smart city",using modern electronic technology to achieve intelligent management is the inevitable trend of future development.Intelligent management of the teaching building is also very important,China has large population,the phenomenon of energy waste of the teaching building is relatively common.Remote management of classroom appliances by using modern electronic technology can greatly reduce the energy consumption,therefore the design of remote centralized control system has social significance and value of good engineering.The paper took remote room appliances as the goal and took hierarchical networking technology as the means,through the combination of intelligent acquisition and CAN transmission,centralized control and intelligent control,finally realized the centralized control,effectively improve the efficiency of energy.The main research work of the paper is as follows:(1)According to the system requirements,two types of hardware circuit node were designed on the CAN bus communication line,the classroom node and the management room node.Both of them are include CAN bus communication module,and the former also includes personnel detection module,optical detection module,temperature and humidity detection module,electrical control module.The latter includes display module,number detection module,RS232 communication module and so on.(2)Designed the software flow on the basis of the hardware.The software design of the classroom node includes the main process,the interrupt service program,the temperature and humidity detection process and so on.The software design of the management node includes the display process of LCD1602,the number of people to check the process,the serial communication process and so on.In order to facilitate the operation and display,the management software of the teaching building which communicates with the host computer is designed by using VC++.In order to further realize energy saving,an adaptive control algorithm for teaching floor is designed according to the actual use.(3)In order to realize the system smoothly,simulated each module by using Proteus software,including personnel detection module,LCD1602 display module,temperature and humidity detection module,optical detection module,the simulation algorithm of the adaptive control effect by using Matlab software.Using physical production to finish the system and carried on module testing and overall testing.The results show that the classroom electrical remote centralized control system is feasible,which lays a foundation for subsequent engineering applications. |