汽车控制器在投入使用前需要进行全方位的功能测试,包括汽车控制器和外部的IO信号进行交互测试,还包括与动力系统其他零部件的数据通信测试。采用PXI架构实时控制器,基于NI Veristand开发了一个基于模型的残余总线仿真平台,对电动车主要零部件进行了建模,可以实时仿真被测控制器对象和其他汽车零部件的数据通信和输入输出情况。通过该平台,可以通过数据通信时序图观察并发现被测控制器响应信号延时和其他数据通信故障。描述了通过残余总线仿真平台实现电池管理系统(BMS)与虚拟充电机在充放电过程中实时通信的实际应用案例。试验结果表明,该方法可以有效减少测试系统中真实零部件的使用,降低整个测试系统的复杂度,从而大大降低新能源汽车控制器进行系统测试的成本。
Automotive controllers need a full range of functional tests before actual use, including the interaction testing between controllers and external IO signals as well as the data communications testing with other powertrain components. A modelbased residual bus simulation platform was developed with PXI realtime controller based on NI Veristand and the main components of electric vehicles were modeled. The built model could simulate the data communication and the input and output status between the controller and other automotive components in realtime. Through observing data communication timing diagrams from the platform, the signal delays and other communication failures of tested controller could be found. Finally, the practical application of residual bus simulation platform to the realtime communication between battery management system (BMS) and virtual charger during charging and discharging was described. The experimental result shows that this method can effectively reduce the number of real tested components and lower the complexity of the entire test system, cutting significantly the cost of new energy vehicle controller system test.