Charging and discharging control method and electronic equipment
By identifying the charging mode of electronic devices and adjusting the charging and discharging parameters of the energy storage module, the problem of insufficient differentiation of power sources under different power supply modes is solved, thereby improving the charging and discharging efficiency and performance of electronic devices.
Patent Information
- Application Number
- CN202511054293.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2025-10-28
AI Technical Summary
Existing technologies fail to effectively distinguish power sources under different power supply modes, affecting the charging and discharging efficiency and performance parameters of electronic devices.
By acquiring the power receiving parameters of electronic devices within a target time period, identifying the charging mode, and dynamically adjusting the charging and discharging parameters of the energy storage module according to the charging mode, the characteristics and performance requirements of the power supply can be matched.
It improves the working efficiency and lifespan of energy storage modules, enhances energy utilization and the performance of electronic devices, and increases user satisfaction.
Smart Images

Figure CN120855595A_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of charging technology, and in particular to a charging and discharging control method and an electronic device. Background Art
[0002] As the performance of electronic devices continues to improve, the requirements for their power management systems are becoming increasingly complex. This is especially true for electronic devices with different power sources, such as those supporting both traditional adapters and renewable energy sources (like solar power). For this type of electronic device, existing technologies have failed to effectively distinguish the power source under different power supply modes, thus affecting the charging and discharging efficiency and performance parameters of the electronic devices. Summary of the Invention
[0003] In view of this, embodiments of this application provide at least one charging and discharging control method and electronic device.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] On one hand, embodiments of this application provide a charging and discharging control method, including: determining the charging mode of the electronic device based on the power receiving parameters of the electronic device within a target duration; controlling the charging and discharging parameters of the energy storage module of the electronic device based on the charging mode; wherein, under different charging modes, the power supply obtained by the electronic device is different and the charging and discharging strategy of the energy storage module is different.
[0006] On the other hand, embodiments of this application provide an electronic device, including an energy storage module and a battery management system. The battery management system is used to determine the charging mode of the electronic device based on the power receiving parameters of the electronic device within a target duration; and to control the charging and discharging parameters of the energy storage module of the electronic device based on the charging mode. The energy storage module includes at least one battery, and the at least one battery operates according to the charging and discharging parameters. In different charging modes, the power supply obtained by the electronic device is different, and the charging and discharging strategy of the energy storage module is different.
[0007] In this embodiment, by first obtaining the power receiving parameters of the electronic device within a target time period, the charging mode of the electronic device can be intelligently identified. Then, the charging and discharging parameters of the energy storage module are dynamically adjusted according to the charging mode of the electronic device. This allows for precise matching of the characteristics of the power supply corresponding to the charging mode with the performance requirements of the energy storage module. By adapting the charging and discharging parameters of the energy storage module to the charging mode, not only is the working efficiency and lifespan of the energy storage module improved, but also the energy utilization rate of the energy storage module and the performance of the electronic device are enhanced, thereby increasing user satisfaction with the electronic device.
[0008] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this disclosure. Attached Figure Description
[0009] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0010] Figure 1 A schematic diagram of the implementation process of a charge / discharge control method provided in this application embodiment. Figure 1 ;
[0011] Figure 2 A schematic diagram of the composition structure of an electronic device provided in an embodiment of this application;
[0012] Figure 3 This is a schematic diagram of the composition structure of a charging system in a related art, provided as an embodiment of this application;
[0013] Figure 4 A schematic diagram of the implementation process of a charge / discharge control method provided in this application embodiment. Figure 2 . Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0015] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0016] This application provides a charging and discharging control method, such as... Figure 1 As shown, the charge / discharge control method includes steps S110 and S120:
[0017] Step S110: Determine the charging mode of the electronic device based on the power receiving parameters of the electronic device within the target duration;
[0018] Here, the target duration refers to the statistical period for monitoring the power-receiving parameters of the electronic device. This statistical period can be the duration of the monitored electronic device in any usage state, such as the duration of the electronic device in charging state, the duration of the fully charged state, and the duration of simultaneous charging and discharging. For example, the target duration could be 30 minutes, 2 hours, 3 hours, 5 hours, etc. Power-receiving parameters refer to relevant parameters of the electronic device in the charging state, such as accumulated power, number of charging cycles, charging strategy, charging path, etc. In other embodiments, power-receiving parameters can also be charging interface information, charger type, or identification information, etc. An electronic device refers to a device that uses electronic technology to perform a specific function. It is understood that the electronic device has at least an energy storage module, such as a laptop, tablet, mobile phone, AR / VR device, etc.
[0019] In some implementations, the power parameters of the electronic device within a target duration can be determined based on a set data acquisition strategy for the electronic device; wherein, the data acquisition strategy can be real-time acquisition or acquisition triggered by a specific event.
[0020] In one example, when the data acquisition strategy is to trigger acquisition based on a specific event, the electronic device is controlled to acquire power parameters in response to entering the charging state; in response to the electronic device ending the charging state, the acquisition of power parameters by the electronic device is stopped. The power parameters acquired in this process are the power parameters of the electronic device within the target duration.
[0021] In one example, when the data acquisition strategy is real-time acquisition, the first time when the electronic device enters the charging state is acquired; the second time when the electronic device ends the charging state is acquired; from the data acquired in real time by the electronic device, the dataset acquired by the electronic device between the first time and the second time is selected, and this dataset is the power receiving parameters of the electronic device within the target duration.
[0022] In some implementations, the power receiving parameters may include one or more of the following collected by a fuel gauge or other sensor: cumulative power, number of charging cycles, charging power, and charging path.
[0023] In other implementations, the power receiving parameters may also be parameter information that can identify the solar power module such as the adapter or solar panel. In this scenario, the power receiving parameters may also include one or more of the following: charging interface, charger type, and identification information.
[0024] In some implementations, the charging mode of the electronic device within a target duration is determined based on the power receiving parameters.
[0025] In one example, based on the power receiving parameters, the target power source for charging the electronic device is determined; based on the target power source, the charging mode of the electronic device is determined. For example, the target power source for charging the electronic device can be determined by the charging path in the power receiving parameters. Similarly, the target power source for charging the electronic device can be determined by the charging power in the power receiving parameters.
[0026] In one example, based on power-receiving parameters, such as the target charging interface that the electronic device is currently connected to, the charging mode of the electronic device is determined. For instance, by using the charging interface in the power-receiving parameters, the target charging interface that is currently connected can be determined, thereby determining the type of charger that the electronic device is currently using, and ultimately determining the charging mode of the electronic device.
[0027] In this embodiment, the charging mode refers to the state in which the electronic device relies on the power supply to charge within a target duration, where different power supplies correspond to different charging modes.
[0028] In some implementations, when the power supply is an adapter, the charging mode can be a first charging mode.
[0029] In some implementations, when the power supply is a clean energy source such as a solar power module, the charging mode can be a second charging mode.
[0030] In some implementations, when the power source is another device, the charging mode can be a third charging mode. This other device can refer to a device with energy storage capabilities, such as a power bank, a power-generating display, or a docking station.
[0031] Step S120: Control the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode;
[0032] In different charging modes, the power supply obtained by electronic devices is different, and the charging and discharging strategies of energy storage modules are different.
[0033] Here, an energy storage module refers to a module inside an electronic device used to store electrical energy. Charge / discharge parameters refer to parameters that control the charging and discharging behavior of the energy storage module. Power supply refers to the input source that provides electrical energy to the electronic device.
[0034] In some implementations, the energy storage module can be a battery module. In this scenario, the energy storage module can be composed of at least one battery, such as an energy storage module composed of a single battery, an energy storage module composed of two batteries, an energy storage module composed of five batteries, etc.
[0035] In some implementations, the charge and discharge parameters include charging parameters and discharging parameters. The charging parameters include one or more of the following parameters: charging voltage, full charge cutoff current, full charge capacity, and charging power. The discharging parameters include one or more of the following parameters: discharging power, peak power, and discharging priority.
[0036] In some implementations, the power supply may include one or more of the following: an adapter, a solar panel (solar power module), or other equipment.
[0037] In one example, where the power supply includes an adapter, the power supply can be an adapter of different models (power).
[0038] In one example, where the power supply includes other devices, the power supply can be a power bank or other power supply devices. Powering electronic devices through other power supply devices can mean powering electronic devices through a monitor, a laptop, or a dock.
[0039] It is understandable that different charging modes correspond to different power supplies, and different power supplies have different output characteristics. Therefore, it is necessary to adjust the charging and discharging strategies of electronic devices according to the charging mode they are in, in order to improve the energy utilization efficiency of electronic devices. Furthermore, the charging and discharging strategy is used to characterize the charging and discharging logic of electronic devices. That is, different charging modes have different charging and discharging logics, and therefore, the specific parameter values corresponding to the charging and discharging parameters under different charging and discharging logics are different.
[0040] In some implementations, charging and discharging parameters adapted to the charging mode are determined based on the charging mode of the electronic device and the current state of the electronic device.
[0041] In some implementations, the charging and discharging parameters of the energy storage module of the electronic device in that charging mode are determined based on the charging mode of the electronic device and a preset first mapping model. The first mapping model can be a model used to characterize the mapping relationship between the charging mode and the charging and discharging parameters.
[0042] In this embodiment, by first obtaining the power receiving parameters of the electronic device within a target time period, the charging mode of the electronic device can be intelligently identified. Then, the charging and discharging parameters of the energy storage module are dynamically adjusted according to the charging mode of the electronic device. This allows for precise matching of the characteristics of the power supply corresponding to the charging mode with the performance requirements of the energy storage module. By adapting the charging and discharging parameters of the energy storage module to the charging mode, not only is the working efficiency and lifespan of the energy storage module improved, but also the energy utilization rate of the energy storage module and the performance parameters of the electronic device are enhanced, thereby increasing user satisfaction with the electronic device.
[0043] In some embodiments, step S110 above, which determines the charging mode of the electronic device based on the power parameters of the electronic device within a target duration, includes at least one of the following steps: S111 and S112.
[0044] Step S111: Monitor the power supplied by different power sources to the electronic device within the target duration, and determine the charging mode of the electronic device based on the comparison results between the power supplied by different power sources.
[0045] Here, the power supply refers to the cumulative power supplied to the energy storage module by each power source, usually measured in milliampere-hours (mAh) or watt-hours (Wh).
[0046] In some implementations, during the charging process of an electronic device, the cumulative charging power of the electronic device from different power sources within a target duration (such as 30 minutes or 3 hours) can be obtained; for example, the cumulative charging power from the first power source and the cumulative charging power from the second power source detected by the battery gauge of the electronic device within the target duration can be counted separately.
[0047] In some implementations, the power supply mode corresponding to the larger value among the power supplies from different power sources is determined as the charging mode of the electronic device.
[0048] In one example, the power supplied by the adapter is determined as the first accumulated power; the power supplied by the solar panel is determined as the second accumulated power. If the first accumulated power is greater than the second accumulated power, the charging mode of the electronic device is determined to be the charging mode corresponding to the adapter; or, if the first accumulated power is less than or equal to the second accumulated power, the charging mode of the electronic device is determined to be the charging mode corresponding to the solar panel.
[0049] In some implementations, the electronic device uses a battery management system and a system charging management chip to work together to monitor and manage the power supply of different power sources obtained by the electronic device within a target duration.
[0050] In one example, the electronic device can identify whether the electronic device is connected to an adapter through the system charging management chip, and determine the current charging mode for charging the electronic device based on the identification result. Then, the power currently received by the electronic device is summed with the historical accumulated power of the current charging module to obtain the power supply power corresponding to the current charging mode.
[0051] Step S112: Obtain the number of times the energy storage module of the electronic device is fully charged within the target time period, and determine the charging mode of the electronic device based on the comparison results between the number of times the energy storage module is fully charged under different power supplies.
[0052] Here, the number of full charge capacity cycles refers to the number of times the energy storage module completes a full charging cycle. That is, when the battery is fully charged from a low charge state (such as 0%) to 100% or other full charge capacity (such as 90% or 80%), this process is counted as one full charge capacity cycle.
[0053] In some implementations, if the energy storage module is detected to be fully charged once within the target duration, the charging count of the corresponding power supply is incremented by 1 until the target duration is reached. The number of times the energy storage module is fully charged under each power supply within the target duration is then counted.
[0054] In some implementations, the amount of electricity supplied by different power sources to the electronic device within a target duration is monitored; the amount of electricity supplied is divided by the full charge capacity of the energy storage module to obtain the number of full charge times for different power sources.
[0055] In some implementations, the power supply mode corresponding to the larger value among the number of full charge capacity cycles of different power supplies is determined as the charging mode of the electronic device.
[0056] In one example, the number of times the power supply is the adapter and the full charge capacity is determined as the first charging number; the number of times the power supply is the solar panel and the full charge capacity is determined as the second charging number. If the first charging number is greater than the second charging number, the charging mode of the electronic device is determined to be the charging mode corresponding to the adapter; or, if the first charging number is less than or equal to the second charging number, the charging mode of the electronic device is determined to be the charging mode corresponding to the solar panel.
[0057] In this embodiment, by comparing the power supplied by different power sources and / or the number of full-charge cycles under different power sources, the main charging mode currently used by the electronic device can be determined, thereby enabling the evaluation of the user's charging behavior and preferences, and providing a basis for adjusting the charging and discharging parameters of the energy storage module in the future.
[0058] In some embodiments, in step S111, determining the charging mode of the electronic device based on a comparison of the power supplied by different power sources includes at least one of the following steps S1110 to S1113:
[0059] Step S1110: If the amount of electricity supplied by the mains power source to the electronic device within the target duration is greater than the amount of electricity supplied by the solar power source, determine that the electronic device is in the first charging mode when connected to the adapter.
[0060] Here, mains power refers to AC power supplied from the city's power grid. The first charging mode refers to the mode where the adapter is connected to the mains power source and the electronic device, and the electronic device is charged using the mains power.
[0061] It is understandable that the amount of electricity supplied by the electronic device from the mains power source within the target duration is greater than the amount of electricity supplied by the solar power source. This can be determined by the user's charging preference for the electronic device and / or by the user's usage location for the electronic device. The first charging mode is suitable for locations with a stable mains power source, such as offices and libraries.
[0062] Step S1111: If the amount of electricity supplied by the electronic device from the solar power source is greater than the amount of electricity supplied by the mains power source within the target duration, determine that the electronic device is in the second charging mode of charging using the solar power source.
[0063] Here, solar power is a clean energy form that collects ambient light energy by using solar panels (solar charging modules) integrated on electronic devices or solar charging modules (solar panels) connected externally to electronic devices, and converts the collected ambient light energy into electrical energy. The second charging mode refers to the mode of using solar panels or solar charging modules to convert the collected ambient light energy into electrical energy and then charging the electronic devices.
[0064] It is understandable that the amount of electricity supplied by solar power to electronic devices within the target duration is greater than the amount supplied by mains power. This can be determined by the user's charging preference for the electronic devices and / or the user's choice of where the electronic devices are used. The second charging mode is suitable for outdoor locations without mains power access, such as grasslands and parks.
[0065] Step S1112: If the amount of power supplied by the first power supply device to the electronic device is greater than the amount of power supplied by the solar power source within the target duration, determine that the electronic device is in the third charging mode of charging using the first power supply device.
[0066] Here, the first power supply device can refer to other devices with energy storage and power supply functions besides the adapter, such as power banks, portable power banks, and laptops. The third charging mode refers to the mode of charging electronic devices using other devices with energy storage and power supply functions.
[0067] It is understandable that the amount of electricity supplied by the first power source to the electronic device within the target duration is greater than the amount of electricity supplied by the solar power source. This can be determined by the user's charging preference for the electronic device and / or by the user's usage location of the electronic device. Among these, the third charging mode is suitable for locations without mains power access and with poor lighting conditions, such as vehicles and caves.
[0068] In some implementations, if the electronic device receives more power from the first power supply than from the solar power supply and the mains power supply within a target duration, the electronic device is determined to be in a third charging mode where it is charged using the first power supply.
[0069] Step S1113: If the amount of power supplied by the solar power source to the electronic device within the target duration is greater than the amount of power supplied by the first power source, determine that the electronic device is in the second charging mode of charging using solar power.
[0070] In some implementations, if the amount of power supplied by the solar power source to the electronic device within a target duration is greater than the amount of power supplied by the first power supply device and the amount of power supplied by the mains power source, the electronic device is determined to be in a second charging mode that utilizes solar power for charging.
[0071] In this embodiment, a comparison logic for the power supply between different power sources, including mains power, solar power, and other power supply devices, is described. This logic can determine the user's usage scenario or charging preference for the electronic device, thereby adapting the determined charging mode of the electronic device to the user's usage scenario or charging preference, and improving the user's satisfaction with the electronic device.
[0072] In some embodiments, determining the charging mode of the electronic device based on a comparison of the number of full-charge capacity cycles under different power supplies includes at least one of the following steps S1114 to S1117:
[0073] Step S1114: If the number of full-charge capacity counts of the energy storage module under mains power is greater than the number of full-charge capacity counts under solar power, determine that the electronic device is in the first charging mode when connected to the adapter.
[0074] Step S1115: If the number of full-charge capacity times of the energy storage module under solar power is greater than the number of full-charge capacity times under AC power, determine that the electronic device is in the second charging mode using solar power.
[0075] Step S1116: If the number of full-charge capacity times of the energy storage module under the first power supply device is greater than the number of full-charge capacity times under the solar power supply, determine that the electronic device is in the third charging mode of charging using the first power supply device.
[0076] In some implementations, if the number of times the energy storage module is fully charged under the first power supply is greater than the number of times it is fully charged under solar power and the number of times it is fully charged under mains power, the electronic device is determined to be in a third charging mode using the first power supply.
[0077] Step S1117: If the number of full-charge capacity times of the energy storage module under solar power is greater than the number of full-charge capacity times under the first power supply device, determine that the electronic device is in the second charging mode using solar power.
[0078] In some implementations, if the number of times the energy storage module is fully charged under solar power is greater than the number of times it is fully charged under the first power supply and the number of times it is fully charged under mains power, the electronic device is determined to be in a second charging mode using solar power.
[0079] In this embodiment of the application, the comparison logic of the number of full charge cycles between different power sources, including mains power, solar power and other power supply equipment, is described. This can obtain the user's usage scenario or charging preference for the electronic device, thereby making the determined charging mode of the electronic device match the user's usage scenario or charging preference, and improving the user's satisfaction with the electronic device.
[0080] In some embodiments, step S110 above, which determines the charging mode of the electronic device based on the power parameters of the electronic device within a target duration, includes at least one of the following steps S113 to S115:
[0081] Step S113: Obtain the percentage of power received by the electronic device within the target duration, and determine the charging mode of the electronic device based on the percentage of power received;
[0082] Here, the power receiving ratio refers to the proportion of the charging time of the input power of different power supplies within the target time, that is, the proportion of the working time of different power supplies; in other embodiments, it can also be the proportion of the input power of each power supply to the total input power in the scenario where different power supplies supply power at the same time.
[0083] It's understandable that different power supplies have different output characteristics and corresponding power supply capabilities, resulting in different power outputs. Different power outputs correspond to different charging speeds; that is, within the same time frame, a higher power output allows more energy to be input into the energy storage module. Therefore, the primary power supply can be determined based on the proportion of power received by the electronic device within a target duration, thus determining the charging mode of the electronic device. For example, when charging an electronic device using an adapter, power bank, and solar panel, if the adapter provides 40W, the solar panel provides 10W, and the power bank provides 30W, then the adapter's power input accounts for 50%, the solar panel's for 12.5%, and the power bank's for 37.5%. In this scenario, the electronic device is in the first charging mode.
[0084] Step S114: Obtain the charging path information of the energy storage module of the electronic device, and determine the charging mode of the electronic device based on the charging path information.
[0085] Here, charging path information refers to the path that electrical energy takes from the power supply to the energy storage module.
[0086] In this embodiment, charging path information corresponding to the access information of the power supply within a target time period is determined. This access information includes, but is not limited to, one or more of the following: device information, power supply information, device type information, communication protocol information, charging interface information, and electronic device information.
[0087] In some implementations, the charging path information of the power supply corresponding to the charging interface is determined based on the charging interface connected to the power supply within the target duration.
[0088] In one example, if the power supply of an electronic device includes a solar panel and an adapter, and the charging interfaces corresponding to the solar panel and the adapter are different, then by identifying the charging interface of the electronic device, it can be determined that the electronic device uses a solar panel and / or an adapter for power supply. Thus, by using preset path information, the charging path information corresponding to the solar panel and / or the charging path information corresponding to the adapter can be determined.
[0089] Understandably, in this scenario, the charging interface of the power supply that powers the electronic device is different.
[0090] In some implementations, the type of power supply corresponding to the electronic device is determined based on the electronic devices through which electrical energy from the power supply enters the electronic device within a target duration; and the charging path information corresponding to the power supply type is determined.
[0091] In one example, if the power supply of the electronic device includes a solar panel and an adapter, the electronic device corresponding to the solar panel is a maximum power point tracking circuit, and the electronic device corresponding to the adapter is a filter capacitor, then when the power passes through the maximum power point tracking circuit, the charging mode for charging the electronic device is determined to be the second charging mode; when the power passes through the filter capacitor, the charging mode for charging the electronic device is determined to be the first charging mode.
[0092] Understandably, in this scenario, the electronic components that power the electronic devices may differ.
[0093] In some implementations, based on the charging interface accessed by the power supply within the target duration and the electronic devices through which the electrical energy from the power supply enters the electronic device, the power supply type corresponding to the electronic device is determined; and the charging path information corresponding to the power supply type is determined.
[0094] Understandably, in this scenario, by verifying both the charging interface and the electronic devices through which the power flows, the accuracy of the charging path information corresponding to the power supply can be improved.
[0095] In some implementations, based on the communication protocol information of the power supply within the target duration, the power supply type corresponding to the communication protocol information is determined; and the charging path information corresponding to the power supply type is determined.
[0096] Understandably, in this scenario, different power supplies use different communication protocols to communicate with electronic devices.
[0097] In some implementations, based on the power supply information of the power supply within the target duration, the power supply type corresponding to the power supply information is determined; and the charging path information corresponding to the power supply type is determined.
[0098] In one example, if the power supply of an electronic device includes a solar panel and an adapter, and the solar panel and adapter have different power outputs, then the power supply type corresponding to that power output is determined by matching the power output of the electronic device with a preset first mapping table. The first mapping table represents the various power supplies supported by the electronic device and the mapping relationship between the power outputs of each power supply.
[0099] Step S115: Obtain the power information of the power supply connected to the electronic device and / or the percentage of power supply time of different power supplies within the target duration, and determine the charging mode of the electronic device based on the power information and / or the percentage of power supply time.
[0100] Here, the power supply duration percentage refers to the proportion of the total time during which different power supplies provide power to electronic devices within the target duration.
[0101] In some implementations, the power information may include device information of the power supply equipment, wherein the device information may include, but is not limited to, one or more of the following: device model, device type, and device identification information.
[0102] In some implementations, the charging mode of the electronic device is determined based on power information.
[0103] In one example, the charging path information corresponding to the power information is obtained; the charging mode of the electronic device is determined based on the charging path information.
[0104] In one example, the power received corresponding to the power information is determined from a preset second mapping table; based on the power received, the power received ratio corresponding to the power information is determined; and based on the power received ratio, the charging mode of the electronic device is determined.
[0105] In some implementations, the power supply duration of each power information within a target duration is obtained; based on the power supply duration of each power information within the target duration, the power supply duration percentage corresponding to each power information is determined; and based on the power supply duration percentage, the charging mode of the electronic device is determined.
[0106] In one example, an electronic device is charged using an adapter, a power bank, and a solar panel. If the adapter provides 60 minutes of power, the solar panel provides 30 minutes, and the power bank provides 10 minutes, then the power received by the adapter accounts for 60%, the power received by the solar panel accounts for 30%, and the power received by the power bank accounts for 10%. In this scenario, the electronic device is in the first charging mode.
[0107] It is understandable that the longer the power supply duration of different power sources to electronic devices, the more electrical energy they input into the energy storage module. Therefore, the main power source can be determined based on the proportion of the power supply duration of different power sources to the target duration, thereby determining the charging mode of the electronic device.
[0108] In this embodiment, the charging mode of the electronic device is determined by multiple parameters such as the percentage of power received, the charging path information of the energy storage module, and the power supply information and the percentage of power supply duration. This achieves a more refined system for judging the charging mode, which has greater flexibility and adaptability compared to a single parameter judgment method.
[0109] In some embodiments, step S120 above, which controls the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode, includes at least one of the following steps S121 to S123:
[0110] Step S121: When the electronic device is in the first charging mode, control the energy storage module to have at least one of the following: first charging voltage, first full charge cutoff current, first full charge capacity, first discharge power, or first peak power;
[0111] In some implementations, when the electronic device is in a first charging mode, a charging and discharging strategy corresponding to the first charging mode is obtained; based on the charging and discharging strategy, charging and discharging parameters corresponding to the first charging mode are determined.
[0112] It is understood that the charging and discharging parameters corresponding to the first charging mode include at least one of the following: a first charging voltage, a first full-charge cutoff current, a first full-charge capacity, a first discharge power, or a first peak power. Specifically, controlling the first charging voltage of the energy storage module can adjust the charging rate of the energy storage module, such as supplying power via 1C, 1.5C, or 2C; setting the first full-charge cutoff current can adjust the charging time and full-charge capacity of the electronic device; and setting the first full-charge capacity can adjust the energy capacity charged by the adapter. This prevents overcharging of the energy storage module, which could lead to damage to the energy storage module.
[0113] In some implementations, the first charging mode charges the electronic device using AC power. This means that users may incur charging costs while charging the electronic device. Therefore, to reduce users' charging costs, the first full charge capacity corresponding to the first charging mode can be reduced.
[0114] In addition, considering the significant difference between the adapter power and the charging power of the solar power module, in order to ensure that the battery's power received within a relatively stable range over the target duration, the charging voltage to the energy storage module can be appropriately reduced in the first charging mode corresponding to the adapter, thereby appropriately reducing the charging rate and charging power of the energy storage module; in the second charging mode corresponding to the solar power module, the charging voltage to the energy storage module can be appropriately increased, thereby appropriately increasing the charging rate and charging power of the energy storage module, ensuring the health of the energy storage module and extending its lifespan.
[0115] Furthermore, since the charging mode using AC power and adapters results in higher charging efficiency and power input, electronic devices can achieve stronger performance release. Therefore, the peak power of the energy storage module (battery) can be increased to support the stronger performance release of electronic devices.
[0116] Step S122: When the electronic device is in the second charging mode, control the energy storage module to have at least one of the following: second charging voltage, second full charge cutoff current, second full charge capacity, second discharge power, or second peak power;
[0117] In some implementations, when the electronic device is in a second charging mode, a charging and discharging strategy corresponding to the second charging mode is obtained; based on the charging and discharging strategy, charging and discharging parameters corresponding to the second charging mode are determined.
[0118] It is understood that the charging and discharging parameters corresponding to the second charging mode include at least one of the following: a second charging voltage, a second full-charge cutoff current, a second full-charge capacity, a second discharge power, or a second peak power. Specifically, controlling the second charging voltage of the energy storage module can adjust the charging rate of the energy storage module, such as supplying power through 0.5C, 1C, or 3C; setting the second full-charge cutoff current can adjust the charging time and full-charge capacity of the electronic device; and setting the second full-charge capacity can adjust the energy capacity charged by the solar power module. This prevents overcharging of the energy storage module, thus avoiding damage to the energy storage module.
[0119] In some implementations, the second charging mode charges electronic devices using solar power, which is a green power source. This means that users do not incur charging costs while charging electronic devices. Therefore, to reduce users' charging costs, the second full charge capacity corresponding to the second charging mode can be increased.
[0120] In addition, considering the significant difference between the adapter power and the charging power of the solar power module, in order to ensure that the battery's power received within a relatively stable range over the target duration, the charging voltage to the energy storage module can be appropriately reduced in the first charging mode corresponding to the adapter, thereby appropriately reducing the charging rate and charging power of the energy storage module; in the second charging mode corresponding to the solar power module, the charging voltage to the energy storage module can be appropriately increased, thereby appropriately increasing the charging rate and charging power of the energy storage module, ensuring the health of the energy storage module and extending its lifespan.
[0121] Furthermore, in the second charging mode where the solar power module is charging, the strength of the solar power depends on the current environment of the electronic device. In other words, the input of the solar power is unstable, which results in lower charging efficiency and power input power in the second charging mode. The performance release capability of the electronic device is lower than that in the first charging mode. Therefore, the peak power of the energy storage module (battery) can be reduced to match the performance release capability of the electronic device in the second charging mode.
[0122] Step S123: When the electronic device is in the third charging mode, control the energy storage module to have at least one of the following: third charging voltage, third full charge cutoff current, third full charge capacity, third discharge power, or third peak power.
[0123] Among them, the first charging voltage is greater than the second charging voltage, the first full charge cutoff current is greater than the second full charge cutoff current, the first full charge capacity is less than the second full charge capacity, the first discharge power is greater than the second discharge power, or the first peak power is greater than the second peak power.
[0124] In some implementations, when the electronic device is in a third charging mode, a charging and discharging strategy corresponding to the third charging mode is obtained; based on the charging and discharging strategy, charging and discharging parameters corresponding to the third charging mode are determined.
[0125] It is understandable that the first full charge capacity being less than the second full charge capacity is related to the characteristics of the input sources for the first and second charging modes. The input source for the first charging mode is AC power, while the input source for the second charging mode is solar power. Setting the first full charge capacity to be less than the second full charge capacity not only improves the utilization rate of green energy but also reduces the charging costs for electronic devices. Furthermore, since the first charging mode uses a stable AC power source and the second charging mode uses an unstable solar power source, by setting the first charging voltage to be greater than the second charging voltage, the first full charge cutoff current to be greater than the second full charge cutoff current, the first discharge power to be greater than the second discharge power, and the first peak power to be greater than the second peak power, the first charging mode enables rapid charging and high-efficiency output of electronic devices, while the second charging mode enables sustainable power supply and output for electronic devices.
[0126] In some implementations, the charging and discharging parameters corresponding to the third charging mode can be greater than or less than the charging and discharging parameters corresponding to the second charging mode. That is, the third charging voltage can be greater than or less than the second charging voltage, the third full-charge cutoff current can be greater than or less than the second full-charge cutoff current, the third full-charge capacity can be greater than or less than the second full-charge capacity, the third discharge power can be greater than or less than the second discharge power, and the third peak power can be greater than or less than the second peak power.
[0127] In one example, the electronic device is in a vehicle environment where the lighting inside the vehicle is poor. Therefore, in order to achieve fast battery charging, the third full charge capacity can be set to be greater than the second full charge capacity.
[0128] In one example, when the electronic device is in an outdoor environment, such as a grassland, where the outdoor lighting is strong, the third full charge capacity can be set to be less than the second full charge capacity in order to improve the utilization rate of green energy.
[0129] In this embodiment, differentiated charging and discharging parameters are set for different charging modes to match the operating state of the energy storage module with the current power supply conditions. This can effectively improve the charging efficiency of electronic devices, optimize the overall energy management capabilities of electronic devices, and further enhance the user experience in various power supply environments.
[0130] In some embodiments, step S120, which controls the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode, includes one of steps S124 and S125:
[0131] Step S124: Obtain the power difference between the power supplied by the electronic device under different power supplies, and control the charging and discharging parameters of the energy storage module based on the charging mode of the electronic device and the threshold range of the power difference.
[0132] In some implementations, the charging mode of the electronic device is determined based on the difference in battery power.
[0133] In one example, when the electronic device includes both mains power and solar power, the difference between the power supplied by the mains power and the power supplied by the solar power is calculated to obtain a power difference value. If the power difference value is greater than 0, the charging mode of the electronic device is determined to be a first charging mode; or if the power difference value is less than 0, the charging mode of the electronic device is determined to be a second charging mode.
[0134] In some implementations, a parameter adjustment amount corresponding to the power difference and the charging mode of the electronic device is retrieved from a preset third mapping table; the charging and discharging parameters are then adjusted based on this parameter adjustment amount. The third mapping table represents the mapping relationship between different power differences and different charging modes and the parameter adjustment amount; this parameter adjustment amount is the threshold range of the power difference.
[0135] In some implementations, a difference level identifier is determined based on the power difference and the unit of measurement for the difference level; based on the difference level identifier and a preset fourth mapping table, the parameter adjustment amount corresponding to the charging mode of the electronic device is determined; and the charging and discharging parameters are adjusted based on the parameter adjustment amount. The fourth mapping table represents the mapping relationship between different difference level identifiers and different charging modes and the parameter adjustment amount; this parameter adjustment amount is the threshold range of the power difference.
[0136] In one example, where the electronic device includes both mains power and solar power, and the difference between the power supplied by the mains power and the power supplied by the solar power is 20, and the difference level is measured in units of 10, then the difference level is identified as 2.
[0137] It should be noted that different power differences in this application correspond to different parameter adjustment amounts. The larger the power difference, the greater the difference between the current charging and discharging parameters of the electronic device and the charging and discharging parameters corresponding to the charging mode of the electronic device. Therefore, when adjusting the charging and discharging parameters, the adjustment amount of the charging and discharging parameters should be larger.
[0138] Step S125: Obtain the difference between the number of charge and discharge cycles of the electronic device under different power supplies, and control the charging and discharging parameters of the energy storage module based on the charging mode of the electronic device and the threshold range of the difference in the number of cycles.
[0139] In some implementations, a parameter adjustment amount corresponding to the difference in number of charges and the charging mode of the electronic device is found from a preset fifth mapping table; the charging and discharging parameters are then adjusted based on this parameter adjustment amount. The fifth mapping table represents the mapping relationship between different differences in number of charges and different charging modes and the parameter adjustment amount; this parameter adjustment amount is the threshold range within which the difference in number of charges falls.
[0140] In some implementations, a frequency difference level identifier is determined based on the frequency difference and the frequency difference level measurement unit; based on the frequency difference level identifier and a preset sixth mapping table, the parameter adjustment amount corresponding to the charging mode of the electronic device is determined; and the charging and discharging parameters are adjusted based on the parameter adjustment amount. The sixth mapping table represents the mapping relationship between different frequency difference level identifiers and different charging modes and the parameter adjustment amount; this parameter adjustment amount is the threshold range of the power difference.
[0141] In one example, when the electronic device includes both mains power and solar power, if the difference between the number of charge / discharge cycles of the mains power and the number of charge / discharge cycles of the solar power is 1, and the unit of measurement for the difference is 1, then the difference level is identified as 1; if the difference is 3, then the corresponding level is identified as 2 or 3.
[0142] It should be noted that in this application, different differences in the number of times correspond to different parameter adjustment amounts. The larger the difference in the number of times, the greater the difference between the current charging and discharging parameters of the electronic device and the charging and discharging parameters corresponding to the charging mode in which the electronic device is located. Therefore, when adjusting the charging and discharging parameters, the adjustment amount of the charging and discharging parameters should be larger.
[0143] In this embodiment, the introduction of power difference and / or number of times difference enables the adjustment of charging and discharging parameters of electronic devices, thereby achieving fine control of the charging and discharging parameters of energy storage modules and improving the energy efficiency and battery life of electronic devices in complex charging environments.
[0144] In some embodiments, step S120 above, which controls the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode, includes one of steps S126 to S129:
[0145] Step S126: Obtain the configuration information of the energy storage module of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the configuration information and the charging mode of the electronic device;
[0146] In some implementations, the configuration information may include one or more of the following: battery model, capacity, output power, specifications, number of batteries, and battery connection method; wherein the battery connection method may be a series connection, a parallel connection, or a combination of series and parallel connection.
[0147] It is understandable that the configuration information of the energy storage module can be used to obtain the performance parameters and electrical connection mode of the energy storage module. By considering the performance parameters and / or electrical connection mode of the energy storage module, the charging and discharging strategy of the target energy storage module can be dynamically adjusted to avoid problems such as overcharging, over-discharging, and thermal runaway.
[0148] In some implementations, the target energy storage module may refer to an energy storage module used to adjust charge and discharge parameters. It is understood that the energy storage module includes at least one battery, that is, the target energy storage module may refer to the battery in the energy storage module used to adjust charge and discharge parameters.
[0149] In some implementations, the target energy storage module can be determined based on the charging mode of the electronic device.
[0150] In one example, the target energy storage module is determined based on a preset ratio corresponding to the charging mode of the electronic device.
[0151] For example, if the energy storage module includes 4 batteries, the preset ratio corresponding to the first charging mode is 50%. If the electronic device is in the first charging mode, then the number of batteries corresponding to the target energy storage module is 2.
[0152] In some implementations, the target energy storage module can be determined based on the user's usage scenario.
[0153] In one example, the target energy storage module is determined based on the proportion of users using electronic devices.
[0154] For example, if the energy storage module includes 10 batteries, the proportion of outdoor scenarios is 70%. If the electronic device is in the first charging mode, then the target energy storage module corresponds to 3 batteries.
[0155] In some implementations, the target energy storage module can be determined based on the user's usage habits.
[0156] In one example, the frequency of a user's use of different charging power sources is obtained; based on this frequency of use, the target energy storage module is determined.
[0157] For example, if the energy storage module includes 10 batteries, and the user uses the solar power 20% of the time, and the electronic device is in the second charging mode, then the target energy storage module corresponds to 2 batteries.
[0158] In some implementations, the target energy storage module can be selected by the user via the operation panel of an electronic device.
[0159] In one example, the user sets the allocation ratio of the target energy storage module through the operation panel.
[0160] In one example, the user selects the target energy storage module from the energy storage modules via the operation panel.
[0161] Step S127: Obtain the load information of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the load information and the charging mode of the electronic device.
[0162] Here, load information can refer to the hardware load on an electronic device that requires power.
[0163] In some implementations, hardware load may include application loads running on the electronic device, and / or device loads connected to the electronic device that require power from the electronic device, such as mobile phones, mice, keyboards, etc.
[0164] It is understandable that electronic devices consume different amounts of power depending on their load state. For example, in standby mode, the load is low and the power consumption is slow. In this scenario, the charging and discharging parameters of the target energy storage module can be reduced. In operating mode, the power consumption is slow, while in high-load mode, the power consumption is fast. In this scenario, to ensure stable operation of the electronic device, the charging and discharging parameters of the target energy storage module can be increased.
[0165] Step S128: Obtain the usage scenario of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the usage scenario and the charging mode of the electronic device;
[0166] Here, the usage scenario can refer to the environment in which the user uses the electronic device, such as the office, vehicle, or outdoor environment.
[0167] Understandably, different usage scenarios have different requirements for the performance of the target energy storage module. For example, in outdoor environments, users may want to extend the battery life of electronic devices and can prioritize energy-saving charging strategies. In this scenario, the charging and discharging parameters of the target energy storage module can be reduced to minimize power loss in the electronic devices. In office environments, to meet users' high-performance needs for electronic devices, the charging and discharging parameters of the target energy storage module can be increased to improve its charging rate, ensuring that the electronic devices always maintain the high-performance requirements of the users.
[0168] Step S129: Obtain user profile information of the target user, and control the charging and discharging parameters of the target energy storage module based on the user profile information and the charging mode of the electronic device;
[0169] The target energy storage module is at least one energy storage module of the electronic device.
[0170] Here, user profile information includes data such as user usage habits, preference settings, and historical charging behavior.
[0171] In some implementations, a first processing model is used to perform reasoning processing on the historical charging information of the electronic device to obtain user profile information of the target user.
[0172] It is understandable that different users have different charging needs for their devices. For example, for users who prefer frequent short-term charging, the charging and discharging parameters of the target energy storage module can be increased; for users who prefer long-term full charging, the charging and discharging parameters of the target energy storage module can be reduced. This method allows for the customization of personalized charging strategies for target users, enabling electronic devices to have a higher level of intelligent battery management and stronger human-centered features.
[0173] In this embodiment, by obtaining personalized factors such as configuration information, load information, usage scenarios, and user profile information, and combining them with the current charging mode to control the charging and discharging parameters of the target energy storage module, more refined and intelligent battery management is achieved, further improving the overall user experience.
[0174] This application provides an electronic device, such as... Figure 2 As shown, the electronic device 200 includes an energy storage module 220 and a battery management system 210, wherein,
[0175] The battery management system 210 is used to determine the charging mode of the electronic device based on the power receiving parameters of the electronic device within a target duration; and to control the charging and discharging parameters of the energy storage module of the electronic device based on the charging mode.
[0176] Energy storage module 220 includes at least one battery, which operates according to charge and discharge parameters;
[0177] In different charging modes, the power supply obtained by electronic devices is different, and the charging and discharging strategies of energy storage modules are different.
[0178] Here, the Battery Management System (BMS) is the core electronic system used to monitor, protect, and manage the battery pack.
[0179] In some implementations, a BMS typically consists of two parts: hardware circuitry and control components. The hardware circuitry includes sensors, control units, communication interfaces, and actuators, while the control components encompass algorithm models and logic control programs.
[0180] In some implementations, the control component in the BMS is used to determine the charging mode of the electronic device based on the power receiving parameters of the electronic device within a target duration; and to control the charging and discharging parameters of the energy storage module of the electronic device based on the charging mode; wherein, under different charging modes, the power supply obtained by the electronic device is different and the charging and discharging strategy of the energy storage module is different.
[0181] In some embodiments, the electronic device further includes a system charging management chip and a solar power module; wherein,
[0182] The system charging management chip is used to identify whether the electronic device is connected to the adapter, so as to configure the power obtained by the electronic device to come from the adapter and / or from the solar charging module;
[0183] If the amount of electricity supplied by the electronic device through the mains power source via the adapter is greater than the amount of electricity supplied by the solar power source via the solar charging module within a target duration, the electronic device is determined to be in a first charging mode when the adapter is connected.
[0184] If the amount of power supplied by the solar energy obtained by the electronic device through the solar charging module within a target duration is greater than the amount of power supplied by the mains power obtained through the adapter, the electronic device is determined to be in a second charging mode using the solar charging module.
[0185] Here, the system charging management chip is the core circuit module used to control and manage the charging process of electronic devices. The solar power supply is a renewable energy input module composed of environmental harvesting components and energy conversion components, capable of providing power to electronic devices via solar energy when there is no mains power connection.
[0186] In some implementations, the main functions of the system charging management chip include identifying the type of charging source (such as an adapter or solar power) and working in conjunction with the battery management system to achieve efficient and safe charging management.
[0187] In some implementations, after the adapter is connected to the electronic device, the system charging management chip, upon recognizing the adapter connection, sets the charging port identifier for the adapter type to 1 and sends this information to the battery management system. Thus, upon receiving the charging port identifier, the battery management system determines that the electronic device is currently being charged via the adapter.
[0188] In some implementations, the adapter includes a power conversion component for converting the input AC mains power into a stable DC power required by the electronic device.
[0189] In some implementations, the system charging management chip is also used to charge electronic devices via an adapter.
[0190] In some implementations, the system charging management chip is also used to charge the electronic device via its own solar panel or an external solar charging module.
[0191] In some embodiments, the battery management system 210 is configured to: monitor the amount of electricity supplied by different power sources to the electronic device within a target duration, and determine the charging mode of the electronic device based on the comparison results between the electricity supplied by different power sources; obtain the number of times the energy storage module of the electronic device is fully charged within the target duration, and determine the charging mode of the electronic device based on the comparison results between the number of times the energy storage module is fully charged under different power sources.
[0192] In some embodiments, the battery management system 210 is configured to: determine that the electronic device is in a first charging mode when connected to an adapter if the amount of power supplied by the mains power source within a target duration is greater than the amount of power supplied by the solar power source; determine that the electronic device is in a second charging mode using solar power if the amount of power supplied by the solar power source within a target duration is greater than the amount of power supplied by the mains power source; determine that the electronic device is in a third charging mode using the first power source if the amount of power supplied by the first power source within a target duration is greater than the amount of power supplied by the solar power source; and determine that the electronic device is in a second charging mode using solar power if the amount of power supplied by the solar power source within a target duration is greater than the amount of power supplied by the first power source.
[0193] In some embodiments, the battery management system 210 is configured to: determine that the electronic device is in a first charging mode when connected to an adapter if the number of times the energy storage module is fully charged under AC power is greater than the number of times it is fully charged under solar power; determine that the electronic device is in a second charging mode using solar power if the number of times the energy storage module is fully charged under solar power is greater than the number of times it is fully charged under AC power; determine that the electronic device is in a third charging mode using the first power supply if the number of times the energy storage module is fully charged under a first power supply is greater than the number of times it is fully charged under solar power; and determine that the electronic device is in a second charging mode using solar power if the number of times the energy storage module is fully charged under solar power is greater than the number of times it is fully charged under the first power supply.
[0194] In some embodiments, the battery management system 210 is configured to: obtain the percentage of power received by an electronic device within a target duration, and determine the charging mode of the electronic device based on the percentage of power received; obtain charging path information of the energy storage module of the electronic device, and determine the charging mode of the electronic device based on the charging path information; obtain power information of the power supply connected to the electronic device and / or the percentage of power supply duration of different power supplies within the target duration, and determine the charging mode of the electronic device based on the power information and / or the percentage of power supply duration.
[0195] In some embodiments, the battery management system 210 is configured to: control the energy storage module to have at least one of a first charging voltage, a first full-charge cutoff current, a first full-charge capacity, a first discharge power, or a first peak power when the electronic device is in a first charging mode; control the energy storage module to have at least one of a second charging voltage, a second full-charge cutoff current, a second full-charge capacity, a second discharge power, or a second peak power when the electronic device is in a third charging mode; and control the energy storage module to have at least one of a third charging voltage, a third full-charge cutoff current, a third full-charge capacity, a third discharge power, or a third peak power when the electronic device is in a third charging mode, wherein the first charging voltage is greater than the second charging voltage, the first full-charge cutoff current is greater than the second full-charge cutoff current, the first full-charge capacity is less than the second full-charge capacity, the first discharge power is greater than the second discharge power, or the first peak power is greater than the second peak power.
[0196] In some embodiments, the battery management system 210 is configured to: obtain the power difference between the power supplied by the electronic device under different power supplies, and control the charging and discharging parameters of the energy storage module based on the charging mode of the electronic device and the threshold range of the power difference; or, obtain the number difference between the number of charging and discharging cycles of the electronic device under different power supplies, and control the charging and discharging parameters of the energy storage module based on the charging mode of the electronic device and the threshold range of the number difference.
[0197] In some embodiments, the battery management system 210 is configured to: obtain configuration information of an energy storage module of an electronic device, and control the charging and discharging parameters of a target energy storage module based on the configuration information and the charging mode of the electronic device; obtain load information of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the load information and the charging mode of the electronic device; obtain the usage scenario of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the usage scenario and the charging mode of the electronic device; obtain user profile information of a target user, and control the charging and discharging parameters of the target energy storage module based on the user profile information and the charging mode of the electronic device; wherein, the target energy storage module is at least one energy storage module of the electronic device.
[0198] The following describes the application of the embodiments of this application in a real-world scenario.
[0199] The new laptop (i.e. the aforementioned electronic device) has two charging modes: power adapter charging (i.e. the aforementioned first charging mode) and solar device charging (i.e. the aforementioned second charging mode). However, the existing charging management scheme cannot distinguish or identify the power consumption of these two charging modes, nor does it carry out targeted power consumption management.
[0200] To accurately calculate the charging power of a solar device, evaluate its charging efficiency, and achieve effective power management, this application provides a charging management scheme to calculate the solar charging power, the adapter charging power, and to rationally manage the charging and discharging priorities.
[0201] like Figure 3 The diagram illustrates a system architecture for charging via an adapter in related technologies. This architecture includes a battery, a main system, a protection controller, a fuel gauge, and a low-RdsON FET. The main system is the part of the laptop that supports battery charging, including a system charging management chip and a charger. The protection controller is a battery-side protection chip, primarily used for over-temperature and over-voltage protection of the laptop. The low-RdsON FET refers to the transistor that controls charging and discharging, requiring a low resistance value in the on-state. The fuel gauge is used to sample the charging and discharging current and perform coulomb integration to calculate the charge level.
[0202] This application provides a laptop computer capable of applying the charging management scheme. The laptop computer includes a battery management system, a system charging management chip (Embedded Controller, EC), a power adapter, and a solar charger (i.e., the aforementioned solar power supply).
[0203] like Figure 4 As shown, steps S401 to S415 are included:
[0204] S401: EC identifies whether the adapter is connected;
[0205] Here, the EC can identify whether the power adapter is connected to the electronic device or whether the power adapter has been removed from the electronic device.
[0206] S402: EC writes an identification identifier to BMS;
[0207] Here, the EC writes the corresponding identification flag (AC-in flag) to the BMS based on the identification result of step S301.
[0208] In some implementations, when the EC identification adapter is connected to a laptop, "AC-inflag: 1" is written to the BMS. Alternatively, when the EC identification adapter is not connected to a laptop, "AC-in flag: 0" is written to the BMS.
[0209] S403: BMS determines charging mode;
[0210] S404: BMS identification and recognition identifier;
[0211] Here, the BMS determines the value of the AC-in flag to determine the current charging mode of the electronic device.
[0212] S405: Recognized as power adapter charging mode;
[0213] Here, if the BMS determines that the current charging mode of the electronic device is the power adapter charging mode when the AC-in flag value is 1.
[0214] S406: Determine the cumulative charging amount (i.e., the amount of electricity supplied by the mains power supply) through the power adapter.
[0215] Here, when the power adapter charging mode is determined, the cumulative charging power (i.e., adapter charging power) corresponding to this charging mode is obtained after the laptop charging is completed.
[0216] S407: Determine the cumulative number of charging cycles performed via the power adapter (i.e., the number of full-capacity charging cycles under AC power conditions as described above);
[0217] In some implementations, if it is detected that the charging capacity of the battery under the current charging state is equal to the nominal capacity (FCC) of the laptop battery, the first historical cumulative charging count is incremented by 1 (i.e., adapter charge cycle count + 1) to obtain the first current cumulative charging count.
[0218] In some implementations, after the laptop has finished charging, the amount of power the adapter has been charged is divided by the nominal capacity of the battery to obtain the cumulative number of charging cycles performed via the power adapter.
[0219] S408: Recognized as solar device charging mode;
[0220] Here, when the value of the AC-in flag is 0, the BMS determines that the current charging mode of the electronic device is the solar device charging mode.
[0221] S409: Determine the cumulative charging capacity (i.e., the power supplied by the solar power source) through the solar device.
[0222] Here, when the system is determined to be in solar charging mode, the system obtains the cumulative charging power (i.e., solar charging power) corresponding to this charging mode after the laptop has finished charging.
[0223] S410: Determine the cumulative number of times charging is performed via the solar power device (i.e., the number of times the device is fully charged under the solar power source described above);
[0224] In some implementations, if the battery is detected to be in its current charging state and the amount of charge generated by the solar device is equal to the nominal capacity (FCC) of the laptop battery, the second historical cumulative charging count generated by the solar device is incremented by 1 (i.e., solar charge cycle count + 1) to obtain the second current cumulative charging count.
[0225] In some implementations, after the laptop has finished charging, the amount of solar charge is divided by the nominal capacity of the battery to obtain the cumulative number of charges performed by the solar device.
[0226] S411: The BMS determines the main charging mode of the laptop (i.e., the charging mode of the aforementioned electronic device);
[0227] In some implementations, the BMS compares the adapter charging capacity and the solar charging capacity, and determines the charging mode corresponding to the larger value as the primary charging mode.
[0228] In some implementations, the BMS compares the adapter charging capacity and the solar charging capacity, and determines the charging mode corresponding to the larger value as the primary charging mode.
[0229] In some implementations, the BMS compares the first current cumulative charging count and the second current cumulative charging count, and determines the charging mode corresponding to the larger value as the primary charging mode.
[0230]
Adapter Main Charging Mode
[0231] S412: Reduce the first charging voltage and increase the first charging cutoff current (i.e., the aforementioned first full charge cutoff current);
[0232] In some implementations, if the adapter charging power is greater than the solar charging power, or if the first current cumulative charging count is greater than the second current cumulative charging count, the laptop is determined to be in adapter main charging mode, that is, the power adapter charging mode is the laptop's first priority charging mode.
[0233] In some implementations, the difference between the adapter charging power and the solar charging power is obtained, and the difference is compared with a plurality of preset threshold capacities to determine a target threshold capacity corresponding to the difference. Based on the target threshold capacity, the adjustment parameters of the first charging voltage and the first charging cutoff current in the adapter's main charging mode are determined respectively.
[0234] In one example, multiple threshold capacities can be determined based on the unit capacity (threshold capacity i), where i is a variable, and different i values result in different threshold capacities. For example, with a unit capacity of 10, if i = 2, the threshold capacity is 20.
[0235] In one example, the difference between the cumulative charging capacity of the adapter and the cumulative charging capacity of the solar is 20 kWh, so the target threshold capacity is determined to be 2. Furthermore, there is a preset parameter adjustment amount for the first charging voltage and the first charging cutoff current in the adapter's main charging mode when i=2, so that the first charging voltage and the first charging cutoff current can be adjusted based on this parameter adjustment amount.
[0236] In some implementations, the difference between the first current cumulative charging count and the second current cumulative charging count is obtained, and the difference is compared with a plurality of preset threshold counts to determine a target threshold count corresponding to the difference. Based on the target threshold count, the adjustment parameters of the first charging voltage and the first charging cutoff current in the adapter's main charging mode are determined respectively.
[0237] In one example, multiple threshold counts can be determined based on the unit count (threshold count j), where j is a variable, and the number of counts varies depending on the threshold value of j. For example, if the unit count is 5, and j = 2, the threshold count is 10.
[0238] In one example, the difference between the first current cumulative charging count and the second current cumulative charging count is 15, so the target threshold count is determined to be 15. Furthermore, there is a preset parameter adjustment amount for the first charging voltage and the first charging cutoff current in the adapter's main charging mode when i=3, so that the first charging voltage and the first charging cutoff current can be adjusted by this parameter adjustment amount.
[0239] S413: Limit the first full charge capacity (i.e., the first full charge capacity mentioned above) and improve the first peak power performance (i.e., the first discharge power or the first peak power mentioned above);
[0240] In some implementations, the difference between the adapter charging capacity and the solar charging capacity is obtained, and the difference is compared with a plurality of preset threshold capacities to determine a target threshold capacity corresponding to the difference. Based on the target threshold capacity, the adjustment parameters for the first full charge capacity and the first peak power performance in the adapter's main charging mode are determined respectively.
[0241] In some implementations, the difference between the first current cumulative charging count and the second current cumulative charging count is obtained, and the difference is compared with a plurality of preset threshold counts to determine a target threshold count corresponding to the difference. Based on the target threshold count, the adjustment parameters for the first full charge capacity and the first peak power performance in the adapter's main charging mode are determined respectively.
[0242] [Solar Power Main Power Mode]
[0243] S414: Increase the second charging voltage and decrease the second charging cutoff current (i.e., the aforementioned second full charge cutoff current);
[0244] In some implementations, if the adapter charging power is less than the solar charging power, or if the first current cumulative charging count is less than the second current cumulative charging count, the laptop is determined to be in solar main charging mode, that is, the solar device charging mode is the laptop's first priority charging mode.
[0245] In some implementations, the difference between the adapter charging power and the solar charging power is obtained, and the difference is compared with a plurality of preset threshold capacities to determine the target threshold capacity corresponding to the difference. Based on the target threshold capacity, the adjustment parameters of the second charging voltage and the second charging cutoff current in the solar main power mode are determined respectively.
[0246] In some implementations, the difference between the first current cumulative charging count and the second current cumulative charging count is obtained, and the difference is compared with a plurality of preset threshold counts to determine the target threshold count corresponding to the difference. Based on the target threshold count, the adjustment parameters of the second charging voltage and the second charging cutoff current under the solar main power mode are determined respectively.
[0247] S415: Increase the second full charge capacity (i.e., the second full charge capacity mentioned above) and limit the second peak power performance (i.e., the second discharge power or the second peak power mentioned above).
[0248] In some implementations, the difference between the adapter charging capacity and the solar charging capacity is obtained, and the difference is compared with a plurality of preset threshold capacities to determine the target threshold capacity corresponding to the difference. Based on the target threshold capacity, the adjustment parameters of the second full charge capacity and the second peak power performance in the solar main power mode are determined respectively.
[0249] In some implementations, the difference between the first current cumulative charging count and the second current cumulative charging count is obtained, and the difference is compared with a plurality of preset threshold counts to determine a target threshold count corresponding to the difference. Based on the target threshold count, the adjustment parameters of the second full charge capacity and the second peak power performance under the solar main power mode are determined respectively.
[0250] In this embodiment, in the adapter main charging mode, the peak power performance is increased to limit the full charge capacity; in the solar main power mode, the second peak power performance is limited and the second full charge capacity is increased. This can improve the utilization rate of green energy (solar energy) and optimize the power performance under different charging modes.
[0251] It should be noted that, in the embodiments of this application, if the aforementioned information processing device is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a laptop, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0252] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.
[0253] This application provides a computer program including computer-readable code. When the computer-readable code runs in an electronic device, the processor in the electronic device executes some or all of the steps in the above-described method.
[0254] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a processor, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0255] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the storage medium, computer program, and computer program product embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium, computer program, and computer program product embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0256] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0257] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0258] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0259] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0260] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0261] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0262] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a laptop, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.
[0263] The above are merely embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A charging and discharging control method, comprising: The charging mode of the electronic device is determined based on the power receiving parameters of the electronic device within the target duration; The charging and discharging parameters of the energy storage module of the electronic device are controlled based on the current charging mode. In different charging modes, the electronic device receives different power supplies and the energy storage module has different charging and discharging strategies.
2. The method according to claim 1, wherein determining the charging mode of the electronic device based on the power-receiving parameters of the electronic device within a target duration includes at least one of the following: Monitor the power supply of the electronic device to different power sources within the target duration, and determine the charging mode of the electronic device based on the comparison results between the power supply of different power sources. The number of times the energy storage module of the electronic device is fully charged within the target time period is obtained, and the charging mode of the electronic device is determined based on the comparison results between the number of times the full charge capacity is fully charged under different power supplies.
3. The method according to claim 2, wherein, The charging mode of the electronic device is determined based on a comparison of the power supplied by different power sources, including at least one of the following: If the amount of electricity supplied by the mains power source to the electronic device during the target duration is greater than the amount of electricity supplied by the solar power source, the electronic device is determined to be in a first charging mode when connected to the adapter. If the amount of electricity supplied by the solar power source to the electronic device during the target duration is greater than the amount of electricity supplied by the mains power source, the electronic device is determined to be in a second charging mode that utilizes the solar power source for charging. If the amount of power supplied by the first power supply device to the electronic device during the target duration is greater than the amount of power supplied by the solar power source, then the electronic device is determined to be in a third charging mode where it is charged using the first power supply device. If the amount of power supplied by the solar power source to the electronic device during the target duration is greater than the amount of power supplied by the first power supply device, then the electronic device is determined to be in a second charging mode that utilizes the solar power source for charging.
4. The method according to claim 2, wherein, The charging mode of the electronic device is determined based on a comparison of the number of full-capacity charging cycles under different power supplies, including at least one of the following: If the number of full-charge cycles of the energy storage module under mains power is greater than the number of full-charge cycles under solar power, the electronic device is determined to be in the first charging mode when connected to the adapter. If the number of times the energy storage module is fully charged under the solar power supply is greater than the number of times it is fully charged under the mains power supply, the electronic device is determined to be in the second charging mode using the solar power supply. If the number of times the energy storage module is fully charged under the first power supply is greater than the number of times it is fully charged under the solar power supply, it is determined that the electronic device is in a third charging mode using the first power supply. If the number of times the energy storage module is fully charged under the solar power supply is greater than the number of times it is fully charged under the first power supply device, it is determined that the electronic device is in a second charging mode using the solar power supply.
5. The method according to claim 1, wherein determining the charging mode of the electronic device based on the power-receiving parameters of the electronic device within a target duration includes at least one of the following: Obtain the percentage of power received by the electronic device during the target duration, and determine the charging mode of the electronic device based on the percentage of power received; Obtain the charging path information of the energy storage module of the electronic device, and determine the charging mode of the electronic device based on the charging path information; Obtain the power information of the power source connected to the electronic device and / or the percentage of power supply time of different power sources within the target duration, and determine the charging mode of the electronic device based on the power information and / or the percentage of power supply time.
6. The method according to claim 1, wherein controlling the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode includes at least one of the following: When the electronic device is in a first charging mode, the energy storage module is controlled to have at least one of a first charging voltage, a first full charge cutoff current, a first full charge capacity, a first discharge power, or a first peak power. When the electronic device is in the second charging mode, the energy storage module is controlled to have at least one of a second charging voltage, a second full charge cutoff current, a second full charge capacity, a second discharge power, or a second peak power. When the electronic device is in the third charging mode, the energy storage module is controlled to have at least one of the following: a third charging voltage, a third full charge cutoff current, a third full charge capacity, a third discharge power, or a third peak power. Wherein, the first charging voltage is greater than the second charging voltage, the first full charge cutoff current is greater than the second full charge cutoff current, the first full charge capacity is less than the second full charge capacity, the first discharge power is greater than the second discharge power, or the first peak power is greater than the second peak power.
7. The method according to claim 1 or 6, wherein controlling the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode includes: The power difference between the power supplied by the electronic device under different power supplies is obtained, and the charging and discharging parameters of the energy storage module are controlled based on the charging mode of the electronic device and the threshold range of the power difference. or, The difference in the number of charge and discharge cycles of the electronic device under different power supplies is obtained, and the charging and discharging parameters of the energy storage module are controlled based on the charging mode of the electronic device and the threshold range of the difference in the number of charge and discharge cycles.
8. The method according to claim 1 or 6, wherein controlling the charging and discharging parameters of the energy storage module of the electronic device based on the current charging mode includes: Obtain the configuration information of the energy storage module of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the configuration information and the charging mode of the electronic device; Obtain the load information of the electronic device, and control the charging and discharging parameters of the target energy storage module based on the load information and the charging mode of the electronic device; The usage scenario of the electronic device is obtained, and the charging and discharging parameters of the target energy storage module are controlled based on the usage scenario and the charging mode of the electronic device. Obtain user profile information of the target user, and control the charging and discharging parameters of the target energy storage module based on the user profile information and the charging mode of the electronic device; The target energy storage module is at least one energy storage module of an electronic device.
9. An electronic device, comprising an energy storage module and a battery management system, wherein, The battery management system is used to determine the charging mode of the electronic device based on the power receiving parameters of the electronic device within a target duration; and to control the charging and discharging parameters of the energy storage module of the electronic device based on the charging mode. The energy storage module includes at least one battery, and the at least one battery operates according to the charging and discharging parameters; In different charging modes, the electronic device receives different power supplies and the energy storage module has different charging and discharging strategies.
10. The electronic device according to claim 9, further comprising a system charging management chip and a solar power module; wherein, The system charging management chip is used to identify whether the electronic device is connected to the adapter, so as to configure the power obtained by the electronic device to come from the adapter and / or from the solar charging module; If the amount of electricity supplied by the electronic device through the mains power source via the adapter is greater than the amount of electricity supplied by the solar power source via the solar charging module within a target duration, the electronic device is determined to be in a first charging mode when the adapter is connected. If the amount of power supplied by the solar energy obtained by the electronic device through the solar charging module within a target duration is greater than the amount of power supplied by the mains power obtained through the adapter, the electronic device is determined to be in a second charging mode using the solar charging module.