CN106646263A - Electric quantity metering method and electric quantity metering device - Google Patents

Electric quantity metering method and electric quantity metering device Download PDF

Info

Publication number
CN106646263A
CN106646263A CN201710032644.2A CN201710032644A CN106646263A CN 106646263 A CN106646263 A CN 106646263A CN 201710032644 A CN201710032644 A CN 201710032644A CN 106646263 A CN106646263 A CN 106646263A
Authority
CN
China
Prior art keywords
curve
curvature
preset value
aim
terminal
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
CN201710032644.2A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710032644.2A priority Critical patent/CN106646263A/en
Publication of CN106646263A publication Critical patent/CN106646263A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/3644Constructional arrangements
    • G01R31/3646Constructional arrangements for indicating electrical conditions or variables, e.g. visual or audible indicators
    • 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/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)

Abstract

The invention discloses an electric quantity metering method, which is used for a terminal. The electric quantity metering method comprises steps that a discharging curve corresponding to the terminal is acquired; whether the curvature of the discharging curve is greater than a preset value is determined, and when the curvature of the discharging curve is greater than the preset value, a target curve is drawn according to the discharging curve, and then the curvature of the target curve is smaller than or equal to the preset value, and the preset value is greater than or equal to zero; and the electric quantity of the terminal is calculated according to the target curve. The invention also provides an electric quantity metering device. The change of the electric quantity displayed by the terminal is more balanced, and the utilization rate of the battery of the terminal is improved.

Description

Electric quantity metering method and device
Technical field
The present invention relates to electronic technology field, and in particular to a kind of electric quantity metering method and device.
Background technology
At present, the consumption electricity and dump energy of battery would generally be in real time shown in terminal.When user is in using terminal When, it is seen that dump energy is more often to think that battery also has many electricity, understands excessive using terminal or do not carry charging setting It is standby, leave situation of the battery without electricity out of consideration.But in fact, from dump energy, higher to change to dump energy relatively low in battery Afterwards, consuming the speed of electricity can accelerate, and easily cause user to have little time to charge just without electricity, be user using bringing not Just, while can also make user take for battery has gone out situation, battery is changed, battery cannot be utilized reasonably.Another convenience, has When user when seeing that dump energy is relatively low, can charge immediately so that the dump energy of battery cannot be used fully.Therefore, The how information about power of rational measuring terminal battery, and then cause the electric quantity consumption that terminal shows more balanced, so as to improve The utilization rate of end cell is a problem demanding prompt solution.
The content of the invention
In consideration of it, being necessary to provide a kind of electric quantity metering method and device, the electric quantity change that show can terminal is more equal Weighing apparatus, improves the utilization rate of end cell.
The first aspect of the application provides a kind of electric quantity metering method, and in being applied to terminal, methods described includes:
Obtain the corresponding discharge curve of the terminal;
Whether the curvature of the discharge curve is judged more than preset value, if so, then according to discharge curve drafting target Curve so that the curvature of the aim curve is less than or equal to the preset value, the preset value is more than or equal to 0;
The electricity of the terminal is calculated according to the aim curve.
In alternatively possible implementation, whether the curvature for judging the discharge curve is more than preset value, if so, Then aim curve is drawn according to the discharge curve so that the curvature of the aim curve is less than or equal to the preset value, bag Include:
The curvature of predetermined number point on the discharge curve is calculated, if exist in the curvature of predetermined number point being more than institute State the curvature of preset value, it is determined that the curvature of the discharge curve is more than preset value;
Curvature is plotted as into aim curve section more than the curved section that the point of the preset value is located so that comprising the target The curvature of the aim curve of curved section is less than or equal to the preset value.
In alternatively possible implementation, the point of the predetermined number is included on the discharge curve in curve minute Point before boundary's point and the point after the curve separation, wherein, the curve separation is on the discharge curve The corresponding point of electric quantity consumption speed cut off value.
It is described that aim curve is drawn according to the discharge curve so that the target in alternatively possible implementation Bent curvature of a curve is less than or equal to the preset value, including:
Two points are taken on the discharge curve;
The straight line by described two points is drawn, so as to obtain aim curve of the curvature less than or equal to the preset value.
In alternatively possible implementation, methods described also includes:
Show the electricity that the terminal for obtaining is calculated according to the aim curve.
The second aspect of the application provides a kind of electric quantity metering device, and described device includes:
Acquisition module, for obtaining the corresponding discharge curve of terminal;
Curve plotting module, for whether judging the curvature of the discharge curve more than preset value, if so, then according to described Discharge curve draws aim curve so that the curvature of the aim curve is less than or equal to the preset value, and the preset value is big In or equal to 0;
Computing module, for calculating the electricity of the terminal according to the aim curve.
In alternatively possible implementation, the curve plotting module includes:
Computing unit, for calculating the curvature of predetermined number point on the discharge curve, if the song of predetermined number point There is the curvature more than the preset value in rate, it is determined that the curvature of the discharge curve is more than preset value;
First drawing unit, for curvature to be plotted as into aim curve more than the curved section that the point of the preset value is located Section so that the curvature of the aim curve comprising the aim curve section is less than or equal to the preset value.
In alternatively possible implementation, the point of the predetermined number is included on the discharge curve in curve minute Point before boundary's point and the point after the curve separation, wherein, the curve separation is on the discharge curve The corresponding point of electric quantity consumption speed cut off value.
In alternatively possible implementation, the curve plotting module includes:
Acquiring unit, for taking two points on the discharge curve;
Second drawing unit, for drawing the straight line by described two points, so as to obtain curvature less than or equal to described The aim curve of preset value.
In alternatively possible implementation, described device also includes:
Display module, for showing the electricity that the terminal for obtaining is calculated according to the aim curve.
The present invention obtains the corresponding discharge curve of the terminal;Judge the curvature of the discharge curve whether more than default Value, if so, then according to discharge curve drafting aim curve so that the curvature of the aim curve is less than or equal to described pre- If value, the preset value is more than or equal to 0;The electricity of the terminal is calculated according to the aim curve.If terminal is corresponding putting Electric song curvature of a curve is more than preset value, then draw curvature of the curvature less than or equal to preset value, and now, the deviation of discharge curve is straight The degree of line is in preset range, and the change of the value that curve is identified is relatively average, then cause the electricity obtained according to aim curve Quantitative change rate is more balanced, more accurately sentences so as to be conducive to user to be made to dump energy available duration according to the electricity for showing It is disconnected, improve the utilization rate of end cell.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, below embodiment will be described needed for be used Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of flow chart of electric quantity metering method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of electric quantity metering method provided in an embodiment of the present invention;
Fig. 3 is the structure chart of the electric quantity metering device that the present invention is provided;
Fig. 4 is the structure chart of the electric quantity metering device that the present invention is provided;
Fig. 5 present invention realizes the structural representation of the terminal of the preferred embodiment of electric quantity metering method.
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
It is below in conjunction with the accompanying drawings and concrete real in order to be more clearly understood that the above objects, features and advantages of the present invention Apply example to describe the present invention.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, and described embodiment is only Only it is a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technology used herein and scientific terminology and the technical field for belonging to the present invention The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that of the invention in limiting.
Embodiment
Fig. 1 is the schematic flow diagram of electric quantity metering method provided in an embodiment of the present invention.The electric quantity metering method application In terminal, the terminal can be the terminal including rechargeable battery such as mobile phone, flat board.As shown in figure 1, electric quantity metering method May include following steps:
S101:Obtain the corresponding discharge curve of the terminal.
Above-mentioned discharge curve is the discharge curve of the battery of terminal, specifically under given discharging condition, such as constant electricity Under conditions of stream depletion rate (being 400Am as consumed electric current per hour), the curve that discharge voltage changes with discharge time.Electric discharge Curve can be the curve for embodying the velocity of discharge.
S102:Whether the curvature of the discharge curve is judged more than preset value, if so, then according to discharge curve drafting Aim curve so that the curvature of the aim curve is less than or equal to the preset value, the preset value is more than or equal to 0.
The curvature of above-mentioned discharge curve is aiming at rotation rate of the tangent directional angle of certain point on discharge curve to arc length. Curvature mark curve deviates the degree of straight line, while curvature is bigger, the degree of crook for identifying curve is bigger.
Specifically another objective curve can be repainted according to discharge curve, it is also possible on the basis of discharge curve On, discharge curve is adjusted, obtain the aim curve of new drafting.
Above-mentioned preset value can pre-set as needed.It is bent according to electric discharge if the curvature of discharge curve is more than preset value Line draws aim curve.
When the curvature of discharge curve is 0, the discharge curve is straight line, i.e. the terminal velocity of discharge at any time It is identical, when the terminal velocity of discharge at any time closer to when, judgement of the user to dump energy available duration is more accurate Really.
Further, step S102 can carry out judging the drafting with discharge curve by following steps:
The curvature of predetermined number point on the discharge curve is calculated, if exist in the curvature of predetermined number point being more than institute State the curvature of preset value, it is determined that the curvature of the discharge curve is more than preset value.
Curvature is plotted as into aim curve section more than the curved section that the point of the preset value is located so that comprising the target The curvature of the aim curve of curved section is less than or equal to the preset value.
The point of above-mentioned predetermined number, can selected element as needed number.Can for the computational methods of certain curvature put To be by the coordinate of the point and calculate the calculus computing formula of curvature and calculated.Can to take a bit near the point, Curvature is obtained according to the two points.
Further, the point of the predetermined number be included on the discharge curve point before the curve separation and Point after the curve separation, wherein, the curve separation is the electric quantity consumption speed on the discharge curve The corresponding point of cut off value.
Above-mentioned curve separation is the point corresponding with electric quantity consumption speed cut off value on discharge curve, in electric quantity consumption speed It is larger with the speed difference of electric quantity consumption afterwards before degree cut off value.Electric quantity consumption speed cut off value identifies the speed of electric quantity consumption Degree, the size of specific electric quantity consumption speed cut off value is different according to the characteristic of battery, can be real by carrying out electric discharge to battery Test acquisition in advance.
Above-mentioned curve separation is point of the electric quantity consumption speed difference more than default numerical value, or in preset time period Electric quantity consumption speed meansigma methodss more than default numerical value point etc..I.e. in electric quantity consumption speed and slower curved section Inside all chosen.
S103:The electricity of the terminal is calculated according to the aim curve.
After aim curve is drawn, according to the electricity of aim curve computing terminal.Specifically can be by obtaining aim curve On parameter value and preset algorithm computing terminal electricity.
Wherein, the electricity of the terminal can include the consumption electricity and/or the dump energy with terminal of terminal.
After the dump energy for consuming electricity and/or terminal of computing terminal, can be by calculated electricity at end Shown on end, to identify the behaviour in service of battery electric quantity.
The present embodiment is by obtaining the corresponding discharge curve of the terminal;Whether the curvature for judging the discharge curve is more than Preset value, if so, then according to discharge curve drafting aim curve so that the curvature of the aim curve is less than or equal to institute Preset value is stated, the preset value is more than or equal to 0;The electricity of the terminal is calculated according to the aim curve.If terminal-pair should Discharge curve curvature be more than preset value, then draw curvature less than or equal to preset value curvature, now, discharge curve it is inclined Degree from straight line is in preset range, and the change of the value that curve is identified is relatively average, then cause to be obtained according to aim curve Electric quantity change rate it is more balanced, more accurately judge so as to user can make according to dump energy to available duration, can be with Effectively improve the utilization rate of end cell.
Embodiment
Fig. 2 is the schematic flow diagram of electric quantity metering method provided in an embodiment of the present invention.The electric quantity metering method application In terminal, the terminal can be the terminal including rechargeable battery such as mobile phone, flat board.As shown in Fig. 2 electric quantity metering method May include following steps:
S201:Obtain the corresponding discharge curve of the terminal.
Step S201 is consistent with step S101 in previous embodiment in the present embodiment, specifically refers in previous embodiment and walks The associated description of rapid S101, does not repeat herein.
S202:Judge that the curvature of the discharge curve, whether more than preset value, if so, takes two on the discharge curve Point.
The curvature of above-mentioned discharge curve is aiming at rotation rate of the tangent directional angle of certain point on discharge curve to arc length. Curvature mark curve deviates the degree of straight line, while curvature is bigger, the degree of crook for identifying curve is bigger.
Above-mentioned two point can be chosen as needed, can specifically be included on the discharge curve and be in curve separation Point before and the point after the curve separation, wherein, the curve separation is the electricity on the discharge curve The corresponding point of amount depletion rate cut off value.
Above-mentioned curve separation is the point corresponding with electric quantity consumption speed cut off value on discharge curve, in electric quantity consumption speed It is larger with the speed difference of electric quantity consumption afterwards before degree cut off value.Electric quantity consumption speed cut off value identifies the speed of electric quantity consumption Degree, the size of specific electric quantity consumption speed cut off value is different according to the characteristic of battery, can be real by carrying out electric discharge to battery Test acquisition in advance.
S203:The straight line by described two points is drawn, so as to obtain target of the curvature less than or equal to the preset value Curve.
The straight line by two points is drawn, because straight curvature of a curve is 0, then the line segment curvature drawn between two points is 0, so as to obtain aim curve of the curvature less than or equal to preset value, i.e., the new straight line drawn is less than or equal to the preset value Aim curve.
S204:The electricity of the terminal is calculated according to the aim curve.
After aim curve is drawn, according to the electricity of aim curve computing terminal.Specifically can be by obtaining aim curve On parameter value and preset algorithm computing terminal electricity.
Wherein, the electricity of the terminal can include the consumption electricity and/or the dump energy with terminal of terminal.
S205:Show the electricity that the terminal for obtaining is calculated according to the aim curve.
After the dump energy for consuming electricity and/or terminal of computing terminal, can be by calculated electricity at end Shown on end, to identify the behaviour in service of battery electric quantity.
The present embodiment is by obtaining whether the corresponding discharge curve of the terminal, the curvature for judging the discharge curve are more than Preset value, if so, takes two points on the discharge curve, draws the straight line by described two points, little so as to obtain curvature In or equal to the aim curve of the preset value.Now, discharge curve deviation straight line degree in preset range, curve institute The change of the value of mark is relatively average, according to the electric quantity change of the calculated terminal of the aim curve within discharge time more For equilibrium, show that the electric quantity change rate of basis is also more balanced, so as to improve the utilization rate of end cell.
It is more than the detailed description that method provided by the present invention is carried out.According to different demands, in shown flow chart The execution sequence of square can change, and some squares can be omitted, and the method for electric quantity metering is also in above-mentioned electric quantity metering method Selectively it is applied in combination, or uses with other above-mentioned NM electric quantity metering Combination of Methods.The present invention is carried below For device be described.
Embodiment
Fig. 3 is the structure chart of electric quantity metering device provided in an embodiment of the present invention, and the electric quantity metering device is applied to end In end, the terminal can be the terminal including rechargeable battery such as mobile phone, flat board.As shown in figure 3, electric quantity metering device 30 can To include:Acquisition module 310, curve plotting module 320 and computing module 330, wherein, the curve plotting module includes calculating The drawing unit 322 of unit 321 and first.Module alleged by the present invention refers to that one kind can be executed by a computer and can be complete Into the series of computation machine program segment of fixing function.
Acquisition module 310, for obtaining the corresponding discharge curve of the terminal.
Above-mentioned discharge curve is the discharge curve of the battery of terminal, specifically under given discharging condition, such as constant electricity Under conditions of stream depletion rate (being 400Am as consumed electric current per hour), the curve that discharge voltage changes with discharge time.Electric discharge Curve can be the curve for embodying the velocity of discharge.
Curve plotting module 320, for judging the curvature of the discharge curve whether more than preset value, if so, then basis The discharge curve draws aim curve so that the curvature of the aim curve is less than or equal to the preset value, described default Value is more than or equal to 0.
The curvature of above-mentioned discharge curve is aiming at rotation rate of the tangent directional angle of certain point on discharge curve to arc length. Curvature mark curve deviates the degree of straight line, while curvature is bigger, the degree of crook for identifying curve is bigger.
Specifically another objective curve can be repainted according to discharge curve, it is also possible on the basis of discharge curve On, discharge curve is adjusted, obtain the aim curve of new drafting.
Above-mentioned preset value can pre-set as needed.It is bent according to electric discharge if the curvature of discharge curve is more than preset value Line draws aim curve.
When the curvature of discharge curve is 0, the discharge curve is straight line, i.e. the terminal velocity of discharge at any time It is identical, when the terminal velocity of discharge at any time closer to when, judgement of the user to dump energy available duration is more accurate Really.
Further, curve plotting module 320 can be discharged by the drawing unit 322 of computing unit 321 and first The drafting of curve.
Computing unit 321, for calculating the curvature of predetermined number point on the discharge curve, if predetermined number point There is the curvature more than the preset value in curvature, it is determined that the curvature of the discharge curve is more than preset value.
The point of above-mentioned predetermined number, can selected element as needed number.Specifically, computing unit 321 can pass through The coordinate of certain point and the calculus computing formula of calculating curvature calculate curvature.Can with take near certain point a bit, according to The two points obtain curvature.
First drawing unit 322, it is bent for curvature to be plotted as into target more than the curved section that the point of the preset value is located Line segment so that the curvature of the aim curve comprising the aim curve section is less than or equal to the preset value.
Specific preset value can as needed set value.
Further, the point of the predetermined number be included on the discharge curve point before the curve separation and Point after the curve separation, wherein, the curve separation is the electric quantity consumption speed on the discharge curve The corresponding point of cut off value.
Above-mentioned curve separation is the point corresponding with electric quantity consumption speed cut off value on discharge curve, in electric quantity consumption speed It is larger with the speed difference of electric quantity consumption afterwards before degree cut off value.Electric quantity consumption speed cut off value identifies the speed of electric quantity consumption Degree, the size of specific electric quantity consumption speed cut off value is different according to the characteristic of battery, can be real by carrying out electric discharge to battery Test acquisition in advance.
Above-mentioned curve separation is point of the electric quantity consumption speed difference more than default numerical value, or in preset time period Electric quantity consumption speed meansigma methodss more than default numerical value point etc..I.e. in electric quantity consumption speed and slower curved section Inside all chosen.
Computing module 330, for calculating the electricity of the terminal according to the aim curve.
After aim curve is drawn, electricity of the computing module 330 according to aim curve computing terminal.Specifically can be by obtaining Take the electricity of parameter value on aim curve and preset algorithm computing terminal.
Wherein, the electricity of the terminal can include the consumption electricity and/or the dump energy with terminal of terminal.
After the dump energy for consuming electricity and/or terminal of computing terminal, can be by calculated electricity at end Shown on end, to identify the behaviour in service of battery electric quantity.
The present embodiment is by obtaining the corresponding discharge curve of the terminal;Whether the curvature for judging the discharge curve is more than Preset value, if so, then according to discharge curve drafting aim curve so that the curvature of the aim curve is less than or equal to institute Preset value is stated, the preset value is more than or equal to 0;The electricity of the terminal is calculated according to the aim curve.If terminal-pair should Discharge curve curvature be more than preset value, then draw curvature less than or equal to preset value curvature, now, discharge curve it is inclined Degree from straight line is in preset range, and the change of the value that curve is identified is relatively average, then cause to be obtained according to aim curve Electric quantity change rate it is more balanced, more accurately judge so as to user can make according to dump energy to available duration, can be with Effectively improve the utilization rate of end cell.
Embodiment
Fig. 4 is the structure chart of electric quantity metering device provided in an embodiment of the present invention, and the electric quantity metering device is applied to end In end, the terminal can be the terminal including rechargeable battery such as mobile phone, flat board.As shown in figure 4, electric quantity metering device 30 can To include:Acquisition module 310, curve plotting module 320, computing module 330 and display module 340, wherein, the curve plotting Module includes the drawing unit 324 of acquiring unit 323 and second.Module alleged by the present invention refers to that one kind can be held by computer Go and can complete the series of computation machine program segment of fixing function.
Acquisition module 310, for obtaining the corresponding discharge curve of terminal.
Acquisition module 310 is consistent with acquisition module in previous embodiment 310 in the present embodiment, specifically refers to aforementioned enforcement The associated description of acquisition module 310, does not repeat herein in example.
Curve plotting module 320, for judging the curvature of the discharge curve whether more than preset value, if so, then basis The discharge curve draws aim curve so that the curvature of the aim curve is less than or equal to the preset value, described default Value is more than or equal to 0.
The curve plotting module 320 includes:
Acquiring unit 323, for taking two points on the discharge curve.
The curvature of above-mentioned discharge curve is aiming at rotation rate of the tangent directional angle of certain point on discharge curve to arc length. Curvature mark curve deviates the degree of straight line, while curvature is bigger, the degree of crook for identifying curve is bigger.
Above-mentioned two point can be chosen as needed, can specifically be included on the discharge curve and be in curve separation Point before and the point after the curve separation, wherein, the curve separation is the electricity on the discharge curve The corresponding point of amount depletion rate cut off value.
Above-mentioned curve separation is the point corresponding with electric quantity consumption speed cut off value on discharge curve, in electric quantity consumption speed It is larger with the speed difference of electric quantity consumption afterwards before degree cut off value.Electric quantity consumption speed cut off value identifies the speed of electric quantity consumption Degree, the size of specific electric quantity consumption speed cut off value is different according to the characteristic of battery, can be real by carrying out electric discharge to battery Test acquisition in advance.
Second drawing unit 324, for drawing the straight line by described two points, so as to obtain curvature less than or equal to institute State the aim curve of preset value.
Second drawing unit 324 draws the straight line by two points, because straight curvature of a curve is 0, then between two points The line segment curvature of drafting is 0, so as to obtain aim curve of the curvature less than or equal to preset value, i.e., the new straight line drawn be less than Or equal to the aim curve of the preset value.
Computing module 330, for calculating the electricity of the terminal according to the aim curve.
After aim curve is drawn, electricity of the computing module 330 according to aim curve computing terminal.Specifically can be by obtaining Take the electricity of parameter value on aim curve and preset algorithm computing terminal.
Wherein, the electricity of the terminal can include the consumption electricity and/or the dump energy with terminal of terminal.
Display module 340, for showing the electricity that the terminal for obtaining is calculated according to the aim curve.
After the dump energy for consuming electricity and/or terminal of computing terminal, display module 340 is by calculated electricity Amount is shown in terminal, to identify the behaviour in service of battery electric quantity.
The present embodiment is by obtaining whether the corresponding discharge curve of the terminal, the curvature for judging the discharge curve are more than Preset value, if so, takes two points on the discharge curve, draws the straight line by described two points, little so as to obtain curvature In or equal to the aim curve of the preset value.Now, discharge curve deviation straight line degree in preset range, curve institute The change of the value of mark is relatively average, according to the electric quantity change of the calculated terminal of the aim curve within discharge time more For equilibrium, show that the electric quantity change rate of basis is also more balanced, so as to improve the utilization rate of end cell.
Embodiment
Fig. 5 is refer to, Fig. 5 is the structural representation of the terminal of the preferred embodiment that the present invention realizes electric quantity metering method.
The terminal 50 is a kind of can automatically to carry out numerical computations and/or letter according to the instruction being previously set or store The equipment that breath is processed, its hardware includes but is not limited to microprocessor, special IC (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The terminal 50 may be, but not limited to, any one can pass through keyboard, mouse, remote control, touch pad with user Or the mode such as voice-operated device carries out the electronic product of man-machine interaction, for example, panel computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), intellectual Wearable etc..
Network residing for the terminal 50 includes, but are not limited to the Internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual private Network (Virtual Private Network, VPN) etc..
The terminal 50 includes at least one dispensing device 51, at least one storage device 52, at least one processing equipment 53rd, at least one reception device 54, at least one display device 55 and at least one communication bus.Wherein, the communication is total Line is used to realize the connection communication between these components.
Wherein, the reception device 54 and the dispensing device 51 can be wired sending ports, or wirelessly set It is standby, such as including antenna assembly, for entering row data communication with other equipment.
The processing equipment 53 can include one or more microprocessor, digital processing unit.
The storage device 52 is used for the program code of each program segment in storing electricity metering device.The storage device 52 can be smart media card (smart media card), safe digital card (secure digital card), flash The storage facilities such as device card (flash card).
Preferably, electric quantity metering method of the invention is realized by the electric quantity metering device stored in the terminal 50.
The electric quantity metering device is by obtaining the corresponding discharge curve of the terminal;Judge the curvature of the discharge curve Whether preset value is more than, if so, then according to discharge curve drafting aim curve so that the curvature of the aim curve is less than Or equal to the preset value, the preset value is more than or equal to 0;The electricity of the terminal is calculated according to the aim curve.If The curvature of the corresponding discharge curve of terminal is more than preset value, then draw curvature of the curvature less than or equal to preset value, now, electric discharge In preset range, the change of the value that curve is identified is relatively average, then cause according to target for the degree of the deviation straight line of curve The electric quantity change rate that curve is obtained is more balanced, so as to be conducive to user to be done to dump energy available duration according to the electricity for showing Go out and more accurately judge, improve the utilization rate of end cell.
The display device 55 can be touch screen etc. other be used for display picture equipment.
In several embodiments provided by the present invention, it should be understood that disclosed method, device and unit, also may be used To realize by another way.For example, device embodiment described above is only schematic, for example, the unit Division, only a kind of division of logic function can have other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be in other specific forms realized.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as and limit involved claim.This Outward, it is clear that " including ", a word was not excluded for other units or step, and odd number is not excluded for plural number.That what is stated in device claim is multiple Device can also be realized by same device or system by software or hardware.The first, the second grade word is used for representing name Claim, and be not offered as any specific order.
Finally it should be noted that above example is only to illustrate technical scheme and unrestricted, although reference Preferred embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of electric quantity metering method, in being applied to terminal, it is characterised in that methods described includes:
Obtain the corresponding discharge curve of the terminal;
Whether the curvature of the discharge curve is judged more than preset value, if so, then according to discharge curve drafting aim curve, So that the curvature of the aim curve is less than or equal to the preset value, the preset value is more than or equal to 0;
The electricity of the terminal is calculated according to the aim curve.
2. method according to claim 1, it is characterised in that whether the curvature for judging the discharge curve is more than pre- If value, if so, then according to discharge curve drafting aim curve so that the curvature of the aim curve is less than or equal to described Preset value, including:
The curvature of predetermined number point on the discharge curve is calculated, if existing more than described pre- in the curvature of predetermined number point If the curvature of value, it is determined that the curvature of the discharge curve is more than preset value;
Curvature is plotted as into aim curve section more than the curved section that the point of the preset value is located so that comprising the aim curve The curvature of the aim curve of section is less than or equal to the preset value.
3. method according to claim 2, it is characterised in that the point of the predetermined number is included on the discharge curve Point before curve separation and the point after the curve separation, wherein, the curve separation is described The corresponding point of electric quantity consumption speed cut off value on discharge curve.
4. method according to claim 1, it is characterised in that described to draw aim curve according to the discharge curve, makes The curvature for obtaining the aim curve is less than or equal to the preset value, including:
Two points are taken on the discharge curve;
The straight line by described two points is drawn, so as to obtain aim curve of the curvature less than or equal to the preset value.
5. the method according to any one of Claims 1-4, it is characterised in that methods described also includes:
Show the electricity that the terminal for obtaining is calculated according to the aim curve.
6. a kind of electric quantity metering device, it is characterised in that described device includes:
Acquisition module, for obtaining the corresponding discharge curve of terminal;
Curve plotting module, for whether judging the curvature of the discharge curve more than preset value, if so, then according to the electric discharge Curve plotting aim curve so that the curvature of the aim curve be less than or equal to the preset value, the preset value be more than or Equal to 0;
Computing module, for calculating the electricity of the terminal according to the aim curve.
7. device as claimed in claim 6, it is characterised in that the curve plotting module includes:
Computing unit, for calculating the curvature of predetermined number point on the discharge curve, if in the curvature of predetermined number point There is the curvature more than the preset value, it is determined that the curvature of the discharge curve is more than preset value;
First drawing unit, for curvature to be plotted as into aim curve section more than the curved section that the point of the preset value is located, makes The curvature that the aim curve of the aim curve section must be included is less than or equal to the preset value.
8. device as claimed in claim 7, it is characterised in that the point of the predetermined number is included on the discharge curve to be located Point before curve separation and the point after the curve separation, wherein, the curve separation is described putting The corresponding point of electric quantity consumption speed cut off value on electric curve.
9. device as claimed in claim 6, it is characterised in that the curve plotting module includes:
Acquiring unit, for taking two points on the discharge curve;
Second drawing unit, it is default less than or equal to described so as to obtain curvature for drawing the straight line by described two points The aim curve of value.
10. the device as described in any one of claim 6 to 9, it is characterised in that described device also includes:
Display module, for showing the electricity that the terminal for obtaining is calculated according to the aim curve.
CN201710032644.2A 2017-01-16 2017-01-16 Electric quantity metering method and electric quantity metering device Pending CN106646263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710032644.2A CN106646263A (en) 2017-01-16 2017-01-16 Electric quantity metering method and electric quantity metering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710032644.2A CN106646263A (en) 2017-01-16 2017-01-16 Electric quantity metering method and electric quantity metering device

Publications (1)

Publication Number Publication Date
CN106646263A true CN106646263A (en) 2017-05-10

Family

ID=58841925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710032644.2A Pending CN106646263A (en) 2017-01-16 2017-01-16 Electric quantity metering method and electric quantity metering device

Country Status (1)

Country Link
CN (1) CN106646263A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10294132A (en) * 1997-04-17 1998-11-04 Japan Storage Battery Co Ltd Capacity estimating method for lead-acid battery
CN1208469A (en) * 1995-12-15 1999-02-17 西门子公司 Method for displaying a 'low battery' state in electrical equipment with electrical energy stores and electrical equipment with electrical energy stores with means for displaying a 'low battery' state
CN1541337A (en) * 2002-05-14 2004-10-27 ������������ʽ���� Battery capacity calculating method
CN101383438A (en) * 2007-09-07 2009-03-11 日立车辆能源株式会社 Internal information testing method of secondary battery and apparatus
CN103076571A (en) * 2011-10-26 2013-05-01 财团法人工业技术研究院 Method and system for estimating a capacity of a battery
CN103176132A (en) * 2011-12-22 2013-06-26 联芯科技有限公司 Estimation method and terminal device of electricity quantity of battery
CN104614679A (en) * 2015-01-22 2015-05-13 哈尔滨龙易电气有限公司 Method for measuring surplus capacity of curve-fitting type storage battery
CN104914381A (en) * 2015-06-17 2015-09-16 惠州Tcl移动通信有限公司 Mobile terminal battery capacity smooth display method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1208469A (en) * 1995-12-15 1999-02-17 西门子公司 Method for displaying a 'low battery' state in electrical equipment with electrical energy stores and electrical equipment with electrical energy stores with means for displaying a 'low battery' state
JPH10294132A (en) * 1997-04-17 1998-11-04 Japan Storage Battery Co Ltd Capacity estimating method for lead-acid battery
CN1541337A (en) * 2002-05-14 2004-10-27 ������������ʽ���� Battery capacity calculating method
CN101383438A (en) * 2007-09-07 2009-03-11 日立车辆能源株式会社 Internal information testing method of secondary battery and apparatus
CN103076571A (en) * 2011-10-26 2013-05-01 财团法人工业技术研究院 Method and system for estimating a capacity of a battery
CN103176132A (en) * 2011-12-22 2013-06-26 联芯科技有限公司 Estimation method and terminal device of electricity quantity of battery
CN104614679A (en) * 2015-01-22 2015-05-13 哈尔滨龙易电气有限公司 Method for measuring surplus capacity of curve-fitting type storage battery
CN104914381A (en) * 2015-06-17 2015-09-16 惠州Tcl移动通信有限公司 Mobile terminal battery capacity smooth display method and system

Similar Documents

Publication Publication Date Title
CN106557292A (en) Method for information display and device
CN110470995A (en) Remaining battery discharge time acquisition methods, system and terminal device
CN113868528A (en) Information recommendation method and device, electronic equipment and readable storage medium
CN115995628A (en) Recovery processing method and device for retired lithium ion battery
CN110223615B (en) Advertisement display control method, device, medium and advertisement push server
CN113590007B (en) Method and device for generating progress bar, computer equipment and storage medium
CN114810514A (en) Wind turbine generator blade tip clearance distance measuring method, device, equipment and storage medium
CN115095544A (en) Fan fault detection method and device, computer equipment and storage medium
CN106447460A (en) Article awakening method based on shopping cart and article awakening device thereof
CN106646263A (en) Electric quantity metering method and electric quantity metering device
CN110826947A (en) Logistics order processing method and device and vehicle-mounted terminal equipment
CN113220367A (en) Applet running method and device, electronic equipment and storage medium
CN107480832A (en) Short-term power predicating method, device and electronic equipment
CN106814330A (en) Electric quantity metering method and device
CN116401602A (en) Event detection method, device, equipment and computer readable medium
CN115566296B (en) Battery power display method, electronic device, program product and medium
CN111507554A (en) Service resource scheduling method, device, equipment and storage medium
CN115473216A (en) Method and system for improving line loss calculation of power grid
CN105184586A (en) Method and device for controlling information display
CN116992220B (en) Low-redundancy electricity consumption data intelligent acquisition method
CN111193537B (en) Method, system and device for optimizing energy consumption of flight equipment in data transmission
KR102405755B1 (en) Apparatus and method for controlling electric power using near field communication
CN116160878B (en) Battery replacement control system and method, computer readable medium and electronic equipment
CN111353837A (en) Car pooling method and system and computer readable medium
CN116701552B (en) Case administration organization determination method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510