Diagnostic Feature Automation and Diagnostic Tool For in - Vehicle Infotainment (IVI) System
Diagnostic Feature Automation and Diagnostic Tool For in - Vehicle Infotainment (IVI) System
form of music, videos and pictures to the user. Today IVI Relay information from the PC to the IVI system
systems are becoming more complex as they are getting more Convert the data sent by the PC into CAN frames
and more features to give the user an exhilarating experience which can be understood by the IVI system
while driving the vehicle. Due to the increased number of
features, testing of the IVI system has become a complex and
time consuming process. After the IVI system has been
designed, it needs to be tested by the automotive manufacturer
before integrating it into the vehicle. This type of testing done
at the manufacturing stage is referred to as EOL (End-Of-
Line) testing. Testing methods today make use of open source
programming languages such as python. However the
manufacturers are prohibited from using open source tools and Fig. 1. Basic block diagram
software for testing. Thus the objective of this project is to
develop two methods of testing: (i) Manual testing and (ii) In the proposed manual and automatic testing methods, the
Automatic testing for the IVI system using Vector CANoe, a software on the PC sends a request to the IVI system and the
proprietary software. The programming language used is IVI system responds with a positive or negative response as
CAPL (CAN Access Programming Language). To perform shown in Fig. 1. Based on this response, it is determined
manual testing, a diagnostic tool has been created. The whether the test has passed/ failed.
proposed diagnostic tool provides the manufacturers with 3
modes of request transmission and 15 Customizable Hot Keys III. UDS STANDARD
(CHKs). For performing automatic testing, a CAPL script has UDS has been standardized as ISO 14229 – 1. Some of the
been developed. The proposed CAPL script for diagnostic services defined by this standard have been mentioned below
feature automation completes the testing of the entire ECU along with their service ID (hexadecimal value):
(Electronic Controller Unit) in less time and with little human Diagnostic session control (0x10)
effort. It also provides a lot of useful information to the ECU reset (0x11)
manufacturers. As both these methods are developed using Read DTC (0x19)
licensed software, they can be employed by automotive Clear DTC (0x14)
Read data by identifier (0x22)
Write data by identifier (0x2E)
1093
International Journal of Pure and Applied Mathematics Special Issue
on key ‘a’
{
// code
}
Fig. 5. An example CAPL program
1094
International Journal of Pure and Applied Mathematics Special Issue
1095
International Journal of Pure and Applied Mathematics Special Issue
Fixed hot keys (FHK) – Frequently used requests are VII. RESULTS AND DISCUSSIONS
already stored in the key.
A. Diagnostic tool
Customized hot keys (CHK) – Allows the
manufacturer to save any request that he wants to the An example of how a request is sent and received in the
key. 15 such keys have been provided. Two check general R/W section is shown in Fig. 12. The ECU reset
boxes are present: General R/W and Direct service is selected from the service type drop down list and the
transmission. If the General R/W check box is ticked, value 3 is typed in D0 to request for the sub-function - soft
it indicates that the message typed in the General reset as shown in Fig. 12(a). On clicking send request button,
R/W section needs to be saved to the key. The same the values entered are put into the CAN request frame (Fig. 2)
applies to the Direct transmission check box as well. and transmitted. The positive response received is shown in
Fig. 12(b).
(a)
(b)
Fig. 12. (a) ECU reset request and (b) ECU reset response
1096
International Journal of Pure and Applied Mathematics Special Issue
(b) (b)
Fig. 13. (a) Write request and (b) write response Fig. 14. (a) Request is saved to CHK 12 (b) On pressing CHK 12, the
request saved in it is transmitted
Fig. 14 shows an example for Customizable Hot Keys
(CHK). The request is typed in the „data to transmit‟ box of B. CAPL based diagnostic feature automation
the Direct transmission section. The send button has a dual
functionality. It not only sends the request but it also saves the The result for CAPL based diagnostic feature automation is
request into a buffer. The Direct transmission check box is shown in Fig. 15. The amount of time taken is shown at the
selected to indicate that the request typed in the Direct bottom right corner of the window in Fig 15(b).
transmission section needs to saved to the desired CHK. A text
box is provided near each CHK, for typing the name/ purpose
of the CHK, so that the manufacturer knows what he has
saved in the CHK. On clicking the desired CHK, the request is
saved in it (shown in Fig. 14(a)). After saving the request, the
check box is deselected and now whenever the CHK is
pressed and the request is transmitted and the response
received can be viewed in the General R/W section (shown in
Fig. 14(b)).
(a)
(a)
(b)
Fig. 15. (a) Information about each test is displayed and (b) Result for
CAPL based diagnostic feature automation
1097
International Journal of Pure and Applied Mathematics Special Issue
C. Hardware implementation Pacific Power and Energy Engineering Conference (APPEEC), pp. 1-5,
March 2010.
Fig. 16 shows the overall hardware implementation. [8] P. O‟Reilly, “An overview of the potential contribution of diagnostics to
improving vehicle safety and reducing vehicle emissions”, IEE
Colloquium on Vehicle Diagnostics in Europe, February 1994.
[9] P. Greening, “On-board diagnostics for control of vehicle emissions”,
IEE Colloquium on Vehicle Diagnostics in Europe, February 1994.
[10] Swathi K and S M Narasimhan, “Implementation of diagnostics module
in car-infotainment system,” International Journal of Scientific &
Engineering Research, vol. 6, pp. 1025-1028, May 2015.
[11] C. Sasikumar, Rohit Agrawal, Saurabh Gupta, Saurabh Gupta and Ravi
Maheshwari, “Built in self-test for fault tolerant real time in-vehicle
networks through automotive diagnostics,” 2011 International
Conference on Emerging Trends in Networks and Computer
Communications (ETNCC), pp. 379 – 382, 2011.
[12] Hela Lajmi, Habib. M. Kammoun and Adel. M. Alimi, “Advanced
control units diagnostic based on Ethernet for smart cars,” 2015 4th
International Conference on Advanced Logistics and Transport (ICALT),
pp. 269 – 274, 2015.
[13] Piet Engelke and Hermann Obermeir, “Funding project DIANA –
Integrated diagnostics for the analysis of electronic failures in vehicles”,
2012 17th IEEE European Test Symposium (ETS), pp. 1-1, May 2012.
[14] Monica Sălcianu and Cristian Fosalau, “A new CAN diagnostic fault
simulator based on UDS protocol,” 2012 International Conference and
Fig. 16. Overall hardware implementation Exposition on Electrical and Power Engineering, pp. 820-824, October
2012.
[15] Anca Lupei and Loredana Stanciu, “Application for UDS automated test
VIII. CONCLUSION generation,” 2016 IEEE 11th International Symposium on Applied
Two methods of testing: a diagnostic tool to perform Computational Intelligence and Informatics (SACI), 12-14 May 2016.
manual testing and a CAPL script for performing automatic [16] Alexandros Mouzakitis, Nataraja Muniyappa, Richard Parker and Shamal
Puthiyapurayal, “Advanced automated onboard vehicle diagnostics
testing of the diagnostic features in the IVI system have been testing”, UKACC International Conference on Control 2010, September
developed. The tool has been developed to make the 2010.
manufacturer‟s work easier by providing new features like [17] Alexandros Mouzakitis, Anand Nayak and Shamal Puthiyapurayal,
three options for sending requests and 15 customizable hot “Automated fault diagnostics testing for automotive electronic control
keys. Diagnostic feature automation using CAPL script units deploying hardware-in-the-loop”, UKACC International Conference
on Control 2010, pp. 1-6, September 2010.
completes the testing of the IVI system within a short period
[18] Supriya Kelkar and Raj Kamal, “Adaptive fault diagnosis algorithm for
of time and requires less human effort. Thus the motivation to Controller Area Network,” IEEE Transactions on Industrial Electronics,
help the automotive manufacturers to test the IVI system Volume 61, Issue 10, pp. 5527 – 5537, October 2014.
manually and automatically using licensed tools and software
has been achieved. Deepti Susan John completed her B.E in Electronics and
Communication Engineering from Anna University in 2015.
REFERENCES She is an alumnus of Meenakshi Sundararajan Engineering
[1] Deepti Susan John, Dr. V. Sathiesh Kumar, Prasath Ramalingam and College, Chennai, India. She is currently pursuing M.E in
Manikandan Murugesan, “In – Vehicle Infotainment (IVI) system VLSI design and Embedded systems at Anna University –
diagnostic tool”, in Proceedings of 9th National Conference on Signal
Processing, Communication and VLSI Design (NCSCV‟17), Anna Madras Institute of Technology Campus, Chennai, India and is
University, Regional Campus, Coimbatore, pp. 486 – 491, March 2017. doing her internship at Visteon Technical and Services Centre
[2] Giovanni Betta, Domenico Capriglione, Antonio Pietrosanto and Paolo Pvt. Ltd, Chennai, India.
Sommella, “A Methodology to Test Instrument Software: An
Automotive Diagnostic System Application,” IEEE Transactions on Dr. V. Sathiesh Kumar is an Assistant Professor, Department
Instrumentation and Measurement, vol. 57, pp. 2733-2741, June 2008.
[3] Shankar. C. Subramanian, Swaroop Darbha and K. R. Rajagopal, “A
of Electronics Engineering, Anna University - Madras Institute
diagnostic system for airbrakes in commercial vehicles”, IEEE of Technology Campus, Chennai, India.
Transactions on Intelligent Transportation Systems, vol. 7, no. 3, pp.
360-376, September 2006. Prasath Ramalingam is a senior software design engineer at
[4] Rajesh Rajamani, Adam. S. Howell, Chieh Chen, J. Karl. Hedrick and Visteon Technical and Services Centre Pvt. Ltd, Chennai,
Masayoshi Tomizuka, “A complete fault diagnostic system for
automated vehicles operating in a platoon”, IEEE Transactions on India.
Control Systems Technology, vol. 9, no. 4, pp. 553-564, July 2001.
[5] J. R. Wagner, “Failure mode testing tool set for automotive electronic Manikandan Murugesan is a software project manager at
controllers”, IEEE Transactions on Vehicular Technology, vol. 43, pp. Visteon Technical and Services Centre Pvt. Ltd, Chennai,
156-163, February 1994. India.
[6] T. M. Cummings and M. J. Hall, “Vehicle diagnostics – A system
view”, Proceedings of the International Congress on Transportation
Electronics, 1990. Vehicle Electronics in the 90‟s, pp. 473-479, Oct
1990.
[7] Jie Hu, Fuwu Yan, Jing Tian, Pan Wang and Kai Cao, “Developing PC-
based automobile diagnostic system based on OBD system”, 2010 Asia-
1098
1099
1100