Design and Implementation of Automotive Can-Can Gateway
|School||Harbin Institute of Technology|
|Course||Control Theory and Control Engineering|
|Keywords||CAN-CAN Gateway Routing Latency Scheduling Algorithm OSEK/VDX SimEvents|
Nowadays, a large number of electronic control units (ECUs) combined in passenger-cars are distributed over a multitude of CAN systems (domains) which are connected via embedded gateway. Therefore, the gateway module has become a new challenge and highlight in automotive networks with the increase of cross-domain functionalities. In this paper, the design and implementation of the automotive CAN-CAN gateway is completely researched.Firstly, the design concept of signal-based automotive CAN-CAN gateway is presented and a related development platform based on the 16-bit micro-controller MC9S12XDP512 and the CodeWarrior complier is built. The message buffering, multi-task scheduling and store-forward signal routing are designed in the gateway. Meanwhile, scheduling algorithm, routing delay optimization and network management function are treated as the priority research areas.Secondly, the multi-task scheduling algorithm and priority configuration strategy of the gateway system is studied using the MATLAB SimEvents toolbox. Then, test and analysis of the gateway routing performance, especially with respect to delay, is given on the actual platform after the optimal design and implementation of the ID-based enquiries algorithm and multi-task scheduling using osCAN which conforms to the OSEK/VDX standard and the OSEK Network Management features are also designed and implemented.At last, the performance evaluation system which will be the reference in the development and test phases of automotive gateway is researched. The CAN node, CAN bus and CAN-CAN gateway simulation models are all studied and constructed using the MATLAB SimEvents toolbox. Based on this, a complete configurable multi-domain CAN system is simulated and researched.