Sanjay Mane, TATA Motors
Developing a scalable, flexible, and universal hardware-in-the-loop (HIL) platform to validate the integration of multiple electronic control units (ECUs) for a parallel hybrid vehicle.
Using the scalability of the PXI platform and the out-of-the-box functionality of NI VeriStand software to build a test system that could test six interconnected vehicle ECUs together in just two months.
TATA Motors is India’s largest automobile company. It is the leader in commercial vehicles in each segment and among the top in passenger vehicles, with award-winning products in the compact, midsize car, and utility vehicle segments. It is also the world’s fifth largest truck manufacturer and fourth largest bus manufacturer.
As part of the Advanced Integration Team for TATA Motors, our responsibility is to validate the integration of major electronic components in a vehicle, such as electronic control units (ECUs) and instrument clusters. This responsibility also includes responding to and resolving reported field failures and providing feedback to the respective teams. In a broader perspective, the Advanced Integration Team serves as a bridge between the design phase of vehicle development and final deployment of the vehicle.
The objective of our project was to build a universal test setup that could easily be customized to test any ECU with minimal effort. The system also needed to be scalable to cater to multiple ECUs simultaneously and flexible enough to interact with different ECUs on occasion.
For one of the upcoming parallel hybrid vehicles, we decided to integrate all the ECUs and electronic components in a lab environment and validate the integration using a hardware-in-the-loop (HIL) test. We wanted to cater to all probable field scenarios and rectify issues before assembling the first physical prototype. The results of the integration test could significantly help with the selection of ECU software and the evaluation of options from multiple vendors with multiple functionalities.
When we initially conceptualized the vehicle design, we isolated four major ECU components and devised the test plan per the requirements. At that point, we decided on a non-NI HIL system to meet our test needs. We later procured that system. During the same period, we were using a PXI system from NI to perform HIL testing of one particular ECU for a different vehicle, and we really liked the modularity of the PXI technology. We considered the benefits of the PXI platform and invested in a real-time PXI system from NI that we could use for our future requirements.
As the vehicle design evolved over the next few months, the number of major ECUs increased from four to six. We were short channels in the non-NI HIL system, which was tailor-made for our initial requirement of four ECUs. At that point, we migrated to the real-time NI PXI system and started working with NI VeriStand software.
We added a few modules to meet our channel requirements. By spending some time with NI VeriStand, we were able to build the test software for six ECUs in less than two months.
Multiple plant models simultaneously executed within the NI VeriStand engine, which communicated with the respective ECUs through physical I/O over a controller area network (CAN) network. The ECUs in turn communicated with each other through a shared CAN network. We integrated some physical components with the setup, including the exhaust gas recirculation valve, motors, and electrical loads.
In most cases, the model I/O mapped to the hardware I/O. However, certain non-standard signals, such as the cam and crank, required in-line processing. W e used the NI LabVIEW FPGA Module and NI reconfigurable I/O (RIO) technology to integrate high-speed data capture and signal processing for these signals into NI VeriStand, which offered us immense flexibility.
During the test, we simulated drive conditions and monitored the CAN network for error frames and diagnostic messages from various ECUs. These frames served as an indicator of the quality of integration and helped us identify potential failures. We also isolated ECU firmware issues. We sent feedback from these tests to the design team and, in some cases, to component suppliers.
The HIL test system based on NI products helped us address concerns with our previous setup and also enhanced our productivity in many ways. Some of the main benefits include:
With NI modular hardware and extensible software, we built a future-proof, reliable, and adaptable HIL test system. The ability to customize the system on our own made us confident in the test results and continued support from NI helped us achieve our objectives faster.
Sanjay Mane
TATA Motors