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

基于STM32的某型装备工况分析仪的设计
引用本文:杨帆,马春庭,李浩谊.基于STM32的某型装备工况分析仪的设计[J].电子测试,2017(18).
作者姓名:杨帆  马春庭  李浩谊
作者单位:陆军工程大学石家庄校区火炮工程系,河北石家庄,050003
摘    要:为解决对某型装备的CAN总线数据的实时采集转发的问题,设计一种基于STM32的CAN数据采集分析仪.下位机基于RT-Thread实时操作系统,使用W5500实现与以太网的连接,作为客户端建立与PC服务器端的TCP连接,捕获CAN总线数据然后重构成以太网数据包并通过SPI总线传给W5500,后者将其转换为以太网数据包并通过RJ45网口发送给PC服务器.数据采集仪可以实时采集高速CAN数据并转发给PC服务器,便于计算机进行后期处理并分析装备工作状况.

关 键 词:STM32  CAN总线  W5500  RT-Thread

Design of CAN data acquisition instrument based on STM32
Yang Fan,Ma Chunting,Li Haoyi.Design of CAN data acquisition instrument based on STM32[J].Electronic Test,2017(18).
Authors:Yang Fan  Ma Chunting  Li Haoyi
Abstract:In order to solve the problem of real-time acquisition and forwarding of CAN bus data of a cer-tain equipment, a CAN data acquisition analyzer based on STM32 is designed. The lower machine based on RT-Thread 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 for-ward it to the PC server, which is convenient for computer to deal with later and analyze the working con-dition of equipment.
Keywords:STM32  CAN-bus  W5500  RT-Thread
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号