主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

汽车实用技术 ›› 2022, Vol. 47 ›› Issue (24): 52-58.DOI: 10.16638/j.cnki.1671-7988.2022.024.009

• 智能网联汽车 • 上一篇    

基于 PCIe 总线的车载高速网络设计与实现

曹坤泽 1,杨朝阳 1,周 奎 2,彭 强 3   

  1. 1.湖北汽车工业学院 汽车工程学院,2.湖北汽车工业学院 汽车工程师学院,3.湖北汽车工业学院 电气与信息工程学院
  • 出版日期:2022-12-30 发布日期:2022-12-30
  • 通讯作者: 曹坤泽
  • 作者简介:曹坤泽(1996—),男,硕士研究生,研究方向为汽车电子与智能驾驶,E-mail:1143775299@qq.com。

Design and Implementation of High-speed Network Based on PCIe Bus

CAO Kunze1 , YANG Zhaoyang1 , ZHOU Kui2 , PENG Qiang3   

  1. 1.School of Automotive Engineering, Hubei University of Automotive Technology,2.Institute of Automotive Engineers, Hubei University of Automotive Technology,3.School of Electrical & Information Engineering, Hubei University of Automotive Technology
  • Online:2022-12-30 Published:2022-12-30
  • Contact: CAO Kunze

摘要: 为了满足自动驾驶汽车在行驶过程中对摄像头数据传输高速可靠等要求,设计了一种 基于 PCI-Express 的高速实时视频传输系统。硬件上选用两块 NXP 的 SBC-S32V234 开发板作 为 PCIe 的节点,端点(End Point, EP)通过 MAX9286 解串器连接路摄像头进行视频采集, 完成摄像头串行接口 2(Camera Serial Interface-2, CSI-2)与 PCIe 的协议转换;根联合体(Root Complex, RC)一端作为数据接收端,接收 EP 端发送过来的视频;EP 与 RC 之间通过两块透 传芯片连接,两块芯片之间进行透明传输。软件上对嵌入式 Linux 系统进行了构建与部署, 并设计了摄像头驱动程序与 PCIe 发送的应用程序。测试结果表明,PCIe 传输速率最高达到 1.5 Gb/s,实现了视频数据高效、稳定、低延时传输,为车载视频传输提供一个新的解决方案。

关键词: Linux 系统;PCIe 通信;摄像头驱动;视频传输;车载高速网络

Abstract: In order to meet the requirements of high speed and reliable camera data transmission during the driving process of autonomous driving vehicles, a PCI-Express high speed transmission system based on embedded Linux development platform was designed. On the hardware, two SBC-S32V234 development boards of NXP are selected as the nodes of PCIe, and the End Point (EP) is connected to an 8-channel camera through the MAX9286 serial decoder for video acquisition, thus completing the protocol conversion between Camera Serial Interface 2 (CSI-2) and PCIe. The Root Complex (RC) end acts as the data receiver and receives the video sent from the EP end. The EP and RC are connected by two transparent transmission chips, and transparent transmission is carried out between the two chips. On the software, the embedded Linux system is constructed and deployed, and the camera driver and PCIe sending application program are designed. The test results show that the PCIe transmission rate is up to 1.5 Gb/s, which achieves efficient, stable and low delay transmission of video data, providing a new solution for vehicle video transmission.

Key words: Linux system; PCIe communication; Camera driver; Video transmission; Vehicle high speed network