Servo driver bandwidth testing platform and method

The invention provides a servo driver bandwidth testing platform which comprises a signal generation and detection device, a servo driver, a motor and an encoder. The signal generation and detection device is connected with the servo driver and used for sending a sine wave velocity command signal to the servo driver. The servo driver is connected with the motor. The signal generation and detection device and the servo driver are both connected with the encoder. The testing platform is simple in structure, high in velocity feedback signal response speed, high in automation degree and free of artificial judgment errors. The invention further provides a servo driver bandwidth testing method. According to the method, the signal generation and detection device automatically sends the sine wave velocity command signal, automatically recognizes and generates a velocity feedback signal through a pulse signal fed back by the encoder, automatically compares the waveform of the velocity feedback signal with the waveform of the sine wave velocity command signal and automatically displays a bandwidth testing result.