CN107024657B - A kind of electricity display processing method for electronic equipment and device - Google Patents

A kind of electricity display processing method for electronic equipment and device Download PDF

Info

Publication number
CN107024657B
CN107024657B CN201610062959.7A CN201610062959A CN107024657B CN 107024657 B CN107024657 B CN 107024657B CN 201610062959 A CN201610062959 A CN 201610062959A CN 107024657 B CN107024657 B CN 107024657B
Authority
CN
China
Prior art keywords
voltage
electricity
measurement
current
low value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610062959.7A
Other languages
Chinese (zh)
Other versions
CN107024657A (en
Inventor
温国生
代仁维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Happy Electronics Co Ltd
Original Assignee
Zhongshan Happy Electronics 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 Zhongshan Happy Electronics Co Ltd filed Critical Zhongshan Happy Electronics Co Ltd
Priority to CN201610062959.7A priority Critical patent/CN107024657B/en
Publication of CN107024657A publication Critical patent/CN107024657A/en
Application granted granted Critical
Publication of CN107024657B publication Critical patent/CN107024657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, 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/021Measuring pressure in heart or blood vessels
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3835Arrangements 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 for electronic equipment and devices, which comprises acquisition step, judgment step and processing step;Wherein according to the relationship of the comparison of judging result and measurement voltage low value and current voltage in judgment step and variance values and multiple predetermined thresholds, chooses current battery level or measurement voltage low value is converted to electricity and is shown.It is at low cost according to the method and apparatus of the embodiment of the present invention, and the Stability and veracity that electric device battery electricity is shown can be improved, improve the Experience Degree of user.

Description

A kind of electricity display processing method for electronic equipment and device
Technical field
The present invention relates to a kind of battery detection method and apparatus, show more particularly to a kind of electricity for electronic equipment Processing method and device.
Background technique
With the development of science and technology, various electronic equipments are widely used, wherein such as smart home health equipment The non-plug-in electronic apparatus application of (such as electronic sphygmomanometer, health scale etc.) is especially extensive.Since this kind of equipment is usually used Battery power supply, people can often pay close attention to the battery capacity of equipment, to predict the electricity consumption situation of equipment and be filled in time to equipment Electricity or replacement battery, therefore the current electric quantity situation that the display of battery capacity understands equipment for user is extremely important.
Currently, the common battery power quantity display method of electronic equipment is detection device current battery level, it then will be current Voltage is converted to corresponding electricity and is shown.But for many electronic products, required electric current is than standby in use State is big, causes battery transient voltage that can be pulled low, is then easy to appear electricity according to common battery power quantity display method and shows Rebound phenomenon.The appearance of such case will use family and think that electricity display is inaccurate, unstable, or even easy erroneous judgement is thought to set Standby electricity is low or device battery is problematic, causes user experience poor.For this purpose, being provided in patent CN201110135652 A kind of battery electric quantity display device and method, comprising: acquire battery voltage value in real time;According to multi collect in the predetermined section time Battery voltage value, acquire this cell voltage average value;Judge this cell voltage average value relative to previous cell voltage This cell voltage average value is converted to battery when the amplitude of variation is greater than predetermined threshold by the amplitude of variation of average value Charge value;Show the battery capacity value.The rebound situation that this scheme effective solution electricity is shown, but for such as intelligence The voltage change of energy electronic equipment is for the electronic product of constant speed rate decline, since each voltage change is all almost less than Predetermined threshold, then battery capacity value does not change.A period of time in the past after, equipment actual cell voltage have dropped to one it is low Value, but maintain initial cell charge value always when time previous cell voltage mean variation amplitude of comparison is little, then occur The situation of battery capacity display inaccuracy.Also having a kind of scheme is to increase voltameter in a device, carrys out real-time detection battery capacity, It is more accurate that this scheme electricity is shown, but cost also increases therewith, and for many daily electronic equipments, this scheme is simultaneously It is undesirable.
Therefore, it is necessary to a kind of electricity display processing methods of low cost, and can be improved what device battery electricity was shown Stability and veracity improves the Experience Degree of user.
Summary of the invention
The purpose of the invention is to overcome defect of the existing technology, it is aobvious to provide a kind of electricity for electronic equipment Show processing method and device.In order to realize the purpose, the technical solution used in the present invention is as follows.
According to the embodiment of the present invention in a first aspect, provide a kind of electricity display processing method for electronic equipment, wrap Include: acquisition step is used for timing acquiring cell voltage, as when primary cell voltage;Furthermore, further includes: judgment step, for sentencing Whether disconnected equipment is to operate for the first time after powering on;And processing step, for taking current electricity when operating for the first time after equipment is to power on Cell voltage is converted to electricity, and shows as current electric quantity;Otherwise, work as primary cell voltage shape for what is acquired during device measuring At array, take wherein minimum value for measurement voltage low value, take wherein maximum value for measurement voltage high level, calculate measurement voltage high level Difference with measurement voltage low value is measurement voltage change;Then, will measure voltage low value and it is the last acquire it is current Cell voltage comparison, if measurement voltage low value is greater than current voltage, and variance values are greater than the first predetermined threshold, then take and work as Preceding voltage is converted to electricity, and shows as current electric quantity;If measuring voltage low value is less than current voltage, and variance values Greater than the second predetermined threshold, then current voltage is taken to be converted to electricity, and show as current electric quantity;If it is big to measure voltage low value In 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 changes When range value is less than or equal to the second predetermined threshold, measurement voltage low value is taken to be converted to electricity, and show as current electric quantity.
According to one embodiment, optionally, may also include lock step, for being greater than third in measurement voltage change Predetermined threshold, or measurement voltage low value be less than low voltage threshold when, equipment is locked and shows lock flag.
It further include unlocked step according to another embodiment, for after equipment re-powers or charges, releasing equipment lock Determine state and eliminates lock flag.
According to further embodiment, first predetermined threshold is the average value of voltage change when working normally;It is described Second predetermined threshold is voltage change representated by each scale when electricity is shown.
According to another embodiment, the third predetermined threshold is permitted maximum voltage changing value in one-shot measurement; The low voltage threshold is the minimum voltage value for maintaining equipment to work normally.
According to other one embodiment, it is preferred that in measurement process, electricity, which is shown, not to be updated.
Acquisition step is repeated, to cover last time when measuring operation equipment next time according to still further embodiment Measure voltage low value, measurement voltage high level and measurement voltage change.
According to the second aspect of the embodiment of the present invention, a kind of electricity display processing unit for electronic equipment is provided, is wrapped It includes: timing module, for providing timing signal;Acquisition module, for being used as according to timing signal acquisition cell voltage when time electricity Cell voltage;Furthermore, further includes: judgment module, for judging whether equipment is to operate for the first time after powering on;And processing module, it uses When operating for the first time after being to power in equipment, current battery level is taken to be converted to electricity, and show as current electric quantity;Otherwise, To acquire during device measuring when primary cell voltage forms array, take wherein minimum value be measurement voltage low value, take wherein Maximum value is measurement voltage high level, and calculating measurement voltage high level and measuring the difference of voltage low value is measurement voltage change;So Afterwards, the current battery level for measuring voltage low value and the last acquisition is compared, if measurement voltage low value is greater than current electricity Pressure, and variance values are greater than the first predetermined threshold, then take current voltage to be converted to electricity, and show as current electric quantity;Such as Fruit measures voltage low value and is less than current voltage, and variance values are greater than the second predetermined threshold, then take current voltage to be converted to electricity Amount, and shown as current electric quantity;If measuring voltage low value is greater than current voltage, and variance values are less than or equal to first in advance Determine threshold value, or measurement voltage low value is less than current voltage, and when variance values are less than or equal to the second predetermined threshold, takes measurement electricity It forces down value and is converted to electricity, and shown as current electric quantity.
According to one embodiment, it optionally, the electricity display processing unit may also include locking module, is used for When measuring voltage change and be greater than third predetermined threshold, or measuring voltage low value less than low voltage threshold, simultaneously by equipment locking Show lock flag.
According to another embodiment, the electricity display processing unit further includes unlocked state, for equipment again After powering on or charging, releases equipment lock state and eliminate lock flag.
According to the third aspect of the embodiment of the present invention, a kind of smart home health equipment is provided comprising according to the present invention Electricity display processing unit described in embodiment second aspect.
According to the electricity display processing method and device of the embodiment of the present invention: voltage instability when (1) considering device measuring Fixed situation (equipment required electric current in measurement is big, easily lead to moment drag down voltage), by the way that equipment is arranged to measurement process Middle electricity, which is shown, not to be updated, and is avoided electricity from showing rebound phenomenon, is shown electricity 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, realization shows that equipment is currently used in advance When minimum voltage state, avoid voltage in measurement process from being lower suddenly and interrupt measurement, make electricity show be easier connect by user By;(3) when judging that equipment electric quantity consumption is serious, electricity is low, do not allow equipment locking to measure operation, user is avoided to exist Measurement result is influenced because of not enough power supply when measuring using equipment or is forced to interrupt measurement, to improve user experience Degree.
The present invention is specifically described below in conjunction with attached drawing and by embodiment, wherein identical or essentially identical portion Part is indicated using identical appended drawing reference.
Detailed description of the invention
Fig. 1 is the schematic flow according to the electricity display processing method for electronic equipment of one embodiment of the invention Figure;
Fig. 2 is the structural representation according to the electricity display processing unit for electronic equipment of one embodiment of the invention Figure;
Fig. 3 be include the smart home health equipment course of work according to the electricity display processing unit of the embodiment of the present invention Schematic flow chart.
Specific embodiment
As shown in Figure 1, being shown according to the electricity display processing method for electronic equipment of one embodiment of the invention Meaning property flow chart, specifically includes that acquisition step 100, judgment step 102 and processing step 104;In another embodiment, Also optionally include lock step 106 and unlocked step 108.
Wherein acquisition step 100 is used for timing acquiring cell voltage, as when primary cell voltage;Judgment step 102 is used for Judge whether equipment is to operate for the first time after powering on, or in measuring operation, accordingly in following processing steps into The different processing of row.
In processing step 104, if equipment is to operate for the first time after powering on, by current battery level, (what is acquired works as Primary cell voltage) electricity is converted to, and shown as current electric quantity;Otherwise, work as primary cell for what is acquired during device measuring Voltage formed array, by comparing, take wherein minimum value for measurement voltage low value, take wherein maximum value for measurement voltage high level, Calculating measurement voltage high level and measuring the difference of voltage low value is measurement voltage change (that is, measurement voltage change=measurement electricity Press high level-measurement voltage low value);Then, measuring voltage low value, (what i.e. the last time acquired works as primary cell electricity with current voltage Pressure) comparison:
If measuring voltage low value is greater than current voltage, and variance values are (that is, variance values=│ measurement voltage is low Value-current voltage │) it is greater than the first predetermined threshold, then it is assumed that and device battery voltage fall is big, and current voltage is taken to be converted to electricity Amount, and shown as current electric quantity;
If measuring voltage low value is less than current voltage, and variance values (variance values=│ measurement voltage low value-when Preceding voltage │) it is greater than the second predetermined threshold, it is determined that and device battery voltage ascensional range is big, and equipment can be carried out charging operations, It takes current voltage to be converted to electricity, and is shown as current electric quantity;
If measuring voltage low value is greater than current voltage, and variance values (variance values=│ measurement voltage low value-when Preceding voltage │) it is less than or equal to the first predetermined threshold, or measurement voltage low value is less than current voltage, and variance values (amplitude of variation Value=│ measures voltage low value-current voltage │) when being less than or equal to the second predetermined threshold, it may be determined that device battery voltage change is opposite Smaller, desirable measurement voltage low value is converted to electricity, and shows as current electric quantity.
Wherein according to one embodiment, array size is by acquisition in one-shot measurement when the total number of time voltage, that is, array Size=measurement required time/timing cycle;Time needed for wherein timing cycle should be greater than primary voltage acquisition, it is less than and completes Time needed for one-shot measurement.To improve acquisition precision, it is normally defined several seconds or smaller time, such as 8Hz or so.
According in another embodiment, in lock step 106, if measurement voltage change is greater than the predetermined threshold of third Value then can determine that the consumption of device battery current electric quantity is serious, be not suitable for continuing to measure, can lock equipment, and show lock Will is calibrated, equipment does not allow to measure in replacement battery or before charging;Or measurement voltage low value is less than low voltage threshold, then It can determine that equipment current electric quantity is insufficient, be not suitable for continuing to measure, equipment is locked to and shown lock flag, in replacement battery Or equipment does not allow to measure before charging.In unlocked step 108, after equipment re-powers or charges, equipment lock is released Determine state and eliminates lock flag.
According to further embodiment, in measurement process, electricity, which is shown, not to be updated.In addition, being locked and charging in equipment When, allow to carry out other operations in addition to measurement.
According to another embodiment, it is preferred that when measuring operation equipment next time, repeated acquisition step, in covering Secondary measurement voltage low value, measurement voltage high level and measurement voltage change.
According to one embodiment, first predetermined threshold is the average value of voltage change when working normally, and is one Empirical value, can obtain by many experiments, such as can be taken as 0.3V or so.
According to another embodiment, second predetermined threshold is voltage change representated by each scale when electricity is shown Value, such as the variation of each lattice is 0.5V or so.
According to another embodiment, the third predetermined threshold is permitted maximum voltage changing value in one-shot measurement, It is slightly larger than first predetermined threshold, such as 0.5V or so.
According to a specific example, for general smart home health equipment, the voltage of equipment in normal work Changing value is about 0.3V, then it is 0.3V that the first predetermined threshold, which is arranged,;Electricity shows that voltage change representated by each lattice is 0.5V, then it is 0.5V that the second predetermined threshold, which is arranged,;The voltage change maximum value for allowing every task is 0.5V, then it is pre- that third is arranged Determining threshold value is 0.5V.Electricity is carried out according to the different electric quantity change situations of equipment to show, such as:
If the voltage low value of the last time measurement is 4.9V, then according to above-described embodiment when time voltage value is 5.1V Method, judging result are that current voltage variation is little, are converted into electricity to measure voltage low value (i.e. 4.9V), it is aobvious to carry out electricity Show.
If current voltage is 4.5V, the voltage low value of the last time measurement is 4.9V, then according to the side of above-described embodiment Method, judging result are that current voltage fall is big, are converted into electricity with current voltage (i.e. 4.5V), carry out electricity and show.
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, Judging result is that current voltage ascensional range is big, is converted into electricity with current voltage (i.e. 5.5V), carries out electricity and shows.
By this method, it can make equipment in adjacent two task, the electricity of display is closer to real work Voltage, and voltage low value is shown 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: (equipment is measuring the case where spread of voltage when (1) considering device measuring Shi Suoxu electric current is big, easily leads to moment and drags down voltage), it is arranged to electricity in measurement process and shows do not update, it is aobvious avoids electricity Show rebound phenomenon, shows electricity more stable, electric quantity change is more steady;(2) consider in the case where voltage change is big, with Measurement voltage low value shows that realization shows minimum voltage state when equipment is currently used in advance as electricity, avoids measurement process Middle voltage is lower suddenly and interrupts measurement, shows electricity and is easier to be easily accepted by a user;(3) when judging that equipment electric quantity consumption is tight When weight, the low situation of electricity, do not allow equipment locking to measure operation, avoid user when being measured using equipment because Measurement result is influenced for not enough power supply or is forced to interrupt measurement, improves user experience.
As shown in Fig. 2, being according to the structural schematic diagram of the electricity display processing unit 200 of one embodiment of the invention, master It include: timing module 202, acquisition module 204, judgment module 206 and processing module 208;In another embodiment, Also optionally include locking module 210 and unlocked state 212.
Wherein timing module 202 is used to provide timing signal to acquisition module 204, and acquisition module 204, which receives the timing, to be believed Number, and respond timing signal acquisition equipment current battery level and be used as when primary cell voltage;Judgment module 206 is set for judging Whether standby be to operate for the first time after powering on, or in measuring operation.
Processing module 208 is further processed according to the result of judgment module 206, if equipment is to grasp for the first time after powering on Make, then current battery level is converted into electricity, and show as current electric quantity;Otherwise, by acquisition during device measuring When primary cell voltage formed array, take wherein minimum value for measurement voltage low value, take wherein maximum value for measurement voltage high level, meter Calculating measurement voltage high level and measuring the difference of voltage low value is measurement voltage change;Then, by measurement voltage low value and currently Voltage (the working as primary cell voltage of i.e. the last acquisition) comparison: if measurement voltage low value is greater than current voltage, and change width Angle value is greater than the first predetermined threshold, then takes current voltage to be converted to electricity, and show as current electric quantity;If it is low to measure voltage Value is less than current voltage, and variance values are greater than the second predetermined threshold, then take current voltage to be converted to electricity, and as current Electricity is shown;If measuring voltage low value is greater than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement Voltage low value be less than current voltage, and variance values be less than or equal to the second predetermined threshold when, take measurement voltage low value 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 microcontroller etc. Deng.
In another embodiment, if measurement voltage change is greater than third predetermined threshold, or measurement voltage low value Less than low voltage threshold, then equipment is locked and shows lock flag by locking module 210.Correspondingly, re-power in equipment or After charging, unlocked state 212 is for releasing equipment lock state and eliminating lock flag.
Above-mentioned electricity display processing unit 200 can be realized by software, hardware, firmware or other combinations various In smart home health equipment, these smart home health equipments include but is not limited to electronic sphygmomanometer, health scale, blood glucose meter, Electronic thermometer, BOLD contrast, Intelligent bracelet etc..When realizing, controller or the place of smart home health equipment can also be shared Device is managed, these are all it can be appreciated that it is not described here in detail.
As shown in figure 3, being includes setting according to the smart home health of the electricity display processing unit 200 of the embodiment of the present invention The schematic flow chart of the standby course of work.After powering on booting (frame 302), determine either with or without actuation of keys (frame 304), if do not had Have and has then then further determined whether lock machine mark (frame 308) if there is actuation of keys into standby mode (frame 306), if Have, show low-voltage locking (frame 310) and subsequently enter standby mode (frame 306), survey was judged whether to if not It measures (frame 312).If it is measurement operation for the first time, takes current voltage and be converted into electricity (frame 314) and shown (frame 316);It is operated for the first time if not after powering on, then measurement module timing detection voltage is obtained when time voltage (frame 318).Then, exist It determines when measurement voltage low value is greater than current voltage and changes amplitude greater than the first predetermined threshold (frame 320), assert that battery disappears Consumption is big, and voltage fall is big, and takes current voltage to be converted to electricity (frame 322) and shown (frame 316).Otherwise, then sentence Whether disconnected measurement voltage low value is less than current voltage and changes amplitude greater than the second predetermined threshold (frame 324), if it is, sentencing Disconnected may be to cause electricity to be substantially increased after charging, and at this moment takes current voltage to be converted to electricity (frame 326) and is shown (frame 316);If it is not, then thinking that measurement voltage low value is greater than current voltage and changes amplitude is less than or equal to the first predetermined threshold, Or measurement voltage low value is less than current voltage and changes amplitude less than or equal to the second predetermined threshold (frame 328), assert voltage Change it is relatively small, take measurement voltage low value be converted to electricity (frame 330) and shown (frame 316).It next determines whether Measure operation (frame 332).Measurement voltage high level, low value and variation are updated if measuring operation, after being measured It is worth (frame 334), and then judges measure whether voltage change is greater than third predetermined threshold or whether measurement voltage low value is less than Low voltage threshold (frame 338), if it is, low-voltage lock flag is arranged and low-voltage locking (frame 340) can be prompted simultaneously subsequent Into standby mode (frame 342), if not being then directly entered standby mode (frame 342);In frame 332 if it is determined that without Measurement operation, then allow other non-measured operations (frame 336) at this time, subsequently enter standby mode (frame 342).
Above by specific embodiment, the present invention is described, but the present invention is not limited to these specific implementations Example.It will be understood by those skilled in the art that various modifications, equivalent replacement, variation etc. can also be done to the present invention, such as will be upper It states in embodiment step or module is divided into two or more steps or module to realize, or on the contrary, by above-mentioned reality The function of applying multiple steps or module in example, which is placed in a step or module, to be realized.But as long as these transformation are not carried on the back It, all should be within protection scope of the present invention from spirit of the invention.In addition, present specification and claims are used Some terms, such as " first ", " second " etc. are not limitation, it is only for convenient for description.In addition, the above many places Described " one embodiment ", " another embodiment " etc. indicate different embodiments, naturally it is also possible to by its whole or portion Divide and combines in one embodiment.

Claims (10)

1. a kind of electricity display processing method for electronic equipment, comprising:
Acquisition step is used for timing acquiring cell voltage, as when primary cell voltage;
It is characterized by further comprising:
Judgment step, for judging whether equipment is to operate for the first time after powering on;And
Processing step, for taking current battery level to be converted to electricity, and as current when operating for the first time after equipment is to power on Electricity is shown;Otherwise, will acquire during device measuring when primary cell voltage forms array, take wherein minimum value be measurement electricity Force down value, take wherein maximum value for measurement voltage high level, calculate measurement voltage high level and measure voltage low value difference be measurement Voltage change;Then, the current voltage for measuring voltage low value and the last acquisition is compared,
If measuring voltage low value is greater than current voltage, and variance values are greater than the first predetermined threshold, then current voltage is taken to turn It is changed to electricity, and is shown as current electric quantity;Wherein variance values=│ measures voltage low value-current voltage │;
If measuring voltage low value is less than current voltage, and variance values are greater than the second predetermined threshold, then current voltage is taken to turn It is changed to electricity, and is shown as current electric quantity;
If measuring voltage low value is greater than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage Low value be less than current voltage, and variance values be less than or equal to the second predetermined threshold when, take measurement voltage low value be converted to electricity, And it is shown as current electric quantity.
2. electricity display processing method for electronic equipment as described in claim 1, which is characterized in that further include:
Lock step, for being greater than third predetermined threshold or measurement voltage low value less than low-voltage threshold in measurement voltage change When value, equipment is locked and shows lock flag.
3. electricity display processing method for electronic equipment as claimed in claim 2, which is characterized in that further include:
Unlocked step, for after equipment re-powers or charges, releasing equipment lock state and eliminating lock flag.
4. electricity display processing method for electronic equipment as claimed in claim 2, it is characterised in that: described first is predetermined Threshold value is the average value of voltage change when working normally;Second predetermined threshold is when being electricity display representated by each scale Voltage change;The third predetermined threshold is permitted maximum voltage changing value in one-shot measurement;The low-voltage threshold The minimum voltage value that value works normally for maintenance equipment.
5. electricity display processing method for electronic equipment as described in claim 1, it is characterised in that: in measurement process In, electricity, which is shown, not to be updated.
6. such as electricity display processing method for electronic equipment described in any one of claim 1 to 5, it is characterised in that: Equipment next time measurement operation when, repeat acquisition step, with cover last time measurement voltage low value, measurement voltage high level, with And measurement voltage change.
7. a kind of electricity display processing unit for electronic equipment, comprising:
Timing module, for providing timing signal;
Acquisition module works as primary cell voltage for being used as according to timing signal acquisition cell voltage;
It is characterized by further comprising:
Judgment module, for judging whether equipment is to operate for the first time after powering on;And
Processing module, for when operating for the first time after equipment is to power on, then current battery level being taken to be converted to electricity, and as working as Preceding electricity is shown;Otherwise, will acquire during device measuring when primary cell voltage forms array, take wherein minimum value be measurement Voltage low value, take wherein maximum value for measurement voltage high level, calculate measurement voltage high level and measure voltage low value difference be survey Measure voltage change;Then, the current voltage for measuring voltage low value and the last acquisition is compared,
If measuring voltage low value is greater than current voltage, and variance values are greater than the first predetermined threshold, then current voltage is taken to turn It is changed to electricity, and is shown as current electric quantity;Wherein variance values=│ measures voltage low value-current voltage │;
If measuring voltage low value is less than current voltage, and variance values are greater than the second predetermined threshold, then current voltage is taken to turn It is changed to electricity, and is shown as current electric quantity;
If measuring voltage low value is greater than current voltage, and variance values are less than or equal to the first predetermined threshold, or measurement voltage Low value be less than current voltage, and variance values be less than or equal to the second predetermined threshold when, take measurement voltage low value be converted to electricity, And it is shown as current electric quantity.
8. electricity display processing unit for electronic equipment as claimed in claim 7, which is characterized in that further include:
Locking module, for being greater than third predetermined threshold, or measurement voltage low value less than low-voltage in measurement voltage change When threshold value, equipment is locked and shows lock flag.
9. electricity display processing unit for electronic equipment as claimed in claim 8, which is characterized in that further include:
Unlocked state, for after equipment re-powers or charges, releasing equipment lock state and eliminating lock flag.
10. a kind of smart home health equipment, it is characterised in that: at the described in any item electricity displays of claim 7 to 9 Manage device.
CN201610062959.7A 2016-01-30 2016-01-30 A kind of electricity display processing method for electronic equipment and device Active CN107024657B (en)

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 CN107024657A (en) 2017-08-08
CN107024657B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
CN109144219B (en) * 2018-08-17 2021-08-27 苏州易德龙科技股份有限公司 Method for realizing low-voltage protection unlocking by matching with power failure delay
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

Citations (8)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6220249B2 (en) * 2013-12-02 2017-10-25 ローム株式会社 Switching converter and its control circuit, AC / DC converter, power adapter and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107024657A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN107024657B (en) A kind of electricity display processing method for electronic equipment and device
CN104374447B (en) Guided wave formula radar levelmeter echo signal processing method based on first derivative and combination reference curve
Karbalaei et al. A comparison of voltage collapse proximity indicators
CN103336245A (en) Battery state detecting method, radio frequency identification device and battery detecting system
CN102033161A (en) Frequency measuring method of alternating current signal
CN106932728A (en) Battery charge state SOC modification methods, device and electric automobile
CN105662409A (en) Skin surface condition detecting method
CN102589139A (en) Water heater and method for controlling hot water quantity
CN104523244A (en) Wearable-type electronic device and control method based on human body metabolism
CN104729097B (en) A kind of hot-water heating system and its display control method, device
CN104964733B (en) A kind of body weight measurement, apparatus and system
CN109116260A (en) A kind of reminding method of lithium primary cell low battery
CN102081143A (en) Estimation method and system of battery capacity
CN103439590B (en) Electric energy monitoring DSP control system
CN202075060U (en) Temperature measuring device of numerical control sterilizing cabinet
CN109682439A (en) A kind of monitoring method of water level of washing machine, water velocity and water consumption of doing washing
CN104461316B (en) A kind of roller blind method and electronic equipment
Si Development research about the power battery management system of pure electric vehicle
CN103676840A (en) Multi-energy supply cleaning vehicle circuit control system
CN109284936B (en) Power quality evaluation method based on cloud image visual output
CN103389138A (en) Weighing type liquid level meter system based on MSP430 (Mixed Signal Processor 430) single chip microcomputer
CN109481011A (en) Anti-scald method and device based on equipment moving state
CN202452708U (en) Water heater
CN109934499A (en) A kind of appraisal procedure, device, equipment and the storage medium of equipment low voltage failure
CN103034200A (en) On-line computation device utilizing liquid level method for computing storage tank oil gas liquid chemical weight

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