NB-IoT无线路灯控制器研究
2021-01-07孟志强刘小可周华安童轩郑瑶
孟志强 刘小可 周华安 童轩 郑瑶









摘 要:设计了一款高性能NB-IoT无线路灯控制器. 该路灯控制器使用M5311窄带物联网传输模块实现无线通信,使用嵌入式单片机STM8作为控制器,使用智能电量采集芯片HLW8112实时采集路灯的电压、电流、功率、电能、功率因数等电气参数,具有灯具故障诊断与报警、灯具远程或本地渐变与瞬时调光、灯具电源开关控制等功能. 分析与设计了路灯控制器的M5311与CPU接口电路、D/A调光电路、电气参数采集电路、主程序、定时器中断服务子程序、联网服务子程序、指令解析子程序、故障诊断子程序、路灯控制器与远程控制平台的通信协议. 路灯控制器测试平台的实验结果验证了NB-IoT无线路灯控制器的功能与性能,满足现代城市路灯智能控制的要求.
关键词:物联网;控制系统;无线网络;路灯控制器;调光
中图分类号:TM923 文献标志码:A
Research on Wireless Street Lamp Controller Based on NB-IoT
MENG Zhiqiang1,LIU Xiaoke1†,ZHOU Huaan2,TONG Xuan1,ZHENG Yao1
(1. College of Electrical and Information Engineering,Hunan University,Changsha 410082,China;
2. College of Mechanical and Vehicle Engineering,Hunan University,Changsha 410082,China)
Abstract:A high-performance Narrow Band Internet of Things (NB-IoT) wireless street lamp controller is designed in this article. The wireless communication module of this street lamp controller is achieved by using the NB-IoT transmission module M5311, and the embedded single-chip STM8 is taken as the controller. Electrical parameters such as voltage, current, power, electrical energy, and power factor of street lamps can be measured in real time by the intelligent electrical energy collection chip HLW8112 in the designed street lamp controller, which has the functions of lamp fault diagnosis and alarm, remote or local gradation and instant dimming of lamps, power switch control and so on. The interface circuit between M5311 and CPU, D/A dimming circuit and electrical parameters acquisition circuit of wireless street lamp controller, the main program, timer interrupt service subroutine, networking service subroutine, instruction analysis subroutine, fault diagnosis subroutine of the control program and communication protocol between street lamp controller and remote control platform are analyzed and designed. The experimental results of the street lamp controller test platform verify the functions and performance of the NB-IoT wireless street lamp controller, which can meet the requirements of modern urban street lamp intelligent control.
Key words:internet of things;control systems;wireless networks;street lamp controller;dimming
隨着城市建设的高速发展,城市道路的数量及规模日益扩大,城市道路照明的能源消耗日益增多[1]. 为减少路灯照明的能源消耗,基于物联网技术的城市道路照明智能控制系统已成为一种必然,在城市道路照明建设中起着重要的作用. 在物联网城市路灯智能照明控制系统中,单灯控制器是控制并监测照明灯具的关键设备,主要的无线物联网通信方式有Zigbee、WIFI、LoRa和NB-IoT.
文献[2]设计了基于Zigbee和神经网络的照明控制系统,提升了Zigbee通信的稳定性,但Zigbee传输距离不远,易受道路障碍物的影响,且一个网络系统可控制的路灯数量较……
