本研究主要目的在於建置可調參數彈性配置之增強型診斷技術,配合自行建立的USB-CAN通訊資料轉換傳輸模組,擷取車輛ECU節點的CAN診斷訊息,以精確掌握ECU節點狀態,進行線上調校與維修。 本文開發技術首先建立USB-CAN通訊資料轉換傳輸模組,此模組系統核心採用NXP LPC1768微控制器,並開發微控制器的USB及CAN功能,提供診斷儀(PC)與受測端(ECU)間的實體線路連結。韌體部分則依據ISO14229-1規範,藉由Visual C++ MFC開發視窗人機介面軟體程式。本研究完成之核心程式架構於Windows XP或Windows 7 系統平臺,以進行增強型診斷功能函式庫測試驗證;完成的功能函式包括DiagnosticSessionControl (0x10), Testerpresent (0x3E), ECUReset (0x11), SecurityAccess (0x27), ReadDTCInformation (0x19), ReadDataByIdentifier (0x22), CommunicationControl (0x28), InputOutputControlBtIdentifier (0x2F), SecuredDataTransmission (0x84), ClearDiagnosticInformation (0x14), ResponseOnEvent (0x86), RoutineDownload (0x31)等12項功能。 本研究開發完成之增強型診斷技術,在對車輛ECU節點CAN診斷服務功能進行診斷測試時,能夠迅速對讀取ECU節點診斷服務訊息,並儲存診斷服務相關資訊,業者或使用者藉以掌握車況,進行維修服務,值得更深入的研發及推廣應用。
This paper presents the development of enhanced diagnostics system with self-built USB-CAN data communication transmission module to support the diagnostic services of ECU. The diagnostic system can capture vehicle ECU diagnostic messages to monitor the ECU node status, OBD, calibration and maintenance. This project first established USB-CAN data communication transmission module. With Visual C++ MFC/CShop to develop Windows HMI software program, according to the ISO14229-1 standard, flexible configuration of the adjustable parameters to build enhanced diagnostic service; complete structure of the core program for Windows platform, coupled with the development of the USB-CAN data communication transmission module, to provide diagnostic tester (PC Windows 7 or XP) and by measuring side (ECU) circuit to link and conduct enhanced diagnostic API tests, such as DiagnosticSessionControl (0x10), ReadDTCInformation (0x19), ClearDiagnosticInformation (0x14), ReadDataByIdentifier (0x22), Testerpresent (0x3E), ECUReset (0x11), SecurityAccess (0x27), CommunicationControl (0x28), SecuredDataTransmission (0x84), ResponseOnEvent (0x86), InputOutputControlBtIdentifier (0x2F), RoutineDownload (0x31). An enhanced diagnostics system is designed, implemented and tested with Vector/ CANoe for various performance evaluations in this paper. The enhanced diagnostics system developed in this study can support diagnostic services for ECU diagnostic tests. It can read the diagnostic services of ECU node for messages and stored information diagnostic services quickly. It is possible to develop and apply widely