CN116418056A - Charging control method, electronic device, and computer-readable storage medium - Google Patents

Charging control method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116418056A
CN116418056A CN202111638322.5A CN202111638322A CN116418056A CN 116418056 A CN116418056 A CN 116418056A CN 202111638322 A CN202111638322 A CN 202111638322A CN 116418056 A CN116418056 A CN 116418056A
Authority
CN
China
Prior art keywords
charging
current
voltage
output voltage
adjustable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111638322.5A
Other languages
Chinese (zh)
Inventor
贾宝锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202111638322.5A priority Critical patent/CN116418056A/en
Priority to PCT/CN2022/141192 priority patent/WO2023125252A1/en
Publication of CN116418056A publication Critical patent/CN116418056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The invention provides a charge control method, an electronic device and a computer readable storage medium. The charge control method includes: determining a current overall charging efficiency; and when the current overall charging efficiency is lower than a preset threshold value, adjusting the output voltage of the adjustable charging equipment according to the reference charging current of the adjustable charging equipment and the real-time charging parameter of the mobile terminal so as to improve the overall charging efficiency of the mobile terminal.

Description

Charging control method, electronic device, and computer-readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a charging control method, an electronic device, and a computer-readable storage medium.
Background
With the development of mobile terminal fast charging technology, the user has higher and higher requirements on the charging speed, and to increase the charging speed, the charging current is required to be increased, or the physical characteristics, capacity or materials of the battery are improved. When the charging current is increased, the mobile terminal system is charged and heated, so that the pursuit of large current cannot be achieved, for the charging chip, the charging process is firstly boosted, and finally, when the battery side is charged, the voltage is reduced, in the process, the excessive voltage can bring about various energy loss of the mobile terminal system, the charging chip, the charging equipment and the like, and the larger the loss is, the larger the heating is. Therefore, reducing the energy loss and improving the charging efficiency become a problem in the art.
Disclosure of Invention
The invention provides a charge control method, an electronic device and a computer readable storage medium.
In a first aspect, the present invention provides a charging control method, including:
determining a current overall charging efficiency;
and when the current overall charging efficiency is lower than a preset threshold value, adjusting the output voltage of the adjustable charging equipment according to the reference charging current of the adjustable charging equipment and the real-time charging parameter of the mobile terminal so as to improve the overall charging efficiency of the mobile terminal.
Further, before the determining the current overall charging efficiency, the charging control method further includes:
determining a target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal;
and if the current output voltage of the adjustable charging equipment does not meet the target output voltage, adjusting the current output voltage to the target output voltage.
Optionally, the real-time charging parameters of the mobile terminal include at least one of the following parameters: the method comprises the steps of cable internal resistance, input voltage of a charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference regulating threshold and battery internal resistance.
In some embodiments, the real-time charging parameters of the mobile terminal include cable internal resistance, input voltage of a charging chip, input current of the charging chip, system power consumption current, battery voltage, and voltage difference adjustment threshold;
in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
vbus_set=klos=f (Vbus, ibus, ibus_set, rcable, isys, vbat, vbus_thres), wherein Klos is an error loss constant, vbus is an input voltage of the charging chip, ibus is an input current of the charging chip, ibus_set is a reference charging current of the adjustable charging device, rcable is a cable internal resistance, isys is a system power consumption current, vbat is a battery voltage, and vbus_thres is a voltage difference adjustment threshold.
In some embodiments, in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。
In some embodiments, the system power consumption current is calculated according to the following formula:
Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
wherein Vbus is an input voltage of the charging chip, ibus is an input current of the charging chip, ceff is charging efficiency, vbat is battery voltage, ibat is battery current, and Rbat is battery internal resistance.
In some embodiments, the charging efficiency is calculated according to the following formula:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),
wherein, rbat is the internal resistance of the battery, vbat is the battery voltage, ibat is the battery current, isys is the system power consumption current, vbus is the input voltage of the charging chip, and Ibus is the input current of the charging chip.
In some embodiments, the cable internal resistance Rcable is calculated according to the following formula:
Figure BDA0003442774270000021
wherein m is the number of times of measuring the voltage, m is a positive integer greater than 0, ia is a reference current, vi is the output voltage of the adjustable charging device obtained by the ith measurement when the output current of the adjustable charging device is Ia, and Vbus is the input voltage of the charging chip obtained by the ith measurement.
In some embodiments, the internal battery resistance Rbat is calculated according to the following formula:
Figure BDA0003442774270000022
wherein n is the number of times of measuring the voltage and the current, n is a positive integer greater than 0, the current battery voltage Vb is obtained as the reference voltage, the current battery current Ib is taken as the reference current, when the j-th measurement sets the output current of the adjustable charging device to Ij, Δvbatj is the difference between the measured battery voltage and the reference voltage Vb, and Δibatj is the difference between the measured battery current and the reference current Ib.
In some embodiments, the step of determining whether the current output voltage of the adjustable charging device meets the target output voltage comprises:
calculating a voltage difference between a current output voltage of the adjustable charging device and a target output voltage of the adjustable charging device;
when the voltage difference is greater than or equal to a voltage difference adjustment threshold, determining that the current output voltage of the adjustable charging equipment does not meet the target output voltage;
and when the voltage difference is smaller than a voltage difference adjusting threshold, judging that the current output voltage of the adjustable charging equipment meets the target output voltage.
In some embodiments, the adjusting the present output voltage to the target output voltage comprises:
determining an adjustment step size supported by the adjustable charging device;
if the current output voltage of the adjustable charging equipment is larger than the target output voltage, reducing the voltage according to the positive integer multiple of the adjustment step length;
and if the current output voltage of the adjustable charging equipment is smaller than the target output voltage, multiplying and adding voltage according to the positive integer of the adjusting step length.
In some embodiments, the mobile terminal includes at least one charging chip, the overall charging efficiency being a weighted sum of charging efficiencies of the respective charging chips.
Further, after the adjusting the output voltage of the adjustable charging device, the method further includes:
generating a charging log according to the reference charging current of the adjustable charging equipment and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameters;
and uploading the charging log to a server.
In a second aspect, the present invention provides a charge control method, including:
acquiring charging logs of a plurality of mobile terminals, wherein the charging logs are generated by the mobile terminals executing any one of the methods in the first aspect;
and determining charging strategies corresponding to the types of various mobile terminals according to the charging logs, wherein the charging strategies comprise the relation between the output voltage of the adjustable charging equipment and real-time charging parameters and reference charging current of the adjustable charging equipment.
In some embodiments, the determining a charging policy corresponding to the model of each mobile terminal according to the charging log includes:
extracting a sample in the charging log;
and training by using the sample to obtain a neural network model, wherein the input of the neural network model is the model of the mobile terminal, and the output of the neural network model is the charging strategy.
Optionally, the charging policies corresponding to the models of the various mobile terminals include charging policies in at least one of the following charging modes:
a highest charge efficiency mode, a shortest charge time mode, and a least heat generation mode.
Further, the method further comprises:
and according to the charging strategy request of the mobile terminal, issuing a charging strategy corresponding to the model of the mobile terminal to the mobile terminal.
In a third aspect, the present invention provides a charge control method, including:
taking a charging strategy obtained from a server as an alternative charging strategy according to the model of the mobile terminal, wherein the charging strategy is determined by the server in the charging control method according to any one of the second aspects;
selecting a charging strategy for charging from at least one of the alternative charging strategies;
and in the charging process, regulating the output voltage of the adjustable charging equipment according to the charging strategy for charging.
In some embodiments, before the taking the charging policy received from the server as the alternative charging policy, the method further comprises:
and sending a charging strategy request to a server.
In a fourth aspect, the present invention provides an electronic device, comprising:
one or more processors;
a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the charge control method according to any one of the first to third aspects;
one or more I/O interfaces coupled between the processor and the memory configured to enable information interaction of the processor with the memory.
In a fifth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the charge control method according to any one of the first to third aspects.
According to the charging control method provided by the invention, in the constant-current charging process, the voltage of the adjustable charging equipment is regulated, and the balance between the heating and the efficiency of charging is carried out, so that the optimal efficiency of the charging chip is brought into play under the charging modes of different scenes, the charging speed of the system is ensured, the energy loss during charging is reduced, the heating can be reduced under the same charging condition, and the user experience is generally improved.
Drawings
Fig. 1 is a flowchart of a charging control method according to an embodiment of the present invention.
Fig. 2 is a flowchart of another charge control method according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a part of steps in a charge control method according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a part of steps in a charge control method according to an embodiment of the present invention.
Fig. 5 is a flowchart of still another charge control method according to an embodiment of the present invention.
Fig. 6 is a flowchart of still another charge control method according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a hardware frame of a dual-charging chip system according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of an output voltage adjusting software framework of an adjustable charging device according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of a charging control flow provided in an embodiment of the present invention.
Fig. 10 is a schematic diagram of a calculation flow of internal resistance of a battery according to an embodiment of the present invention.
Fig. 11 is a schematic diagram of a cable internal resistance calculation flow provided in an embodiment of the present invention.
Fig. 12 is a schematic diagram of a charging voltage adjustment flow according to an embodiment of the invention.
Fig. 13 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Fig. 14 is a schematic diagram of a computer readable storage medium according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module," "component," or "unit" may be used in combination.
Under the existing charging method, the battery temperature is generally divided into three temperature segments, when the battery temperature is between 10 and 45 degrees, the battery is marked as normal (normal), the maximum current limited by a charger is used for charging, when the battery temperature is between 0 and 10 degrees, the battery is marked as cold (cool), the battery is charged by using a smaller current, and when the battery is between 45 and 50 degrees (or 55 degrees), the battery is marked as hot (norm), and the battery is charged by using a smaller current. When the battery is cool or warm, the charging current must meet the battery specification.
If the mobile phone detects that the mobile phone is a fast charging charger capable of boosting, boosting charging is carried out, otherwise, charging is carried out in a common 5V common mode, high-voltage charging is kept all the time in the charging process, charging is carried out after the battery is full or after the battery is charged to a constant voltage, the voltage is reduced to 5V, or voltage reduction treatment is carried out when the temperature of the battery is in norm or cool. This existing charging method has some drawbacks as follows: 1) When the battery temperature is in normal state, the charger is always in a mode of outputting high voltage for charging in the constant current charging stage. 2) In the case of charging in a high-voltage mode, when the mobile phone heats, the mobile phone is usually limited in current, so that the heating of the battery can be reduced rapidly, and the system shows temperature reduction. But this also lengthens the charging time of the handset if the current into the battery is limited. If the input current is limited, the total current is reduced, which affects both the service power supplied by the charger to the system and the current charged by the battery, and also delays the charging time of the mobile phone. The current limiting in both cases will balance the system with the heat and charge time. 3) The output voltage of the charger remains unchanged throughout the charging process. From the aspect of charging efficiency, a high voltage is applied to the charging chip, the voltage is greater than 5V, and when the battery is charged, the voltage is reduced, and energy loss is generated in the conversion process, so that the charging chip cannot exert optimal charging efficiency.
The inventors studied to find that in the charging process of the related art, if the mobile terminal supports the quick charge, the boost charge is performed, the high voltage charge is maintained during the charging process, and the voltage is reduced to 5V after the battery is charged fully or after the battery is charged to a constant voltage. Charging efficiency ceff= (Vbat Ibat)/(Vbus Ibus) of the charging chip, wherein Ceff is charging efficiency, vbat is battery voltage, ibat is battery current, vbus is current input to the charging chip, and Ibus is current input to the charging chip. In the case where the current Ibus is fixed, if Vbus increases, the efficiency of the charging chip is reduced. Therefore, charging is performed while maintaining a high voltage (for example, 9V) during constant current charging, and charging is not performed with optimal efficiency. After the system heats, under the condition of current limiting, high voltage is not needed to be maintained in practice, a certain voltage can be reduced, and balance between heating and efficiency of charging can be achieved. When the voltage is adjusted to a proper voltage value for charging, higher charging efficiency is maintained, and energy loss of various aspects of a mobile terminal system, a charging chip, charging equipment and the like caused by high-voltage charging can be reduced, so that heating during charging is reduced. The charging heating can be reduced without prolonging the charging time, and the user experience is generally improved.
In view of the drawbacks and shortcomings of the existing charging methods, the inventor proposes a solution to adjust the output voltage of an adjustable charging device to achieve a reference charging current of the adjustable charging device, balance between charging and heating, and exert optimal charging efficiency of a charging chip.
In a first aspect, an embodiment of the present invention provides a charging control method, as shown in fig. 1, where the method includes the following steps:
in step S100, the current overall charging efficiency is determined;
in step S200, when the current overall charging efficiency is lower than a predetermined threshold, the output voltage of the adjustable charging device is adjusted according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, so as to improve the overall charging efficiency of the mobile terminal.
The invention ensures constant current charging by reference charging current through adjusting the voltage of the adjustable charging equipment, and simultaneously ensures charging efficiency so as to realize the double effects of taking the charging speed and the charging efficiency into account. It should be noted, therefore, that the charging device employed in the present invention is a voltage-adjustable charging device. When the charging equipment is initially connected, the mobile terminal detects the charging equipment, and if the voltage is not adjustable, the charging is carried out in a common mode, which is not in the scope of the discussion herein; if the voltage is adjustable, the voltage of the adjustable charging equipment is adjusted according to the charging control method.
After each adjustment, the overall charging efficiency is recalculated according to the charging parameters measured in real time to judge whether the overall charging efficiency reaches a preset threshold. If the overall charging efficiency is lower than the preset threshold, the current target output voltage is calculated according to the reference charging current of the adjustable charging equipment and the real-time charging parameters of the mobile terminal, the current output voltage of the adjustable charging equipment is regulated, the overall charging efficiency is calculated again after regulation, and the calculation and the regulation are repeated until the current overall charging efficiency can reach the preset threshold and the output current of the adjustable charging equipment can be stabilized at the reference charging current.
Further, before the determining the current overall charging efficiency, as shown in fig. 2, the charging control method further includes:
in step S310, determining a target output voltage of the adjustable charging device according to a reference charging current of the adjustable charging device and a real-time charging parameter of the mobile terminal;
in step S320, if the current output voltage of the adjustable charging device does not meet the target output voltage, the current output voltage is adjusted to the target output voltage.
When the charging device is an adjustable charging device, firstly, calculating the required output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device in a back-pushing mode. At this time, according to the charging parameters measured in real time, such as the internal resistance of the cable, the input voltage of the charging chip, the input current of the charging chip, the power consumption current of the system, the battery voltage, the voltage difference value adjustment threshold, the internal resistance of the battery, and the like, one or more of them can be used as the calculation parameters for calculating the target output voltage of the adjustable charging device, so as to calculate the target output voltage of the adjustable charging device. The voltage is then adjusted.
After each adjustment, the target output voltage of the adjustable charging device is recalculated according to the charging parameters measured in real time, so as to judge whether the current output voltage of the adjustable charging device meets the target output voltage. And continuously adjusting and calculating until the difference between the output voltage of the current adjustable charging device and the target output voltage is smaller than a certain threshold (such as a voltage difference adjustment threshold).
When the output voltage of the adjustable charging device is substantially stable near the target output voltage, the charging efficiency is also calculated to determine if the current charging efficiency is too low, and if it is below a predetermined threshold, the target output voltage of the adjustable charging device is also recalculated based on the charging parameters measured in real time, starting a new round of adjustment.
After the output voltage of the adjustable charging device stabilizes around the target output voltage and the calculated charging efficiency also meets the predetermined threshold, it is not representative that charging may be performed at this voltage all the time, because part of the charging parameters may change during the entire charging process. For example, when the user uses the high power consumption software in the mobile terminal by charging once, the system power consumption increases, which may cause heat generation, and at this time, the appropriate target output voltage and the current charging efficiency need to be recalculated, so as to readjust the output voltage of the adjustable charging device. Therefore, it is also possible to periodically calculate whether the target output voltage and the charging efficiency can be satisfied according to the current charging parameters. And if the current output voltage of the adjustable charging equipment does not meet the target output voltage or the current charging efficiency is lower than a preset threshold value, readjusting the output voltage of the adjustable charging equipment.
Through the voltage regulation process, under the condition of constant current, the charging speed and the regulation voltage are taken into consideration to reach the target output voltage, whether the current charging condition can reach the preset target output voltage or not is periodically detected, and whether the current charging efficiency is lower than the preset threshold value or not is detected. Whether the current charging voltage or the charging efficiency is up to standard, one of the charging efficiencies is not up to standard, the target output voltage is triggered to be recalculated, the voltage is regulated, the energy loss is reduced, and the balance of charging heating and efficiency is realized.
Optionally, the real-time charging parameters of the mobile terminal include at least one of the following parameters: the method comprises the steps of cable internal resistance, input voltage of a charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference regulating threshold and battery internal resistance.
It should be noted that, the real-time charging parameters of the mobile terminal include, but are not limited to, the above parameters, and may be affected by other factors not listed when determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device, and any factors affecting the calculation of the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device may be used as the real-time charging parameters of the mobile terminal.
In some embodiments, the real-time charging parameters of the mobile terminal include cable internal resistance, input voltage of a charging chip, input current of the charging chip, system power consumption current, battery voltage, and voltage difference adjustment threshold;
in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
Vbus_set=klos=f (Vbus, ibus, ibus_set, rcable, isys, vbat, vbus_thres), wherein Klos is an error loss constant, vbus is an input voltage of the charging chip, ibus is an input current of the charging chip, ibus_set is a reference charging current of the adjustable charging device, rcable is a cable internal resistance, isys is a system power consumption current, vbat is a battery voltage, and vbus_thres is a voltage difference adjustment threshold.
When the mobile terminal is initially connected to the charging equipment, the mobile terminal can be charged in a common charging mode, and the target output voltage of the adjustable charging equipment is calculated in the charging process; the charging may also be performed in accordance with predetermined basic charging parameters in a selected charging strategy.
The reference charging current of the adjustable charging device is a value determined at the beginning of charging, and the input voltage of the charging chip, the input current of the charging chip, the battery voltage and the like are all obtained by real-time measurement. The calculation of the target output voltage of the adjustable charging device is calculated by combining the charging parameters obtained by the real-time measurement under the premise of assuming that the reference charging current is constant.
The Klos is an error loss constant, which is a fixed value, and is specifically 95%, and represents an error between a value calculated based on theory and an actual value, and may be different values according to actual conditions in actual operation, or may be a proper error loss constant value calculated based on statistical results of historical multiple charging.
The internal resistance of the cable varies with different types of charging devices, and the internal resistance of the battery varies with different types of mobile terminal batteries, and may vary as the time of use of the cable and the battery varies, so that the internal resistance of the cable and the internal resistance of the battery may be calculated before each charging is started in order to determine a more accurate target output voltage. Of course, the calculation may also be performed according to the cable internal resistance and the battery internal resistance estimated in advance in the selected charging strategy.
The system power consumption is greatly changed along with the condition of running a program in the mobile terminal, for example, the power consumption is greatly different from the power consumption when the mobile phone is idle and the camera shooting or game software is opened, so that the system power consumption needs to be periodically detected, and the current actual system power consumption and the corresponding charging efficiency are determined so as to judge whether the output voltage of the adjustable charging equipment needs to be adjusted or not.
It should be noted that, the output voltage of the adjustable charging device is not completely equal to the target output voltage, and when the difference value of the output voltage and the target output voltage is within the voltage difference value adjustment threshold range, the output voltage of the adjustable charging device does not need to be frequently adjusted, so that unnecessary loss caused by excessive calculation and voltage adjustment is avoided. Only when the difference between the two is large enough and exceeds the voltage difference adjustment threshold, the output voltage of the adjustable charging equipment is triggered to be adjusted.
In some embodiments, in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。
in some embodiments, the system power consumption current is calculated according to the following formula:
Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
wherein Vbus is an input voltage of the charging chip, ibus is an input current of the charging chip, ceff is charging efficiency, vbat is battery voltage, ibat is battery current, and Rbat is battery internal resistance.
In some embodiments, the charging efficiency is calculated according to the following formula:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),
wherein, rbat is the internal resistance of the battery, vbat is the battery voltage, ibat is the battery current, isys is the system power consumption current, vbus is the input voltage of the charging chip, and Ibus is the input current of the charging chip.
In some embodiments, the cable internal resistance Rcable is calculated according to the following formula:
Figure BDA0003442774270000071
wherein m is the number of times of measuring the voltage, m is a positive integer greater than 0, ia is a reference current, vi is the output voltage of the adjustable charging device obtained by the ith measurement when the output current of the adjustable charging device is Ia, and Vbus is the input voltage of the charging chip obtained by the ith measurement.
In some embodiments, the internal battery resistance Rbat is calculated according to the following formula:
Figure BDA0003442774270000081
wherein n is the number of times of measuring the voltage and the current, n is a positive integer greater than 0, the current battery voltage Vb is obtained as the reference voltage, the current battery current Ib is taken as the reference current, when the j-th measurement sets the output current of the adjustable charging device to Ij, Δvbatj is the difference between the measured battery voltage and the reference voltage Vb, and Δibatj is the difference between the measured battery current and the reference current Ib.
It should be noted that the calculation formulas of the target output voltage, the system power consumption current, the charging efficiency, the cable internal resistance, the battery internal resistance and the like of the adjustable charging device provided herein are just examples of one specific formula for calculating the indexes, and the form of the calculation formulas can be adjusted according to the correlation before each parameter so as to realize accurate calculation or estimation of each parameter and achieve better charging effect.
In some embodiments, as shown in fig. 3, the step of determining whether the current output voltage of the adjustable charging device meets the target output voltage includes:
in step S321, a voltage difference between the current output voltage of the adjustable charging device and the target output voltage of the adjustable charging device is calculated;
In step S322, when the voltage difference is greater than or equal to a voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device does not satisfy the target output voltage;
in step S323, when the voltage difference is smaller than the voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device satisfies the target output voltage.
As described above, the voltage adjustment is not performed as long as there is a small difference between the current output voltage of the adjustable charging device and the target output voltage of the adjustable charging device, and only when the voltage difference is equal to or greater than the voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device does not satisfy the target output voltage, and the voltage adjustment is required. And if the voltage difference is smaller than the voltage difference regulating threshold, judging that the current output voltage of the adjustable charging equipment meets the target output voltage, and temporarily not regulating the voltage. If the calculated charging efficiency is lower than the preset threshold value, triggering to recalculate the target output voltage of the adjustable charging equipment and readjust the current output voltage; if the charging efficiency can reach the preset threshold value according to the calculated charging efficiency, voltage regulation is not needed, and the charging is continued according to the voltage, and the output voltage of the adjustable charging equipment is regulated until the fact that the current output voltage of the adjustable charging equipment does not meet the target output voltage or the current charging efficiency is lower than the preset threshold value is detected periodically.
In some embodiments, as shown in fig. 4, the adjusting the present output voltage to the target output voltage includes:
in step S324, determining an adjustment step supported by the adjustable charging device;
in step S325, if the current output voltage of the adjustable charging device is greater than the target output voltage, reducing the voltage according to the positive integer multiple of the adjustment step;
in step S326, if the current output voltage of the adjustable charging device is less than the target output voltage, the voltage is multiplied by a positive integer of the adjustment step.
In order to reduce the complexity of adjustment and the requirement for the accuracy of adjustment of the charging device, during each adjustment of the output voltage, the voltage may not need to be adjusted too slightly, but each gear voltage (e.g. 25 millivolts) is used as an adjustment step according to the gear voltage supported by the adjustable charging device, and each adjustment is set according to a multiple value of the gear voltage. When the voltage difference is large (e.g., 1520 millivolts), a plurality of gear voltages (e.g., 1500 millivolts) can be adjusted at a time, and when the voltage difference is small (e.g., 50 millivolts), only one gear voltage can be adjusted at a time.
Further, the mobile terminal comprises at least one charging chip, and the overall charging efficiency is a weighted sum of the charging efficiencies of the charging chips.
The invention can be applied to double-charging chips and double-electricity meters for charging the system of the double-charging battery, and even can be used for charging the system of the multi-charging battery by more charging chips. The method comprises the steps of uniformly calculating target output voltage, system power consumption current, cable internal resistance, battery internal resistance and other indexes of related adjustable charging equipment aiming at a plurality of charging chips, respectively calculating charging efficiency of each charging chip, taking weighted sum of the charging efficiencies of the charging chips as overall charging efficiency, and exerting optimal charging efficiency of each charging chip as far as possible.
In some embodiments, the method further comprises:
generating a charging log according to the reference charging current of the adjustable charging equipment and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameters;
and uploading the charging log to a server.
The charge control method of the present invention may also be executed with the calculation process placed on the server side. The mobile terminal adjusts the voltage according to the charging control method of the invention, and generates a charging log according to the reference charging current of the adjustable charging equipment and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameters during each adjustment. The server side collects a large number of charging logs of the mobile terminals as samples by using a big data cloud computing mode to learn and train to obtain a charging control model of the charging control method.
Through the charging control model, an optimal charging strategy can be obtained according to the model and the charging mode of the mobile terminal. After the mobile terminal obtains the charging strategy from the server, the corresponding target output voltage can be automatically found only by taking the output voltage and the charging parameter of the real-time adjustable charging equipment as input parameters, and the gradual adjustment and calculation process is not needed. Not only saving system resources of mobile terminals, but also improving charging efficiency of all mobile terminals in a server management range.
In order to train on the server side to obtain a charging control model, a charging log can be actively recorded through the mobile terminal and uploaded to the server to serve as a sample for subsequent learning and training.
In a second aspect, an embodiment of the present invention provides a charging control method, as shown in fig. 5, including:
in step S410, a plurality of charging logs of the mobile terminals are obtained, where the charging logs are logs generated by the mobile terminals executing the method according to any one of the first aspect;
in step S420, a charging policy corresponding to the model of each mobile terminal is determined according to the charging log, where the charging policy includes a relationship between the output voltage of the adjustable charging device and the real-time charging parameter and the reference charging current of the adjustable charging device.
Optionally, the method further comprises:
and according to the charging strategy request of the mobile terminal, issuing a charging strategy corresponding to the model of the mobile terminal to the mobile terminal.
According to the charging control method, big data cloud computing can be used, learning and training are carried out based on a server side, statistical learning is carried out on mobile terminals of the same model, a better charging voltage adjustment scheme for the mobile terminals of the same model is trained finally, the adjustment scheme is stored and recorded, and the adjustment scheme is directly sent to the mobile terminals of users in the background, or alternative charging strategies are sent to the mobile terminals in response to the request of the mobile terminals. The mobile terminal directly uses the configured scheme to charge, so that the operation amount of the mobile terminal in the charging process is reduced, the number of attempts to adjust the voltage is reduced, and the balance of the charging speed, the heating value and the charging efficiency can be achieved more quickly.
In some embodiments, the determining a charging policy corresponding to the model of each mobile terminal according to the charging log includes:
extracting a sample in the charging log;
and training by using the sample to obtain a neural network model, wherein the input of the neural network model is the model of the mobile terminal, and the output of the neural network model is the charging strategy.
In the neural network training of big data cloud computing, a sample is a reference charging current of the adjustable charging equipment recorded by the mobile terminal in the process of executing the charging control method of the invention, and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameter. Taking a large number of charging logs of the mobile terminals as samples, extracting feature vectors, and training to obtain a neural network model of charging control. The corresponding charging strategy can be obtained according to the model of the mobile terminal through the model and is used as an alternative charging strategy of the corresponding mobile terminal.
Optionally, the charging policies corresponding to the models of the various mobile terminals include charging policies in at least one of the following charging modes:
a highest charge efficiency mode, a shortest charge time mode, and a least heat generation mode.
Besides the model of the mobile terminal, the neural network model used as the charging control can also train to obtain the charging strategies in different modes such as the highest charging efficiency mode, the shortest charging time mode, the least heating mode and the like, so that the mobile terminal can select according to specific requirements.
In a third aspect, the present invention provides a charging control method, as shown in fig. 6, the method including:
In step S510, according to the model of the mobile terminal, taking the charging policy obtained from the server as an alternative charging policy, where the charging policy is the charging policy determined by the server in the charging control method according to any one of the second aspects;
in step S520, a charging strategy for charging is selected from at least one of the alternative charging strategies;
in step S530, during charging, the output voltage of the adjustable charging device is adjusted according to the charging strategy for charging.
Optionally, the charging policy includes a charging policy in at least one of the following charging modes:
a highest charge efficiency mode, a shortest charge time mode, and a least heat generation mode.
It should be noted that the charging control method of the present invention not only includes the step of adjusting the voltage step by step in S100 and S200, but also includes learning and training to obtain the optimal charging strategy in each charging mode based on different charging modes such as efficiency, speed, heat generation, etc. according to the charging control method of the present invention. The specific learning and training process may not be performed in the mobile terminal, but the learning and training are based on the relationship between the output voltage of the adjustable charging device and the real-time charging parameter and the reference charging current of the adjustable charging device in the execution process of the charging control method of the present invention, so as to obtain the optimal charging strategy in each charging mode. The mobile terminal can select among the alternative charging strategies according to specific requirements, so that specific calculation and adjustment processes are omitted, and adjustment is directly performed according to corresponding voltages given in the charging strategies.
In some embodiments, before the taking the charging policy received from the server as the alternative charging policy, the method further comprises:
and sending a charging strategy request to a server.
The alternative charging strategy may be preset by the mobile terminal or may be obtained from a server. As described above, in the process of executing the charge control method of the present invention, the mobile terminal records the reference charge current of the adjustable charging device and the relationship between the output voltage of the adjustable charging device and the real-time charge parameter, generates the charge log, the server uses big data cloud computing to learn and train the charge logs of a large number of mobile terminals with different models, performs statistical learning on the charge logs of the mobile terminals with the same model, finally trains out a better charge voltage adjustment scheme for the mobile terminal with the same model, saves and records the adjustment scheme, forms an alternative charge policy, and directly transmits the alternative charge policy to the mobile terminal in the background, or transmits the alternative charge policy to the mobile terminal in response to the request of the mobile terminal. The mobile terminal directly uses the configured scheme to charge, so that the operation amount of the mobile terminal in the charging process is reduced, the number of attempts to adjust the voltage is reduced, and the balance of the charging speed, the heating value and the charging efficiency can be achieved more quickly.
Specific applications of the charge control method according to the first to third aspects of the present invention in actual charging processes will be described in detail with reference to 3 embodiments.
Example 1
The present embodiment relates to a mobile terminal with dual charging chips, and fig. 7 is a hardware schematic block diagram of a charging control method provided in the present embodiment.
Wherein usb_in is the input of a universal serial bus (USB, universal Serial Bus) or an adjustable charging device; vbat_sys is the output of the battery to power the system as an input to the system power.
The first charging module is a charging chip of the system, the second charging module is a second charging chip of the system, and the two charging chips charge the system at the same time; the electricity meter is used for detecting and calculating the electricity quantity of the battery.
As shown in fig. 8, the software framework of the present embodiment includes the following six units: the system comprises an adjustable charging equipment output voltage adjustable detection unit, a battery internal resistance detection unit, a charging cable internal resistance detection unit, a system power consumption detection estimation unit, an adjustable charging equipment output voltage adjustment unit and a charging efficiency statistics detection unit.
And the adjustable charging equipment output voltage adjustable detection unit is used for detecting the insertion of the adjustable charging equipment and detecting whether the currently charged adjustable charging equipment supports an output voltage adjusting function, and if the currently charged adjustable charging equipment does not support the adjustment, the adjustable charging equipment output voltage adjustable detection unit directly charges by using a fixed voltage, namely a common charging method.
The battery internal resistance detection unit is used for detecting and predicting the battery internal resistance condition in the current charging, and for different charging currents, different battery temperatures, the battery internal resistance is different, and different batteries influence the final output voltage of the adjustable charging equipment. The detected battery voltage and battery current are recorded, and the internal resistance of the battery is calculated.
The charging cable internal resistance detection unit is used for detecting and predicting the current charging cable internal resistance condition, different cable internal resistances are different, and the cables with different internal resistances can influence the final adjustable charging equipment output voltage. The detected battery voltage and battery current are recorded, thereby calculating the internal resistance of the cable.
The system power consumption detection estimation unit is used for periodically carrying out service power consumption statistics on the system in the charging process, and different service power consumption can finally influence the final output voltage of the adjustable charging equipment. In the case of standby charging, the power consumption of the system is negligible. If the system has business operation, the power consumption of the system needs to be estimated, the estimated power consumption of the system is recorded, and the power consumption of the system finally participates in the evaluation of the charging efficiency by the charging efficiency statistics detection unit.
The adjustable charging equipment output voltage adjusting unit is the core unit of this patent, and according to the biggest charge power that current system set up, the charging cable of using to and the consumption statistics condition of current system, the regulation of adjustable charging equipment output voltage is carried out, charges to an appropriate voltage on the voltage of adjustable charging equipment. The target output voltage of the adjustable charging device may be calculated using the following functional relationship:
Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres)。
the action parameter of the maximum charging power set by the system is expressed as a reference input current ibus_set of the adjustable charging equipment, and is calculated, set and adjusted according to the calculated internal resistance Rcable of the cable and the calculated internal resistance Rbat of the battery and according to vbus_set, wherein Klos is an error loss constant parameter which is a fixed value, and is particularly 95%, and represents errors based on a theoretical calculated value and an actual value, and different values can be set in actual situations.
And the charging efficiency statistics detection unit is used for statistically calculating the total efficiency of the current charging, and using the efficiency to further detect and evaluate whether the adjustment under the current charging voltage is reasonable or not, and further carrying out fine adjustment on the voltage fed back to the adjustable charging equipment voltage adjustment unit so as to prevent large abnormal fluctuation of the adjustment.
Example 2
The entire charge control flow of the charge control method is shown in fig. 9.
S601, if no charger is inserted, the loop execution continues waiting.
S602, when the system detects that the charger is inserted, the adjustable detection unit module of the output voltage of the charger performs adjustable detection of the output voltage of the charger. If it is detected that the charger supports the voltage adjusting function, the process advances to S603. If the charger does not support the voltage regulation function, then a fixed voltage charge is performed.
S603, if the charger supports the voltage regulation detection, the battery internal resistance detection is performed by the battery internal resistance detection unit. As shown in fig. 10, during detection, three points of low current, medium current and maximum current may be selected in the current range of the charging current to detect the internal resistance of the battery, and the three points of low current, medium current and maximum current are respectively recorded as Rbat1, rbat2 and Rbat3, and after detection, the final average internal resistance Rbat is calculated, recorded and stored. Setting a charging voltage of 5V and a charging current of 0.5A during detection, and calculating a first battery internal resistance Rbat1; delaying for a certain time, setting the charging current to be 1.5A, and calculating the internal resistance Rbat2 of the second battery; and then delaying for a certain time, setting the charging current to be 3A, and calculating the internal resistance Rbat3 of the third battery, wherein the internal resistance calculation formula of the battery is as follows:
Rbat (milliohm) = ((avbat 1/avbat 1) + (avbat 2/avbat 2) + (avbat 3/avbat 3)) × 1000/3.
In practice, the battery internal resistance may also have a finer method, or the corresponding battery internal resistance may be found according to a table of correspondence between the battery voltage, the battery current and the battery temperature, and the related deformation methods are also within the scope of the present patent. After the calculation of the internal resistance of the battery is completed, the charging current is set to 1A, and the process advances to S604.
After the calculation of the internal resistance of the battery S604, the internal resistance detection of the charging cable is performed by the internal resistance detection unit of the charging cable. As shown in fig. 11, in the chargeable voltage range during detection, three point voltages of low voltage, medium voltage and maximum voltage are selected to perform cable internal resistance detection, analysis is recorded as rccable 1, rccable 2 and rccable 3, after detection is completed, final average internal resistance rccable is calculated, the final average internal resistance rccable is recorded and stored, 5V voltage is set at first during detection, 1A charging current is set, 1A charging current is 1A, 7V voltage is set at a certain time delay, 1A current is charged, 2V is calculated, 9V voltage is set at a certain time delay, 3V is calculated, and the following formula is calculated:
Rcable (milliohm) = ((5-Vbus 1) + (7-Vbus 2) + (9-Vbus 3)) ×1000/1)/3.
In practice, a finer internal resistance calculation method can be provided, more current gears are used for calculation, or the cable internal resistance which is already set is searched according to the voltage of Vbus and the current of Ibus, and different cable internal resistances are all in the protection range of the patent.
After the detection of the internal resistance of the cable is completed, the maximum power set by the system is boosted to the maximum voltage which can be supported by the system for charging, and when the system is possibly in various power consumption modes during charging, the system power consumption Isys can be preset to be 0 in the initial condition, and the voltage adjustment calculation is performed according to the current parameters to enter S606.
S605, the adjustable charging equipment output voltage adjusting unit calculates whether the adjustable charging equipment output voltage adjustment is needed to be made according to the current charging condition. The charging voltage adjustment flow is shown in fig. 12, each specific parameter required at present is obtained, and the target output voltage of the adjustable charging device is calculated according to the previous reference function relation:
Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres)。
wherein Klos is an error loss constant parameter, which is a fixed value, and is specifically 95%, and represents an error between a theoretically calculated value and an actual value, and in practice, different values may be set in practice.
Obtaining an input voltage Vbus of current actual charging, obtaining an input current Ibus of current actual charging, obtaining a calculated cable internal resistance Rcable, obtaining a battery voltage Vbat corresponding to Isys when calculating the Isys and an input voltage adjusting threshold value Vbus_thres of a preset value, wherein the initial default is Isys is 0, and calculating a required Vbus_set value according to the parameters:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。
then, the current Vbus and the target output voltage vbus_set value are subjected to a difference to obtain a result vbus_diff, and the vbus_set value is the maximum charging voltage at the beginning. Comparing vbus_diff with vbus_thres, if a larger difference is found, such as greater than 1520 millivolts, in practice this value can be preset to change, then Vbus is considered to be larger at present, and Vbus is then lowered by a gear voltage (25 millivolts) supported by the adjustable charging device, in practice this value can also be set according to a multiple value of the gear voltage, such as 50 millivolts, and the present invention is not particularly limited to 25 millivolts. If the difference is found to be smaller, for example, less than 500 millivolts, a gear voltage (25 millivolts) supported by the adjustable charging device is increased, and in practice, the gear voltage can be set according to a multiple value of the gear voltage, for example, 50 millivolts.
S606, after the output voltage adjustment calculation of the adjustable charging equipment is carried out, the system power consumption statistics and prediction are carried out during charging, and the actual power consumption Isys consumed by the system is calculated according to the set maximum power and maximum voltage, wherein the calculation formula is as follows:
Isys=((Vbus*Ibus)*Ceff/(Vbat–Ibat*Rbat)-Ibat)。
where Vbus is the actual input voltage of the charging chip, ibus is the actual input current of the charging chip, vbat is the voltage of the battery, and here too, the internal resistance Rbat of the battery is counted, ibat is the charging current of the battery. The result of the calculation is recorded and saved. The initial default charging efficiency Ceff is 85%, isys is calculated and stored, vbat corresponding to the Isys is stored, the Vbat is needed to be used when the subsequent voltage is regulated, the charging efficiency value Ceff is changed, and when the next statistics is to the new charging efficiency, the new charging efficiency is used as the parameter value calculated next, the dynamic change of Ceff charging efficiency is used, and the dynamic statistics of power consumption can be reflected.
S607, according to the adjusted charging voltage, the current power consumption Isys of the system, and the voltage and current for charging the battery, the statistics of the charging efficiency of the system is performed, and the formula is as follows:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus)。
if the system is designed to multiple charging chips, then the efficiency of counting the individual charging chips can also be calculated. These efficiencies are all counted together to evaluate the decision as to whether the output voltage of the current adjustable charging device is in a preferred state. The obtained charging efficiency is fed back to the charging voltage regulating module at Ceff, and if Ceff is lower than 80%, the output voltage of the adjustable charging device needs to be triggered and regulated. Triggering of the charging voltage regulation is also required if a large load change occurs in the system power consumption.
S608, a process adjustment is completed, at which time the system is in normal charge. If the preset period is not reached, charging is continued according to the original parameters, and if the preset period is reached, the next adjustment is performed.
Example 3
In the present embodiment, the calculation process in the charge control method is performed on the server side.
The mobile terminal adjusts the voltage according to the charging control method, generates a charging log according to the reference charging current of the adjustable charging equipment and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameters during each adjustment, and uploads the charging log to the server. The server side collects a large number of charging logs of the mobile terminals as samples by using a big data cloud computing mode to learn and train to obtain a charging control model of the charging control method.
Through the charging control model, an optimal charging strategy can be obtained according to the model and the charging mode of the mobile terminal. After the mobile terminal obtains the charging strategy from the server, the corresponding target output voltage can be automatically found only by taking the output voltage and the charging parameter of the real-time adjustable charging equipment as input parameters, and the gradual adjustment and calculation process is not needed. Not only saving system resources of mobile terminals, but also improving charging efficiency of all mobile terminals in a server management range.
In a fourth aspect, an embodiment of the present invention provides an electronic device, as shown in fig. 13, including:
one or more processors 501;
a memory 502 having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the charge control method as described in any one of the above first to third aspects;
one or more I/O interfaces 503, coupled between the processor and the memory, are configured to enable information interaction of the processor with the memory.
Wherein the processor 501 is a device having data processing capabilities, including but not limited to a Central Processing Unit (CPU) or the like; memory 502 is a device with data storage capability including, but not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically charged erasable programmable read-only memory (EEPROM), FLASH memory (FLASH); an I/O interface (read/write interface) 503 is coupled between the processor 501 and the memory 502 to enable information interaction between the processor 501 and the memory 502, including but not limited to a data Bus (Bus) or the like.
In some embodiments, processor 501, memory 502, and I/O interface 503 are connected to each other and, in turn, other components of the computing device via bus 504.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, as shown in fig. 14, on which a computer program is stored, the computer program implementing the charge control method according to any one of the first to third aspects described above when executed by a processor.
According to the charging control method provided by the embodiment of the invention, in the constant-current charging process, the voltage of the adjustable charging equipment is regulated, and the balance between the heating and the efficiency of charging is carried out, so that the optimal efficiency of the charging chip is brought into play under the charging modes of different scenes, the energy loss during charging is reduced under the condition of ensuring the charging speed, the heating can be reduced under the same charging condition, and the user experience is generally improved.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and thus do not limit the scope of the claims of the present invention. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the present invention shall fall within the scope of the appended claims.

Claims (21)

1. A charge control method, comprising:
determining a current overall charging efficiency;
and when the current overall charging efficiency is lower than a preset threshold value, adjusting the output voltage of the adjustable charging equipment according to the reference charging current of the adjustable charging equipment and the real-time charging parameter of the mobile terminal so as to improve the overall charging efficiency of the mobile terminal.
2. The charge control method according to claim 1, wherein before the determination of the current overall charge efficiency, the charge control method further comprises:
determining a target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal;
and if the current output voltage of the adjustable charging equipment does not meet the target output voltage, adjusting the current output voltage to the target output voltage.
3. The charge control method of claim 1, wherein the real-time charging parameters of the mobile terminal include at least one of the following parameters: the method comprises the steps of cable internal resistance, input voltage of a charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference regulating threshold and battery internal resistance.
4. The charging control method according to claim 3, wherein the real-time charging parameters of the mobile terminal include a cable internal resistance, an input voltage of a charging chip, an input current of the charging chip, a system power consumption current, a battery voltage, and a voltage difference adjustment threshold;
in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
vbus_set=klos=f (Vbus, ibus, ibus_set, rcable, isys, vbat, vbus_thres), wherein Klos is an error loss constant, vbus is an input voltage of the charging chip, ibus is an input current of the charging chip, ibus_set is a reference charging current of the adjustable charging device, rcable is the cable internal resistance, isys is the system power consumption current, vbat is the battery voltage, and vbus_thres is the voltage difference adjustment threshold.
5. The charge control method according to claim 4, wherein in the step of determining the target output voltage of the adjustable charging device according to the reference charging current of the adjustable charging device and the real-time charging parameter of the mobile terminal, the target output voltage of the adjustable charging device is calculated according to the following formula:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。
6. the charge control method according to claim 4, wherein the system power consumption current is calculated according to the following formula:
Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
wherein Vbus is the input voltage of the charging chip, ibus is the input current of the charging chip, ceff is the charging efficiency, vbat is the battery voltage, ibat is the battery current, and Rbat is the battery internal resistance.
7. The charge control method according to claim 3, wherein the charge efficiency is calculated according to the following formula:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),
wherein Rbat is the internal resistance of the battery, vbat is the battery voltage, ibat is the battery current, isys is the system power consumption current, vbus is the input voltage of the charging chip, and Ibus is the input current of the charging chip.
8. The charge control method according to claim 3, wherein the cable internal resistance Rcable is calculated according to the following formula:
Figure FDA0003442774260000021
wherein m is the number of times of measuring the voltage, m is a positive integer greater than 0, ia is a reference current, vi is the output voltage of the adjustable charging device obtained by the ith measurement when the output current of the adjustable charging device is Ia, and Vbus is the input voltage of the charging chip obtained by the ith measurement.
9. The charge control method according to claim 3, wherein the battery internal resistance Rbat is calculated according to the following formula:
Figure FDA0003442774260000022
wherein n is the number of times of measuring the voltage and the current, n is a positive integer greater than 0, the current battery voltage Vb is obtained as the reference voltage, the current battery current Ib is taken as the reference current, when the j-th measurement sets the output current of the adjustable charging device to Ij, Δvbatj is the difference between the measured battery voltage and the reference voltage Vb, and Δibatj is the difference between the measured battery current and the reference current Ib.
10. The charge control method according to claim 2, wherein the step of determining that the current output voltage of the adjustable charging device does not satisfy the target output voltage includes:
calculating a voltage difference between a current output voltage of the adjustable charging device and a target output voltage of the adjustable charging device;
when the voltage difference is greater than or equal to a voltage difference adjustment threshold, determining that the current output voltage of the adjustable charging equipment does not meet the target output voltage;
and when the voltage difference is smaller than a voltage difference adjusting threshold, judging that the current output voltage of the adjustable charging equipment meets the target output voltage.
11. The charge control method according to claim 2, wherein the adjusting the current output voltage to the target output voltage includes:
determining an adjustment step size supported by the adjustable charging device;
if the current output voltage of the adjustable charging equipment is larger than the target output voltage, reducing the voltage according to the positive integer multiple of the adjustment step length;
and if the current output voltage of the adjustable charging equipment is smaller than the target output voltage, multiplying and adding voltage according to the positive integer of the adjusting step length.
12. The charge control method according to any one of claims 1 to 11, wherein the mobile terminal includes at least one charging chip, and the overall charging efficiency is a weighted sum of charging efficiencies of the respective charging chips.
13. The charge control method according to any one of claims 1 to 11, wherein after the output voltage of the adjustable charging device is adjusted, further comprising:
generating a charging log according to the reference charging current of the adjustable charging equipment and the relation between the output voltage of the adjustable charging equipment and the real-time charging parameters;
and uploading the charging log to a server.
14. A charge control method, comprising:
obtaining charging logs of a plurality of mobile terminals, wherein the charging logs are logs generated by the mobile terminals by executing the method of any one of claims 1 to 12;
and determining charging strategies corresponding to the types of various mobile terminals according to the charging logs, wherein the charging strategies comprise the relation between the output voltage of the adjustable charging equipment and real-time charging parameters and reference charging current of the adjustable charging equipment.
15. The charge control method according to claim 14, wherein the determining a charge policy corresponding to models of various mobile terminals according to the charge log includes:
extracting a sample in the charging log;
and training by using the sample to obtain a neural network model, wherein the input of the neural network model is the model of the mobile terminal, and the output of the neural network model is the charging strategy.
16. The charge control method according to claim 14, wherein the charge policies corresponding to models of various mobile terminals include a charge policy in at least one of the following charge modes:
a highest charge efficiency mode, a shortest charge time mode, and a least heat generation mode.
17. The charge control method according to claim 14, wherein the method further comprises:
and according to the charging strategy request of the mobile terminal, issuing a charging strategy corresponding to the model of the mobile terminal to the mobile terminal.
18. A charge control method, comprising:
taking a charging strategy obtained from a server as an alternative charging strategy according to the model of the mobile terminal, wherein the charging strategy is determined by the server in the charging control method according to any one of claims 14 to 17;
selecting a charging strategy for charging from at least one of the alternative charging strategies;
and in the charging process, regulating the output voltage of the adjustable charging equipment according to the charging strategy for charging.
19. The charge control method according to claim 18, wherein before the taking the charge policy received from the server as the alternative charge policy, comprising:
and sending a charging strategy request to a server.
20. An electronic device, the electronic device comprising:
one or more processors;
a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the charge control method according to any one of claims 1 to 19;
One or more I/O interfaces coupled between the processor and the memory configured to enable information interaction of the processor with the memory.
21. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the charge control method according to any one of claims 1 to 19.
CN202111638322.5A 2021-12-29 2021-12-29 Charging control method, electronic device, and computer-readable storage medium Pending CN116418056A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111638322.5A CN116418056A (en) 2021-12-29 2021-12-29 Charging control method, electronic device, and computer-readable storage medium
PCT/CN2022/141192 WO2023125252A1 (en) 2021-12-29 2022-12-22 Charging control methods, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111638322.5A CN116418056A (en) 2021-12-29 2021-12-29 Charging control method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116418056A true CN116418056A (en) 2023-07-11

Family

ID=86997784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111638322.5A Pending CN116418056A (en) 2021-12-29 2021-12-29 Charging control method, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN116418056A (en)
WO (1) WO2023125252A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117277517A (en) * 2023-11-21 2023-12-22 深圳市美矽微半导体股份有限公司 Intelligent real-time correction method and system for charging parameters of charging chip

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117479075B (en) * 2023-12-27 2024-03-19 山西尊特智能科技有限公司 Bluetooth headset wireless charging method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203387219U (en) * 2013-05-28 2014-01-08 向智勇 Electronic cigarette high-efficiency charging device
US9796284B2 (en) * 2014-02-25 2017-10-24 Nissan Motor Co., Ltd. Wireless power supply system and power transmission device
CN104967201B (en) * 2015-08-05 2018-10-02 青岛海信移动通信技术股份有限公司 Fast charge method, mobile terminal and the source adapter that can directly charge
CN106451599A (en) * 2016-08-16 2017-02-22 深圳天珑无线科技有限公司 Charging method and charging system
CN106208297B (en) * 2016-08-31 2021-01-08 维沃移动通信有限公司 Charging circuit, method for controlling charging of charging circuit and mobile terminal
CN106410909B (en) * 2016-10-27 2020-03-13 上海传英信息技术有限公司 Charging device and charging method for mobile terminal
CN108054815A (en) * 2017-12-29 2018-05-18 上海创功通讯技术有限公司 A kind of wireless charging method and equipment
CN110392968A (en) * 2018-09-06 2019-10-29 Oppo广东移动通信有限公司 A kind of charging method of adjustment, terminal and computer storage medium
CN112838655A (en) * 2020-12-31 2021-05-25 联想(北京)有限公司 Charging circuit, power adapter, electronic device and charging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117277517A (en) * 2023-11-21 2023-12-22 深圳市美矽微半导体股份有限公司 Intelligent real-time correction method and system for charging parameters of charging chip
CN117277517B (en) * 2023-11-21 2024-03-08 深圳市美矽微半导体股份有限公司 Intelligent real-time correction method and system for charging parameters of charging chip

Also Published As

Publication number Publication date
WO2023125252A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN116418056A (en) Charging control method, electronic device, and computer-readable storage medium
US6424123B1 (en) Battery charging system and charge control apparatus
WO2021238198A1 (en) Charging method, charging chip, and terminal device
US11063306B2 (en) Lithium-ion battery cut-off voltage adjustment
US20180321730A1 (en) Methods for adaptive battery charging and electronic device thereof
WO2021035736A1 (en) Charging control method and apparatus, charging test method and system, and electronic device
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
CN103872398A (en) Charging method of rechargeable battery and related charging structure
CN101764417A (en) Intelligent adaptive charge management device for lithium polymer storage battery and control system thereof
CN113359043B (en) Method, device and equipment for detecting self-discharge current of battery cell and computer storage medium
CN111009940B (en) Charge equalization device, terminal equipment, method and storage medium
WO2019042416A1 (en) Battery equalization method and system, vehicle, and electronic device
US9413189B2 (en) Method and system for rapid charging of rechargeable cells
CN105990842A (en) Electric peak regulation method and apparatus thereof
US11165269B2 (en) Electronic apparatus, charging method, and non-transitory computer readable recording medium
CN115754779A (en) Power management method, device, chip and storage medium
CN113783245A (en) Battery management method and system
CN112731194B (en) Method, system, equipment and medium for testing power supply current sharing and energy regulating capacity
CN115842173A (en) Battery temperature equalization method and device, electronic equipment and storage medium
KR20200085575A (en) Apparatus and method for determing maximum allowable power of a battery pack
CN112072737A (en) Charging method and device, electronic equipment and computer readable storage medium
CN112531822A (en) Battery equalization method and device
TWI687701B (en) Method for determining state of charge and electronic device thereof
CN113690962B (en) MPPT control method, device, equipment and storage medium for different input sources
CN106094523B (en) Based on efficiency and flow index area and maximum parallel operation system optimization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication