A charging method and device, electronic equipment and storage medium
By determining the battery charging time interval based on historical charging data and terminal device status, and adopting a phased charging strategy, the problem of rapid battery aging in existing technologies is solved, thereby extending battery life and improving the charging experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-02-23
- Publication Date
- 2026-04-28
AI Technical Summary
Existing charging technologies cannot flexibly adjust charging strategies according to the specific properties and usage status of batteries, resulting in faster battery aging and a shorter lifespan.
By determining the battery charging time interval based on historical charging data and terminal device status, the first and second charging strategies are adopted to charge in stages. The first preset charging parameters are used to maintain the current battery level and the start time is adjusted according to the terminal device status to ensure that the battery is fully charged within a suitable time.
It extends battery life, reduces battery aging caused by prolonged charging or overcharging, and improves the charging experience.
Smart Images

Figure CN114977343B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of charging technology, and in particular to a charging method, apparatus, electronic device and storage medium. Background Technology
[0002] In an era of widespread electricity use, electrical energy provides the energy needed in various fields. In practical applications, the storage medium for electrical energy is usually a battery, which can conveniently provide electrical energy to the user. Most batteries are rechargeable, such as lithium-ion batteries and various rechargeable batteries. The ability to recharge batteries greatly improves their utilization rate, allowing for multiple charge and discharge cycles and reducing the likelihood of batteries being used only once.
[0003] Charging technology is used when charging a battery. This technology can replenish more power to the battery, reduce overcharging, and extend battery life. Summary of the Invention
[0004] This disclosure provides a charging method, apparatus, electronic device, and storage medium.
[0005] A first aspect of this disclosure provides a charging method, comprising: determining a battery charging time interval based on historical charging data; charging the battery within the time interval using a first charging strategy; the first charging strategy including a first preset charging parameter; acquiring current charging parameters when charging according to the first charging strategy, and maintaining the current battery level when the current charging parameters reach the first preset charging parameter; determining a start time for charging according to a second charging strategy based on the state of a terminal device and the end time of the time interval; and charging the battery using the second charging strategy after the time for maintaining the current battery level reaches the start time, and fully charging the battery from the current battery level before the end time.
[0006] In one embodiment, charging the battery using a first charging strategy includes: determining a first preset charging parameter; and charging the battery according to the first preset charging parameter and the current charging parameter.
[0007] In one embodiment, determining the first preset charging parameter includes: determining the first preset charging parameter based on at least one of the battery attribute data, the historical charging data, and the status information of the terminal device containing the battery.
[0008] In one embodiment, the first preset charging parameters include a first cutoff voltage and / or a first cutoff current; the current charging parameters include the current battery voltage and / or the current charging current; charging the battery according to the first preset charging parameters and the current charging parameters includes: performing constant current charging on the battery according to the first cutoff voltage until the battery voltage reaches the first cutoff voltage; and / or, performing constant voltage charging on the battery according to the first cutoff current until the current charging current reaches the first cutoff current.
[0009] In one embodiment, maintaining the current battery level when the current charging parameter reaches the first preset charging parameter includes: determining the current battery level when the current charging parameter reaches the first preset charging parameter; and maintaining the fluctuation range of the current battery level within a preset threshold through floating charging.
[0010] In one embodiment, the step of charging the battery using the second charging strategy after the time for maintaining the current battery level reaches the start time, and fully charging the battery from the current battery level before the cutoff time, includes: determining a second pre-charging parameter for charging the battery using the second charging strategy based on the state of the terminal device; wherein the second pre-charging parameter includes: a second cutoff voltage for constant current charging; and / or a second cutoff current for constant voltage charging; and charging the battery according to the second pre-charging parameter, and fully charging the battery from the current battery level before the cutoff time.
[0011] In one embodiment, the usage state includes: whether the terminal device is in a sleep state when powered on, whether an application is running in the foreground, whether the screen is on, and / or whether the power consumption is high.
[0012] In one embodiment, determining the battery charging time interval based on historical charging data includes: determining the time interval for the battery to be fully charged based on the time information of the charging interval in the historical charging data; or, determining the time interval for the battery to be fully charged based on the historical charging data and a deep learning model.
[0013] In one embodiment, the method further includes: determining the time for establishing a charging connection; and charging the battery using a first charging strategy, which includes: if the time for establishing the charging connection is within the time interval, determining to charge the battery using the first charging strategy.
[0014] In one embodiment, the method further includes: if the time for establishing the charging connection is outside the time interval, charging the battery according to a third charging strategy, wherein the third charging strategy is different from the first charging strategy and the second charging strategy.
[0015] A second aspect of this disclosure provides a charging device, comprising: a time interval determination module, configured to determine a battery charging time interval based on historical charging data; a first charging module, configured to charge the battery within the time interval using a first charging strategy; the first charging strategy including a first preset charging parameter; a power maintenance module, configured to acquire current charging parameters when charging according to the first charging strategy, and maintain the current power level of the battery when the current charging parameters reach the first preset charging parameter; a start time determination module, configured to determine a start time for charging according to a second charging strategy based on the state of a terminal device and the end time of the time interval; and a second charging module, configured to charge the battery using the second charging strategy after the time for maintaining the current power level reaches the start time, and fully charge the battery from the current power level before the end time.
[0016] A third aspect of this disclosure provides an electronic device, comprising:
[0017] A processor and a memory for storing executable instructions capable of running on the processor, wherein:
[0018] When the processor is used to run the executable instructions, the executable instructions perform the method described in any of the preceding descriptions.
[0019] A fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the method described in any of the preceding embodiments.
[0020] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0021] By determining the battery charging time range based on historical charging data, the time range can be specifically determined according to the different characteristics of the user's terminal device, thereby accurately activating the first charging strategy to charge the battery and reducing problems such as slow charging speed and poor charging experience caused by untimely activation of the first charging strategy.
[0022] By charging the battery according to a first charging strategy within the charging time, and maintaining the battery's current charge level when the current charging parameters reach a first preset charging parameter during the charging process, the system ensures that the battery has sufficient charge. Different batteries have different first preset charging parameters, and even the same battery may exhibit different first preset charging parameters at different stages of use due to aging. Therefore, maintaining the battery's charge level when the current charging parameters reach the first preset charging parameter during the charging process ensures that the battery has sufficient charge. This reduces the damage and aging caused by directly charging the battery to full capacity or continuing to charge for extended periods after full charge, thereby extending the battery's lifespan.
[0023] Based on the usage status of the terminal device and the end time of the time interval, the start time for charging the battery according to the second charging strategy is determined. After maintaining the current battery level for the duration specified in the second charging strategy, the battery is charged using the second charging strategy until it is fully charged before the end time of the charging period. Alternatively, a combined charging method using the first and second charging strategies can be employed. Depending on the actual usage status of the terminal device and the end time of the time interval (different start times correspond to different usage statuses), the second charging strategy continues to charge the battery until it is fully charged before the end time. By combining the battery charging time interval, the battery's condition, and the usage status of the terminal device, the battery in the terminal device can be flexibly charged, reducing the occurrence of prolonged charging or fully charged states after the battery is fully charged, thus delaying battery aging and extending battery life.
[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0026] Figure 1 This is a schematic flowchart illustrating a charging method according to an exemplary embodiment;
[0027] Figure 2 This is a flowchart illustrating a method for charging a battery using a first charging strategy according to an exemplary embodiment.
[0028] Figure 3This is a flowchart illustrating a method for maintaining current battery power according to an exemplary embodiment;
[0029] Figure 4 This is a schematic diagram illustrating a method of charging a battery using a second charging strategy according to an exemplary embodiment, so as to fully charge the battery from its current charge level before a deadline.
[0030] Figure 5 This is a flowchart illustrating a method for charging a battery according to a second preset charging parameter, based on an exemplary embodiment.
[0031] Figure 6 This is a schematic diagram of the structure of a charging device according to an exemplary embodiment;
[0032] Figure 7 This is a schematic diagram of the structure of a terminal device according to an exemplary embodiment;
[0033] Figure 8 This is a charging curve diagram of a terminal device at night, according to an exemplary embodiment.
[0034] Figure 9 This is a schematic flowchart illustrating another charging method according to an exemplary embodiment;
[0035] Figure 10 This is a block diagram illustrating a terminal device according to an exemplary embodiment. Detailed Implementation
[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0037] Battery life is an important indicator affecting batteries, and to some extent, it largely depends on the degree of battery aging. Battery aging is affected by many factors, such as abnormal temperature (temperature exceeding the normal operating temperature range of the battery), abnormal voltage (voltage exceeding the normal operating voltage range of the battery), and prolonged full charging (such as continuous full charging for more than a certain duration). Excessive voltage or prolonged full charging and overcharging will cause the battery to be stored at high voltage for a long time.
[0038] Typically, battery charging requires a preset charging level as a temporary pause point. Once the battery level reaches this preset level, charging is paused. This preset charging level can be a preset State of Charge (SOC) value, such as 80%. If the battery level exceeds the preset SOC value during charging, charging is paused. A preset restart point can also be set; once this restart point is reached, charging resumes until the battery is fully charged.
[0039] This method uses a fixed preset pause point for charging, and a fixed restart point for charging. However, because different batteries have different pause points, and even the same battery has different pause points at different stages of use, and the time required to fully charge different batteries also varies, this method cannot adjust the pause point or restart charging strategy for different batteries. This method can lead to prolonged connection to the power source, overcharging, and high temperatures, accelerating battery aging and reducing battery life.
[0040] This applies to batteries used in various fields. For example, with the popularization of 5G, the increased power consumption of mobile phones will have a certain impact on the charging speed and battery life. In order to reduce battery aging and extend battery life, higher requirements are placed on battery charging methods.
[0041] Of course, it can also be rechargeable batteries such as power batteries for electric vehicles and storage batteries or lithium-ion batteries used in other application scenarios.
[0042] refer to Figure 1 This is a flowchart illustrating a charging method provided by this technical solution. The charging method includes the following steps:
[0043] Step S100: Determine the battery charging time range based on historical charging data.
[0044] Step S200: During the time interval, the battery is charged using a first charging strategy; the first charging strategy includes a first preset charging parameter.
[0045] Step S300: Obtain the current charging parameters when charging according to the first charging strategy, and maintain the current battery level when the current charging parameters reach the first preset charging parameters.
[0046] Step S400: Determine the start time for charging according to the second charging strategy based on the status of the terminal device and the end time of the time interval.
[0047] Step S500: After the time for maintaining the current battery level reaches the start time, the battery is charged using the second charging strategy, and the battery is fully charged from the current battery level before the end time.
[0048] This method can be executed on at least a mobile terminal, meaning that the subject executing this method can include at least a mobile terminal. Mobile terminals can include mobile phones, tablets, in-vehicle central control devices, wearable devices, smart devices, etc., and smart devices can include smart office equipment and smart home equipment, etc.
[0049] Step S100 involves determining the battery charging time range based on historical charging data from the terminal device. This time range is specifically determined according to the different characteristics of the user's terminal device usage, reflecting the battery's charging time characteristics. Once the battery charging time range is determined, the start and end times of charging can be set.
[0050] The solution in this embodiment involves optimizing battery charging within this time interval, thereby reducing battery wear and tear during the charging process, slowing down battery aging, and extending battery life. Therefore, before charging the battery, it is necessary to obtain the historical charging data of the battery in the terminal device, and then determine the battery charging time interval based on this data, so that the battery can be charged within that time interval.
[0051] In one embodiment, the time interval can be the period during which the battery in the terminal device is charged most frequently, or the period during which the terminal device is used less frequently. For example, consider a mobile terminal such as a smartphone or tablet that users need to carry or wear during the day. At night, the terminal device is used less frequently or with a lower probability of use, so it is charged overnight and used the next day. However, nighttime is still a relatively long period; the specific time period can be determined based on the terminal device's historical charging data.
[0052] The terminal device can be the aforementioned mobile terminal, or other battery-powered terminal devices, such as electric vehicles. The batteries in the terminal devices are all rechargeable batteries, such as lead-acid batteries or lithium-ion batteries.
[0053] Historical battery charging data can be historical charging data within a certain time range stored in the controller, data storage medium, and / or corresponding application of the terminal device. This charging data can include historical charging time data, such as historical charging time information for the past week or month. By acquiring historical charging data, the time interval for battery charging can be determined. Since this charging time interval is determined based on the battery's historical charging data, it reflects the time range for charging the battery, allowing for charging based on this time interval. Furthermore, when charging the battery, it can be determined whether the actual charging time falls within this time interval, and then the appropriate charging method can be determined.
[0054] The charging time interval determined here is based on the historical charging data of the terminal device. The time interval will be different depending on the different historical charging data of different terminal devices. It can be a certain time interval at night or a certain time interval during the day, etc.
[0055] In step S200, to slow down battery aging and reduce the occurrence of prolonged charging, full charging, and overcharging, the battery is charged using the method described in this embodiment. When the actual charging time falls within the time interval determined in step S100, the battery is charged using the first charging strategy.
[0056] The first charging strategy includes a first preset charging parameter, which is used for charging according to the first charging strategy, and the battery is charged according to the first preset charging parameter. The first preset charging parameter can serve as a reference condition for charging the battery, such as whether to continue charging the battery in the current charging mode, and to switch charging modes to maintain the current battery level.
[0057] The first preset charging parameters include charging voltage and / or charging current, etc., and the battery is charged according to these charging parameters. For example, when the current charging voltage and / or current used to charge the battery reaches the charging voltage and / or charging current in the first preset charging parameters, the charging method for the battery is determined again.
[0058] The initial preset charging parameters are related to both the terminal device and the battery itself. Different terminal devices or different batteries will have different initial preset charging parameters at different stages of use. The initial preset charging parameters may differ between different batteries, and the initial preset charging parameters of the same battery will also change as the battery is used, and may also differ at different stages of use.
[0059] By charging the battery according to the first charging strategy, the first preset charging parameters are determined based on the state of the terminal device and the battery, thereby enabling the battery to be charged in a matching manner, reducing battery wear during the charging process, delaying battery aging, and improving battery life.
[0060] Step S300: After charging the battery using the first charging strategy, obtain the current charging parameters for charging the battery according to the first charging strategy. The current charging parameters have the same parameter category as the first preset charging parameters, so that the battery can be charged by combining the current charging parameters and the first preset charging parameters.
[0061] For example, if the first preset charging parameter includes a first preset charging voltage, then the current charging parameter also includes the current charging voltage. If the first preset charging parameter includes a first preset charging current, then the current charging parameter includes the current charging current.
[0062] When the current charging parameters for charging the battery reach the first preset charging parameter, the current battery level is maintained. Reaching the first preset charging parameter indicates that the battery has sufficient charge for the terminal device, but is not fully charged.
[0063] After maintaining the battery's charge level, since the battery is currently within the charging time interval, it needs to be charged using the second charging strategy after the first charging strategy. Therefore, when the current charging parameters reach the first preset charging parameters, the battery's current charge level is maintained. When the conditions for charging according to the second charging strategy are met, charging is automatically resumed according to the second charging strategy, in order to fully charge the battery before the end of the time interval.
[0064] This allows for a preliminary charge of the battery, preventing it from being fully charged immediately. It also allows for continued charging after the battery is fully charged, reducing the risk of prolonged connection to a power source, overcharging, and high temperatures. This minimizes battery wear and tear during charging, slows down battery aging, and extends battery lifespan.
[0065] In one embodiment, obtaining the current charging parameters according to the first charging strategy may include:
[0066] The charging parameters for charging the battery using the first charging strategy are obtained at preset time intervals.
[0067] Use this charging parameter as the current charging parameter.
[0068] Step S400: Determine the start time for charging according to the second charging strategy based on the status of the terminal device and the end time of the time interval.
[0069] The status of a terminal device can be detected by corresponding sensors or controllers within the device. This status can include its usage state, indicating whether the device is powered on, in sleep mode, has an application running in the foreground, is on, and / or consumes power. For example, if the device is in use, further specific usage information will be obtained, including screen-on duration, screen-off duration, power consumption, and / or detected touchscreen operations. Power consumption varies depending on the usage state. Within a charging timeframe, the charging speed and time may also differ depending on the device's usage state.
[0070] The battery charging time interval includes a start time and an end time. After determining the state of the terminal device, based on the terminal device's state and the end time within the battery charging time interval, a start time for charging according to the second charging strategy is determined. The battery is then recharged according to the second charging strategy based on the start time. The start time of the second charging strategy is the time it takes for the battery to be fully charged by the end time of the time interval, or the time it takes to be fully charged before a time threshold before the end time of the time interval. For example, the battery may be fully charged 5 minutes before the end time of the time interval.
[0071] The specific process of determining the start time for charging the battery according to the second charging strategy, based on the terminal device's state and the time interval's end time, can be achieved through a preset correspondence rule between the terminal device's state, time interval, and the preset start time of the charging phase. Alternatively, it can be determined using a trained network model, with the terminal device's state and the time interval's end time as input to the network model, and the network model's output as the start time for charging according to the second charging strategy.
[0072] Because the time intervals for different batteries are different, and the states of the terminal devices may also differ, the starting time for charging the battery according to the second charging strategy will also be different for different terminal devices. Furthermore, the starting time for charging the same battery according to the second charging strategy will also differ across different usage periods.
[0073] In step S500, during the battery charging time interval, after the start time has elapsed while the current battery level is maintained, the battery is charged using the second charging strategy to fully charge the battery from its current battery level before the end time.
[0074] Since the start time for charging the battery according to the second charging strategy is determined based on the state of the terminal device and the end time of the time interval, after the battery is recharged according to the start time of the second charging strategy, the battery will be fully charged before the end time of the time interval, or fully charged at the end time, thereby achieving the purpose of charging the battery with more power.
[0075] This solution determines a battery charging time interval and charges the battery within that interval using a first charging strategy. This first charging strategy includes first preset charging parameters, which differ for different batteries. Even for the same battery, these parameters change at different stages of use due to aging and other factors, leading to different first charging strategies. Therefore, this embodiment allows for targeted battery charging. Once the current charging parameters reach the first preset parameters, the battery's charge level is maintained at that level. This ensures sufficient battery charge while reducing the damage and aging caused by directly charging the battery or continuing to charge it for an extended period after it's fully charged, thus extending the battery's lifespan.
[0076] Based on the actual usage status of the terminal device and the deadline of the time interval, the start time for charging the battery according to the second charging strategy is determined. Different usage statuses correspond to different start times. The battery is recharged according to the start time of the second charging strategy, and is fully charged before the deadline. By combining the first and second charging strategies, the battery is charged in stages, which achieves flexible charging of the battery in the terminal device. This reduces the occurrence of directly charging the battery or leaving the battery in a charging or fully charged state for a long time after it is fully charged, thus delaying battery aging and extending battery life.
[0077] In another embodiment, step S100, determining the battery charging time interval based on historical charging data, includes: determining the time interval for the battery to be fully charged based on the time information of the charging interval in the historical charging data.
[0078] Historical charging data includes the time information of the terminal device's historical charging, including the start and end times of each charge. The start time of a charging interval can be determined based on the historical charging start time, and the end time can be determined based on the historical charging end time. This allows for the determination of the battery charging time interval based on the historical charging time information in the historical charging data.
[0079] Specifically, the start time of the time interval can be determined by the average start time of historical charging, and the average start time of historical charging can be used as the start time of the time interval. Similarly, the end time of the time interval can be determined by the average end time of historical charging, and the average end time of historical charging can be used as the end time of the time interval.
[0080] Furthermore, the start time of historical charging can be the time when the charging connection is established in the historical charging process, and the end time of historical charging can be the time when the charging connection is disconnected.
[0081] In another embodiment, the time interval for the battery to be fully charged can be determined based on historical charging data and a deep learning model.
[0082] In one embodiment, the historical charging data includes historical charging time information, such as the start and end times of each charge. This charging time information is used as input to a deep learning model, and the model's output serves as the battery charging time interval. This deep learning model is a pre-trained model that can automatically determine the battery charging time interval.
[0083] In another embodiment, the method for determining the time interval further includes: determining alternative time intervals for battery charging based on historical charging data and the alarm time of the terminal device containing the battery.
[0084] After determining the alternative time interval, determine whether the alarm time of the terminal device falls within the alternative time interval;
[0085] If the alarm time of the terminal device is within the selected time interval, the end time of the selected time interval will be updated to the alarm time.
[0086] This alternative interval will be used as the battery charging time interval.
[0087] Alternatively, a time interval can be determined first based on historical charging data. Then, when the alarm time of the terminal device is detected to be within the time interval, the end time of the time interval determined based on historical charging data will be updated to the alarm time of the terminal device, that is, the alarm time of the terminal device will be determined as the end time of the time interval.
[0088] In another embodiment, the method further includes: determining the time for establishing a charging connection.
[0089] Before determining the battery charging time range, first determine the time to establish a charging connection. Based on this connection establishment time, proceed with charging the battery accordingly. The connection establishment time can be the time when the charger connects to the terminal device; therefore, this connection establishment time is defined as the time when the charger connects to the terminal device.
[0090] Step S200, determining to charge the battery according to the first charging strategy, includes: if the time of establishing the charging connection is within the time interval, charging the battery according to the first charging strategy.
[0091] After determining the time for establishing a charging connection, based on the time interval and the time for establishing the charging connection, it is determined whether to charge the battery using the first charging strategy. Specifically, it is determined whether the time for establishing the charging connection falls within the time interval; if so, the battery is charged using the first charging strategy.
[0092] In another embodiment, the method further includes: if the time for establishing the charging connection is outside the time interval, charging the battery according to a third charging strategy, wherein the third charging strategy is different from the first charging strategy and the second charging strategy.
[0093] If the time for establishing the charging connection is outside the specified time interval, then it is not necessary to charge the battery according to steps S200 to S500 of this scheme, based on the first charging strategy and the second charging strategy. The second charging strategy here can be a charging strategy that directly fully charges the battery, etc. It is not limited to a single second charging strategy; any charging strategy different from the first charging strategy is considered a second charging strategy.
[0094] In one embodiment, if the time for establishing the charging connection is outside the time interval, a charging strategy such as fast charging can be used as a third charging strategy. Of course, the third charging strategy can also be a preset charging strategy other than fast charging.
[0095] For example, a fast charging strategy is a charging strategy with an average charging power of 10W or 15W. For instance, the time period is at night, and the time period outside of that is during the day. If a mobile phone is connected to a charging socket during the day (i.e., a charging connection is established), considering the user's mobility during the day and the probability that the charging connection will be disconnected and the mobile terminal will be taken away at any time, a fast charging strategy can be adopted to quickly fully charge the mobile terminal.
[0096] In one embodiment, a method for charging a battery using a first charging strategy is also provided. (See reference...) Figure 2 This is a flowchart illustrating the method. Step S200, charging the battery using the first charging strategy, may further include:
[0097] Step S201: Determine the first preset charging parameters in the first charging strategy;
[0098] Step S202: Charge the battery according to the first preset charging parameters and the current charging parameters.
[0099] For step S201, after determining the first preset charging parameters, it is convenient to charge the battery according to the first preset charging parameters and the current charging parameters.
[0100] Determining the first preset charging parameters includes: determining the first preset charging parameters based on at least one of the battery attribute data, historical charging data, and status information of the terminal device containing the battery.
[0101] Batteries themselves have certain attribute information, and the attributes of batteries can be represented through attribute data.
[0102] The battery's attribute information can be categorized into at least one of the following types:
[0103] Battery type; for example, batteries assembled from cells of different systems are different types of batteries; different stacking shapes and / or different tab settings between cells will classify batteries into different battery types;
[0104] Battery brand;
[0105] Battery rated parameters;
[0106] The expected maximum lifespan of the battery;
[0107] The degree of battery aging;
[0108] Is the battery an original battery from the terminal device?
[0109] The compatibility between the battery and the charging circuitry within the terminal device, etc.
[0110] The rated parameters of a battery may include its rated voltage, rated current, and / or rated capacity.
[0111] Battery aging includes: the ratio of the battery's actual capacity to its rated capacity, and the ratio of the number of charge cycles to the maximum number of charge cycles.
[0112] In one embodiment, the degree of battery aging can also be reflected by the battery's actual capacity.
[0113] Historical charging data can include information such as the time of historical charging and the number of historical charging cycles.
[0114] The status information of a terminal device can include its usage status and aging status. As the battery is used, the battery's attribute data may differ at different stages of use. When the battery's attribute data changes, adjustments may be needed when charging the battery. This allows for targeted charging based on the battery's actual attribute data, thereby reducing battery aging and extending battery life.
[0115] Usage status indicates whether the terminal device is powered on, in sleep mode, or has any applications running in the foreground. For example, if the terminal device is in use, further specific usage information will be obtained, which may include screen-on time, screen-off time, and / or power consumption. The battery power consumed by the terminal device varies in different usage states. By determining the first preset charging parameters based on the terminal device's usage status, the battery can be charged according to different first preset charging parameters in different usage states. This allows for adjustment of the first preset charging parameters, flexibly determining them based on the actual usage of the terminal device, which can help extend battery life.
[0116] The aging state of the device includes, but is not limited to: the aging state of the battery in the terminal device and / or the aging state of the motherboard in the terminal device; motherboards in different aging states have different power consumption and / or may have leakage.
[0117] The aging state of the battery and / or the motherboard within the terminal device also affects battery charging. Charging the battery based on its aging state, with different preset charging parameters for different aging states, allows for charging according to the battery's actual condition, reducing further aging. Similarly, charging the battery based on the motherboard's aging state, with different preset charging parameters for different aging states, allows for charging based on the motherboard's power consumption and / or leakage. This also reduces the likelihood of accelerated battery aging and extends battery life.
[0118] In summary, in this embodiment of the disclosure, the determination of the first preset charging parameter is specific to a single battery and is a personalized charging parameter, rather than a uniform standard charging pause point. By adopting this personalized charging parameter, the relationship between battery aging and the battery's full charge requirement can be further balanced, thereby ensuring a satisfactory charging experience while extending the battery's lifespan as much as possible.
[0119] In one embodiment, determining a first preset charging parameter based on at least one of battery attribute data, historical charging data, and state information of a terminal device containing the battery includes:
[0120] Based on at least one of the battery attribute data, historical charging data, and status information of the terminal device containing the battery, a charging pause point of the first charging strategy is determined within a preset range, and a first preset charging parameter is determined based on the charging pause point of the first charging strategy.
[0121] For example, the preset range can be any value between 50% and 95%, such as 60%, 70%, 70%, 80%, or 85%.
[0122] Based on the specific battery attribute information, if it is determined that the battery contained in the mobile terminal is a battery with a slow charging speed, then based on at least one of the historical charging data and the status information of the terminal device containing the battery, the charging pause point of the first charging strategy is determined between 75% and 85%. If the battery contained in the mobile terminal is a battery with a fast charging speed, then based on at least one of the historical charging data and the status information of the terminal device containing the battery, the charging pause point of the first charging strategy is determined between 55% and 75%.
[0123] The classification of batteries into slow-charging and fast-charging batteries can be determined by comparing the rated charging power of the battery with the corresponding rated charging rate and a preset rate threshold. For example, if the rated charging rate is lower than the preset charging rate, the battery can be considered a slow-charging battery; otherwise, it can be considered a fast-charging battery.
[0124] Information such as aging level can also reflect the charging rate of the battery during the preset charging phase. In short, the charging pause point is determined by combining the information reflecting the charging rate of the battery. Then, the first preset charging parameters are determined based on the charging pause point. Different charging pause points correspond to different first preset charging parameters. Based on the specific state of the battery and the terminal device, the battery is charged in the first stage using the first charging strategy.
[0125] Understandably, the time required for a battery to be fully charged can be determined based on charging history data, and / or, the time required for the battery to reach a first preset charging parameter from the initial charging parameters can be determined based on charging history data.
[0126] Therefore, based on historical charging data, the first preset charging parameters can be accurately determined.
[0127] For step S202, after determining the first preset charging parameters, the battery is charged by combining the first preset charging parameters and the charging parameters during the charging process of the battery through the first charging strategy, until the charging parameters during the overcharging of the battery through the first charging strategy reach the first preset charging parameters.
[0128] In one embodiment, the first preset charging parameters include a first cutoff voltage and / or a first cutoff current, and the current charging parameters include the current battery voltage and / or the current charging current.
[0129] Step S202, charging the battery according to the first preset charging parameters and the current charging parameters, including:
[0130] The battery is charged at a constant current based on the first cutoff voltage until the battery voltage reaches the first cutoff voltage.
[0131] And / or,
[0132] The battery is charged at a constant voltage based on the first cutoff current until the current charging current reaches the first cutoff current.
[0133] When charging the battery using the first charging strategy, constant current charging can be applied to the battery based on a single first cutoff voltage until the current battery voltage reaches the first cutoff voltage. The constant current charging current can be preset or determined based on battery attribute data or the usage of the terminal device.
[0134] Alternatively, the battery can be charged at a constant voltage based on the first cutoff current until the current charging current reaches the first cutoff current.
[0135] Alternatively, the first cutoff voltage and the first cutoff current can be combined. First, the battery is charged using a constant current method based on the first cutoff voltage until the current charging voltage reaches the first cutoff voltage. Then, the battery is charged using a constant voltage method based on the first cutoff current until the current charging current reaches the first cutoff current. This allows for continued charging of the battery after its voltage reaches the first cutoff voltage.
[0136] In another embodiment, if the current charging parameters for charging the battery using the first charging strategy have already reached the first preset charging parameters when a charging connection is established within the aforementioned time interval, then the battery will no longer be charged using the first charging strategy, and the battery level will be directly maintained at the current level. After the current level is maintained for the duration of the start time for charging using the second charging strategy, the battery will then be charged using the second charging strategy.
[0137] In another embodiment, before the current charging parameters for charging the battery using the first charging strategy reach the first preset charging parameters, the method further includes:
[0138] The state of the terminal device is detected. To distinguish it from the state of the terminal device used to determine the start time of charging under the second charging strategy, the state of the terminal device here is taken as the first state of the terminal device, and the state of the terminal device used to determine the start time of charging under the second charging strategy is taken as the second state of the terminal device.
[0139] Based on the detected status of the terminal device, the battery is charged until the current charging parameters for the battery reach the first preset charging parameters.
[0140] The status of the terminal device includes, but is not limited to:
[0141] The usage status of terminal devices;
[0142] Power consumption status of the terminal device;
[0143] The expected power consumption state of the terminal device during the remaining time of the time interval, for example, if a user likes to play a piece of news on their mobile phone at a preset time every day, even if the mobile phone is currently in a powered-off or sleep state, the expected power consumption can be determined based on the historical usage data of the terminal device before the charging connection of the terminal device is disconnected. This can also be used as the basis for determining the first preset charging parameter in the first charging strategy.
[0144] For example, the state of the terminal device may specifically include: detecting the usage state of the terminal device, and determining a first usage state of the terminal device based on a first power consumption and / or screen-off duration. Based on the first usage state and a first preset usage state, when the first usage state satisfies the first preset usage state, the battery is charged using a first charging strategy until the current charging parameters for charging the battery reach the first preset charging parameters. The first preset usage state includes a first preset power consumption and / or a preset screen-off duration.
[0145] The system detects the terminal device's first power consumption and / or screen-off duration, compares this first power consumption and / or screen-off duration with a first preset usage state, and determines whether the terminal's first usage state meets the first preset usage state. Specifically, this can be determined through a first condition, including: based on the detected first power consumption and the first preset power consumption, and / or the screen-off duration and the preset screen-off duration, determining whether the terminal device's first usage state meets the first preset usage state. Of course, it can also be determined based on other parameters of the terminal device, and can be set according to the actual usage scenario.
[0146] The first power consumption can be the average power consumption of the terminal device over a preset period of time, i.e., the average power consumption, which is used as the first power consumption of the terminal device. Screen-off time can be used in terminal devices with display functions, and screen-off can indicate whether the terminal device is in use or not. For example, in mobile terminals such as smartphones, a screen-off state indicates that the phone is not currently in use; when in use, the screen is on. It can also be used in terminal devices such as electric vehicles; in an electric vehicle, the speedometer display area and the central control screen, when in a screen-off state, can indicate that the electric vehicle is not running.
[0147] When the first power consumption is less than the first preset power consumption and / or the screen-off duration is greater than the preset screen-off duration, it can be determined that the first usage state of the terminal device meets the first preset usage state. When the first power consumption is not less than the first preset power consumption and / or the screen-off duration is not less than the preset screen-off duration, it can be determined that the first usage state of the terminal device does not meet the first preset usage state. When the first usage state of the terminal device does not meet the first preset usage state, the battery can be charged using a charging method different from the first and second charging strategies, such as a third charging strategy. The preset power consumption and preset screen-off duration can be set according to the actual application scenario, and the preset power consumption and preset screen-off duration may be different for different application scenarios.
[0148] By detecting the terminal's status, a charging strategy suitable for the current situation can be dynamically determined based on the terminal's status. This can minimize battery wear and tear during the charging process and extend battery life, provided that sufficient charge can be delivered to the battery.
[0149] Of course, detecting the usage status of a terminal device can also include: detecting the displacement information of the terminal device, the light intensity information of the surrounding environment, etc., and then determining the first usage status of the terminal device based on this information. The displacement information of the terminal device can be determined by an accelerometer, gyroscope, and / or positioning module in the terminal device. The light intensity information can be determined by a light sensor in the terminal device. The first usage status of the terminal device can also be determined simultaneously based on the displacement information, the light intensity information of the surrounding environment, the initial power consumption, and the screen-off duration.
[0150] The charging connection is established within a time interval, and the battery is charged using the first charging strategy when the first usage state of the terminal device is determined to meet the first preset usage state.
[0151] When charging the battery according to the first preset charging parameters, including the first cutoff voltage and the first cutoff current, constant current charging is first used to charge the batteries simultaneously. During this process, the battery charging voltage is limited to the first cutoff voltage; once the current battery voltage reaches the first cutoff voltage, the battery voltage no longer increases. When charging the battery with constant current, a relatively large charging current can be used. By charging the battery with a constant voltage method, the charging efficiency can be improved.
[0152] Because of battery polarization, a portion of the battery voltage is the polarization voltage. The internal resistance of the battery polarization can cause the battery voltage to appear artificially high, meaning the actual battery voltage may be lower than the first cutoff voltage. The charging current during this process can be set based on the actual charging scenario or the battery's performance specifications, which may include rated current, rated capacity, and rated voltage.
[0153] To allow the battery to charge further without compromising its performance, a constant-voltage charging method is employed. During this process, the charging current is limited to a first cutoff current, and the battery voltage is set at a first cutoff voltage. As the charging capacity increases, the actual battery voltage approaches the first cutoff voltage. To maintain a constant battery voltage, the current charging current gradually decreases until it reaches the first cutoff current.
[0154] Considering charging efficiency, the first cutoff current can be set to 0.1C, where C = battery capacity / h. By performing constant current and constant voltage charging on the battery, more energy can be added.
[0155] In one embodiment, before the current charging parameters of the battery reach the first preset charging parameter, the switching between constant current charging and constant voltage charging can be repeatedly performed until the current charging parameters reach the first preset charging parameter.
[0156] In another embodiment, a method for maintaining the current battery level is also provided. (See reference...) Figure 3 This is a flowchart illustrating a method for maintaining the current battery level. Step S300, where the battery's current level is maintained when the current charging parameter reaches the first preset charging parameter, includes:
[0157] Step S301: When the current charging parameters reach the first preset charging parameters, determine the current battery level.
[0158] When the current charging parameters are detected to have reached the first preset charging parameter, the current battery level is determined. The specific monitoring and determination methods can be implemented through relevant monitoring and determination modules in the terminal device. The goal is simply to monitor the current charging parameters and determine the current battery level.
[0159] Step S302: Maintain the fluctuation range of the current power level within a preset threshold through floating charging.
[0160] Because batteries have a self-discharge characteristic, meaning they naturally release electrical energy after charging stops, a floating charging method is used to compensate for the energy loss due to self-discharge. This method maintains the battery's charge level at the level it would have reached when the charging parameters were set to a first preset value, i.e., the battery's current charge level. This reduces the possibility of further energy loss and maximizes the battery's capacity, ensuring it retains more power.
[0161] In another embodiment, reference Figure 4 This is a flowchart illustrating step S500. Step S500 involves charging the battery using a second charging strategy after the current battery level has been maintained for a certain period (start time), to fully charge the battery from its current level before the end time. This includes:
[0162] Step S501: Based on the state of the terminal device, determine the second pre-charge parameters for charging the battery using the second charging strategy; wherein the second pre-charge parameters include: the second cutoff voltage for constant current charging; and / or, the second cutoff current for constant voltage charging.
[0163] Step S502: Charge the battery according to the second preset charging parameters, and fully charge the battery from its current charge level before the deadline.
[0164] For step S501, after the time for maintaining the current battery level reaches the start time, the battery continues to be charged using the second charging strategy. Before charging the battery using the second charging strategy, a second preset charging parameter for the second charging strategy is determined based on the state of the terminal device, and the battery continues to be charged according to the second preset charging parameter in the second charging strategy.
[0165] Different usage states correspond to different second preset charging parameters. The battery is charged according to these parameters, and the second cutoff voltage and / or second cutoff current are dynamically adjusted. This allows for flexible and dynamic adjustment of the charging parameters, reducing battery wear and aging, and ultimately extending battery life.
[0166] The state of a terminal device includes its usage status, which indicates whether the device is powered on, in sleep mode, or has any applications running in the foreground. For example, if the terminal device is in use, further specific usage information will be obtained, including screen-on time, screen-off time, and / or power consumption. The amount of battery power consumed by the terminal device varies in different usage states. A second cutoff voltage and / or a second cutoff current are determined based on the terminal device's usage status. This allows for flexible determination of the second cutoff voltage and / or second cutoff current based on the actual usage of the terminal device, enabling flexible adjustment of charging parameters for the battery during preset charging stages, thus extending battery life. Simultaneously, it allows for charging the battery with more power based on the actual usage status of the terminal device. For ease of explanation, the state of the terminal device here can also be referred to as a second usage state.
[0167] For step 502, after determining the second preset charging parameters, the battery is charged using the second preset charging parameters, and the battery is fully charged before the deadline.
[0168] Based on this second cutoff voltage, the battery can be charged using a constant current charging method to fully charge it before the cutoff time. The second cutoff voltage is greater than the first cutoff voltage and can be the rated voltage, etc.
[0169] Alternatively, the battery can be charged at a constant voltage using a constant voltage charging method based on the second cutoff current, fully charging the battery before the cutoff time. The second cutoff current is less than the first cutoff current.
[0170] Alternatively, the battery can be charged using a constant current charging method first. After the current charging voltage reaches the second cutoff voltage, the battery can be charged using a constant voltage charging method until the current charging current reaches the second cutoff current. The battery can be fully charged either when the current charging current reaches the second cutoff current or before the current charging current reaches the second cutoff current.
[0171] In another embodiment, the charging parameters for charging the battery using the second charging strategy may further include charging mode parameters. The charging mode parameters control the charging method of the battery, and the charging mode includes at least one of the following:
[0172] Constant current charging;
[0173] Constant voltage charging;
[0174] Trickle charging.
[0175] After determining the charging method parameters, the corresponding charging method is determined based on these parameters, and the battery in the terminal device is charged according to this charging method. After determining the charging method based on the parameters, the battery is charged according to the corresponding cutoff voltage and / or cutoff current. For example, in the second charging strategy, the charging method is determined based on the parameters, then the second cutoff voltage and / or second cutoff current are determined, and the battery is then charged to a full charge before the cutoff time.
[0176] In another embodiment, the second charging strategy may include multiple second charging sub-strategies. Different charging parameters are determined for different second charging sub-strategies based on the usage state of the terminal device within the second charging strategy; that is, different second charging sub-strategies correspond to different cutoff voltages and / or cutoff currents. The second cutoff voltage may include multiple different cutoff voltages that increase sequentially, and / or the second cutoff current may include multiple different cutoff currents that decrease sequentially.
[0177] In another embodiment, a method for charging a battery according to a second preset charging parameter is also provided. (See reference...) Figure 5 This is a schematic diagram of a process for charging a battery according to a second preset charging parameter. Step S502, charging the battery according to the second preset charging parameter, and fully charging the battery from its current charge level before the deadline, further includes:
[0178] Step S5021: After the time for maintaining the current battery level reaches the start time, detect the third usage state of the terminal device, which includes the first screen-on duration and / or the second power consumption.
[0179] Step S5022: Determine the third preset charging parameters of the second charging strategy based on the third usage state and the second preset usage state.
[0180] Step S5023: Charge the battery according to the third preset charging parameters.
[0181] Step S5024: Detect the fourth usage state and the third preset usage state of the terminal device, and determine the fourth preset charging parameters of the second charging strategy; the fourth usage state includes the second screen-on duration and / or the third power consumption; wherein, the second screen-on duration is less than the first screen-on duration, and the third power consumption is less than the second power consumption.
[0182] Step S5025: Charge the battery according to the fourth preset charging parameters.
[0183] Step S5026: Detect the fifth usage state and the fourth preset usage state of the terminal device, and determine the fifth preset charging parameters of the second charging strategy; the fifth usage state includes the third screen-on duration and / or the fourth power consumption; wherein, the third screen-on duration is less than the second screen-on duration, and the fourth power consumption is less than the third power consumption.
[0184] Step S5027: Charge the battery according to the fifth preset charging parameters to fully charge the battery.
[0185] In this embodiment, the second charging strategy includes three sub-charging strategies, the second usage state includes a third usage state, a fourth usage state, and a fifth usage state, and the second preset charging parameters include a third preset charging parameter, a fourth preset charging parameter, and a fifth preset charging parameter, that is, the second preset charging parameters include three sub-parameters.
[0186] In step S5021, the usage state including the first screen-on duration and / or the second power consumption can be used as the third usage state, that is, the usage state when charging through the second charging strategy. Since the first cutoff voltage is less than the battery's rated voltage, after charging the battery according to the first cutoff voltage and / or the first cutoff current, that is, after maintaining the battery's current charge level, further charging is required to add more charge to the battery, or even fully charge it.
[0187] When continuing to charge the battery, the charging parameters need to be adjusted according to the current state of the terminal device. Different current states correspond to different charging parameters. This allows for flexible adjustment of charging control parameters based on the battery's performance parameters and the terminal device's usage status, reducing the occurrence of overcharging, oversaturation, and overheating, thereby reducing battery wear and aging and extending battery life. Therefore, when continuing to charge the battery using the second charging strategy, it is also necessary to detect the current state of the terminal device, which includes the first screen-on duration and / or the second power consumption.
[0188] To distinguish between the screen-on duration here and the screen-on duration of the terminal device during subsequent charging, the screen-on duration here is designated as the first screen-on duration. To distinguish between the power consumption of the terminal device at the current stage, the first power consumption, and the power consumption of the terminal device later, the power consumption here is designated as the second power consumption.
[0189] Step S5022: Determine the third preset charging parameters of the second charging strategy based on the third usage state and the second preset usage state. After determining the first screen-on duration and / or the second power consumption, determine whether the terminal device meets the second preset usage state based on the first screen-on duration and / or the second power consumption. The second preset usage state includes the first preset screen-on duration and the second preset power consumption. Specifically, this can be determined by a second condition, judging whether the first screen-on duration is greater than the first preset screen-on duration, and / or judging whether the second power consumption is greater than the second preset power consumption. The first preset screen-on duration and the second preset power consumption set in the second condition can be set according to the actual usage scenario. When the first screen-on duration is greater than the first preset screen-on duration, and / or the second power consumption is greater than the second preset power consumption, it can be determined that the third usage state of the terminal device meets the second preset usage state.
[0190] In addition to detecting the first screen-on duration and / or the second power consumption, the device's location information and ambient light intensity information can also be detected. Based on the first screen-on duration, second power consumption, location information, and / or light intensity information, it can be determined whether the third usage state of the terminal device meets the second preset usage state. The terminal device's location information can be determined using accelerometers, gyroscopes, and positioning modules, while light intensity information can be detected using light sensors.
[0191] Upon determining that the third usage state of the terminal device satisfies the second preset usage state, a third cutoff voltage and / or a third cutoff current for charging are determined, wherein the third cutoff voltage is the rated voltage.
[0192] The third preset charging parameters include a third cutoff voltage and / or a third cutoff current. The battery is charged according to this third cutoff voltage and / or third cutoff current. The third cutoff voltage is the battery's rated voltage, and the battery is charged according to this third cutoff voltage. The third cutoff current can be a preset cutoff current, which is less than the first cutoff current.
[0193] Step S5023: Charge the battery according to the third preset charging parameters.
[0194] After determining the third cutoff voltage and / or the third cutoff current, the battery is charged according to the third cutoff voltage and / or the third cutoff current. In this step, the battery can also be charged with a constant current first, and then charged with a constant voltage.
[0195] Step S5024: Detect the fourth usage state and the third preset usage state of the terminal device, and determine the fourth preset charging parameters in the second charging strategy; the fourth usage state includes the second screen-on duration and / or the third power consumption; wherein the second screen-on duration is less than the first screen-on duration, and the third power consumption is less than the second power consumption.
[0196] After charging the battery according to the third cutoff voltage and / or the third cutoff current, the usage status of the terminal device continues to be detected, including detecting the second screen-on duration and / or the third power of the terminal device. Of course, in addition to the second screen-on duration and / or the third power, it may also include detecting user button operations and / or touch operations, etc.
[0197] After determining the second screen-on duration and / or the third power consumption, it is determined whether the terminal device meets the third preset usage state based on the second screen-on duration and / or the third power consumption. The third preset usage state includes the second preset screen-on duration and the third preset power consumption. Specifically, this can be determined through a third condition, judging whether the second screen-on duration is greater than the second preset screen-on duration, and / or judging whether the third power consumption is greater than the third preset power consumption. The second preset screen-on duration and the third preset power consumption set in this third condition can be set according to the actual usage scenario. When the second screen-on duration is greater than the second preset screen-on duration, and / or the third power consumption is greater than the third preset power consumption, it can be determined that the fourth usage state of the terminal device meets the third preset usage state.
[0198] In this embodiment, the second screen-on duration is shorter than the first screen-on duration, and the third power is shorter than the second power. To reduce battery wear and aging during charging, it is not necessary to directly charge the battery to its rated voltage. Instead, the battery needs to be charged according to the fourth usage state of the terminal device, i.e., based on the second screen-on duration and / or the third power. This reduces the occurrence of overcharging, oversaturation, and overheating, thus minimizing battery aging and extending battery life.
[0199] When the fourth usage state of the terminal device satisfies the third preset usage state, a fourth preset charging parameter is determined, namely a fourth cutoff voltage and / or a fourth cutoff current. The fourth cutoff voltage is less than the third cutoff voltage, and the fourth cutoff current is greater than the third cutoff current.
[0200] Step S5025: Charge the battery according to the fourth preset charging parameters. After detecting the second screen-on duration and / or the third power consumption, determine the fourth cutoff voltage and / or the fourth cutoff current based on the second screen-on duration and / or the third power consumption. Charge the battery according to the fourth cutoff voltage and / or the fourth cutoff current, where the fourth cutoff voltage is less than the third cutoff voltage and the fourth cutoff current is greater than the third cutoff current. When the fourth cutoff voltage is less than the third cutoff voltage, charging can be stopped when the battery voltage reaches the fourth cutoff voltage; and / or charging can be stopped when the charging current is less than the fourth cutoff current. This reduces the possibility of directly charging the battery to its rated voltage and fully charging its capacity, thus achieving staged charging of the battery and reducing the occurrence of overcharging, oversaturation, and overheating caused by fully charging the battery.
[0201] Constant voltage charging is performed using the fourth cutoff current of constant voltage charging, and / or constant current charging is performed based on the fourth cutoff voltage of constant current charging.
[0202] After determining the fourth cutoff voltage and / or fourth cutoff current, the battery is charged at a constant current based on the fourth cutoff voltage. Since the fourth cutoff voltage is lower than the third cutoff voltage, after charging the battery to the fourth cutoff voltage, the battery voltage is then charged to the third cutoff voltage. Alternatively, the battery can be charged based on the fourth cutoff current, and since the fourth cutoff current is greater than the third cutoff current, charging continues based on the third cutoff current. Or, the battery can be charged at a constant current based on the fourth cutoff voltage, and after the battery voltage reaches the fourth cutoff voltage, it is charged at a constant voltage based on the fourth cutoff current. Charging stops when the charging current falls below the fourth cutoff current. By using constant current and constant voltage charging methods, more capacity can be added to the battery.
[0203] Step S5026: After charging the battery according to the fourth cutoff voltage and / or the fourth cutoff current, the state of the terminal device can be further detected, namely the fifth usage state, including the third screen-on duration and / or the fourth power consumption. The third screen-on duration is greater than the second screen-on duration, and the fourth power consumption is greater than the third power consumption. It is determined whether the fourth usage state of the terminal device meets the fourth preset usage state. If the fourth usage state of the terminal device meets the fourth preset usage state, the fifth preset charging parameters are determined according to the third screen-on duration and / or the fourth power consumption, including the fifth cutoff voltage and / or the fifth cutoff current. The fifth cutoff voltage is the rated voltage, and the fifth cutoff current is less than the fourth cutoff current.
[0204] Step S5027, then charge the battery according to the fifth cutoff voltage and / or the fifth cutoff current to fully charge the battery.
[0205] In another embodiment, the second charging strategy may include at least one charging sub-strategy, namely at least one usage state and at least one preset charging parameter.
[0206] In another embodiment, the fourth screen-on duration and / or the fifth power consumption, i.e., the sixth usage state, can also be detected. The sixth usage state includes the fourth screen-on duration and the fifth power consumption, where the fourth screen-on duration is longer than the third screen-on duration, and the fifth power consumption is greater than the fourth power consumption. Based on the fourth screen-on duration and / or the fifth power consumption, a sixth cutoff voltage and / or a sixth cutoff current are determined. The sixth cutoff voltage is greater than the fifth cutoff voltage, and the sixth cutoff current is less than the fifth cutoff current. Similarly, the larger the cutoff voltage, the closer it is to the third cutoff voltage; the smaller the cutoff current, the closer it is to the third cutoff current. Finally, the battery is charged according to the third cutoff voltage and / or the third cutoff current to fully charge the battery.
[0207] By determining different cutoff voltages and / or cutoff currents based on the different states of the terminal device, the battery is charged in stages. The cutoff voltage and / or cutoff current for charging the battery can be flexibly adjusted, and more power can be charged into the battery through constant current and constant voltage charging methods.
[0208] In another embodiment, when the third usage state of the terminal device does not meet the second preset usage state, and / or the fourth usage state of the terminal device does not meet the third preset usage state, the start time for charging through the fifth cutoff voltage and / or the fifth cutoff current, the fourth cutoff voltage and / or the fourth cutoff current, and the third cutoff voltage and / or the third cutoff current is determined according to the usage state of the device and the cutoff time of the time interval.
[0209] In another embodiment, a charging device is also provided. (See reference...) Figure 6 The charging device includes:
[0210] The time interval determination module 10 is used to determine the battery charging time interval based on historical charging data.
[0211] The first charging module 20 is used to charge the battery using a first charging strategy within the time interval; the first charging strategy includes first preset charging parameters.
[0212] The power maintenance module 30 is used to acquire the current charging parameters when charging according to the first charging strategy, and maintain the current power of the battery when the current charging parameters reach the first preset charging parameters.
[0213] The start time determination module 40 is used to determine the start time for charging according to the second charging strategy based on the status of the terminal device and the end time of the time interval.
[0214] The second charging module 50 is used to charge the battery using the second charging strategy after the time for maintaining the current battery level reaches the start time, and to fully charge the battery from the current battery level before the end time. Figure 6 The above modules are only shown.
[0215] In another embodiment, the first charging module 20 includes:
[0216] The first preset charging parameter determination module is used to determine the first preset charging parameter;
[0217] The charging unit charges the battery according to the first preset charging parameters and the current charging parameters.
[0218] In another embodiment, the first preset charging parameter determination module is specifically used for:
[0219] The first preset charging parameters are determined based on at least one of the battery attribute data, the historical charging data, and the status information of the terminal device containing the battery.
[0220] In another embodiment, the first preset charging parameters include a first cutoff voltage and / or a first cutoff current; the current charging parameters include the current battery voltage and / or the current charging current.
[0221] The charging unit includes:
[0222] The first charging unit performs constant current charging on the battery according to the first cutoff voltage until the battery voltage reaches the first cutoff voltage.
[0223] And / or,
[0224] The second charging unit performs constant voltage charging on the battery according to the first cutoff current until the current charging current reaches the first cutoff current.
[0225] In another embodiment, the power maintenance module 30 includes:
[0226] The current power level determination unit determines the current power level of the battery when the current charging parameters reach the first preset charging parameters;
[0227] The float charging unit maintains the fluctuation range of the current power level within a preset threshold through floating charging.
[0228] In another embodiment, the second charging module 50 includes:
[0229] The second pre-charge parameter determination unit determines, based on the state of the terminal device, second pre-charge parameters for charging the battery using the second charging strategy; wherein the second pre-charge parameters include: a second cutoff voltage for constant current charging; and / or, a second cutoff current for constant voltage charging.
[0230] The second charging unit charges the battery according to the second preset charging parameters, and fully charges the battery from its current charge level before the cutoff time.
[0231] In another embodiment, the usage state includes: whether the terminal device is in a sleep state when powered on, whether an application is running in the foreground, whether the screen is on, and / or whether the power consumption is high.
[0232] In another embodiment, the time interval determination module 10 includes:
[0233] The first time interval determination unit determines the time interval during which the battery is fully charged based on the time information of the charging interval in the historical charging data.
[0234] or,
[0235] The second time interval determination unit determines the time interval during which the battery is fully charged based on the historical charging data and the deep learning model.
[0236] In another embodiment, the device further includes:
[0237] The first determining unit is used to determine the time for establishing a charging connection;
[0238] The first charging module is further configured to: if the time for establishing the charging connection is within the time interval, determine to charge the battery using the first charging strategy.
[0239] In another embodiment, the device further includes:
[0240] A third charging module is configured to charge the battery according to a third charging strategy if the time for establishing the charging connection is outside the time interval, wherein the third charging strategy is different from the first charging strategy and / or the second charging strategy.
[0241] In another embodiment, an electronic device is also provided, comprising:
[0242] A processor and a memory for storing executable instructions capable of running on the processor, wherein:
[0243] When the processor is used to run the executable instructions, the executable instructions perform the method described in any of the above embodiments.
[0244] In another embodiment, a non-transitory computer-readable storage medium is also provided, wherein computer-executable instructions are stored therein, which, when executed by a processor, implement the method described in any of the above embodiments.
[0245] In another embodiment, a terminal device is also provided, with reference to Figure 7 This is a schematic diagram of the terminal device 1. The terminal device 1 is charged via a charger 11, a charging cable 10, and a charging interface 12 that provides connection and identification functions to the terminal device 1. The terminal device 1 includes:
[0246] Device 1 includes device sensors 3, storage medium 4, system application 5, software framework 6, hardware abstraction layer 7, driver 8, charging module 9, application processor 13, energy management IC 14, and battery 15. System application 5 can be an application in the application layer, including application programs, and storage medium 4 can be memory, etc. System application 5 and storage medium 4 can store charging data of the terminal device over a period of time, such as one week or one month. The application processor 13 performs data analysis and learning to determine the charging time interval T1 to T2. T1 and T2 are not limited to a fixed time but may be time intervals, and T1 and T2 may be adjusted according to changes in user behavior. The charging of battery 15 is further controlled through interaction with energy management IC 14, driver 8, device charger 9, and battery 15. Device sensors 3 may include light sensors, accelerometers, gyroscopes, and / or GPS modules, etc. Interaction between device sensors 3 and AP application processor 13 allows for interruption or further control of the intelligent charging method.
[0247] Figure 8This is a charging curve diagram for a terminal device at night, where a set time interval is defined as nighttime. The horizontal axis represents charging time, and the vertical axis represents battery capacity. The vertical lines on the left and right sides of the graph represent the start and end times of the defined time interval. The time range between the start and end times is the charging time interval, which in this embodiment is the time interval for charging the terminal device as is customary. The vertical line in the middle of the vertical axis represents the start time of a preset charging stage. The battery is charged using a first charging strategy, i.e., a stage where charging is performed according to a first cutoff voltage and / or a first cutoff current, where the first cutoff voltage is V0 and the first cutoff current is I0. The second charging strategy includes: a first charging sub-strategy with a fourth cutoff voltage of V2 and a fourth cutoff current of I2; a second charging sub-strategy with a fifth cutoff voltage of V3 and a fifth cutoff current of I3; and a third charging sub-strategy with a third cutoff voltage of V1 and a third cutoff current of I1, where V1 is the rated voltage of the battery.
[0248] Figure 9 This is a flowchart illustrating a charging method for overnight charging.
[0249] Also refer to Figure 8 and Figure 9 The method includes:
[0250] Obtain historical charging data from the terminal device.
[0251] Based on historical charging data, the charging range is determined. After the terminal device is connected to the charger, it is determined whether the charging time falls within this range. Furthermore, based on the terminal device's current state and a pre-set first condition, it is determined whether the terminal device is in an unused state. The first condition could be, for example, a power consumption less than X1mA or a screen-off time greater than X2min. When the charging connection is established within the time range, and the terminal device meets a first preset usage state based on its current state and the pre-set first condition, the battery is charged using a first charging strategy. This involves charging the battery using a constant current and constant voltage method based on a first cutoff current I0 and a first cutoff voltage V0, and maintaining this charge level after the battery voltage reaches V0. Figure 8 At this point, V0 is 85%. The battery undergoes self-discharge; after losing 1% to 84%, it is charged via float charging to maintain the battery voltage at V0. If the terminal device does not meet the first preset usage state, the nighttime smart charging mode is canceled, and the battery is fully charged.
[0252] After the current battery level is maintained for the start time, the battery is charged using the second charging strategy. The current state of the terminal device is then monitored. Based on the current state of the terminal device and the corresponding set second conditions, the third cutoff voltage V1 and / or the third cutoff current I1 are determined, and it is determined whether to charge the battery based on V1 and I1. Figure 8 The vertical line at the middle position on the vertical axis represents the start time of the second charging strategy.
[0253] After charging the battery according to V0 and / or I0, the current state of the terminal device continues to be monitored, including: continuously monitoring whether the current state of the terminal device has changed and monitoring the duration of the change, including changes in power consumption, screen-on time, and the detection values of the accelerometer and light sensor. When the current state meets the set judgment condition change item, the battery is charged according to V1 and I1 using constant current and constant voltage, that is, charging is performed through the third charging sub-strategy.
[0254] After charging the battery according to V1 and I1, the current state of the terminal device is continuously monitored. When the current state meets the corresponding set conditions, the battery is charged using constant current and constant voltage methods according to V2 and I2, and the charging process is carried out through the first charging sub-strategy. For example, this might involve detecting brief screen activation, changes in the light sensor signal, or app browsing. (Reference) Figure 8 The battery is charged to 90% based on V2 and I2.
[0255] After charging the battery using constant current and constant voltage based on V2 and I2, the current state of the terminal device is continuously monitored. When another certain condition is met, the battery is charged according to V3 and I3, i.e., charging is performed through the second charging sub-strategy. For example, if the screen-on time range meets the condition of the second charging sub-strategy but the power consumption does not increase significantly, it is determined that the terminal device is in use but not performing frequent activities, and the second charging sub-strategy is entered, charging the battery according to V3 and I3. (Reference) Figure 8 The battery is charged to 95% based on V3 and I3. After the second charging electronic strategy ends, it automatically enters the third charging electronic strategy, charging the battery based on V1 and I1, as per [reference]. Figure 8 The battery is charged to 100% based on V1 and I1.
[0256] It should be noted that the terms "first" and "second" in the embodiments of this disclosure are for ease of description and distinction only, and have no other specific meaning.
[0257] Figure 10This is a block diagram illustrating a terminal device according to an exemplary embodiment. For example, the terminal device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0258] Reference Figure 10 The terminal device may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0259] Processing component 802 typically controls the overall operation of the terminal device, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0260] Memory 804 is configured to store various types of data to support operation on the terminal device. Examples of this data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 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 storage, flash memory, magnetic disk, or optical disk.
[0261] Power component 806 provides power to various components of the terminal device. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.
[0262] Multimedia component 808 includes a screen that provides an output interface between a terminal device and a 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0263] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when the terminal device is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0264] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0265] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of the terminal device. For example, sensor assembly 814 can detect the on / off state of the terminal device, the relative positioning of components such as the display and keypad of the terminal device, changes in the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration / deceleration of the terminal device, and temperature changes of the terminal device. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0266] Communication component 816 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0267] In an exemplary embodiment, the terminal device may 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 methods described above.
[0268] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0269] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A charging method, characterized in that, include: Determine the battery charging time range based on historical charging data; During the time interval, the battery is charged using a first charging strategy; The first charging strategy includes a first preset charging parameter; The method for determining the first preset charging parameters includes: determining the first preset charging parameters based on the status information of the terminal device; the status information includes: usage status information and aging status information, the usage status information includes: whether the terminal device is in a sleep state when powered on, whether an application is running in the foreground, the screen is on, power consumption, screen on duration and / or detected touch operations; the aging status information includes: the aging status of the battery in the terminal device and / or the aging status of the motherboard in the terminal device; Obtain the current charging parameters when charging according to the first charging strategy, and maintain the current battery level when the current charging parameters reach the first preset charging parameters; Based on the usage status information of the terminal device and the end time of the time interval, the start time for charging according to the second charging strategy is determined; the start time is the time when the battery is fully charged by the end time when the battery is charged by the second charging strategy, or the time when the battery is fully charged before the time threshold of the end time. After the time for maintaining the current battery level reaches the start time, the battery is charged using the second charging strategy, and the battery is fully charged from the current battery level before the end time.
2. The method according to claim 1, characterized in that, The charging of the battery using the first charging strategy includes: Determine the first preset charging parameters; The battery is charged according to the first preset charging parameters and the current charging parameters.
3. The method according to claim 2, characterized in that, Determining the first preset charging parameters includes: The first preset charging parameters are determined based on at least one of the battery attribute data, the historical charging data, and the status information of the terminal device containing the battery.
4. The charging method according to claim 2, characterized in that, The first preset charging parameters include a first cutoff voltage and / or a first cutoff current; the current charging parameters include the current battery voltage and / or the current charging current. The step of charging the battery according to the first preset charging parameters and the current charging parameters includes: The battery is charged at a constant current according to the first cutoff voltage until the battery voltage reaches the first cutoff voltage. And / or, The battery is charged at a constant voltage according to the first cutoff current until the current charging current reaches the first cutoff current.
5. The charging method according to claim 1, characterized in that, Maintaining the current battery charge level when the current charging parameters reach the first preset charging parameters includes: When the current charging parameters reach the first preset charging parameters, the current battery level is determined; By using floating charging, the fluctuation range of the current power level is maintained within a preset threshold.
6. The charging method according to claim 1, characterized in that, The step of charging the battery using the second charging strategy after the time for maintaining the current battery level reaches the start time, and fully charging the battery from the current battery level before the end time, includes: Based on the state of the terminal device, a second preset charging parameter is determined for charging the battery using the second charging strategy; wherein the second preset charging parameter includes: a second cutoff voltage for constant current charging; and / or, a second cutoff current for constant voltage charging; The battery is charged according to the second preset charging parameters, and the battery is fully charged from the current charge level before the deadline.
7. The charging method according to claim 1, characterized in that, The step of determining the battery charging time interval based on historical charging data includes: Based on the time information of the charging interval in the historical charging data, the time interval during which the battery is fully charged is determined; or, Based on the historical charging data and the deep learning model, the time interval for the battery to be fully charged is determined.
8. The charging method according to claim 1, characterized in that, The method further includes: Determine the time to establish a charging connection; The charging of the battery using the first charging strategy includes: If the time for establishing the charging connection falls within the time interval, the battery is determined to be charged using the first charging strategy.
9. The charging method according to claim 8, characterized in that, The method further includes: If the time for establishing the charging connection is outside the time interval, the battery is charged according to a third charging strategy, wherein the third charging strategy is different from the first charging strategy and the second charging strategy.
10. A charging device, characterized in that, include: The time interval determination module is used to determine the battery charging time interval based on historical charging data. A first charging module is configured to charge the battery using a first charging strategy within the time interval; the first charging strategy includes first preset charging parameters. The method for determining the first preset charging parameters includes: determining the first preset charging parameters based on the status information of the terminal device; the status information includes: usage status information and aging status information, the usage status information includes: whether the terminal device is in a sleep state when powered on, whether an application is running in the foreground, the screen is on, power consumption, screen on duration and / or detected touch operations; the aging status information includes: the aging status of the battery in the terminal device and / or the aging status of the motherboard in the terminal device; A power maintenance module is used to acquire the current charging parameters when charging according to the first charging strategy, and maintain the current power of the battery when the current charging parameters reach the first preset charging parameters. The start time determination module is used to determine the start time for charging according to the second charging strategy based on the usage status information of the terminal device and the end time of the time interval; the start time is the time when the battery is fully charged by the end time when the battery is charged by the second charging strategy, or the time when the battery is fully charged before the time threshold of the end time. The second charging module is used to charge the battery using the second charging strategy after the time for maintaining the current battery level reaches the start time, and to fully charge the battery from the current battery level before the end time.
11. An electronic device, characterized in that, include: A processor and a memory for storing executable instructions capable of running on the processor, wherein: When the processor is used to run the executable instructions, the executable instructions perform the method described in any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, implement the method described in any one of claims 1 to 9.
Citation Information
Patent Citations
Charging method and device
CN105262155A
Battery charging management method and terminal
CN108475935A
Electronic apparatus, charging method, and non-transitory computer readable recording medium
CN110190637A
Electronic apparatus, charging method, and non-transitory computer readable recording medium
US20190267814A1