基于STM32的某型装备工况分析仪的设计
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design of CAN data acquisition instrument based on STM32
  • 作者:杨帆 ; 马春庭 ; 李浩谊
  • 英文作者:Yang Fan;Ma Chunting;Li Haoyi;Ordnance Engineering College;
  • 关键词:STM32 ; CAN总线 ; W5500 ; RT-Thread
  • 英文关键词:STM32;;CAN-bus;;W5500;;RT-Thread
  • 中文刊名:WDZC
  • 英文刊名:Electronic Test
  • 机构:陆军工程大学石家庄校区火炮工程系;
  • 出版日期:2017-09-15
  • 出版单位:电子测试
  • 年:2017
  • 期:No.376
  • 语种:中文;
  • 页:WDZC201718008
  • 页数:3
  • CN:18
  • ISSN:11-3927/TN
  • 分类号:23-25
摘要
为解决对某型装备的CAN总线数据的实时采集转发的问题,设计一种基于STM32的CAN数据采集分析仪。下位机基于RT-Thread实时操作系统,使用W5500实现与以太网的连接,作为客户端建立与PC服务器端的TCP连接,捕获CAN总线数据然后重构成以太网数据包并通过SPI总线传给W5500,后者将其转换为以太网数据包并通过RJ45网口发送给PC服务器。数据采集仪可以实时采集高速CAN数据并转发给PC服务器,便于计算机进行后期处理并分析装备工作状况。
        In order to solve the problem of real-time acquisition and forwarding of CAN bus data of a certain equipment, a CAN data acquisition analyzer based on STM32 is designed. The lower machine based on RTThread real-time operating system with W5500 used to realize the connection with Ethernet establish TCP connection to PC server as client, and then capture the CAN bus data and turn to Ethernet packets and sent to the W5500 through the SPI bus, which will be converted into Ethernet packets and send through the RJ45 network to the PC server. The data acquisition device can collect high-speed CAN data in real time and forward it to the PC server, which is convenient for computer to deal with later and analyze the working condition of equipment.
引文
[1]李玉泽,刘鹏.一种基于STM32的CAN_Ethernet网关设计[J].长春理工大学学报(自然科学版).2016,39(02):120-124.
    [2]李起伟.基于RT-Thread的CAN转以太网网关的设计.单片机与嵌入式系统应用.2016,(05):46-52.
    [3]刘纯虎,付斌,盛庆华.基于STM32的微型USB-CAN适配器开发[J].计算机测量与控制.2013,21(04):996-999.
    [4]闵华松,黄斑斑,刘淼.以太网CAN总线转换器的延时特性分析及设计[J].计算机工程与设.2012,33(02):503-513.
    [5]夏继强,袁骏,满庆丰.基于ARM处理器的CAN-Ethernet通信模块实现[J].测控技术.2004,23(09):30-34.
    [6]周建斌,万文杰,赵祥.基于ARM实现高速CAN转USB[J].实验室研究与探索.2017,36(03):129-132.
    [7]岳彬彬,李向阳.基于Cortex-M3的USB-CAN转换器开发[J].计算机工程与科学.2012,34(05):68-72.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700