Battery charging method and device, electronic equipment and storage medium
By obtaining the historical charging and health parameters of the battery, determining the target cutoff voltage and current, and controlling the battery charging, the battery aging and battery life in the existing technology is solved, and the battery life and battery life are improved.
Patent Information
- Application Number
- CN202310713281.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-15
- Publication Date
- 2024-12-17
AI Technical Summary
The existing battery charging methods lack flexibility when reducing battery aging, resulting in the inability to fully utilize the battery capacity and affecting battery life. The pre-set number of charge and discharge cycles does not match the actual working conditions, resulting in a shortening of battery life.
By obtaining the battery's historical charging parameters and health parameters, determine the target cutoff voltage and target cutoff current, control the battery charging based on these parameters, ensure that the charging process matches the battery aging degree and make full use of the battery capacity.
It realizes real-time adjustment of charging parameters according to the aging degree of the battery, maximizes the battery life and battery life, and adapts to the aging conditions of different terminals.
Smart Images

Figure CN119154427A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of battery technology, and in particular to a battery charging method, device, electronic device and storage medium. Background Art
[0002] As the battery is used for a longer time, it will be affected by high temperature and high pressure, and its life will gradually decrease. In order to extend the battery life as much as possible, the battery charging terminal voltage is often reduced after the battery has aged to a certain extent.
[0003] At present, the corresponding relationship between the number of battery charge and discharge cycles and the charging terminal voltage is usually pre-set. In actual application, the battery charging terminal voltage is reduced according to the number of charge and discharge cycles of the terminal. However, there are various factors that affect battery aging in actual scenarios. For different terminals, the degree of battery aging may be different under the same number of charge and discharge cycles. Therefore, this method is prone to the situation where the pre-calibrated working conditions are not compatible with the actual working conditions of the terminal, and there is a problem that the battery capacity cannot be fully utilized, which in turn affects the battery life, and the determination method is not flexible enough. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a battery charging method, device, electronic device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a battery charging method is provided, which is applied to a terminal, and the method includes:
[0006] Obtaining historical charging parameters corresponding to the last charging of the battery of the terminal and battery health parameters of the battery;
[0007] Determining a target cutoff voltage and a target cutoff current corresponding to the battery according to the historical charging parameters and the battery health parameters;
[0008] The battery is controlled to be charged according to the target cut-off voltage and the target cut-off current.
[0009] Optionally, the historical charging parameters include a historical cut-off voltage and a historical cut-off current, and determining a target cut-off voltage and a target cut-off current corresponding to the battery according to the historical charging parameters and the battery health parameter includes:
[0010] determining a first target capacity of the battery according to the historical cut-off voltage and the historical cut-off current;
[0011] The target cut-off voltage and the target cut-off current are determined according to the historical cut-off voltage, the first target capacity, and the battery health parameter.
[0012] Optionally, determining the target cutoff voltage and the target cutoff current according to the historical cutoff voltage, the first target capacity and the battery health parameter includes:
[0013] Determine a first target voltage value according to the battery health parameter and a preset corresponding relationship; wherein the preset corresponding relationship includes a corresponding relationship between the battery health parameter and the voltage value;
[0014] Determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage;
[0015] The target cut-off current is determined according to the target cut-off voltage and the first target capacity.
[0016] Optionally, determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage includes:
[0017] The difference between the historical cut-off voltage and the first target voltage value is used as the target cut-off voltage.
[0018] Optionally, the method further includes: acquiring an average battery temperature corresponding to the battery in a historical time period; determining a second target voltage value according to the average battery temperature;
[0019] The determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage comprises:
[0020] The target cut-off voltage is determined according to the first target voltage value, the second target voltage value, and the historical cut-off voltage.
[0021] Optionally, determining the target cut-off current according to the target cut-off voltage and the first target capacity includes:
[0022] A charging simulation is performed on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the first target capacity, a charging current value of the battery is used as the target cut-off current.
[0023] Optionally, determining the target cut-off current according to the target cut-off voltage and the first target capacity includes:
[0024] The difference between the first target capacity and the preset capacity value is used as the second target capacity;
[0025] A charging simulation is performed on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the second target capacity, a charging current value of the battery is used as the target cut-off current.
[0026] Optionally, the method further includes: updating a battery capacity parameter corresponding to a power meter of the terminal according to the first target capacity.
[0027] According to a second aspect of an embodiment of the present disclosure, there is provided a battery charging device, which is applied to a terminal, and the device includes:
[0028] An acquisition module is configured to acquire a historical charging parameter corresponding to the last charging of the battery of the terminal and a battery health parameter of the battery;
[0029] a determination module, configured to determine a target cutoff voltage and a target cutoff current corresponding to the battery according to the historical charging parameter and the battery health parameter;
[0030] The control module is configured to control the battery to charge according to the target cut-off voltage and the target cut-off current.
[0031] Optionally, the historical charging parameters include a historical cut-off voltage and a historical cut-off current, and the determination module is configured to determine a first target capacity of the battery based on the historical cut-off voltage and the historical cut-off current; and determine the target cut-off voltage and the target cut-off current based on the historical cut-off voltage, the first target capacity and the battery health parameters.
[0032] Optionally, the determination module is configured to determine a first target voltage value based on the battery health parameter and a preset correspondence; wherein the preset correspondence includes a correspondence between the battery health parameter and the voltage value; determine the target cutoff voltage based on the first target voltage value and the historical cutoff voltage; determine the target cutoff current based on the target cutoff voltage and the first target capacity.
[0033] Optionally, the determination module is configured to use a difference between the historical cut-off voltage and the first target voltage value as the target cut-off voltage.
[0034] Optionally, the acquisition module is further configured to acquire an average battery temperature corresponding to the battery in a historical time period;
[0035] The determination module is further configured to determine a second target voltage value according to the average battery temperature;
[0036] The determination module is configured to determine the target cutoff voltage according to the first target voltage value, the second target voltage value and the historical cutoff voltage.
[0037] Optionally, the determination module is configured to perform charging simulation on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the first target capacity, use the charging current value of the battery as the target cut-off current.
[0038] Optionally, the determination module is configured to use the difference between the first target capacity and a preset capacity value as the second target capacity; perform charging simulation on the battery according to the target cutoff voltage, and when the capacity of the battery reaches the second target capacity, use the charging current value of the battery as the target cutoff current.
[0039] Optionally, the device further includes: an updating module configured to update a battery capacity parameter corresponding to a power meter of the terminal according to the first target capacity.
[0040] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the steps of the battery charging method provided in the first aspect of the present disclosure when calling the executable instructions stored on the memory.
[0041] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the battery charging method provided in the first aspect of the present disclosure are implemented.
[0042] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: First, the historical charging parameters corresponding to the last charging of the battery of the terminal and the battery health parameters of the battery are obtained. Secondly, the target cut-off voltage and target cut-off current corresponding to the battery are determined according to the historical charging parameters and the battery health parameters. Finally, the battery is controlled to charge according to the target cut-off voltage and the target cut-off current. Through the above technical solution, the aging degree of the terminal can be accurately determined according to the historical charging parameters and the battery health parameters of the battery. Then, the target cut-off voltage and target cut-off current adapted to the current aging degree are determined in real time according to the aging degree, and the battery is controlled to charge according to the target cut-off voltage and the target cut-off current. In this way, the target cut-off voltage and target cut-off current adapted to the current aging degree of the terminal can be determined for different terminals, the current capacity of the battery can be fully utilized, and the battery life can be guaranteed to the greatest extent.
[0043] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0045] Figure 1 is a flow chart of a battery charging method according to an exemplary embodiment;
[0046] Figure 2 is a flow chart of another battery charging method according to an exemplary embodiment;
[0047] Figure 3 is a flow chart of another battery charging method according to an exemplary embodiment;
[0048] Figure 4 is a block diagram of a battery charging device according to an exemplary embodiment;
[0049] Figure 5 is a block diagram of another battery charging device according to an exemplary embodiment;
[0050] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar objects and do not have to be understood as a specific order or sequence. In addition, in the description with reference to the drawings, the same symbols in different drawings represent the same elements.
[0053] In the description of the present disclosure, unless otherwise specified, "multiple" means two or more than two, and other quantifiers are similar thereto; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one item a can represent any number of a; for another example, one item or multiple items among a, b and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple; "and / or" is a kind of description of the association relationship of associated objects, indicating that there can be three kinds of relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship.
[0054] The specific implementation modes of the present invention are described in detail below with reference to the accompanying drawings.
[0055] Figure 1 The present invention is a flowchart of a battery charging method according to an exemplary embodiment. The method is applied to a terminal, which may be, for example but not limited to, a mobile terminal such as a smart phone, a tablet computer, a smart TV, a smart watch, a PDA (Personal Digital Assistant), a portable computer, or a smart home device such as a sweeping robot, an air purifier, an air conditioner, a lighting, a speaker, a robot, etc. Figure 1 As shown, the method may include the following steps:
[0056] In step S101, historical charging parameters corresponding to the last charging of the battery of the terminal and battery health parameters of the battery are obtained.
[0057] Among them, the historical charging parameters may include historical cut-off voltage and historical cut-off current. The historical cut-off voltage represents the voltage corresponding to the battery when the last charge was cut off, and the historical cut-off current represents the current corresponding to the battery when the last charge was cut off. The battery health parameter is used to characterize the health status of the battery, for example, it may include SOH (English: state of health; Chinese: battery health, which can be understood as the percentage of the current capacity of the battery to the factory capacity) or the number of battery charge and discharge cycles.
[0058] In step S102, a target cutoff voltage and a target cutoff current corresponding to the battery are determined according to the historical charging parameter and the battery health parameter.
[0059] In this step, the first target capacity of the battery can be determined based on the historical charging parameters. The first target capacity is used to characterize the maximum capacity of the battery in the current state. Then, the target cutoff voltage and target cutoff current are determined based on the historical charging parameters of the battery, the first target capacity, and the battery health parameters.
[0060] In step S103, the battery is controlled to be charged according to the target cut-off voltage and the target cut-off current.
[0061] After determining the target cut-off voltage and target cut-off current, the target cut-off voltage can be sent to the battery's PMIC (Power Management IC). The PMIC controls the battery to stop charging when the charging voltage reaches the target cut-off voltage and the charging current reaches the target cut-off current the next time the battery is charged, so as to maximize the use of the battery capacity, achieve full charging of the battery, and ensure battery life.
[0062] Through the above technical solution, the aging degree of the terminal can be accurately determined based on the historical charging parameters and battery health parameters of the battery. Then, the target cutoff voltage and target cutoff current adapted to the current aging degree are determined in real time according to the aging degree, and the battery is controlled to charge according to the target cutoff voltage and target cutoff current. In this way, the target cutoff voltage and target cutoff current adapted to the current aging degree of the terminal can be determined for different terminals, and the current capacity of the battery can be fully utilized to maximize the battery life.
[0063] The above step S102 is described in detail below. In the above step S102, determining the target cut-off voltage and target cut-off current corresponding to the battery according to the historical charging parameter and the battery health parameter may include the following steps:
[0064] S1, determining a first target capacity of the battery according to the historical cut-off voltage and the historical cut-off current.
[0065] The first target capacity of the battery may be simulated by using a battery power meter.
[0066] For example, the first target capacity of the battery can be determined by performing multiple iterative calculations based on the historical cut-off voltage and the historical cut-off current according to the ampere-hour integration method according to the standard discharge parameters of the battery. The specific calculation method can refer to the relevant implementation method and will not be repeated here.
[0067] It should be noted that the above examples are only for illustration, and other methods of simulating battery capacity through a fuel gauge may also be used, and the present disclosure does not specifically limit this.
[0068] S2, determining the target cut-off voltage and the target cut-off current according to the historical cut-off voltage, the first target capacity and the battery health parameter.
[0069] For example, first, the first target voltage value can be determined according to the battery health parameter and the preset corresponding relationship. Among them, the preset corresponding relationship includes the corresponding relationship between the battery health parameter and the voltage value. For example, taking the battery health parameter including the number of battery charge and discharge cycles as an example, the preset corresponding relationship includes the corresponding relationship between the number of battery charge and discharge cycles and the voltage value. For example, cycle = 100, DV = 15mV; cycle = 300, DV = 20mV; cycle = 800, DV = 30mV. Among them, cycle represents the number of battery charge and discharge cycles, and DV represents the voltage value. If the number of battery charge and discharge cycles of the current battery reaches 100 times, the first target voltage value can be determined to be 15mV according to the preset corresponding relationship. Secondly, the target cut-off voltage can be determined according to the first target voltage value and the historical cut-off voltage. For example, the difference between the historical cut-off voltage and the first target voltage value can be used as the target cut-off voltage. Finally, the target cut-off current can be determined according to the target cut-off voltage and the first target capacity.
[0070] In one possible implementation, determining the target cutoff current according to the target cutoff voltage and the first target capacity may include: simulating charging of the battery according to the target cutoff voltage, and when the capacity of the battery reaches the first target capacity, using the charging current value of the battery as the target cutoff current. In this way, the current maximum capacity of the battery can be fully utilized to ensure that the battery life is maximized. The target cutoff current is obtained through charging simulation, and the battery is controlled to charge according to the target cutoff voltage and the target cutoff current during the next charging, which can ensure that when the battery reaches the target cutoff voltage and the target cutoff current, the charged capacity of the battery can reach the maximum capacity of the battery.
[0071] In another possible implementation, it is considered that if the battery capacity is allowed to reach a saturated state for a long time, the battery life will be affected to a certain extent. Therefore, the difference between the first target capacity and the preset capacity value can also be used as the second target capacity. That is to say, on the basis of the maximum capacity of the battery, a certain margin is left for the battery capacity during charging. Secondly, the battery can be charged according to the target cut-off voltage. When the capacity of the battery reaches the second target capacity, the charging current value of the battery is used as the target cut-off current. In this way, the battery capacity can be utilized as much as possible while ensuring the battery life, thereby ensuring the battery life.
[0072] Figure 2 is a flow chart of another battery charging method according to an exemplary embodiment. Figure 2 As shown, the method may further include the following steps:
[0073] In step S104, the average battery temperature corresponding to the battery in the historical time period is obtained.
[0074] In this embodiment, considering that the operating temperature of the battery in different scenarios is different, if the battery is used at a low temperature for a period of time, it can be considered that the battery is in a good operating environment. Figure 1 The method in the embodiment reduces the charge cut-off voltage, but cannot maximize the performance of the battery. Figure 1 Based on the embodiment, the battery charging cut-off voltage is raised to maximize the performance of the battery, thereby obtaining the target cut-off voltage. If the battery is used at a high temperature for a period of time, it is considered that the battery is used in a poor environment. Figure 1 The method in the embodiment reduces the charging cut-off voltage, ensures the service life of the battery, and then obtains the target cut-off voltage.
[0075] In this step, the average battery temperature corresponding to the battery in the historical time period may be obtained to determine the use environment of the battery in the historical time period. The historical time period may be the time period between the current moment and the set historical moment.
[0076] In step S105 , a second target voltage value is determined according to the average battery temperature.
[0077] For example, the second target voltage value of the battery may be determined based on the average battery temperature and the first preset voltage correspondence relationship, and the first preset voltage correspondence relationship may include, for example, the correspondence relationship between the battery temperature and the voltage value. For another example, the voltage reduction gear of the battery may be determined based on the average battery temperature and the second preset voltage correspondence relationship, and then the second target voltage value may be determined based on the voltage reduction gear, and the second preset voltage correspondence relationship may include, for example, the correspondence relationship between the battery temperature and the voltage reduction gear.
[0078] For example, the second preset voltage correspondence relationship may be shown in the following table:
[0079] T≤25 degrees 25 degrees<T≤35 degrees 35 degrees<T≤40 degrees 40 degrees<T≤45 degrees 0-35h -1 0 0 MAX 35-70h -2 -1 0 +3 70-105h -3 -2 0 +2 105-140h -3 -3 -1 +1 140h+ MIN -3 -2 0
[0080] Among them, the first column represents different historical time periods, for example, it may include 0-35h, 35-70h, 70-105h, 105-140h, 140h+. It should be noted that in actual applications, only one time range can be set, that is, only the average battery temperature in a historical time period is concerned. Multiple time ranges can also be set to focus on the corresponding average battery temperatures in different historical time periods. The first row represents different temperature ranges, for example, it may include T≤25 degrees, 25 degrees<T≤35 degrees, 35 degrees<T≤40 degrees, 40 degrees<T≤45 degrees, and T is the battery temperature. The contents in the second to fifth columns and the second to sixth rows in the table are pre-set step-down gears, such as -3, -2, -1, 0, +1, +2, +3. After determining the step-down gear according to the historical time period and the average battery temperature, the second target voltage value can be determined by n*10mV, where n is the step-down gear.
[0081] For example, if the historical time period is within 70-105h, and the average battery temperature of the battery is within 40 degrees <T≤45 degrees, it can be determined that the current voltage reduction gear is +2, and the second target voltage value of the battery can be +2*10mV, that is, 20mV. If the historical time period is within 35-70h, and the average battery temperature of the battery is within 35 degrees <T≤40 degrees, it can be determined that the current voltage reduction gear is 0, and the second target voltage value of the battery can be 0*10mV, that is, 0mV.
[0082] It should be noted that the above examples are only for illustration and the present disclosure is not limited thereto.
[0083] Further, the above-mentioned determination of the target cutoff voltage according to the first target voltage value and the historical cutoff voltage may include: determining the target cutoff voltage according to the first target voltage value, the second target voltage value and the historical cutoff voltage. For example, the difference between the historical cutoff voltage and the first target voltage value may be determined first, and then the sum of the second target voltage value and the difference may be used as the target cutoff voltage. That is, the target cutoff voltage V=V1-V2+V3, wherein V1 represents the historical cutoff voltage, V2 represents the first target voltage value, and V3 represents the second target voltage value.
[0084] In actual scenarios, the remaining battery power is usually obtained by simulating the fuel gauge. At present, the battery capacity parameters of the battery are needed to simulate and calculate the remaining battery power. As for the battery capacity parameters of the battery, after the terminal leaves the factory, the battery capacity parameters are unchanged, that is, the rated value. However, as the battery continues to age, the actual capacity parameters of the battery gradually decrease, but the battery capacity parameters calibrated in the fuel gauge remain unchanged, which will cause the fuel gauge to fail to report normally, that is, the battery power cannot show a fully charged (i.e., 100%) state. Taking the above problems into consideration, in this embodiment, if Figure 3 As shown, the method may further include the following steps:
[0085] In step S106, the battery capacity parameter corresponding to the power meter of the terminal is updated according to the first target capacity.
[0086] In this way, by updating the corresponding battery capacity parameter in the fuel meter according to the first target capacity, the battery capacity recorded in the fuel meter is the actual capacity of the current battery, so as to ensure that the normal reporting of the fuel meter is not affected.
[0087] Through the above technical solution, the aging degree of the terminal can be accurately determined based on the historical charging parameters and battery health parameters of the battery. Then, the target cutoff voltage and target cutoff current adapted to the current aging degree are determined in real time according to the aging degree, and the battery is controlled to charge according to the target cutoff voltage and target cutoff current. In this way, the target cutoff voltage and target cutoff current adapted to the current aging degree of the terminal can be determined for different terminals, and the current capacity of the battery can be fully utilized to maximize the battery life.
[0088] Figure 4 is a block diagram of a battery charging device according to an exemplary embodiment, which is applied to a terminal, such as Figure 4 As shown, the device 200 includes:
[0089] The acquisition module 201 is configured to acquire the historical charging parameters corresponding to the last charging of the battery of the terminal and the battery health parameters of the battery;
[0090] A determination module 202 is configured to determine a target cutoff voltage and a target cutoff current corresponding to the battery according to the historical charging parameter and the battery health parameter;
[0091] The control module 203 is configured to control the battery to charge according to the target cut-off voltage and the target cut-off current.
[0092] Optionally, the historical charging parameters include a historical cut-off voltage and a historical cut-off current, and the determination module 202 is configured to determine a first target capacity of the battery based on the historical cut-off voltage and the historical cut-off current; and determine the target cut-off voltage and the target cut-off current based on the historical cut-off voltage, the first target capacity and the battery health parameters.
[0093] Optionally, the determination module 202 is configured to determine a first target voltage value based on the battery health parameter and a preset correspondence; wherein the preset correspondence includes a correspondence between the battery health parameter and the voltage value; determine the target cutoff voltage based on the first target voltage value and the historical cutoff voltage; determine the target cutoff current based on the target cutoff voltage and the first target capacity.
[0094] Optionally, the determination module 202 is configured to use a difference between the historical cut-off voltage and the first target voltage value as the target cut-off voltage.
[0095] Optionally, the acquisition module 201 is further configured to acquire an average battery temperature corresponding to the battery in a historical time period;
[0096] The determination module 202 is further configured to determine a second target voltage value according to the average battery temperature;
[0097] The determination module 202 is configured to determine the target cutoff voltage according to the first target voltage value, the second target voltage value and the historical cutoff voltage.
[0098] Optionally, the determination module 202 is configured to perform charging simulation on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the first target capacity, use the charging current value of the battery as the target cut-off current.
[0099] Optionally, the determination module 202 is configured to use the difference between the first target capacity and the preset capacity value as the second target capacity; perform charging simulation on the battery according to the target cutoff voltage, and when the capacity of the battery reaches the second target capacity, use the charging current value of the battery as the target cutoff current.
[0100] Alternatively, if Figure 5 As shown, the device 200 also includes:
[0101] The updating module 204 is configured to update the battery capacity parameter corresponding to the power meter of the terminal according to the first target capacity.
[0102] Through the above technical solution, the aging degree of the terminal can be accurately determined based on the historical charging parameters and battery health parameters of the battery. Then, the target cutoff voltage and target cutoff current adapted to the current aging degree are determined in real time according to the aging degree, and the battery is controlled to charge according to the target cutoff voltage and target cutoff current. In this way, the target cutoff voltage and target cutoff current adapted to the current aging degree of the terminal can be determined for different terminals, and the current capacity of the battery can be fully utilized to maximize the battery life.
[0103] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0104] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.
[0105] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the battery charging method provided by the present disclosure are implemented.
[0106] Figure 6 3 is a block diagram of an electronic device 300 according to an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0107] Reference Figure 6 , the electronic device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output interface 312 , a sensor component 314 , and a communication component 316 .
[0108] The processing component 302 generally controls the overall operation of the electronic device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
[0109] The memory 304 is configured to store various types of data to support operations on the electronic device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0110] The power supply component 306 provides power to the various components of the electronic device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 300.
[0111] The multimedia component 308 includes a screen that provides an output interface between the electronic device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the electronic device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0112] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the electronic device 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0113] The input / output interface 312 provides an interface between the processing component 302 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0114] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the electronic device 300. For example, the sensor assembly 314 can detect the open / closed state of the electronic device 300, the relative positioning of components, such as the display and keypad of the electronic device 300, and the sensor assembly 314 can also detect the position change of the electronic device 300 or a component of the electronic device 300, the presence or absence of user contact with the electronic device 300, the orientation or acceleration / deceleration of the electronic device 300, and the temperature change of the electronic device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0115] The communication component 316 is configured to facilitate wired or wireless communication between the electronic device 300 and other devices. The electronic device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0116] In an exemplary embodiment, the electronic device 300 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned battery charging method.
[0117] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by a processor 320 of an electronic device 300 to complete the above-mentioned battery charging method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0118] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned battery charging method when executed by the programmable device.
[0119] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0120] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A battery charging method, characterized in that: Applied to a terminal, the method comprises: Obtaining historical charging parameters corresponding to the last charging of the battery of the terminal and battery health parameters of the battery; Determining a target cutoff voltage and a target cutoff current corresponding to the battery according to the historical charging parameters and the battery health parameters; The battery is controlled to be charged according to the target cut-off voltage and the target cut-off current.
2. The method according to claim 1, characterized in that The historical charging parameters include a historical cut-off voltage and a historical cut-off current, and determining a target cut-off voltage and a target cut-off current corresponding to the battery according to the historical charging parameters and the battery health parameters includes: determining a first target capacity of the battery according to the historical cut-off voltage and the historical cut-off current; The target cut-off voltage and the target cut-off current are determined according to the historical cut-off voltage, the first target capacity, and the battery health parameter.
3. The method according to claim 2, characterized in that The determining the target cut-off voltage and the target cut-off current according to the historical cut-off voltage, the first target capacity and the battery health parameter comprises: Determine a first target voltage value according to the battery health parameter and a preset corresponding relationship; wherein the preset corresponding relationship includes a corresponding relationship between the battery health parameter and the voltage value; Determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage; The target cut-off current is determined according to the target cut-off voltage and the first target capacity.
4. The method according to claim 3, characterized in that The determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage comprises: The difference between the historical cut-off voltage and the first target voltage value is used as the target cut-off voltage.
5. The method according to claim 3, characterized in that: The method further comprises: Obtaining an average battery temperature corresponding to the battery in a historical time period; determining a second target voltage value according to the average battery temperature; The determining the target cutoff voltage according to the first target voltage value and the historical cutoff voltage comprises: The target cut-off voltage is determined according to the first target voltage value, the second target voltage value, and the historical cut-off voltage.
6. The method according to claim 3, characterized in that The determining the target cut-off current according to the target cut-off voltage and the first target capacity comprises: A charging simulation is performed on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the first target capacity, a charging current value of the battery is used as the target cut-off current.
7. The method according to claim 3, characterized in that The determining the target cut-off current according to the target cut-off voltage and the first target capacity comprises: Using the difference between the first target capacity and the preset capacity value as the second target capacity; A charging simulation is performed on the battery according to the target cut-off voltage, and when the capacity of the battery reaches the second target capacity, a charging current value of the battery is used as the target cut-off current.
8. The method according to any one of claims 2 to 7, characterized in that The method further comprises: According to the first target capacity, a battery capacity parameter corresponding to the power meter of the terminal is updated.
9. A battery charging device, characterized in that: Applied to a terminal, the device comprises: An acquisition module is configured to acquire a historical charging parameter corresponding to the last charging of the battery of the terminal and a battery health parameter of the battery; a determination module, configured to determine a target cutoff voltage and a target cutoff current corresponding to the battery according to the historical charging parameter and the battery health parameter; The control module is configured to control the battery to charge according to the target cut-off voltage and the target cut-off current.
10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method described in any one of claims 1 to 8 when calling the executable instructions stored in the memory.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.
