›› 2015, Vol. 28 ›› Issue (12): 92-.

• 论文 • 上一篇    下一篇

楼宇自控系统中BACnet网络节点平台的开发

李里,付东翔   

  1. (上海理工大学 光电信息与计算机工程学院,上海 200093)
  • 出版日期:2015-12-15 发布日期:2015-12-15
  • 作者简介:李里(1991—),男,硕士研究生。研究方向:楼宇自动化。E-mail:1136791564@qq.com。付东翔(1971—),男,副教授。研究方向:嵌入式系统,楼宇自动化。

Development of BACnet Network Node Platform

LI Li,FU Dongxiang   

  1. (School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
  • Online:2015-12-15 Published:2015-12-15

摘要:

针对楼宇自动化中BACnet协议的实现及协议栈移植的问题,提出了对协议栈交互模型简要的设计方法,介绍了移植到STM32开发板的过程。该方法分析了协议结构中应用层、网络层和数据链路层的实现过程。移植以BACnet-stack-0.8.2版本源代码为样本,根据标准对象的功能需求和硬件配置对BACnet协议栈进行剪裁和移植。实验结果使STM32开发板成为一个BACnet网络节点设备,能通过RS485与PC机上的虚拟设备进行通信,具有读写属性等服务的能力。

关键词: BACnet协议;STM32平台;移植;通信

Abstract:

This paper introduces the application of BACnet protocol and transplantation of protocol stack,proposes a brief method on designing stacks interactive model,and presents the process of transplanting into STM32 demoboard.This method analyzes the implementation process of every layer in BACnets structure including application layer,network layer and data link layer.Transplantation is based on the BACnet-stack-0.8.2 version,with the BACnet stack tailored and transplanted according to standard objects function and hardware configuration.The STM32 demoboard is transformed into a BACnet node device which can communicate with virtual device in PC through RS485 and fulfill services like read and write properties.

Key words: BACnet protocol;STM32 platform;transplant;communication

中图分类号: 

  • TN915.04