The automatic test system based on CAN bus was designed, which could be used to maintain the digital chariots; The DSP + FPGA control processing technology and the AFPN intelligent fault diagnosis technology was used in the system, and in the process of diagnosis for each extension direction of the functional modules respectively fuzzy Petri net model was established, the system can be used to test the subsystem independently or the whole system, by which the people could locate the fault quickly. The system has strong ability to adapt. The application showed that the system would be better applicable to modern digital chariots of maintenance support, and which was used easily, the fault could be done quickly and efficiently.