本文主要目的在於依據OSEK/VDX協定,針對車載電子控制單元(ECU)使用CAN匯流排通訊網路,所規範之作業系統、通訊與網路管理標準,進行OSEK ECU網路管理功能應用程式介面函式庫(API)之研發。 本研究首先使用C/C++語言,進行API程式編輯,並以Keil C166開發軟體編譯完成後,藉由Infineon之燒錄器「DAP miniWiggler」以及燒錄軟體「Infineon Memtool」燒錄至Infineon XC2336B40F晶片中,並結合測試軟體及CAN介面,進行ECU網路管理功能之開發,以及OSEK ECU節點網路管理功能測試。 本文完成OSEK網路管理中的11項應用程式介面函式庫,以11項API架構出具OSEK ECU網路管理功能之系統模型,實現OSEK規範中的狀態轉換、監控和配置管理等功能。另藉由網路管理協議單元定義訊框格式,實現睡眠模式,以達到節能目的。本文加入Bus Load功能,隨時監控網路負載情況,能夠確保網路通訊品質,更有效率的運用網路。本研究成果可提供車輛零件供應廠及車輛製造廠在車輛網路ECU元件或系統模組開發階段引用,藉以提昇國內車輛電子產業相關技術。
This article is based on the open standard specification of the communication network operting system, communication management and network management of OSEK/VDX protocol for ECU on vehicles, and develops the APIs of network management of OSEK on ECU. This research compiles the API program based on C language by Keil C166, and online programming to Infineon XC2336B40F. combining the testing software and CAN interface, this research proceeds the development of the API of network management of OSEK on ECU, and tests the network management of nodes OSEK on ECU. This article completes the 12 APIs of OSEK network management, and constructs the network module based on OSEK network management by this 11 APIs. Also, this research implements the state transition, monitoring and configuration management, and define the message frame by the network manafement, protocol data unit. In addition, it accomplishes the sleep made for energy saving. Join Busload function to monitor the network load, network communications to ensure quality, more efficient use of the network. This research can be involved into vehicle parts supplier or vehicle manufacturer for developing the ECU of network on vehicle or system module. And, it improves the domestic relevant industry technology of telematics.