CN103123383A - Method and device for measuring battery capacity - Google Patents
Method and device for measuring battery capacity Download PDFInfo
- Publication number
- CN103123383A CN103123383A CN2013100097623A CN201310009762A CN103123383A CN 103123383 A CN103123383 A CN 103123383A CN 2013100097623 A CN2013100097623 A CN 2013100097623A CN 201310009762 A CN201310009762 A CN 201310009762A CN 103123383 A CN103123383 A CN 103123383A
- Authority
- CN
- China
- Prior art keywords
- battery
- handheld device
- main control
- control chip
- circuit
- 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.)
- Pending
Links
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Tests Of Electric Status Of Batteries (AREA)
Abstract
The invention discloses a method and a device for measuring battery capacity. The device is arranged between a handheld device and a battery and comprises a circuit and a main control chip arranged in the circuit, the main control chip is used for closing charge current and opening a discharge circuit for the battery after the battery is charged by the handheld device, switching charge and discharge according to preset charge-discharge control frequency and calculating the battery capacity corresponding to the handheld device by generating a switching signal. Owing to the measuring method and the measuring circuit arranged between the handheld device and the battery, the battery and the power consumption capability of the handheld device are measured in real time when the handheld device is detected, and particularly, the battery capacity related to the power consumption capability of the handheld device is measured.
Description
Technical field
The present invention relates to a kind of pick-up unit and method of end cell, in particular a kind of method and apparatus that battery capacity is detected.
Background technology
In the mobile terminal handheld devices (handset) such as the mobile phone of prior art, its battery is in use normally charged by handheld device, and expect its battery capacity under the hardware-software energy consumption that coordinates handheld device, the handheld device flying power is promoted.
In present handheld device, when charging by handheld device, be all to estimate according to the predetermined duration of charging duration of charging that its battery is full of may be needed, thus the process of recharging.Therefore, can't grasp accurately when really real charging is completed.
Especially in the handheld device test process, only the capacity of battery is measured often, and do not consider charging ability and the power consumption ability of handheld device, realize by to handheld device to the measurement to the true chargeable capacity of battery of the process implementation of battery charging and discharging, and realize handheld device test problem to battery capacity under the varying environment condition, therefore, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide a kind of measuring method and device of battery capacity, for the above-mentioned technological deficiency of prior art, and provide a kind of circuit and measuring method thereof, realize by the measurement of handheld device to its battery charging and discharging true capacity.
Technical scheme of the present invention is as follows:
A kind of measurement mechanism of battery capacity wherein, is arranged between handheld device and battery, comprises a circuit and a main control chip that arranges in described circuit, and described main control chip is used for realizing following function:
Realize by producing a switching signal: when completing to its battery charging by described handheld device, the charge closing electric current, and open discharge circuit to described battery;
Carry out the charge and discharge switch conversion according to the predefined control number of times that discharges and recharges, and calculate for battery capacity corresponding to this handheld device.
Described measurement mechanism, wherein, described main control chip adopts the microprocessor with A/D converter.
Described measurement mechanism, wherein, described main control chip output is connected with a display unit, is used for showing the capacity of described battery.
Described measurement mechanism, wherein, described switching signal when obtaining that externally the charging current between civil power and described handheld device is lower than predetermined value the judgement battery for being full of electricity condition.
A kind of measuring method of described battery capacity wherein, comprises the following steps:
A, set in advance the control number of times that described main control chip discharges and recharges;
B, the charging circuit by handheld device charge to its battery;
C, described main control chip produce a switching signal, are controlled at described battery and are full of electricity afterwards by described main control chip charge closing circuit, and this battery is discharged, and record the above-mentioned current and voltage data that discharges and recharges;
D, circulation step B and C be until reach described control number of times, and calculate for battery capacity corresponding to this handheld device according to the electric current that discharges and recharges and voltage at every turn.
Described measuring method, wherein, the switching signal in described step C is set to when obtaining that externally the charging current between civil power and described handheld device is lower than predetermined value the judgement battery for being full of electricity condition.
Described measuring method, wherein, described main control chip adopts the microprocessor with A/D converter.
Described measuring method, wherein, described main control chip is also exported and is connected with a display unit, is used for showing the capacity of described battery.
The measuring method of a kind of battery capacity provided by the present invention and device, owing to having adopted the metering circuit that arranges and the measuring method that adopts between handheld device and battery, to the real-time measuring process of its battery and power consumption ability, especially realized thinking related apparatus for battery capacity measurement with the power consumption ability of handheld device when having realized the detection to handheld device.
Description of drawings
Fig. 1 is the structural principle schematic diagram of measurement mechanism of the present invention.
Fig. 2 is the circuit theory diagrams of measurement mechanism of the present invention,
Fig. 3 is the schematic flow sheet of measuring method of the present invention.
Embodiment
Below preferred embodiment of the present invention is described in detail.
the invention discloses the apparatus and method that a kind of battery capacity is measured in real time, as shown in Figure 1, wherein this measurement mechanism 110 is arranged between handheld device 120 and its battery 130, connect by circuit, this measurement mechanism 110 arranges and comprises a circuit, as shown in Figure 2, an and main control chip 111 that arranges in described circuit, this main control chip 111 can adopt the microprocessor with A/D converter, described circuit setting comprises and supply socket, handheld device, four distinct interfaces of battery and the supply of own power supply, can obtain the size of charging current with the interface of supply socket, thereby judgement battery charging state.Metering circuit device of the present invention is mainly for the test process to handheld device, need in working order to keep the charging circuit of handheld device in running order, therefore, supply socket need to keep being connected with the power interface of handheld device, the power interface of handheld device (it is same interface that some handheld device is set to data communication interface physically) generally all is used for its battery is charged, the electric current charging circuit in this handheld device of must flowing through, the implementation of this charging circuit is known by prior art, does not repeat them here.
It is mainly used to realize following function main control chip of the present invention 111:
Produce a switching signal, be used for when completing to the charging of its battery by described handheld device, the charge closing electric current, and open discharge circuit to described battery, or when described battery discharge is completed, close discharge circuit, open battery charger; Realize conversion and control by switching signal, realize that the circuit of this conversion and control is shown in Figure 2.
Controlling number of times and carry out calculating for battery capacity corresponding to this handheld device after the charge and discharge switch photograph answers number of times according to predefined discharging and recharging, the algorithm of battery capacity is:
A) in each regular time section P, for example 100 milliseconds, circuit arrangement of the present invention is measured the current magnitude of battery being advanced direction (charging) or outgoing direction (discharge);
B) in one section Measuring Time Q, for example in one hour, this circuit value has a total value Sum;
C) battery capacity C is by mAh MAH metering expression.
D) calculating battery capacity formula is as follows:
I. per hour 3600 seconds;
Ii. C=Sum/(3600* P), obtain battery capacity value, and can show in real time.
Like this, the present invention is by being arranged on the measurement mechanism circuit between handheld device and battery, can realize in the process of measuring battery capacity, to handheld device charging ability and the reference simultaneously of loss ability, realize thus the authentic testing that battery capacity is associated with handheld device simultaneously.
Realize that for convenience described main control chip is also exported and is connected with a display unit, can adopt the LED charactron particularly to the output of battery capacity test result, with the measurement result of the capacity that is used for showing described battery.
Switching signal of the present invention is the control signal to outside on-off circuit, be charging current between socket position and described handheld device by obtaining civil power externally, and compare judgement with a predetermined value, if during lower than this predetermined value judge battery for being full of electricity condition, be input to and produce in described main control chip; This predetermined value can be set to 0 according to the actual needs, or a few percent of maximum charging current, as 5%.
The measuring method of battery capacity of the present invention, its process step process mainly comprises the following steps as shown in Figure 3:
S101, set in advance the control number of times that described main control chip discharges and recharges, for example be set to 10 times;
S102, the charging circuit by handheld device charge to its battery;
S103, when judgement battery full state, produce a switching signal, be controlled at described battery and be full of after electricity by described main control chip charge closing circuit, and this battery is discharged, record the current and voltage data of above-mentioned charge and discharge; Discharge process can arrange and adopt a false battery circuit, in order to meet the efficient requirement of test.
S104, circulation above-mentioned steps S102 and S103 be until reach described control number of times, and calculate for battery capacity corresponding to this handheld device according to the electric current that discharges and recharges and voltage at every turn, and concrete capacity measurement mode is:
A) in each regular time section P, for example 100 milliseconds, circuit arrangement of the present invention is measured the current magnitude of battery being advanced direction (charging) or outgoing direction (discharge);
B) in one section Measuring Time Q, for example in one hour, this circuit value has a total value Sum;
C) battery capacity C is by mAh MAH metering expression.
D) calculating battery capacity formula is as follows:
I. per hour 3600 seconds;
Ii. C=Sum/(3600* P), obtain battery capacity value, and can show in real time.。
Battery capacity method of testing of the present invention and circuit arrangement are actually in the measuring process to handheld device, have realized the battery capacity actual measurement related with handheld device, thereby have realized effectively measuring fast handheld device and battery flying power.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improve and conversion all should belong to the protection domain of claims of the present invention.
Claims (8)
1. the measurement mechanism of a battery capacity, is characterized in that, is arranged between handheld device and battery, comprises a circuit and a main control chip that arranges in described circuit, and described main control chip is used for realizing following function:
Realize by producing a switching signal: when completing to its battery charging by described handheld device, the charge closing electric current, and open discharge circuit to described battery;
Carry out the charge and discharge switch conversion according to the predefined control number of times that discharges and recharges, and calculate for battery capacity corresponding to this handheld device.
2. measurement mechanism according to claim 1, is characterized in that, described main control chip adopts the microprocessor with A/D converter.
3. measurement mechanism according to claim 1, is characterized in that, described main control chip output is connected with a display unit, is used for showing the capacity of described battery.
4. measurement mechanism according to claim 1, is characterized in that, described switching signal when obtaining that externally the charging current between civil power and described handheld device is lower than predetermined value the judgement battery for being full of electricity condition.
5. the measuring method of a battery capacity as claimed in claim 1, is characterized in that, comprises the following steps:
A, set in advance the control number of times that described main control chip discharges and recharges;
B, the charging circuit by handheld device charge to its battery;
C, described main control chip produce a switching signal, are controlled at described battery and are full of electricity afterwards by described main control chip charge closing circuit, and this battery is discharged, and record the above-mentioned current and voltage data that discharges and recharges;
D, circulation step B and C be until reach described control number of times, and calculate for battery capacity corresponding to this handheld device according to the electric current that discharges and recharges and voltage at every turn.
6. measuring method according to claim 5, is characterized in that, the switching signal in described step C is set to when obtaining that externally the charging current between civil power and described handheld device is lower than predetermined value the judgement battery for being full of electricity condition.
7. measuring method according to claim 5, is characterized in that, described main control chip adopts the microprocessor with A/D converter.
8. measuring method according to claim 5, is characterized in that, described main control chip is also exported and is connected with a display unit, is used for showing the capacity of described battery.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100097623A CN103123383A (en) | 2013-01-11 | 2013-01-11 | Method and device for measuring battery capacity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100097623A CN103123383A (en) | 2013-01-11 | 2013-01-11 | Method and device for measuring battery capacity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103123383A true CN103123383A (en) | 2013-05-29 |
Family
ID=48454434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100097623A Pending CN103123383A (en) | 2013-01-11 | 2013-01-11 | Method and device for measuring battery capacity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103123383A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106786862A (en) * | 2016-12-13 | 2017-05-31 | 建荣半导体(深圳)有限公司 | The battery remaining power display system and its display methods of a kind of portable power source |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS567065A (en) * | 1979-06-29 | 1981-01-24 | Yuasa Battery Co Ltd | Storage battery capacity display |
JPH03242575A (en) * | 1990-02-20 | 1991-10-29 | Matsushita Electric Works Ltd | Apparatus for displaying residual power of battery |
CN101334452A (en) * | 2007-06-29 | 2008-12-31 | 鸿富锦精密工业(深圳)有限公司 | Battery tester |
CN101814748A (en) * | 2009-04-11 | 2010-08-25 | 徐江林 | Mobile phone charger capable of carrying out automatic discharging/charging management and displaying battery capacity |
CN102306943A (en) * | 2011-09-15 | 2012-01-04 | 河北工业大学 | Lithium ion battery management system |
-
2013
- 2013-01-11 CN CN2013100097623A patent/CN103123383A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS567065A (en) * | 1979-06-29 | 1981-01-24 | Yuasa Battery Co Ltd | Storage battery capacity display |
JPH03242575A (en) * | 1990-02-20 | 1991-10-29 | Matsushita Electric Works Ltd | Apparatus for displaying residual power of battery |
CN101334452A (en) * | 2007-06-29 | 2008-12-31 | 鸿富锦精密工业(深圳)有限公司 | Battery tester |
CN101814748A (en) * | 2009-04-11 | 2010-08-25 | 徐江林 | Mobile phone charger capable of carrying out automatic discharging/charging management and displaying battery capacity |
CN102306943A (en) * | 2011-09-15 | 2012-01-04 | 河北工业大学 | Lithium ion battery management system |
Non-Patent Citations (1)
Title |
---|
王力臻 等: "《化学电源设计》", 31 December 2008, 化学工业出版社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106786862A (en) * | 2016-12-13 | 2017-05-31 | 建荣半导体(深圳)有限公司 | The battery remaining power display system and its display methods of a kind of portable power source |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100358179C (en) | Rechargeable battery charging method and apparatus | |
CN103682498B (en) | A kind of charging method and electronic equipment | |
EP2725681A2 (en) | Intelligent charge-discharge controller for battery and electronic device having same | |
CN203135541U (en) | Apparatus with wireless mobile charging function | |
CN103166289B (en) | A kind of mobile terminal and detection method detecting cell voltage when charging | |
CN104425850A (en) | Semiconductor device, battery pack and personal data assistant | |
CN102005795A (en) | Electric quantity detecting device for rechargeable battery | |
CN104410114B (en) | Mobile power supply | |
US20130043841A1 (en) | Circuit and method of measuring voltage of the battery | |
TW201301132A (en) | Battery simulation apparatus | |
CN105372597A (en) | Battery testing method and system | |
CN101931247A (en) | Charging system and management method of battery power | |
CN106058961A (en) | Rechargeable battery, charging management circuit, electronic device and charger | |
CN104348230A (en) | Charging device and charging control method | |
KR101460248B1 (en) | Apparatus and method for measuring degradation of battery and equipment for reproducing battery | |
CN202025832U (en) | Charging battery and charging system | |
CN204330169U (en) | Temperature sampling device and telepilot | |
KR102025287B1 (en) | Control device and method for chare | |
CN103123383A (en) | Method and device for measuring battery capacity | |
CN204142930U (en) | A kind of accumulator cell charging and discharging electric quantity monitoring table | |
KR20080040500A (en) | Apparatus for charge control and method of thereof | |
KR20170138140A (en) | Battery charging apparatus for increasing battery life and battery charging method of the same | |
CN103515658A (en) | Rechargeable battery unit and charging management method | |
CN102810882A (en) | Circuit and method for measuring battery voltage | |
CN104501991A (en) | Remote controller, temperature sampling device and temperature sampling control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130529 |