摘要
对通用串行总线(USB)和CAN总线各自的性能进行了比对,根据目前工业控制现场所用的工控机不具有CAN总线接口的情况,设计了一款以CY7C68013和SJAl000为核心的USB-TO-CAN转换器,该转换器体积小巧,成本低廉,可靠性高,适合工业控制现场应用。文中介绍了总体的设计思路,涉及到的主要元器件,硬件电路构成,驱动程序架构,以及上位机底层的软件流程。着重讨论了两种固件程序的实现方案,并给出了这两种实现的测试结果以及改进方法。
As current industrial controlling computers have no CAN bus interface, comparing the performance of USB bus and CAN bus, a USB-TO-CAN converter based on CY7C68013 and SJA1000 is designed in this paper, This converter is small, cheap and reliable, which is feasible to be used in industry locale. Concerning two kinds of firmware implementation schemes, this paper introduces the design methods, the hardware circuits, the framework of drivers, and the technological process of low-level software development on PC. Besides, the experimental results of the implementations and methods to improve this converter are both presented.
出处
《电子测量技术》
2008年第1期20-24,共5页
Electronic Measurement Technology
关键词
通用串行总线
控制器局域网
转换器
固件程序
universal serial bus
controller area network
converter
firmware program