Method and device for testing microcomputer control system of diesel locomotive
暂无分享,去创建一个
The invention discloses a method and a device for testing a microcomputer control system of a diesel locomotive. A CAN bus or a serial bus is used for communication with an host computer to receive a The invention discloses a method and a device for testing a microcomputer control system of a diesel locomotive. A CAN bus or a serial bus is used for communication with an host computer to receive atest command from the host computer, and an inter CAN bus is used to receive the test command and transmits the test command to internal signal generation modules which generate a corresponding test stest command from the host computer, and an inter CAN bus is used to receive the test command and transmits the test command to internal signal generation modules which generate a corresponding test signal according to the test command and transmit the test signal to equipment to be tested through an adapter cable; a signal detection module of a testing device detects an output signal of the equipignal according to the test command and transmit the test signal to equipment to be tested through an adapter cable; a signal detection module of a testing device detects an output signal of the equipment to be tested and transmits the output signal to a CPU board through the CAN bus, and the CAN bus or serial bus transmits the output signal to the host computer; and the host computer compares a gment to be tested and transmits the output signal to a CPU board through the CAN bus, and the CAN bus or serial bus transmits the output signal to the host computer; and the host computer compares a given signal with the detected signal to realize the fully automatic closed loop test of the equipment to be tested. The fully automatic closed-loop test is a fully automatic loop test of the equipmentiven signal with the detected signal to realize the fully automatic closed loop test of the equipment to be tested. The fully automatic closed-loop test is a fully automatic loop test of the equipment to be tested which is implemented in a way that: the inside of the testing device adopts a distribution type module based on the CAN bus, the CPU board is connected with a digital quantity input andto be tested which is implemented in a way that: the inside of the testing device adopts a distribution type module based on the CAN bus, the CPU board is connected with a digital quantity input andoutput board, a frequency board, a constant-current source board and a DA board through the internal CAN bus, and the testing device uses the external CAN bus or serial bus of the CPU board to communioutput board, a frequency board, a constant-current source board and a DA board through the internal CAN bus, and the testing device uses the external CAN bus or serial bus of the CPU board to communicate with the host computer and to realize the automatic circulating test of the equipment to be tested.cate with the host computer and to realize the automatic circulating test of the equipment to be tested.