基于USB2.0的多串口数据采集设计
DOI:
CSTR:
作者:
作者单位:

1. 榆林学院能源工程学院测控教研室 榆林 719000; 2. 中国人民解放军96658部队 北京 100094; 3. 西北机电工程研究所第九研究室 咸阳 712000

作者简介:

通讯作者:

中图分类号:

TB47

基金项目:


Designing the multi serial ports data collection based on USB2.0
Author:
Affiliation:

1. The office of Measurement and Control in Energy Engineering Institute of Yulin University, Yulin 719000, China; 2. PLA 96658 Unit, Beijing 100094, China; 3. Northwest Institute of Mechanical & Electrical Engineering, Xianyang 712000, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对多串口实际需求,依据USB2.0与串口传输速度差特点,提出了一种基于USB2.0的多通道串口数据采集方案。在硬件上,针对热插热拔设备供电限制及系统可靠性要求,对主要芯片进行论证选型,并设计系统框架;在软件上,为了避免多串口主动同时“抢占”USB接口而导致数据丢帧问题,引入多级缓存结构,变主动“抢占”为被动入栈,同时采用统计方法设计串口防抖捕获模型。为了验证设计模型的有效性,以Demo平台为试验对象,设计了4路串口传输的试验方案,实验结果满足预期要求,达到多路串口传输的目的。

    Abstract:

    For the actual demand of multiserial port, a USB2.0  based multichannel serial data acquisition scheme was proposed in this paper according to the characteristics of USB2.0 and serial transmission speed difference. In the respect of hardware, for the hot stuck equipment power supply restrictions and system reliability requirements, the main chip demonstration selection, and the system framework was designed; In the respect of software, in order to avoid multiserial active at the same time ‘preemptive’ USB interface and data frames loss, the multilevel cache structure was introduced to change the initiative to ‘preemptive’ for the passive stack. At the same time, the serial image stabilization capture model was designed by statistical method. In order to verify the effectiveness of the design model, the test scheme of 4way serial transmission was designed with the Demo platform as the test object. The test results meet the expected requirements and achieve the purpose of multichannel serial transmission.

    参考文献
    相似文献
    引证文献
引用本文

郭敏,庄信武,任海波,王向东.基于USB2.0的多串口数据采集设计[J].国外电子测量技术,2017,36(11):75-79

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2017-12-23
  • 出版日期:
文章二维码