초록
This paper presents the implementation for the master changing algorithm between nodes in a general electric vehicle. The packet processing method based on the unique network method of an electric vehicle is that the method of processing a communication packet has the priority from the node of a vehicle installed at both ends. An important factor in deciding master or slave in a train is that the request data, the status data, and transmits or control codes of sub-devices are controlled from the node which master becomes. If the request data or the status data is transmitted from the non- master side, it is very important that only one of the devices of both stages be master since the data of the request data may collide with each other. This paper proposes an algorithm to select master or slave depending on which vehicle is started first, which node is master or slave, and whether the vehicle key is operation. Finally experimental results show the stable performance and effectiveness of the proposed algorithm.