摘要
为了推进玻璃绝缘子生产企业实现智能制造,文中设计一个能将产品质量信息实时统计和传入云服务器的智能统计台。该统计台以STC89C52芯片为主控制器,通过基于BC26的NB⁃IoT模块进行数据传输,使用20个按键和20个四位数码管对产品质量类型进行统计和显示,并设置存储、清零、按键确认信号灯等功能模块。主控制器的软件程序主要包括按键扫描、显示定时刷新、存储器写入、对NB⁃IoT模块串口发送等部分。BC26的软件程序主要有数据的串口接收、格式转换、CRC校验码计算、工业物联网协议标准格式的封装,以及与私有服务器的TCP连接和数据传输。经实验测试,该统计台各功能模块能正常运行。
In order to promote glass insulator manufacturers to achieve intelligent manufacturing,an intelligent statistical station capable of real⁃time statistics and transmission of product quality information to cloud servers is designed.The STC89C52 chip is used as the main controller of the statistics station.The data transmission is executed by BC26⁃based NB⁃IoT module.20 buttons and 20 four⁃digit number digital tubes are adopted to carry out statistics and display of product quality types.The functional modules are set up for storage,zero clearing and key⁃controlled signal lamp.The software program of the master controller mainly includes key scanning,display regular refreshing,memory writing,serial port sending to NB⁃IoT module,etc.The software program of BC26 mainly embraces serial port receiving of data,format conversion,CRC check code calculation,packaging of standard format of industrial Internet of Things protocol,and TCP connection and data transmission to private server.The results of the experiment test indicate that all the functional modules of the statistical station can run normally.
作者
谷长春
杨志勇
GU Changchun;YANG Zhiyong(School of Software,Nanchang Hangkong University,Nanchang 330063,China)
出处
《现代电子技术》
2021年第20期93-97,共5页
Modern Electronics Technique
基金
江西省“03专项及5G”项目(20193ABC03A031)
国家自然科学基金项目(61501218)
国家自然科学基金项目(61761031)。