基于微处理的嵌入式BACnet网关实时:基于单片机LPC2106 和实时操作系统μC/OS-II,构建了嵌入式BACnet 网关。针对BACnet 网关的实时性要求,对CPU 处理速度、操作系统时间精度、内存管理等方面进行了研究。通过μC/OS-II 对网关的多任务进行实时调度,满足了嵌入式BACnet 的实时性能。关键词:实时操作系统;μC/OS-II;嵌入式BACnet 网关;实时调度Study of BACnet Gateway’s Real-time PerformanceWU Shubin, LIU Xiande, WANG Zhongming(Department of Optoelectronic Engineering, HUST, Wuhan 430074)【Abstract】Embedded BACnet gateway has been constructed with singlechip LPC2106 and real-time operating system μC/OS-II. To satisfy withBACnet gateway’s real-time request, the paper studies the CPU execution speed, operating system’s time precision, memory management, and so on.Using μC/OS-II to schedule the gateway’s multi-task, embedded BACnet gateway’s real-time performance has been met.【Key words】Real-time operating system; μC/OS-II; Embedded BACnet gateway; Real-time schedule