CN106371019A - Electric quantity display system and method - Google Patents

Electric quantity display system and method Download PDF

Info

Publication number
CN106371019A
CN106371019A CN201510435624.0A CN201510435624A CN106371019A CN 106371019 A CN106371019 A CN 106371019A CN 201510435624 A CN201510435624 A CN 201510435624A CN 106371019 A CN106371019 A CN 106371019A
Authority
CN
China
Prior art keywords
electric quantity
residual electric
shutdown
value
preset
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
CN201510435624.0A
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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry 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 Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201510435624.0A priority Critical patent/CN106371019A/en
Publication of CN106371019A publication Critical patent/CN106371019A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides an electric quantity display system and method. The system comprises a recording module used for recording a residual electric quantity value of an electronic apparatus before shutdown and a residual electric quantity value during startup; a processing module used for, when a difference between the residual electric quantity value during the startup and the residual electric quantity value before the shutdown exceeds a preset value, repeatedly calculating the residual electric quantity value of the electronic apparatus for preset frequency within preset time after the startup; and a display module used for, when a difference between the residual electric quantity value obtained through calculation each time within the preset frequency and the residual electric quantity value before the shutdown exceeds the preset value, taking the residual electric quantity value obtained through calculation of the last time within the preset frequency as a current electric quantity value for displaying on a display apparatus. According to the invention, a residual electric quantity after the startup can be rapidly screened for reference by a user.

Description

Electric quantity display system and method
Technical field
The present invention relates to battery electric quantity field, more particularly, to a kind of electric quantity display system and method.
Background technology
Most of electronic installations all to be calculated by the way of coulant meter (fuel gauge) at present Battery dump energy.Need comprehensive when calculating the electricity of electronic installation using described coulant meter method Close Multiple factors, including voltage, electric current, impedance, ambient temperature, battery behavior etc..If electric Dump energy when shutdown is started shooting again, before finding the dump energy after start and shutting down for the sub-device Between error larger.Then described error can be revised by ceaselessly charge and discharge process, and this Makeover process needs to expend the time more than two weeks.
Content of the invention
In view of the foregoing it is necessary to provide a kind of electric quantity display system, electricity can detected When the dump energy that sub-device is shut down in start process again abnormal, after rapid screening start Dump energy is with for reference.
Additionally, there is a need to a kind of electric quantity display method of offer.
A kind of electric quantity display system, runs in electronic installation.This system includes: logging modle, For the residual electric quantity when residual electric quantity before the shutdown of recorded electronic device and start;Process Module, for when described start when residual electric quantity with described shutdown before residual electric quantity it Between difference when exceeding described preset value, double counting electronics dress in Preset Time after powering The residual electric quantity put reaches preset times;Display module, for each in described preset times The difference between residual electric quantity before calculated residual electric quantity and described shutdown is all super When crossing described preset value, will in described preset times calculated dump energy for the last time Value is shown in display device as voltage value.
A kind of electric quantity display method, is applied in electronic installation.The method includes: recording step, The residual electric quantity when residual electric quantity before the shutdown of recorded electronic device and start;First judgement Step, judges between residual electric quantity during described start and the residual electric quantity before described shutdown Difference whether exceed preset value;Process step, the residual electric quantity when described start and institute When stating the difference between the residual electric quantity before shutdown and exceeding described preset value, after powering pre- If the residual electric quantity of double counting electronic installation reaches preset times in the time;Second judges step Suddenly, calculated residual electric quantity and described pass are judged in described preset times every time respectively Whether the difference between residual electric quantity before machine is above described preset value;And first display step Suddenly, when in described preset times every time calculated residual electric quantity with described shutdown before When difference between residual electric quantity is above described preset value, will in described preset times Once calculated residual electric quantity is shown in display device as voltage value afterwards.
The electric quantity display system providing compared to prior art, the present invention and method, by detecing When measuring electronic installation shutdown the dump energy in start process abnormal again, repeatedly calculate and open Described in dump energy after machine rapid screening, dump energy is with for reference.
Brief description
Fig. 1 is the running environment figure of electric quantity display system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of electric quantity display system preferred embodiment of the present invention.
Fig. 3 is the flow chart of the preferred embodiment of electric quantity display method of the present invention.
Main element symbol description
Electronic installation 1
Electric quantity display system 10
Logging modle 101
Judge module 102
Processing module 103
Display module 104
Electricity counting circuit 11
Display device 12
Storage device 13
Processor 14
Following specific embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Specific embodiment
Refering to the application ring shown in Fig. 1, being electric quantity display system 10 of the present invention preferred embodiment Border figure, this electric quantity display system 10 is installed and is run in electronic installation 1.Described electronics dress Put 1 also to include but not limited to, electricity counting circuit 11, display device 12, storage set For 13 and processor 14.
In the present embodiment, described electricity counting circuit 11 is used for calculating the electricity in electronic installation 1 The dump energy in pond.Described display device 12 is used for the dump energy of display electronics assemblies 1 Etc. information, this display device 12 can be touch screen etc..Described storage device 13 can be institute State internal memory or the External memory equipment of electronic installation 1 itself, such as smart media card (smart media card), safe digital card (secure digital card), flash Device card (flash card) etc..Described electronic installation 1 can be mobile phone, panel computer etc..
Refering to shown in Fig. 2, described electric quantity display system 10 can be divided into one or more Module, one or more of module stores are in described storage device 13, and are configured to One or more processors (the present embodiment is a processor 14) execution, to complete this Bright.For example, described electric quantity display system 10 is divided into logging modle 101, judge module 102nd, processing module 103 and display module 104.Module alleged by the present invention is to complete The program segment of one specific function, is particularly suited for describing software in the electronic apparatus 1 than program Implementation procedure, the detailed functions with regard to each module specifically will be retouched in the flow chart of Fig. 3 later State.
Flow chart refering to shown in Fig. 3, being electric quantity display method preferred embodiment of the present invention.Root According to different demands, in this flow chart, the order of step can change, some steps can omit or Merge.
Step s01, the residual electric quantity before logging modle 101 recorded electronic device 1 shutdown.
In the present embodiment, described electronic installation 1 adopts electricity by electricity counting circuit 11 Meter mode calculates the dump energy of battery, and by the dump energy of described battery with certain form It is for reference that (as percents) are shown in display device 12.Here, record mould Residual electric quantity before block 101 recorded electronic device 1 shutdown, and preserve to storage device 13 In.
Step s02, when electronic installation 1 is started shooting, logging modle 101 records described electronics dress Put 1 residual electric quantity.In the present embodiment, after electronic installation 1 shuts down certain time again During start, described electricity counting circuit 11 starts to calculate the dump energy of battery, described record Module 101 records residual electric quantity during described electronic installation 1 start.
Step s03, before judge module 102 judges the residual electric quantity recording during start and shuts down Whether the difference between the residual electric quantity of record exceedes preset value.In the present embodiment, described Preset value is the 3% of the residual electric quantity of the front record of shutdown.If the dump energy of record after start Before value and shutdown, the difference between the residual electric quantity of record exceedes preset value, illustrates shutting down There is charging process in journey or in start, abrupt voltage wave phenomenon occurs, flow process enters step s04; If the difference between the residual electric quantity of the residual electric quantity of record and the front record of shutdown after start It is not above preset value, flow process terminates.
Step s04, double counting electronics dress in processing module 103 Preset Time after powering The dump energy putting 1 reaches preset times.For example, double counting electronic installation 1 in 10 seconds Dump energy 10 times.
Step s05, judge module 102 judges to calculate every time in described preset times respectively To residual electric quantity and shutdown before record residual electric quantity between difference whether be above Preset value.If described calculated every time residual electric quantity front dump energy recording with shutdown Difference between value is above preset value, and flow process enters step s06;If in described preset times Inside every time calculated residual electric quantity and shutdown before record residual electric quantity between difference Value is not above preset value, and flow process enters step s07.
Step s06, display module 104 will be calculated in described preset times for the last time Residual electric quantity be shown in display device 12 as voltage value.In the present embodiment, If the residue of calculated residual electric quantity and the front record of shutdown is electric every time in preset times Difference between value is above preset value, then the current dump energy of electronic installation 1 has been described Change.For example, current residual electricity and shutdown are made after having charging phenomenon in shutdown process Before have larger error.Therefore, using the last residual electric quantity calculating as voltage value.
Step s07, display module 104 will be calculated for the first time in described preset times When before residual electric quantity and shutdown, the difference between the residual electric quantity of record is less than preset value Residual electric quantity be shown in display device 12 as voltage value.
By above-mentioned steps, can show that error occurs by electricity after electronic installation shutdown is started shooting again When, be repeated several times calculating dump energy and filter out suitable electricity be shown in display device for Family reference.
It should be noted last that, above example only in order to technical scheme to be described and Unrestricted, although being described in detail to the present invention with reference to above preferred embodiment, this area It is to be appreciated by one skilled in the art that technical scheme can be modified or equivalent Replace the spirit and scope that should not depart from technical solution of the present invention.

Claims (6)

1. a kind of electric quantity display method, is applied in electronic installation, and described electronic installation includes Display device is it is characterised in that the method includes:
Recording step, the remaining electricity when residual electric quantity before the shutdown of recorded electronic device and start Value;
First judges step, judges surplus before residual electric quantity and described shutdown during described start Whether the difference between remaining charge value exceedes preset value;
Dump energy before process step, the residual electric quantity when described start and described shutdown When difference between value exceedes described preset value, double counting electricity in Preset Time after powering The residual electric quantity of sub-device reaches preset times;
Second judges step, judges in described preset times calculated residue every time respectively Whether the difference between residual electric quantity before charge value and described shutdown is above described default Value;And
First step display, when calculated residual electric quantity every time in described preset times When difference and the residual electric quantity before described shutdown between is above described preset value, will be in institute State in preset times calculated residual electric quantity for the last time to show as voltage value In display device.
2. electric quantity display method as claimed in claim 1 it is characterised in that the method also Including the second step display, when calculated residual electric quantity every time in described preset times When difference and the residual electric quantity before described shutdown between is not above preset value, will be in institute Residual electric quantity before stating the interior calculated for the first time residual electric quantity of preset times and shutting down Between difference be less than preset value when residual electric quantity be shown in as voltage value aobvious Showing device.
3. electric quantity display method as claimed in claim 1 is it is characterised in that described preset 3% of residual electric quantity before being worth for shutdown.
4. a kind of electric quantity display system, runs in electronic installation, and described electronic installation includes Display device is it is characterised in that this system includes:
Logging modle, for surplus when the residual electric quantity before the shutdown of recorded electronic device and start Remaining charge value;
Processing module, for when described start when residual electric quantity with described shutdown before residue When difference between charge value exceedes described preset value, repeat in Preset Time after powering to count The residual electric quantity calculating electronic installation reaches preset times;
Display module, in described preset times every time calculated residual electric quantity with When the difference between residual electric quantity before described shutdown is above described preset value, will be described In preset times, calculated residual electric quantity is shown in as voltage value for the last time Display device.
5. electric quantity display system as claimed in claim 4 is it is characterised in that described display Module, be additionally operable to when in described preset times every time calculated residual electric quantity with described When the difference between residual electric quantity before shutdown is not above preset value, will be described default Between residual electric quantity before the interior calculated for the first time residual electric quantity of number of times and shutdown The residual electric quantity that difference is less than during preset value is shown in display device as voltage value.
6. electric quantity display system as claimed in claim 4 is it is characterised in that described preset 3% of residual electric quantity before being worth for shutdown.
CN201510435624.0A 2015-07-22 2015-07-22 Electric quantity display system and method Pending CN106371019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510435624.0A CN106371019A (en) 2015-07-22 2015-07-22 Electric quantity display system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510435624.0A CN106371019A (en) 2015-07-22 2015-07-22 Electric quantity display system and method

Publications (1)

Publication Number Publication Date
CN106371019A true CN106371019A (en) 2017-02-01

Family

ID=57880650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510435624.0A Pending CN106371019A (en) 2015-07-22 2015-07-22 Electric quantity display system and method

Country Status (1)

Country Link
CN (1) CN106371019A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110346733A (en) * 2019-05-24 2019-10-18 惠州市蓝微电子有限公司 A kind of dust catcher remaining runtime evaluation method
CN110632522A (en) * 2019-10-09 2019-12-31 赣州得辉达科技有限公司 Sound box electric quantity display method
WO2023109300A1 (en) * 2021-12-17 2023-06-22 深圳市百富智能新技术有限公司 Battery level calibration method, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0636897A1 (en) * 1993-07-29 1995-02-01 Canon Kabushiki Kaisha Power managing apparatus and method
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device
CN103647877A (en) * 2013-12-10 2014-03-19 Tcl通讯(宁波)有限公司 Method of increasing electric quantity display precision at the time of starting up of mobile terminal and the mobile terminal
CN103761179A (en) * 2014-01-28 2014-04-30 广东欧珀移动通信有限公司 Method and system for displaying electric quantity left after terminal restart
CN104301547A (en) * 2014-10-15 2015-01-21 深圳市中兴移动通信有限公司 Battery capacity management method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0636897A1 (en) * 1993-07-29 1995-02-01 Canon Kabushiki Kaisha Power managing apparatus and method
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device
CN103647877A (en) * 2013-12-10 2014-03-19 Tcl通讯(宁波)有限公司 Method of increasing electric quantity display precision at the time of starting up of mobile terminal and the mobile terminal
CN103761179A (en) * 2014-01-28 2014-04-30 广东欧珀移动通信有限公司 Method and system for displaying electric quantity left after terminal restart
CN104301547A (en) * 2014-10-15 2015-01-21 深圳市中兴移动通信有限公司 Battery capacity management method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110346733A (en) * 2019-05-24 2019-10-18 惠州市蓝微电子有限公司 A kind of dust catcher remaining runtime evaluation method
CN110346733B (en) * 2019-05-24 2021-11-23 惠州市蓝微电子有限公司 Method for estimating residual operation time of dust collector
CN110632522A (en) * 2019-10-09 2019-12-31 赣州得辉达科技有限公司 Sound box electric quantity display method
CN110632522B (en) * 2019-10-09 2022-06-24 赣州得辉达科技有限公司 Sound box electric quantity display method
WO2023109300A1 (en) * 2021-12-17 2023-06-22 深圳市百富智能新技术有限公司 Battery level calibration method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US10496509B2 (en) Systems and methods for event tracking and health assessment of battery-powered information handling systems
CA2882480C (en) System and method for determining a state of health of a power source of a portable device
CN110709717B (en) Method for estimating battery health of mobile device based on relaxation voltage
CN104951034B (en) Mobile terminal and its USB interface condition control method and device
US20160209472A1 (en) Method and apparatus for estimating battery life
US9998488B2 (en) Protection system including machine learning snapshot evaluation
CN109144584A (en) A kind of programmable logic device and its starting method, system and storage medium
CN105372595A (en) Battery capacity detection system and method
CN106371019A (en) Electric quantity display system and method
CN103513999B (en) A kind of method and electronic equipment for updating system firmware
Bakker Comparing energy profilers for android
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
US20200319258A1 (en) System and Method for Determining a State of Health of a Power Source of a Portable Device
CN104519190A (en) Mobile apparatus low-electric-quantity power-on control method and system
CN105809028A (en) Apparatus and method for running multiple instances of same application in mobile devices
EP3117286A1 (en) Power monitoring system for virtual platform simulation
CN106569132A (en) Power display method and apparatus
CN109445892A (en) A kind of data display method, device, electronic equipment and storage medium
TWI540427B (en) A System and Method for Displaying Battery Capacity
CN106205066A (en) Method, device and the terminal of a kind of detection of soaking
CN105354491A (en) Standby state detection method and device of intelligent terminal
Valincius et al. A Power Consumption Benchmark Framework for Ontology Reasoning on Android Devices.
CN110556884B (en) Charging management method, device, medium and electronic equipment applying method
TWI840467B (en) Method and device for detecting safety of battery, electronic device and storage medium
CN104679912A (en) Method and device for displaying images, and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180226

Address after: 201613 Shanghai city south of Songjiang Export Processing Zone Road No. 1925

Applicant after: Ambit Microsystems (Shanghai) Co., Ltd.

Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Applicant before: Ambit Microsystems (Shanghai) Co., Ltd.

Applicant before: Hon Hai Precision Industry Co., Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170201

WD01 Invention patent application deemed withdrawn after publication