CN101957433B - Circuit and method for measuring battery electric quantity - Google Patents

Circuit and method for measuring battery electric quantity Download PDF

Info

Publication number
CN101957433B
CN101957433B CN 200910139949 CN200910139949A CN101957433B CN 101957433 B CN101957433 B CN 101957433B CN 200910139949 CN200910139949 CN 200910139949 CN 200910139949 A CN200910139949 A CN 200910139949A CN 101957433 B CN101957433 B CN 101957433B
Authority
CN
China
Prior art keywords
signal
electric quantity
current
battery
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.)
Active
Application number
CN 200910139949
Other languages
Chinese (zh)
Other versions
CN101957433A (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.)
Quanta Computer Inc
Original Assignee
Quanta Computer Inc
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 Quanta Computer Inc filed Critical Quanta Computer Inc
Priority to CN 200910139949 priority Critical patent/CN101957433B/en
Publication of CN101957433A publication Critical patent/CN101957433A/en
Application granted granted Critical
Publication of CN101957433B publication Critical patent/CN101957433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electric Status Of Batteries (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention relates to a circuit and a method for measuring battery electric quantity. The circuit comprises a sensing resistor, a voltage and current converting circuit, a subtractor, a comparer, a logic circuit and a power supply management unit, wherein a first conversion circuit of the voltage and current converting circuit obtains a first voltage signal according to one end of two ends of the sensing resistor and converts the first voltage signal into a first current signal; a second conversion circuit of the voltage and current converting circuit obtains a second voltage signal according to the other end of two ends of the sensing resistor and converts the second voltage signal into a second current signal; the subtractor provides a current difference signal according to the first current signal and the second current signal; the comparer outputs a comparison signal according to the current difference signal and the current dead band; the logic circuit outputs a logic signal according to the comparison signal and a preset signal; and the management unit calculates the battery electric quantity according to the logic signal.

Description

Battery electric quantity measurement circuit and method thereof
Technical field
The present invention relates to a kind of battery electric quantity measurement circuit and method thereof, particularly relate to a kind of leakage current by the battery that couples of record to calculate battery electric quantity measurement circuit and the method thereof of its real battery electric quantity.
Background technology
In the epoch now that science and technology is maked rapid progress, along with the universalness of electronic installation, the consumer is except the function to electronic installation requires to some extent, and each enterprise also attempts electronic installation lightening, can portable demand for electronic installation to satisfy the consumer.Electronic installation for example is mobile computer.So, each enterprise for example changes traditional separate mode (for example mobile computer separates with battery module) and is integration mode (battery module is coupled to mobile computer regularly), to reduce volume and the weight of mobile computer.
The battery module of traditional separate type is integrated in the electronic installation, has no doubt reduced volume and weight, but battery module is fixedly to be coupled to electronic installation, and can't be changed voluntarily by the consumer.Under the situation that the mobile computer that battery module is integrated operates, the relation that battery module and electronic installation couple makes battery module produce leakage current and consumes electric power.In addition, this leakage current is quite faint, for example is less than a dead band electric current (Current Deadband), and this leakage current thereby thought noise by battery module and ignore is to allow the consumer can't truly learn the battery electric quantity of battery module.
So, if the battery electric quantity of battery module is distributed to each hotel owner at electronic installation, put during the warehouse, just to be consumed and finish, and after buying, the consumer finds that battery module does not have, and use transformer (Adaptor) to come electronic installation is started shooting, because battery module corresponds to electronic installation still has electricity before dispatching from the factory state, it is the state that electricity is arranged that the screen display of start back electronic installation goes out battery module, make that battery module or electronic installation are faulty materials to consumer's misidentification for this reason, thereby cause the visitor frequently of each enterprise to tell problem, and seriously influence company image.
Summary of the invention
Purpose of the present invention is for proposing a kind of battery electric quantity measurement circuit.The battery electric quantity measurement circuit comprises a sensing resistor and Power Management Unit, the current signal (such as faint leakage current) that utilizes sensing resistor allow to flow through produces voltage signal, voltage differential signal is obtained at two ends according to sensing resistor, and be converted to the difference between current signal according to this, by comparing difference between current signal and dead band electric current (Current Deadband), to allow Power Management Unit also calculate the battery electric quantity to battery module at electronic installation according to this in the following record current signal (corresponding to leakage current) of battery saving mode (such as shutting down or park mode), so that being provided, real battery electric quantity avoid the consumer to think electronic installation or battery module by mistake to be faulty materials, tell problem with the visitor who reduces each enterprise, and the expansion positive good will.
According to a further aspect in the invention, a kind of battery electric quantity measurement circuit is proposed.According to one embodiment of the invention, the battery electric quantity measurement circuit comprises sensing resistor, voltage-current converter circuit, subtracter, comparer, logical circuit and Power Management Unit.Voltage-current converter circuit comprises first change-over circuit and second change-over circuit, first voltage signal that first change-over circuit is obtained in order to the one end at foundation sensing resistor two ends, and first voltage signal is converted to first current signal.Second voltage signal that second change-over circuit is obtained in order to the other end at foundation sensing resistor two ends, and second voltage signal is converted to second current signal.Subtracter is in order to provide the difference between current signal according to first current signal and second current signal.Comparer is in order to foundation difference between current signal and electric current dead band (Current Deadband) output comparison signal.Logical circuit is in order to foundation comparison signal and preset signals output logic signal.Battery management unit calculates a battery electric quantity in order to the foundation logical signal.
According to a further aspect in the invention, propose a kind of battery electric quantity method for measurement, be applicable to the battery electric quantity measurement circuit, the battery electric quantity measurement circuit comprises a sensing resistor.The method comprises the following steps.At first, obtain first voltage signal according to the one end at sensing resistor two ends, and first voltage signal is converted to first current signal.Then, obtain second voltage signal according to the other end at sensing resistor two ends, and second voltage signal is converted to second current signal.Afterwards, provide the difference between current signal according to first current signal and second current signal.Then, according to difference between current signal and an electric current dead band (CurrentDeadband) output comparison signal.Afterwards, according to comparison signal and preset signals output logic signal.Then, calculate a battery electric quantity according to logical signal.
For foregoing of the present invention can be become apparent, embodiment cited below particularly, and be described with reference to the accompanying drawings as follows.
Description of drawings
The battery electric quantity measurement circuit that Fig. 1 shows embodiments of the invention is applied to the synoptic diagram of a battery module.
Fig. 2 shows the calcspar of the battery electric quantity measurement circuit of Fig. 1.
Fig. 3 shows the process flow diagram of the battery electric quantity method for measurement that is applied among Fig. 1.
Fig. 4 shows the circuit diagram of an embodiment of the battery electric quantity measurement circuit of Fig. 1.
The reference numeral explanation
10: sensing resistor
20: voltage-current converter circuit
22: the first change-over circuits
24: the second change-over circuits
30: subtracter
40: comparer
50: logical circuit
60: Power Management Unit
100: the battery electric quantity measurement circuit
130: electronic installation
150: battery
200: battery module
S302~S312: step
I, I1, I2: current signal
V1, V2: voltage signal
Idif: difference between current signal
D: comparison signal
CD: electric current dead band
L: logical signal
E1, E2: an end of sensing resistor
Embodiment
Now an embodiment who is applied to battery module with the battery electric quantity measurement circuit is described as follows, and please refer to Fig. 1, and its battery electric quantity measurement circuit that shows embodiments of the invention is applied to the synoptic diagram of a battery module.As shown in Figure 1, battery electric quantity measurement circuit 100 for example is applied in the battery module 200, and battery module 200 comprises battery 150, and 200 pairs of electronic installations 130 of battery module are powered when running.Electronic installation 130 for example is mobile computer.
Please be simultaneously with reference to Fig. 2 and Fig. 3, Fig. 2 shows the calcspar of the battery electric quantity measurement circuit of Fig. 1.Fig. 3 shows the process flow diagram of battery electric quantity method for measurement.Battery electric quantity measurement circuit 100 comprises sensing resistor 10, voltage-current converter circuit 20, subtracter 30, comparer 40, logical circuit 50, battery management unit 60.Voltage-current converter circuit 20 comprises first change-over circuit 22 and second change-over circuit 24.Wherein voltage-current converter circuit 20, subtracter 30, comparer 40 and logical circuit 50 can be integrated into an integrated circuit (Integrated Circuit, IC).
The battery electric quantity method for measurement can be applicable to aforementioned battery electric quantity measurement circuit 10, and the battery electric quantity method for measurement comprises the steps.In step S302, first change-over circuit 22 is obtained voltage signal V1 in order to the one end E1 at foundation sensing resistor 10 two ends, and voltage signal V1 is converted to current signal I1.In step S304, second change-over circuit 24 is obtained voltage signal V2 in order to the other end E2 at foundation sensing resistor 10 two ends, and voltage signal V2 is converted to current signal I2.First change-over circuit 22 and second change-over circuit 24 for example comprise operational amplifier respectively.Now lift an example and describe how to produce voltage signal as follows in detail.
For instance, voltage signal V1 and voltage signal V2 are produced by the current signal I sensing resistor 10 of flowing through, and this current signal I for example is the leakage current of battery module, and this leakage current is quite faint.For instance, when electronic installation 130 during in battery saving mode, the battery 150 of battery module 200 still couples electronic installation 130, to form the loop.In this, forms in the loop at battery 150 and electronic installation 130, battery 150 is understood and electronic installation 130 is considered as load and is discharged, and the electric current that produces in the loop is leakage current for this reason for example.Battery saving mode is shutdown mode or park mode for example, and the leakage current that battery module 200 produces under different mode is also inequality.
In step S306, subtracter 30 provides difference between current signal Idif in order to foundation current signal I1 and current signal I2.This difference between current signal Idif is corresponding to current signal I (such as being leakage current).
In step S308, comparer 40 is in order to foundation difference between current signal Idif and an electric current dead band (Current Deadband) CD output comparison signal D.The electric current of the measurement mode of conventional batteries electric weight under electric current dead band CD can be considered to noise and neglect.So, then can't record the electric leakage situation of battery 150 truly, cause the true battery electric quantity of having no way of calculating battery 150.Wherein, the electric current dead band for example is 3mA.
Further, present embodiment utilizes comparer 40 to compare difference between current signal Idif and is higher or lower than electric current dead band CD.For instance, when difference between current signal Idif greater than electric current dead band CD, then comparer 40 is for example exported the comparison signal D with high level; If difference between current signal Idif is less than electric current dead band CD, then comparer 40 is for example exported and is had low level comparison signal D.
In step S310, logical circuit 50 is in order to foundation comparison signal D and preset signals P output logic signal L.Preset signals P is exported by an activation pin of a charging integrated circuit (Charge Integrated Circuit).Battery module 200 for example comprises this charging integrated circuit.In step S312, battery management unit 60 calculates a battery electric quantity according to logical signal L.It is as follows now to lift example detailed description step S310~312.
In an example, before electronic installation 130 dispatched from the factory, the personnel of each enterprise can utilize the activation pin of application program activation charging integrated circuit before electronic installation 130 enters power down mode, to set preset signals P.For example be preset as an activation level (such as high level), and the activation level for example is to enter preceding being preset of battery saving mode (such as shutdown or park mode) at electronic installation 130.
So, when preset signals P when activation level and comparison signal D for example have high level for this reason, logical circuit 50 is exported a logical signal L according to preset signals P and comparison signal D.This logical signal L for example has high level.Battery management unit 60 calculates the battery electric quantity of battery 150 according to the logical signal L with high level.
For instance, battery management unit 60 first record current signal I carry out computing according to the current signal I and the preset data that record, again to obtain the battery electric quantity of battery 150.Wherein current signal I for example is embedded in the battery management unit 60, more for example can be recorded in the battery module 200.This preset data for example is corresponding electronic installation 130 institute's consumed current value under shutdown mode or park mode, for example is 1.47mA and 3.01mA respectively.
Yet in different examples, battery saving mode also can be standby mode, and battery module can produce the leakage current of different sizes corresponding to the electronic installation under the different battery saving modes.Battery module is also inequality corresponding to the leakage current that different electronic installations produce.When historical facts or anecdotes is done, can obtain above-mentioned preset data according to different applied environments.Fig. 4 is the circuit diagram of an embodiment of the battery electric quantity measurement circuit of Fig. 1.
Further, when electronic installation 130 namely leaves battery saving mode after starting, at this moment, the application program of electronic installation 130 can be set at preset signals P has low level preset signals P.In in the case, logical circuit 50 will can not be exported the logical signal L with high level according to preset signals P and comparison signal D, and meaning is no longer record current signal I of battery management unit 60, more for example can further eliminate the current signal I that records.
After electronic installation 130 started, current signal I must be greater than the dead band current CD.So, comparer 40 can not exported the comparison signal D with high level, whether has high level no matter meaning is preset signals P, and logical circuit 50 still can not exported the logical signal L with high level.Therefore can check on to battery electric quantity measurement circuit 100, to allow the battery electric quantity measurement circuit in time operate, to avoid battery electric quantity measurement circuit 100 to be affected when the application program generation activation mistake of electronic installation 130, this activation mistake that is the electronic installation 130 default signal P under non-power down mode is the activation level.
In another example, when the consumer used electronic installation 130 and it is shut down, the application program of electronic installation 130 is the activation pin of activation charging integrated circuit initiatively, so that preset signals P is the activation level.Afterwards, battery electric quantity measurement circuit 100 is carried out above-mentioned mode and also can be calculated electronic installation 130 in the battery electric quantity of the battery 150 of shutdown back (that is in battery saving mode) battery module 200, to obtain the true battery electric quantity of battery 150.So, above-mentioned battery electric quantity method for measurement is useful in battery 150 to carry out in normal condition, and this normal condition for example is that battery 150 is in pre-charge pattern (Pre-Charge mode) or normal mode (Normal mode).
The battery electric quantity measurement circuit of the above embodiment of the present invention and battery electric quantity method for measurement thereof, the effect that has is as follows:
(1) an above-mentioned embodiment can calculate the battery electric quantity that is coupled to electronic installation truly, provides correct battery electric quantity to think electronic installation or battery by mistake the visitor that faulty materials are caused tell problem to avoid the consumer, and keeps positive good will.
(2) in addition, shown in an above-mentioned embodiment, the battery electric quantity measurement circuit is also checked on to the application program of the electronic installation used, avoiding the battery electric quantity measurement circuit still to need the electronic installation under the non-battery saving mode (such as electronic installation in starting state) is calculated the malfunction of battery electric quantity, with avoid more than energy resource consumption.
In sum, though the present invention discloses as above with embodiment, so it is not in order to limit the present invention.The general technical staff of the technical field of the invention can be used for a variety of modifications and variations under the premise without departing from the spirit and scope of the present invention.Therefore, protection scope of the present invention is as the criterion with claim of the present invention.

Claims (11)

1. battery electric quantity measurement circuit comprises:
One sensing resistor, the leakage current of the battery modules described sensing resistor of flowing through;
One voltage-current converter circuit comprises:
One first change-over circuit in order to one first voltage signal of obtaining according to the one end at these sensing resistor two ends, and is converted to one first current signal with this first voltage signal;
One second change-over circuit in order to one second voltage signal of obtaining according to the other end at these sensing resistor two ends, and is converted to one second current signal with this second voltage signal;
One subtracter is in order to provide a difference between current signal according to this first current signal and this second current signal;
One comparer is in order to export a comparison signal according to this difference between current signal and an electric current dead band;
One logical circuit is in order to export a logical signal according to this comparison signal and a preset signals; And
One battery management unit, in order to calculating a battery electric quantity according to this logical signal,
Wherein this preset signals is exported by an activation pin of a charging integrated circuit.
2. battery electric quantity measurement circuit as claimed in claim 1, wherein this preset signals is preset as an activation level.
3. battery electric quantity measurement circuit as claimed in claim 1, wherein this preset signals is preset as an activation level under a battery saving mode.
4. battery electric quantity measurement circuit as claimed in claim 3, wherein this battery saving mode is park mode.
5. battery electric quantity measurement circuit as claimed in claim 3, wherein this battery saving mode is shutdown mode.
6. battery electric quantity measurement circuit as claimed in claim 1, wherein this voltage-current converter circuit, this subtracter, this comparer and this logical circuit are integrated into an integrated circuit.
7. a battery electric quantity method for measurement is applicable to a battery electric quantity measurement circuit, and this battery electric quantity measurement circuit comprises a sensing resistor, the leakage current of the battery modules described sensing resistor of flowing through, and this method comprises:
One first voltage signal of obtaining according to the one end at these sensing resistor two ends, and this first voltage signal is converted to one first current signal;
One second voltage signal of obtaining according to the other end at these sensing resistor two ends, and this second voltage signal is converted to one second current signal;
Provide a difference between current signal according to this first current signal and this second current signal;
Export a comparison signal according to this difference between current signal and an electric current dead band;
Export a logical signal according to this comparison signal and a preset signals; And
Calculate a battery electric quantity according to this logical signal,
Wherein this preset signals is exported by an activation pin of a charging integrated circuit.
8. battery electric quantity method for measurement as claimed in claim 7, wherein this preset signals is preset as an activation level.
9. battery electric quantity method for measurement as claimed in claim 7, wherein this preset signals is preset as an activation level under a battery saving mode.
10. battery electric quantity method for measurement as claimed in claim 9, wherein this battery saving mode is park mode.
11. battery electric quantity method for measurement as claimed in claim 9, wherein this battery saving mode is shutdown mode.
CN 200910139949 2009-07-15 2009-07-15 Circuit and method for measuring battery electric quantity Active CN101957433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910139949 CN101957433B (en) 2009-07-15 2009-07-15 Circuit and method for measuring battery electric quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910139949 CN101957433B (en) 2009-07-15 2009-07-15 Circuit and method for measuring battery electric quantity

Publications (2)

Publication Number Publication Date
CN101957433A CN101957433A (en) 2011-01-26
CN101957433B true CN101957433B (en) 2013-08-14

Family

ID=43484877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910139949 Active CN101957433B (en) 2009-07-15 2009-07-15 Circuit and method for measuring battery electric quantity

Country Status (1)

Country Link
CN (1) CN101957433B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870301B (en) 2016-09-27 2020-09-04 华为技术有限公司 Method and device for detecting micro short circuit of battery
CN109142929B (en) * 2018-08-29 2021-02-02 江西电力职业技术学院 Power management device and implementation method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE109896T1 (en) * 1989-10-25 1994-08-15 Philips Nv ARRANGEMENT FOR CHARGING A BATTERY.
US5451881A (en) * 1993-12-10 1995-09-19 Curtis Instruments, Inc. Method and means for adjusting battery monitor based on rate of current drawn from the battery
CN1719273A (en) * 2004-07-07 2006-01-11 量质能科技股份有限公司 Determination method of battery usability

Also Published As

Publication number Publication date
CN101957433A (en) 2011-01-26

Similar Documents

Publication Publication Date Title
WO2019154050A1 (en) Non-intrusive load identification-based submetering smart electricity meter
JP5303577B2 (en) Backup power supply system and method
CN1941538B (en) System interconnection system
CN103427123B (en) A kind of method and handheld terminal maximizing use battery capacity
CN202189085U (en) Total voltage loss detection chip and electric energy meter
Vasallo et al. A methodology for sizing backup fuel-cell/battery hybrid power systems
CN108448652A (en) A kind of new energy and power grid cooperated power supply method and its calibration equipment
CN101957433B (en) Circuit and method for measuring battery electric quantity
CN201234145Y (en) Complementary electricity producing apparatus using solar energy and diesel engine
CN202134955U (en) Power supply circuit for remote meter reading terminal
CN102130493A (en) Method for power supply of direct current bus voltage-adjustable railway signal power module
Xiao et al. Smart energy hub—Modularized hybrid AC/DC microgrid: System design and deployment
WO2020162461A1 (en) Power control system and power control method
CN201522536U (en) Full decompression module for three-phase electronic electric energy meter
TWI413788B (en) A battery gas-gauge circuit and method thereof
CN112098713A (en) Electric energy meter operation control method
TW201325003A (en) Expandable integrated micro electric grid dedicated to electricity storage
CN103969595A (en) Electric quantity detecting device and method
CN104578211A (en) Electronic device
CN113541297A (en) New energy-based microgrid reverse power protection method and system
CN103904373A (en) Battery current management device
CN106603948B (en) A kind of battery TV high-low pressure guard method and system
CN102193612B (en) Power adapter and portable computer
CN206226112U (en) Power circuit and its power information acquisition terminal being made
CN204835699U (en) Electric energy meter supply circuit containing photovoltaic cell

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant