現今車輛大都採用控制器區域網路(CAN)通訊技術,以改善車輛網路舊有的問題,如雜訊干擾、配線繁雜等,但在診斷部分還是多沿用舊有的通訊協定與車廠規範。本論文目標為製作出符合ISO 15765 CAN診斷通訊協定之車輛診斷模擬系統,研究內容分成通訊協定規劃採用與實體架構建立兩部分探討。 在通訊協定規劃方面,係利用了ISO 15765、ISO 14229-1、ISO 15031-5與ISO15031-6四種通訊協定來達到所規劃車輛診斷模擬系統的需求。其中,ISO 15765通訊協定為本文資料鏈結層、網路層通訊規劃之依據,再配合ISO 14229-1、ISO15031-5協定的應用層與ISO 15031-6的故障碼規定來建立應用層之診斷運用。 在實體架構建立方面,係利用Atmel T89C51CC01微控制器、Philips PCA 82C251收發器與其它相關電子零件製作出具有符合ISO15765通訊協定之車輛ECU之診斷功能模擬實體,並配合NI-CAN 硬體介面卡與程式語言Visual C++ 6.0的單文件樣版功能設計車輛診斷系統的應用程式並符合本文車輛車輛診斷模擬系統實體層的規範,藉此與車輛ECU之診斷功能模擬實體作故障診斷、引擎運轉參數的擷取,以作為車輛診斷系統與採用ISO15765通訊協定之車輛引擎作實際連結之可行性驗證。 測試結果顯示,此車輛診斷系統在擷取符合ISO15765通訊協定之車輛ECU之診斷功能模擬實體的引擎運轉參數,其擷取結果與實際情形相吻合;在擷取故障碼功能方面,符合ISO15031-6規劃之需求。由結果顯示,可利用此車輛診斷系統作為開發ISO 15765通訊協定診斷系統之雛形。 關鍵字: 車輛診斷系統,CAN,通訊協定
Nowadays, most of vehicles are equipped with a communication system called Controller Area Network (CAN) to solve the long-bothering network problems, such as disturbing noise interference, bewildering tangle of cables. However, for diagnostics, most of the vehicles manufacturers still follow conventional protocols and standards. In order to implement a vehicle fault diagnostic simulation system with ISO 15765 protocol, the reserach is conducted by following two parts: One is the communication protocol and the other is the physical structure to study. For the aspect of communication protocol, ISO 15765, ISO 14229-1, ISO 15031-5, and ISO15031-6 are selected to achieve the demands of vehicle fault diagnostic simulation system. The ISO 15765 protocol is mainly followed by the construction of data link layer and network layer, and ISO 15765 associates with ISO 14229-1 and ISO15031-5 and trouble codes in ISO 15031-6 applied to build diagnostic application in the application layer. In the part of physical structure, the micro controller of Atmel T89C51CC01, the transceiver of Philips PCA 82C251, and other electronic components are used to simulate a car ECU with diagnostic function. Furthermore, a NI-CAN card and an application developed by using software of Visual C++ 6.0 with single-document template are utilized to design a human-computer interface (HCI) for the vehicle diagnostic system. The diagnostic system coupled with the simulated car ECU can perform fault diagnostics, acquisition of engine operating parameter, so as to validate the feasibility of adopting the diagnostic system in connection with a vehicle engine following ISO 15765 communication protocol. The experiments are performed for acquiring the signals of engine operating parameters using the developed simulation engine system, and the results show that the test result matche the actual measurement results, and, moreover, the received trouble codes correctly match the corresponding demand of the ISO 15031-6 formulation. Therefore, the vehicle fault diagnostic simulation system developed in this thesis can be developed to be a prototype of a practical vehicle diagnostic system with ISO 15765 protocol. Keywords: Vehicle fault diagnostic system, CAN, Communication protocol