摘要
新能源车辆有控制器多、程序更新速度快的特点,为了解决整车厂下线车辆的控制器及时更新程序的问题,文章阐述了一种基于C++开发上位机的方法,通过增加上位机通道选择窗口的方法,使用同一上位机打开不同的窗口和选择不同通道的设置,可同步刷写多类型的控制器,而且可实现更换硬件后自动识别再次自动刷写、监控刷写数据、自动复位控制器重新刷写等功能,大大降低了整车厂为下线车辆升级控制器的时间成本和人力成本。
New energy vehicles have the characteristics of many controllers and fast program update speed.In order to solve the problem of timely updating the program of the controller of the off-line vehicle of the vehicle manufacturer,this paper expounded a method of developing host computers based on C++.By the method of increasing channel selection window of the host computer,using the same host computer to open different windows and select different channel settings,multi-type controllers can be flashed synchronously,and the functions of automatic recognition and automatic flashing again,monitoring and flashing data,and automatic reset controller re-flashing can be realized after replacing the hardware,which greatly reduced the time cost and labor cost of the vehicle manufacturer to upgrade the controller for the off-line vehicle.
作者
周升辉
王春生
吴光耀
李伟
ZHOU Shenghui;WANG Chunsheng;WU Guangyao;LI Wei(Product Planning and New Technology Research Institute,BYD Auto Stry Company Limited,Shenzhen 518118,China)
出处
《汽车实用技术》
2022年第21期59-63,共5页
Automobile Applied Technology
关键词
控制器
同步刷写
上位机
新能源汽车
C++
Controller
Synchronous flash
Host computer
New energy vehicles
C++