CN110579712B - Electric quantity display method and device and electronic equipment - Google Patents

Electric quantity display method and device and electronic equipment Download PDF

Info

Publication number
CN110579712B
CN110579712B CN201910972350.7A CN201910972350A CN110579712B CN 110579712 B CN110579712 B CN 110579712B CN 201910972350 A CN201910972350 A CN 201910972350A CN 110579712 B CN110579712 B CN 110579712B
Authority
CN
China
Prior art keywords
value
electric quantity
voltage
quantity display
target battery
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
CN201910972350.7A
Other languages
Chinese (zh)
Other versions
CN110579712A (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.)
Beijing Yunji Technology Co Ltd
Original Assignee
Beijing Yunji 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 Beijing Yunji Technology Co Ltd filed Critical Beijing Yunji Technology Co Ltd
Priority to CN201910972350.7A priority Critical patent/CN110579712B/en
Publication of CN110579712A publication Critical patent/CN110579712A/en
Application granted granted Critical
Publication of CN110579712B publication Critical patent/CN110579712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • 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

Abstract

The application relates to the technical field of power battery analysis and application, in particular to an electric quantity display method and device and electronic equipment. The electric quantity display method provided by the embodiment of the application comprises the following steps: and acquiring voltage data of the target battery every preset time interval, acquiring an electric quantity estimated value of the target battery according to the voltage data when one piece of voltage data is acquired, comparing the electric quantity estimated value with the electric quantity display value to obtain a comparison result, and updating and displaying the electric quantity display value according to the comparison result. The electric quantity display method, the electric quantity display device and the electronic equipment can achieve the purpose of accurately displaying the residual electric quantity of the target battery.

Description

Electric quantity display method and device and electronic equipment
Technical Field
The application relates to the technical field of power battery analysis and application, in particular to an electric quantity display method and device and electronic equipment.
Background
At present, electric motor car or robot are generally for the lithium cell with the battery to generally need the user to judge according to the demonstration electric quantity that lithium cell residual capacity is about to consume before totally, charge in advance, in order to improve the life of lithium cell. However, in the prior art, in the electric vehicle manufacturing industry and the robot manufacturing industry, the lithium battery generally only indicates the remaining power by a simple four-grid power indicator lamp, and cannot be the basis for accurate power determination of the user.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for displaying electric quantity, and an electronic device, so as to achieve the purpose of accurately displaying the remaining electric quantity of a target battery.
In a first aspect, a method for displaying electric quantity provided in an embodiment of the present application includes:
acquiring voltage data of a target battery at preset time intervals;
when one piece of voltage data is acquired, acquiring the electric quantity estimated value of the target battery according to the voltage data;
comparing the electric quantity estimated value with the electric quantity display value to obtain a comparison result;
and updating and displaying the electric quantity display value according to the comparison result.
The electric quantity display method provided by the embodiment of the application can acquire the voltage data of the target battery every preset time interval, acquire the electric quantity estimated value of the target battery according to the voltage data when one piece of voltage data is acquired, compare the electric quantity estimated value with the electric quantity display value to acquire a comparison result, and update and display the electric quantity display value according to the comparison result. Therefore, in the use process of the target battery, as long as the voltage data changes, the electric quantity display value also changes along with the change of the voltage data, and the purpose of accurately displaying the residual electric quantity of the target battery is achieved.
With reference to the first aspect, an embodiment of the present application further provides a first optional implementation manner of the first aspect, where the obtaining of the voltage data of the target battery every preset time interval includes:
and calculating the average value of the voltage values of the first target number collected in the preset time before the current time point at every interval of the preset time as the voltage data of the target battery.
In the embodiment of the present application, every preset time interval, the voltage data of the target battery is acquired, including: and calculating the mean value of the voltage values of the first target number collected in the preset time before the current time point at every interval of the preset time to serve as the voltage data of the target battery so as to improve the reliability of the voltage data.
With reference to the first aspect, an embodiment of the present application further provides a second optional implementation manner of the first aspect, and the electric quantity display method further includes:
determining reference voltage values of a second target number according to a preset voltage interval in a working voltage interval of the target battery;
for each reference voltage value, obtaining the remaining service time corresponding to the reference voltage value;
and obtaining the residual electric quantity corresponding to the reference voltage value according to the residual service time.
In an embodiment of the application, the electric quantity display method further includes: and determining a second target number of reference voltage values according to a preset voltage interval in the working voltage interval of the target battery, obtaining the residual service time corresponding to the reference voltage values for each reference voltage value, and obtaining the residual electric quantity corresponding to the reference voltage value according to the residual service time to be used as a basis for obtaining the electric quantity estimated value of the target battery according to the voltage data, thereby simplifying the calculation process of the electric quantity display method.
With reference to the second optional implementation manner of the first aspect, and with reference to the third optional implementation manner of the first aspect, obtaining the estimated value of the electric quantity of the target battery according to the voltage data includes:
determining a reference voltage value matched with the voltage data from the second target number of reference voltage values as a target voltage value;
and taking the residual capacity corresponding to the target voltage value as the estimated capacity value of the target battery.
In the embodiment of the present application, obtaining the estimated value of the electric quantity of the target battery according to the voltage data includes: and determining a reference voltage value matched with the voltage data from the second target number of reference voltage values as a target voltage value, and using the residual capacity corresponding to the target voltage value as an estimated capacity value of the target battery, thereby simplifying the calculation process of the capacity display method.
With reference to the first aspect, an embodiment of the present application further provides a fourth optional implementation manner of the first aspect, and the electric quantity display method further includes:
and determining the working state of the target battery, wherein the working state comprises a charging state and a discharging state.
The electric quantity display method provided by the embodiment of the application further comprises the following steps: and determining the working state of the target battery, wherein the working state comprises a charging state and a discharging state, so that the application range of the electric quantity display method is expanded.
With reference to the fourth optional implementation manner of the first aspect and the fifth optional implementation manner of the first aspect, when the operating state of the target battery is a charging state, updating and displaying the electric quantity display value according to the comparison result, including:
and when the comparison result indicates that the estimated electric quantity value is greater than the electric quantity display value, acquiring the sum of the electric quantity display value and a first preset numerical value as the updated electric quantity display value, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is less than or equal to the electric quantity display value, the electric quantity display value is kept unchanged.
In this application embodiment, when the operating condition of target battery is the charged state, according to the comparison result, update the electric quantity display value to show, include: and when the comparison result indicates that the estimated electric quantity value is greater than the electric quantity display value, acquiring the sum of the electric quantity display value and a first preset numerical value as the updated electric quantity display value, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is less than or equal to the electric quantity display value, the electric quantity display value is kept unchanged. Therefore, when the working state of the target battery is the charging state, the electric quantity display value can only be increased, and only the first preset numerical value can be increased at each time, so that the aim of accurately displaying the residual electric quantity of the target battery is further fulfilled.
With reference to the fourth optional implementation manner of the first aspect and the sixth optional implementation manner of the first aspect, when the operating state of the target battery is a discharging state, updating and displaying the electric quantity display value according to the comparison result, including:
and when the comparison result indicates that the estimated electric quantity value is smaller than the electric quantity display value, acquiring the difference between the electric quantity display value and a second preset value as the electric quantity display value after updating, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is larger than or equal to the electric quantity display value, the electric quantity display value is kept unchanged.
In this application embodiment, when the operating condition of target battery is the discharge state, according to the comparison result, update the electric quantity display value to show, include: and when the comparison result indicates that the estimated electric quantity value is smaller than the electric quantity display value, acquiring the difference between the electric quantity display value and a second preset value as the electric quantity display value after updating, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is larger than or equal to the electric quantity display value, the electric quantity display value is kept unchanged. Therefore, when the working state of the target battery is the discharging state, the electric quantity display value can only be reduced, and the second preset numerical value can only be reduced at each time, so that the aim of accurately displaying the residual electric quantity of the target battery is further fulfilled.
In a second aspect, an embodiment of the present application further provides an electric quantity display device, including:
the acquisition module is used for acquiring voltage data of the target battery at preset time intervals;
the estimation module is used for acquiring the electric quantity estimated value of the target battery according to the voltage data when one piece of voltage data is acquired;
the comparison module is used for comparing the electric quantity estimated value with the electric quantity display value to obtain a comparison result;
and the display module is used for updating and displaying the electric quantity display value according to the comparison result.
The beneficial effects of the electric quantity display device provided by the embodiment of the application are consistent with those of the electric quantity display method, and are not repeated here.
In a third aspect, an electronic device provided in an embodiment of the present application includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the computer program to implement the power display method provided in the first aspect or any optional implementation manner of the first aspect.
The beneficial effects of the electronic device provided by the embodiment of the application are consistent with those of the electric quantity display method, and are not described herein again.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the method for displaying electric quantity provided by the foregoing first aspect or any optional implementation manner of the first aspect may be implemented.
The beneficial effects of the computer-readable storage medium provided by the embodiment of the present application are consistent with the above-mentioned power display method, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural block diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating steps of a method for displaying electric quantity according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram illustrating a correspondence relationship between a reference voltage value and a use time according to an embodiment of the present application.
Fig. 4 is a schematic diagram illustrating a corresponding relationship between a reference voltage value and a service time according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural block diagram of an electric quantity display device according to an embodiment of the present disclosure.
Reference numerals: 100-an electronic device; 110-a processor; 120-a memory; 200-electric quantity display device; 210-an acquisition module; 220-an estimation module; 230-a comparison module; 240-display module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, a schematic block diagram of an electronic device 100 applying a power display method and apparatus according to an embodiment of the present disclosure is shown. In the embodiment of the present application, the electronic device 100 is structurally, and the electronic device 100 may include a processor 110 and a memory 120.
The processor 110 and the memory 120 are electrically connected directly or indirectly to enable data transmission or interaction, for example, the components may be electrically connected to each other via one or more communication buses or signal lines. The power display device 200 includes at least one software module that can be stored in the memory 120 in the form of software or Firmware (Firmware) or solidified in an Operating System (OS) of the electronic device 100. The processor 110 is configured to execute executable modules stored in the memory 120, such as software functional modules and computer programs included in the power display apparatus 200, so as to implement the power display method. The processor 110 may execute the computer program upon receiving the execution instruction.
The processor 110 may be an integrated circuit chip having signal processing capabilities. The Processor 110 may also be a general-purpose Processor, for example, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. Further, a general purpose processor may be a microprocessor or any conventional processor or the like.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), and an electrically Erasable Programmable Read-Only Memory (EEPROM). The memory 120 is used for storing a program, and the processor 110 executes the program after receiving the execution instruction.
It should be understood that the structure shown in fig. 1 is merely an illustration, and the electronic device 100 provided in the embodiment of the present application may have fewer or more components than those shown in fig. 1, or may have a different configuration than that shown in fig. 1. Further, the components shown in fig. 1 may be implemented by software, hardware, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart illustrating a power display method according to an embodiment of the present disclosure, where the method is applied to the electronic device 100 shown in fig. 1. It should be noted that, the power display method provided in the embodiment of the present application is not limited by the sequence shown in fig. 2 and the following, and the specific flow and steps of the power display method are described below with reference to fig. 2.
And S100, acquiring voltage data of the target battery at preset time intervals.
In the embodiment of the present application, the preset time period may be, but is not limited to, 0.25min, 0.5min, and 1 min. The target battery can be a lithium battery or a lead storage battery according to the type of the battery, and can be a single battery or a battery module comprising a plurality of single batteries according to the structure of the battery, and the plurality of single batteries can be connected in parallel or in series.
In addition, in the embodiment of the present application, regarding step S100, as a first optional implementation manner, step S111 may be included.
And step S111, collecting the voltage value of the target battery at the current time point at preset time intervals to serve as voltage data of the target battery.
Taking the preset time duration as 1min and the starting time point as 9.00 as an example, after 1min, if the current time point is 9.01, the voltage value of the target battery at the time point of 9.01 is collected as the voltage data of the target battery at the time point of 9.01.
In the embodiment of the present application, regarding step S100, as a second optional implementation, step S121 may also be included.
Step S121, calculating the average value of the first target number of voltage values collected in the preset time period before the current time point at intervals of the preset time period, and using the average value as the voltage data of the target battery.
Similarly, taking the preset time duration as 1min and the starting time point as 9.00 as an example, after 1min, if the current time point is 9.01, calculating the average value of the first target number of voltage values acquired within 1min before the time point of 9.01, that is, within the time period of 9.00-9.01, as the voltage data of the target battery at the time point of 9.01. In the embodiment of the present application, the first target number may be, but is not limited to, 2, 3, or 5.
In addition, in the embodiment of the present application, for the acquisition of the target battery voltage value in step S111 and step S121, the acquisition may be implemented by a voltage acquisition circuit, and the voltage acquisition circuit may include a voltage division circuit, a filter circuit, and a controller. The voltage division circuit is connected with the target battery and used for dividing the total voltage of the target battery to obtain an original acquisition value. The filter circuit is connected with the voltage division circuit and used for filtering the original acquisition value to obtain a stable acquisition value. The controller is connected with the filter circuit and used for obtaining the voltage value of the target battery according to the stable acquisition value.
And step S200, acquiring the electric quantity estimated value of the target battery according to the voltage data when one piece of voltage data is acquired.
In the embodiment of the application, for each target battery, a corresponding relation between the voltage data of the target battery and the current estimation median value can be established in advance to serve as a basis for obtaining the electric quantity estimation value of the target battery according to the voltage data, so that the calculation process of the electric quantity display method is simplified. Based on this, the power display method provided in the embodiment of the present application may further include three steps, i.e., step S001, step S002, and step S003.
And S001, determining reference voltage values of a second target number according to a preset voltage interval in the working voltage interval of the target battery.
In the embodiment of the application, the voltage interval of the target battery can be determined according to the individual attribute of the target battery, for example, the working voltage interval of a 5V lithium battery is 2.5V-4.2V, and the working voltage interval of a battery module formed by connecting 6 5V lithium batteries in parallel is 15V-25.2V. The preset voltage interval may be, but is not limited to, 0.05V, 0.1V. Taking a battery module formed by connecting 6 5V lithium batteries in parallel as a target battery, the preset voltage interval is 0.1V, the second target number is 103, and the reference voltage values comprise 15V, 15.1V and 15.2V, and so on until 25.2V.
In step S002, for each reference voltage value, the remaining usage time corresponding to the reference voltage value is obtained.
In the embodiment of the application, the use process (charging process or discharging process) of the target battery can be monitored through the battery measuring instrument so as to obtain the corresponding relation between each reference voltage value and the use time, and the corresponding relation is recorded, wherein the recording form can be a coordinate curve form or a data table form. Thereafter, the remaining usage time corresponding to each reference voltage value can be obtained.
And step S003, obtaining the residual electricity quantity corresponding to the reference voltage value according to the residual service time.
In the embodiment of the application, the remaining capacity corresponding to the reference voltage value is obtained according to the remaining service time, and the remaining capacity corresponding to the reference voltage value can be obtained by performing quotient operation on the remaining service time and the overall available duration of the target battery.
The implementation of steps S002 and S003 will be described below by taking as an example the case where the charging process of the target battery is monitored by a battery measuring instrument, the correspondence between each reference voltage value and the use time is obtained, and recorded in the form of a coordinate curve. Referring to fig. 3, for convenience of description, the smaller of the two edge reference voltage values defining the operating voltage interval is the first voltage value v1The larger value is the second voltage value v2
Aiming at any reference voltage value, the corresponding residual service time is the service time corresponding to the reference voltage value and the first voltage value v1Corresponding difference in time of use. Therefore, it can be understood that, in the embodiment of the present application, when the first voltage value v is greater than the second voltage value v1When the corresponding service time is 0, the corresponding remaining service time of any reference voltage value is the service time corresponding to the reference voltage value.
Thereafter, a second voltage value v is obtained2Corresponding service time and first voltage value v1And taking the corresponding difference of the service time as the overall available time length of the target battery. Also, it is understood that, in the embodiment of the present application, when the first voltage value v is set1When the corresponding service time is 0, the whole available time length of the target battery is a second voltage value v2Corresponding usage time.
Exemplarily, for a reference voltage value viThe corresponding remaining service time is the reference voltage value viCorresponding time of use tiAnd a first voltage value v1Corresponding time of use t1The difference of (a). Thereafter, a second voltage value v is obtained2Corresponding time of use t2And a first voltage value v1Corresponding time of use t1As the overall available time period of the target battery. Finally, theWith reference voltage value viAnd carrying out quotient operation on the corresponding remaining service time serving as a divisor and the overall available time of the target battery serving as a dividend to obtain the remaining electric quantity corresponding to the reference voltage value.
The implementation of steps S002 and S003 will be described below by taking the example of monitoring the discharging process of the target battery by the battery measuring instrument to obtain the corresponding relationship between each reference voltage value and the service time, and recording the corresponding relationship in the form of a coordinate curve. Referring to fig. 4, for convenience of description, the smaller of the two edge reference voltage values defining the operating voltage interval is the third voltage value v3The larger value is the fourth voltage value v4
For any reference voltage value, the corresponding residual service time is a third voltage value v3The difference between the corresponding service time and the service time corresponding to the reference voltage value.
Thereafter, a third voltage value v is obtained3Corresponding service time and fourth voltage value v4And taking the corresponding difference of the service time as the overall available time length of the target battery. Also, it is understood that, in the embodiment of the present application, when the fourth voltage value v is set4When the corresponding service time is 0, the whole available time length of the target battery is a third voltage value v3Corresponding usage time.
Exemplarily, for a reference voltage value viThe corresponding remaining service time is the third voltage value v3Corresponding time of use t3And the reference voltage value viCorresponding time of use tiThe difference of (a). Thereafter, a third voltage value v is obtained3Corresponding time of use t3And a fourth voltage value v4Corresponding time of use t4As the overall available time period of the target battery. Finally, the reference voltage value v is usediAnd carrying out quotient operation on the corresponding remaining service time serving as a divisor and the overall available time of the target battery serving as a dividend to obtain the remaining electric quantity corresponding to the reference voltage value.
Based on step S001, step S002 and step S003, in the embodiment of the present application, step S200 may include two substeps, step S210 and step S220.
In step S210, a reference voltage value matching the voltage data is determined from the second target number of reference voltage values as a target voltage value.
In the embodiment of the application, a reference voltage value matched with the voltage data is determined from the second target number of reference voltage values as the target voltage value, a reference voltage value equal to the voltage data value is determined from the second target number of reference voltage values as the target voltage value, or a reference voltage value having the smallest difference with the voltage data value is determined from the second target number of reference voltage values as the target voltage value.
In step S220, the remaining capacity corresponding to the target voltage value is used as the estimated capacity value of the target battery.
And step S300, comparing the electric quantity estimated value with the electric quantity display value to obtain a comparison result.
In the embodiment of the application, the estimated value of the electric quantity is compared with the displayed value of the electric quantity to obtain a comparison result, which can be a difference value between the estimated value of the circuit and the displayed value of the electric quantity.
And step S400, updating and displaying the electric quantity display value according to the comparison result.
In the embodiment of the application, the working state of the target battery comprises a charging state and a discharging state, and for the charging state and the discharging state, the updating mode of the electric quantity display value is different according to the comparison result. Based on this, the power display method provided in the embodiment of the present application further includes step S004: and determining the working state of the target battery, wherein the working state comprises a charging state and a discharging state. In practical implementation, the working state of the target battery can be determined according to the current directions of the anode and the cathode of the target battery.
Based on the above description, in the embodiment of the present application, when the operating state of the target battery is the charging state, step S400 includes step S411: and when the comparison result indicates that the estimated electric quantity value is greater than the electric quantity display value, acquiring the sum of the electric quantity display value and a first preset numerical value as the updated electric quantity display value, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is less than or equal to the electric quantity display value, the electric quantity display value is kept unchanged. Wherein, the first predetermined quantity value may be 1%.
Through the setting, when the working state of the target battery is the charging state, the electric quantity display value can only be increased, and only the first preset numerical value can be increased at each time, so that the aim of accurately displaying the residual electric quantity of the target battery is further fulfilled.
When the operating state of the target battery is the discharge state, step S400 includes step S421: and when the comparison result indicates that the estimated electric quantity value is smaller than the electric quantity display value, acquiring the difference between the electric quantity display value and a second preset value as the electric quantity display value after updating, and displaying, wherein when the comparison result indicates that the estimated electric quantity value is larger than or equal to the electric quantity display value, the electric quantity display value is kept unchanged. Wherein, the second predetermined quantity value may be 1%.
Through the arrangement, when the working state of the target battery is in a discharging state, the electric quantity display value can be reduced, and the second preset value can be reduced at each time, so that the aim of accurately displaying the residual electric quantity of the target battery is further fulfilled.
Based on the same inventive concept as the above-mentioned electric quantity display method, an embodiment of the present application further provides an electric quantity display apparatus 200, please refer to fig. 5, in which the electric quantity display apparatus 200 provided by the embodiment of the present application includes an acquisition module 210, an estimation module 220, a comparison module 230, and a display module 240.
The acquisition module 210 is configured to acquire voltage data of the target battery at preset time intervals.
The description of the acquisition module 210 may refer to the detailed description of the step S100 shown in fig. 2, that is, the step S100 may be performed by the acquisition module 210.
And the estimation module 220 is configured to obtain an estimated value of the electric quantity of the target battery according to the voltage data every time one piece of voltage data is acquired.
The description of the estimation module 220 may refer to the detailed description of step S200 shown in fig. 2, that is, step S200 may be performed by the estimation module 220.
And the comparison module 230 is configured to compare the estimated electric quantity value with the displayed electric quantity value to obtain a comparison result.
The description of the comparison module 230 may refer to the detailed description of the step S300 shown in fig. 2, that is, the step S300 may be performed by the comparison module 230.
And the display module 240 is configured to update and display the electric quantity display value according to the comparison result.
The description about the display module 240 may refer to the detailed description of step S400 shown in fig. 2, that is, step S400 may be performed by the display module 240.
In the embodiment of the present application, the acquisition module 210 may include an acquisition unit.
And the acquisition unit is used for calculating the average value of the voltage values of the first target number acquired in the preset time before the current time point at each preset time interval to serve as the voltage data of the target battery.
The description of the acquisition unit may specifically refer to the detailed description about step S121 in the embodiment related to the power display method, that is, step S121 may be executed by the acquisition unit.
The electric quantity display device 200 provided by the embodiment of the application may further include an obtaining module, a first calculating module and a second calculating module.
And the acquisition module is used for determining reference voltage values of a second target number according to a preset voltage interval in the working voltage interval of the target battery.
The description of the obtaining module may refer to the detailed description about the step S001 in the embodiment related to the electric quantity display method, that is, the step S001 may be executed by the obtaining module.
And the first calculation module is used for obtaining the remaining service time corresponding to the reference voltage value aiming at each reference voltage value.
The description of the first calculating module may refer to the detailed description of the step S002 in the embodiment related to the power display method, that is, the step S002 may be executed by the first calculating module.
And the second calculation module is used for obtaining the residual electric quantity corresponding to the reference voltage value according to the residual service time.
The description of the second calculating module may refer to the detailed description of step S003 in the embodiment related to the power display method, that is, step S003 may be executed by the second calculating module.
In the embodiment of the present application, the estimation module 220 may include a determination unit and an estimation unit.
And a determining unit configured to determine, as the target voltage value, a reference voltage value that matches the voltage data from among the second target number of reference voltage values.
The description of the determining unit may refer to the detailed description of step S210 in the embodiment related to the power display method, that is, step S210 may be executed by the determining unit.
And an estimation unit for taking the remaining capacity corresponding to the target voltage value as an estimated capacity value of the target battery.
The description of the estimation unit may refer to the detailed description of the step S220 in the embodiment related to the electric quantity display method, that is, the step S220 may be executed by the estimation unit.
The electric quantity display method provided by the embodiment of the application can further comprise a determining module.
The determination module is used for determining the working state of the target battery, and the working state comprises a charging state and a discharging state.
The description of the determining module may refer to the detailed description of step S004 in the embodiment related to the power display method, that is, step S004 may be executed by the determining module.
In this embodiment, when the operating state of the target battery is a charging state, the display module 240 may include a first display unit.
And the first display unit is used for acquiring the sum of the electric quantity display value and a first preset numerical value as the electric quantity display value after updating when the comparison result indicates that the electric quantity estimated value is greater than the electric quantity display value, and displaying the electric quantity display value, and keeping the electric quantity display value unchanged when the comparison result indicates that the electric quantity estimated value is less than or equal to the electric quantity display value.
The description of the first display unit may refer to the detailed description of step S411 in the above embodiments related to the power display method, that is, step S411 may be executed by the first display unit.
In this embodiment, when the operating state of the target battery is a discharging state, the display module 240 may include a second display unit.
And the second display unit is used for acquiring the difference between the electric quantity display value and a second preset value as the electric quantity display value after updating when the comparison result indicates that the electric quantity estimated value is smaller than the electric quantity display value, and displaying the electric quantity display value, and keeping the electric quantity display value unchanged when the comparison result indicates that the electric quantity estimated value is larger than or equal to the electric quantity display value.
The description of the second display unit may refer to the detailed description about the step S421 in the embodiment related to the power display method, that is, the step S421 may be executed by the second display unit.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the method for displaying electric quantity provided in the foregoing method embodiment may be implemented, which may be specifically referred to in the foregoing method embodiment and is not described herein again.
To sum up, the electric quantity display method, the electric quantity display device and the electronic equipment provided by the embodiment of the application can acquire the voltage data of the target battery at preset intervals, acquire the electric quantity estimated value of the target battery according to the voltage data when one piece of voltage data is acquired, compare the electric quantity estimated value with the electric quantity display value to acquire a comparison result, and update and display the electric quantity display value according to the comparison result. Therefore, in the use process of the target battery, as long as the voltage data changes, the electric quantity display value also changes along with the change of the voltage data, and the purpose of accurately displaying the residual electric quantity of the target battery is achieved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as "first," "second," and "third," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (6)

1. An electricity quantity display method, comprising:
every preset time interval, acquiring voltage data of the target battery, comprising: every interval of preset time length, calculating the average value of a first target number of voltage values acquired in the preset time length before the current time point, wherein the average value is used as the voltage data of the target battery, the voltage data comprises voltage values, the voltage values are obtained through a voltage acquisition circuit, the voltage acquisition circuit comprises a voltage division circuit, a filter circuit and a controller, the voltage division circuit is connected with the target battery and used for dividing the total voltage of the target battery to obtain an original acquisition value, the filter circuit is connected with the voltage division circuit and used for filtering the original acquisition value to obtain a stable acquisition value, and the controller is connected with the filter circuit and used for obtaining the voltage value of the target battery according to the stable acquisition value;
when each piece of voltage data is acquired, acquiring an electric quantity estimated value of the target battery according to the voltage data;
comparing the electric quantity estimated value with an electric quantity display value to obtain a comparison result;
determining an operating state of the target battery, wherein the operating state comprises a charging state and a discharging state;
when the working state of the target battery is a charging state and the comparison result indicates that the electric quantity estimated value is larger than the electric quantity display value, acquiring the sum of the electric quantity display value and a first preset value as an updated electric quantity display value and displaying the updated electric quantity display value; when the comparison result indicates that the electric quantity estimated value is smaller than or equal to the electric quantity display value, keeping the electric quantity display value unchanged;
when the working state of the target battery is a discharging state and the comparison result indicates that the electric quantity estimated value is smaller than the electric quantity display value, acquiring the difference between the electric quantity display value and a second preset value, taking the difference as the updated electric quantity display value, and displaying the updated electric quantity display value; and when the comparison result indicates that the electric quantity estimated value is greater than or equal to the electric quantity display value, keeping the electric quantity display value unchanged.
2. The power display method of claim 1, further comprising:
determining reference voltage values of a second target number according to a preset voltage interval in the working voltage interval of the target battery;
for each reference voltage value, obtaining the remaining service time corresponding to the reference voltage value;
and obtaining the residual electric quantity corresponding to the reference voltage value according to the residual service time.
3. The power display method of claim 2, wherein the obtaining the estimated power of the target battery according to the voltage data comprises:
determining a reference voltage value matched with the voltage data from the second target number of reference voltage values as a target voltage value;
and taking the residual capacity corresponding to the target voltage value as the estimated capacity value of the target battery.
4. An electricity quantity display device, comprising:
the collection module is used for acquiring voltage data of the target battery at preset time intervals, and comprises: every interval of preset time length, calculating the average value of a first target number of voltage values acquired in the preset time length before the current time point, wherein the average value is used as the voltage data of the target battery, the voltage data comprises voltage values, the voltage values are obtained through a voltage acquisition circuit, the voltage acquisition circuit comprises a voltage division circuit, a filter circuit and a controller, the voltage division circuit is connected with the target battery and used for dividing the total voltage of the target battery to obtain an original acquisition value, the filter circuit is connected with the voltage division circuit and used for filtering the original acquisition value to obtain a stable acquisition value, and the controller is connected with the filter circuit and used for obtaining the voltage value of the target battery according to the stable acquisition value;
the estimation module is used for acquiring the electric quantity estimated value of the target battery according to the voltage data when each piece of voltage data is acquired;
the comparison module is used for comparing the electric quantity estimated value with the electric quantity display value to obtain a comparison result;
the display module is used for determining the working state of the target battery, and the working state comprises a charging state and a discharging state; when the working state of the target battery is a charging state and the comparison result indicates that the electric quantity estimated value is larger than the electric quantity display value, acquiring the sum of the electric quantity display value and a first preset value as an updated electric quantity display value and displaying the updated electric quantity display value; when the comparison result indicates that the electric quantity estimated value is smaller than or equal to the electric quantity display value, keeping the electric quantity display value unchanged; when the working state of the target battery is a discharging state and the comparison result indicates that the electric quantity estimated value is smaller than the electric quantity display value, acquiring the difference between the electric quantity display value and a second preset value, taking the difference as the updated electric quantity display value, and displaying the updated electric quantity display value; and when the comparison result indicates that the electric quantity estimated value is greater than or equal to the electric quantity display value, keeping the electric quantity display value unchanged.
5. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program thereon, and the processor is configured to execute the computer program to implement the power display method according to any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the power display method of any one of claims 1 to 3.
CN201910972350.7A 2019-10-14 2019-10-14 Electric quantity display method and device and electronic equipment Active CN110579712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910972350.7A CN110579712B (en) 2019-10-14 2019-10-14 Electric quantity display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910972350.7A CN110579712B (en) 2019-10-14 2019-10-14 Electric quantity display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110579712A CN110579712A (en) 2019-12-17
CN110579712B true CN110579712B (en) 2022-02-08

Family

ID=68814668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910972350.7A Active CN110579712B (en) 2019-10-14 2019-10-14 Electric quantity display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110579712B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111474482B (en) * 2020-04-29 2022-08-16 珠海优特物联科技有限公司 Electric quantity detection model establishing method, electric quantity detection device and electronic equipment
CN111431250B (en) * 2020-05-28 2022-07-01 维沃移动通信有限公司 Electric quantity display method and device and electronic equipment
CN111746275A (en) * 2020-06-22 2020-10-09 武汉格瑞恩电子仪表有限公司 Electric automobile instrument electric quantity display method, system, storage medium and equipment
WO2022257135A1 (en) * 2021-06-11 2022-12-15 浙江今日阳光新能源车业有限公司 Electric quantity display method for electric vehicle, electric vehicle instrument, and computer storage medium
CN113635302B (en) * 2021-07-29 2022-11-15 深圳墨影科技有限公司 Integrated mobile cooperative robot control system based on field bus
CN115343641B (en) * 2022-10-18 2023-05-26 广东好太太智能家居有限公司 Method, apparatus, device, medium and program product for determining battery charge

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298119A (en) * 2011-05-24 2011-12-28 惠州Tcl移动通信有限公司 Device and method for displaying battery power
JP2012047555A (en) * 2010-08-26 2012-03-08 Toshiba Corp Remaining battery power display
CN102375127A (en) * 2011-11-11 2012-03-14 深圳市中兴移动通信有限公司 Method for displaying residual battery electricity quantity of mobile terminal
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device
CN107024657A (en) * 2016-01-30 2017-08-08 中山乐心电子有限公司 A kind of electricity display processing method and device for electronic equipment
CN109596989A (en) * 2018-12-29 2019-04-09 出门问问信息科技有限公司 Display methods, device and the electronic equipment of electric quantity for electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106501730A (en) * 2016-12-06 2017-03-15 歌尔科技有限公司 A kind of battery electric quantity processing method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012047555A (en) * 2010-08-26 2012-03-08 Toshiba Corp Remaining battery power display
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
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device
CN107024657A (en) * 2016-01-30 2017-08-08 中山乐心电子有限公司 A kind of electricity display processing method and device for electronic equipment
CN109596989A (en) * 2018-12-29 2019-04-09 出门问问信息科技有限公司 Display methods, device and the electronic equipment of electric quantity for electronic equipment

Also Published As

Publication number Publication date
CN110579712A (en) 2019-12-17

Similar Documents

Publication Publication Date Title
CN110579712B (en) Electric quantity display method and device and electronic equipment
CN108646190B (en) Method, device and equipment for estimating residual charging time of battery
JP7199568B2 (en) BATTERY DIAGNOSTIC SYSTEM, BATTERY DIAGNOSTIC METHOD, AND STORAGE MEDIUM
JP6734784B2 (en) How to estimate battery health
US10310020B2 (en) Method, device and system for estimating the charge state of a battery
EP2851700B1 (en) Method and terminal for displaying capacity of battery
US20180246173A1 (en) Online determination of model parameters of lead acid batteries and computation of soc and soh
CN111474482B (en) Electric quantity detection model establishing method, electric quantity detection device and electronic equipment
CN104950260A (en) Model-independent battery life and performance forecaster
CN112986842B (en) Method, device and equipment for estimating state of charge of battery
CN110888065B (en) Battery pack state of charge correction method and device
JP7394983B2 (en) Method and apparatus for determining the state of charge and health of a rechargeable battery
KR101777334B1 (en) Apparatus and method for estimating SOH of battery
CN106707187B (en) Method and device for determining target SOC of battery
JP2015184219A (en) Estimation program, estimation method, and estimation device
CN113111508A (en) Battery cell consistency evaluation method and device and server
CN110445210B (en) Charging method and device for electronic equipment, electronic equipment and storage medium
CN115453400A (en) Vehicle-mounted power battery health degree evaluation method, system and medium
CN110988701B (en) Battery available energy determination method, device, management system and storage medium
CN114740389A (en) Battery health assessment method and device, electronic equipment and readable storage medium
CN115219930B (en) Vehicle storage battery aging early warning method and device, electronic equipment and storage medium
CN114325413B (en) Power battery SOC correction method, device, equipment and storage medium
CN113311336A (en) Battery cell level capacity evaluation method and device and electronic equipment
CN114035049A (en) SOH precision calculation method and device and electronic equipment
CN115166521A (en) Battery capacity evaluation 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee after: Beijing Yunji Technology Co.,Ltd.

Address before: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee before: BEIJING YUNJI TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder