| As the kernel device of building automation system, the building controller monitors and controls the states and parameters of the field electromechanical equipment, and it receives the orders and management information from PC and sends the data acquired in the field.At present, majority building controllers in the domestic markets are overseas brand, such as Honeywell and Johnson in America, Siemens in Germany etc, based on field bus with expensive price.Under this background, carrying on the reaearch to the problem of widespread electromechamcal equipment and signal diversity, this paper designs a new-style building controller based on Rabbit2000 with autonomous intellectual properties according to the idea of "Top-Down". This kind of building controller is constituted by data acquisition module, data storage module, output control module and communication interface module. The software system, developed by Dynamic C language, is composed by three parts: interpretation and execution of control strategy, processing of communication, and cycle detection and control of multi-channel digital and analog signals. The control strategy of building controller is established by several function blocks, which are corresponding to algorithms realized in the module of interpretation and execution of control strategy. The TCP/IP stack is reduced, and several protocols are realized. Modbus/TCP, a kind of industrial Ethernet protocol, is used as the communication protocol between the controller and supervision computer. The running state of the field electromechanical equipment can be monitored and controlled by the building controller without the support of the supervision computer.As can be showed in the result of debugging and testing to the building controller, all the demanded functions have been implemented, and the building controller satisfies the request of building automation system with high cost-performance. |