摘要
为了解决发动机热试验过程中,发动机电子控制单元ECU(electronic control unit)的CAN接口与热试验台架中可编程逻辑控制器PLC(programmable logic controller)的RS232接口不能直接通信的问题,设计一款基于STC89C52单片机的RS232—CAN转换器。对转换器的硬件接口电路和软件设计流程进行了详细分析。该转换器结构简单、工作可靠,可以完成发动机热试验过程中测试系统与发动机电子控制单元ECU的实时数据通信。
A RS232/CAN converter was proposed and designed based on STC89C52 in order to slove the problem of communication between CAN bus and RS232,The circuit of the hardware interface and software design were given in detail.The adapter was simple in structure and relible in operation.The testing results in the lab and on site shown that the interface could operate the communication well in engine hot test.
出处
《科学技术与工程》
北大核心
2013年第29期8775-8780,共6页
Science Technology and Engineering