Development of ECU Virtualization which includes PC based testing of software which is effective in augmenting test bench verification of ECU Software which reduces development cost, time to market and to done validation , reduce hardware dependency for validation of software and sometimes way to deal with discontinued hardware. System for ECU virtualization consists of a SIL running on a Computer system. Control strategy MATLAB model (.mdl) file will be converted to C code. Test cases covering functionality of model is prepared and fed to software. System will run MIL as well as SIL and run test cases on both of them and compare the results and give equivalence result. Code that will go into hardware is tested so that to ensure the code generated from model is working as desired. SIL tests the code that is flashed into production hardware. This ensures the code generated from model is working as desired. To simulate the software conveniently, it is usual to use a locally-hosted compiler to run the code on the laptop and then, when the code has been satisfactorily tested, deploy the code on the target on HIL/vehicle for hardware related testing. Thus, ECU Virtualization helps in testing production code without any actual hardware, with the same environment in non-real time. This increases efficiency and decreases unnecessary redundancy, wiring, and maintenance efforts as well. It enables even more valuable synergy effects with respect to the production and operating costs, energy consumption, and error-proneness. The required validation goal of NPI projects is done in lesser time with ECU Virtualization. Code shall be tested with respect to following parameters: Numerical Equivalence, Code Coverage, Functional testing, Test coverage based on requirements, Code execution time, Dead Code, Data Overflow errors. Limitations of the System are Exact behavior of the ECU cannot be incorporated in the Virtualization. Situations that are difficult to produce manual debugging, Timing errors analysis, Fault simulation Specific activation of hardware faults, Real time testing is not possible with the project as testing is done in virtual machine and no real hardware is connected. Our paper expectations are System of ECU virtualization is developed for ECU code testing using Software-in-loop for early stage digital validation of control strategy of EV, equivalence testing also compares the MIL and SIL results which helps to understand if there are any changes when model (.mdl) file is converted into c code giving us more accurate results, Code shall be tested with exhaustive test cases giving us more robust code and reduction in field errors and manpower cost. By developing this system of SIL testing issues were captured in Control Software with early stage simulation for validation and improves the current process of vehicle or HIL testing. Virtual ECUs (V-ECUs) provide function developers with a solution for testing their ECU software, including the communication between the ECUs, before hardware prototypes are available.
Mrs. Bhakti Kalghatgi, Deputy General Manager, TATA MOTORS LTD
Ecu Virtualization
FWC2023-DGT-010 • Digitalisation
Upgrade your ICC subscription to access all Library items.
Congratulations! Your ICC subscription gives you complete access to the FISITA Library.
Retrieving info...
Available for purchase on the FISITA Store
OR