Abstract:
Abstract: During the past few decades, more and more hydraulic components in vehicles have been replaced by electronic control units (ECU). The increasing number of ECUs leads to the larger demands for real-time and high-speed communication between ECUs. As a result, communication network has become an inevitable trend in vehicles. Compared with the traditional controller area network (CAN) bus, FlexRay bus has great advantages in transmission efficiency, reliability and flexibility. Since it can meet the future requirements of network communication between ECUs, it has been applied to the power system, chassis system and X-by-wire system in some vehicles. However, how to guarantee the safety and reliability of FlexRay network communication has become an important problem. AUTOSAR NM (automotive open system architecture network management) possesses the functions of the state real-time monitoring and the cooperative sleep of network nodes, which are suitable for the vehicular FlexRay network management. AUTOSAR FlexRay NM mainly consists of 3 basic modes: bus sleep mode, synchronization mode and network mode. Based on the AUTOSAR NM, a network communication management method with fault detection function is proposed and designed. First, a FlexRay network of an automotive chassis and AUTOSAR NM is described. Second, the network internal nodes' state transition model of network communication management is established. For this model, besides normal operation state, repeating message state and state of preparing for sleep in AUTOSAR NM, a state of Error check is introduced to identify the communication faults of network nodes. Third, a distributed fault detection state mechanism is designed for the Error check state. Finally, the processing mechanism to the fault by the application layer is also given. Through the cooperation between the NM message and a variety of timers, the nodes can easily make sure whether the communication of suspected nodes works well. Furthermore, to reduce the bandwidth consumption of the previous NM, the calculation method for the key parameters is taken into consideration. The NM message is incorporated with the user messages, and then a mixed frame structure is adopted. The parameters like FlexRay static slot and the values of all NM timers are designed. At last, the experiments in Vector CANoe, which is a special software for automotive network application, are carried out to validate the proposed NM method in the paper. In the experiments of node communication failure, our NM with Error check has shorter response time to the node communication failures in the network than the traditional OSEK NM and the response time is also steadier. Besides, the practice of the network cooperative sleep is verified. In the other experiments for the bandwidth consumption, the equations of the consumption rate are presented, and the results show that the bandwidth consumption is close to zero because of the mixed structure while the bandwidth consumption of other methods is more than 5%. When the number of nodes is a constant, the bandwidth consumption of the previous NM decreases by 5% with the increase in the number of user messages. So the NM with Error check function proposed in the paper can be more suitable for the real-time application in the vehicular communication. In the future, the state transition model and the fault detection mechanism of network communication management will be further optimized.