首页> 外文会议>IEEE International Conference on Industrial and Information Systems >Development of a field programmable gate array based Controller Area Network sniffer
【24h】

Development of a field programmable gate array based Controller Area Network sniffer

机译:基于现场可编程门阵列的控制器局域网嗅探器的开发

获取原文

摘要

In this paper we discuss about a hardware based Controller Area Network (CAN) sniffer. This sniffer will listen to a CAN network, read incoming frames, convert them to computer understandable form and forward it to the computer. For this an extensive study of the CAN protocol was carried out. In this study the CAN message frame architecture, bit coding techniques and CAN bit sampling techniques were examined. For the implementation, a developer board with Xilinx Spartan 3E Field Programmable Gate Array (FPGA) which has 1920 Configurable Logic Blocks (CLB) was used. To match the FPGA voltages and Transistor-Transistor Logic (TTL) to RS-232 logic, intermediate circuitry was used. When realizing the implementation, from the available total, 431 flip flops and 768 Look Up Tables (LUT) were used. From these 601 were used as logic, 166 were used as route through and 1 was used as a shift register. Due to the limitations of the FPGA and the developer board, the developed sniffer was limited to 125 Kbps low speed fault tolerant CAN. When a CAN frame arrives at the FPGA, it reads the frame, divides into 17 bytes and forwards to the computer using RS-232 serial communications. In the realized implementation there is a 20.625 ms delay between reading two frames. This is due to a bottle neck in RS-232 baud rate. This can be improved by using Universal Serial Bus (USB) protocols to communicate with the computer.
机译:在本文中,我们讨论了基于硬件的控制器局域网(CAN)嗅探器。该嗅探器将侦听CAN网络,读取传入的帧,将其转换为计算机可理解的形式并将其转发给计算机。为此,对CAN协议进行了广泛的研究。在这项研究中,检查了CAN消息帧体系结构,位编码技术和CAN位采样技术。对于该实现,使用了具有Xilinx Spartan 3E现场可编程门阵列(FPGA)的开发板,该板具有1920个可配置逻辑块(CLB)。为了使FPGA电压和晶体管-晶体管逻辑(TTL)与RS-232逻辑相匹配,使用了中间电路。在实现该实现时,从可用总数中,使用了431个触发器和768个查找表(LUT)。这些601用作逻辑,166用作路径,1用作移位寄存器。由于FPGA和开发板的限制,开发的嗅探器仅限于125 Kbps的低速容错CAN。当CAN帧到达FPGA时,它将读取该帧,分成17个字节,然后使用RS-232串行通信转发到计算机。在实现的实现中,读取两个帧之间存在20.625 ms的延迟。这是由于RS-232波特率出现瓶颈。通过使用通用串行总线(USB)协议与计算机进行通信,可以改善此问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号