首页 | 官方网站   微博 | 高级检索  
     

一种多串口映射TCP端口的核数据采集系统设计
引用本文:何剑锋,曾家骏,何敬上,许志文,刘琳,汪雪元.一种多串口映射TCP端口的核数据采集系统设计[J].太赫兹科学与电子信息学报,2022,20(10):1095-1100.
作者姓名:何剑锋  曾家骏  何敬上  许志文  刘琳  汪雪元
作者单位:1.江西省放射性地学大数据技术工程实验室,江西 南昌 330013;2.江西省核地学数据科学与系统工程技术研究中心, 江西 南昌 330013;3.放射性地质与勘探技术国防重点学科实验室,江西 南昌 330013
基金项目:国家自然科学基金资助项目(11865002);江西省教育厅科技资助项目(GJJ160556;GJJ170462);江西省放射性地学大数据技术实验室开放基金资助项目(JELRGBDT201703);放射性地质与勘探技术国防重点学科实验室资助项目(RGET1609)
摘    要:为解决多种数据类型兼容的并行采集困难、接入计算机串口资源匮乏、采集数据传输误码率高等诸多问题,设计并实现了多串口映射TCP端口(MSMTPS)的多种核辐射数据类型连续并行采集系统。采用以太网实现核辐射数据采集系统与计算机的数据交互,系统由STM32F103处理器与W5500以太网芯片构成,具有多个串口同时与以太网口交互的能力。为接收不同辐射数据的串口分配队列缓冲区,使多个串口与同一个TCP端口映射,基于TCP端口与上位机建立连接,实现多类串口与单网络端口双向快速传输。测试使用3个串口,分别以0.5 s,1 s,5 s时间间隔发送,各发送498 bytes,499 bytes,499 bytes数据,连续发送10 min。结果显示系统传输稳定,无误码,符合设计要求。

关 键 词:多串口映射TCP端口  异构数据  连续采集
收稿时间:2020/9/1 0:00:00
修稿时间:2021/9/30 0:00:00

Design on nuclear radiation data acquisition system with Multi-Serial Mapping TCP ports
HE Jianfeng,ZENG Jiajun,HE Jingshang,XU Zhiwen,LIU Lin,WANG Xueyuan.Design on nuclear radiation data acquisition system with Multi-Serial Mapping TCP ports[J].Journal of Terahertz Science and Electronic Information Technology,2022,20(10):1095-1100.
Authors:HE Jianfeng  ZENG Jiajun  HE Jingshang  XU Zhiwen  LIU Lin  WANG Xueyuan
Abstract:A continuous parallel collection system for multiple nuclear radiation data types with Multiple Serial ports Mapped to TCP ports(MSMTPS) is designed and implemented in order to deal with the problems of compatible parallel collection of multiple data types, lack of access serial port resources for the computer, and high bit error rate of collected data transmission. The ethernet is adopted to realize the interaction between nuclear radiation data acquisition system and computer. The system is composed of STM32F103 processor and W5500 ethernet chip, with multiple serial ports capable of interacting with ethernet ports simultaneously. By allocating queue buffers for serial ports that receive different radiation data, mapping multiple serial ports to the same TCP port, and establishing a connection with the host computer based on the TCP port, the fast bidirectional transmission between multiple serial ports and a single network port is realized. In the test, three serial ports are utilized to send 498 bytes, 499 bytes and 499 bytes of data at 0.5 s, 1 s, and 5 s intervals for 10 min. The results show that the system is stable and error-free, which meets the design requirements.
Keywords:Multiple Serial ports Mapped TCP ports  heterogeneous data  continuous acquisition
点击此处可从《太赫兹科学与电子信息学报》浏览原始摘要信息
点击此处可从《太赫兹科学与电子信息学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号