节点文献

基于嵌入式Linux的BACnet协议栈实现

BACnet protocol’s Implementation Based on the Embedded Linux

【作者】 袁博

【导师】 董春桥;

【作者基本信息】 华中科技大学 , 供热、供燃气、通风与空调工程, 2006, 硕士

【摘要】 BACnet标准和LonWorks技术是建筑设备自控网络的两种主流技术和标准。LonWorks技术通过专用硬件和专用软件开发平台为二次应用开发提供了完善的开发环境,应用简单快捷。采用LonWorks技术必须购买专用硬件和软件,不能开发出具有自主知识产权的产品及其系统,虽然可以暂时赢得利益和市场,但从长远的观点来看,失去的是核心竞争力。而采用BACnet标准就可以开发出具有自主知识产权的产品和系统,虽然比较困难,但得到的是核心竞争力。如果能开发出一个通用BACnet嵌入式操作系统(Embedded OS),进而将它移植到各种嵌入式系统中,则可以创建一个类似于LonWorks技术中的神经元芯片的片上系统(SOC),就可以方便地开发出具有自主知识产权的建筑设备自控设备和产品,冲破国外产品在我国的垄断地位,使我国智能建筑市场迈入健康发展的轨道。Linux是目前嵌入式系统应用最多的操作系统之一,其内核具有高度模块化和可剪裁的特点,并提供强大的任务管理、定时器管理、存储器管理、队列管理和中断处理等能力。本文在Linux内核中实现了BACnet协议栈的状态机。利用Linux内核的定时机制,实现了BACnet状态机中的分段定时器和请求定时器。在此基础上实现了“读属性”、“写属性”等多种基本的服务。利用Linux内核的队列管理功能,实现了BACnet应用层服务原语。基本建立了一个通用的BACnet嵌入式操作系统软件平台。该软件平台可以根据不同的开发需求,建立不同的对象模型,并将对象映射具体的控制硬件上,就开发出不同的BACnet控制器。在本文中,将开发出的BACnet嵌入式操作系统软件平台移植到一块ARM嵌入式开发板,测试结果表明协议栈运行良好,符合BACnet协议的规范。

【Abstract】 LonWorks and BACnet are two main technology and standard in building automation and control area. By supplying proprietary hardware and software tools, LonWorks makes its use very convenient. LonWorks makes its users rely on its hardware and software tools, so users can’t develop the building automation and control products and systems with proprietary intellectual property rights. Though they can make profits from the market temporarily, they lose the key competitive strength in the far sight. Though there are many problems, if we can develop the building automation and control products and systems that have proprietary intellectual property rights with BACnet standard, we will win the key competitive strength.If a general BACnet embedded operating system can be developed and transplanted to many kinds of embedded system, then a system on chip similar to the LonWorks Neuron Chip can be developed. We can develop the building automation and control products with proprietary intellectual property rights conveniently, and break the dominance of the foreign products, and make our country’s intelligent building market grow healthily.Linux is one of the mostly used operating systems in the embedded system area now. Its kernel is highly modular and configurable..It has strong abilities of task management, timer management, memory management, queue management and interrupt management. In this paper, a BACnet state machine has been implemented. Based on the kernel’s timer management ability, the segment timer and the request timer have been achieved. Some basic services such as ReadProperty, WriteProperty have been implemented based on the state machine. Based on the kernel’s queue management ability, the application service primitives have been implemented. Therefore , a basic BACnet communication platform has been developed. According to the different control requirements, different objects model can be made and then mapped to the different control hardware, then different controllers can be developed.In this paper, the BACnet embedded operating system is transplanted to a embedded system. The test result shows that the embedded operating system runs well and conforms to BACnet standard.

  • 【分类号】TP393.04
  • 【被引频次】7
  • 【下载频次】235
节点文献中: 

本文链接的文献网络图示:

本文的引文网络