摘要
针对石油开采工业控制环境中单片机、DSP采集到海量数据后,传统通讯方法因采用面向用户的顶层封装函数调用思想,无法高效、准确地将数据上传到PC机上进行后续分析和处理的问题。提出一种基于VB(Visual Basic)的高效USB数据传输系统设计方法,通过调用Windows DLL函数对底层通讯硬件端口进行直接配置和读写操作,并对软件进行读写优化,完成了高效的数据传输。仿真实验以油田数据采集为实例,对油田的机械设备振动信号和通信数据进行传输性能测试,仿真结果表明,这种方法的数据传输速率可以达到11.2Mbps,比传统的8.1Mbps平均传输速率提高了38.3%。仿真结果展示了数据传输系统的优越性能。
According to the problems o{ sampled massive data in some certain environment with chip microcomputer and DSP for the oil industry, it was not possible to transfer the data with high efficient when using the old communication method resulted from the top-level function calling. In this paper, a new communication method with VB and USB was proposed. It called DLL function to configure and read/ write from the hardware directly. On the basis to the improvement of the software, the simulation and test was implemented for the oil field data, the machinery vibration signal and its communication performance was taken as the example. The test performance shows that the transfer property is much better than the traditional methods, and the transfer speed can reach 11.2Mbps, which is much faster than public 8. 1Mbps, and the transfer efficiency is improved by 38. 3% with this new method. The simulation result shows the predominant performance in the data transmission application.
出处
《计算机与数字工程》
2013年第10期1628-1631,1635,共5页
Computer & Digital Engineering
关键词
油田数据
DLL函数
USB接口
高效数据传输
oil well data, DLL function, USB interface, data transfer with high efficiency