Plug and Play (PnP) was originally an industry standard which is constituted for automatic processing of PC hardware installation. With the continuous development, plug-and-play extended to the entire nerwork, so the equipment of network can be found and controlled which realized plug-and-play of network nodes. The topic of this paper is to apply Universal Plug and Play (UPnP) which is addressed TCP/IP network to the CAN network, realize automatic identification of the CAN network nodes.After introduced the subject source, purpose and significance, firstly, this paper reviewed the literature. Secondly, it analysed the communication protocol based on the CAN bus, including CANBus2.0B and CANopen.On this basis, this paper put forward the solution of automatic identification of the CAN nodes based on UPnP. Firstly, it introduced the basic idea which divides communication process into two stages including the stage of CANBus2.0B communication based on physical address and the stage of CANopen communication based on node location information. Secondly, it furtherly expounded the arithmetic about automatic identification of slave node location, and detailed description of how to configure the node from the need to preserve the information. Finally, it described the development of the PnP CAN node prototype based on MCU, hardware development including the serial port communication module and the CAN communication module, software development including the design of the main flow from the node procedure. Against the CAN node prototype, this paper through the experiment proved the feasibility of automatic identification and analysed the real-time of programme.Finally, this paper summed up the work and looked to the next step to further the work. |