CN111562505A - Battery identification method, electronic equipment and storage medium - Google Patents

Battery identification method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111562505A
CN111562505A CN202010479630.7A CN202010479630A CN111562505A CN 111562505 A CN111562505 A CN 111562505A CN 202010479630 A CN202010479630 A CN 202010479630A CN 111562505 A CN111562505 A CN 111562505A
Authority
CN
China
Prior art keywords
battery
sampling
constant current
circuit
sample
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010479630.7A
Other languages
Chinese (zh)
Other versions
CN111562505B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010479630.7A priority Critical patent/CN111562505B/en
Publication of CN111562505A publication Critical patent/CN111562505A/en
Priority to PCT/CN2021/096167 priority patent/WO2021239007A1/en
Application granted granted Critical
Publication of CN111562505B publication Critical patent/CN111562505B/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/385Arrangements for measuring battery or accumulator variables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The application discloses a battery identification method, an electronic device and a storage medium. The battery identification method comprises the following steps: sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage; determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: a voltage value of the battery.

Description

Battery identification method, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a battery identification method, an electronic device, and a storage medium.
Background
Due to the supply of batteries, the batteries in the devices are sometimes supplied by two or more battery manufacturers. Because the characteristics of the batteries produced by each battery manufacturer are different, how to reduce the cost of battery identification becomes an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a battery identification method, electronic equipment and a storage medium, which are used for at least solving the problem of reducing the cost of battery identification in the related art.
The technical scheme of the embodiment of the application is realized as follows:
in one aspect, an embodiment of the present application provides a battery identification method, where the method includes:
sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: a voltage value of the battery.
In another aspect, an embodiment of the present application provides an electronic device, including:
the sampling unit is used for sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the determining unit is used for determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: a voltage value of the battery.
In yet another aspect, embodiments of the present application provide a wireless headset, which includes a first battery, a first sampling circuit, a first sampling control circuit, and a first processing circuit,
the first sampling circuit configured to sample the first battery at least twice;
the first sampling control circuit is configured to control the first sampling circuit to sample the first battery at least once in a constant current phase; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the first processing circuit is configured to determine a characteristic of the first battery according to a sampled value of all or part of the at least two samples; wherein the sampling value comprises: a voltage value of the first battery.
In still another aspect, an embodiment of the present application provides an earphone charging box, which includes a second battery, a second sampling circuit, a second sampling control circuit, and a second processing circuit in a housing,
the second sampling circuit configured to sample the second battery at least twice;
the second sampling control circuit is configured to control the second sampling circuit to sample the second battery at least once in a constant current phase; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the second processing circuit is configured to determine a characteristic of the second battery according to a sampled value of all or part of the at least two samples; wherein the sampling value comprises: a voltage value of the second battery.
In another aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is configured to execute the above battery identification method when the computer program is executed.
In still another aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the above battery identification method.
In the embodiment of the application, the battery is sampled at least twice, and at least one sampling is carried out at the constant current charging or constant current discharging stage to obtain corresponding sampling values, wherein the sampling values comprise sampling voltage values, the sampling values reflect the electrical characteristics of the battery, and because the electrical characteristics of different batteries are different, the battery can be accurately identified according to all or part of the sampling values obtained by sampling. Therefore, the battery can be identified without arranging a special identification pin, and the effects of reducing the complexity of the electronic equipment and further reducing the cost are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic structural view of a wireless headset provided in the related art;
fig. 2 is a schematic flowchart of a battery identification method according to an embodiment of the present disclosure;
fig. 3 is a schematic view of a charging curve according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of an example one provided in an embodiment of the present application;
fig. 5 is a schematic flow chart of example two provided in the embodiments of the present application;
fig. 6 is a schematic structural component diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, the following description will be made of related technologies related to the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a wireless headset provided in the related art. The wireless headset 100 includes two wireless earpieces 110 and a headset charging box 120. Each wireless receiver 110 is provided with three metal pins 111, each wireless receiver has only two pins, the earphone charging box 120 is provided with three pogo pins 121 corresponding to the metal pins 111, and some corresponding wireless earphones have only two corresponding pogo pins. The two Wireless earpieces 110 can independently operate without cable connection by realizing Wireless separation of left and right channels, i.e., tws (true Wireless stereo) headphones. The headset charging box 120 has integrated therein a mobile power supply for charging the wireless handset 110 and a power management chip.
Due to the supply of batteries, batteries used in the same location in electronic devices are sometimes supplied by two or more battery manufacturers. For batteries of different models, the battery core, the internal resistance and the like of the batteries are different, so that the charging and discharging characteristics are different, and therefore, the batteries currently used on the electronic equipment need to be identified in order to be compatible with the batteries of different models. At present, a common battery identification method is to perform hardware identification on a battery, for example, one pin is added, and the identification is supplemented by configuring different resistors, so that two battery wires are changed into three battery wires, and one pin is used for identifying the type of the battery. The power management chip judges the specific type of the battery by acquiring the level of the battery type identification pin.
In summary, in the related art, the electronic device needs to be configured with an additional battery model identification pin for battery identification, which causes several problems:
1. the structure becomes complicated. For small products such as earphones and the like, the space is extremely limited, and a pin and a line are added, so that troubles are brought to layout and the like.
2. It becomes troublesome in operation. A wire is added, so that a welding point is added, and troubles in production and the like can be brought.
3. The complexity of the electronic design. Because a pin is needed to identify the battery model, an additional pin of the main control is needed, and the electronic design becomes complicated.
4. The cost increases, and the increase in the wire and the welding process brings about an increase in the cost.
Based on this, the following technical scheme of the embodiment of the application is provided, the battery is sampled at least twice, and at least one sampling is required to be carried out at the constant current charging or constant current discharging stage, so that corresponding sampling values are obtained, the sampling values comprise sampling voltage values, the sampling values reflect the electrical characteristics of the battery, and because the electrical characteristics of different batteries are different, the battery can be accurately identified according to all or part of the sampling values obtained by sampling. Therefore, the battery can be identified without arranging a special identification pin, and the effects of reducing the complexity of the electronic equipment and further reducing the cost are achieved.
The following describes the execution steps of the battery identification method, and fig. 2 is a schematic flowchart of the battery identification method provided in the embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step 201: sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging phase or a constant current discharging phase.
Step 202: determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: a voltage value of the battery.
The main execution body of the above steps is an equipment carrier of a power management chip, and the equipment carrier can be electronic equipment such as a mobile phone, an intelligent household appliance or an intelligent wearable assembly, but is not limited thereto. It should be noted that, for the wireless headset, both the wireless headset and the headset charging box can be used as the execution main body of the above steps. For convenience of description, the execution main body is hereinafter represented as an electronic device on which a power management chip is provided.
A Power Management chip (Power Management Integrated Circuits) is a chip that plays roles in converting, distributing, detecting, and other Power Management functions in an electronic device system. The CPU power supply amplitude is mainly identified, corresponding short moment waves are generated, and a post-stage circuit is pushed to output power.
Referring to fig. 3, a charging method of a battery is described, as shown in fig. 3, in the related art, the charging of a lithium battery is divided into three stages: a pre-charging stage, a constant current stage and a constant voltage stage. The charge and discharge current is generally referred to as C, which is a numerical value corresponding to the battery capacity. The battery capacity is generally expressed by Ah and mAh, for example, the battery capacity of a battery is 1200mAh, and the corresponding C is 1200 mA. Taking a 4.2V battery as an example, the voltage of the battery to be charged should be detected first when charging is started, if the voltage is lower than 3V, the pre-charging stage is to be entered first, the charging current is 1/10 of the set current, the set current is generally set between 0.2C and 1C, and is generally selected to be about 0.05C. After the voltage rises to 3V, the standard charging process is entered. The standard charging process is: the constant current stage is firstly entered to charge the battery by the set current, and when the voltage of the battery rises to 4.20V, the constant voltage stage is entered to charge the battery by the constant voltage, and the charging voltage is kept to be 4.20V. At this time, the charging current gradually decreases, and when the current decreases to 1/10 of the set charging current, the charging ends.
In step 201, the electronic device samples the battery at least twice and obtains corresponding sample values. Here, the sample value includes: the voltage value of the battery. In addition to this, the sampling values may additionally comprise sampling instants
It should be noted that the at least two sampling operations include at least one first sampling operation, where the first sampling operation is performed when the battery is in the constant current phase. The constant current stage comprises: a constant current charging phase or a constant current discharging phase. It should be noted that, when the battery is in the constant current phase, the sampled voltage values at different sampling moments may be different. In addition, if the battery is in different charge and discharge stages at different sampling times, the voltage of the battery should also be different. Therefore, at least one first sampling is required to be included in at least two sampling, so that different sampling voltage values can be obtained by the electronic equipment through at least two sampling for the battery, and in addition, the characteristics that the corresponding battery voltage values of the batteries of different types are different in the charging and discharging processes or the battery voltage value change conditions are different are adopted, so that the battery identification cost can be reduced by utilizing the characteristics to identify the batteries of different types.
It will be appreciated that the purpose of obtaining sampled values is to obtain electrical characteristics of the sampled battery, and therefore, to obtain more accurate electrical characteristics of the battery, in some possible embodiments, each sample of the battery may last for a certain time, for example 10ms, to exclude signal interference that may occur. In practical applications, the battery under constant current discharge may be a condition that the battery load is substantially stable, and even if the discharge current slightly fluctuates, the battery is considered to be in a constant current discharge phase.
In practical applications, according to the different phase of the previous sampling of at least two sampling, step 201 can be divided into the following three execution modes:
the first method is as follows: and carrying out at least two times of first sampling on the battery.
The second method comprises the following steps: performing at least one second sampling on the battery; wherein the second sample is used to characterize the sample that occurred when the battery was in an open circuit condition.
And when the battery enters a constant current stage from an open circuit, performing at least one time of first sampling on the battery.
The third method comprises the following steps: performing at least one third sampling on the battery; wherein the third sample is used to characterize the sample that occurred if the battery was in a pre-charge phase.
And when the battery enters a constant current charging stage from a pre-charging stage, performing at least one time of first sampling on the battery.
The above three ways can exist in combination without conflict, and the final battery characteristic can be determined according to the battery characteristics determined in various ways.
In the first mode, at least two times of sampling of the battery by the electronic device occur in the constant current charging or constant current discharging stage.
In practical applications, the first mode can be further defined as:
performing at least two times of first sampling on the battery within a set sampling interval in a constant current stage; the set sampling interval comprises a set time interval or a set voltage interval.
It should be noted that, there is a characteristic difference in the constant current stage between batteries of different models, and the set sampling interval may be a voltage interval in which the characteristic difference between batteries is most obvious. The battery can be identified more accurately by the sampling value obtained by sampling in the set sampling interval.
It should be further noted that, the electronic device may perform the first sampling on the battery for the second time in a set time length after the first sampling, so as to obtain the current voltage value of the battery. If the set sampling interval is the set time interval, the set time interval can be used for indirectly ensuring that at least two times of sampling of the battery by the electronic equipment are in a voltage interval with the most obvious difference characteristic of the battery, and can also be used for ensuring that at least two times of sampling are still in a constant current stage and do not enter a constant voltage stage. Since the pressure value of the battery will remain unchanged if the battery enters the constant voltage stage, the electrical characteristics of the battery may not be accurately obtained. For example, the set time interval may be 5 minutes.
It should be understood that, in practical application, the set sampling interval may be matched with calibration characteristic parameters of batteries of different types pre-stored in the electronic device, so as to reduce the difficulty in determining the battery type. The characteristic parameters of the battery calibration can be provided by a battery manufacturer or can be measured according to experiments.
In the second mode, the electronic device firstly performs at least one second sampling on the battery in the open circuit state, and performs at least one first sampling on the battery after the battery enters the constant current stage from the open circuit state.
It will be appreciated that the purpose of the electronics to perform at least one second sampling of the battery in the open circuit state is to obtain a raw voltage of the battery, which is the open circuit voltage of the battery before it enters the constant current phase. For example, before the electronic device is connected to a charger to perform constant current charging on a battery, the open-circuit voltage of the battery is collected, and the open-circuit voltage is the original voltage. For another example, before the electronic device is connected to a load for constant current discharge, the open-circuit voltage of the battery is collected, and the open-circuit voltage is the original voltage. It is easy to understand that before the battery enters the constant current phase, the electronic device may perform voltage acquisition on the battery at set time intervals, for example, perform voltage acquisition on the battery at 5s intervals, and when the electronic device detects that the charger is connected or constant current discharge is entered, the last previous acquired voltage value is taken as the original voltage.
In practical applications, the original voltage acquired by the electronic device may be limited within a set range, where the set range is used to ensure that the battery is in a constant current stage when the battery is charged or discharged with the original voltage as an initial value.
It should be noted that, in practical application, the charger may be plugged and then pre-charged first and then enter the constant current charging, so that the method is not limited to performing at least one first sampling on the battery after the battery enters the constant current phase from the open circuit, or performing at least one first sampling on the battery after the battery enters the pre-charged phase and then enters the constant current phase from the open circuit, and both of the method and the device belong to the case where the electronic device performs at least two samplings on the battery.
In the third mode, the electronic device performs at least one third sampling on the battery in the pre-charging stage, and performs at least one first sampling on the battery in the constant current stage after the battery enters the constant current stage from the pre-charging stage.
In step 202, the electronic device determines the characteristics of the battery based on the sampled values of all or a portion of the total samples taken in step 201.
It should be noted that the sampled values of all samples performed in step 201 are not necessarily used to determine the model of the battery in step 202. It will be readily appreciated that after some of the samples have been taken to determine the characteristics of the battery, no further samples need to be used. Alternatively, when the specific characteristics of the battery cannot be distinguished by using some of the sampling values, the further determination is performed by using other sampling values in step 201.
In some possible embodiments, step 202 is subdivided into the following steps:
matching sampling results corresponding to sampling values of all or part of the at least two samplings in at least one group of calibrated characteristic parameters to obtain matching results;
determining the characteristics of the battery according to the matching result; wherein,
each set of characteristic parameters in the at least one set of calibrated characteristic parameters corresponds to the characteristics of at least one battery; the calibration samples of the battery characterized by the corresponding characteristic.
It should be noted that, when the sampling result obtained by the battery identification method is compared and matched with the calibration sampling result stored in the electronic device, the sampling result should be matched according to the actual situation, so as to improve the matching precision and facilitate the identification of the battery. Here, there are many fitting methods available in the prior art, such as interpolation, and the like, which are not described herein in detail.
It should be further noted that the matching of the sampling result in at least one set of calibrated characteristic parameters may be performed by:
mode A: and determining the sampling value of all or part of the at least two sampling as the sampling result, and matching the sampling result in at least one set of calibrated characteristic parameters.
Mode B: calculating the sampling result according to the sampling value of all or part of the at least two samplings, and matching the sampling result in at least one group of calibrated characteristic parameters;
wherein,
the sampling result comprises at least one of the following:
a rate of change of voltage of the battery;
the voltage of the battery changes acceleration.
In mode a, the electronics directly match the sampled values of all samples taken in step 201 to at least one set of calibrated characteristic parameters. Here, the at least one set of calibrated characteristic parameters may be used to characterize the correspondence between the duration and the voltage of the at least one battery during the constant current phase. In practical applications, the characteristic parameters are stored in the electronic device in advance.
This example is further illustrated below in conjunction with tables 1, 2 and 3.
Table 1 shows an example of a characteristic parameter calibration table provided in this embodiment of the present application, where the table entries include an exemplary original voltage V1 of batteries of different models, a charging current, a long-time sampling voltage V2 when the battery is in a constant-current charging stage setting, and a floating voltage (i.e., V2-V1) of the battery.
TABLE 1
Figure BDA0002516879850000091
It should be noted that, after the batteries of different models are charged by the constant current for the same set time, the sampled voltage V2 may be different. In table 1, in the case that the original voltage V1 (for example, the voltage collected when the battery is not charged) is the same, V2 of the battery 1 is 4.05V, and V2 of the battery 2 is 3.95V, which are obviously different from each other, so that V2 and the floating pressure can be used as the first characteristic parameters for matching the sampling results to determine the characteristics of the battery.
TABLE 2
Figure BDA0002516879850000101
Table 2 shows an example of another characteristic parameter calibration table provided in this embodiment of the present application, where the table entries include an exemplary original voltage V3 (voltage collected when not discharged), a discharge current, a long-time sampling voltage V4 when in a constant-current discharge stage setting, and a voltage drop (i.e., V3-V4) of batteries of different types.
It should be noted that, after the batteries of different types are discharged at the constant current for the same set time, the sampling voltage V4 may be different. In table 2, in the case that the original voltage V3 is the same, V4 of battery 1 is 3.75V, and V4 of battery 2 is 3.70V, which are different from each other, so V4 and the voltage drop can be used as calibrated characteristic parameters for matching the sampling results to determine the characteristics of the battery.
Table 3 shows an example of another characteristic parameter calibration table provided in this embodiment, where the table entry includes durations and corresponding voltage values of batteries of different types in the constant current charging stage.
It is easy to see that the battery 1 is relatively slow to rise between 3.4 and 3.6V and relatively fast to rise between 3.6 and 4.0V, namely the energy density of the battery is relatively high between 3.4 and 3.6V and relatively low between 3.6 and 4.0V; the battery 2 rises faster between 3.4V and 3.8V and rises faster between 3.8V and 4.0V, namely, the energy density of the battery is lower between 3.4V and 3.8V and higher between 3.8V and 4.0V. The batteries of different manufacturers can be identified by using the charging difference of the battery 1 and the battery 2 at 3.4-3.6V and 3.8-4.0V.
In practical application, table 3 may be used to correspond to the first method in step 201, and in the case of constant current discharge, the characteristics of the battery are determined according to the matching relationship between the sampling values of all or part of the first samples and table 3.
TABLE 3
Duration of constant current charging Battery 1 Battery 2
0min 3.4V 3.4V
3min 3.48V 3.55V
6min 3.55V 3.7V
9min 3.6V 3.8V
12min 3.75V 3.88V
15min 3.9V 3.95V
18min 4.0V 4.0V
In the mode B, the electronic device calculates a corresponding sampling result according to the sampling value sampled in step 201, and then matches the sampling result in at least one set of corresponding calibrated characteristic parameters, where the characteristic parameters may be used to characterize the time-varying characteristic of the voltage of the battery in the constant current stage. In practical applications, the characteristic parameters are stored in the electronic device in advance.
It should be noted that the sampling result includes at least one of the following:
a rate of change of voltage of the battery;
the voltage of the battery changes acceleration.
Specifically, for the condition that the sampling characteristic is the battery voltage change rate, the electronic device performs one derivation on the duration of the battery in the constant current stage by using the voltage value according to the sampling value obtained by at least two times of sampling to obtain the battery voltage change rate. And aiming at the condition that the sampling characteristic is the voltage change acceleration of the battery, the electronic equipment performs secondary derivation on the duration of the constant current stage of the battery by using the voltage value according to the sampling value obtained by sampling at least three times to obtain the voltage change acceleration of the battery.
It is easy to understand that the voltage change rate or the voltage change acceleration of the charge-discharge curves of batteries of different types at certain stages are obviously different, so that the specific type of the battery can be determined by firstly calculating the sampling result of the battery according to the sampling value and then matching the sampling result with the prestored characteristic parameters of the voltage change of the batteries of different types along with the time at the constant current stage.
In some possible embodiments, the determining the characteristic of the battery comprises: determining a charge characteristic of the battery; wherein the electrical quantity characteristic comprises at least one of:
a charging curve;
a discharge curve;
and voltage and electric quantity corresponding table.
It is easy to understand that after the battery model is determined, the electronic device can call the charge-discharge curve corresponding to the battery of the model, so that accurate electric quantity display is realized. For example, the charge characteristic of the battery may be determined according to the charge graph shown in fig. 3, and then the charge display may be performed.
In some possible embodiments, the battery identification method further includes the steps of: when the electronic equipment is powered on, the power characteristics are written into an operating system of the electronic equipment, so that the electronic equipment with the battery is called when running.
It should be noted that after the battery model is confirmed, the information can be written into the system, and different power characteristics can be called when the system is used later. The time for writing in the battery model information can be once when the electronic equipment is powered on for the first time, and can also be once when the electronic equipment is powered on every time, so that the influence caused by replacing the battery during maintenance is facilitated.
TABLE 4
Voltage (V) Electric quantity
4.3 100%
4.2 90%
4.1 80%
4.0 70%
3.9 60%
3.8 50%
3.7 40%
3.6 30%
3.5 20%
3.4 10%
3.3 0%
This example is further illustrated below in conjunction with table 4. Table 4 shows an example of a voltage-electric quantity correspondence table provided in this embodiment of the present application, where the table entry includes a plurality of calibration voltage values of a certain type of battery and electric quantity of the battery corresponding to the calibration voltage values.
It should be understood that the electric quantity corresponding to different types of batteries may be different in different voltage values, and if the same voltage-electric quantity correspondence table is adopted for the batteries of different types, the electric quantity display of the electronic device is definitely deviated, which may cause the user experience to be reduced. Therefore, according to the battery identification method provided by the embodiment of the application, after the battery model is determined, the electric quantity characteristic of the battery with the model is called correspondingly, and the authenticity and the accuracy of electric quantity display can be ensured.
In the embodiment of the application, the battery is sampled at least twice, and at least one sampling is carried out at a constant current charging or constant current discharging stage to obtain corresponding sampling values, wherein the sampling values comprise sampling voltage values, further the sampling values can also comprise sampling moments, the sampling values reflect the electrical characteristics of the battery, and because the electrical characteristics of different batteries are different, the battery can be accurately identified according to all or part of the sampling values obtained by sampling. Therefore, the battery can be identified without arranging a special identification pin, and the effects of reducing the complexity of the electronic equipment and further reducing the cost are achieved.
The embodiments of the present application are further illustrated below with reference to fig. 4 and 5. The scheme in fig. 4 is illustrated by way of example in the first mode in step 201 and the mode a in step 202, and the scheme in fig. 5 is illustrated by way of example in the second mode in step 201 and the mode B in step 202.
Example one:
as shown in fig. 4, corresponding to table 1, the battery identification process of example one includes the following steps:
step 1: and powering on the system.
Step 2: and collecting the original voltage V1 of the battery, wherein the original voltage is the open-circuit voltage before the battery enters the constant-current stage.
And step 3: a charger is inserted.
And 4, step 4: the battery enters a constant current charging phase.
And 5: and sampling the battery once in a set time length after the battery enters a constant current charging stage to obtain a sampling voltage V2.
Step 6: the float pressure of the battery (i.e., V2-V1) corresponding to the set time period of step 5 is calculated.
And 7: and matching the calculated sampling result (namely the floating pressure) in at least one corresponding set of calibrated characteristic parameters to obtain a matching result. And determining the model of the battery according to the matching result. Taking table 1 as an example, if the sampling result (i.e., the floating pressure) is 0.25V, the model of the battery is battery 1.
And 8: and under the condition of determining the specific model of the battery, the electric quantity characteristic of the battery with the corresponding model is used for displaying the electric quantity.
Example two:
as shown in fig. 5, the battery identification procedure of example two includes the following steps:
step 1: and powering on the system.
Step 2: the battery enters a constant current discharge stage and starts to discharge.
And step 3: sampling the battery at least twice to obtain sampling values: the voltage sampled each time and the duration of the constant current phase of the battery corresponding to each time.
And 4, step 4: and (4) calculating the discharge rate of the battery according to all or part of the sampling values obtained in the step (3).
And 5: and matching the calculated discharge rate in at least one group of corresponding calibrated characteristic parameters to obtain a matching result. And determining the model of the battery according to the matching result. Here, the characteristic parameter may be a discharge rate of different types of batteries.
Step 6: and under the condition of determining the specific model of the battery, the electric quantity characteristic of the battery with the corresponding model is used for displaying the electric quantity.
In order to implement the battery identification method according to the embodiment of the present application, an embodiment of the present application further provides an electronic device, as shown in fig. 6, where the electronic device includes:
the sampling unit 601 is used for sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
a determining unit 602, configured to determine a characteristic of the battery according to a sampling value of all or a part of the at least two samples; wherein the sampling value comprises: a voltage value of the battery.
In an embodiment, the sampling unit 601 is configured to: and carrying out at least two times of first sampling on the battery.
In an embodiment, the sampling unit 601, when performing at least two first samplings on the battery, is configured to:
performing at least two times of first sampling on the battery within a set sampling interval in a constant current stage; the set sampling interval comprises a set time interval or a set voltage interval.
In an embodiment, the sampling unit 601 is configured to:
performing at least one second sampling on the battery; wherein the second sample is used to characterize the sample that occurred when the battery was in an open circuit condition;
and when the battery enters a constant current stage from an open circuit, performing at least one time of first sampling on the battery.
In an embodiment, the sampling unit 601 is configured to:
performing at least one third sampling on the battery; wherein the third sample is used to characterize the sample that occurred with the battery in the pre-charge phase;
and when the battery enters a constant current charging stage from a pre-charging stage, performing at least one time of first sampling on the battery.
In an embodiment, the determining unit 602, when determining the characteristic of the battery according to the sampling value of all or part of the at least two samples, is configured to:
matching sampling results corresponding to sampling values of all or part of the at least two samplings in at least one group of calibrated characteristic parameters to obtain matching results;
determining the characteristics of the battery according to the matching result;
and each group of characteristic parameters in the at least one group of calibrated characteristic parameters corresponds to the characteristics of at least one battery and is characterized as the calibrated sampling result of the battery with the corresponding characteristics.
In an embodiment, when matching the sampling result corresponding to the sampling value of all or part of the at least two sampling in at least one set of calibrated characteristic parameters, the determining unit 602 is configured to:
and determining the sampling value of all or part of the at least two samples as the sampling result.
In an embodiment, when matching the sampling result corresponding to the sampling value of all or part of the at least two sampling in at least one set of calibrated characteristic parameters, the determining unit 602 is configured to:
calculating the sampling result according to the sampling value of all or part of the at least two samplings; wherein,
the sampling result comprises at least one of the following:
a rate of change of voltage of the battery;
the voltage of the battery changes acceleration.
In an embodiment, the determining unit 602, when determining the characteristic of the battery, is configured to:
determining a charge characteristic of the battery; wherein the electrical quantity characteristic comprises at least one of:
a charging curve;
a discharge curve;
and voltage and electric quantity corresponding table.
In an embodiment, the electronic device further comprises a writing unit configured to:
when the electronic equipment is powered on, the power characteristics are written into an operating system of the electronic equipment, so that the electronic equipment with the battery is called when running.
It should be noted that the above-mentioned writing operation may be performed when the device is powered on for the first time, or may be performed every time the device is powered on later, which is convenient for battery replacement.
In practical applications, the sampling unit 601, the determining unit 602, and the writing unit may be implemented by a processor in the electronic device, and of course, the processor needs to run a program stored in a memory to implement the functions of the above program modules.
It should be noted that, in the above-mentioned fig. 6, the electronic device provided in the embodiment is only exemplified by the division of the above-mentioned program modules, and in practical applications, the above-mentioned processing distribution may be completed by different program modules according to needs, that is, the internal structure of the electronic device is divided into different program modules to complete all or part of the above-mentioned processing. In addition, the electronic device and the battery identification method provided by the above embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment and is not described herein again.
The embodiment of the application also provides a wireless earphone, the housing of the wireless earphone comprises a first battery, a first sampling circuit, a first sampling control circuit and a first processing circuit,
a first sampling circuit configured to sample a first battery at least twice;
the first sampling control circuit is configured to control the first sampling circuit to sample the first battery at least once in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
a first processing circuit configured to determine a characteristic of the first battery based on sampled values of all or a portion of the at least two samples of the first sampling circuit; wherein, the sampling value includes: a voltage value of the first battery.
In some possible embodiments, the first sampling control circuit is configured to partially or wholly:
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least twice in a constant current stage;
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least once under the condition that the first battery is in an open circuit, and controlling the first sampling circuit to sample the first battery at least once after the first battery enters a constant current stage from the open circuit;
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least once when the first battery is in a pre-charging stage, and controlling the first sampling circuit to sample the first battery at least once after the first battery enters a constant current stage from the pre-charging stage.
In one embodiment, the sampling value further comprises a sampling time;
a first processing circuit further configured to determine a characteristic of the first battery from a difference of voltage values sampled twice for the first battery; or,
a first processing circuit further configured to determine a characteristic of the first battery from a voltage change rate or a voltage change acceleration of the first battery calculated from sample values of the first battery sampled at least twice by the first sampling circuit;
the first processing circuit is further configured to determine a display charge of the first battery according to a characteristic of the first battery.
The embodiment of the application also provides an earphone charging box, a second battery, a second sampling circuit, a second sampling control circuit and a second processing circuit are arranged in the shell of the earphone charging box,
a second sampling circuit configured to sample a second battery at least twice;
the second sampling control circuit is configured to control the second sampling circuit to sample the second battery at least once in the constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
a second processing circuit configured to determine a characteristic of the second battery based on a sampled value of all or a portion of the at least two samples of the second sampling circuit; wherein, the sampling value includes: a voltage value of the second battery.
In some possible embodiments, the second sampling control circuit is configured to partially or wholly:
the sampling circuit is used for controlling the second sampling circuit to sample the second battery at least twice in the constant current stage;
the sampling circuit is used for controlling the second sampling circuit to sample the second battery at least once under the condition that the second battery is in an open circuit, and controlling the second sampling circuit to sample the second battery at least once after the second battery enters a constant current stage from the open circuit;
the second sampling circuit is used for controlling the second battery to sample for at least one time under the condition that the second battery is in a pre-charging stage, and controlling the second sampling circuit to sample for at least one time after the second battery enters a constant current stage from the pre-charging stage.
In one embodiment, the sampling value further comprises a sampling time;
a second processing circuit further configured to determine a characteristic of the second battery from a difference of voltage values sampled twice for the second battery; or,
a second processing circuit further configured to determine a characteristic of the second battery based on a voltage change rate or a voltage change acceleration of the second battery calculated from sample values of the second battery sampled at least twice by the second sampling circuit;
a second processing circuit further configured to determine a display charge of the battery based on a characteristic of the second battery.
In order to implement the method of the embodiment of the application, the embodiment of the application further provides an electronic device. Fig. 7 is a schematic diagram of a hardware component structure of an electronic device 700 according to an embodiment of the present disclosure. The electronic device 700 shown in fig. 7 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
Optionally, as shown in fig. 7, the electronic device 700 may also include a memory 720. From the memory 720, the processor 710 can call and run a computer program to implement the method in the embodiment of the present application.
The memory 720 may be a separate device from the processor 710, or may be integrated into the processor 710.
Optionally, as shown in fig. 7, the electronic device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices.
The transceiver 730 may include a transmitter and a receiver, among others. The transceiver 730 may further include an antenna, and the number of antennas may be one or more.
Optionally, the electronic device 700 may implement corresponding processes of each battery identification method in the embodiment of the present application, and for brevity, details are not described here again.
In practice, the electronic device 700 may be a headset including, but not limited to, a wireless handset, and the electronic device 700 may also be a headset charging box.
The memory in the embodiments of the present application is used to store various types of data to support operations in an electronic device. Examples of such data include: any computer program for operating on an associated device.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in a memory where a processor reads the programs in the memory and in combination with its hardware performs the steps of the method as previously described.
When the processor executes the program, corresponding processes in the methods of the embodiments of the present application are implemented, and for brevity, are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, i.e., a computer storage medium, specifically a computer readable storage medium, for example, including a memory storing a computer program, which is executable by a processor to perform the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, electronic device and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
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.

Claims (20)

1. A battery identification method, the method comprising:
sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: a voltage value of the battery.
2. The method of claim 1, wherein sampling the battery at least twice comprises:
and carrying out at least two times of first sampling on the battery.
3. The method of claim 2, wherein the first sampling the battery at least two times comprises:
performing at least two times of first sampling on the battery within a set sampling interval in a constant current stage; the set sampling interval comprises a set time interval or a set voltage interval.
4. The method of claim 1, wherein sampling the battery at least twice comprises:
performing at least one second sampling on the battery; wherein the second sample is used to characterize the sample that occurred when the battery was in an open circuit condition;
and when the battery enters a constant current stage from an open circuit, performing at least one time of first sampling on the battery.
5. The method of claim 1, wherein sampling the battery at least twice comprises:
performing at least one third sampling on the battery; wherein the third sample is used to characterize the sample that occurred with the battery in the pre-charge phase;
and when the battery enters a constant current charging stage from a pre-charging stage, performing at least one time of first sampling on the battery.
6. The method according to any one of claims 1 to 5, wherein the sampled values further comprise sampling instants;
the determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings comprises:
matching sampling results corresponding to sampling values of all or part of the at least two samplings in at least one group of calibrated characteristic parameters to obtain matching results;
determining the characteristics of the battery according to the matching result;
and each group of characteristic parameters in the at least one group of calibrated characteristic parameters corresponds to the characteristics of at least one battery and is characterized as the calibrated sampling result of the battery with the corresponding characteristics.
7. The method according to claim 6, wherein when the sampling results corresponding to the sampling values of all or part of the at least two sampling are matched in at least one set of calibrated characteristic parameters, the method comprises:
and determining the sampling value of all or part of the at least two samples as the sampling result.
8. The method according to claim 6, wherein when the sampling results corresponding to the sampling values of all or part of the at least two sampling are matched in at least one set of calibrated characteristic parameters, the method comprises:
calculating the sampling result according to the sampling value of all or part of the at least two samplings; wherein,
the sampling result comprises at least one of the following:
a rate of change of voltage of the battery;
the voltage of the battery changes acceleration.
9. The method of claim 1, wherein the determining the characteristic of the battery comprises:
determining a charge characteristic of the battery; wherein the electrical quantity characteristic comprises at least one of:
a charging curve;
a discharge curve;
and voltage and electric quantity corresponding table.
10. The method of claim 9, further comprising:
when the electronic equipment is powered on, the power characteristics are written into an operating system of the electronic equipment, so that the electronic equipment with the battery is called when running.
11. An electronic device, comprising:
the sampling unit is used for sampling the battery at least twice; wherein the at least two samples comprise at least one first sample; the first sampling is used for representing sampling occurring when the battery is in a constant current stage; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the determining unit is used for determining the characteristics of the battery according to the sampling value of all or part of the at least two samplings; wherein the sampling value comprises: the voltage value of the battery and the sampling time.
12. A wireless earphone is characterized in that a first battery, a first sampling circuit, a first sampling control circuit and a first processing circuit are arranged in a shell of the wireless earphone,
the first sampling circuit configured to sample the first battery at least twice;
the first sampling control circuit is configured to control the first sampling circuit to sample the first battery at least once in a constant current phase; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the first processing circuit is configured to determine a characteristic of the first battery according to a sampling value of all or part of the at least two samplings of the first sampling circuit; wherein the sampling value comprises: a voltage value of the first battery.
13. The wireless headset of claim 12,
the first sampling control circuit is configured to partially or wholly:
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least twice in a constant current stage;
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least once when the first battery is in an open circuit state, and controlling the first sampling circuit to sample the first battery at least once after the first battery enters a constant current stage from the open circuit state;
the sampling circuit is used for controlling the first sampling circuit to sample the first battery at least once when the first battery is in a pre-charging stage, and controlling the first sampling circuit to sample the first battery at least once after the first battery enters a constant current stage from the pre-charging stage.
14. A wireless headset according to claim 12 or 13, wherein the sampled values further comprise sampling instants;
the first processing circuit is further configured to determine a characteristic of the first battery from a difference of voltage values sampled twice for the first battery; or,
the first processing circuit is further configured to determine a characteristic of the first battery according to a voltage change rate or a voltage change acceleration of the first battery calculated from sample values of the first battery sampled at least twice by the first sampling circuit;
the first processing circuitry is further configured to determine a display charge level of the first battery based on a characteristic of the first battery.
15. A charging box of an earphone is characterized in that a second battery, a second sampling circuit, a second sampling control circuit and a second processing circuit are arranged in a shell of the charging box of the earphone,
the second sampling circuit configured to sample the second battery at least twice;
the second sampling control circuit is configured to control the second sampling circuit to sample the second battery at least once in a constant current phase; the constant current stage comprises: a constant current charging stage or a constant current discharging stage;
the second processing circuit is configured to determine the characteristic of the second battery according to the sampling value of all or part of the at least two samplings of the second sampling circuit; wherein the sampling value comprises: a voltage value of the second battery.
16. The earphone charging box of claim 15,
the second sampling control circuit is configured to partially or wholly:
the second sampling circuit is used for controlling the second battery to sample at least twice in a constant current stage;
the sampling circuit is used for controlling the second sampling circuit to sample the second battery at least once when the second battery is in an open circuit state, and controlling the second sampling circuit to sample the second battery at least once after the second battery enters a constant current stage from the open circuit state;
the second sampling circuit is used for controlling the second battery to sample at least once when the second battery is in a pre-charging stage, and controlling the second sampling circuit to sample at least once when the second battery enters a constant current stage from the pre-charging stage.
17. The earphone charging cartridge of claim 15, wherein the sample values further comprise sample times;
the second processing circuit is further configured to determine a characteristic of the second battery from a difference of voltage values sampled twice for the second battery; or,
the second processing circuit is further configured to determine a characteristic of the second battery according to a voltage change rate or a voltage change acceleration of the second battery calculated from the sampling values of the second battery sampled at least twice by the second sampling circuit;
the second processing circuit is further configured to determine a display charge of the battery according to a characteristic of the second battery.
18. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 10 when running the computer program.
19. The electronic device of claim 18, wherein the electronic device comprises a wireless headset or a headset charging box.
20. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method according to any of the claims 1 to 10.
CN202010479630.7A 2020-05-29 2020-05-29 Battery identification method, electronic equipment and storage medium Active CN111562505B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010479630.7A CN111562505B (en) 2020-05-29 2020-05-29 Battery identification method, electronic equipment and storage medium
PCT/CN2021/096167 WO2021239007A1 (en) 2020-05-29 2021-05-26 Battery identification method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479630.7A CN111562505B (en) 2020-05-29 2020-05-29 Battery identification method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111562505A true CN111562505A (en) 2020-08-21
CN111562505B CN111562505B (en) 2023-05-30

Family

ID=72072346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479630.7A Active CN111562505B (en) 2020-05-29 2020-05-29 Battery identification method, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111562505B (en)
WO (1) WO2021239007A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364835A (en) * 2021-05-24 2021-09-07 苏州优博达机器人有限公司 Cloud management system and management method for sharing mobile power supply
WO2021239007A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Battery identification method, electronic device and storage medium
CN114705995A (en) * 2022-03-25 2022-07-05 章鱼博士智能技术(上海)有限公司 Electric connection state identification method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116707091B (en) * 2023-06-26 2024-08-09 北京领创医谷科技发展有限责任公司 Intelligent charging cabin with recognition function

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721480A (en) * 1996-01-31 1998-02-24 Kabushiki Kaisha Toshiba System and method for controlling charging of secondary battery that requires constant-voltage charge control
CN1933277A (en) * 2006-09-25 2007-03-21 惠州市德赛能源科技有限公司 Method for charger identifying battery variety
CN101604772A (en) * 2008-06-15 2009-12-16 苏州宝时得电动工具有限公司 Power brick, and the combination of power brick and electric device
CN103605077A (en) * 2013-10-25 2014-02-26 小米科技有限责任公司 Predetermined battery identification method, predetermined battery identification device and electronic equipment
CN105553060A (en) * 2016-01-22 2016-05-04 中达电通股份有限公司 Charging system and charging method of electrically driven vehicle
US20160254688A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Electronic Device and Method For Controlling Charging of the Same
CN208174307U (en) * 2018-04-08 2018-11-30 南京影宸影视器材有限公司 It is capable of the charger of intelligent recognition battery matching current

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6043631A (en) * 1998-01-02 2000-03-28 Total Battery Management, Inc. Battery charger and method of charging rechargeable batteries
CN102478636B (en) * 2010-11-26 2014-09-03 比亚迪股份有限公司 Electric quantity detection method and device for battery
CN105785271A (en) * 2015-11-26 2016-07-20 南京莱斯信息技术股份有限公司 Method for detecting storage battery capacity based on discharge power curve comparison method
CN109149689B (en) * 2018-08-27 2021-03-30 出门问问信息科技有限公司 Wireless charging method and device
WO2020211026A1 (en) * 2019-04-18 2020-10-22 Oppo广东移动通信有限公司 Charging method and charging apparatus
CN110277817B (en) * 2019-06-28 2023-04-21 歌尔科技有限公司 Electric quantity acquisition method, device and equipment of electronic equipment and storage medium
CN111562505B (en) * 2020-05-29 2023-05-30 Oppo广东移动通信有限公司 Battery identification method, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721480A (en) * 1996-01-31 1998-02-24 Kabushiki Kaisha Toshiba System and method for controlling charging of secondary battery that requires constant-voltage charge control
CN1933277A (en) * 2006-09-25 2007-03-21 惠州市德赛能源科技有限公司 Method for charger identifying battery variety
CN101604772A (en) * 2008-06-15 2009-12-16 苏州宝时得电动工具有限公司 Power brick, and the combination of power brick and electric device
CN103605077A (en) * 2013-10-25 2014-02-26 小米科技有限责任公司 Predetermined battery identification method, predetermined battery identification device and electronic equipment
US20160254688A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Electronic Device and Method For Controlling Charging of the Same
CN105553060A (en) * 2016-01-22 2016-05-04 中达电通股份有限公司 Charging system and charging method of electrically driven vehicle
CN208174307U (en) * 2018-04-08 2018-11-30 南京影宸影视器材有限公司 It is capable of the charger of intelligent recognition battery matching current

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘尧斌: "储能电池基于等效电路模型的功率特性研究" *
邢云凤: "基于粒子滤波的锂电池SOC二次滤波算法" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021239007A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Battery identification method, electronic device and storage medium
CN113364835A (en) * 2021-05-24 2021-09-07 苏州优博达机器人有限公司 Cloud management system and management method for sharing mobile power supply
CN114705995A (en) * 2022-03-25 2022-07-05 章鱼博士智能技术(上海)有限公司 Electric connection state identification method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2021239007A1 (en) 2021-12-02
CN111562505B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN111562505B (en) Battery identification method, electronic equipment and storage medium
CN108281720B (en) Method, device and equipment for monitoring health state of battery of electronic equipment
CN106324508B (en) Battery health state detection device and method
CN101097248B (en) Enhanced-accuracy battery capacity prediction
US10687150B2 (en) Battery life monitor system and method
CN107436418B (en) Method, terminal and device for calibrating electric quantity attenuation of battery
CN104865532A (en) system and method for determining state of health of power source of portable device
CN104112878A (en) Method and device for determining charging time and electronic device
CN103901347A (en) Method for display of battery level and terminal
CN102508172A (en) Calculation method for electric quantities of battery, device and terminal
CN105403835A (en) System and method for measuring battery level
CN105743163A (en) Method for detecting whether charger is standard and self-adaptive charging method
US20230078697A1 (en) Method and apparatus for determining display power, electronic device, and storage medium
KR101979786B1 (en) Processing Method of a battery state and Electronic Device supporting the same
CN110297192B (en) Method for estimating electric quantity during charging and discharging of battery and electric quantity correction method during starting
CN116323288A (en) Method and device for determining display state of charge and battery management chip
CN116670524A (en) Method and device for determining state of charge (SOC) of battery pack
CN107370859B (en) Method and device for testing electricity meter of mobile terminal and storage device
CN111638460B (en) Battery testing apparatus, system and method
EP3937335A1 (en) Method and device for charging, equipment, and storage medium
CN116648630A (en) Method and device for determining and displaying state of charge and battery management chip
CN111157907B (en) Detection method and device, charging method and device, electronic device and storage medium
CN109149676B (en) Method and device for controlling charging current
JP2001266957A (en) Secondary battery unit and residual amount measurement of secondary battery
CN110970950B (en) Charging control method and device, storage medium and split type 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