WO2023125252A1 - Charging control methods, electronic device and computer readable storage medium - Google Patents

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

Info

Publication number
WO2023125252A1
WO2023125252A1 PCT/CN2022/141192 CN2022141192W WO2023125252A1 WO 2023125252 A1 WO2023125252 A1 WO 2023125252A1 CN 2022141192 W CN2022141192 W CN 2022141192W WO 2023125252 A1 WO2023125252 A1 WO 2023125252A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
current
voltage
adjustable
output voltage
Prior art date
Application number
PCT/CN2022/141192
Other languages
French (fr)
Chinese (zh)
Inventor
贾宝锋
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023125252A1 publication Critical patent/WO2023125252A1/en

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

Definitions

  • the embodiments of the present application relate to the communication field, and in particular, to a charging control method, an electronic device, and a computer-readable storage medium.
  • Embodiments of the present application provide a charging control method, an electronic device, and a computer-readable storage medium.
  • the embodiment of the present application provides a charging control method, including: determining the current overall charging efficiency; when the current overall charging efficiency is lower than a predetermined threshold, according to the reference charging current of the adjustable charging device, and The real-time charging parameters are used to adjust the output voltage of the adjustable charging device, so as to improve the overall charging efficiency of the mobile terminal.
  • an embodiment of the present application provides a charging control method, including: acquiring charging logs of various mobile terminals, the charging logs being logs generated by the mobile terminal executing any one of the methods described in the first aspect ; According to the charging log, determine the charging strategy corresponding to the model of various mobile terminals, wherein the charging strategy includes the difference 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 Relationship.
  • the embodiment of the present application provides a charging control method, including: according to the model of the mobile terminal, using the charging strategy obtained from the server as an alternative charging strategy, wherein the charging strategy is based on the second The charging strategy determined by the server in the charging control method described in any one of the aspects; the charging strategy used for charging is selected from at least one of the alternative charging strategies; during the charging process, according to the charging strategy used for charging The charging strategy regulates the output voltage of the adjustable charging device.
  • the embodiment of the present application provides an electronic device, including: one or more processors; a memory, on which one or more programs are stored, when the one or more programs are executed by the one or more one or more processors, so that the one or more processors implement the charging control method according to any one of the first aspect to the third aspect; one or more I/O interfaces are connected between the processor and the third aspect;
  • the memory is configured to realize information interaction between the processor and the memory.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program according to the first aspect to the third aspect is implemented. Any one of the charging control methods.
  • Fig. 1 is a flowchart of a charging control method provided by an embodiment of the present application.
  • Fig. 2 is a flow chart of another charging control method provided by an embodiment of the present application.
  • Fig. 3 is a flowchart of some steps in a charging control method provided by an embodiment of the present application.
  • Fig. 4 is a flowchart of some steps in a charging control method provided by an embodiment of the present application.
  • Fig. 5 is a flow chart of yet another charging control method provided by an embodiment of the present application.
  • Fig. 6 is a flow chart of yet another charging control method provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of the hardware framework of the dual charging chip system provided by the embodiment of the present application.
  • Fig. 8 is a schematic diagram of an output voltage regulation software framework of an adjustable charging device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a charging control flow provided by an embodiment of the present application.
  • Fig. 10 is a schematic diagram of a flow chart for calculating the battery internal resistance provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of a calculation flow of cable internal resistance provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a charging voltage adjustment process provided by an embodiment of the present application.
  • Fig. 13 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 14 is a schematic diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the battery temperature is first divided into three temperature ranges. When the battery temperature is between 10 degrees and 45 degrees, it is marked as normal (normal), and it is charged with the maximum current limited by the charger. When the battery temperature is between 0 degrees and 10 degrees, it is marked as normal. If it is cool, use a smaller current for charging. When the battery is between 45 degrees and 50 degrees (or 55 degrees), it is marked as warm and use a smaller current for charging. When the battery is cool or warm, the charging current must meet the specifications of the battery.
  • the mobile phone detects that it is a fast charging charger that can boost the voltage, then the boost charging will be performed, otherwise it will be charged in the ordinary 5V normal mode, and the high voltage charging will always be maintained during the charging process. After the battery is fully charged or charged After reaching a constant voltage, it is lowered to 5V for charging, or when the battery temperature is warm or cool, it will perform step-down processing.
  • This existing charging method has the following disadvantages: 1) When the battery temperature is in the normal state, the charger is always in the mode of outputting high voltage for charging during the constant current charging stage.
  • the mobile terminal In the charging process of the related technology, if the mobile terminal supports fast charging for charging, it will boost the charging, keep the high voltage charging during the charging process, and reduce it to 5V charging after the battery is fully charged or charged to a constant voltage.
  • the charging efficiency Ceff (Vbat*Ibat)/(Vbus*Ibus) of the charging chip, wherein, Ceff is the charging efficiency, Vbat is the battery voltage, Ibat is the battery current, Vbus is the current input to the charging chip, and Ibus is the current input to the charging chip. current.
  • Ceff is the charging efficiency
  • Vbat the battery voltage
  • Ibat the battery current
  • Vbus the current input to the charging chip
  • Ibus is the current input to the charging chip. current.
  • the efficiency of the charging chip will be reduced. Therefore, charging at a high voltage (such as 9V) during the constant current charging process is not charging with the best efficiency.
  • Adjusting the voltage to an appropriate voltage value for charging while maintaining high charging efficiency can reduce energy loss in mobile terminal systems, charging chips, charging equipment, etc. caused by high-voltage charging, thereby reducing heat generation during charging . That is, without prolonging the charging time, it can also reduce the charging heat, which generally improves the user experience.
  • the embodiment of the present application proposes a solution.
  • the output voltage of the adjustable charging device is adjusted to achieve the maximum performance of the adjustable charging device.
  • the reference charging current takes into account the charging efficiency, realizes the balance between charging and heat generation, and exerts the optimal charging efficiency of the charging chip.
  • the embodiment of the present application provides a charging control method, as shown in FIG. 1 , the method includes the following steps:
  • step S100 determine the current overall charging efficiency
  • 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 parameters of the mobile terminal, so as to increase the Describe the overall charging efficiency of the mobile terminal.
  • the charging device used in the embodiment of the present application is a charging device with adjustable voltage.
  • the mobile terminal When the charging device is initially connected, the mobile terminal will detect the charging device. If the voltage is not adjustable, it will be charged in a normal way, which is out of the scope of this article; if the voltage is adjustable, it will be charged according to the charging control method of the embodiment of the application. , to adjust the voltage of the adjustable charging device.
  • the overall charging efficiency is recalculated according to the charging parameters measured in real time, so as to determine whether the overall charging efficiency reaches a predetermined threshold. If the overall charging efficiency is lower than the predetermined threshold, it is necessary to calculate the current target output voltage according to the reference charging current of the adjustable charging device and the real-time charging parameters of the mobile terminal, and adjust the current output voltage of the adjustable charging device, After the mediation, the overall charging efficiency is calculated again, and after repeated calculation and adjustment, until the current overall charging efficiency can reach the predetermined threshold and the output current of the adjustable charging device can be stabilized at the reference charging current.
  • the charging control method before the determination of the current overall charging efficiency, as shown in FIG. 2 , the charging control method further includes:
  • step S310 determine 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 parameters of the mobile terminal;
  • step S320 if the current output voltage of the adjustable charging device does not meet the target output voltage, adjust the current output voltage to the target output voltage.
  • the charging device is an adjustable charging device
  • the required output voltage of the adjustable charging device is reversely calculated according to the reference charging current of the adjustable charging device.
  • the charging parameters measured in real time such as cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference adjustment threshold, battery internal resistance, etc.
  • the One or more of them are used as calculation parameters for calculating the target output voltage of the adjustable charging device, and the target output voltage of the adjustable charging device is calculated. Then, adjust the voltage.
  • the target output voltage of the adjustable charging device is recalculated according to the charging parameters measured in real time, so as to determine whether the current output voltage of the adjustable charging device meets the target output voltage. After continuous adjustment and calculation, until the difference between the output voltage of the current adjustable charging device and the target output voltage is smaller than a certain threshold (for example, a voltage difference adjustment threshold).
  • a certain threshold for example, a voltage difference adjustment threshold
  • the charging efficiency will also be calculated to determine whether the current charging efficiency is too low. If it is lower than the predetermined threshold, it will also be recalculated according to the real-time measured charging parameters.
  • the target output voltage of the adjustable charging device starts a new round of adjustment.
  • the output voltage of the adjustable charging device When the output voltage of the adjustable charging device is stable near the target output voltage, and the calculated charging efficiency also meets the predetermined threshold, it does not mean that it can always be charged at this voltage, because during the entire charging process, some charging parameters may will change. For example, when the user uses high-power-consuming software in the mobile terminal while charging again and again, the power consumption of the system increases, which may cause heat generation. At this time, it is necessary to recalculate the appropriate target output voltage and current charging efficiency. The output voltage is readjusted. Therefore, it is also possible to periodically calculate whether the target output voltage and charging efficiency can be satisfied according to the current charging parameters. If the current output voltage of the adjustable charging device does not meet the target output voltage, or the current charging efficiency is lower than a predetermined threshold, the output voltage of the adjustable charging device is readjusted.
  • the charging control method proposed in the embodiment of this application adjusts the voltage of the adjustable charging device during the constant current charging process, and balances the heat generation and efficiency of charging, so that the system can play the best role in charging modes in different scenarios.
  • the best efficiency of the charging chip can reduce the energy loss during charging while ensuring the charging speed of the system. Under the same charging conditions, it can also reduce heat generation and improve the user experience in general.
  • the real-time charging parameters of the mobile terminal include at least one of the following parameters: cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage Difference adjustment threshold, battery internal resistance.
  • the real-time charging parameters of the mobile terminal include but are not limited to the above-mentioned parameters.
  • it may also be affected by other factors not listed here. To list one by one, all factors that affect the calculation of the target output voltage of the adjustable charging device based on the reference charging current of the adjustable charging device can be used as real-time charging parameters of the mobile terminal.
  • the real-time charging parameters of the mobile terminal include cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference adjustment threshold;
  • the adjustable charging device is calculated according to the following formula The target output voltage of:
  • Vbus_set Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres), where Klos is the error loss constant, Vbus is the input voltage of the charging chip, Ibus is the input current of the charging chip, and Ibus_set is the adjustable charging The reference charging current of the 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.
  • the mobile terminal When the mobile terminal is initially connected to the charging device, it can be charged according to the ordinary charging method first, and then calculate the target output voltage of the adjustable charging device during the charging process; it can also be carried out according to some basic charging parameters pre-agreed in the selected charging strategy. Charge.
  • the reference charging current of the adjustable charging device is a value that has been determined at the beginning of charging, and the input voltage of the charging chip, the input current of the charging chip, and the battery voltage are all measured in real time.
  • the calculation of the target output voltage of the adjustable charging device is calculated by combining these real-time measured charging parameters under the assumption that the reference charging current is constant.
  • Klos is an error loss constant, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value. In actual work, different values can also be set according to the actual situation, or based on history multiple times Calculate an appropriate error loss constant value based on the statistical results of charging.
  • the internal resistance of cables varies with different types of charging equipment, and the internal resistance of batteries also varies with different types of mobile terminal batteries, and may change with the use of cables and batteries.
  • the internal resistance of the cable and the internal resistance of the battery can be calculated before each charge. Of course, the calculation may also be performed according to the pre-estimated cable internal resistance and battery internal resistance in the selected charging strategy.
  • the power consumption of the system will vary greatly with the running programs in the mobile terminal. For example, the power consumption of the mobile phone when it is idle is very different from that of the mobile phone when the camera or game software is turned on. Therefore, it is necessary to periodically detect the power consumption of the system to determine The current actual system power consumption and the corresponding charging efficiency are used to determine whether the output voltage of the adjustable charging device needs to be adjusted.
  • the output voltage of the adjustable charging device does not have to be completely equal to the target output voltage.
  • the difference between the two is within the voltage difference adjustment threshold range, it is not necessary to frequently adjust the output voltage of the adjustable charging device to avoid excessive Calculations and voltage adjustments cause unnecessary losses. Only when the difference between the two is large enough to exceed the voltage difference adjustment threshold, will the adjustment of the output voltage of the adjustable charging device be triggered.
  • the output voltage of the adjustable charging device is calculated according to the following formula: Target output voltage:
  • Vbus_set (Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set.
  • the system power consumption current is calculated according to the following formula:
  • Isys ((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
  • 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
  • Rbat is the internal resistance of the battery.
  • the charging efficiency is calculated according to the following formula:
  • 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
  • Ibus is the input current of the charging chip.
  • the cable internal resistance Rcable is calculated according to the following formula:
  • m is the number of voltage measurements, and m is a positive integer greater than 0, Ia is the reference current, and when the output current of the adjustable charging device is Ia, Vi is the adjustable charging voltage obtained from the ith measurement.
  • the output voltage of the device, Vbusi is the input voltage of the charging chip obtained from the ith measurement.
  • the battery internal resistance Rbat is calculated according to the following formula:
  • n is the number of times to measure the voltage and current, and 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 used as the reference current, and the adjustable charging is set at the jth measurement
  • ⁇ Vbatj is the difference between the measured battery voltage and the reference voltage Vb
  • ⁇ Ibatj is the difference between the measured battery current and the reference current Ib.
  • the calculation formulas for the target output voltage, system power consumption current, charging efficiency, cable internal resistance, and battery internal resistance of the adjustable charging equipment proposed in this paper are just examples of specific formulas for calculating these indicators.
  • the correlation before the parameters can be adjusted in the form of the calculation formula to achieve accurate calculation or estimation of each parameter and achieve a better charging effect.
  • the step of judging whether the current output voltage of the adjustable charging device meets the target output voltage includes:
  • step S321 calculating the voltage difference between the current output voltage of the adjustable charging device and the target output voltage of the adjustable charging device
  • step S322 when the voltage difference is greater than or equal to the voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device does not meet the target output voltage
  • 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.
  • the voltage regulation is performed, only when the voltage difference is greater than or equal to the voltage difference
  • the threshold is adjusted, it is determined that the current output voltage of the adjustable charging device does not meet the target output voltage, and voltage adjustment is required. If 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, and there is no need to adjust the voltage temporarily.
  • the recalculation of the target output voltage of the adjustable charging device will be triggered and the current output voltage will be readjusted; if the charging efficiency can also reach the predetermined threshold based on this calculation, no voltage adjustment is necessary , continue charging according to this voltage, until it is periodically detected that the current output voltage of the adjustable charging device does not meet the target output voltage, or the current charging efficiency is lower than the predetermined threshold, the output of the adjustable charging device voltage is regulated.
  • the adjusting the current output voltage to the target output voltage includes:
  • step S324 determine the adjustment step size supported by the adjustable charging device
  • step S325 if the current output voltage of the adjustable charging device is greater than the target output voltage, then reduce the voltage according to a positive integer multiple of the adjustment step;
  • step S326 if the current output voltage of the adjustable charging device is lower than the target output voltage, the voltage is increased according to a positive integer multiple of the adjustment step size.
  • each gear voltage (such as 25 millivolts) is used as the adjustment step size, and each adjustment is set according to the multiple value of the gear voltage.
  • the voltage difference is large (such as 1520 millivolts), you can adjust multiple gear voltages (such as 1500 millivolts) at a time.
  • the voltage difference is small (such as 50 millivolts), you can only adjust one or two gears at a time. gear voltage.
  • the mobile terminal includes at least one charging chip, and the overall charging efficiency is a weighted sum of charging efficiencies of the charging chips.
  • the embodiment of the present application can be applied to a system with dual charging chips and dual fuel gauges to charge a system with dual rechargeable batteries, and can even be used to charge a system with more charging chips to charge multiple rechargeable batteries.
  • the target output voltage, system power consumption current, cable internal resistance, battery internal resistance and other indicators of the relevant adjustable charging equipment are uniformly calculated, and the charging efficiency of each charging chip is calculated separately, and the charging efficiency of each charging chip is calculated.
  • the weighted sum of efficiency is taken as the overall charging efficiency, and the best charging efficiency of each charging chip is exerted as much as possible.
  • the method also includes:
  • the calculation process can also be performed on the server side.
  • the mobile terminal performs voltage adjustment according to the charging control method of the embodiment of the present application, and generates a charging log based on the relationship between the reference charging current of the adjustable charging device and the output voltage of the adjustable charging device and real-time charging parameters at each adjustment.
  • the server uses big data cloud computing to collect a large number of charging logs of mobile terminals as samples for learning, and trains to obtain a charging control model according to the charging control method of the embodiment of the present application.
  • the optimal charging strategy can be obtained according to the model and charging mode of the mobile terminal.
  • the mobile terminal After the mobile terminal obtains the charging strategy from the server, it only needs to use the real-time adjustable output voltage of the charging device and the charging parameters as input parameters, and can find the corresponding target output voltage in a fool-like manner without step-by-step adjustment and calculation. process. It not only saves the system resources of the mobile terminal, but also improves the charging efficiency of all mobile terminals within the management range of the server.
  • the charging log can be actively recorded through the mobile terminal, and the charging log can be uploaded to the server as a sample for subsequent learning and training.
  • the embodiment of the present application provides a charging control method, as shown in FIG. 5 , including:
  • step S410 various charging logs of the mobile terminal are obtained, and the charging log is a log generated by the mobile terminal executing the method described in any one of the first aspect;
  • step S420 according to the charging log, determine charging strategies corresponding to various mobile terminal models, wherein the charging strategy includes the output voltage of the adjustable charging device, real-time charging parameters and the benchmark of the adjustable charging device The relationship between charging current.
  • the method also includes:
  • the charging strategy corresponding to the model of the mobile terminal is delivered to the mobile terminal.
  • the charging control method of the embodiment of the present application can use big data cloud computing to carry out learning and training based on the server, and perform statistical learning on all mobile terminals using the same type, and finally train a better charging voltage adjustment scheme for this type of mobile terminal , save and record the adjustment plan, and send it directly to the mobile terminal of the user in the background, or send an alternative charging strategy to the mobile terminal in response to the request of the mobile terminal.
  • the mobile terminal directly uses the configured scheme to charge, which reduces the amount of computation of the mobile terminal during the charging process, reduces the number of attempts to adjust the voltage, and can achieve a balance between charging speed, heat generation and charging efficiency faster.
  • the determining charging strategies corresponding to various mobile terminal models according to the charging log includes:
  • the input of the neural network model is the model of the mobile terminal, and the output is the charging strategy.
  • the sample used is the reference charging current of the adjustable charging device recorded by the mobile terminal during the execution of the charging control method of the embodiment of the application, and the adjustable charging device The relationship between the output voltage and real-time charging parameters.
  • a large number of charging logs of mobile terminals are used as samples, feature vectors are extracted, and a neural network model for charging control is obtained through training.
  • the corresponding charging strategy can be obtained according to the model of the mobile terminal as an alternative charging strategy for the corresponding mobile terminal.
  • the charging strategies corresponding to various mobile terminal models include charging strategies in at least one of the following charging modes:
  • the highest charging efficiency mode the shortest charging time mode, and the least heat generation mode.
  • the neural network model used as charging control can also be trained to obtain charging strategies in different modes such as the highest charging efficiency mode, the shortest charging time mode, and the least heat generation mode, for mobile terminals to choose according to specific needs .
  • the embodiment of the present application provides a charging control method, as shown in FIG. 6 , the method includes:
  • step S510 according to the model of the mobile terminal, the charging strategy obtained from the server is used as an alternative charging strategy, wherein the charging strategy is the server in the charging control method according to any one of the second aspect Determined charging strategy;
  • step S520 selecting a charging strategy for charging from at least one of the alternative charging strategies
  • step S530 during the charging process, the output voltage of the adjustable charging device is adjusted according to the charging strategy for charging.
  • the charging strategy includes a charging strategy in at least one of the following charging modes:
  • the highest charging efficiency mode the shortest charging time mode, and the least heat generation mode.
  • the charging control method of the embodiment of the present application not only includes the steps of gradually adjusting the voltage according to S100 and S200, but also includes learning and training according to the charging control method of the embodiment of the present application under different charging modes such as efficiency, speed, and heat generation to obtain various charging modes.
  • Optimal charging strategy in charging mode The specific learning and training process may not be carried out in the mobile terminal, but the learning and training are based on the output voltage and real-time charging parameters of the adjustable charging device and the adjustable charging device during the execution of the charging control method in the embodiment of the application.
  • the relationship between the reference charging currents of the equipment is obtained to obtain the optimal charging strategy in each charging mode.
  • the mobile terminal can choose among alternative charging strategies according to specific needs, omitting the specific calculation and adjustment process, and directly adjust according to the corresponding voltage given in the charging strategy.
  • the method before using the charging strategy received from the server as the alternative charging strategy, the method includes:
  • the alternative charging strategy can be preset by the mobile terminal, or can be obtained from the server.
  • the mobile terminal records the reference charging current of the adjustable charging device and the relationship between the output voltage of the adjustable charging device and real-time charging parameters during the process of executing the charging control method of the embodiment of the application, and generates a charging Logs
  • the server side uses big data cloud computing to learn and train the charging logs of a large number of different types of mobile terminals, conduct statistical learning on the charging logs of the same type of mobile terminals, and finally train the best mobile terminals for this type
  • the charging voltage adjustment plan is saved and recorded to form an alternative charging strategy, which is directly issued to the mobile terminal in the background, or is issued to the mobile terminal in response to the request of the mobile terminal.
  • the mobile terminal directly uses the configured scheme to charge, which reduces the amount of calculation of the mobile terminal during the charging process, reduces the number of attempts to adjust the voltage, and can achieve a balance between charging speed, heat generation and charging efficiency faster.
  • FIG. 7 is a schematic hardware block diagram of the charging control method provided by this embodiment.
  • USB_IN is the input of Universal Serial Bus (USB, Universal Serial Bus) or adjustable charging equipment
  • VBAT_SYS is the output of battery power supply to the system, which is used as the input of system power supply.
  • the first charging module is a charging chip of the system
  • the second charging module is the second charging chip of the system
  • the two charging chips charge the system at the same time
  • the fuel gauge is used to detect and calculate the power of the battery.
  • the software framework of this embodiment is shown in Figure 8, which includes the following six units: an adjustable charging device output voltage adjustable detection unit, a battery internal resistance detection unit, a charging cable internal resistance detection unit, and a system power consumption detection and estimation unit , Adjustable charging equipment output voltage adjustment unit, charging efficiency statistical detection unit.
  • Adjustable charging device output voltage adjustable detection unit used to detect the insertion of the adjustable charging device, and detect whether the currently charging adjustable charging device supports the output voltage adjustment function, if it does not support the adjustment, then use the fixed voltage directly Charging, that is, the usual charging method.
  • the internal resistance detection unit of the battery is used to detect and estimate the internal resistance of the battery during current charging. For different charging currents and different battery temperatures, the performance of the internal resistance of the battery is different, and different batteries will affect the final adjustable The charging device output voltage. Record the detected battery voltage and battery current to calculate the internal resistance of the battery.
  • Charging cable internal resistance detection unit this module is used to detect and estimate the internal resistance of the currently used charging cable. Different cables have different internal resistances, and cables with different internal resistances will affect the final adjustable charging. device output voltage. Record the detected battery voltage and battery current to calculate the internal resistance of the cable.
  • the system power consumption detection and estimation unit periodically conducts system business power consumption statistics during the charging process, and different business power consumption will eventually affect the final output voltage of the adjustable charging device. If it is standby charging, the power consumption of the system can be ignored. If the system is running, the power consumption of the system needs to be estimated, and the estimated system power consumption should be recorded. The system power consumption will eventually participate in the charging efficiency statistical detection unit to evaluate the charging efficiency.
  • the adjustable charging device output voltage adjustment unit is the core unit of this patent. It adjusts the output voltage of the adjustable charging device according to the maximum charging power set by the current system, the charging cable used, and the power consumption statistics of the current system. Adjust the voltage of the adjustable charging device to an appropriate voltage for charging. The following functional relationship can be used to calculate the target output voltage of the adjustable charging device:
  • Vbus_set Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres).
  • the function parameter of the maximum charging power set by the system is shown in the reference input current Ibus_set of the adjustable charging device, according to the calculated internal resistance Rcable of the cable, and the calculated internal resistance Rbat of the battery, and the calculation and setting adjustment according to Vbus_set,
  • Klos is an error loss constant parameter, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value. In practice, different values can also be set in actual situations.
  • Charging efficiency statistical detection unit which is used to statistically calculate the overall efficiency of the current charging, use this efficiency to further detect and evaluate whether the adjustment under the current charging voltage is reasonable, and further feed back to the adjustable charging device voltage adjustment unit for fine-tuning to prevent There are large abnormal fluctuations in the adjustment.
  • the entire charging control process of the charging control method is shown in FIG. 9 .
  • the charger output voltage adjustable detection unit module When the system detects that the charger is plugged in, the charger output voltage adjustable detection unit module first detects that the charger output voltage is adjustable. If it is detected that the charger supports the voltage regulation function, go to S603. If the charger does not support the voltage regulation function, then charge with a fixed voltage.
  • the battery internal resistance detection unit performs battery internal resistance detection. As shown in Figure 10, during the detection, within the current range of the charging current, three current points of low current, medium current and maximum current can be selected to detect the internal resistance of the battery, which are recorded as Rbat1, Rbat2 and Rbat3 respectively. After completion, calculate the final average internal resistance Rbat, record and save it.
  • the formula for calculating the internal resistance of the battery is as follows:
  • Rbat (miohms) (( ⁇ Vbat1/ ⁇ Ibat1)+( ⁇ Vbat2/ ⁇ Ibat2)+( ⁇ Vbat3/ ⁇ Ibat3))*1000/3.
  • the internal resistance detection unit of the charging cable is used to detect the internal resistance of the charging cable. As shown in Figure 11, within the charging voltage range, select low voltage, medium voltage and maximum voltage for cable internal resistance detection.
  • the analysis records are Rcable1, Rcable2, and Rcable3.
  • Rcable (milliohms) (((5-Vbus1)+(7-Vbus2)+(9-Vbus3))*1000/1)/3.
  • the system After the detection of the internal resistance of the cable is completed, it will be charged according to the maximum power set by the system to the maximum voltage that the system can support.
  • the system may be in various power consumption modes during charging. In the initial situation, the system function can be preset. If the power consumption Isys is 0, first perform voltage adjustment calculation according to the current parameters and enter S606.
  • the adjustable charging device output voltage adjusting unit calculates whether it is necessary to adjust the output voltage of the adjustable charging device according to the current charging situation.
  • the charging voltage adjustment process is shown in Figure 12. The specific parameters currently required are obtained, and the target output voltage of the adjustable charging device is calculated according to the previous reference function relationship:
  • Vbus_set Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres).
  • Klos is an error loss constant parameter, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value, and different values can also be set in practice.
  • Vbus_set (Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set.
  • the Vbus_set value is the maximum charging voltage. Comparing Vbus_diff with Vbus_thres, if the difference is found to be large, such as greater than 1520 millivolts, this value can also be preset and changed in practice, then it is considered that the current Vbus is relatively large, and then Vbus is lowered by an adjustable charging device support
  • the gear voltage 25 millivolts
  • the gear voltage can also be set according to the multiple value of the gear voltage in practice, such as 50 millivolts, and the embodiment of the present application does not specifically refer to 25 millivolts.
  • the difference is found to be small, such as less than 500 millivolts, then add a gear voltage (25 millivolts) supported by the adjustable charging device. In practice, it can also be set according to the multiple value of the gear voltage, such as 50 millivolts , the embodiment of this application does not specifically refer to 25 millivolts.
  • the Vbus_set value After setting, it is necessary to update the Vbus_set value to the currently set adjustable charging device voltage value. After the voltage adjustment is completed, the charging will be charged normally according to the settings under the current parameters, and wait for the next time Adjustment.
  • Isys ((Vbus*Ibus)*Ceff/(Vbat ⁇ Ibat*Rbat) ⁇ Ibat).
  • 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
  • Rbat of the battery is also calculated here
  • Ibat is the charging current of the battery. Record and save the results of the calculation.
  • the initial default charging efficiency Ceff is 85%. Calculate Isys and save it. At the same time, save the Vbat corresponding to the calculated Isys. It needs to be used in subsequent voltage adjustments. This charging efficiency value Ceff will change. Wait for the next time. When the new charging efficiency is counted, the new charging efficiency will be used as the parameter value for the next calculation.
  • the dynamic change of Ceff charging efficiency can better reflect the dynamic statistics of power consumption.
  • Ceff (Vbat*(Ibat+Isys))/(Vbus*Ibus).
  • the efficiency of each charging chip can also be calculated and counted. Count these efficiencies together to evaluate and decide whether the output voltage of the current adjustable charging equipment is in a better state. Feedback the obtained charging efficiency at Ceff to the charging voltage regulation module, if Ceff is lower than 80%, then it is necessary to trigger and adjust the output voltage of the adjustable charging device. If a large load change occurs in the system power consumption, it is also necessary to trigger charging voltage regulation.
  • the calculation process in the charging control method is implemented on the server side.
  • the mobile terminal performs voltage adjustment according to the charging control method of the embodiment of the present application, and generates a charging log based on the relationship between the reference charging current of the adjustable charging device and the output voltage of the adjustable charging device and real-time charging parameters at each adjustment, Upload the charging log to the server.
  • the server uses big data cloud computing to collect a large number of charging logs of mobile terminals as samples for learning, and trains to obtain a charging control model according to the charging control method of the embodiment of the present application.
  • the optimal charging strategy can be obtained according to the model and charging mode of the mobile terminal.
  • the mobile terminal After the mobile terminal obtains the charging strategy from the server, it only needs to use the real-time adjustable output voltage of the charging device and the charging parameters as input parameters, and can find the corresponding target output voltage in a fool-like manner without step-by-step adjustment and calculation. process. It not only saves the system resources of the mobile terminal, but also improves the charging efficiency of all mobile terminals within the management range of the server.
  • the embodiment of the present application provides an electronic device, as shown in FIG. 13 , which includes:
  • processors 501 one or more processors 501;
  • Memory 502 on which one or more programs are stored, and when one or more programs are executed by one or more processors, one or more processors realize the charging of any one of the first to third aspects above Control Method;
  • One or more I/O interfaces 503 are connected between the processor and the memory, and are configured to realize information exchange between the processor and the memory.
  • the processor 501 is a device with data processing capability, which includes but not limited to a central processing unit (CPU), etc.
  • the memory 502 is a device with data storage capability, which includes but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read-write interface) 503 is connected between processor 501 and memory 502 , can realize information interaction between the processor 501 and the memory 502, which includes but not limited to a data bus (Bus) and the like.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrified erasable programmable read-only memory
  • FLASH flash memory
  • I/O interface (read-write interface) 503 is connected between processor 501 and memory 502 , can realize information interaction between the processor 501 and the memory 502, which includes but not limited to a data bus (Bus) and the
  • the processor 501 , the memory 502 and the I/O interface 503 are connected to each other through the bus 504 , and further connected to other components of the computing device.
  • the embodiment of the present application provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned first aspect to the third aspect are realized. Any one of the charge control methods.
  • the charging control method proposed in the embodiment of this application adjusts the voltage of the adjustable charging device during the constant current charging process, and balances the heat generation and efficiency of charging, so that the system can play the best role in charging modes in different scenarios.
  • the best efficiency of the charging chip can reduce the energy loss during charging while ensuring the charging speed. Under the same charging conditions, it can also reduce heat generation and improve the user experience in general.
  • the division between 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 composed of several physical components. Components cooperate to execute.
  • 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 .
  • a processor such as a central processing unit, digital signal processor, or microprocessor
  • 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).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • 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 may include any information delivery media .

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

Provided in the embodiments of the present application are charging control methods, an electronic device and a computer readable storage medium. A charging control method comprises: 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 an adjustable charging device according to the reference charging current of the adjustable charging device and real-time charging parameters of a mobile terminal.

Description

充电控制方法、电子设备和计算机可读存储介质Charging control method, electronic device, and computer-readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于2021年12月29日提交的申请名称为“充电控制方法、电子设备和计算机可读存储介质”的中国专利申请CN202111638322.5,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本申请。This application is based on the Chinese patent application CN202111638322.5 filed on December 29, 2021 with the title of "charging control method, electronic device and computer-readable storage medium", and claims the priority of this patent application, which is incorporated by reference The disclosed content is incorporated in this application in its entirety.
技术领域technical field
本申请实施例涉及通信领域,尤其涉及一种充电控制方法、电子设备和计算机可读存储介质。The embodiments of the present application relate to the communication field, and in particular, to a charging control method, an electronic device, and a computer-readable storage medium.
背景技术Background technique
随着移动终端快充技术的发展,用户对充电的速度要求越来越高,要加快充电的速度,就要提升充电电流,或者改进电池本身的物理特性,容量或者材料等。在提升充电电流的时候,就会导致移动终端系统充电发热,所以不能一味的追求大电流,对于充电芯片来说,充电的过程要先升压,最终到给电池侧充电时,又要降低电压,在这个过程中,过高的电压会带来移动终端系统、充电芯片、充电设备等多方面的能量损耗,损耗越大,发热就越大。因此,减少能量损耗,提高充电效率成为本领域的难题。With the development of fast charging technology for mobile terminals, users have higher and higher requirements for charging speed. To speed up charging, it is necessary to increase the charging current, or improve the physical characteristics, capacity or materials of the battery itself. When the charging current is increased, it will cause the mobile terminal system to generate heat during charging, so we cannot blindly pursue high current. For the charging chip, the charging process must first increase the voltage, and finally when charging the battery side, the voltage must be lowered. , In this process, excessive voltage will cause energy loss in mobile terminal systems, charging chips, charging equipment, etc. The greater the loss, the greater the heat generation. Therefore, reducing energy loss and improving charging efficiency has become a difficult problem in this field.
发明内容Contents of the invention
本申请实施例提供一种充电控制方法、电子设备和计算机可读存储介质。Embodiments of the present application provide a charging control method, an electronic device, and a computer-readable storage medium.
第一方面,本申请实施例提供了一种充电控制方法,包括:确定当前的总体充电效率;当当前的总体充电效率低于预定阈值时,根据可调充电设备的基准充电电流、以及移动终端的实时充电参数对所述可调充电设备的输出电压进行调节,以提高所述移动终端的总体充电效率。In the first aspect, the embodiment of the present application provides a charging control method, including: determining the current overall charging efficiency; when the current overall charging efficiency is lower than a predetermined threshold, according to the reference charging current of the adjustable charging device, and The real-time charging parameters are used to adjust the output voltage of the adjustable charging device, so as to improve the overall charging efficiency of the mobile terminal.
第二方面,本申请实施例提供了一种充电控制方法,包括:获取多种移动终端的充电日志,所述充电日志为移动终端执行第一方面中任一项所述的方法所生成的日志;根据所述充电日志,确定与各种移动终端的型号相对应的充电策略,其中,充电策略包括所述可调充电设备的输出电压与实时充电参数以及可调充电设备的基准充电电流之间的关系。In a second aspect, an embodiment of the present application provides a charging control method, including: acquiring charging logs of various mobile terminals, the charging logs being logs generated by the mobile terminal executing any one of the methods described in the first aspect ; According to the charging log, determine the charging strategy corresponding to the model of various mobile terminals, wherein the charging strategy includes the difference 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 Relationship.
第三方面,本申请实施例提供了一种充电控制方法,包括:根据所述移动终端的型号,将从服务器获取的充电策略作为备选的充电策略,其中,所述充电策略为根据第二方面中任意一项所述的充电控制方法中服务器确定的充电策略;在至少一个所述备选的充电策略中选出用于充电的充电策略;在充电过程中,按照所述用于充电的充电策略对所述可调充电设备的输出电压进行调节。In the third aspect, the embodiment of the present application provides a charging control method, including: according to the model of the mobile terminal, using the charging strategy obtained from the server as an alternative charging strategy, wherein the charging strategy is based on the second The charging strategy determined by the server in the charging control method described in any one of the aspects; the charging strategy used for charging is selected from at least one of the alternative charging strategies; during the charging process, according to the charging strategy used for charging The charging strategy regulates the output voltage of the adjustable charging device.
第四方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述 一个或多个处理器实现根据第一方面至第三方面中任意一项所述的充电控制方法;一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。In a fourth aspect, the embodiment of the present application provides an electronic device, including: one or more processors; a memory, on which one or more programs are stored, when the one or more programs are executed by the one or more one or more processors, so that the one or more processors implement the charging control method according to any one of the first aspect to the third aspect; one or more I/O interfaces are connected between the processor and the third aspect; The memory is configured to realize information interaction between the processor and the memory.
第五方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现根据第一方面至第三方面中任意一项所述的充电控制方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program according to the first aspect to the third aspect is implemented. Any one of the charging control methods.
附图说明Description of drawings
图1是本申请实施例提供的一种充电控制方法的流程图。Fig. 1 is a flowchart of a charging control method provided by an embodiment of the present application.
图2是本申请实施例提供的另一种充电控制方法的流程图。Fig. 2 is a flow chart of another charging control method provided by an embodiment of the present application.
图3是本申请实施例提供的一种充电控制方法中部分步骤的流程图。Fig. 3 is a flowchart of some steps in a charging control method provided by an embodiment of the present application.
图4是本申请实施例提供的一种充电控制方法中部分步骤的流程图。Fig. 4 is a flowchart of some steps in a charging control method provided by an embodiment of the present application.
图5是本申请实施例提供的再一种充电控制方法的流程图。Fig. 5 is a flow chart of yet another charging control method provided by an embodiment of the present application.
图6是本申请实施例提供的再一种充电控制方法的流程图。Fig. 6 is a flow chart of yet another charging control method provided by an embodiment of the present application.
图7是本申请实施例提供的双充电芯片系统硬件框架示意图。Fig. 7 is a schematic diagram of the hardware framework of the dual charging chip system provided by the embodiment of the present application.
图8是本申请实施例提供的可调充电设备输出电压调节软件框架示意图。Fig. 8 is a schematic diagram of an output voltage regulation software framework of an adjustable charging device provided by an embodiment of the present application.
图9是本申请实施例提供的充电控制流程示意图。FIG. 9 is a schematic diagram of a charging control flow provided by an embodiment of the present application.
图10是本申请实施例提供的电池内阻计算流程示意图。Fig. 10 is a schematic diagram of a flow chart for calculating the battery internal resistance provided by the embodiment of the present application.
图11是本申请实施例提供的线缆内阻计算流程示意图。FIG. 11 is a schematic diagram of a calculation flow of cable internal resistance provided by an embodiment of the present application.
图12是本申请实施例提供的充电电压调整流程示意图。FIG. 12 is a schematic diagram of a charging voltage adjustment process provided by an embodiment of the present application.
图13是本申请实施例提供的一种电子设备的示意图。Fig. 13 is a schematic diagram of an electronic device provided by an embodiment of the present application.
图14是本申请实施例提供的一种计算机可读存储介质的示意图。Fig. 14 is a schematic diagram of a computer-readable storage medium provided by an embodiment of the present application.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the subsequent description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.
一般将电池温度先划分为三个温度段,当电池温度在10度到45度时,标记为正常(normal),使用充电器限制的最大电流充电,当电池温度在0度到10度,标记为冷(cool),使用一个较小的电流进行充电,当电池在45度到50度(或者55度)时,标记为热(warm),使用一个较小的电流进行充电。在电池为cool或者warm时,充电电流必须满足电池的规格书说明。Generally, the battery temperature is first divided into three temperature ranges. When the battery temperature is between 10 degrees and 45 degrees, it is marked as normal (normal), and it is charged with the maximum current limited by the charger. When the battery temperature is between 0 degrees and 10 degrees, it is marked as normal. If it is cool, use a smaller current for charging. When the battery is between 45 degrees and 50 degrees (or 55 degrees), it is marked as warm and use a smaller current for charging. When the battery is cool or warm, the charging current must meet the specifications of the battery.
在手机检测到如果是能升压的快充充电器,那么就进行升压充电,否则就是在普通的5V普通模式下进行充电,在充电的过程中一直保持高压充电,在电池充满后或者充电到恒压后降低到5V充电,或者当电池温度处于warm或者cool时会进行降压处理。这种现有的充电方法,存在的如下的一些缺点:1)当电池温度处于normal状态时,在恒流的充电阶段,充电器一直是处于输出高压的模式进行充电。2)在这种一直是处于高压模式下进行的充电,在手机发热的情况下,通常的做法就是对手机进行限流,可以较快的降低电池的发热,是系统表现出温度减低。但是如果限制进入电池的电流,这个也会延长手机的充电时间。如果是限制的输入电流,那么总的电流就会降低,既会影响充电器给系统的业务供电,也会影响给电 池充电的电流,同样会延迟手机的充电时间。这两种情况的限流都会使系统平衡发热和充电时间。3)在充电的过程中,充电器的输出电压一直是保持不变的。从充电效率的角度来说,进入充电芯片的是高电压,这个电压是大于5V的,到给电池充电时,又要降低电压,在这个转换的过程中,会产生能量的损耗,使得充电芯片不能发挥出最优的充电效率。If the mobile phone detects that it is a fast charging charger that can boost the voltage, then the boost charging will be performed, otherwise it will be charged in the ordinary 5V normal mode, and the high voltage charging will always be maintained during the charging process. After the battery is fully charged or charged After reaching a constant voltage, it is lowered to 5V for charging, or when the battery temperature is warm or cool, it will perform step-down processing. This existing charging method has the following disadvantages: 1) When the battery temperature is in the normal state, the charger is always in the mode of outputting high voltage for charging during the constant current charging stage. 2) In this kind of charging that is always in the high-voltage mode, when the mobile phone is hot, the usual method is to limit the current of the mobile phone, which can quickly reduce the heating of the battery, and the temperature of the system will decrease. But if you limit the current going into the battery, this will also prolong the charging time of the phone. If the input current is limited, the total current will be reduced, which will not only affect the power supply of the system by the charger, but also affect the current for charging the battery, and will also delay the charging time of the mobile phone. Current limiting in both cases will allow the system to balance heat generation and charging time. 3) During the charging process, the output voltage of the charger remains constant. From the perspective of charging efficiency, the high voltage that enters the charging chip is greater than 5V. When charging the battery, the voltage must be reduced. During this conversion process, energy loss will occur, making the charging chip The optimal charging efficiency cannot be exerted.
在相关技术的充电的过程中,如果移动终端支持快充进行充电,那么就会升压充电,在充电的过程中一直保持高压充电,在电池充满后或者充电到恒压后降低到5V充电。充电芯片的充电效率Ceff=(Vbat*Ibat)/(Vbus*Ibus),其中,Ceff是充电效率,Vbat是电池电压,Ibat是电池电流,Vbus是输入充电芯片的电流,Ibus是输入充电芯片的电流。在电流Ibus固定的情况下,如果Vbus增大,就会降低充电芯片的效率。因此,在恒流充电的过程中一直保持在高压(比如9V)进行充电,并不是以最佳的效率来充电。在系统发热后,在限流的情况下,实际上不需要维持高电压,可以降压一定的电压,在充电的发热和效率之间进行平衡。将电压调整到一个合适的电压值进行充电的同时,维持较高的充电效率,可以减少高电压充电导致的移动终端系统、充电芯片、充电设备等各方面的能量损耗,进而减少充电时的发热。即在不延长充电时间的情况下,还能降低充电发热,总体上提升了用户体验。In the charging process of the related technology, if the mobile terminal supports fast charging for charging, it will boost the charging, keep the high voltage charging during the charging process, and reduce it to 5V charging after the battery is fully charged or charged to a constant voltage. The charging efficiency Ceff=(Vbat*Ibat)/(Vbus*Ibus) of the charging chip, wherein, Ceff is the charging efficiency, Vbat is the battery voltage, Ibat is the battery current, Vbus is the current input to the charging chip, and Ibus is the current input to the charging chip. current. When the current Ibus is fixed, if the Vbus increases, the efficiency of the charging chip will be reduced. Therefore, charging at a high voltage (such as 9V) during the constant current charging process is not charging with the best efficiency. After the system heats up, in the case of current limiting, there is actually no need to maintain a high voltage, and a certain voltage can be lowered to balance the heat generation and efficiency of charging. Adjusting the voltage to an appropriate voltage value for charging while maintaining high charging efficiency can reduce energy loss in mobile terminal systems, charging chips, charging equipment, etc. caused by high-voltage charging, thereby reducing heat generation during charging . That is, without prolonging the charging time, it can also reduce the charging heat, which generally improves the user experience.
于是,针对现有充电方式的缺陷和不足,本申请实施例提出一种解决方案,对于可以调整输出电压的可调充电设备,对可调充电设备的输出电压进行调整,达到可调充电设备的基准充电电流,兼顾充电效率,实现在充电和发热之间的平衡,发挥充电芯片的最优充电效率。Therefore, aiming at the defects and deficiencies of the existing charging methods, the embodiment of the present application proposes a solution. For an adjustable charging device that can adjust the output voltage, the output voltage of the adjustable charging device is adjusted to achieve the maximum performance of the adjustable charging device. The reference charging current takes into account the charging efficiency, realizes the balance between charging and heat generation, and exerts the optimal charging efficiency of the charging chip.
第一方面,本申请实施例提供一种充电控制方法,如图1所示,所述方法包括如下步骤:In the first aspect, the embodiment of the present application provides a charging control method, as shown in FIG. 1 , the method includes the following steps:
在步骤S100中,确定当前的总体充电效率;In step S100, determine the current overall charging efficiency;
在步骤S200中,当当前的总体充电效率低于预定阈值时,根据可调充电设备的基准充电电流、以及移动终端的实时充电参数对所述可调充电设备的输出电压进行调节,以提高所述移动终端的总体充电效率。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 parameters of the mobile terminal, so as to increase the Describe the overall charging efficiency of the mobile terminal.
本申请实施例的构思是通过对可调充电设备的电压的调节,保证以基准充电电流进行恒流充电,同时还保证充电效率,以实现兼顾充电速度与充电效率的双重效果。因此,需要指出的是,本申请实施例所采用的充电设备为电压可调的充电设备。在最初连接充电设备时,移动终端会对该充电设备进行检测,若电压不可调,则按照普通的方式进行充电,不在本文讨论范围;若电压可调,则按照本申请实施例的充电控制方法,对可调充电设备的电压进行调节。The idea of the embodiment of the present application is to ensure the constant current charging with the reference charging current by adjusting the voltage of the adjustable charging device, and at the same time ensure the charging efficiency, so as to achieve the dual effects of both charging speed and charging efficiency. Therefore, it should be pointed out that the charging device used in the embodiment of the present application is a charging device with adjustable voltage. When the charging device is initially connected, the mobile terminal will detect the charging device. If the voltage is not adjustable, it will be charged in a normal way, which is out of the scope of this article; if the voltage is adjustable, it will be charged according to the charging control method of the embodiment of the application. , to adjust the voltage of the adjustable charging device.
在每一次调整后,都根据实时测量出的充电参数重新计算总体充电效率,以判断总体充电效率是否达到预定阈值。若总体充电效率低于预定阈值,则需根据可调充电设备的基准充电电流、以及移动终端的实时充电参数计算出当前的目标输出电压,并对可调充电设备的当前的输出电压进行调节,调解后再次计算总体充电效率,经过反复的计算和调整,直到当前的总体充电效率能达到预定阈值且可调充电设备的输出电流能稳定在基准充电电流。After each adjustment, the overall charging efficiency is recalculated according to the charging parameters measured in real time, so as to determine whether the overall charging efficiency reaches a predetermined threshold. If the overall charging efficiency is lower than the predetermined threshold, it is necessary to calculate the current target output voltage according to the reference charging current of the adjustable charging device and the real-time charging parameters of the mobile terminal, and adjust the current output voltage of the adjustable charging device, After the mediation, the overall charging efficiency is calculated again, and after repeated calculation and adjustment, until the current overall charging efficiency can reach the predetermined threshold and the output current of the adjustable charging device can be stabilized at the reference charging current.
在一些实施例中,在所述确定当前的总体充电效率之前,如图2所示,所述充电控制方法还包括:In some embodiments, before the determination of the current overall charging efficiency, as shown in FIG. 2 , the charging control method further includes:
在步骤S310中,根据所述可调充电设备的基准充电电流、以及所述移动终端的实时充电参数确定所述可调充电设备的目标输出电压;In step S310, determine 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 parameters of the mobile terminal;
在步骤S320中,若所述可调充电设备的当前的输出电压不满足所述目标输出电压,将所述当前的输出电压调节至所述目标输出电压。In step S320, if the current output voltage of the adjustable charging device does not meet the target output voltage, adjust the current output voltage to the target output voltage.
当充电设备为可调充电设备时,首先根据可调充电设备的基准充电电流反推计算所需要的可调充电设备的输出电压。此时,根据实时测量出的充电参数,如线缆内阻、充电芯片的输入电压、充电芯片的输入电流、系统功耗电流、电池电压、电压差值调节门限、电池内阻等,可以将其中的一项或多项作为计算可调充电设备的目标输出电压的计算参数,计算出可调充电设备的目标输出电压。然后,对电压进行调整。When the charging device is an adjustable charging device, firstly, the required output voltage of the adjustable charging device is reversely calculated according to the reference charging current of the adjustable charging device. At this time, according to the charging parameters measured in real time, such as cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage difference adjustment threshold, battery internal resistance, etc., the One or more of them are used as calculation parameters for calculating the target output voltage of the adjustable charging device, and the target output voltage of the adjustable charging device is calculated. Then, adjust the voltage.
在每一次调整后,都根据实时测量出的充电参数重新计算可调充电设备的目标输出电压,以判断可调充电设备当前的输出电压是否已经满足目标输出电压。经过不断的调整和计算,直到当前的可调充电设备的输出电压与目标输出电压之间的差值小于一定阈值(例如电压差值调节门限)。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 determine whether the current output voltage of the adjustable charging device meets the target output voltage. After continuous adjustment and calculation, until the difference between the output voltage of the current adjustable charging device and the target output voltage is smaller than a certain threshold (for example, a voltage difference adjustment threshold).
当可调充电设备的输出电压基本稳定在目标输出电压附近时,还会计算充电效率,以确定当前充电效率是否过低,如果低于预定的阈值时,也将根据实时测量的充电参数重新计算可调充电设备的目标输出电压,开始重新一轮的调整。When the output voltage of the adjustable charging device is basically stable near the target output voltage, the charging efficiency will also be calculated to determine whether the current charging efficiency is too low. If it is lower than the predetermined threshold, it will also be recalculated according to the real-time measured charging parameters. The target output voltage of the adjustable charging device starts a new round of adjustment.
当可调充电设备的输出电压稳定在目标输出电压附近,且计算得到的充电效率也满足预定的阈值之后,并不代表可以一直以此电压进行充电,因为在整个充电过程中,部分充电参数可能会发生变化。例如当用户一遍充电一遍使用移动终端中的高耗电软件时,系统功耗增加,可能会导致发热,此时就需要重新计算合适的目标输出电压和当前的充电效率,对可调充电设备的输出电压重新做出调整。因此,还可以根据当前的充电参数周期性地计算目标输出电压和充电效率是否能得到满足。如果所述可调充电设备当前的输出电压不满足所述目标输出电压,或当前的充电效率低于预定阈值,则对可调充电设备的输出电压重新进行调节。When the output voltage of the adjustable charging device is stable near the target output voltage, and the calculated charging efficiency also meets the predetermined threshold, it does not mean that it can always be charged at this voltage, because during the entire charging process, some charging parameters may will change. For example, when the user uses high-power-consuming software in the mobile terminal while charging again and again, the power consumption of the system increases, which may cause heat generation. At this time, it is necessary to recalculate the appropriate target output voltage and current charging efficiency. The output voltage is readjusted. Therefore, it is also possible to periodically calculate whether the target output voltage and charging efficiency can be satisfied according to the current charging parameters. If the current output voltage of the adjustable charging device does not meet the target output voltage, or the current charging efficiency is lower than a predetermined threshold, the output voltage of the adjustable charging device is readjusted.
通过上述的电压调节过程,在电流恒定的情况下,要兼顾充电速度和调整电压至目标输出电压,周期性的检测当前的充电情况是否能达到预定的目的输出电压,检测当前的充电效率是否低于预定阈值。无论是当前的充电电压,或是充电效率,只要有一者未达标,均会触发重新计算目标输出电压并对电压进行调节,减少能量损耗,实现了充电发热与效率的平衡。Through the above-mentioned voltage adjustment process, in the case of constant current, it is necessary to take into account the charging speed and adjust the voltage to the target output voltage, periodically check whether the current charging situation can reach the predetermined target output voltage, and check whether the current charging efficiency is low at a predetermined threshold. Regardless of the current charging voltage or charging efficiency, as long as one of them fails to meet the standard, it will trigger recalculation of the target output voltage and adjust the voltage to reduce energy loss and achieve a balance between charging heat and efficiency.
本申请实施例提出的充电控制方法,在恒流充电的过程中,对可调充电设备的电压进行调节,在充电的发热和效率之间进行平衡,使得系统在不同场景的充电模式下,发挥充电芯片的最佳效率,保证系统的充电速度的情况下,降低充电时的能量损耗,同等的充电条件下还能降低发热,总体上提升用户体验。The charging control method proposed in the embodiment of this application adjusts the voltage of the adjustable charging device during the constant current charging process, and balances the heat generation and efficiency of charging, so that the system can play the best role in charging modes in different scenarios. The best efficiency of the charging chip can reduce the energy loss during charging while ensuring the charging speed of the system. Under the same charging conditions, it can also reduce heat generation and improve the user experience in general.
在一实施方式中,所述移动终端的实时充电参数包括以下参数中的至少一种参数:线缆内阻、充电芯片的输入电压、充电芯片的输入电流、系统功耗电流、电池电压、电压差值调节门限、电池内阻。In one embodiment, the real-time charging parameters of the mobile terminal include at least one of the following parameters: cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, voltage Difference adjustment threshold, battery internal resistance.
移动终端的实时充电参数包括但不限于上述各参数,在根据可调充电设备的基准充电电流确定可调充电设备的目标输出电压时,可能还会受到其它未列出的因素影响,在此不一一列举,凡是影响到根据可调充电设备的基准充电电流计算可调充电设备的目标输出电压的因素,均可作为移动终端的实时充电参数。The real-time charging parameters of the mobile terminal include but are not limited to the above-mentioned parameters. When determining the target output voltage of the adjustable charging device based on the reference charging current of the adjustable charging device, it may also be affected by other factors not listed here. To list one by one, all factors that affect the calculation of the target output voltage of the adjustable charging device based on the reference charging current of the adjustable charging device can be used as 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 the charging chip, input current of the charging chip, system power consumption current, battery voltage, 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 parameters of the mobile terminal, the adjustable charging device is calculated according to the following formula The target output voltage of:
Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres),其中,Klos为误差损耗常数,Vbus为充电芯片的输入电压,Ibus为充电芯片的输入电流,Ibus_set为可调充电设备的基准充电电流,Rcable为线缆内阻,Isys为系统功耗电流,Vbat为电池电压,Vbus_thres为电压差值调节门限。Vbus_set=Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres), where Klos is the error loss constant, Vbus is the input voltage of the charging chip, Ibus is the input current of the charging chip, and Ibus_set is the adjustable charging The reference charging current of the 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.
移动终端最初连接到充电设备时,可以先按照普通的充电方式进行充电,在充电过程中再计算可调充电设备的目标输出电压;也可以按照选定的充电策略中预先约定一些基本充电参数进行充电。When the mobile terminal is initially connected to the charging device, it can be charged according to the ordinary charging method first, and then calculate the target output voltage of the adjustable charging device during the charging process; it can also be carried out according to some basic charging parameters pre-agreed in the selected charging strategy. Charge.
可调充电设备的基准充电电流是在充电之初就已经确定的值,充电芯片的输入电压、充电芯片的输入电流、电池电压等均是实时测量获得。可调充电设备的目标输出电压的计算就是在假定基准充电电流恒定不变的前提下结合这些实时测量得到的充电参数来计算得到。The reference charging current of the adjustable charging device is a value that has been determined at the beginning of charging, and the input voltage of the charging chip, the input current of the charging chip, and the battery voltage are all measured in real time. The calculation of the target output voltage of the adjustable charging device is calculated by combining these real-time measured charging parameters under the assumption that the reference charging current is constant.
Klos为一个误差损耗常数,是一个固定值,特定的为95%,表示基于理论算出来的值和实际值的误差,实际工作中也可以根据实际情况设定不同的值,或者基于历史多次充电的统计结果,算出一个适当的误差损耗常数值。Klos is an error loss constant, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value. In actual work, different values can also be set according to the actual situation, or based on history multiple times Calculate an appropriate error loss constant value based on the statistical results of charging.
线缆内阻因不同型号的充电设备而异,电池内阻也因不同型号的移动终端电池而异,并且可能随着线缆和电池的使用时长变化而变化,为了确定更准确的目标输出电压,可以在每次充电开始前先计算线缆内阻和电池内阻。当然,也可以按照选定的充电策略中预先估算的线缆内阻和电池内阻进行计算。The internal resistance of cables varies with different types of charging equipment, and the internal resistance of batteries also varies with different types of mobile terminal batteries, and may change with the use of cables and batteries. In order to determine a more accurate target output voltage , the internal resistance of the cable and the internal resistance of the battery can be calculated before each charge. Of course, the calculation may also be performed according to the pre-estimated cable internal resistance and battery internal resistance in the selected charging strategy.
系统功耗随移动终端内运行程序的情况会有较大的变化,例如手机空闲时与手机打开摄像或游戏软件时的功耗相差很大,因此需要周期性地对系统功耗进行检测,确定当前实际的系统功耗以及对应的充电效率,以判断是否需要对可调充电设备的输出电压进行调节。The power consumption of the system will vary greatly with the running programs in the mobile terminal. For example, the power consumption of the mobile phone when it is idle is very different from that of the mobile phone when the camera or game software is turned on. Therefore, it is necessary to periodically detect the power consumption of the system to determine The current actual system power consumption and the corresponding charging efficiency are used to determine whether the output voltage of the adjustable charging device needs to be adjusted.
可调充电设备的输出电压与目标输出电压并非要完全相等,当两者的差值在电压差值调节门限范围之内时,不必频繁地对可调充电设备的输出电压进行调节,避免过多的计算和电压调整造成不必要的损耗。只有当两者的差异足够大,超出了电压差值调节门限,才会触发调节可调充电设备的输出电压。The output voltage of the adjustable charging device does not have to be completely equal to the target output voltage. When the difference between the two is within the voltage difference adjustment threshold range, it is not necessary to frequently adjust the output voltage of the adjustable charging device to avoid excessive Calculations and voltage adjustments cause unnecessary losses. Only when the difference between the two is large enough to exceed the voltage difference adjustment threshold, will the adjustment of the output voltage of the adjustable charging device be triggered.
在一些实施例中,在所述根据可调充电设备的基准充电电流、以及移动终端的实时充电参数确定可调充电设备的目标输出电压的步骤中,根据以下公式计算所述可调充电设备的目标输出电压: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 parameters of the mobile terminal, the output voltage of the adjustable charging device is calculated according to the following formula: Target output voltage:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。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),Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
其中,Vbus为充电芯片的输入电压,Ibus为充电芯片的输入电流,Ceff为充电效率,Vbat为电池电压,Ibat为电池电流,Rbat为电池内阻。Among them, 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 internal resistance of the battery.
在一些实施例中,根据以下公式,计算所述充电效率:In some embodiments, the charging efficiency is calculated according to the following formula:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),
其中,Rbat为电池内阻,Vbat为电池电压,Ibat为电池电流,Isys为系统功耗电流,Vbus为充电芯片的输入电压,Ibus为充电芯片的输入电流。Among them, 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.
在一些实施例中,根据以下公式计算得到线缆内阻Rcable:In some embodiments, the cable internal resistance Rcable is calculated according to the following formula:
Figure PCTCN2022141192-appb-000001
Figure PCTCN2022141192-appb-000001
其中,m为对电压进行测量的次数,且m为大于0的正整数,Ia为参考电流,在可调充 电设备的输出电流为Ia的情况下,Vi为第i次测量获得的可调充电设备的输出电压,Vbusi为第i次测量获得的充电芯片的输入电压。Among them, m is the number of voltage measurements, and m is a positive integer greater than 0, Ia is the reference current, and when the output current of the adjustable charging device is Ia, Vi is the adjustable charging voltage obtained from the ith measurement. The output voltage of the device, Vbusi is the input voltage of the charging chip obtained from the ith measurement.
在一些实施例中,根据以下公式计算得到电池内阻Rbat:In some embodiments, the battery internal resistance Rbat is calculated according to the following formula:
Figure PCTCN2022141192-appb-000002
Figure PCTCN2022141192-appb-000002
其中,n为对电压和电流进行测量的次数,且n为大于0的正整数,获取当前的电池电压Vb作为参考电压,当前的电池电流Ib作为参考电流,在第j次测量设置可调充电设备的输出电流为Ij时,ΔVbatj为测量获得的电池电压与参考电压Vb的差值,ΔIbatj为测量获得的电池电流与参考电流Ib的差值。Among them, n is the number of times to measure the voltage and current, and 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 used as the reference current, and the adjustable charging is set at the jth measurement When the output current of the device is 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.
本文中所提出的可调充电设备的目标输出电压、系统功耗电流、充电效率、线缆内阻、电池内阻等计算公式,只是计算这几项指标的一种具体公式的举例,根据各参数之前的相关关系,可以对计算公式的形式进行调整,以实现对各个参数的准确计算或估算,达到更佳的充电效果。The calculation formulas for the target output voltage, system power consumption current, charging efficiency, cable internal resistance, and battery internal resistance of the adjustable charging equipment proposed in this paper are just examples of specific formulas for calculating these indicators. The correlation before the parameters can be adjusted in the form of the calculation formula to achieve accurate calculation or estimation of each parameter and achieve a better charging effect.
在一些实施例中,如图3所示,判断所述可调充电设备的当前的输出电压是否满足所述目标输出电压的步骤,包括:In some embodiments, as shown in FIG. 3 , the step of judging whether the current output voltage of the adjustable charging device meets the target output voltage includes:
在步骤S321中,计算所述可调充电设备的当前的输出电压与所述可调充电设备的目标输出电压之间的电压差值;In step S321, calculating the voltage difference between the current output voltage of the adjustable charging device and the target output voltage of the adjustable charging device;
在步骤S322中,当所述电压差值大于等于电压差值调节门限时,判定为所述可调充电设备当前的输出电压不满足所述目标输出电压;In step S322, when the voltage difference is greater than or equal to the voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device does not meet the target output voltage;
在步骤S323中,当所述电压差值小于电压差值调节门限时,判定为所述可调充电设备当前的输出电压满足所述目标输出电压。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 mentioned above, it is not as long as there is a slight difference between the output voltage of the current adjustable charging device and the target output voltage of the adjustable charging device, the voltage regulation is performed, only when the voltage difference is greater than or equal to the voltage difference When the threshold is adjusted, it is determined that the current output voltage of the adjustable charging device does not meet the target output voltage, and voltage adjustment is required. If 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, and there is no need to adjust the voltage temporarily. If it is calculated that the charging efficiency is lower than the predetermined threshold, the recalculation of the target output voltage of the adjustable charging device will be triggered and the current output voltage will be readjusted; if the charging efficiency can also reach the predetermined threshold based on this calculation, no voltage adjustment is necessary , continue charging according to this voltage, until it is periodically detected that the current output voltage of the adjustable charging device does not meet the target output voltage, or the current charging efficiency is lower than the predetermined threshold, the output of the adjustable charging device voltage is regulated.
在一些实施例中,如图4所示,所述将所述当前的输出电压调节至所述目标输出电压,包括:In some embodiments, as shown in FIG. 4 , the adjusting the current output voltage to the target output voltage includes:
在步骤S324中,确定所述可调充电设备所支持的调节步长;In step S324, determine the adjustment step size supported by the adjustable charging device;
在步骤S325中,若所述可调充电设备的当前的输出电压大于所述目标输出电压,则按照所述调节步长的正整数倍降低电压;In step S325, if the current output voltage of the adjustable charging device is greater than the target output voltage, then reduce the voltage according to a positive integer multiple of the adjustment step;
在步骤S326中,若所述可调充电设备的当前的输出电压小于所述目标输出电压,则按照所述调节步长的正整数倍增加电压。In step S326, if the current output voltage of the adjustable charging device is lower than the target output voltage, the voltage is increased according to a positive integer multiple of the adjustment step size.
为了降低调节的复杂度和降低对充电设备调节精度的要求,在每次对输出电压进行调节的过程中,可以将不必对电压进行过于微小的调节,而是根据可调充电设备所支持的挡位电 压,将每个挡位电压(如25毫伏)作为调节步长,每次的调节都按照挡位电压的倍数值进行设置。当电压差值较大(如1520毫伏)时,可以一次调多个挡位电压(如1500毫伏),当电压差值较小(如50毫伏)时,可以一次只调一两个挡位电压。In order to reduce the complexity of adjustment and reduce the requirements for the adjustment accuracy of the charging equipment, in the process of adjusting the output voltage each time, it is not necessary to adjust the voltage too small, but according to the gear supported by the adjustable charging equipment Bit voltage, each gear voltage (such as 25 millivolts) is used as the adjustment step size, and each adjustment is set according to the multiple value of the gear voltage. When the voltage difference is large (such as 1520 millivolts), you can adjust multiple gear voltages (such as 1500 millivolts) at a time. When the voltage difference is small (such as 50 millivolts), you can only adjust one or two gears at a time. gear voltage.
在一些实施例中,所述移动终端包括至少一个充电芯片,所述总体充电效率为各个充电芯片的充电效率的加权和。In some embodiments, the mobile terminal includes at least one charging chip, and the overall charging efficiency is a weighted sum of charging efficiencies of the charging chips.
本申请实施例可以适用于双充电芯片,双电量计,对双充电电池的系统进行充电,甚至可以用于更多充电芯片对多充电电池的系统进行充电。针对多个充电芯片统一计算相关的可调充电设备的目标输出电压、系统功耗电流、线缆内阻、电池内阻等指标,分别计算每个充电芯片的充电效率,将各个充电芯片的充电效率的加权和作为总体充电效率,尽可能发挥每一个充电芯片的最佳充电效率。The embodiment of the present application can be applied to a system with dual charging chips and dual fuel gauges to charge a system with dual rechargeable batteries, and can even be used to charge a system with more charging chips to charge multiple rechargeable batteries. For multiple charging chips, the target output voltage, system power consumption current, cable internal resistance, battery internal resistance and other indicators of the relevant adjustable charging equipment are uniformly calculated, and the charging efficiency of each charging chip is calculated separately, and the charging efficiency of each charging chip is calculated. The weighted sum of efficiency is taken as the overall charging efficiency, and the best charging efficiency of each charging chip is exerted as much as possible.
在一些实施例中,所述方法还包括:In some embodiments, the method also includes:
根据所述可调充电设备的基准充电电流,以及所述可调充电设备的输出电压与实时充电参数之间的关系生成充电日志;generating a charging log according to the reference charging current of the adjustable charging device, and the relationship between the output voltage of the adjustable charging device and real-time charging parameters;
将所述充电日志上传至服务器。Upload the charging log to the server.
本申请实施例的充电控制方法,还可以将计算过程放在服务器侧来执行。移动终端按照本申请实施例的充电控制方法进行电压调整,将可调充电设备的基准充电电流,以及每次调整时的可调充电设备的输出电压与实时充电参数之间的关系生成充电日志。服务器端利用大数据云计算的方式,将大量移动终端的充电日志收集起来作为样本进行学习,训练得到按照本申请实施例的充电控制方法的充电控制模型。In the charging control method of the embodiment of the present application, the calculation process can also be performed on the server side. The mobile terminal performs voltage adjustment according to the charging control method of the embodiment of the present application, and generates a charging log based on the relationship between the reference charging current of the adjustable charging device and the output voltage of the adjustable charging device and real-time charging parameters at each adjustment. The server uses big data cloud computing to collect a large number of charging logs of mobile terminals as samples for learning, and trains to obtain a charging control model according to the charging control method of the embodiment of the present application.
通过充电控制模型,可以根据移动终端的型号和充电模式,获取到最优充电策略。移动终端从服务器获取到充电策略后,只需将实时的可调充电设备的输出电压与充电参数作为入参,就能傻瓜式地查到对应的目标输出电压,而不必经过逐步的调整和计算过程。不但节省了移动终端的系统资源,而且提高了服务器管理范围内所有移动终端的充电效率。Through the charging control model, the optimal charging strategy can be obtained according to the model and charging mode of the mobile terminal. After the mobile terminal obtains the charging strategy from the server, it only needs to use the real-time adjustable output voltage of the charging device and the charging parameters as input parameters, and can find the corresponding target output voltage in a fool-like manner without step-by-step adjustment and calculation. process. It not only saves the system resources of the mobile terminal, but also improves the charging efficiency of all mobile terminals within the management range of the server.
为了在服务器侧训练得到充电控制模型,可以通过移动终端主动记录充电日志,并将充电日志上传至服务器,作为后续学习和训练的样本。In order to train the charging control model on the server side, the charging log can be actively recorded through the mobile terminal, and the charging log can be uploaded to the server as a sample for subsequent learning and training.
第二方面,本申请实施例提供一种充电控制方法,如图5所示,包括:In the second aspect, the embodiment of the present application provides a charging control method, as shown in FIG. 5 , including:
在步骤S410中,获取多种移动终端的充电日志,所述充电日志为移动终端执行第一方面中任一项所述的方法所生成的日志;In step S410, various charging logs of the mobile terminal are obtained, and the charging log is a log generated by the mobile terminal executing the method described in any one of the first aspect;
在步骤S420中,根据所述充电日志,确定与各种移动终端的型号相对应的充电策略,其中,充电策略包括所述可调充电设备的输出电压与实时充电参数以及可调充电设备的基准充电电流之间的关系。In step S420, according to the charging log, determine charging strategies corresponding to various mobile terminal models, wherein the charging strategy includes the output voltage of the adjustable charging device, real-time charging parameters and the benchmark of the adjustable charging device The relationship between charging current.
在一实施方式中,所述方法还包括:In one embodiment, the method also includes:
根据所述移动终端的充电策略请求,将与所述移动终端的型号对应的充电策略下发到所述移动终端。According to the charging strategy request of the mobile terminal, the charging strategy corresponding to the model of the mobile terminal is delivered to the mobile terminal.
本申请实施例的充电控制方法,可以使用大数据云计算,基于服务器端进行学习和训练,对使用同一型号移动终端都进行统计学习,最终训练出针对该型号移动终端比较好的充电电压调整方案,把调整方案保存记录下来,直接在后台下发到用户的移动终端中,或者响应于移动终端的请求向移动终端下发备选的充电策略。移动终端直接使用配置的方案进行充电,降低移动终端在充电过程中的运算量,减少了对电压调整的尝试次数,可以更快达到充电速 度、发热量与充电效率的平衡。The charging control method of the embodiment of the present application can use big data cloud computing to carry out learning and training based on the server, and perform statistical learning on all mobile terminals using the same type, and finally train a better charging voltage adjustment scheme for this type of mobile terminal , save and record the adjustment plan, and send it directly to the mobile terminal of the user in the background, or send an alternative charging strategy to the mobile terminal in response to the request of the mobile terminal. The mobile terminal directly uses the configured scheme to charge, which reduces the amount of computation of the mobile terminal during the charging process, reduces the number of attempts to adjust the voltage, and can achieve a balance between charging speed, heat generation and charging efficiency faster.
在一些实施例中,所述根据所述充电日志,确定与各种移动终端的型号相对应的充电策略,包括:In some embodiments, the determining charging strategies corresponding to various mobile terminal models according to the charging log includes:
提取所述充电日志中的样本;extracting samples from said charging log;
利用所述样本进行训练得到神经网络模型,所述神经网络模型的输入为所述移动终端的型号,输出为所述充电策略。Using the samples for training to obtain a neural network model, the input of the neural network model is the model of the mobile terminal, and the output is the charging strategy.
在进行大数据云计算的神经网络训练中,所采用的样本是移动终端在执行本申请实施例的充电控制方法过程中记录下的可调充电设备的基准充电电流,以及所述可调充电设备的输出电压与实时充电参数之间的关系。将大量的移动终端的充电日志作为样本,提取特征向量,训练得到充电控制的神经网路模型。通过模型可以根据移动终端的型号,获取到对应的充电策略,作为对应移动终端的备选充电策略。In the neural network training of big data cloud computing, the sample used is the reference charging current of the adjustable charging device recorded by the mobile terminal during the execution of the charging control method of the embodiment of the application, and the adjustable charging device The relationship between the output voltage and real-time charging parameters. A large number of charging logs of mobile terminals are used as samples, feature vectors are extracted, and a neural network model for charging control is obtained through training. Through the model, the corresponding charging strategy can be obtained according to the model of the mobile terminal as an alternative charging strategy for the corresponding mobile terminal.
在一实施方式中,所述与各种移动终端的型号相对应的充电策略包括在以下充电模式中的至少一种模式下的充电策略:In one embodiment, the charging strategies corresponding to various mobile terminal models include charging strategies in at least one of the following charging modes:
最高充电效率模式、最短充电时间模式、最少发热模式。The highest charging efficiency mode, the shortest charging time mode, and the least heat generation mode.
除了移动终端的型号之外,通过作为充电控制的神经网路模型还可以训练得到最高充电效率模式、最短充电时间模式、最少发热模式等不同的模式下的充电策略,供移动终端根据具体需求选择。In addition to the model of the mobile terminal, the neural network model used as charging control can also be trained to obtain charging strategies in different modes such as the highest charging efficiency mode, the shortest charging time mode, and the least heat generation mode, for mobile terminals to choose according to specific needs .
第三方面,本申请实施例提供了一种充电控制方法,如图6所示,所述方法包括:In a third aspect, the embodiment of the present application provides a charging control method, as shown in FIG. 6 , the method includes:
在步骤S510中,根据所述移动终端的型号,将从服务器获取的充电策略作为备选的充电策略,其中,所述充电策略为根据第二方面中任意一项所述的充电控制方法中服务器确定的充电策略;In step S510, according to the model of the mobile terminal, the charging strategy obtained from the server is used as an alternative charging strategy, wherein the charging strategy is the server in the charging control method according to any one of the second aspect Determined charging strategy;
在步骤S520中,在至少一个所述备选的充电策略中选出用于充电的充电策略;In step S520, selecting a charging strategy for charging from at least one of the alternative charging strategies;
在步骤S530中,在充电过程中,按照所述用于充电的充电策略对所述可调充电设备的输出电压进行调节。In step S530, during the charging process, the output voltage of the adjustable charging device is adjusted according to the charging strategy for charging.
在一实施方式中,所述充电策略包括在以下充电模式中的至少一种模式的充电策略:In one embodiment, the charging strategy includes a charging strategy in at least one of the following charging modes:
最高充电效率模式、最短充电时间模式、最少发热模式。The highest charging efficiency mode, the shortest charging time mode, and the least heat generation mode.
本申请实施例的充电控制方法,不仅包括按照S100、S200中逐步调整电压的步骤,还包括根据本申请实施例的充电控制方法基于效率、速度、发热等不同充电模式下进行学习、训练得到各充电模式下的最优充电策略。具体的学习、训练过程可以不在移动终端进行,但学习、训练所依据的是本申请实施例的充电控制方法执行过程中所述可调充电设备的输出电压与实时充电参数以及所述可调充电设备的基准充电电流之间的关系,得到的是各充电模式下的最优充电策略。移动终端可以根据具体需求在各备选充电策略中选择,省去具体的计算、调整过程,直接根据充电策略中给出的对应电压进行调节。The charging control method of the embodiment of the present application not only includes the steps of gradually adjusting the voltage according to S100 and S200, but also includes learning and training according to the charging control method of the embodiment of the present application under different charging modes such as efficiency, speed, and heat generation to obtain various charging modes. Optimal charging strategy in charging mode. The specific learning and training process may not be carried out in the mobile terminal, but the learning and training are based on the output voltage and real-time charging parameters of the adjustable charging device and the adjustable charging device during the execution of the charging control method in the embodiment of the application. The relationship between the reference charging currents of the equipment is obtained to obtain the optimal charging strategy in each charging mode. The mobile terminal can choose among alternative charging strategies according to specific needs, omitting the specific calculation and adjustment process, and directly adjust according to the corresponding voltage given in the charging strategy.
在一些实施例中,在所述将从服务器接收到的充电策略作为所述备选的充电策略之前,包括:In some embodiments, before using the charging strategy received from the server as the alternative charging strategy, the method includes:
向服务器发送充电策略请求。Send a charging policy request to the server.
备选的充电策略可以是移动终端预先设定好的,也可以是从服务器获取的。如前所述,移动终端在执行本申请实施例的充电控制方法过程中记录可调充电设备的基准充电电流,以及所述可调充电设备的输出电压与实时充电参数之间的关系,生成充电日志,服务器端利用 大数据云计算,对大量不同型号的移动终端的充电日志进行学习和训练,对使用同一型号的移动终端的充电日志进行统计学习,最终训练出针对该型号的移动终端比较好的充电电压调整方案,把调整方案保存记录下来,形成备选的充电策略,直接在后台下发到移动终端中,或者响应于移动终端的请求向移动终端下发备选的充电策略。移动终端直接使用配置的方案进行充电,降低移动终端在充电过程中的运算量,减少了对电压调整的尝试次数,可以更快达到充电速度、发热量与充电效率的平衡。The alternative charging strategy can be preset by the mobile terminal, or can be obtained from the server. As mentioned above, the mobile terminal records the reference charging current of the adjustable charging device and the relationship between the output voltage of the adjustable charging device and real-time charging parameters during the process of executing the charging control method of the embodiment of the application, and generates a charging Logs, the server side uses big data cloud computing to learn and train the charging logs of a large number of different types of mobile terminals, conduct statistical learning on the charging logs of the same type of mobile terminals, and finally train the best mobile terminals for this type The charging voltage adjustment plan is saved and recorded to form an alternative charging strategy, which is directly issued to the mobile terminal in the background, or is issued to the mobile terminal in response to the request of the mobile terminal. The mobile terminal directly uses the configured scheme to charge, which reduces the amount of calculation of the mobile terminal during the charging process, reduces the number of attempts to adjust the voltage, and can achieve a balance between charging speed, heat generation and charging efficiency faster.
下面结合3个实施例对本申请第一方面至第三方面所述的充电控制方法在实际充电过程中的具体应用进行详细介绍。The specific application of the charging control method described in the first aspect to the third aspect of the present application in the actual charging process will be introduced in detail below in combination with three embodiments.
实施例1Example 1
本实施例涉及一种双充电芯片的移动终端,图7为本实施例提供的充电控制方法的硬件示意框图。This embodiment relates to a mobile terminal with dual charging chips, and FIG. 7 is a schematic hardware block diagram of the charging control method provided by this embodiment.
其中,USB_IN为通用串行总线(USB,Universal Serial Bus)或者可调充电设备的输入;VBAT_SYS为电池给系统供电的输出,作为系统供电的输入。Among them, USB_IN is the input of Universal Serial Bus (USB, Universal Serial Bus) or adjustable charging equipment; VBAT_SYS is the output of battery power supply to the system, which is used as the input of system power supply.
第一充电模块是系统的一个充电芯片,第二充电模块是系统的第二个充电芯片,两个充电芯片同时给系统进行充电;电量计用于检测和计算电池的电量。The first charging module is a charging chip of the system, the second charging module is the second charging chip of the system, and the two charging chips charge the system at the same time; the fuel gauge is used to detect and calculate the power of the battery.
本实施例的软件框架如图8所示,包含如下六个单元:可调充电设备输出电压可调节检测单元、电池内阻检测单元、充电线缆内阻检测单元、系统功耗检测预估单元、可调充电设备输出电压调节单元、充电效率统计检测单元。The software framework of this embodiment is shown in Figure 8, which includes the following six units: an adjustable charging device output voltage adjustable detection unit, a battery internal resistance detection unit, a charging cable internal resistance detection unit, and a system power consumption detection and estimation unit , Adjustable charging equipment output voltage adjustment unit, charging efficiency statistical detection unit.
可调充电设备输出电压可调节检测单元,用来检测可调充电设备的插入,并检测当前充电的可调充电设备是否支持输出电压调节功能,如果不支持调节,那么就直接用固定的电压进行充电,即通常的充电方法。Adjustable charging device output voltage adjustable detection unit, used to detect the insertion of the adjustable charging device, and detect whether the currently charging adjustable charging device supports the output voltage adjustment function, if it does not support the adjustment, then use the fixed voltage directly Charging, that is, the usual charging method.
电池内阻检测单元,用来检测预估当前充电时的电池内阻情况,对于不同的充电电流,不同的电池温度,电池内阻表现是不一样的,不同的电池会影响到最终的可调充电设备输出电压。把检测到的电池电压和电池电流记录下来,从而计算出电池内阻。The internal resistance detection unit of the battery is used to detect and estimate the internal resistance of the battery during current charging. For different charging currents and different battery temperatures, the performance of the internal resistance of the battery is different, and different batteries will affect the final adjustable The charging device output voltage. Record the detected battery voltage and battery current to calculate the internal resistance of the battery.
充电线缆内阻检测单元,该模块用来检测预估当前使用的充电线缆内阻情况,不同的线缆内阻是不一样的,不同内阻的线缆会影响到最终的可调充电设备输出电压。把检测到的电池电压和电池电流记录下来,从而计算出线缆内阻。Charging cable internal resistance detection unit, this module is used to detect and estimate the internal resistance of the currently used charging cable. Different cables have different internal resistances, and cables with different internal resistances will affect the final adjustable charging. device output voltage. Record the detected battery voltage and battery current to calculate the internal resistance of the cable.
系统功耗检测预估单元,在充电的过程中周期性进行系统的业务耗电统计,不同的业务功耗最终也会影响到最终的可调充电设备输出电压。如果是待机充电时,系统的功耗可以忽略不计。如果系统有业务运行时,那么系统的功耗就需要进行预估,把预估到的系统功耗记录下来,这个系统功耗最终要参与充电效率统计检测单元进行充电效率的评估。The system power consumption detection and estimation unit periodically conducts system business power consumption statistics during the charging process, and different business power consumption will eventually affect the final output voltage of the adjustable charging device. If it is standby charging, the power consumption of the system can be ignored. If the system is running, the power consumption of the system needs to be estimated, and the estimated system power consumption should be recorded. The system power consumption will eventually participate in the charging efficiency statistical detection unit to evaluate the charging efficiency.
可调充电设备输出电压调节单元,是本专利的核心单元,根据当前系统设置的最大充电功率,使用的充电线缆,以及当前系统的功耗统计情况,进行可调充电设备输出电压的调节,把可调充电设备的电压调节到一个适当的电压上进行充电。可以采用以下函数关系式计算可调充电设备的目标输出电压:The adjustable charging device output voltage adjustment unit is the core unit of this patent. It adjusts the output voltage of the adjustable charging device according to the maximum charging power set by the current system, the charging cable used, and the power consumption statistics of the current system. Adjust the voltage of the adjustable charging device to an appropriate voltage for charging. The following functional relationship can be used to calculate the target output voltage of the adjustable charging device:
Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres)。Vbus_set=Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres).
其中,系统设置的最大充电功率的作用参数表现在可调充电设备的基准输入电流Ibus_set,根据计算出的线缆的内阻Rcable,和计算出的电池内阻Rbat,根据Vbus_set进行计算设置调节,Klos是一个误差损耗常数参数,为一个固定值,特定的为95%,表示基于理论算出来的 值和实际值的误差,实际中也可以实际情况设定不同的值。Among them, the function parameter of the maximum charging power set by the system is shown in the reference input current Ibus_set of the adjustable charging device, according to the calculated internal resistance Rcable of the cable, and the calculated internal resistance Rbat of the battery, and the calculation and setting adjustment according to Vbus_set, Klos is an error loss constant parameter, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value. In practice, different values can also be set in actual situations.
充电效率统计检测单元,该单元用来统计计算当前充电的总体效率,使用这个效率来进一步检测和评估当前充电电压下的调整是否合理,进一步在反馈给可调充电设备电压调节单元进行微调,防止调整出现大的异常波动。Charging efficiency statistical detection unit, which is used to statistically calculate the overall efficiency of the current charging, use this efficiency to further detect and evaluate whether the adjustment under the current charging voltage is reasonable, and further feed back to the adjustable charging device voltage adjustment unit for fine-tuning to prevent There are large abnormal fluctuations in the adjustment.
实施例2Example 2
充电控制方法的整个充电控制流程如图9所示。The entire charging control process of the charging control method is shown in FIG. 9 .
S601、如果没有充电器插入,那么就循环执行继续等待。S601. If no charger is plugged in, execute in a loop and continue to wait.
S602、当系统检测到充电器插入时,就先由充电器输出电压可调节检测单元模块进行充电器输出电压可调节检测。如果检测到充电器支持电压调节功能,进入S603。如果充电器不支持电压调节功能,那么就进行固定电压的充电。S602. When the system detects that the charger is plugged in, the charger output voltage adjustable detection unit module first detects that the charger output voltage is adjustable. If it is detected that the charger supports the voltage regulation function, go to S603. If the charger does not support the voltage regulation function, then charge with a fixed voltage.
S603、如果充电器支持电压调节检测,那么就由电池内阻检测单元进行电池内阻检测。如图10所示,在检测时,可以在充电电流的电流范围内,选择低电流,中等电流和最大电流三个点电流点进行电池内阻的检测,分别记录为Rbat1、Rbat2、Rbat3,检测完成后,计算出最终的平均内阻Rbat,记录并保存下来。在检测时先设置5V充电电压,0.5A的充电电流,计算出第一个电池内阻Rbat1;延迟一定的时间,再设置充电电流为1.5A,计算出第二电池内阻Rbat2;再延迟一定的时间,设置充电电流为3A,计算出第三电池内阻Rbat3,电池内阻计算公式如下:S603. If the charger supports voltage regulation detection, the battery internal resistance detection unit performs battery internal resistance detection. As shown in Figure 10, during the detection, within the current range of the charging current, three current points of low current, medium current and maximum current can be selected to detect the internal resistance of the battery, which are recorded as Rbat1, Rbat2 and Rbat3 respectively. After completion, calculate the final average internal resistance Rbat, record and save it. When testing, first set the charging voltage of 5V and the charging current of 0.5A to calculate the internal resistance Rbat1 of the first battery; delay for a certain time, then set the charging current to 1.5A, and calculate the internal resistance Rbat2 of the second battery; then delay for a certain time time, set the charging current to 3A, and calculate the internal resistance Rbat3 of the third battery. The formula for calculating the internal resistance of the battery is as follows:
Rbat(毫欧)=((ΔVbat1/ΔIbat1)+(ΔVbat2/ΔIbat2)+(ΔVbat3/ΔIbat3))*1000/3。Rbat (miohms) = ((ΔVbat1/ΔIbat1)+(ΔVbat2/ΔIbat2)+(ΔVbat3/ΔIbat3))*1000/3.
实际中,电池内阻也可以有更为精细的方法,或者根据电池电压、电池电流和电池温度对应关系表来查找对应的电池内阻,涉及到相关变形都方法也在本专利的范围内。电池内阻计算完之后,在把充电电流设置到1A,进入S604。In practice, there can also be a more refined method for the internal resistance of the battery, or to find the corresponding internal resistance of the battery according to the correspondence table of the battery voltage, battery current, and battery temperature, and methods involving related deformations are also within the scope of this patent. After calculating the internal resistance of the battery, set the charging current to 1A and enter S604.
S604、电池内阻计算之后,那么就由充电线缆内阻检测单元进行充电线内阻检测。如图11所示,在检测时在能充电的电压范围内,选择低电压,中等电压和最大电压三个点电压进行线缆内阻检测,分析记录为Rcable1、Rcable2、Rcable3,检测完成后,计算出最终的平均内阻Rcable,记录并保存下来,在检测时先设置5V电压,在设置1A的充电电流,在充电电流为1A的情况下计算出第一线缆内阻Rcable1,延迟一定的时间在设置7V电压,1A的电流进行充电,计算出第二线缆内阻Rcable2,在延迟一定时间在设置9V电压,1A的电流进行充电,计算出第三线缆内阻Rcable3,线缆内阻计算公式如下:S604. After the internal resistance of the battery is calculated, the internal resistance detection unit of the charging cable is used to detect the internal resistance of the charging cable. As shown in Figure 11, within the charging voltage range, select low voltage, medium voltage and maximum voltage for cable internal resistance detection. The analysis records are Rcable1, Rcable2, and Rcable3. After the detection is completed, Calculate the final average internal resistance Rcable, record and save it, first set the voltage of 5V when testing, set the charging current of 1A, and calculate the internal resistance Rcable1 of the first cable when the charging current is 1A, with a certain delay Set the voltage of 7V and the current of 1A for charging, calculate the internal resistance Rcable2 of the second cable, set the voltage of 9V and charge the current of 1A after a certain delay, calculate the internal resistance Rcable3 of the third cable, and calculate the internal resistance of the third cable Rcable3. The resistance calculation formula is as follows:
Rcable(毫欧)=(((5-Vbus1)+(7-Vbus2)+(9-Vbus3))*1000/1)/3。Rcable (milliohms) = (((5-Vbus1)+(7-Vbus2)+(9-Vbus3))*1000/1)/3.
实际中,也可以有更为精细的内阻计算方法,分更多的电流档位来计算,或者根据Vbus的电压,Ibus的电流来查找已经设置好的线缆内阻,不同的线缆内阻都在本专利的保护范围。In practice, there can also be a more refined internal resistance calculation method, which can be calculated in more current gears, or according to the voltage of Vbus and the current of Ibus to find the internal resistance of the cable that has been set, and the internal resistance of different cables Resistance is all within the scope of protection of this patent.
线缆内阻检测完成之后,就按照系统设置的最大功率先升压到系统能支持的最大电压进行充电,在充电时系统可能处于各种功耗模式下,初始情况下,可以预设系统功耗Isys为0,先根据当前的参数进行电压调整计算进入S606。After the detection of the internal resistance of the cable is completed, it will be charged according to the maximum power set by the system to the maximum voltage that the system can support. The system may be in various power consumption modes during charging. In the initial situation, the system function can be preset. If the power consumption Isys is 0, first perform voltage adjustment calculation according to the current parameters and enter S606.
S605、可调充电设备输出电压调节单元根据当前的充电情况,计算是否需要做出可调充电设备输出电压调节。充电电压调整流程如图12所示,获取当前需要的各个具体参数,根据之前的基准函数关系式计算可调充电设备的目标输出电压:S605. The adjustable charging device output voltage adjusting unit calculates whether it is necessary to adjust the output voltage of the adjustable charging device according to the current charging situation. The charging voltage adjustment process is shown in Figure 12. The specific parameters currently required are obtained, and the target output voltage of the adjustable charging device is calculated according to the previous reference function relationship:
Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres)。Vbus_set=Klos*F(Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres).
其中,Klos是一个误差损耗常数参数,为一个固定值,特定的为95%,表示基于理论算 出来的值和实际值的误差,实际中也可以实际情况设定不同的值。Among them, Klos is an error loss constant parameter, which is a fixed value, specifically 95%, indicating the error between the value calculated based on theory and the actual value, and different values can also be set in practice.
获取当前实际充电的输入电压Vbus,获取当前实际充电的输入电流Ibus,获取计算出的线缆内阻Rcable,获取计算Isys时对应的电池电压Vbat,以及预设值的输入电压调节门限值Vbus_thres,初始的默认为Isys为0,根据这些参数计算出需要的Vbus_set值:Obtain the current actual charging input voltage Vbus, obtain the current actual charging input current Ibus, obtain the calculated cable internal resistance Rcable, obtain the corresponding battery voltage Vbat when calculating Isys, and the preset input voltage adjustment threshold value Vbus_thres , the initial default is that Isys is 0, and the required Vbus_set value is calculated according to these parameters:
Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set.
然后,把当前的Vbus和目标输出电压Vbus_set值进行差值,得到结果Vbus_diff,最开始时Vbus_set值为最大的充电电压。把Vbus_diff和Vbus_thres进行比较,如果发现差值较大,比如大于1520毫伏,实际中这个值也是可以预设变化的,那么就认为当前的Vbus较大,然后把Vbus降低一个可调充电设备支持的挡位电压(25毫伏),实际中也可以按照挡位电压的倍数值进行设置,比如50毫伏,本申请实施例并不是特指25毫伏。如果发现差值较小,比如小于500毫伏,那么就增加一个可调充电设备支持的挡位电压(25毫伏),实际中也可以按照挡位电压的倍数值进行设置,比如50毫伏,本申请实施例并不是特指25毫伏,设置完之后需要更新Vbus_set值为当前设置的可调充电设备电压值,电压调节完成后,充电就按照当前参数下的设置正常充电,等待下一次调整。Then, make a difference between the current Vbus and the target output voltage Vbus_set to obtain the result Vbus_diff. At the beginning, the Vbus_set value is the maximum charging voltage. Comparing Vbus_diff with Vbus_thres, if the difference is found to be large, such as greater than 1520 millivolts, this value can also be preset and changed in practice, then it is considered that the current Vbus is relatively large, and then Vbus is lowered by an adjustable charging device support The gear voltage (25 millivolts) can also be set according to the multiple value of the gear voltage in practice, such as 50 millivolts, and the embodiment of the present application does not specifically refer to 25 millivolts. If the difference is found to be small, such as less than 500 millivolts, then add a gear voltage (25 millivolts) supported by the adjustable charging device. In practice, it can also be set according to the multiple value of the gear voltage, such as 50 millivolts , the embodiment of this application does not specifically refer to 25 millivolts. After setting, it is necessary to update the Vbus_set value to the currently set adjustable charging device voltage value. After the voltage adjustment is completed, the charging will be charged normally according to the settings under the current parameters, and wait for the next time Adjustment.
S606、在进行可调充电设备输出电压调整计算后,在进行充电时系统功耗统计预估,按照设置的最大功率,最大电压,计算系统消耗的实际功耗Isys,计算公式如下:S606. After adjusting and calculating the output voltage of the adjustable charging device, calculate the actual power consumption Isys consumed by the system according to the set maximum power and maximum voltage during charging, and calculate the actual power consumption Isys of the system. The calculation formula is as follows:
Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat)。Isys=((Vbus*Ibus)*Ceff/(Vbat−Ibat*Rbat)−Ibat).
其中,Vbus是的充电芯片的实际输入电压,Ibus是充电芯片的实际输入电流,Vbat是电池的电压,在此处也要把电池的内阻Rbat计算在内,Ibat是电池的充电电流。把计算的结果记录并保存下来。初始默认的充电效率Ceff为85%,计算Isys并保存,同时也要把计Isys对应的Vbat保存下来,在后续电压进行调节时需要用到,这个充电效率值Ceff是会变化的,等下次统计到新的充电效率时,会用新的充电效率作为下一次计算的参数值,Ceff充电效率动态的变化,更能体现出对功耗的动态统计。Among them, 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 the internal resistance Rbat of the battery is also calculated here, and Ibat is the charging current of the battery. Record and save the results of the calculation. The initial default charging efficiency Ceff is 85%. Calculate Isys and save it. At the same time, save the Vbat corresponding to the calculated Isys. It needs to be used in subsequent voltage adjustments. This charging efficiency value Ceff will change. Wait for the next time. When the new charging efficiency is counted, the new charging efficiency will be used as the parameter value for the next calculation. The dynamic change of Ceff charging efficiency can better reflect the dynamic statistics of power consumption.
S607、根据调整的充电电压,当前系统的功耗Isys,以及给电池充电的电压和电流,进行系统充电效率的统计,公式如下:S607. According to the adjusted charging voltage, the current power consumption Isys of the system, and the voltage and current for charging the battery, perform statistics on the charging efficiency of the system, the formula is as follows:
Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus)。Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus).
如果系统设计到多个充电芯片,那么也可以计算统计各个充电芯片的效率。把这些效率都统计出来,共同来评估决策当前可调充电设备的输出电压是否处于较优的状态。把得到的充电效率在Ceff在反馈到充电电压调节模块,如果Ceff低于80%,那么就需要触发调整可调充电设备输出电压。如果系统功耗发生较大的负载变化,也需要触发充电电压调节。If the system is designed with multiple charging chips, the efficiency of each charging chip can also be calculated and counted. Count these efficiencies together to evaluate and decide whether the output voltage of the current adjustable charging equipment is in a better state. Feedback the obtained charging efficiency at Ceff to the charging voltage regulation module, if Ceff is lower than 80%, then it is necessary to trigger and adjust the output voltage of the adjustable charging device. If a large load change occurs in the system power consumption, it is also necessary to trigger charging voltage regulation.
S608、完成一个过程的调整,这个时候系统就处于正常充电进行中。如果预设值的周期没有达到,就继续按照原来的参数进行充电,如果预设周期到达,那么就进行下一次的调整。S608 , completing a process of adjustment, and at this time, the system is in the process of normal charging. If the cycle of the preset value is not reached, the charging will continue according to the original parameters, and if the cycle of the preset value is reached, then the next adjustment will be performed.
实施例3Example 3
本实施例中,将充电控制方法中的计算过程放在服务器侧来执行。In this embodiment, the calculation process in the charging control method is implemented on the server side.
移动终端按照本申请实施例的充电控制方法进行电压调整,将可调充电设备的基准充电电流,以及每次调整时的可调充电设备的输出电压与实时充电参数之间的关系生成充电日志,将充电日志上传至服务器。服务器端利用大数据云计算的方式,将大量移动终端的充电日志收集起来作为样本进行学习,训练得到按照本申请实施例的充电控制方法的充电控制模型。The mobile terminal performs voltage adjustment according to the charging control method of the embodiment of the present application, and generates a charging log based on the relationship between the reference charging current of the adjustable charging device and the output voltage of the adjustable charging device and real-time charging parameters at each adjustment, Upload the charging log to the server. The server uses big data cloud computing to collect a large number of charging logs of mobile terminals as samples for learning, and trains to obtain a charging control model according to the charging control method of the embodiment of the present application.
通过充电控制模型,可以根据移动终端的型号和充电模式,获取到最优充电策略。移动 终端从服务器获取到充电策略后,只需将实时的可调充电设备的输出电压与充电参数作为入参,就能傻瓜式地查到对应的目标输出电压,而不必经过逐步的调整和计算过程。不但节省了移动终端的系统资源,而且提高了服务器管理范围内所有移动终端的充电效率。Through the charging control model, the optimal charging strategy can be obtained according to the model and charging mode of the mobile terminal. After the mobile terminal obtains the charging strategy from the server, it only needs to use the real-time adjustable output voltage of the charging device and the charging parameters as input parameters, and can find the corresponding target output voltage in a fool-like manner without step-by-step adjustment and calculation. process. It not only saves the system resources of the mobile terminal, but also improves the charging efficiency of all mobile terminals within the management range of the server.
第四方面,本申请实施例提供一种电子设备,如图13所示,其包括:In a fourth aspect, the embodiment of the present application provides an electronic device, as shown in FIG. 13 , which includes:
一个或多个处理器501;one or more processors 501;
存储器502,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如上述第一方面至第三方面任意一项的充电控制方法; Memory 502, on which one or more programs are stored, and when one or more programs are executed by one or more processors, one or more processors realize the charging of any one of the first to third aspects above Control Method;
一个或多个I/O接口503,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。One or more I/O interfaces 503 are connected between the processor and the memory, and are configured to realize information exchange between the processor and the memory.
其中,处理器501为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器502为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)503连接在处理器501与存储器502间,能实现处理器501与存储器502的信息交互,其包括但不限于数据总线(Bus)等。Wherein, the processor 501 is a device with data processing capability, which includes but not limited to a central processing unit (CPU), etc.; the memory 502 is a device with data storage capability, which includes but not limited to a random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read-write interface) 503 is connected between processor 501 and memory 502 , can realize information interaction between the processor 501 and the memory 502, which includes but not limited to a data bus (Bus) and the like.
在一些实施例中,处理器501、存储器502和I/O接口503通过总线504相互连接,进而与计算设备的其它组件连接。In some embodiments, the processor 501 , the memory 502 and the I/O interface 503 are connected to each other through the bus 504 , and further connected to other components of the computing device.
第五方面,本申请实施例提供一种计算机可读存储介质,如图14所示,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述第一方面至第三方面任意一项的充电控制方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium. As shown in FIG. 14 , a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned first aspect to the third aspect are realized. Any one of the charge control methods.
本申请实施例提出的充电控制方法,在恒流充电的过程中,对可调充电设备的电压进行调节,在充电的发热和效率之间进行平衡,使得系统在不同场景的充电模式下,发挥充电芯片的最佳效率,保证充电速度的情况下,降低充电时的能量损耗,同等的充电条件下还能降低发热,总体上提升用户体验。The charging control method proposed in the embodiment of this application adjusts the voltage of the adjustable charging device during the constant current charging process, and balances the heat generation and efficiency of charging, so that the system can play the best role in charging modes in different scenarios. The best efficiency of the charging chip can reduce the energy loss during charging while ensuring the charging speed. Under the same charging conditions, it can also reduce heat generation and improve the user experience in general.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In a hardware implementation, the division between 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 composed of several physical components. Components cooperate to execute. 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). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, 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 may include any information delivery media .
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。本领域技 术人员不脱离本申请的范围和实质内所作的任何修改、等同替换和改进,均应在本申请的权利范围之内。The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and the scope of rights of the present application is not limited thereby. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the application shall fall within the scope of rights of the application.

Claims (21)

  1. 一种充电控制方法,包括:A charging control method, comprising:
    确定当前的总体充电效率;Determine the current overall charging efficiency;
    当所述当前的总体充电效率低于预定阈值时,根据可调充电设备的基准充电电流、以及移动终端的实时充电参数对所述可调充电设备的输出电压进行调节,以提高所述移动终端的总体充电效率。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 parameters of the mobile terminal, so as to improve the charging efficiency of the mobile terminal. overall charging efficiency.
  2. 根据权利要求1所述的充电控制方法,其中,在所述确定当前的总体充电效率之前,所述充电控制方法还包括:The charging control method according to claim 1, wherein, before said determining the current overall charging efficiency, said charging control method further comprises:
    根据所述可调充电设备的基准充电电流、以及所述移动终端的实时充电参数确定所述可调充电设备的目标输出电压;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 parameters of the mobile terminal;
    若所述可调充电设备的当前的输出电压不满足所述目标输出电压,将所述当前的输出电压调节至所述目标输出电压。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.
  3. 根据权利要求1所述的充电控制方法,其中,所述移动终端的实时充电参数包括以下参数中的至少一种参数:线缆内阻、充电芯片的输入电压、充电芯片的输入电流、系统功耗电流、电池电压、电压差值调节门限、电池内阻。The charging control method according to claim 1, wherein the real-time charging parameters of the mobile terminal include at least one of the following parameters: cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power Current consumption, battery voltage, voltage difference adjustment threshold, battery internal resistance.
  4. 根据权利要求3所述的充电控制方法,其中,所述移动终端的实时充电参数包括线缆内阻、充电芯片的输入电压、充电芯片的输入电流、系统功耗电流,电池电压,电压差值调节门限;The charging control method according to claim 3, wherein the real-time charging parameters of the mobile terminal include cable internal resistance, input voltage of the charging chip, input current of the charging chip, system power consumption current, battery voltage, and voltage difference Adjust the 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 parameters of the mobile terminal, the adjustable charging device is calculated according to the following formula The target output voltage of:
    Vbus_set=Klos*F(Vbus,Ibus,Ibus_set,Rcable,Isys,Vbat,Vbus_thres),其中,Klos为误差损耗常数,Vbus为所述充电芯片的输入电压,Ibus为所述充电芯片的输入电流,Ibus_set为所述可调充电设备的基准充电电流,Rcable为所述线缆内阻,Isys为所述系统功耗电流,Vbat为所述电池电压,Vbus_thres为所述电压差值调节门限。Vbus_set=Klos*F (Vbus, Ibus, Ibus_set, Rcable, Isys, Vbat, Vbus_thres), wherein, Klos is the error loss constant, Vbus is the input voltage of the charging chip, Ibus is the input current of the charging chip, Ibus_set is the reference charging current of the adjustable charging device, Rcable is the internal resistance of the cable, Isys is the system power consumption current, Vbat is the battery voltage, and Vbus_thres is the voltage difference adjustment threshold.
  5. 根据权利要求4所述的充电控制方法,其中,在所述根据可调充电设备的基准充电电流、以及移动终端的实时充电参数确定可调充电设备的目标输出电压的步骤中,根据以下公式计算所述可调充电设备的目标输出电压:The charging 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 parameters of the mobile terminal, it is calculated according to the following formula The target output voltage of the adjustable charging device:
    Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set。Vbus_set=(Klos*(Vbus+Ibus*Rcable)*Ibus+(Isys*Vbat))/Ibus_set.
  6. 根据权利要求4所述的充电控制方法,其中,根据以下公式计算所述系统功耗电流:The charging 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),Isys=((Vbus*Ibus)*Ceff/(Vbat-Ibat*Rbat)-Ibat),
    其中,Vbus为所述充电芯片的输入电压,Ibus为所述充电芯片的输入电流,Ceff为充电效率,Vbat为所述电池电压,Ibat为电池电流,Rbat为电池内阻。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 internal resistance of the battery.
  7. 根据权利要求3所述的充电控制方法,其中,根据以下公式计算所述充电效率:The charging control method according to claim 3, wherein the charging efficiency is calculated according to the following formula:
    Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),Ceff=(Vbat*(Ibat+Isys))/(Vbus*Ibus),
    其中,Rbat为电池内阻,Vbat为所述电池电压,Ibat为电池电流,Isys为所述系统功耗电流,Vbus为所述充电芯片的输入电压,Ibus为所述充电芯片的输入电流。Wherein, Rbat is the battery internal resistance, 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. 根据权利要求3所述的充电控制方法,其中,根据以下公式计算得到所述线缆内阻Rcable:The charging control method according to claim 3, wherein the cable internal resistance Rcable is calculated according to the following formula:
    Figure PCTCN2022141192-appb-100001
    Figure PCTCN2022141192-appb-100001
    其中,m为对电压进行测量的次数,且m为大于0的正整数,Ia为参考电流,在可调充电设备的输出电流为Ia的情况下,Vi为第i次测量获得的可调充电设备的输出电压,Vbusi为第i次测量获得的充电芯片的输入电压。Among them, m is the number of voltage measurements, and m is a positive integer greater than 0, Ia is the reference current, and when the output current of the adjustable charging device is Ia, Vi is the adjustable charging voltage obtained from the ith measurement. The output voltage of the device, Vbusi is the input voltage of the charging chip obtained from the ith measurement.
  9. 根据权利要求3所述的充电控制方法,其中,根据以下公式计算得到所述电池内阻Rbat:The charging control method according to claim 3, wherein the battery internal resistance Rbat is calculated according to the following formula:
    Figure PCTCN2022141192-appb-100002
    Figure PCTCN2022141192-appb-100002
    其中,n为对电压和电流进行测量的次数,且n为大于0的正整数,获取当前的电池电压Vb作为参考电压,当前的电池电流Ib作为参考电流,在第j次测量设置可调充电设备的输出电流为Ij时,ΔVbatj为测量获得的电池电压与参考电压Vb的差值,ΔIbatj为测量获得的电池电流与参考电流Ib的差值。Among them, n is the number of times to measure the voltage and current, and 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 used as the reference current, and the adjustable charging is set at the jth measurement When the output current of the device is 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. 根据权利要求2所述的充电控制方法,其中,判断所述可调充电设备的当前的输出电压不满足所述目标输出电压的步骤,包括:The charging control method according to claim 2, wherein the step of judging that the current output voltage of the adjustable charging device does not meet the target output voltage comprises:
    计算所述可调充电设备的当前的输出电压与所述可调充电设备的目标输出电压之间的电压差值;calculating the voltage difference between the current output voltage of the adjustable charging device and the target output voltage of the adjustable charging device;
    当所述电压差值大于等于电压差值调节门限时,判定为所述可调充电设备当前的输出电压不满足所述目标输出电压;When the voltage difference is greater than or equal to the voltage difference adjustment threshold, it is determined that the current output voltage of the adjustable charging device does not meet the target output voltage;
    当所述电压差值小于电压差值调节门限时,判定为所述可调充电设备当前的输出电压满足所述目标输出电压。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.
  11. 根据权利要求2所述的充电控制方法,其中,所述将所述当前的输出电压调节至所述目标输出电压,包括:The charging control method according to claim 2, wherein said adjusting the current output voltage to the target output voltage comprises:
    确定所述可调充电设备所支持的调节步长;Determine the adjustment step size supported by the adjustable charging device;
    若所述可调充电设备的当前的输出电压大于所述目标输出电压,则按照所述调节步长的正整数倍降低电压;If the current output voltage of the adjustable charging device is greater than the target output voltage, then reduce the voltage according to a positive integer multiple of the adjustment step;
    若所述可调充电设备的当前的输出电压小于所述目标输出电压,则按照所述调节步长的正整数倍增加电压。If the current output voltage of the adjustable charging device is lower than the target output voltage, the voltage is increased according to a positive integer multiple of the adjustment step size.
  12. 根据权利要求1至11中任意一项所述的充电控制方法,其中,所述移动终端包括至少一个充电芯片,所述总体充电效率为各个充电芯片的充电效率的加权和。The charging 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 charging chips.
  13. 根据权利要求1至11中任意一项所述的充电控制方法,其中,在所述对所述可调充电设备的输出电压进行调节之后,还包括:The charging control method according to any one of claims 1 to 11, wherein, after adjusting the output voltage of the adjustable charging device, further comprising:
    根据所述可调充电设备的基准充电电流,以及所述可调充电设备的输出电压与实时充电参数之间的关系生成充电日志;generating a charging log according to the reference charging current of the adjustable charging device, and the relationship between the output voltage of the adjustable charging device and real-time charging parameters;
    将所述充电日志上传至服务器。Upload the charging log to the server.
  14. 一种充电控制方法,包括:A charging control method, comprising:
    获取多种移动终端的充电日志,所述充电日志为移动终端执行权利要求1至12中任一项所述的方法所生成的日志;Acquiring charging logs of various mobile terminals, the charging logs are logs generated by the mobile terminal executing the method described in any one of claims 1 to 12;
    根据所述充电日志,确定与各种移动终端的型号相对应的充电策略,其中,充电策略包括所述可调充电设备的输出电压与实时充电参数以及可调充电设备的基准充电电流之间的关系。According to the charging log, determine charging strategies corresponding to various mobile terminal models, wherein the charging strategy includes the difference between the output voltage of the adjustable charging device, real-time charging parameters and the reference charging current of the adjustable charging device relation.
  15. 根据权利要求14所述的充电控制方法,其中,所述根据所述充电日志,确定与各种移动终端的型号相对应的充电策略,包括:The charging control method according to claim 14, wherein said determining charging strategies corresponding to various mobile terminal models according to the charging log includes:
    提取所述充电日志中的样本;extracting samples from said charging log;
    利用所述样本进行训练得到神经网络模型,所述神经网络模型的输入为所述移动终端的型号,输出为所述充电策略。Using the samples for training to obtain a neural network model, the input of the neural network model is the model of the mobile terminal, and the output is the charging strategy.
  16. 根据权利要求14所述的充电控制方法,其中,所述与各种移动终端的型号相对应的充电策略包括在以下充电模式中的至少一种模式下的充电策略:The charging control method according to claim 14, wherein the charging strategies corresponding to various mobile terminal models include charging strategies in at least one of the following charging modes:
    最高充电效率模式、最短充电时间模式、最少发热模式。The highest charging efficiency mode, the shortest charging time mode, and the least heat generation mode.
  17. 根据权利要求14所述的充电控制方法,其中,所述方法还包括:The charging control method according to claim 14, wherein the method further comprises:
    根据所述移动终端的充电策略请求,将与所述移动终端的型号对应的充电策略下发到所述移动终端。According to the charging strategy request of the mobile terminal, the charging strategy corresponding to the model of the mobile terminal is delivered to the mobile terminal.
  18. 一种充电控制方法,包括:A charging control method, comprising:
    根据所述移动终端的型号,将从服务器获取的充电策略作为备选的充电策略,其中,所述充电策略为根据权利要求14至17中任意一项所述的充电控制方法中服务器确定的充电策略;According to the model of the mobile terminal, the charging strategy obtained from the server is used as an alternative charging strategy, wherein the charging strategy is the charging strategy determined by the server in the charging control method according to any one of claims 14 to 17 Strategy;
    在至少一个所述备选的充电策略中选出用于充电的充电策略;selecting a charging strategy for charging from at least one of the alternative charging strategies;
    在充电过程中,按照所述用于充电的充电策略对所述可调充电设备的输出电压进行调节。During the charging process, the output voltage of the adjustable charging device is adjusted according to the charging strategy for charging.
  19. 根据权利要求18所述的充电控制方法,其中,在所述将从服务器接收到的充电策略作为所述备选的充电策略之前,包括:The charging control method according to claim 18, wherein before said using the charging strategy received from the server as the alternative charging strategy, comprising:
    向服务器发送充电策略请求。Send a charging policy request to the server.
  20. 一种电子设备,所述电子设备包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至19中任意一项所述的充电控制方法;A memory, on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the process according to any one of claims 1 to 19 The charging control method described in the item;
    一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, configured to realize information exchange between the processor and the memory.
  21. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至19中任意一项所述的充电控制方法。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the charging control method according to any one of claims 1 to 19 is realized.
PCT/CN2022/141192 2021-12-29 2022-12-22 Charging control methods, electronic device and computer readable storage medium WO2023125252A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111638322.5 2021-12-29
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
WO2023125252A1 true WO2023125252A1 (en) 2023-07-06

Family

ID=86997784

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/141192 WO2023125252A1 (en) 2021-12-29 2022-12-22 Charging control methods, 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
CN117479075A (en) * 2023-12-27 2024-01-30 山西尊特智能科技有限公司 Bluetooth headset wireless charging method and system

Families Citing this family (1)

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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184180A (en) * 2013-05-28 2014-12-03 惠州市吉瑞科技有限公司 Electronic cigarette high-efficient charging device and method
CN104967201A (en) * 2015-08-05 2015-10-07 青岛海信移动通信技术股份有限公司 Fast-charging method, mobile terminal and power adapter capable of being charged directly
CN106208297A (en) * 2016-08-31 2016-12-07 维沃移动通信有限公司 A kind of charging circuit, the method controlling charging circuit charging and mobile terminal
CN106410909A (en) * 2016-10-27 2017-02-15 上海传英信息技术有限公司 Charging device and charging method for mobile terminal
CN106451599A (en) * 2016-08-16 2017-02-22 深圳天珑无线科技有限公司 Charging method and charging system
US20170203656A1 (en) * 2014-02-25 2017-07-20 Nissan Motor Co., Ltd. Wireless Power Supply System and Power Transmission Device
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184180A (en) * 2013-05-28 2014-12-03 惠州市吉瑞科技有限公司 Electronic cigarette high-efficient charging device and method
US20170203656A1 (en) * 2014-02-25 2017-07-20 Nissan Motor Co., Ltd. Wireless Power Supply System and Power Transmission Device
CN104967201A (en) * 2015-08-05 2015-10-07 青岛海信移动通信技术股份有限公司 Fast-charging method, mobile terminal and power adapter capable of being charged directly
CN106451599A (en) * 2016-08-16 2017-02-22 深圳天珑无线科技有限公司 Charging method and charging system
CN106208297A (en) * 2016-08-31 2016-12-07 维沃移动通信有限公司 A kind of charging circuit, the method controlling charging circuit charging and mobile terminal
CN106410909A (en) * 2016-10-27 2017-02-15 上海传英信息技术有限公司 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
CN117479075A (en) * 2023-12-27 2024-01-30 山西尊特智能科技有限公司 Bluetooth headset wireless charging method and system
CN117479075B (en) * 2023-12-27 2024-03-19 山西尊特智能科技有限公司 Bluetooth headset wireless charging method and system

Also Published As

Publication number Publication date
CN116418056A (en) 2023-07-11

Similar Documents

Publication Publication Date Title
WO2023125252A1 (en) Charging control methods, electronic device and computer readable storage medium
WO2019085797A1 (en) Method for adjusting output power of charging device
TWI692647B (en) Server, maintenance terminal, power battery maintenance method, device and system
WO2021244085A1 (en) Soc value display method and display device, and energy storage system
WO2014101807A1 (en) Method and terminal for displaying capacity of battery
CN104765396A (en) Mobile terminal based shutdown voltage dynamic adjusting method and system
CN116231795B (en) Comprehensive management control system for distributed storage battery
WO2022230335A1 (en) Battery state estimation device and power system
CN110277807B (en) Charging current control method and apparatus, battery management system, vehicle, device, and computer-readable storage medium
US20160359347A1 (en) Battery Management Apparatus, Portable Power Source and Battery Management Method
CN111130177B (en) Management method, system and device of BBU
CN117112701B (en) Node switching method in distributed database, computer equipment and storage medium
CN112731194B (en) Method, system, equipment and medium for testing power supply current sharing and energy regulating capacity
WO2017202027A1 (en) Charging method, device, and apparatus
CN113783245A (en) Battery management method and system
CN116774056A (en) Method, system and computer readable storage medium for evaluating charge time of battery
CN115882527A (en) Primary frequency modulation coordination control method considering energy storage new energy station droop characteristic
CN113507154B (en) Charging method and device, charger and electronic equipment
CN106094523B (en) Based on efficiency and flow index area and maximum parallel operation system optimization method
CN116114137A (en) Electronic device control method, electronic device and storage medium
TWI712243B (en) Charge and discharge control apparatus and method for an energy storage system
CN109525003B (en) Charging method, device, storage medium and processor
CN118050650B (en) Distribution network power supply online nuclear capacity control method and device, distribution network power supply and storage medium
CN117996926B (en) Multi-string lithium battery protection IC method and protection system
WO2021114380A1 (en) Battery charging method, storage medium, and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22914506

Country of ref document: EP

Kind code of ref document: A1