Abstract:This paper designs a new type of test bench that can detect photoelectric and Hall two different speed sensors. The test bench consists of two parts: hardware and software. The hardware part mainly includes industrial computer, frequency converter, AC asynchronous motor, signal conditioning board, PCI high-speed data acquisition card, etc.; the software part mainly uses the VC++ development language under Microsoft Visual Studio 2010, and processes the data collected by the high-speed data acquisition card. In this software, the speed sensor output signal is converted into the corresponding speed value display according to the signal period and the wheel diameter value; at the same time, the waveform diagram of the output signal is also displayed in real time. In addition, the signal period, duty cycle, and phase difference of the two signals are also calculated. The performance of the speed sensor is judged by comparing the set speed with the measured speed and the phase difference and duty ratio of the output waveform. Taking the TQG15BL photoelectric speed sensor as an example, it is verified by experiments that the designed test bench has good stability and real-time performance, and the detection accuracy can reach 0.2%.