Patent ID: 8224599

Claim:
A system for automatic voltage range measurement borne by an electronic device, the system comprising: a voltage regulator to output a plurality of reference voltages, comprising a first voltage difference between every two consecutive reference voltages; a main computer connected to the voltage regulator and the electronic device, the main computer comprising: a processor; and a memory unit connected to the processor, and storing a plurality of modules each of which contains one or more computerized instructions to be executed by the processor, wherein the modules comprises: a determination module to determine whether the electronic device has powered on after the electronic device receives a work voltage output by a voltage regulator module (VRM) of the electronic device, and output a determination result denoting that the electronic device is powered on or has failed to power on, wherein if the electronic device has powered on, the electronic device implements a test application to test hardware of the electronic device, the determination module also determines whether the test is successful, and outputs a corresponding test result; a control module directing the voltage regulator to output one of the plurality of the reference voltages to the VRM to direct the VRM to output a work voltage, equaling a work voltage output by the VRM last time added or subtracted by a second voltage difference, after receiving the determination result denoting the electronic device has powered on and the test result denoting the test is successful; and turn off the electronic device after the VRM outputs the work voltage equaling the work voltage output by the VRM last time added or subtracted by the second voltage difference; and a recording module to record a voltage value, equaling the work voltage output by the VRM this time subtracted or added by a second voltage difference, as a limit value of a voltage range borne by the electronic device in response to the determination result denotes that the electronic device has failed to power on or the test result denotes that the test has failed.