Patent ID: 8595558

Claim:
A computer turn on/off testing apparatus for turning on a computer, comprising: a control module configured to output control signals and receive a turn on signal from the computer to determine whether the computer turns on successfully; a switch module comprising a PNP transistor and a relay; the relay comprising a coil unit and a switch unit; a transistor base electrically connected to the control module, and a transistor collector grounded by the coil unit, wherein the switch unit is electrically connected to the computer; the PNP transistor is configured to be turned on/off, which turns on/off the switch unit, according to the control signals; and the switch unit turns on/off the computer; and a power supply module configured to provide power to the control module and the switch module; wherein the control module is configured to store a predetermined test time; the control module is configured to record abnormal information and test times when the computer turns on/off; the control module is configured to output the control signals to turn on the computer again when the computer cannot restart; and the computer is turned on and off until a turn on/off time of the computer is equal to the predetermined test time; the control module comprises a micro controller and a reset switch; the micro controller comprises a control signal output terminal and a turn on signal input terminal; the control signal output terminal is configured to output the control signals; the turn on signal input terminal is configured to receive the turn on signal; the micro controller further comprises a reset signal output terminal, a first ground terminal and a first power terminal; the reset signal output terminal is electrically connected to the first ground terminal via the reset switch; the first power terminal is configured to receive a working voltage from the power supply module; a transistor emitter configured to receive the working voltage; the switch unit is electrically connected to a power button of the computer; the switch module further comprises a first diode; a first diode cathode is electrically connected to the transistor collector and a first diode anode is grounded; the power supply module comprises a voltage regulator and a second diode; the voltage regulator comprises a voltage regulator input terminal, a second ground terminal, and a voltage regulator output terminal; the voltage regulator input terminal is electrically connected to a second diode cathode; a second diode anode is electrically connected to the second ground terminal; the voltage regulator output terminal is electrically connected to the second ground terminal via a capacitor; the voltage regulator input terminal is electrically connected to a voltage adapter and the voltage regulator output terminal is configured to provide the working voltage to the control module and the switch module.