针对星载总线的测试特点,本文设计了一种基于FPGA多通道总线转换器,实现了USB接口与CAN、三线、RS485、RS422接口复合类型总线的数据交互,同时实现了总线数据长度的自由配置。本文从转换器的硬件构成、PC端的数据封装、FPGA设计思路几个方面对系统进行介绍。设计方案分别通过了基于ModelSim和硬件测试平台的验证,验证结果表明,该方案功能正确,性能良好,可为后续星载总线测试工作提供参考。
Abstract
The multi-channel bus convertor based on FPGA has been designed to match the characterstic of onboard bus test.The multi-channel bus converter has achieved the function of communication between USB, CAN bus, RS485 bus, RS422 bus and three line bus and cofiguration of bus data length.This paper has introduced the hardware compostion, data encapsulation and software design of the converter.The design has been verified by ModelSim and hardware device, the result of the verification indicates that system is implemented correctly with high performance, and informs the design of future missions and instruments.
关键词
FPGA /
EP4CE6E22C8 /
转换器 /
USB转CAN /
USB转RS485
Key words
FPGA /
EP4CE6E22C8 /
converter /
USB turn to CAN /
USB turn to RS485
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 祖家国, 吴艳华, 杨岩, 等.遥感卫星平台与载荷一体化设计综述[J].航天返回与遥感2018, 39(4):8794.
[2] 刘大鹏.基于STM32单片机的CANUSB转换器设计[J].工业技术创新, 2014, 1(5):589593.
[3] 李勋, 刘文怡.基于FPGA的RS485USB转换器设计与实现[J].自动化与仪表, 2014, 29(2):2023.
[4] 张耀峰, 张会新, 李大全.RS422USB接口转接装置的设计与实现[J].电子器件, 2016, 39(6):14251428.
[5] 关俊强, 左丽丽, 吴维林, 等.基于FPGA和CAN控制器软核的CAN总线发送系统的设计与实现[J].计算机测量与控制2016, 24(3):281284, 288.
[6] 刘志宏, 翟耘萱, 久元溦.基于FPGA的星载CAN总线通信系统的设计[J].单片机与嵌入式系统应用, 2021, 21(2):3538, 43.