CN105158541A - Electronic equipment system current measurement method and device - Google Patents

Electronic equipment system current measurement method and device Download PDF

Info

Publication number
CN105158541A
CN105158541A CN201510535113.6A CN201510535113A CN105158541A CN 105158541 A CN105158541 A CN 105158541A CN 201510535113 A CN201510535113 A CN 201510535113A CN 105158541 A CN105158541 A CN 105158541A
Authority
CN
China
Prior art keywords
voltage
resistance
divider resistance
branch pressure
divider
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510535113.6A
Other languages
Chinese (zh)
Other versions
CN105158541B (en
Inventor
李红波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing xijueshuo Information Technology Co., Ltd
Original Assignee
QINGDAO VIMICRO ELECTRONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QINGDAO VIMICRO ELECTRONICS CO Ltd filed Critical QINGDAO VIMICRO ELECTRONICS CO Ltd
Priority to CN201510535113.6A priority Critical patent/CN105158541B/en
Publication of CN105158541A publication Critical patent/CN105158541A/en
Application granted granted Critical
Publication of CN105158541B publication Critical patent/CN105158541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The embodiment of the invention provides an electronic equipment system current measurement method and device. The method comprises the steps that partial voltage of a system resistor is obtained by utilizing a measurement circuit through measurement; the measurement circuit comprises a first voltage-dividing resistor and a second voltage-dividing resistor which are connected in series, a third voltage-dividing resistor and a fourth voltage-dividing resistor which are connected in series and the system resistor, the system resistor is connected in series with the output end of an electronic equipment battery and connected between the first voltage-dividing resistor and the third voltage-dividing resistor in a bridging way; system voltage of the two ends of the system resistor is determined according to partial voltage; and system current is determined according to the specific value of system voltage to the resistance value of the system resistor. According to the electronic equipment system current measurement method and device, measurement cost for measurement of system current in electronic equipment can be reduced.

Description

The measuring method of system power and device in a kind of electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to measuring method and the device of system power in a kind of electronic equipment.
Background technology
In the use procedure of the electronic equipment such as mobile phone, panel computer, usually need measuring system electric current, with when system power occurs abnormal, can safeguard measure be performed, prevent the element in electronic equipment from sustaining damage.Wherein, system power specifically refers to the electric current that the battery of electronic equipment exports.
But, in prior art, system power is measured, often need to use current measurement instrument, or increase the devices such as current sensor, cause measuring cost higher.
Summary of the invention
In view of the above problems, the embodiment of the present invention is proposed to provide a kind of measuring method and the device that overcome system power in the problems referred to above or a kind of electronic equipment of solving the problem at least in part.
In order to solve the problem, the embodiment of the invention discloses the measuring method of system power in a kind of electronic equipment, comprising:
Metering circuit measurement is utilized to obtain the branch pressure voltage of system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
The system voltage at described system resistance two ends is determined according to described branch pressure voltage;
According to the ratio of described system voltage and system resistance resistance, certainty annuity electric current.
Preferably, the described step utilizing metering circuit measurement to obtain the branch pressure voltage of system resistance, comprising:
First voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple first voltage;
Second voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple second voltage;
According to the difference of the mean value of described first voltage and the mean value of the second voltage, obtain branch pressure voltage.
Preferably, the branch pressure voltage of described system resistance is the first port between described first divider resistance and the second divider resistance and the voltage difference between the second port between described 3rd divider resistance and the 4th divider resistance; Wherein, described first divider resistance, the second divider resistance, the 3rd divider resistance are identical with the resistance of the 4th divider resistance;
The described step determining the system voltage at described system resistance two ends according to described branch pressure voltage, comprising:
According to 2 times of described branch pressure voltage, certainty annuity voltage.
Preferably, before the described system voltage to system resistance two ends carries out dividing potential drop, described method also comprises: measure and obtain calibration voltage;
The described step determining the system voltage at described system resistance two ends according to described branch pressure voltage, comprising:
The system voltage at described system resistance two ends is determined according to described branch pressure voltage and calibration voltage.
Preferably, the described step determining the system voltage at described system resistance two ends according to described branch pressure voltage and calibration voltage, comprising:
According to the error voltage that described calibration voltage determination divider resistance produces;
According to described branch pressure voltage and error voltage, determine the accurate system voltage at described system resistance two ends;
The described ratio according to described system voltage and system resistance resistance, the step of certainty annuity electric current, comprising:
According to the accurate system voltage at described system resistance two ends and the ratio of system resistance resistance, determine accurate system power.
Preferably, described measurement obtains the step of calibration voltage, comprising:
Close the peripherals of described electronic equipment, and make internal memory enter self-refresh state;
The tertiary voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple tertiary voltage;
4th voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple 4th voltage;
According to the difference of the mean value of described tertiary voltage and the mean value of the 4th voltage, obtain calibration voltage.
According to another aspect of the present invention, disclose the measurement mechanism of system power in a kind of electronic equipment, comprising:
Branch pressure voltage measurement module, for the branch pressure voltage utilizing metering circuit measurement to obtain system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
System voltage determination module, for determining the system voltage at described system resistance two ends according to described branch pressure voltage; And
System power determination module, for the ratio according to described system voltage and system resistance resistance, certainty annuity electric current.
Preferably, described device also comprises: calibration module, obtains calibration voltage for measuring;
Described system voltage determination module, comprising:
Second system voltage determination submodule, for determining the system voltage at described system resistance two ends according to described branch pressure voltage and calibration voltage.
Preferably, described second system voltage determination submodule, comprising:
Error voltage determining unit, for the error voltage produced according to described calibration voltage determination divider resistance;
Accurate system voltage determining unit, for according to described branch pressure voltage and error voltage, determines the accurate system voltage at described system resistance two ends;
Described system power determination module, comprising:
System power determination submodule, for according to the accurate system voltage at described system resistance two ends and the ratio of system resistance resistance, determines accurate system power.
Preferably, described calibration module, comprising:
Peripherals closes closed submodule, for closing the peripherals of described electronic equipment, and makes internal memory enter self-refresh state;
3rd measures submodule, for the tertiary voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculates the mean value of multiple tertiary voltage;
4th measures submodule, for the 4th voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculates the mean value of multiple 4th voltage;
Calibration voltage determination submodule, for the difference according to the mean value of described tertiary voltage and the mean value of the 4th voltage, obtains calibration voltage.
The embodiment of the present invention comprises following advantage:
In embodiments of the present invention, utilize metering circuit measurement to obtain the branch pressure voltage of system resistance, determine the system voltage at described system resistance two ends according to described branch pressure voltage; Again according to the ratio of described system voltage and system resistance resistance, can certainty annuity electric current.Use current measurement instrument or current sensor relative to needing in prior art, the embodiment of the present invention only needs several resistance to get final product measuring system electric current, can greatly reduce measurement cost.
Accompanying drawing explanation
Fig. 1 shows the flow chart of steps of the measuring method embodiment one of system power in a kind of electronic equipment of the present invention;
Fig. 2 shows the metering circuit schematic diagram of system power in a kind of electronic equipment of the present invention;
Fig. 3 shows the flow chart of steps of the measuring method embodiment two of system power in a kind of electronic equipment of the present invention; And
Fig. 4 shows the structured flowchart of the measurement mechanism embodiment of system power in a kind of electronic equipment of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
With reference to Fig. 1, show the flow chart of steps of the measuring method embodiment one of system power in a kind of electronic equipment of the present invention, specifically can comprise:
Step 101, metering circuit measurement is utilized to obtain the branch pressure voltage of system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
In a particular application, described electronic equipment specifically can comprise the electronic equipment that mobile phone, panel computer etc. need arbitrarily measuring system electric current.The resistance size of described system resistance and divider resistance can be selected according to the size of electronic apparatus system electric current, and the present invention is not limited for system resistance and the resistance of divider resistance and the concrete form of electronic equipment.
With reference to Fig. 2, show the metering circuit schematic diagram of system power in a kind of electronic equipment of the present invention, specifically can comprise: system resistance R108, the first divider resistance R1, the second divider resistance R2, the 3rd divider resistance R3 and the 4th divider resistance R4.Wherein, the serial battery of system resistance R108 and electronic equipment, the electric current therefore flowing through system resistance is system power, also, can certainty annuity electric current by the system voltage at system resistance two ends and the resistance of system resistance.
In actual measurement process, need analog voltage measurement obtained by ADC (Analog-to-DigitalConverter, analog/digital converter) be converted to digital voltage, the measurement range of existing ADC is usually at 0-2.4V, and the voltage of battery of mobile phone is usually at more than 4V, suppose the system resistance in employing 0.02 Europe, then the voltage at these system resistance two ends is close to 4V, more than the measurement range of ADC.Therefore, the embodiment of the present invention carries out dividing potential drop by divider resistance R1-R4 to the system voltage at system resistance two ends, with reference to shown in Fig. 2, after dividing potential drop, branch pressure voltage between port C and D is in the measurement range of ADC, therefore, the ADC numerical value obtaining port C and D can be measured respectively, the difference of the ADC numerical value of port C and D is the branch pressure voltage of system resistance, can be calculated the system voltage at system resistance R108 two ends by this branch pressure voltage, the system voltage at R108 two ends and the ratio of R108 resistance are system power.
In one preferred embodiment of the invention, in order to improve the accuracy of measurement, can by repetitive measurement and the method for calculating mean value carrys out measuring voltage, then the described step utilizing metering circuit measurement to obtain the branch pressure voltage of system resistance, specifically can comprise:
First voltage of the first port described in step S11, difference repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple first voltage;
Second voltage of the second port described in step S12, difference repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple second voltage;
Step S13, difference according to the mean value of described first voltage and the mean value of the second voltage, obtain branch pressure voltage.
Wherein, described branch pressure voltage is specifically as follows the voltage between the first port (C) and the second port (D).
The embodiment of the present invention is averaged by repetitive measurement, can reduce the measuring error because accidentalia causes, thus improves the accuracy measured.
Step 102, determine the system voltage at described system resistance two ends according to described branch pressure voltage;
In one preferred embodiment of the invention, the branch pressure voltage of described system resistance is the first port between described first divider resistance and the second divider resistance and the voltage difference between the second port between described 3rd divider resistance and the 4th divider resistance; Wherein, described first divider resistance, the second divider resistance, the 3rd divider resistance are identical with the resistance of the 4th divider resistance;
The described step determining the system voltage at described system resistance two ends according to described branch pressure voltage, specifically can comprise:
According to 2 times of described branch pressure voltage, certainty annuity voltage.
In embodiments of the present invention, preferably adopt four divider resistances that resistance size is identical, thus, measuring the branch pressure voltage obtained is the half of system voltage, then get final product certainty annuity voltage according to 2 times that measure the branch pressure voltage obtained, make computation process simple, save computing time, thus measurement efficiency can be improved.
It should be noted that, metering circuit in embodiments of the present invention utilizes the measurement of carrying out branch pressure voltage different from the resistance of other parallel branch of system resistance place branch arranged side by side, its four divider resistances preferably adopting resistance size identical, thus, measuring the branch pressure voltage obtained is the half of system voltage, then get final product certainty annuity voltage according to 2 times that measure the branch pressure voltage obtained, make computation process simple, save computing time, thus measurement efficiency can be improved.Certainly, in actual applications, those skilled in the art can be arranged the number of divider resistance and resistance as required flexibly, such as, when divider resistance resistance is different, can according to ratio calculating partial pressure voltage, and certainty annuity voltage.The present invention is not limited the concrete number of divider resistance and resistance size.
Step 103, ratio according to described system voltage and system resistance resistance, certainty annuity electric current.
To sum up, in embodiments of the present invention, utilize metering circuit measurement to obtain the branch pressure voltage of system resistance, determine the system voltage at described system resistance two ends according to described branch pressure voltage; Again according to the ratio of described system voltage and system resistance resistance, can certainty annuity electric current.Use current measurement instrument or current sensor relative to needing in prior art, the embodiment of the present invention only needs several resistance to get final product measuring system electric current, can greatly reduce measurement cost.
Embodiment two
In actual applications, may there is the error of 1% in divider resistance, and in order to reduce measuring error, obtain more accurate measurement result, on the basis of above-described embodiment one, the present embodiment can also comprise following alternatives.
With reference to Fig. 3, show the flow chart of steps of the measuring method embodiment two of system power in a kind of electronic equipment of the present invention, specifically can comprise:
Step 301, measurement obtain calibration voltage;
In embodiments of the present invention, in order to reduce divider resistance produce error, electronic equipment dispatch from the factory first time start shooting time, can calibrate above-mentioned four divider resistances, to obtain calibration voltage.
In one preferred embodiment of the invention, described measurement obtains the step of calibration voltage, specifically can comprise:
Step S21, close the peripherals of described electronic equipment, and make internal memory enter self-refresh state;
In a particular application, electronic equipment dispatch from the factory first time start shooting time, can calibrate above-mentioned four divider resistances, now, need system power to drop to minimum, therefore, all peripherals can be closed, such as LCD (LiquidCrystalDisplay, LCDs), background lights etc., enter self-refresh state to make internal memory such as DDR (DoubleDataRate, Double Data Rate synchronous DRAM).Because now internal memory can not carry out read operation again, therefore can at internal RAM (Random-AccessMemory, random access memory) innerly run calibration procedure, can perform by described calibration procedure the process that following steps S22-S24 calculates calibration voltage.
The tertiary voltage of the first port described in step S22, difference repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple tertiary voltage;
Particularly, the ADC numerical value of repetitive measurement Fig. 2 middle port C can be distinguished, obtain described tertiary voltage, and calculate the mean value of multiple tertiary voltage.
4th voltage of the second port described in step S23, difference repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple 4th voltage;
Particularly, the ADC numerical value of repetitive measurement Fig. 2 middle port D can be distinguished, obtain described 4th voltage, and calculate the mean value of multiple 4th voltage.
Step S24, difference according to the mean value of described tertiary voltage and the mean value of the 4th voltage, obtain calibration voltage.
Particularly, can using the difference of the mean value of the mean value of described tertiary voltage and the 4th voltage as calibration voltage, and described calibration voltage be saved in profile, to read in subsequent calculations process.
Step 302, metering circuit measurement is utilized to obtain the branch pressure voltage of system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
Step 303, the error voltage produced according to described calibration voltage determination divider resistance;
Step 304, according to described branch pressure voltage and error voltage, determine the accurate system voltage at described system resistance two ends;
Step 305, ratio according to described accurate system voltage and system resistance resistance, determine accurate system power.
In embodiments of the present invention, first according to the error voltage that described calibration voltage determination divider resistance produces, then according to described branch pressure voltage and error voltage, determine the accurate system voltage at described system resistance two ends, finally according to the ratio of described accurate system voltage and system resistance resistance, determine accurate system power, specifically can be calculated by following formula:
((dif×v1×1000/1024)-(calibrate_val×v1×1000/1024-v2))/R(1)
Wherein, (dif × v1 × 1000/1024) represents the system voltage at system resistance two ends, and dif represents the branch pressure voltage of system resistance.Calibrate_val represents calibration voltage.V1 represents the measurement range of ADC, and v1/1024 represents the minimum voltage that this ADC can identify, being multiplied by 1000 is voltage unit is converted to millivolt (mV).
By (calibrate_val × v1 × 1000/1024-v2) computation process, the error voltage that divider resistance produces can be obtained.Wherein, v2 represents the voltage (such as, 280mA × R) during calibration divider resistance, and electric current when 280mA is calibrated resistance, i.e. minimum current, be fixing, can measure and obtain concerning certain chip.
Wherein, R represents the resistance of system resistance, (dif × v1 × 1000/1024)-(calibrate_val × v1 × 1000/1024-v2), namely the system voltage at system resistance two ends deducts the error voltage that divider resistance produces, the accurate system voltage at system resistance two ends can be obtained, again divided by the resistance of system resistance, accurate system power can be obtained, thus the accuracy of measurement can be improved.
In a kind of application example of the present invention, the measurement range v1 of ADC is 0V-2.4V, and the resistance R of system resistance is 0.02, electric current during calibrated resistance, and namely minimum current is 280mA, then substituting into above-mentioned formula (1) can obtain:
((dif×2.4×1000/1024)-(calibrate_val×2.4×1000/1024-5.6))/0.02
Therefore, only the branch pressure voltage dif obtaining system resistance need be measured, and calibration voltage calibrate_val when divider resistance is calibrated, namely go out system power by above-mentioned formulae discovery, measuring process is simple, therefore can improve the efficiency of measurement.
The embodiment of the present invention is on the basis of above-described embodiment one, first divider resistance is calibrated, measurement obtains calibration voltage, system voltage is calculated again by branch pressure voltage and calibration voltage, last according to system voltage and system resistance resistance certainty annuity electric current, the error because divider resistance produces can be eliminated, make the system voltage that calculates more accurate, thus it is also more accurate to measure the system power obtained, and thus can improve the accuracy of measurement.
In one preferred embodiment of the invention, calculating on the basis of system power by said method, the internal resistance of cell obtaining electronic equipment can also measured further, specifically can adopt following either type:
Mode one, first, measures and obtains the first system electric current I max1 and the first system voltage U max1 in start process; Then, close the peripherals such as LCD and background light, again measure and obtain second system electric current I min1 and second system voltage U min1; Finally, following formulae discovery internal resistance of cell R can be passed through:
R=(Umax1-Umin1)/(Imax1-Imin1)(2)
Mode two, in start process, minimum system electric current I min2 respectively during acquisition minimum current and minimum system voltage U min2, and maximum system electric current I max2 during maximum current and maximum system voltage U max2, when the difference of minimum system electric current I min2 and maximum system electric current I max2 is greater than predetermined threshold value, can following formulae discovery internal resistance of cell R be passed through:
R=(Umax2-Umin2)/(Imax2-Imin2)(3)
In a kind of application example of the present invention, described predetermined threshold value is specifically as follows 200mA, comparatively large to represent the difference of two primary currents, the internal resistance of cell is calculated more accurate.In actual applications, the present invention is not limited for described default preset concrete value.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
Device embodiment
With reference to Fig. 4, show the structured flowchart of the measurement mechanism embodiment of system power in a kind of electronic equipment of the present invention, specifically can comprise as lower module:
Branch pressure voltage measurement module 410, for the branch pressure voltage utilizing metering circuit measurement to obtain system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
System voltage determination module 420, for determining the system voltage at described system resistance two ends according to described branch pressure voltage; And
System power determination module 430, for the ratio according to described system voltage and system resistance resistance, certainty annuity electric current.
In one preferred embodiment of the invention, described branch pressure voltage measurement module, specifically can comprise:
First measures submodule, for the first voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculates the mean value of multiple first voltage;
Second measures submodule, for the second voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculates the mean value of multiple second voltage; And
Branch pressure voltage determination submodule, for the difference according to the mean value of described first voltage and the mean value of the second voltage, obtains branch pressure voltage.
In another preferred embodiment of the invention, the branch pressure voltage of described system resistance is the first port between described first divider resistance and the second divider resistance and the voltage difference between the second port between described 3rd divider resistance and the 4th divider resistance; Wherein, described first divider resistance, the second divider resistance, the 3rd divider resistance are identical with the resistance of the 4th divider resistance;
Described system voltage determination module, specifically can comprise:
The first system voltage determination submodule, for 2 times according to described branch pressure voltage, certainty annuity voltage.
In another preferred embodiment of the present invention, described device can also comprise: calibration module, obtains calibration voltage for measuring;
Described system voltage determination module, specifically can comprise: second system voltage determination submodule, for determining the system voltage at described system resistance two ends according to described branch pressure voltage and calibration voltage.
In another preferred embodiment of the present invention, described second system voltage determination submodule, specifically can comprise:
Error voltage determining unit, for the error voltage produced according to described calibration voltage determination divider resistance;
Accurate system voltage determining unit, for according to described branch pressure voltage and error voltage, determines the accurate system voltage at described system resistance two ends;
Described system power determination module, specifically can comprise:
System power determination submodule, for according to the accurate system voltage at described system resistance two ends and the ratio of system resistance resistance, determines accurate system power.
In another preferred embodiment of the present invention, described calibration module, specifically can comprise:
Peripherals closes closed submodule, for closing the peripherals of described electronic equipment, and makes internal memory enter self-refresh state;
3rd measures submodule, for the tertiary voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculates the mean value of multiple tertiary voltage;
4th measures submodule, for the 4th voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculates the mean value of multiple 4th voltage;
Calibration voltage determination submodule, for the difference according to the mean value of described tertiary voltage and the mean value of the 4th voltage, obtains calibration voltage.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, terminal device (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing terminal equipment produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computing machine or other programmable terminal equipment, thus the instruction performed on computing machine or other programmable terminal equipment is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device comprising described key element and also there is other identical element.
Above to measuring method and the device of system power in a kind of electronic equipment provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the measuring method of system power in electronic equipment, is characterized in that, comprising:
Metering circuit measurement is utilized to obtain the branch pressure voltage of system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
The system voltage at described system resistance two ends is determined according to described branch pressure voltage;
According to the ratio of described system voltage and system resistance resistance, certainty annuity electric current.
2. method according to claim 1, is characterized in that, the described step utilizing metering circuit measurement to obtain the branch pressure voltage of system resistance, comprising:
First voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple first voltage;
Second voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple second voltage;
According to the difference of the mean value of described first voltage and the mean value of the second voltage, obtain branch pressure voltage.
3. method according to claim 1, it is characterized in that, the branch pressure voltage of described system resistance is the first port between described first divider resistance and the second divider resistance and the voltage difference between the second port between described 3rd divider resistance and the 4th divider resistance; Wherein, described first divider resistance, the second divider resistance, the 3rd divider resistance are identical with the resistance of the 4th divider resistance;
The described step determining the system voltage at described system resistance two ends according to described branch pressure voltage, comprising:
According to 2 times of described branch pressure voltage, certainty annuity voltage.
4. method according to claim 1, is characterized in that, before the described system voltage to system resistance two ends carries out dividing potential drop, described method also comprises: measure and obtain calibration voltage;
The described step determining the system voltage at described system resistance two ends according to described branch pressure voltage, comprising:
The system voltage at described system resistance two ends is determined according to described branch pressure voltage and calibration voltage.
5. method according to claim 4, is characterized in that, the described step determining the system voltage at described system resistance two ends according to described branch pressure voltage and calibration voltage, comprising:
According to the error voltage that described calibration voltage determination divider resistance produces;
According to described branch pressure voltage and error voltage, determine the accurate system voltage at described system resistance two ends;
The described ratio according to described system voltage and system resistance resistance, the step of certainty annuity electric current, comprising:
According to the accurate system voltage at described system resistance two ends and the ratio of system resistance resistance, determine accurate system power.
6. method according to claim 4, is characterized in that, described measurement obtains the step of calibration voltage, comprising:
Close the peripherals of described electronic equipment, and make internal memory enter self-refresh state;
The tertiary voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculate the mean value of multiple tertiary voltage;
4th voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculate the mean value of multiple 4th voltage;
According to the difference of the mean value of described tertiary voltage and the mean value of the 4th voltage, obtain calibration voltage.
7. the measurement mechanism of system power in electronic equipment, is characterized in that, comprising:
Branch pressure voltage measurement module, for the branch pressure voltage utilizing metering circuit measurement to obtain system resistance; Wherein, described metering circuit comprises: the 3rd divider resistance of the first divider resistance of series connection and the second divider resistance, series connection and the 4th divider resistance and described system resistance, described system resistance is connected with the output terminal of electric device battery, and is connected across between described first divider resistance and described 3rd divider resistance;
System voltage determination module, for determining the system voltage at described system resistance two ends according to described branch pressure voltage; And
System power determination module, for the ratio according to described system voltage and system resistance resistance, certainty annuity electric current.
8. device according to claim 7, is characterized in that, described device also comprises: calibration module, obtains calibration voltage for measuring;
Described system voltage determination module, comprising:
Second system voltage determination submodule, for determining the system voltage at described system resistance two ends according to described branch pressure voltage and calibration voltage.
9. device according to claim 8, is characterized in that, described second system voltage determination submodule, comprising:
Error voltage determining unit, for the error voltage produced according to described calibration voltage determination divider resistance;
Accurate system voltage determining unit, for according to described branch pressure voltage and error voltage, determines the accurate system voltage at described system resistance two ends;
Described system power determination module, comprising:
System power determination submodule, for according to the accurate system voltage at described system resistance two ends and the ratio of system resistance resistance, determines accurate system power.
10. device according to claim 8, is characterized in that, described calibration module, comprising:
Peripherals closes closed submodule, for closing the peripherals of described electronic equipment, and makes internal memory enter self-refresh state;
3rd measures submodule, for the tertiary voltage of the first port respectively described in repetitive measurement between the first divider resistance and the second divider resistance, and calculates the mean value of multiple tertiary voltage;
4th measures submodule, for the 4th voltage of the second port respectively described in repetitive measurement between the 3rd divider resistance and the 4th divider resistance, and calculates the mean value of multiple 4th voltage;
Calibration voltage determination submodule, for the difference according to the mean value of described tertiary voltage and the mean value of the 4th voltage, obtains calibration voltage.
CN201510535113.6A 2015-08-27 2015-08-27 The measurement method and device of system power in a kind of electronic equipment Active CN105158541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510535113.6A CN105158541B (en) 2015-08-27 2015-08-27 The measurement method and device of system power in a kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510535113.6A CN105158541B (en) 2015-08-27 2015-08-27 The measurement method and device of system power in a kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN105158541A true CN105158541A (en) 2015-12-16
CN105158541B CN105158541B (en) 2019-01-01

Family

ID=54799461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510535113.6A Active CN105158541B (en) 2015-08-27 2015-08-27 The measurement method and device of system power in a kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN105158541B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781553A (en) * 2020-06-28 2020-10-16 云南电网有限责任公司电力科学研究院 Voltage divider calibration system and method
CN113300323A (en) * 2021-06-28 2021-08-24 贵州长通电气有限公司 Load switch electric control system
CN114137292A (en) * 2021-10-08 2022-03-04 北京科益虹源光电技术有限公司 Voltage sampling method and sampling circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207519A (en) * 2011-03-16 2011-10-05 上海宏泰源电子技术有限公司 Current detecting method and circuit for power management integrated circuit
CN102243261A (en) * 2011-03-30 2011-11-16 上海北京大学微电子研究院 Current detection circuit
CN104374983A (en) * 2014-10-29 2015-02-25 中国电子科技集团公司第三十六研究所 Current monitoring circuit
CN104502679A (en) * 2014-12-31 2015-04-08 广东易事特电源股份有限公司 Bidirectional current detection circuit
CN104749413A (en) * 2013-12-31 2015-07-01 北京北方微电子基地设备工艺研究中心有限责任公司 Current detection device and current detection method of electrostatic chuck power supply

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207519A (en) * 2011-03-16 2011-10-05 上海宏泰源电子技术有限公司 Current detecting method and circuit for power management integrated circuit
CN102243261A (en) * 2011-03-30 2011-11-16 上海北京大学微电子研究院 Current detection circuit
CN104749413A (en) * 2013-12-31 2015-07-01 北京北方微电子基地设备工艺研究中心有限责任公司 Current detection device and current detection method of electrostatic chuck power supply
CN104374983A (en) * 2014-10-29 2015-02-25 中国电子科技集团公司第三十六研究所 Current monitoring circuit
CN104502679A (en) * 2014-12-31 2015-04-08 广东易事特电源股份有限公司 Bidirectional current detection circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781553A (en) * 2020-06-28 2020-10-16 云南电网有限责任公司电力科学研究院 Voltage divider calibration system and method
CN111781553B (en) * 2020-06-28 2022-09-02 云南电网有限责任公司电力科学研究院 System and method for verifying voltage divider
CN113300323A (en) * 2021-06-28 2021-08-24 贵州长通电气有限公司 Load switch electric control system
CN114137292A (en) * 2021-10-08 2022-03-04 北京科益虹源光电技术有限公司 Voltage sampling method and sampling circuit
CN114137292B (en) * 2021-10-08 2024-04-05 北京科益虹源光电技术有限公司 Voltage sampling method and sampling circuit

Also Published As

Publication number Publication date
CN105158541B (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN105634051B (en) Remaining battery level predicting device and battery pack
US9035619B2 (en) Battery cell temperature detection
EP3400453A1 (en) Reference circuit for metrology system
CN102628892B (en) Method for calculating voltage-loss unusual electrical energy measurement on line and electric energy meter
CN103630871A (en) Testing device for dynamic characteristics of electronic energy meter
CN204909403U (en) Electronic clinical thermometer
CN104833921A (en) Battery pack charge state calculating method and calculating device
CN104833919A (en) Detection method of power battery health state and system
WO2017058342A1 (en) On-chip parameter measurement
CN104991581A (en) Method and device for controlling pressure of process chamber
CN105158541A (en) Electronic equipment system current measurement method and device
CN106574948A (en) Electrical power estimating method and terminal
CN101943713A (en) Resistance bridge and method are looked in built in self testing
CN103091550B (en) Synchronous isolation sampling direct-current power meter of wide voltage and large current
CN108196217A (en) A kind of DC measurement method and system for showing school instrument for off-board charger
CN114578121B (en) High-voltage measurement method, system and device
CN110174922A (en) A kind of calibration method and device of HSI clock frequency
CN106405423B (en) Battery cell monitoring method and battery monitor system
CN117310535A (en) Battery abnormality judging method and device based on battery health state
CN107589396B (en) dynamic performance tracing method based on conventional electric energy calibrator
CN114355212B (en) Battery self-discharge detection method, device, computer equipment and storage medium
CN110286257A (en) Electric current detecting method and device, electronic equipment and computer readable storage medium
CN115219872A (en) Thyristor voltage detection circuit and method thereof
CN114035049A (en) SOH precision calculation method and device and electronic equipment
CN113030821A (en) Electric quantity calibration method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200331

Address after: 211500 room 616, block B, Chuangzhi building, No.17, Xinghuo Road, Jiangbei new district, Nanjing City, Jiangsu Province

Patentee after: Nanjing xijueshuo Information Technology Co., Ltd

Address before: 266109, No. 6, building C, building 1, intellectual Island Road, hi tech Zone, Shandong, Qingdao

Patentee before: VIMICRO QINGDAO Corp.

TR01 Transfer of patent right