1. Technical Field
The present disclosure relates to a Central Processing Unit (CPU) power testing apparatus and method, and more particularly to a CPU power testing apparatus and a method of using parameters of an application platform of the CPU thereof.
2. Description of Related Art
A power testing apparatus applied to a CPU needs to test input current and input of the CPU, then use a first formula of Vin*Iin*Efficiency=Vout*Iout to calculate power consumed by the CPU, herein, Vin represents values of the input voltage, IM represents values of the input current, “Efficiency” represents the working efficiency of the CPU, Vout represents values of the output voltage, lout represents the values of output current.
However, the IM in the first formula is obtained by input inductance, the values of the input inductance may vary widely, furthermore, the working efficiency also varies widely, which cause inaccuracy in the testing.
Many aspects of the present embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawings, all the views are schematic, and like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will be described below, with reference to the accompanying drawings.
The CPU power supplying circuit 101 is configured to supply power to a CPU 106. The first A/D converter 102 is connected to an input end of the CPU power supplying circuit 101, configured to obtain an input voltage of the CPU power supplying circuit 101, and convert the input voltage into digital values Vin. The second A/D converter 104 is connected to an output end of the CPU power supplying circuit 101, configured to obtain an output voltage of the CPU power supplying circuit 101, and convert the output voltage into digital values Vout. The single-chip microcontroller 103 is configured to obtain Vin and Vout, and obtain the system parameters of the application platform applied on the CPU power testing apparatus 10, to calculate the amount of the power being consumed by the CPU 106 according to a second formula and output a result to the display 105.
The single-chip microcontroller 103 includes an obtaining module 1031, a calculating module 1033, and a transmitting module 1035. The functions of the modules (shown in
In step S21, the obtaining module 1031 obtains Vin and Vout from the first A/D converter 102 and the second A/D converter 104 respectively, and obtains the parameters of the application platform. The likely parameters of the application platform of VR11 are: Voffset=19 mV, RLL=1.4 mohm, the parameters of the application platform of VR11.1 are: Voffset=15 mV, RLL=0.8 mohm. Therein, Voffset represents a value of the bias voltage, and RLL represents a value of loading inductance. The obtaining module 1031 obtains corresponding parameters according to the application platform applied on the CPU power testing apparatus 10.
In step S22, the calculating module 1033 calculates the power consumed by the CPU 106 according to the second formula of P=Vout* (Yin-Voffset-Vout)/RLL according to the known quantities Vin, Vout, Voffset and RLL, P represents the amount of power being consumed by the CPU 106.
In step S23, the transmitting module 1035 outputs the result of the calculation P and displays the result P on the display 105.
Although the features and elements of the present disclosure are described as embodiments in particular combinations, each feature or element can be used alone or in other various combinations within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
201110400500.0 | Dec 2011 | CN | national |