主权项 |
1. A fan test device, comprising;
a connector used to connect an interface of a fan under test on a motherboard, the connector comprising a ground pin, a power pin, a speed signal pin, and a pulse width modulation (PWM) signal pin; a power test unit comprising a first contact and a second contact, wherein the first contact is connected to the ground pin of the connector, the second contact is connected to the power pin of the connector; a signal test unit comprising a third contact and a fourth contact, wherein the third contact is connected to the first contact, the fourth contact is connected to the PWM signal pin of the connector; a single chip microcontroller (SCM) connected to the speed signal pin and the fourth contact; and a keyboard connected to the SCM to input a max speed FMAX and a preset duty cycle P1 of the fan, according to a formula: speed F1=FMAX*P1; the SCM outputs a first control signal to the speed signal pin to control the fan to operate under the speed F1, the fan outputs an actual speed F2 of the fan to a baseboard management controller (BMC) of the motherboard; an actual duty cycle P2 of the fan is calculated according to a formula: P2=F2/FMAX, the BMC outputs a PWM signal for the actual duty cycle P2 to the PWM signal pin, and a duty cycle P of the PWM signal is calculated according to a formula: P=P2/P1. |