CN102636757A - Battery capacity management method - Google Patents

Battery capacity management method Download PDF

Info

Publication number
CN102636757A
CN102636757A CN201210035941XA CN201210035941A CN102636757A CN 102636757 A CN102636757 A CN 102636757A CN 201210035941X A CN201210035941X A CN 201210035941XA CN 201210035941 A CN201210035941 A CN 201210035941A CN 102636757 A CN102636757 A CN 102636757A
Authority
CN
China
Prior art keywords
electric quantity
battery
battery electric
management method
voltage
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
Application number
CN201210035941XA
Other languages
Chinese (zh)
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.)
Shenzhen Firstrank Industrial Development Co Ltd
Original Assignee
Shenzhen Firstrank Industrial Development 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 Shenzhen Firstrank Industrial Development Co Ltd filed Critical Shenzhen Firstrank Industrial Development Co Ltd
Priority to CN201210035941XA priority Critical patent/CN102636757A/en
Publication of CN102636757A publication Critical patent/CN102636757A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention relates to a battery capacity management method. The method includes A, leading a micro-control chip to be in a sleep state and wait for being interrupted and waken up; B, interrupting and waking up the micro-control chip by a key, detecting and operating relative battery capacity according to battery voltage, and lightening a battery capacity indicator lamp or a display screen on a battery shell in a control manner according to an operating result; and C, interrupting and waking up the micro-control chip in a timing manner, detecting and judging whether voltage at two ends of a current induction resistor on a battery charging and recharging loop is higher than a discharge threshold or not, detecting and operating the relative battery capacity according to the battery voltage if the voltage at the two ends of the current induction resistor on the battery charging and recharging loop is higher than the discharge threshold, and lightening the battery capacity indicator lamp or the display screen on the battery shell in the control manner according to the operating result. The battery capacity management method brings great convenience for people to reliably use batteries.

Description

A kind of battery electric quantity management method
Technical field
The present invention relates to battery management, be specifically related to a kind of battery electric quantity management method, relate in particular to the battery of high-grade bike lighting system.
Background technology
The life that appears as people of charging lithium ion battery capable of circulation brings great convenience, and the wide model of charging lithium ion battery capable of circulation is applied to mobile phone, digital camera, Medical Devices, laptop computer, audio-visual equipment, products such as electric tool.For the consumer (like electric drill, the high-grade bike lighting system) of some non intelligentization management, itself do not possess battery electric quantity metering and electric weight display part.And concerning the terminal user, in time understand battery electric quantity state to be very important, can reminds people in time charge the battery like this, in order to avoid influence employed instrument cisco unity malfunction because of the battery short of electricity.Further like the dynamo lighting set photosystem, electric weight also should be indicated automatically for a long time after battery was connected load, and this function is necessary for user's instant understanding battery electric quantity in battery uses.
Summary of the invention
The technical issues that need to address of the present invention are, how a kind of battery electric quantity management method is provided, can be in use or intuitively when not using show battery electric quantity and effectively save electric energy.
Technical matters of the present invention solves like this: make up a kind of battery electric quantity management method, adopt the microcontroller chip that is electrically connected with its internal electrical core, it is characterized in that, comprise following concrete steps:
The said microcontroller chip of A gets into sleep state, waits for being interrupted and wakes up;
The party B-subscriber through with battery case that said microcontroller chip is electrically connected on button produce button and interrupt; Said microcontroller chip is interrupted and wakes up, detect and according to cell voltage carry out the battery electric quantity computing of relative capacity, battery electric quantity pilot lamp or display screen on the battery case are lighted in control according to operation result again;
The C timer produces timer and interrupts; Said microcontroller chip is interrupted and wakes up; Detecting also judge whether the voltage of the battery current inductive reactance on the charging and discharging circuit is higher than the discharge thresholding, is then to detect and carry out the battery electric quantity computing of relative capacity, control according to operation result and light battery electric quantity pilot lamp or display screen on the battery case again according to cell voltage; Wherein: said voltage for just, battery discharge, said voltage is negative, battery charge.
According to battery electric quantity management method provided by the invention; Include, but are not limited to lighted the battery electric quantity that length shows relative capacity with lighting pilot lamp quantity or bar shaped display screen in a plurality of battery electric quantity pilot lamp; Varying number or length are represented the different electric amount, all light the expression Full Charge Capacity.
According to battery electric quantity management method provided by the invention, said timer is an individual devices, and its timing cycle is 50-150 second, preferred 60.
According to battery electric quantity management method provided by the invention; Said timer is when integral body is slept, to keep the microcontroller chip internal module of work; After said microcontroller chip is interrupted and wakes up, also comprise the accumulative total wake-up times, judge that more whether wake-up times is greater than waking thresholding up; If wake-up times less than waking thresholding up, then gets into sleep state again, otherwise the down-stream action is carried out in the wake-up times zero clearing again; The said wake-up period that wakes the thresholding correspondence up is 50-150 second, preferred 60.
According to battery electric quantity management method provided by the invention, after microcontroller chip was interrupted and wakes up described in step B and the C, said button interrupted and timer interrupts being under an embargo, and opens after step B and C execute again.
According to battery electric quantity management method provided by the invention, said step B also comprises voltage-mode number conversion and numeric ratio; Said numeric ratio comprise and plural N numerical value thresholding from small to large relatively, like 4 corresponding 4 thresholdings of pilot lamp, go out entirely less than the minimum threshold pilot lamp, bright entirely greater than high threshold pilot lamp.
According to battery electric quantity management method provided by the invention, relative capacity described in the said step B calculates and comprises voltage-mode number conversion and numerical evaluation; Said numerical evaluation is (U-12) * 100/3%.
According to battery electric quantity management method provided by the invention, said step B also is included in to light on the battery case and extinguishes all demonstrations after battery electric quantity pilot lamp or display screen are specified duration, returns steps A, preferred 3 seconds.
According to battery electric quantity management method provided by the invention, also be included in said voltage among the said step C and be lower than discharge and return steps A during thresholding or after lighting on the battery case battery electric quantity pilot lamp or display screen.
According to battery electric quantity management method provided by the invention, said step B specifically comprises following:
201) do you judge that timer produces interruption? Not returning steps A, is then to get into next step;
202) forbid that button interrupts and timer interrupts;
203) voltage of the induction by current resistance on the battery charging and discharging loop is carried out the AD conversion;
Whether the AD conversion value of 204) judging a lasted step is higher than puts the pressure thresholding, is to get into next step, otherwise extinguishes all pilot lamp or display screen, opens that button interrupts and the timer interruption, returns steps A;
205) detect and cell voltage is carried out the AD conversion, again according to conversion value counting cell volume percent and light battery electric quantity pilot lamp or display screen;
206) open button interruption and timer and interrupt, return steps A.
According to battery electric quantity management method provided by the invention, said step C specifically comprises following:
301) judge whether that button interrupts? Not returning steps A, is then to get into next step;
302) forbid that button interrupts and timer interrupts;
303) detect and to cell voltage carry out the AD conversion, again according to conversion value counting cell volume percent and light the battery electric quantity pilot lamp or display screen intact until lighting duration;
304) extinguish all pilot lamp or display screen, open that button interrupts and timer interrupts, return steps A.
Battery electric quantity management method provided by the invention is used microcontroller chip and intelligent management program, compared with prior art has the following advantages:
1, in the time need using, shows electric weight in advance, let the terminal user in time understand the relevant information of battery electric quantity; When battery electric quantity is not enough, in time carrying out each side prepares;
2, in use in time show electric weight, let the terminal user in time understand the relevant information of battery electric quantity; When battery electric quantity is not enough, in time carrying out each side prepares;
3, chip program bottom line power consumption improves the battery effective utilization.
Description of drawings
Further the present invention is elaborated below in conjunction with accompanying drawing and specific embodiment.
Fig. 1 is the electrical block diagram of inside battery control circuit in the high-grade bike lighting system of the present invention;
Fig. 2 is the battery electric quantity supervisor control program schematic flow sheet of microcontroller chip U3 among Fig. 1.
Embodiment
The hardware foundation of the specific embodiment of the invention at first, is described:
As shown in Figure 1; This lithium ion battery comprises the battery electric quantity management control section 11 of common batteries administrative section 12 and extra increase; The model of microcontroller chip U3 specifically is SN8P2711 in the battery electric quantity management control section 11, also comprises four electric weight pilot lamp LED1, LED2, LED3 and LED4 and an electric weight indication control button S1.Light the relative percentage example of the existing electric weight of quantitaes battery of pilot lamp LED1, LED2, LED3 and LED4 to battery capacity; Each is lighted pilot lamp and is promptly represented one 25% battery capacity, and pilot lamp LED1, LED2, LED3 and LED4 sequence number are lighted from small to large.Wherein: common batteries administrative section 12 has the control section of common batteries defencive function.
The second, the control program of the inventive method is used in further explain:
As shown in Figure 2, battery electric quantity supervisor control program of the present invention specifically may further comprise the steps among the built-in microcontroller chip U3 of battery:
1001) power on hardware initialization;
1002) microcontroller chip U3 gets into the sleep power down mode; Get into step 1101) or 1201);
1101) judged whether timer T1 (60 seconds) interruption generating? Do not return step 1002), be then to get into next step;
1102) forbid that button interrupts and timer interrupts;
1103) voltage of the induction by current resistance on the battery charging and discharging loop is carried out modulus AD conversion;
1104) judge that whether voltage AD conversion value is greater than 3 (" 3 " corresponding discharge current 80mA; Voltage is for just when discharge among this embodiment; Is voltage for negative during charging)? Be to get into next step; Otherwise extinguish all electric weight pilot lamp, open button interruption and timer and interrupt, return step 1002);
1105) according to cell voltage AD conversion value counting cell volume percent and light the battery electric quantity pilot lamp of respective amount; Open button interruption and timer and interrupt, return step 1002);
1201) judged whether the button interruption generating? Do not return step 1002), be then to get into next step;
1202) forbid that button interrupts and timer interrupts;
1203) according to cell voltage AD conversion value counting cell volume percent and the battery electric quantity pilot lamp of lighting respective amount until continuing to light end in 3 seconds;
1204) extinguish all electric weight pilot lamp, open button interruption and timer and interrupt, return step 1002).
At last, in those of ordinary skills understood scope, in claim scope of the present invention, various variations all belonged to protection scope of the present invention.

Claims (10)

1. a battery electric quantity management method adopts the microcontroller chip that is electrically connected with its internal electrical core, it is characterized in that, comprises following concrete steps:
The said microcontroller chip of A gets into sleep state, waits for being interrupted and wakes up;
The party B-subscriber through with battery case that said microcontroller chip is electrically connected on button produce button and interrupt; Said microcontroller chip is interrupted and wakes up, detect and according to cell voltage carry out the battery electric quantity computing of relative capacity, battery electric quantity pilot lamp or display screen on the battery case are lighted in control according to operation result again;
The C timer produces timer and interrupts; Said microcontroller chip is interrupted and wakes up; Detecting also judge whether the voltage of the induction by current resistance on the battery charging and discharging loop is higher than the discharge thresholding, is then to detect and carry out the battery electric quantity computing of relative capacity, control according to operation result and light battery electric quantity pilot lamp or display screen on the battery case again according to cell voltage; Wherein: said voltage for just, battery discharge, said voltage is negative, battery charge.
2. according to the said battery electric quantity management method of claim 1, it is characterized in that said timer is an individual devices, its timing cycle is 50-150 second.
3. according to the said battery electric quantity management method of claim 1; It is characterized in that said timer is when integral body is slept, to keep the microcontroller chip internal module of work, after said microcontroller chip is interrupted and wakes up; Also comprise the accumulative total wake-up times, judge that more whether wake-up times is greater than waking thresholding up; If wake-up times less than waking thresholding up, then gets into sleep state again, otherwise the down-stream action is carried out in the wake-up times zero clearing again; The said wake-up period that wakes the thresholding correspondence up is 50-150 second.
4. according to the said battery electric quantity management method of claim 1, it is characterized in that after microcontroller chip was interrupted and wakes up described in step B and the C, said button interrupted and timer interrupts being under an embargo, and opens and return steps A again after step B and C execute.
5. according to the said battery electric quantity management method of claim 1, it is characterized in that said step B also comprises voltage-mode number conversion and numeric ratio; Said numeric ratio comprises with plural N numerical value thresholding from small to large and comparing.
6. according to the said battery electric quantity management method of claim 1, it is characterized in that battery electric quantity computing described in said step B, the C comprises voltage-mode number conversion and numerical evaluation; Said numerical evaluation is (U-12) * 100/3%.
7. according to claim 1 or 4 said battery electric quantity management methods, it is characterized in that said step B also is included in and lights on the battery case battery electric quantity pilot lamp or display screen and specify and extinguish all demonstrations behind the duration and return steps A.
8. according to the said battery electric quantity management method of claim 1, it is characterized in that, also be included in said voltage among the said step C and be lower than discharge and return steps A during thresholding or after lighting on the battery case battery electric quantity pilot lamp or display screen.
9. according to the said battery electric quantity management method of claim 1, it is characterized in that said step B specifically comprises following:
201) do you judge that timer produces interruption? Not returning steps A, is then to get into next step;
202) forbid that button interrupts and timer interrupts;
203) voltage of the induction by current resistance on the battery charging and discharging loop is carried out the AD conversion;
Whether the AD conversion value of 204) judging a lasted step is higher than puts the pressure thresholding, is to get into next step, otherwise extinguishes all pilot lamp or display screen, opens that button interrupts and the timer interruption, returns steps A;
205) detect and cell voltage is carried out the AD conversion, again according to conversion value counting cell volume percent and light battery electric quantity pilot lamp or display screen;
206) open button interruption and timer and interrupt, return steps A.
10. according to the said battery electric quantity management method of claim 1, it is characterized in that said step C specifically comprises following:
301) judge whether that button interrupts? Not returning steps A, is then to get into next step;
302) forbid that button interrupts and timer interrupts;
303) detect and to cell voltage carry out the AD conversion, again according to conversion value counting cell volume percent and light the battery electric quantity pilot lamp or display screen intact until lighting duration;
304) extinguish all pilot lamp or display screen, open that button interrupts and timer interrupts, return steps A.
CN201210035941XA 2012-02-17 2012-02-17 Battery capacity management method Pending CN102636757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210035941XA CN102636757A (en) 2012-02-17 2012-02-17 Battery capacity management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210035941XA CN102636757A (en) 2012-02-17 2012-02-17 Battery capacity management method

Publications (1)

Publication Number Publication Date
CN102636757A true CN102636757A (en) 2012-08-15

Family

ID=46621224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210035941XA Pending CN102636757A (en) 2012-02-17 2012-02-17 Battery capacity management method

Country Status (1)

Country Link
CN (1) CN102636757A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902348A (en) * 2012-10-17 2013-01-30 深圳市至高通信技术发展有限公司 Power consumption self adjusting system of intelligent system and method thereof
CN104007392A (en) * 2014-05-23 2014-08-27 无锡英诺浦斯微电子有限公司 Battery electric quantity detecting and displaying method
CN109270467A (en) * 2017-07-18 2019-01-25 美的智慧家居科技有限公司 The battery electricity detection method and device of equipment
CN109377732A (en) * 2018-12-07 2019-02-22 四川长虹电器股份有限公司 Water logging detector based on WiFi scheme
CN109903496A (en) * 2019-03-15 2019-06-18 四川长虹电器股份有限公司 A kind of intruding detection system and method based on 5.0 transmission technology of bluetooth

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293371A (en) * 1999-10-18 2001-05-02 福基科技股份有限公司 Charge or discharge state indicator of battery for protable electronic products
CN101281664A (en) * 2008-05-07 2008-10-08 北京航空航天大学 Low-power consumption handhold RFID patrol apparatus as well as method for implementing low-power consumption
CN202059163U (en) * 2011-04-19 2011-11-30 昆山百世特斯电子有限公司 Voltage sensing type protective device of rechargeable battery
US20120010673A1 (en) * 2004-07-30 2012-01-12 Bowers Kyle R Method and apparatus for determining battery capacity in a defibrillator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293371A (en) * 1999-10-18 2001-05-02 福基科技股份有限公司 Charge or discharge state indicator of battery for protable electronic products
US20120010673A1 (en) * 2004-07-30 2012-01-12 Bowers Kyle R Method and apparatus for determining battery capacity in a defibrillator
CN101281664A (en) * 2008-05-07 2008-10-08 北京航空航天大学 Low-power consumption handhold RFID patrol apparatus as well as method for implementing low-power consumption
CN202059163U (en) * 2011-04-19 2011-11-30 昆山百世特斯电子有限公司 Voltage sensing type protective device of rechargeable battery

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902348A (en) * 2012-10-17 2013-01-30 深圳市至高通信技术发展有限公司 Power consumption self adjusting system of intelligent system and method thereof
CN102902348B (en) * 2012-10-17 2015-06-17 深圳市至高通信技术发展有限公司 Power consumption self adjusting system of intelligent system and method thereof
CN104007392A (en) * 2014-05-23 2014-08-27 无锡英诺浦斯微电子有限公司 Battery electric quantity detecting and displaying method
CN109270467A (en) * 2017-07-18 2019-01-25 美的智慧家居科技有限公司 The battery electricity detection method and device of equipment
CN109377732A (en) * 2018-12-07 2019-02-22 四川长虹电器股份有限公司 Water logging detector based on WiFi scheme
CN109903496A (en) * 2019-03-15 2019-06-18 四川长虹电器股份有限公司 A kind of intruding detection system and method based on 5.0 transmission technology of bluetooth

Similar Documents

Publication Publication Date Title
CN102636757A (en) Battery capacity management method
CN102856940A (en) Electronic device and charger capable of indicating battery charging state
CN105141762A (en) Method and system for low-power shutdown of mobile terminal
CN203039400U (en) Novel quick charging multipurpose mobile power supply
CN203026997U (en) Novel portable mobile power supply
CN205123301U (en) General type intelligence battery charger
CN102638072B (en) Intelligent battery management method
CN104682568A (en) Energy storage system
CN207819482U (en) A kind of charge-discharge circuit and device
CN204835586U (en) Show portable portable power source complete, that output current is big
CN106026341B (en) Photovoltaic system battery voltage monitoring device
CN205407324U (en) Digital lithium battery measurement device
CN104617628A (en) Mobile power source having battery capacity detection function
CN204903730U (en) Power fills discharge capacity test circuit
CN103560564A (en) Mobile power source with electric quantity display function
CN204424981U (en) A kind of portable power source with battery electric quantity measuring ability
CN106856343A (en) Battery capacity check method and charger
CN210092930U (en) Charger for testing internal resistance of single battery
CN206557962U (en) A kind of household electrical appliance failure indicating circuit
CN204903736U (en) Lithium battery power and trouble display device
CN202260535U (en) Mobile power supply with electric quantity detection function
CN205595833U (en) New -type portable power source structure
CN103116267A (en) Solar clock with battery power detection function
CN204967348U (en) Novel two couple portable power source of putting that fill
CN202424272U (en) Battery with electric quantity indication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120815