智能制造系统上位机软件设计与实现Design and realization of upper computer software for intelligent manufacturing system
李周利,韩路平
摘要(Abstract):
在某智能制造控制系统中,为获得各系统的实时运行状态,需要将状态数据和过程数据进行保存和分析处理。针对处理数据量大、突发数据多、数据存储和提取处理速度慢等问题,提出智能制造系统上位机软件设计。基于Embedded Visual C++为Windows CE 7.0操作系统编写相关驱动和应用程序,综合采用多线程、线程同步和异步线程的方式,设计数据处理系统软件,实现多种通信网络的数据实时接收、实时保存、实时处理和实时显示功能。经过测试,该方法有效地解决数据丢包和任务繁忙时出现的应用程序阻塞问题,较完美地实现了实时处理和分析功能。
关键词(KeyWords): 智能制造;线程同步;实时处理;软件设计;数据存储;程序阻塞
基金项目(Foundation):
作者(Author): 李周利,韩路平
DOI: 10.16652/j.issn.1004-373x.2018.24.031
参考文献(References):
- [1]徐惠君,张志,刘延华.转杯纺纱机的高速化、智能化及自动化发展[J].纺织导报,2014(1):40-43.XU Huijun,ZHANG Zhi,LIU Yanhua. Development of rotor spinning machinery:high-speed,intelligent and automatic[J].China textile leader,2014(1):40-43.
- [2]朱峰.基于数据流和精确定位的多线程行人探测系统[J].电视技术,2016,40(5):121-128.ZHU Feng. Precise positioning multithreading predestrian detection system based on data stream[J]. Video engineering,2016,40(5):121-128.
- [3]张万君,李静阳,牛敏杰,等.坦克火控系统故障的多线程数据采集方法[J].兵器装备工程学报,2016,37(11):44-48.ZHANG Wanjun,LI Jingyang,NIU Minjie,et al. Multithread fault data acquiring method for tank fire control system[J].Journal of ordnance equipment engineering,2016,37(11):44-48.
- [4]胡晓峰,张亮红,刘文怡,等.VC多线程流水线在数据存储系统中的设计与实现[J].电子器件,2016,39(4):964-967.HU Xiaofeng,ZHANG Lianghong,LIU Wenyi,et al. Design and implementation of data storage system based on VC multithreading and pipelining[J]. Chinese journal of electron devices,2016,39(4):964-967.
- [5] Microsoft Corporation. Building a localized platform in Microsoft Windows CE platform builder 3.0[EB/OL].[2000-06-01].https://msdn.microsoft.com/en-us/library/ms834426.aspx.
- [6] Microsoft Corporation. Introducing Microsoft Windows CE 3.0[EB/OL].[2001-01-03]. https://msdn.microsoft.com/en-us/library/ms834413.aspx.
- [7]沈文伟,杨建华,陈叶富,等.嵌入式数据库SQLite在可视嗅觉系统中的应用[J].仪器仪表学报,2010,31(6):1289-1293.SHEN Wenwei,YANG Jianhua,CHEN Yefu,et al. Application of embedded database SQLite in smell-seeing system[J]. Chinese journal of scientific instrument,2010,31(6):1289-1293.
- [8]王孟禄,李浩,张镭.基于多线程和队列操作的TCM上位机系统设计[J].河南大学学报(自然科学版),2016,46(1):96-101.WANG Menglu,LI Hao,ZHANG Lei. Upper computer system design of TCM based on multithreading and queue operations[J]. Journal of Henan University(Natural science),2016,46(1):96-101.
- [9]张梁,王景存,梅镖.基于CAN总线的中控主机的系统设计[J].计算机测量与控制,2016,24(2):264-266.ZHANG Liang,WANG Jingcun,MEI Biao. A center control computer system based on CAN bus[J]. Computer measurement&control,2016,24(2):264-266.
- [10]马林.基于SQLite的个人通信录管理系统的设计与实现[D].长春:吉林大学,2015.MA Lin. Design and implementation of personal address book management system based on SQLite[D]. Changchun:Jilin University,2015.