新能源汽车仪表盘的CAN总线通讯研究
2021-11-07王悦张昕
王悦 张昕




摘要: 随着汽车产业的高速发展,新能源汽车逐渐步入大众的视野,其仪表盘显示信息相对于传统汽车仪表更全面、更智能。本文介绍了新能源汽车组合仪表盘的整体设计和功能检测过程。硬件电路采用STM32F103VET6为中央处理器,CAN—601作为CAN总线通讯的收发器,实现了将汽车各模块数据进行通过总线信息实时接收至仪表模块并进行显示的目的。利用VisualTFT组态软件平台设计仪表盘测试界面和测试程序,测试结果表明该仪表盘具有抗干扰能力强、可靠性高、结构简便和通讯速度高等特点,能够有效解决新能源汽车仪表盘通讯问题[1]。
Abstract: With the rapid development of the automobile industry, vehicles with new energy have entered the public' s vision gradually. The dashboard display information is more comprehensive and intelligent than traditional vehicle instruments. The new energy vehicle combination dashboard is mainly designed to test the function, meanwhile the overall design and function testing process are introduced during this paper. The hardware circuit uses STM32F103VET6 as the central processor, and CAN-601 as the transceiver of CAN bus communication, which realizes the purpose of receiving and displaying the data of each module of the vehicle in real time through the bus information. VisualTFT configuration software platform is used to design the test interface and test program of the dashboard. The test results show that the dashboard has strong anti-interference ability, high reliability, simple structure and high communication speed, which can effectively solve the communication problem of the dashboard of new energy vehicles.
关键词: 新能源汽车;CAN总线;仪表盘
Key words: new energy vehicles;CAN bus;dashboard
中图分类号:TH868 文献标识码:A 文章编号:1674-957X(2021)21-0022-02
0 引言
随着新能源汽车智能化越来越高,汽车仪表盘的显示信息增多,仪表盘布局也更加复杂。传统汽车仪表必须把传感器线束接到仪表上才可以进行使用,不可以节省传感器,布线复杂,增加汽车重量、功耗高等缺点。同时各模块之间的线束连接也会导致电磁抗干扰能力减弱使汽车仪表盘所接收的数据准确程度和精确程度有所降低。本文采取CAN总线进行新能源汽车中的数据传输,通过对CAN通讯接口进行研究,依据CAN总线的实时性、可靠性和灵活性等特点,采用SAE J1939协议,设计可实时获取车辆信息的新能源汽车仪表盘,能提高仪表的工作效能,对汽车仪表技术发展有促进作用[2]。
1 CAN总线和SAE J1939的概述
CAN协议以国际标准化组织的开放性互联模型为参照,规定了数据链路层、物理层和应用层。……
