Charging circuit control method and device, electronic equipment and storage medium

By controlling the working mode and number of turn-ons of the charging chip, combined with the charging efficiency model, the charging circuit is optimized to improve the charging efficiency, and the problem of rapid temperature rise during the charging process is solved, achieving faster charging speed and higher device safety.

CN120389461APending Publication Date: 2025-07-29BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410124856.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

In the prior art, low charging efficiency during charging of electronic devices leads to a rapid temperature rise, affecting charging speed and equipment safety, and it is difficult to further increase the charging current.

Method used

By controlling the working mode and number of turn-ons of the charging chip, combined with the pre-constructed charging efficiency model, the charging circuit is dynamically adjusted to maximize charging efficiency, including determining the target output current and working mode, and optimizing the working status of the charging chip.

Benefits of technology

It improves charging efficiency, reduces energy loss during charging and equipment heating, improves charging speed and ensures equipment safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120389461A_ABST
    Figure CN120389461A_ABST
Patent Text Reader

Abstract

The invention provides a charging circuit control method and device, electronic equipment and a storage medium, and relates to the technical field of charging. The charging circuit comprises at least one charging chip, and the charging chip is used for converting a first voltage input by an external power supply into a second voltage. The method comprises the following steps: determining a target output current of a charging circuit; and controlling the working state of at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit. Therefore, along with the improvement of the charging efficiency, the charging speed of the to-be-charged equipment can be improved, and equipment heating caused by energy loss in the charging process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of charging technology, the charging demand of electronic devices has been increasing day by day. In order to pursue faster charging speed, related technologies often pursue charging with higher charging power and larger charging current, without paying attention to the impact of charging efficiency on the charging process.

[0003] In fact, poor charging efficiency will cause the temperature of the electronic device to rise rapidly during the charging process. As the temperature of the electronic device increases, in order to ensure the safety of the electronic device during the charging process, the charging current needs to be reduced, which will instead affect the charging speed of the electronic device. Summary of the Invention

[0004] To overcome the problems existing in the related technologies, the present disclosure provides a charging circuit control method, device, electronic device and storage medium.

[0005] According to the first aspect of the embodiments of the present disclosure, a charging circuit control method is provided. The charging circuit includes at least one charging chip, wherein the charging chip is used to convert the first voltage input from an external power supply into a second voltage;

[0006] The method includes:

[0007] Determine the target output current of the charging circuit;

[0008] According to the target output current, control the working state of at least one charging chip so as to control the charging efficiency of the charging circuit.

[0009] In some embodiments, according to the target output current, controlling the working state of at least one charging chip so as to control the charging efficiency of the charging circuit includes:

[0010] According to the target output current, in combination with a pre-constructed first charging efficiency model, determine the target working mode of at least one charging chip, wherein the charging chip has multiple working modes, and the voltage conversion ratios corresponding to different working modes are different;

[0011] Set the working modes of at least one charging chip to the target working modes respectively, so that the charging circuit can output the target output current with the maximum charging efficiency.

[0012] In some embodiments, the first charging efficiency model is used to show the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chip is in different working modes;

[0013] According to the target output current, in combination with a pre-constructed first charging efficiency model, determining the target working mode of at least one charging chip includes:

[0014] Based on the first charging efficiency model, query the operating mode corresponding to the maximum charging efficiency when the output current of the charging circuit is the target output current, and the target operating mode is the operating mode corresponding to the maximum charging efficiency.

[0015] In some embodiments, according to the target output current, controlling the operating state of at least one charging chip to control the charging efficiency of the charging circuit includes:

[0016] When the charging circuit includes multiple charging chips, according to the target output current, controlling the number of charging chips turned on in the charging circuit so that the charging circuit can output the target output current with the minimum number of charging chips, wherein the number of charging chips turned on is negatively correlated with the charging efficiency of the charging circuit.

[0017] In some embodiments, according to the target output current, controlling the operating state of at least one charging chip to control the charging efficiency of the charging circuit includes:

[0018] When the charging circuit includes multiple charging chips, according to the target output current, in combination with a pre-constructed second charging efficiency model, determining the target operating mode and the target number of charging chips turned on in the charging circuit, wherein the charging chip has multiple operating modes, and the voltage conversion ratios corresponding to different operating modes are different;

[0019] Turn on the target number of charging chips in the charging circuit, and set the operating modes of the turned-on charging chips to the target operating modes respectively, so that the charging circuit can output the target output current with the maximum charging efficiency.

[0020] In some embodiments, the second charging efficiency model is used to show the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chip is in different operating modes and different numbers of turned-on chips;

[0021] According to the target output current, in combination with a pre-constructed second charging efficiency model, determining the target operating mode and the target number of charging chips turned on in the charging circuit includes:

[0022] Based on the second charging efficiency model, query the operating mode and the number of turned-on chips corresponding to the maximum charging efficiency when the output current of the charging circuit is the target output current, the target operating mode is the operating mode corresponding to the maximum charging efficiency, and the target number of turned-on chips is the number of turned-on chips corresponding to the maximum charging efficiency.

[0023] In some embodiments, determining the target output current includes:

[0024] According to the device temperature of the device to be charged, determining the target output current of the charging circuit, wherein the device temperature is negatively correlated with the magnitude of the target output current.

[0025] According to a second aspect of the embodiments of the present disclosure, a charging circuit control device is provided. The charging circuit includes at least one charging chip, where the charging chip is configured to convert a first voltage input from an external power source into a second voltage.

[0026] The device includes:

[0027] a determination module configured to determine a target output current of the charging circuit;

[0028] a control module configured to control an operating state of the at least one charging chip according to the target output current, so as to control a charging efficiency of the charging circuit.

[0029] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including: a processor; and a memory configured to store executable instructions of the processor; where the processor is configured to execute the method according to the first aspect of the embodiments of the present disclosure by executing the executable instructions.

[0030] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to the first aspect of the embodiments of the present disclosure is implemented.

[0031] The solution provided by the embodiments of the present disclosure can, after determining the target output current of the charging circuit, control the operating state of each charging chip in the charging circuit according to the target output current, so as to maximize the charging efficiency of the charging circuit without changing the charging circuit architecture. Thus, with the improvement of the charging efficiency, the charging speed of the device to be charged can be increased, and the device heating caused by energy loss during the charging process can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of an application scenario of a charging circuit control method in the embodiments of the present disclosure is shown.

[0033] Figure 2 A schematic flowchart of a charging circuit control method in the embodiments of the present disclosure is shown.

[0034] Figure 3 A schematic diagram for comparing charging efficiencies in different operating modes in the embodiments of the present disclosure is shown.

[0035] Figure 4 A schematic diagram of a specific application process of a charging circuit control method in the embodiments of the present disclosure is shown.

[0036] Figure 5 A schematic structural diagram of a charging circuit control device in the embodiments of the present disclosure is shown.

[0037] Figure 6The structural schematic diagram of an electronic device in an embodiment of the present disclosure is shown. Detailed implementation manners

[0038] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0039] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a", "the", and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0040] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0041] In the related art, in order to improve the charging speed of electronic devices, there has been a tendency to blindly pursue charging electronic devices with high power and large current. However, on the one hand, restricted by the development of technology, the improvement of the charging power and charging current of electronic devices has entered a bottleneck period and it is difficult to continue to increase. On the other hand, when charging with high power and large current, the temperature rise of the electronic device during charging is relatively fast. In order to protect the electronic device from being damaged, the charging current will surely decrease as the device temperature rises, which will instead affect the charging speed of the electronic device.

[0042] The inventors found that for the same charging current, the operating mode and the number of enabled charging chips of the charging chip are closely related to the charging efficiency at this charging current. Therefore, without changing the original architecture of the charging circuit in the electronic device, the charging efficiency of the charging circuit can be improved by controlling the operating mode and the number of enabled charging chips, thereby increasing the charging speed of the electronic device. In addition, since the device temperature of the electronic device is affected by the charging efficiency, the increase in the charging efficiency can reduce the device heating caused by energy loss to a certain extent, thereby reducing the device temperature and increasing the allowable charging current of the electronic device during charging.

[0043] The application scenarios of the embodiments of the present disclosure will be introduced below.

[0044] Figure 1 Fig. shows a schematic diagram of the application scenario of a charging circuit control method in the embodiments of the present disclosure.

[0045] As Figure 1 shown, the charging circuit 120 includes at least one charging chip 121 ( Figure 1 in this case, there are three). Among them, the charging chip 121 is used to convert the first voltage input from the external power supply 110 (to the charging chip 121) into a second voltage, so that the charging circuit 120 charges the device to be charged based on the second voltage.

[0046] Among them, the first voltage can be greater than or equal to the second voltage. That is to say, the charging chip 121 in the embodiments of the present disclosure can be a chip with a certain step-down ability, such as a charge pump chip, a linear regulator, a switching regulator, etc., so that the charging circuit can quickly charge the device to be charged with a relatively large current.

[0047] It should be noted that the charging circuit 120 in the embodiments of the present disclosure can be provided in the electronic device 100. During the charging process of the electronic device 100, the external power supply 110 can input voltage and current into the charging circuit 120, and the charging circuit 120 can use the charging chip 121 therein to adjust the input voltage and current, and input the adjusted voltage and current into the power supply module 130 (such as a battery) of the electronic device 100, thereby realizing the charging of the electronic device 100.

[0048] Please continue to refer to Figure 1 , when the number of charging chips 121 is multiple, the multiple charging chips 121 are connected in parallel with each other. Thus, the target operating modes of the multiple charging chips 121 can be kept consistent, thereby avoiding damage to the device to be charged due to different charging voltages output under different operating modes.

[0049] Exemplarily, Figure 1Among the three charging chips 121, they are in a working mode with a voltage conversion ratio of 2:1. When the voltage input by the external power supply 110 is 9V and the current is 3A, since the three charging chips 121 are connected in parallel with each other, the voltage input to each charging chip 121 is 9V and the current is 1A. Since the power output by the charging chip 121 is the same as the power input to the charging chip 121, therefore, at a voltage conversion ratio of 2:1, the voltage output by each charging chip 121 is 4.5V and the current is 2A. The voltage and current output by each charging chip 121 are converged and then input into the power supply module 130 of the electronic device 100. That is to say, the charging voltage finally obtained by the power supply module 130 of the electronic device 100 is 4.5V and the charging current is 6A.

[0050] It can be understood that the above examples are only used to illustrate the process of charging an electronic device using a charging circuit. In fact, the working mode and the number of enabled charging chips of the charging chip are dynamically adjusted according to the target charging current requested by the electronic device (refer to the following embodiments) to improve the charging efficiency of the charging circuit.

[0051] Next, the exemplary embodiments of the present disclosure will be described in detail in combination with the above application scenarios.

[0052] In an embodiment of the present disclosure, a charging circuit control method is provided, and this method can be executed by any electronic device. Exemplarily, the electronic device can be an electronic device with a charging requirement such as a smart phone, a tablet computer, a notebook computer, etc.

[0053] Figure 2 The flowchart showing a charging circuit control method in an embodiment of the present disclosure is as Figure 2 As shown, the charging circuit control method provided in the embodiment of the present disclosure includes the following steps.

[0054] S201, determine the target output current of the charging circuit.

[0055] It should be noted that the target output current can be understood as the maximum charging current allowed for the device to be charged. Since the actual charging current of the device to be charged always approaches its maximum charging current and is always less than or equal to its maximum charging current, therefore, the target output current can also be understood as the actual charging current requested by the device to be charged at the next moment.

[0056] In some embodiments, the target output current can be determined according to the current device temperature of the device to be charged. Among them, the current device temperature is negatively correlated with the magnitude of the target output current, that is, the higher the current device temperature of the device to be charged, the smaller the target output current.

[0057] For example, a correspondence between the device temperature of the device to be charged and the target output current may be pre-established, so that the target output current of the charging circuit is determined based on the correspondence.

[0058] For example, the target output current of the device to be charged can be determined by combining the current device temperature of the device to be charged and the current output current of the charging circuit. For example, if the current device temperature of the device to be charged is detected to be too high, the target output current of the charging circuit can be set to be lower than the current output current of the charging circuit, thereby reducing the actual charging current input to the device to be charged at the next moment and further reducing the device temperature of the device to be charged.

[0059] It is understood that the device temperature of the device being charged may be the temperature of a component of the device that has poor heat resistance and is more susceptible to temperature increases, such as the temperature of the device's motherboard or battery. Of course, considering the user's experience with the device being charged, the device temperature of the device being charged may also be the temperature of the device's outer casing, and this is not limited in the present embodiment.

[0060] In some embodiments, the target output current can be determined based on the operating state of the device being charged. For example, if the device being charged is performing a high-load task, since the device typically generates higher heat during high-load tasks, the target output current can be appropriately reduced to reduce device heat generation. In other words, the target output current can be negatively correlated with the load on the device being charged.

[0061] Based on the same inventive concept, the target output current can also be determined according to other parameters such as the current charging voltage of the device to be charged, or it can be determined by combining any of the above multiple parameters. This embodiment of the present disclosure will not be elaborated on this.

[0062] S202: Control the operating state of at least one charging chip according to the target output current, so as to control the charging efficiency of the charging circuit.

[0063] It should be noted that the control of the working state of the charging chip can be understood as the control of the working mode of the charging chip, and can also be understood as the control of turning the charging chip on or off.

[0064] That is to say, the control of the working state of the charging chip can be either the control of the working mode of the charging chip or the control of turning the charging chip on or off. Of course, the working mode and switch of the charging chip can also be controlled at the same time.

[0065] Among them, the charging chip has multiple working modes, and the voltage conversion ratios corresponding to different working modes are different. For example, the charging chip can have a first working mode, a second working mode, and a third working mode. The voltage conversion ratio corresponding to the first working mode is 1:1, the voltage conversion ratio corresponding to the second working mode is 2:1, and the voltage conversion ratio corresponding to the third working mode is 4:1.

[0066] Since, in an ideal state, the power output by the external power supply remains unchanged after passing through the charging circuit. Therefore, at a higher voltage conversion ratio, the charging chip can reduce the voltage output by the charging circuit and increase the current output by the charging circuit, so as to quickly charge the device to be charged with a larger current.

[0067] The charging chip can be turned on or off through the CHG_EN register in the charging chip. It is also possible to set independent MOS transistors or switches between the external power supply and each charging chip, so as to independently control the on-off between each charging chip and the external power supply. It can be understood that when there is no input current in the charging chip, it can be considered that the charging chip is not turned on.

[0068] In some embodiments, according to the target output current, in combination with a pre-constructed first charging efficiency model, the target working mode of at least one charging chip can be determined, and then the working modes of at least one charging chip can be set to the target working mode respectively, so as to control the working mode of the charging chip.

[0069] Among them, the first charging efficiency model can show the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chip is in different working modes. Based on the first charging efficiency model, the working mode corresponding to the maximum charging efficiency can be queried when the output current of the charging circuit is the target output current, and the target working mode is the working mode corresponding to the maximum charging efficiency.

[0070] Exemplarily, the first charging efficiency model can be constructed through experimental calibration. By experimentally testing the corresponding relationship between the output current and the charging efficiency in different working modes, a charging efficiency curve as shown in Figure 3 can be obtained. Next, the charging efficiency curve can be fitted through a mathematical model to obtain the mathematical model in each working mode, that is, the first charging efficiency model. When using the first charging efficiency model to determine the target working mode, the target output current can be input into each mathematical model respectively, and the charging efficiency corresponding to the target output current in different working modes can be obtained. Then, the charging efficiencies corresponding to different working modes can be compared, and the working mode corresponding to the maximum charging efficiency can be used as the target working mode.

[0071] For example, in Figure 3Among them, when the target output current is less than or equal to 4.5 A, the charging efficiency of the working mode with a voltage conversion ratio of 1:1 is the highest. When the target output current is greater than 4.5 A and less than or equal to 9 A, the charging efficiency of the working mode with a voltage conversion ratio of 2:1 is the highest. When the current is greater than 9 A, the charging efficiency of the working mode with a voltage conversion ratio of 4:1 is the highest.

[0072] Exemplarily, the first charging efficiency model can also be a pre-constructed data table. That is, through repeated experiments, a correspondence table between the target working mode (the working mode corresponding to the maximum charging efficiency) and the output current is established, which is the first charging efficiency model. When using the first charging efficiency model to determine the target working mode, the target working mode corresponding to the target output current can be obtained by means of a look-up table method.

[0073] Exemplarily, the first charging efficiency model can also be a pre-trained neural network model. For example, for different working modes of the charging chip, independent neural network models can be trained respectively. The input of each neural network model is the target output current, and the output is the charging efficiency at this target output current. By inputting the target output current into each neural network model respectively, the charging efficiency corresponding to the target output current in different working modes can be obtained. Furthermore, by comparing the charging efficiencies corresponding to different working modes, the working mode corresponding to the maximum charging efficiency is used as the target working mode.

[0074] Thus, after determining the target output current, the target charging mode corresponding to this target output current can be obtained according to the first charging efficiency model, so that the charging efficiency of the charging circuit can be maximized without changing the charging circuit architecture.

[0075] In some embodiments, when the charging circuit includes multiple charging chips, the number of charging chips turned on in the charging circuit can be controlled according to the target output current, so that the charging circuit can output the target output current with the minimum number of charging chips.

[0076] It can be understood that since the charging chip can cause energy loss in the device to be charged during the charging process, the more the number of charging chips, the greater the energy loss during the charging process and the lower the charging efficiency. Therefore, by reducing the number of charging chips turned on and enabling the charging circuit to output the target current with the minimum number of charging chips, the charging efficiency of the charging circuit can be effectively improved.

[0077] Since the charging chip is usually configured with the maximum current that it is allowed to output, the current output by a single charging chip cannot exceed its allowed maximum output current. Therefore, the number of charging chips turned on should be adapted to the target output current, and the number of charging chips turned on can be configured as the minimum number that can meet the output of the target output current.

[0078] For example, when the target output current is 9 A and the maximum current allowed to be output by each charging chip is 5 A, two charging chips can meet the output of the target output current (5 A + 5 A > 9 A). At this time, assuming that there are three charging chips in the charging circuit, any two of them can be turned on and the other one can be turned off, so that the charging circuit can complete the output of the target output current through any two of the charging chips, thereby reducing unnecessary energy loss caused by excessive charger chips and improving the charging efficiency.

[0079] In addition, it is worth noting that although the reduction in the number of turned-on charging chips may cause the current output by a single charging chip to increase and the temperature of the charging chip to rise. However, since the temperature that the charging chip itself can withstand is usually much higher than the temperature that other components in the device to be charged (such as the battery, main board, etc.) can withstand, before the temperature of the charging chip itself becomes too high, the target output current will be reduced due to the too high temperature of the device in the device to be charged, thereby reducing the current output by each charging chip and realizing the control of the temperature of the charging chip. Therefore, the reduction in the number of turned-on charging chips in the embodiments of the present disclosure will not bring negative impacts to the charging process.

[0080] In summary, the method provided by the embodiments of the present disclosure can be controlled from two aspects: the working mode and the turned-on state of the charging chip, so as to improve the charging efficiency of the charging circuit without changing the existing architecture of the charging chip.

[0081] In some embodiments, when the charging circuit includes multiple charging chips, the target working mode and the target number of turned-on charging chips in the charging circuit can also be determined simultaneously according to the target output current in combination with a pre-constructed second charging efficiency model. Subsequently, the charging chips with the target number of turned-on are turned on in the charging circuit, and the working modes of the turned-on charging chips are respectively set to the target working mode, so as to control the working mode and the number of turned-on charging chips simultaneously.

[0082] The second charging efficiency model is used to show the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chips are in different working modes and different numbers of turned-on. Based on the second charging efficiency model, the working mode and the number of turned-on corresponding to the maximum charging efficiency can be queried when the output current of the charging circuit is the target output current. The target working mode is the working mode corresponding to the maximum charging efficiency, and the target number of turned-on is the number of turned-on corresponding to the maximum charging efficiency.

[0083] Since the construction and application process of the second charging efficiency model is similar to that of the first charging efficiency model, the construction and application process of the second charging efficiency model can refer to the above description of the first charging efficiency model, and the similarities will not be elaborated here.

[0084] It should be noted that the difference between the second charging efficiency model and the first charging efficiency model is that the second charging efficiency model adds the distinction of the number of charging chips turned on. That is to say, in the process of constructing the second charging efficiency model through experimental calibration, it is necessary to test the corresponding relationship between the output current and the charging efficiency under different working modes and different numbers of turned on chips.

[0085] For example, when the charging circuit includes three charging chips, and each charging chip has three charging modes. In the process of constructing the second charging efficiency model, it is necessary to measure the charging efficiency of the charging chips in different working modes when all three charging chips are turned on; the charging efficiency of the charging chips in different working modes when two charging chips are turned on at the same time; and the charging efficiency of the charging chips in different working modes when only one charging chip is turned on. Subsequently, the second charging efficiency model can be constructed by referring to the construction method of the above first charging efficiency model using the measured data.

[0086] Thus, the embodiments of the present disclosure can also determine the target working mode and the target number of turned on chips of the charging chip by constructing the second charging efficiency model. By simultaneously controlling the target working mode and the target number of turned on chips, the charging circuit can always maintain a good charging efficiency during the charging process.

[0087] It can be understood that, under the same charging power, the greater the charging efficiency, the faster the charging speed. In addition, due to the improvement of the charging efficiency, the heat generation of the device to be charged during the charging process can be reduced to a certain extent, and the allowable charging current of the device to be charged can be increased. From this perspective, the charging speed of the device to be charged can also be improved.

[0088] For ease of understanding, the following will combine Figure 4 , taking a smart phone as an example, to illustrate the specific application process of the charging circuit control method provided by the embodiments of the present disclosure. Among them, in the charging circuit of the smart phone, the charging chip can be a charge pump chip.

[0089] Specifically, the control method of the charging circuit in the smart phone can include the following steps:

[0090] S401, when the smart phone is connected to an external charger through a wired cable or wirelessly, start charging.

[0091] S402, collect the working mode and the number of enabled charge pumps at a preset time interval (e.g., 30 seconds), and collect the current status information of the smartphone.

[0092] Among them, the status information may include the temperature of the smartphone's case, the battery temperature, the current charging current, the current charging voltage, and other information.

[0093] S403, determine whether the smartphone has completed charging. If it has, jump to S406; otherwise, jump to S404.

[0094] S404, based on the current status information of the smartphone, combined with the pre-constructed second charging efficiency model, determine the target working mode and the target number of enabled charge pumps. If the target working mode of the charge pump is the same as the current working mode, and the target number of enabled charge pumps is the same as the current number of enabled charge pumps, then jump to S402; otherwise, jump to S405.

[0095] Among them, based on the current status information of the smartphone, the charging current requested by the smartphone can be obtained, that is, the target output current of the charging circuit. For example, when the temperature of the smartphone's case and the battery temperature exceed the preset temperature threshold, the target output current can be set to a current value lower than the current output current of the charging circuit to prevent the smartphone from malfunctioning due to high temperature.

[0096] It can be understood that S404 can also be judged by the first charging efficiency model, and then the target number of enabled charge pumps can be judged separately based on the magnitude of the target output current.

[0097] Among them, the method of using the target output current to determine the target working mode and the target number of enabled charge pumps can refer to Figure 2 the description in the embodiment. For the sake of brevity, the embodiments of the present disclosure will not repeat it here.

[0098] S405, set the working mode of the charge pump to the target working mode, and set the number of enabled charge pumps to the target number of enabled charge pumps, and then jump to S402.

[0099] S406, charging is completed.

[0100] Thus, the smartphone in the embodiments of the present disclosure can dynamically adjust the working mode and the number of enabled charge pumps during the charging process, so that the charging efficiency of the charging circuit can be maintained at a relatively high level as much as possible, thereby improving the charging speed of the smartphone and reducing the heat generation during the charging process.

[0101] Based on the same inventive concept, an embodiment of the present disclosure further provides a charging circuit control device, as described in the following embodiments. The charging circuit control device can be applied to any electronic device, for example, a smart phone, a smart wearable device, etc. Since the principle of solving problems in the embodiment of the charging circuit control device is similar to that of the above method embodiment, the implementation of the embodiment of the charging circuit control device can refer to the implementation of the above method embodiment, and the repeated parts will not be elaborated.

[0102] Figure 5 The structural schematic diagram of a charging circuit control device in an embodiment of the present disclosure is shown. Among them, the charging circuit includes at least one charging chip, and the charging chip is used to convert the first voltage input by an external power supply into a second voltage. As Figure 5 shown, the charging circuit control device 500 includes: a determination module 501 and a control module 502.

[0103] Among them, the determination module 501 is used to determine the target output current of the charging circuit;

[0104] The control module 502 is used to control the working state of at least one charging chip according to the target output current, so as to control the charging efficiency of the charging circuit.

[0105] In some embodiments, the control module 502 is specifically used to determine the target working mode of at least one charging chip according to the target output current in combination with a pre-constructed first charging efficiency model. Among them, the charging chip has multiple working modes, and the voltage conversion ratios corresponding to different working modes are different; the working modes of at least one charging chip are respectively set to the target working mode, so that the charging circuit can output the target output current with the maximum charging efficiency.

[0106] In some embodiments, the first charging efficiency model is used to show the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chip is in different working modes. The control module 502 is specifically used to query, based on the first charging efficiency model, the working mode corresponding to the maximum charging efficiency when the output current of the charging circuit is the target output current, and the target working mode is the working mode corresponding to the maximum charging efficiency.

[0107] In some embodiments, the control module 502 is specifically used to control the number of charging chips turned on in the charging circuit according to the target output current when the charging circuit includes multiple charging chips, so that the charging circuit can output the target output current with the minimum number of charging chips, where the number of charging chips turned on is negatively correlated with the charging efficiency of the charging circuit.

[0108] In some embodiments, the control module 502 is specifically used to, when the charging circuit includes multiple charging chips, determine the target operating mode and target number of charging chips in the charging circuit based on the target output current and in combination with a pre-built second charging efficiency model, wherein the charging chip has multiple operating modes, and different operating modes correspond to different voltage conversion ratios; turn on the target number of charging chips in the charging circuit, and set the operating modes of the turned-on charging chips to the target operating modes, so that the charging circuit can output the target output current with maximum charging efficiency.

[0109] In some embodiments, the second charging efficiency model is used to illustrate the relationship between the output current of the charging circuit and the charging efficiency of the charging circuit when the charging chip is in different operating modes and has different numbers of on-chips. The control module 502 is specifically configured to, based on the second charging efficiency model, query the operating mode and number of on-chips corresponding to maximum charging efficiency when the output current of the charging circuit is a target output current, where the target operating mode is the operating mode corresponding to the maximum charging efficiency, and the target number of on-chips is the number of on-chips corresponding to the maximum charging efficiency.

[0110] In some embodiments, the determination module 501 is specifically configured to determine a target output current of the charging circuit according to a device temperature of the device to be charged, wherein the device temperature is negatively correlated with the target output current.

[0111] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0112] Refer to the following Figure 6 6 to describe an electronic device 600 capable of implementing an embodiment of the present disclosure. Figure 6 The electronic device 600 shown is merely an example and should not limit the functions and scope of application of the embodiments of the present disclosure.

[0113] like Figure 6 As shown, electronic device 600 is implemented as a general-purpose computing device. Components of electronic device 600 may include, but are not limited to, at least one processing unit 610, at least one storage unit 620, and a bus 630 connecting various system components (including storage unit 620 and processing unit 610).

[0114] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of the present disclosure.

[0115] In some embodiments, the processing unit 610 may perform the following steps of the above method embodiment: determining a target output current of the charging circuit; and controlling the working state of at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit.

[0116] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0117] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0118] Bus 630 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0119] The electronic device 600 may also communicate with one or more external devices 640 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 660. Figure 6 As shown, the network adapter 660 communicates with other modules of the electronic device 600 via the bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0120] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0121] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above-mentioned method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of the present disclosure.

[0122] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0123] In the present disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0124] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0125] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0126] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0127] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0128] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0129] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.

Claims

1. A charging circuit control method, characterized in that, The charging circuit includes at least one charging chip, where the charging chip is used to convert a first voltage input from an external power supply into a second voltage; The method includes: Determining a target output current of the charging circuit; According to the target output current, controlling an operating state of the at least one charging chip so as to control a charging efficiency of the charging circuit.

2. The method according to claim 1, wherein The controlling the operating state of the at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit includes: According to the target output current, combining with a pre-constructed first charging efficiency model, determining a target operating mode of the at least one charging chip, where the charging chip has multiple operating modes, and voltage conversion ratios corresponding to different operating modes are different; Respectively setting the operating modes of the at least one charging chip to the target operating modes so that the charging circuit can output the target output current with a maximum charging efficiency.

3. The method according to claim 2, wherein The first charging efficiency model is used to show a relationship between an output current of the charging circuit and a charging efficiency of the charging circuit when the charging chip is in different operating modes; The determining the target operating mode of the at least one charging chip according to the target output current and combining with a pre-constructed first charging efficiency model includes: Based on the first charging efficiency model, querying an operating mode corresponding to the maximum charging efficiency when the output current of the charging circuit is the target output current, and the target operating mode is the operating mode corresponding to the maximum charging efficiency.

4. The method according to any one of claims 1 to 3, characterized in that The controlling the operating state of the at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit includes: When the charging circuit includes multiple charging chips, according to the target output current, controlling a number of charging chips turned on in the charging circuit so that the charging circuit can output the target output current with a minimum number of charging chips, where the number of charging chips turned on is negatively correlated with the charging efficiency of the charging circuit.

5. The method according to claim 1, wherein The controlling the operating state of the at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit includes: When the charging circuit includes multiple charging chips, according to the target output current, combining with a pre-constructed second charging efficiency model, determining a target operating mode and a target number of charging chips turned on in the charging circuit, where the charging chip has multiple operating modes, and voltage conversion ratios corresponding to different operating modes are different; Turning on the target number of charging chips in the charging circuit, and respectively setting the operating modes of the turned-on charging chips to the target operating modes so that the charging circuit can output the target output current with a maximum charging efficiency.

6. The method according to claim 5, wherein The second charging efficiency model is used to show a relationship between an output current of the charging circuit and a charging efficiency of the charging circuit when the charging chip is in different operating modes and different numbers of charging chips turned on; Determining the target operating mode and the target number of enabled ones of the charging chips in the charging circuit according to the target output current and in combination with a pre-constructed second charging efficiency model includes: Based on the second charging efficiency model, querying the operating mode and the number of enabled ones corresponding to the maximum charging efficiency when the output current of the charging circuit is the target output current, where the target operating mode is the operating mode corresponding to the maximum charging efficiency, and the target number of enabled ones is the number of enabled ones corresponding to the maximum charging efficiency.

7. The method according to claim 1, characterized in that, Determining the target output current includes: Determining the target output current of the charging circuit according to the device temperature of the device to be charged, where the device temperature is negatively correlated with the magnitude of the target output current.

8. A charging circuit control device, characterized in that, The charging circuit includes at least one charging chip, where the charging chip is configured to convert a first voltage input from an external power source into a second voltage; The apparatus includes: A determining module, configured to determine the target output current of the charging circuit; A control module, configured to control the operating state of the at least one charging chip according to the target output current so as to control the charging efficiency of the charging circuit.

9. An electronic device, characterized in that, including: A processor; and A memory, configured to store executable instructions of the processor; wherein the processor is configured to execute the method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when executed by a processor, implements the method according to any one of claims 1 to 7.