CN107024657A - A kind of electricity display processing method and device for electronic equipment - Google Patents
A kind of electricity display processing method and device for electronic equipment Download PDFInfo
- Publication number
- CN107024657A CN107024657A CN201610062959.7A CN201610062959A CN107024657A CN 107024657 A CN107024657 A CN 107024657A CN 201610062959 A CN201610062959 A CN 201610062959A CN 107024657 A CN107024657 A CN 107024657A
- Authority
- CN
- China
- Prior art keywords
- voltage
- electricity
- measurement
- low value
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/021—Measuring pressure in heart or blood vessels
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G23/00—Auxiliary devices for weighing apparatus
- G01G23/18—Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
- G01R31/3835—Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Cardiology (AREA)
- General Physics & Mathematics (AREA)
- Heart & Thoracic Surgery (AREA)
- Molecular Biology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Physiology (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Vascular Medicine (AREA)
- Measurement Of Current Or Voltage (AREA)
- Secondary Cells (AREA)
Abstract
The invention discloses a kind of electricity display processing method and device for electronic equipment, methods described includes:Acquisition step, judgment step, and process step;Wherein according to the judged result in judgment step and measurement voltage low value and the contrast of current voltage and variance values and the relation of multiple predetermined thresholds, choose current battery level or measurement voltage low value is converted to electricity and shown.According to the method and apparatus of the embodiment of the present invention, cost is low, it is possible to improve the Stability and veracity that electric device battery electricity is shown, improves the Experience Degree of user.
Description
Technical field
The present invention relates to a kind of battery detection method and apparatus, more particularly to a kind of electricity display processing method and device for electronic equipment.
Background technology
With the development of science and technology, various electronic equipments are widely used, wherein the healthy equipment of such as smart home(Such as electronic sphygmomanometer, health scale)Non- plug-in electronic apparatus application it is especially extensive.Because this kind equipment is powered usually using battery, people can often pay close attention to the battery electric quantity of equipment, to predict the electricity consumption situation of equipment and be charged to equipment in time or change battery, therefore the display of battery electric quantity is extremely important for the current electric quantity situation of user's understanding equipment.
At present, the conventional battery power quantity display method of electronic equipment is detection device current battery level, and current voltage then is converted into correspondence electricity is shown.But for many electronic products, required electric current is bigger than holding state in use, causes battery transient voltage to be pulled low, then easily occurs electricity according to conventional battery power quantity display method and show rebound phenomenon.The appearance of such case, can make user think that electricity shows inaccurate, unstable, or even easily erroneous judgement thinks equipment electricity is low or device battery is problematic, causes Consumer's Experience poor.Therefore, a kind of battery electric quantity display device and method are provided in patent CN201110135652, including:Battery voltage value is gathered in real time;According to the battery voltage value of multi collect in the predetermined section time, this cell voltage average value is tried to achieve;Judge amplitude of variation of this cell voltage average value relative to previous cell voltage average value, when the amplitude of variation is more than predetermined threshold, this cell voltage average value is converted into battery electric quantity value;Show the battery electric quantity value.This scheme effectively solves the rebound situation that electricity is shown, but for the electronic product that the voltage change of such as intelligent electronic device declines for constant speed rate, because each voltage change is all almost less than predetermined threshold, then battery electric quantity value does not change.After past a period of time, equipment actual cell voltage has dropped to a low value, but when time previous cell voltage mean variation amplitude of contrast maintains initial cell charge value less and always, then battery electric quantity occurs and show inaccurate situation.Also it is to increase voltameter in a device to have a kind of scheme, detects battery electric quantity in real time, this scheme electricity shows more accurate, but cost also increases therewith, for many daily electronic equipments, and this scheme is simultaneously inadvisable.
Accordingly, it would be desirable to a kind of inexpensive electricity display processing method, and the Stability and veracity that device battery electricity is shown can be improved, improve the Experience Degree of user.
The content of the invention
The invention aims to the defect for overcoming prior art presence, there is provided a kind of electricity display processing method and device for electronic equipment.In order to realize this purpose, the technical solution used in the present invention is as follows.
According to the first aspect of the embodiment of the present invention there is provided a kind of electricity display processing method for electronic equipment, including:Acquisition step, for timing acquiring cell voltage, as when primary cell voltage;In addition, also including:Judgment step, for judge equipment whether be it is upper electricity after operate first;And process step, for when being operated first after equipment is upper electricity, taking current battery level to be converted to electricity, and shown as current electric quantity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change;Then, voltage low value will be measured and the current battery level of the last collection is contrasted, if measurement voltage low value is more than current voltage, and variance values are more than the first predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is less than current voltage, and variance values are more than the second predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is more than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values are when being less than or equal to the second predetermined threshold, take measurement voltage low value to be converted to electricity, and shown as current electric quantity.
According to one embodiment, optionally, lock step is may also include, for when measurement voltage change being more than the 3rd predetermined threshold, or measurement voltage low value less than low voltage threshold, equipment being locked and lock flag is shown.
According to another embodiment, in addition to unlocked step, for after equipment is re-powered or is charged, releasing equipment lock-out state and eliminating lock flag.
According to further embodiment, the average value of voltage change when first predetermined threshold is normal work;Second predetermined threshold is the voltage change representated by each scale when electricity is shown.
According to another embodiment, the 3rd predetermined threshold is by the maximum voltage changing value that allows in one-shot measurement;The low voltage threshold is the minimum voltage value for maintaining equipment normal work.
According to other one embodiment, it is preferred that in measurement process, electricity, which is shown, not to be updated.
According to still further embodiment, in equipment measurement next time operation, acquisition step is repeated, to cover measurement voltage low value, measurement voltage high level and the measurement voltage change of last time.
According to the second aspect of the embodiment of the present invention there is provided a kind of electricity display processing unit for electronic equipment, including:Time block, for providing timing signal;Acquisition module, for gathering cell voltage as when primary cell voltage according to timing signal;In addition, also including:Judge module, for judge equipment whether be it is upper electricity after operate first;And processing module, for when being operated first after equipment is upper electricity, taking current battery level to be converted to electricity, and shown as current electric quantity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change;Then, voltage low value will be measured and the current battery level of the last collection is contrasted, if measurement voltage low value is more than current voltage, and variance values are more than the first predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is less than current voltage, and variance values are more than the second predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is more than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values are when being less than or equal to the second predetermined threshold, take measurement voltage low value to be converted to electricity, and shown as current electric quantity.
According to one embodiment, optionally, described electricity display processing unit may also include locking module, for when measurement voltage change being more than the 3rd predetermined threshold, or measurement voltage low value less than low voltage threshold, equipment being locked and lock flag is shown.
According to another embodiment, described electricity display processing unit also includes unlocked state, for after equipment is re-powered or is charged, releasing equipment lock-out state and eliminating lock flag.
According to the third aspect of the embodiment of the present invention there is provided a kind of healthy equipment of smart home, it is included according to the electricity display processing unit described in second aspect of the embodiment of the present invention.
According to the electricity display processing method and device of the embodiment of the present invention:(1)The situation of spread of voltage when considering device measuring(Equipment required electric current in measurement is big, is easily caused moment and drags down voltage), shown by the way that equipment is arranged into electricity in measurement process and do not updated, it is to avoid electricity shows rebound phenomenon, electricity show more stable, electric quantity change is more steady;(2)Consider in the case where voltage change is big, shown using measuring voltage low value as electricity, realize shift to an earlier date display device it is currently used when minimum voltage state, it is to avoid the unexpected step-down of voltage in measurement process and interrupt measurement, show electricity and be easier to be easily accepted by a user;(3)When judging that equipment electric quantity consumption is serious, electricity is low, equipment locking is not allowed to measure operation, it is to avoid user is influenceed measurement result because of not enough power supply when being measured using equipment or is forced to interrupt measurement, so as to improve user experience.
The present invention is specifically described below in conjunction with accompanying drawing and by embodiment, wherein identical or essentially identical part is indicated using identical reference.
Brief description of the drawings
Fig. 1 is the indicative flowchart of the electricity display processing method for electronic equipment according to one embodiment of the invention;
Fig. 2 is the structural representation of the electricity display processing unit for electronic equipment according to one embodiment of the invention;
Fig. 3 is to include the indicative flowchart of the healthy equipment course of work of smart home according to the electricity display processing unit of the embodiment of the present invention.
Embodiment
As shown in figure 1, being the indicative flowchart of the electricity display processing method for electronic equipment according to one embodiment of the invention, mainly include:Acquisition step 100, judgment step 102, and process step 104;In another embodiment, lock step 106 and unlocked step 108 are also alternatively included.
Wherein acquisition step 100 is used for timing acquiring cell voltage, as when primary cell voltage;Judgment step 102 is used to judging whether equipment to be to operate first after upper electricity, or in operation is measured, carries out different processing in following process steps accordingly.
In process step 104, if equipment is operates first after upper electricity, by current battery level(What is gathered works as primary cell voltage)Electricity is converted to, and is shown as current electric quantity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, by comparing, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, and the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change(That is, voltage change=measurement voltage high level-measurement voltage low value is measured);Then, by measurement voltage low value and current voltage(What i.e. the last time gathered works as primary cell voltage)Contrast:
If measuring voltage low value is more than current voltage, and variance values(That is, variance values=│ measurement voltages low value-current voltage │)More than the first predetermined threshold, then it is assumed that device battery voltage fall is big, takes current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is less than current voltage, and variance values(Variance values=│ measurement voltages low value-current voltage │)More than the second predetermined threshold, it is determined that device battery voltage ascensional range is big, and equipment may carry out charging operations, take current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is more than current voltage, and variance values(Variance values=│ measurement voltages low value-current voltage │)It is less than current voltage, and variance values less than or equal to the first predetermined threshold, or measurement voltage low value(Variance values=│ measurement voltages low value-current voltage │)During less than or equal to the second predetermined threshold, it may be determined that device battery voltage change is relatively small, desirable measurement voltage low value is converted to electricity, and is shown as current electric quantity.
Wherein according to one embodiment, array size is by collection in one-shot measurement when the total number of time voltage, i.e. array size=measurement required time/timing cycle;Wherein timing cycle should be greater than the time needed for primary voltage collection, less than the time needed for completion one-shot measurement.To improve acquisition precision, several seconds or smaller time, such as 8Hz or so are normally defined.
According in another embodiment, in lock step 106, if measuring voltage change is more than the 3rd predetermined threshold, it then can determine that the consumption of device battery current electric quantity is serious, it is not suitable for proceeding measurement, equipment can be locked, and show lock flag, equipment does not allow to measure before battery or charging is changed;It or measurement voltage low value is less than low voltage threshold, then can determine that equipment current electric quantity is not enough, be not suitable for proceeding measurement, equipment is locked and lock flag is shown, equipment does not allow to measure before battery or charging is changed.In unlocked step 108, after equipment is re-powered or is charged, release equipment lock-out state and eliminate lock flag.
According to further embodiment, in measurement process, electricity, which is shown, not to be updated.In addition, when equipment is locked and is charged, can allow to carry out other operations in addition to measurement.
According to another embodiment, it is preferred that in equipment measurement next time operation, repeated acquisition step, to cover measurement voltage low value, measurement voltage high level and the measurement voltage change of last time.
According to one embodiment, the average value of voltage change when first predetermined threshold is normal work, it is an empirical value, can be obtained by many experiments, for example, can be taken as 0.3V or so.
According to another embodiment, second predetermined threshold is the voltage change representated by each scale when electricity is shown, such as the change of each lattice turns to 0.5V or so.
According to another embodiment, the 3rd predetermined threshold is by the maximum voltage changing value allowed in one-shot measurement, and it is slightly larger than the first predetermined threshold, such as 0.5V or so.
According to a specific example, for the healthy equipment of general smart home, voltage change of the equipment in normal work is about 0.3V, then it is 0.3V to set the first predetermined threshold;Electricity shows that the voltage change representated by each lattice is 0.5V, then it is 0.5V to set the second predetermined threshold;It is 0.5V to allow the voltage change maximum per task, then it is 0.5V to set the 3rd predetermined threshold.Electricity is carried out according to the different electric quantity change situations of equipment to show, for example:
If when time magnitude of voltage is 5.1V, the voltage low value of the last time measurement is 4.9V, then according to the method for above-described embodiment, and judged result is that current voltage change is little, and electricity is converted into measure voltage low value (i.e. 4.9V), carries out electricity and shows.
If current voltage is 4.5V, the voltage low value of the last time measurement is 4.9V, then according to the method for above-described embodiment, and judged result is that current voltage fall is big, with current voltage(That is 4.5V)Electricity is converted into, electricity is carried out and shows.
If current voltage 5.5V, the voltage low value of the last time measurement is 4.9V, then according to the method for above-described embodiment, and judged result is that current voltage ascensional range is big, with current voltage(That is 5.5V)Electricity is converted into, electricity is carried out and shows.
By this method, equipment can make it that in adjacent two task, the electricity of display shows voltage low value closer to real work voltage, and when voltage change is little, whether sufficient current electric quantity can be predicted in advance.
According to the method for the embodiment of the present invention:(1)The situation of spread of voltage when considering device measuring(Equipment required electric current in measurement is big, is easily caused moment and drags down voltage), it is arranged to electricity in measurement process and shows do not update, it is to avoid electricity shows rebound phenomenon, electricity show more stable, electric quantity change is more steady;(2)Consider in the case where voltage change is big, shown using measuring voltage low value as electricity, realize shift to an earlier date display device it is currently used when minimum voltage state, it is to avoid the unexpected step-down of voltage in measurement process and interrupt measurement, show electricity and be easier to be easily accepted by a user;(3)When judging equipment electric quantity consumption is serious, electricity is low situation, equipment locking is not allowed to measure operation, it is to avoid user influences measurement result when measuring using equipment or be forced to interrupt to measure because of not enough power supply, raising user experience.
As shown in Fig. 2 being the structural representation of the electricity display processing unit 200 according to one embodiment of the invention, mainly include:Time block 202, acquisition module 204, judge module 206, and processing module 208;In another embodiment, locking module 210 and unlocked state 212 are also alternatively included.
Wherein time block 202 is used to provide timing signal to acquisition module 204, and acquisition module 204 receives the timing signal, and responds the timing signal collecting device current battery level as when primary cell voltage;Judge module 206 is used to judging whether equipment to be to operate first after upper electricity, or in operation is measured.
Processing module 208 is further processed according to the result of judge module 206, if current battery level is converted to electricity, and show as current electric quantity by equipment to be operated first after upper electricity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change;Then, by measurement voltage low value and current voltage(What i.e. the last time gathered works as primary cell voltage)Contrast:If measuring voltage low value is more than current voltage, and variance values are more than the first predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is less than current voltage, and variance values are more than the second predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;If measuring voltage low value is more than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values are when being less than or equal to the second predetermined threshold, take measurement voltage low value to be converted to electricity, and shown as current electric quantity.Wherein processing module 208 includes but is not limited to CPU, DSP, PLC, MCU, single-chip microcomputer etc..
In another embodiment, if measurement voltage change is more than the 3rd predetermined threshold, or measurement voltage low value is less than low voltage threshold, then equipment is locked and shows lock flag by locking module 210.Correspondingly, after equipment is re-powered or is charged, unlocked state 212 is used to release equipment lock-out state and eliminates lock flag.
Above-mentioned electricity display processing unit 200 can realize in the healthy equipment of various smart homes that these smart homes health equipment includes but is not limited to electronic sphygmomanometer, health scale, blood glucose meter, electronic thermometer, BOLD contrast, Intelligent bracelet etc. by software, hardware, firmware or other combinations.When realizing, the controller or processor of the healthy equipment of smart home can also be shared, these all it can be appreciated that be not detailed herein.
As shown in figure 3, being to include the indicative flowchart of the healthy equipment course of work of smart home according to the electricity display processing unit 200 of the embodiment of the present invention.It is upper establish machine by cable after(Frame 302), it is determined that either with or without actuation of keys(Frame 304), if without if enter holding state(Frame 306), if actuation of keys, then further determined whether lock machine mark(Frame 308), if then showing that low-voltage is locked(Frame 310)And subsequently enter holding state(Frame 306), measurement was judged whether to if not(Frame 312).If measurement operation first, then take current voltage and be converted into electricity(Frame 314)And shown(Frame 316);If not being operated first after upper electricity, then measurement module timing detection voltage is obtained when time voltage(Frame 318).Then, it is determined that measurement voltage low value is more than current voltage and when changing amplitude more than the first predetermined threshold(Frame 320), assert that battery consumption is big, voltage fall is big, and takes current voltage to be converted to electricity(Frame 322)And shown(Frame 316).Otherwise, then judge whether measurement voltage low value is less than current voltage and changes amplitude more than the second predetermined threshold(Frame 324), if it is, it is probably to cause electricity to be substantially increased after charging to judge, at this moment take current voltage to be converted to electricity(Frame 326)And shown(Frame 316);It is less than current voltage less than or equal to the first predetermined threshold, or measurement voltage low value if it is not, then thinking that measurement voltage low value is more than current voltage and changes amplitude and changes amplitude less than or equal to the second predetermined threshold(Frame 328), assert that voltage change is relatively small, take measurement voltage low value to be converted to electricity(Frame 330)And shown(Frame 316).Next determine whether to measure operation(Frame 332).Measurement voltage high level, low value and changing value are updated if measuring operation, after being measured(Frame 334), and then judge whether measurement voltage change is more than the 3rd predetermined threshold or whether measurement voltage low value is less than low voltage threshold(Frame 338), if it is, setting low-voltage lock flag and low-voltage can be pointed out to lock(Frame 340)And subsequently enter holding state(Frame 342), if not being then directly entered holding state(Frame 342);If it is determined that being operated without measurement in frame 332, then it can now allow other non-measured operations(Frame 336), subsequently enter holding state(Frame 342).
Above by specific embodiment, the present invention is described, but the present invention is not limited to these specific embodiments.Those skilled in the art should be understood that, various modifications, equivalent substitution, change etc. can also be made to the present invention, for example the step or module in above-described embodiment are divided into two or more steps or module to realize, or on the contrary, the multiple steps or the function of module in above-described embodiment are placed in a step or module to realize.But, these conversion, all should be within protection scope of the present invention without departing from the spirit of the present invention.In addition, some terms, such as " first ", " second " etc. used in present specification and claims, are not limitation, it is only for be easy to description.In addition, " one embodiment ", " another embodiment " described in above many places etc. represents different embodiments, naturally it is also possible to which it is completely or partially combined in one embodiment.
Claims (10)
1. a kind of electricity display processing method for electronic equipment, including:
Acquisition step, for timing acquiring cell voltage, as when primary cell voltage;
Characterized in that, also including:
Judgment step, for judge equipment whether be it is upper electricity after operate first;And
Process step, for when being operated first after equipment is upper electricity, taking current battery level to be converted to electricity, and shown as current electric quantity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change;Then, voltage low value will be measured and the current voltage of the last collection contrasted,
If measuring voltage low value is more than current voltage, and variance values are more than the first predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is less than current voltage, and variance values are more than the second predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is more than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values are when being less than or equal to the second predetermined threshold, take measurement voltage low value to be converted to electricity, and shown as current electric quantity.
2. it is used for the electricity display processing method of electronic equipment as claimed in claim 1, it is characterised in that also include:
Lock step, for when measurement voltage change being more than the 3rd predetermined threshold or measurement voltage low value is less than low voltage threshold, equipment being locked and lock flag is shown.
3. it is used for the electricity display processing method of electronic equipment as claimed in claim 2, it is characterised in that also include:
Unlocked step, for after equipment is re-powered or is charged, releasing equipment lock-out state and eliminating lock flag.
4. it is used for the electricity display processing method of electronic equipment as claimed in claim 2, it is characterised in that:The average value of voltage change when first predetermined threshold is normal work;Second predetermined threshold is the voltage change representated by each scale when electricity is shown;3rd predetermined threshold is by the maximum voltage changing value that allows in one-shot measurement;The low voltage threshold is the minimum voltage value for maintaining equipment normal work.
5. it is used for the electricity display processing method of electronic equipment as claimed in claim 1, it is characterised in that:In measurement process, electricity, which is shown, not to be updated.
6. the electricity display processing method for electronic equipment as described in any one of claim 1 to 5, it is characterised in that:In equipment measurement next time operation, acquisition step is repeated, to cover measurement voltage low value, measurement voltage high level and the measurement voltage change of last time.
7. a kind of electricity display processing unit for electronic equipment, including:
Time block, for providing timing signal;
Acquisition module, for gathering cell voltage as when primary cell voltage according to timing signal;
Characterized in that, also including:
Judge module, for judge equipment whether be it is upper electricity after operate first;And
Processing module, for when being operated first after equipment is upper electricity, then taking current battery level to be converted to electricity, and shown as current electric quantity;Otherwise, it will be gathered during device measuring when primary cell voltage formation array, it is measurement voltage low value to take wherein minimum value, it is measurement voltage high level to take wherein maximum, the difference for calculating measurement voltage high level and measurement voltage low value is measurement voltage change;Then, voltage low value will be measured and the current voltage of the last collection contrasted,
If measuring voltage low value is more than current voltage, and variance values are more than the first predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is less than current voltage, and variance values are more than the second predetermined threshold, then take current voltage to be converted to electricity, and shown as current electric quantity;
If measuring voltage low value is more than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values are when being less than or equal to the second predetermined threshold, take measurement voltage low value to be converted to electricity, and shown as current electric quantity.
8. it is used for the electricity display processing unit of electronic equipment as claimed in claim 7, it is characterised in that also include:
Locking module, for when measurement voltage change being more than the 3rd predetermined threshold, or measurement voltage low value less than low voltage threshold, equipment being locked and lock flag is shown.
9. it is used for the electricity display processing unit of electronic equipment as claimed in claim 8, it is characterised in that also include:
Unlocked state, for after equipment is re-powered or is charged, releasing equipment lock-out state and eliminating lock flag.
10. a kind of healthy equipment of smart home, it is characterised in that:Including the electricity display processing unit described in any one of claim 7 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610062959.7A CN107024657B (en) | 2016-01-30 | 2016-01-30 | A kind of electricity display processing method for electronic equipment and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610062959.7A CN107024657B (en) | 2016-01-30 | 2016-01-30 | A kind of electricity display processing method for electronic equipment and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107024657A true CN107024657A (en) | 2017-08-08 |
CN107024657B CN107024657B (en) | 2019-09-17 |
Family
ID=59524111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610062959.7A Active CN107024657B (en) | 2016-01-30 | 2016-01-30 | A kind of electricity display processing method for electronic equipment and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107024657B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144219A (en) * | 2018-08-17 | 2019-01-04 | 苏州易德龙科技股份有限公司 | The method for cooperating power down delay to realize low-voltage variation unlock |
CN109300236A (en) * | 2018-07-09 | 2019-02-01 | 武汉盛硕电子有限公司 | One kind is sold goods cabinet control method, system and sales counter |
CN110579712A (en) * | 2019-10-14 | 2019-12-17 | 北京云迹科技有限公司 | Electric quantity display method and device and electronic equipment |
WO2023004645A1 (en) * | 2021-07-28 | 2023-02-02 | 宁德时代新能源科技股份有限公司 | Charging method and apparatus, vehicle, and computer readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000338141A (en) * | 1999-03-25 | 2000-12-08 | Tokyo Electric Power Co Inc:The | Apparatus and method for measuring voltage and apparatus and method for measuring electric energy |
CN101282381A (en) * | 2007-04-03 | 2008-10-08 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for displaying battery dump energy |
CN102298119A (en) * | 2011-05-24 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Device and method for displaying battery power |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN102478636A (en) * | 2010-11-26 | 2012-05-30 | 比亚迪股份有限公司 | Electric quantity detection method and device for battery |
CN102508169A (en) * | 2011-11-07 | 2012-06-20 | 浙江绿源电动车有限公司 | Device and method for obtaining battery capacity |
CN202486292U (en) * | 2011-11-07 | 2012-10-10 | 浙江绿源电动车有限公司 | Battery electric quantity acquiring device |
CN103323773A (en) * | 2012-03-19 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for processing display of electric quantity of battery |
US20150155704A1 (en) * | 2013-12-02 | 2015-06-04 | Rohm Co., Ltd. | Switching converter, control circuit thereof, ac/dc converter, power adapter and electronic device |
-
2016
- 2016-01-30 CN CN201610062959.7A patent/CN107024657B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000338141A (en) * | 1999-03-25 | 2000-12-08 | Tokyo Electric Power Co Inc:The | Apparatus and method for measuring voltage and apparatus and method for measuring electric energy |
CN101282381A (en) * | 2007-04-03 | 2008-10-08 | 乐金电子(中国)研究开发中心有限公司 | Apparatus and method for displaying battery dump energy |
CN102478636A (en) * | 2010-11-26 | 2012-05-30 | 比亚迪股份有限公司 | Electric quantity detection method and device for battery |
CN102298119A (en) * | 2011-05-24 | 2011-12-28 | 惠州Tcl移动通信有限公司 | Device and method for displaying battery power |
CN102508169A (en) * | 2011-11-07 | 2012-06-20 | 浙江绿源电动车有限公司 | Device and method for obtaining battery capacity |
CN202486292U (en) * | 2011-11-07 | 2012-10-10 | 浙江绿源电动车有限公司 | Battery electric quantity acquiring device |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN103323773A (en) * | 2012-03-19 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for processing display of electric quantity of battery |
US20150155704A1 (en) * | 2013-12-02 | 2015-06-04 | Rohm Co., Ltd. | Switching converter, control circuit thereof, ac/dc converter, power adapter and electronic device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109300236A (en) * | 2018-07-09 | 2019-02-01 | 武汉盛硕电子有限公司 | One kind is sold goods cabinet control method, system and sales counter |
CN109144219A (en) * | 2018-08-17 | 2019-01-04 | 苏州易德龙科技股份有限公司 | The method for cooperating power down delay to realize low-voltage variation unlock |
CN109144219B (en) * | 2018-08-17 | 2021-08-27 | 苏州易德龙科技股份有限公司 | Method for realizing low-voltage protection unlocking by matching with power failure delay |
CN110579712A (en) * | 2019-10-14 | 2019-12-17 | 北京云迹科技有限公司 | Electric quantity display method and device and electronic equipment |
CN110579712B (en) * | 2019-10-14 | 2022-02-08 | 北京云迹科技有限公司 | Electric quantity display method and device and electronic equipment |
WO2023004645A1 (en) * | 2021-07-28 | 2023-02-02 | 宁德时代新能源科技股份有限公司 | Charging method and apparatus, vehicle, and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107024657B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107024657A (en) | A kind of electricity display processing method and device for electronic equipment | |
JP6552769B1 (en) | Energy display system, display device and energy display method | |
CN103823187B (en) | The monitoring method of the dump energy of wireless sensor network node and device thereof | |
CN103033758A (en) | Display electric quantity value calibration method and device | |
CN103336245A (en) | Battery state detecting method, radio frequency identification device and battery detecting system | |
CN104224239B (en) | Determining female physiological periodicity monitoring method and system | |
CN106249168B (en) | A kind of battery curve modification method and device | |
CN103529397B (en) | A kind of method estimating battery electric quantity and battery electric quantity management system | |
CN104111426A (en) | Remote controller electric quantity detection method and device | |
WO2024055838A1 (en) | Method and system for evaluating state of health of battery | |
US20130144452A1 (en) | Power consumption display apparatus and power consumption display method | |
CN106990275A (en) | The insulation against ground resistive voltage method of sampling and device | |
JP2015226423A (en) | Abnormality determination device, abnormality determination method, and computer program | |
CN108765747B (en) | Metering method for super power factor electric quantity | |
CN113232552B (en) | Electric automobile and calculation method, display method and device of residual electric quantity thereof | |
CN102608536B (en) | Electric vehicle storage battery dump energy algorithm based on digital voltage sampling | |
JP2010254177A (en) | Maintenance data collection device | |
CN106597339A (en) | Battery charging state correction method and battery charging state correction device | |
CN101865959A (en) | Charger detector of electric vehicle | |
CN107203152A (en) | A kind of energy-saving device and economize on electricity weight testing method | |
JP6018348B1 (en) | Power saving support device and power saving support method | |
CN203263435U (en) | Electronic detector for ovulatory period of women | |
CN103675496B (en) | Electronic device environment test system | |
CN106018931B (en) | voltage qualification rate monitoring method and system | |
CN107632263A (en) | A kind of method and system that remaining battery power is characterized using magnitude of voltage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |