A charging method, a charging module, an electronic device and a storage medium
By setting different types of charging units in the charging module, the joint control of different types of charging units is achieved, which solves the problem of limited charging efficiency in the existing charging technology, and achieves higher charging efficiency and safety.
Patent Information
- Application Number
- CN202410659975.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In the existing charging technology, the upper limit of the conversion efficiency of the chargerpump charging chip is limited, making it difficult to achieve higher charging efficiency.
By setting different types of charging units in the charging module, joint control of different types of charging units is realized, and multiple charging units are used to charge the battery simultaneously, thereby improving charging efficiency.
Without affecting the miniaturized design of electronic devices and increasing costs, we will improve charging power and charging safety and improve user experience.
Smart Images

Figure CN118249475B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a charging method, a charging module, an electronic device and a storage medium. Background Art
[0002] When the battery in an electronic device is low on power, the electronic device can use the internal charging module to connect an external charger and power supply to charge the battery. In order to achieve safe and efficient charging of the battery, the charging module in the electronic device may include a buck (BUCK) charging chip and a charge pump (chargerpump) charging chip. When the charger connected to the charging module is a non-fast charging charger, the charging module can only use the BUCK charging chip to charge the battery in a constant voltage current regulation charging mode. When the charger connected to the charging module is a fast charging charger, the charging module can only use the chargerpump charging chip to quickly charge the battery according to the fast charging protocol, thereby improving the charging efficiency. However, the current charging efficiency is limited by the upper limit of the conversion efficiency of the chargerpump charging chip, and it is difficult to achieve higher charging efficiency. Summary of the invention
[0003] In order to solve the above problems, the present application provides a charging method, a charging module, an electronic device and a storage medium, which can realize the joint control of different types of charging units so as to charge the battery at the same time using different types of charging units, thereby further improving the charging efficiency while reducing the impact on the miniaturization design of the electronic device and reducing the cost burden of the electronic device.
[0004] In order to achieve the above-mentioned purpose, in a first aspect, the present embodiment provides a charging method, which is applied to a charging module, and the charging module includes multiple charging units. The method includes: determining a first target output current of the charging module; based on the first target output current and the types of each charging unit, determining a second target output current of each charging unit, and the sum of the second target output currents of each charging unit is equal to the first target output current; for each charging unit, determining the target input current of the charging unit based on the relationship between the input current and the output current of the charging unit and the second target output current.
[0005] In the charging method provided in this embodiment, different charging modes of the charging module are realized by setting different types of charging units in the charging module. At the same time, in the fast charging mode, the first target output current can be allocated to each charging unit according to the type of each charging unit to determine the second target output current of each charging unit, so as to use each charging unit to charge the battery at the same time to improve the charging power. In addition, after determining the second target output current of each charging unit, in order to avoid the input current of each charging unit being too large or too small to affect the actual output current, the actual output current of each charging unit is different from the second target output current, which affects the charging power and charging safety. This embodiment determines the target input current of each charging unit based on the second target output current of each charging unit and the relationship between the input current and the output current of each charging unit, so as to improve the charging power and charging safety of the charging module and improve the user experience.
[0006] In an optional embodiment, the multiple charging units include at least one constant current voltage regulating charging unit and at least one constant voltage current regulating charging unit, the output current of the constant current voltage regulating charging unit has a proportional correspondence with the input current, and the output current of the constant voltage current regulating charging unit has a power correspondence with the input current. In this way, the constant current voltage regulating charging unit and the constant voltage current regulating charging unit realize fast charging mode and non-fast charging mode, thereby improving the application scope of the charging module.
[0007] In an optional embodiment, for each charging unit, based on the relationship between the input current and the output current of the charging unit and the second target output current, the target input current of the charging unit is determined, including: determining the target input current of the constant current voltage regulating charging unit based on the second target output current of the constant current voltage regulating charging unit and the proportional correspondence between the output current and the input current; determining the target input current of the constant current voltage regulating charging unit based on the second target output current of the constant voltage current regulating charging unit and the power correspondence between the output current and the input current. In this way, the corresponding relationship between the output current and the input current of each of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit can be used to determine the respective target input currents.
[0008] In an optional embodiment, based on the second target output current of the constant voltage current regulating charging unit and the power correspondence between the output current and the input current, the target input current of the constant current voltage regulating charging unit is determined, including: obtaining the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit; determining the working efficiency based on the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit; determining the target input current of the constant voltage current regulating charging unit based on the second target output current, the actual input voltage, the actual output voltage, the working efficiency and the power correspondence of the constant voltage current regulating charging unit. In this way, the constant voltage current regulating charging unit can determine the target input current based on the power correspondence between the input current and the output current, so as to use the target input current to control the second target output current.
[0009] In an optional embodiment, the working efficiency is determined based on the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit, including: obtaining a first list, the first list including at least one set of corresponding relationships between the input voltage, the output voltage and the working efficiency of the constant voltage current regulating charging unit; based on the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit, querying the first list to obtain the working efficiency corresponding to the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit. In this way, the working efficiency corresponding to the actual output voltage and the actual input voltage of the constant voltage current regulating charging unit can be obtained using the first list.
[0010] In an optional embodiment, the method for determining the first list includes: determining the maximum output current of the constant voltage current regulating charging unit; in a target temperature environment, making the output current of the constant voltage current regulating charging unit the maximum output current, adjusting the output voltage and the input voltage; recording the working efficiency corresponding to each group of output voltage and input voltage of the constant voltage current regulating charging unit to form a first list. In this way, the working efficiency of the constant voltage current regulating charging unit corresponding to different input voltages and output voltages can be determined.
[0011] In an optional embodiment, based on the first target output current and the type of each charging unit, the second target output current of each charging unit is determined, and the sum of the second target output currents of each charging unit is equal to the first target output current, including: based on the first target output current and the second list, the second target output current of the constant voltage and current regulating charging unit and the second target output current of the constant current and current regulating charging unit are determined, and the sum of the second target output current of the constant voltage and current regulating charging unit and the second target output current of the constant current and current regulating charging unit is equal to the first target output current; wherein, the second list includes a correspondence between multiple groups of different output currents of the charging module and the output current of the constant voltage and current regulating charging unit and the output current of the constant current and current regulating charging unit. In this way, the first target output current can be reasonably allocated to the constant current and current regulating charging unit based on the second list.
[0012] In an optional implementation, when the first target output current is not recorded in the second list, the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit are determined based on the second list by using a linear interpolation method or an equal proportion allocation method. In this way, the first target output current recorded in the second list can be allocated to the constant current voltage regulating charging unit and the constant voltage current regulating charging unit.
[0013] In an optional implementation, it further includes: obtaining the actual battery current of the charging module; if the actual battery current of the charging module is less than or equal to the first target output current, continue charging; if the actual battery current of the charging module is greater than the first target output current, adjust the actual output current of the charging module until the actual battery current of the charging module is less than or equal to the first target output current. In this way, the current control function of the charging module can be achieved to avoid excessive actual battery current and damage to the battery.
[0014] In an optional embodiment, it also includes: obtaining the actual input current of the constant current voltage regulation charging unit; determining the actual output current of the constant current voltage regulation charging unit based on the actual input current of the constant current voltage regulation charging unit; when the actual output current of the constant current voltage regulation charging unit is less than or equal to the second target output current of the constant current voltage regulation charging unit, continue charging, and when the actual output current of the constant current voltage regulation charging unit is greater than the second target output current of the constant current voltage regulation charging unit, adjust the actual output current of the constant current voltage regulation charging unit until the actual output current of the constant current voltage regulation charging unit is less than or equal to the second target output current of the constant current voltage regulation charging unit. In this way, the actual output current of the constant current voltage regulation charging unit can be controlled to avoid the actual output current of the constant current voltage regulation charging unit being greater than the second target output current, which affects charging safety.
[0015] In an optional embodiment, it also includes: obtaining the actual input current of the constant voltage current regulating charging unit; when the actual input current of the constant voltage current regulating charging unit is less than or equal to the target input current of the constant voltage current regulating charging unit, continue charging; when the actual input current of the constant voltage current regulating charging unit is greater than the target input current of the constant voltage current regulating charging unit, adjust the actual input current of the constant voltage current regulating charging unit until the actual input current of the constant voltage current regulating charging unit is less than or equal to the target input current of the constant voltage current regulating charging unit. In this way, the actual input current of the constant voltage current regulating charging unit can be controlled to avoid the actual input current of the constant voltage current regulating charging unit being greater than the target input current, resulting in excessive actual output current of the constant voltage current regulating charging unit, damaging the inductor and the battery, and affecting charging safety.
[0016] In an optional embodiment, it also includes: obtaining the actual battery current of the constant voltage current regulating charging unit; when the actual battery current of the constant voltage current regulating charging unit is less than or equal to the battery current limit of the constant voltage current regulating charging unit, continue charging, and when the actual battery current of the constant voltage current regulating charging unit is greater than the battery current limit of the constant voltage current regulating charging unit, adjust the actual battery current of the constant voltage current regulating charging unit until the actual battery current of the constant voltage current regulating charging unit is less than or equal to the battery current limit of the constant voltage current regulating charging unit. In this way, the actual battery current of the constant voltage current regulating charging unit can be controlled to avoid the actual battery current of the constant voltage current regulating charging unit being greater than the battery current limit, damaging the battery, and affecting charging safety.
[0017] In an optional embodiment, it also includes: when the voltage of the battery reaches a preset voltage value, the battery enters a constant voltage charging stage; the constant current voltage regulating charging unit reduces the output voltage based on the charging protocol; the input current after the constant current voltage regulating charging unit reduces the output voltage is obtained; based on the input current after the constant current voltage regulating charging unit reduces the output voltage, the output current after the constant current voltage regulating charging unit reduces the output voltage is determined; based on the ratio of the output current after the constant current voltage regulating charging unit reduces the output voltage and the second target output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit before the constant current voltage regulating charging unit reduces the output voltage, the output current after the constant voltage current regulating charging unit reduces the output voltage is obtained. In this way, the linkage control of the output current of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit can be realized in the constant voltage charging stage.
[0018] In an optional embodiment, it also includes: setting the battery current limit after the constant voltage current regulating charging unit reduces the output voltage to be equal to the output current after the constant voltage current regulating charging unit reduces the output voltage. In this way, the actual battery current of the constant voltage current regulating charging unit can be limited during the constant voltage charging stage to avoid damaging the battery.
[0019] In an optional implementation, the actual output voltage outputted by the constant voltage current regulating charging unit to the battery terminal during the constant voltage charging stage is equal to the sum of the input battery voltage and the compensation voltage, and the compensation voltage is equal to the product of the input battery current and the path impedance. In this way, the output voltage of the constant voltage current regulating charging unit can be compensated to avoid the output voltage being too small to limit the output current and affect the charging power.
[0020] In an optional implementation, it further includes: when the battery voltage reaches a preset voltage value, the battery enters a constant voltage charging stage; when the first target output current is less than or equal to the maximum output current of the constant current voltage regulating charging unit, the constant voltage current regulating charging unit is turned off. In this way, when the first target output current is less than the maximum output current of the constant current voltage regulating charging unit, only the constant current voltage regulating charging unit can be used for charging, simplifying the control method.
[0021] In a second aspect, the present embodiment provides a charging module, comprising: a plurality of charging units, one end of the plurality of charging units being coupled to a power supply end, and the other end being coupled to a battery end; a control unit, the control unit establishing a communication connection with the plurality of charging units; the control unit being configured to determine a first target output current of the charging module, and based on the first target output current and the type of each charging unit, determine a second target output current of each charging unit, the sum of the second target output currents of each charging unit being equal to the first target output current, and each charging unit being configured to determine a target input current based on the relationship between an input current and an output current of the charging unit and the second target output current.
[0022] The charging module provided in the embodiment of the present application can be used to implement the charging method of the first aspect, which can improve the charging power of the battery while facilitating the miniaturization design and improving the user experience. In addition, the charging module provided in the embodiment of the present application can also reduce the manufacturing cost burden of the charging module and the electronic device.
[0023] In an optional embodiment, the multiple charging units include at least one constant current voltage regulating charging unit and at least one constant voltage current regulating charging unit, the output current of the constant current voltage regulating charging unit has a proportional correspondence with the input current, and the output current of the constant voltage current regulating charging unit has a power correspondence with the input current. In this way, the constant current voltage regulating charging unit and the constant voltage current regulating charging unit realize fast charging mode and non-fast charging mode, thereby improving the application scope of the charging module.
[0024] In an optional embodiment, the constant voltage current regulation charging unit includes a constant voltage current regulation charging chip and an inductor group; the input end of the constant voltage current regulation charging chip is coupled to the power supply end; one end of the inductor group is coupled to the output end of the constant voltage current regulation charging chip, and the other end is coupled to the system power supply module and the battery end of the electronic device; the inductor group includes multiple series inductors or multiple parallel inductors. In this way, the current carrying capacity of the inductor group can be improved to improve the safety of the constant voltage current regulation charging unit when the output current is large.
[0025] In an optional embodiment, the constant current voltage regulation charging unit includes a digital-to-analog converter; the constant voltage current regulation charging unit is configured to determine the actual input current and the actual input voltage of the constant voltage current regulation charging unit through the digital-to-analog converter. In this way, the digital-to-analog converter can be used to monitor and obtain the actual input current and the actual input voltage of the constant current voltage regulation charging unit and the constant voltage current regulation charging unit.
[0026] In an optional embodiment, it further includes: a fuel meter, the fuel meter is coupled between the positive and negative electrodes of the battery, and the control unit is configured to determine the actual output voltage of the constant voltage current regulation charging unit through the fuel meter. In this way, the actual input battery voltage and the actual input battery current and the actual output voltage of the constant voltage current regulation charging unit can be obtained using the fuel meter.
[0027] In a third aspect, this embodiment further provides an electronic device, comprising: a battery and a charging module as provided in the second aspect above, wherein the charging module is used to connect to an external power source to charge the battery.
[0028] In a fourth aspect, this embodiment further provides a computer-readable storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the charging method provided in the first aspect above.
[0029] In a fifth aspect, this embodiment further provides a computer program product. When the computer program product is run on a computer, the computer executes the charging method provided in the first aspect above.
[0030] It can be understood that the beneficial effects that can be achieved by the technical solutions provided in the third to fifth aspects provided above can refer to the beneficial effects in the first aspect and any of its optional embodiments, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0032] Figure 1 is a schematic diagram of a charging scenario of an electronic device provided in this embodiment;
[0033] Figure 2 is a structural block diagram of a charging device in an electronic device provided in this embodiment;
[0034] Figure 3 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0035] Figure 4 is a first flow chart of a charging method provided in this embodiment;
[0036] Figure 5 is a second flow chart of a charging method provided in this embodiment;
[0037] Figure 6 is a third flow chart of a charging method provided in this embodiment;
[0038] Figure 7 is a fourth flow chart of a charging method provided in this embodiment;
[0039] Figure 8 is a fifth flow chart of a charging method provided in this embodiment;
[0040] Fig. 9 is a sixth flow chart of a charging method provided in this embodiment;
[0041] Fig.10 is a seventh flow chart of a charging method provided in this embodiment;
[0042] Fig.11 is the eighth flow chart of a charging method provided in this embodiment;
[0043] Fig.12 is a schematic diagram of a charging process curve using the charging method provided in this embodiment;
[0044] Fig.13 is a structural block diagram of a charging module provided in this embodiment;
[0045] Fig.14 It is a structural block diagram of another charging module provided in this embodiment. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described clearly below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments of the present application, other embodiments obtained by ordinary technicians in this field without making creative work all belong to the protection scope of the present application.
[0047] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0048] In addition, in the present application, directional terms such as "upper", "lower", "inner" and "outer" are defined relative to the orientation of the components schematically placed in the drawings. It should be understood that these directional terms are relative concepts. They are used for relative description and clarification, and they can change accordingly according to the changes in the orientation of the components placed in the drawings.
[0049] Figure 1 It is a schematic diagram of a charging scenario of an electronic device provided in this embodiment.
[0050] Figure 2 It is a structural block diagram of the charging device in the electronic device provided by this embodiment.
[0051] Combination Figure 1 and Figure 2 As shown, when the electronic device is low on power, the electronic device can use the internal charging device 100 to connect the external charger 10 and the power supply 20 to charge the battery 40 in the electronic device, thereby maintaining the normal operation of the electronic device. In addition to charging the battery 40, the charging device 100 can also deliver power to the system power supply module 30 to meet the power demand of the electronic device during the charging process of the electronic device. In this way, when the charging device 100 charges the battery 40, it can also meet the user's needs to use the electronic device during this period.
[0052] It can be understood that the system power supply module 30 of the electronic device can provide power for electrical devices such as a display screen, a processor, a camera, and a speaker, and the electrical devices are not limited in this embodiment.
[0053] Combination Figure 1 (a) and Figure 2 As shown, the charger 10 connected to the electronic device can be a wired charger (or adapter), and the wired charger can be connected to the charger connection socket 101 of the charging device 100. The charger connection socket 101 can be a Type-C interface. Figure 1 (b) and Figure 2 As shown, the charger 10 connected to the electronic device may be a wireless charger, and the wireless charging coil 102 in the charging device 100 may be used to receive wireless charging input.
[0054] like Figure 2 As shown, in order to achieve safe and efficient charging of the battery 40, the charging device 100 in the electronic device usually includes a buck charging chip. The buck charging chip 103 can reduce the high voltage of the external power supply to the charging voltage required by the battery 40, thereby providing a safe charging voltage and current for the battery 40 and improving the charging efficiency.
[0055] In order to further improve the charging efficiency of the battery 40, a charge pump charging chip may be provided in the charging device 100. When charging the battery 40, if the charger 10 connected to the charging device 100 is a non-fast charging charger, the charging device 100 will be in a non-fast charging mode, and the battery 40 may be charged using only the BUCK charging chip 103 in a constant voltage current regulation charging mode; if the charger 10 connected to the charging device 100 is a fast charging charger, and the fast charging protocol module connected to the charger pump charging chip 104 can be successfully identified and handshaked, the charging device 100 will be in a fast charging mode, and the battery 40 may be quickly charged using only the charger pump charging chip 104 and according to the fast charging protocol, thereby improving the charging efficiency.
[0056] The fast charging protocol may include a quick charge (QC) protocol, a power delivery (PD) protocol, a universal fast charging specification (UFCS), a super charge protocol (SCP), etc. It is understandable that in order to achieve fast charging, the charging device 100 in the electronic device and the charger 10 should support the same fast charging protocol.
[0057] When the charging device 100 is charging the battery 40, in the non-fast charging mode, the conversion efficiency of the BUCK charging chip 103 is about 91%; in the fast charging mode, the conversion efficiency of the chargerpump charging chip 104 is about 98%. It can be seen that the conversion efficiency of the chargerpump charging chip 104 is higher than the conversion efficiency of the BUCK charging chip 103. Therefore, the high-power charging process is generally implemented using the chargerpump charging chip 104 to achieve fast charging.
[0058] When the charging device 100 includes a BUCK charging chip 103 and a chargerpump charging chip 104, the charging power of the charging device 100 can reach 40W when the chargerpump charging chip 104 is used for fast charging. If the charging power is to be further increased, one way is to increase the charging power of a single chargerpump charging chip 104, and another way is to increase the number of chargerpump charging chips 104, for example, using two or three or more chargerpump charging chips 104 for parallel charging at the same time, thereby increasing the charging power.
[0059] However, in the above two methods, the charging power of a single charger pump charging chip 104 is difficult to increase, and charging multiple charger pump charging chips 104 in parallel will inevitably lead to an increase in the space occupied by the charger pump charging chip 104 and an increase in the overall volume of the charging device 100, affecting the miniaturization design of the electronic device. At the same time, the cost of multiple charger pump charging chips 104 will also increase, increasing the design and manufacturing burden of the electronic device.
[0060] Considering the above problems, in order to further improve the charging power without affecting the miniaturization design of electronic equipment and the pressure of manufacturing cost, a solution of charging a BUCK charging chip 103 and a chargerpump charging chip 104 in parallel can be adopted. When charging with a BUCK charging chip 103 and a chargerpump charging chip 104 at the same time, the output current of the BUCK charging chip 103 needs to be coordinated and adjusted with the output current of the chargerpump charging chip 104. Among them, the output current of the chargerpump charging chip 104 can be controlled by the input current of the chargerpump charging chip 104. However, there is no fixed corresponding relationship between the output current of the BUCK charging chip 103 and the input current of the BUCK charging chip 103, which makes it impossible to control the output current of the BUCK charging chip 103, and thus it is impossible to jointly control the output current of the BUCK charging chip 103 and the output current of the chargerpump charging chip 104, and it is difficult to charge with a BUCK charging chip 103 and a chargerpump charging chip 104 at the same time.
[0061] To summarize, in order to solve the above problems, the present application provides a charging method that can realize the joint control of different types of charging units, so as to use different types of charging units to charge the battery at the same time, thereby further improving the charging power while reducing the impact on the miniaturization design of electronic equipment and reducing the cost burden of electronic equipment.
[0062] The charging method provided in this embodiment can be applied to electronic devices. In some embodiments, the electronic device can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, and other electronic devices. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device.
[0063] For example, taking the electronic device as a mobile phone, Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0064] Reference Figure 3 As shown, the electronic device may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 40, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a sensor module 380, a display screen 393, a subscriber identification module (SIM) card interface 394, and a camera 395, etc. Among them, the sensor module 380 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0065] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0066] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0067] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.
[0068] In some embodiments, the processor 310 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0069] The external memory interface 320 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device. The external non-volatile memory communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.
[0070] The internal memory 321 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 310, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The non-volatile memory can also store executable programs and user and application data, and can be loaded into the random access memory in advance for direct reading and writing by the processor 310.
[0071] The charging management module 340 is used to receive charging input from a power supply device (such as a charger, a laptop power supply, etc.). The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 can receive charging input from a wired charger through the USB interface 330. In some wireless charging embodiments, the charging management module 340 can receive wireless charging input through a wireless charging coil of the electronic device.
[0072] While charging the battery 40, the charging management module 340 can also power the electronic device through the power management module 341. The battery 40 can be composed of multiple batteries connected in series. The power management module 341 is used to connect the battery 40, the charging management module 340 and the processor 310.
[0073] The power management module 341 is used to connect the battery 40, the charging management module 340 and the processor 310. The power management module 341 receives input from the battery 40 and / or the charging management module 340, and supplies power to the processor 310, the internal memory 321, the display screen 393, the camera 395, and the wireless communication module 360. The power management module 341 can also be used to monitor parameters such as the battery voltage, current, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 341 can also be set in the processor 310.
[0074] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem and baseband processor.
[0075] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.
[0076] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 350 can receive electromagnetic waves through the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the same device as at least some of the modules of the processor 310.
[0077] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device, or displays an image or video through a display screen 393. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 310 and be set in the same device as the mobile communication module 350 or other functional modules.
[0078] The wireless communication module 360 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 360 can be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 310. The wireless communication module 360 can also receive the signal to be sent from the processor 310, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0079] The audio module 370 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 370 can also be used to encode and decode audio signals. In some embodiments, the audio module 370 can be arranged in the processor 310, or some functional modules of the audio module 370 can be arranged in the processor 310.
[0080] In some embodiments, the electronic device may include 1 or N cameras 395, where N is a positive integer greater than 1. In the embodiment of the present application, the type of camera 395 can be distinguished according to the hardware configuration and the physical location. For example, the camera arranged on the side of the display screen 393 of the electronic device can be called a front camera, and the camera arranged on the side of the back cover of the electronic device can be called a rear camera; for another example, a camera with a short focal length and a larger viewing angle can be called a wide-angle camera, and a camera with a long focal length and a small viewing angle can be called a normal camera. Among them, the length of the focal length and the size of the viewing angle are relative concepts, and there is no specific parameter limitation. Therefore, wide-angle cameras and ordinary cameras are also a relative concept, and can be specifically distinguished according to physical parameters such as focal length and viewing angle.
[0081] The electronic device implements the display function through a GPU, a display screen 393, and an application processor. The GPU is a microprocessor for image editing, connecting the display screen 393 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or change display information.
[0082] The electronic device can realize the shooting function through ISP, camera 395, video codec, GPU, display screen 393 and application processor. GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 310 may include one or more GPUs, which execute program instructions to generate or change display information. In the embodiment of the present application, the function of the GPU is used in the frame drawing process of each image frame so that the final displayed picture obtains better display effect and performance.
[0083] The ISP is used to process the data fed back by the camera 395. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 395. The camera 395 is used to capture static images or videos.
[0084] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy.
[0085] The display screen 393 is used to display images, videos, etc. The display screen 393 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 393, where N is a positive integer greater than 1.
[0086] In an embodiment of the present application, the display screen 393 can be used to display pages required by the electronic device (for example, wizard pages (including highlight recommendation pages and external module access pages), etc.), and display images captured by any one or more cameras 395 in the interface.
[0087] The SIM card interface 394 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device by inserting it into or removing it from the SIM card interface 394. The electronic device can support one or more SIM card interfaces. The SIM card interface 394 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 394 at the same time. The SIM card interface 394 can also be compatible with external memory cards. The electronic device interacts with the network through the SIM card to implement functions such as calls and data communications. One SIM card corresponds to one user number.
[0088] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0089] Of course, it is understandable that the above Figure 3 The figure is only an exemplary description when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a tablet computer, a handheld computer, a PC, a PDA, a wearable device (such as a smart watch, a smart bracelet), etc., the structure of the electronic device may include Figure 3 The structure shown in the figure is less than Figure 3 More structures are shown in the figure, which are not limited here.
[0090] It is understandable that, in general, the realization of electronic device functions requires not only hardware support but also software cooperation. The software system of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, which is not limited in this embodiment.
[0091] Figure 4 This is the first flow chart of a charging method provided in this embodiment.
[0092] like Figure 4 As shown, the charging method provided in this embodiment is applied to a charging module, the charging module includes a plurality of charging units, and the charging method includes:
[0093] Step S110: determining a first target output current of the charging module.
[0094] In this embodiment, before the charging module charges the battery, the charging module first needs to determine a suitable output current based on the charging capacity of the battery in the electronic device. The charging capacity of a battery refers to the maximum charging current that the battery can withstand. The charging capacity of a battery usually depends on the design and specifications of the battery. Different types of batteries have different charging capacities. Therefore, before charging the battery, it is necessary to first understand the charging capacity of the battery so that the charging module can output a relatively safe and suitable first target output current to the battery to ensure that the charging process is safe and reliable.
[0095] It is understandable that the charging capacity and related parameters of the battery in the electronic device can be stored in the memory of the electronic device, or a storage unit can be integrated inside the charging module to store the relevant information for easy acquisition.
[0096] Furthermore, when charging the battery, the charging module and the battery will generate heat. Electronic devices are usually equipped with overheat protection to prevent the high temperature generated during the charging process from damaging the battery or circuit components, and to prevent impact on user safety. When determining the first target output current of the charging module, in addition to considering the charging capacity of the battery, it is also necessary to combine the heat dissipation capacity of the electronic device, so as to ensure charging safety while fast charging.
[0097] Step S120: determining a second target output current of each charging unit based on the first target output current and the type of each charging unit.
[0098] The sum of the second target output currents of the charging units is equal to the first target output current.
[0099] In this embodiment, the multiple charging units may include different types of charging units, so that they can be adapted to fast charging chargers and non-fast charging chargers to improve charging convenience. At the same time, in order to further increase the charging power in the fast charging mode, the first target output current of the charging module can be allocated to each charging unit, so that each charging unit can be used to charge the battery at the same time.
[0100] When the first target output current is allocated to each charging unit, the second target output current can be determined according to the type of each charging unit, so as to avoid different types of charging units being allocated to inappropriate second target output currents, which affects charging efficiency and charging power.
[0101] Exemplarily, if multiple charging units include charging units that support fast charging and charging units that support non-fast charging, and the charging efficiency of the fast charging unit is higher than that of the non-fast charging unit, the second target output current of the charging unit that supports fast charging can be made greater than the second target output current of the non-fast charging unit, so as to achieve a reasonable distribution of the first target output current and improve the charging power.
[0102] In some embodiments, the multiple charging units may include at least one constant current voltage regulating charging unit and at least one constant voltage current regulating charging unit. The constant current voltage regulating charging unit is a charging unit that supports fast charging, and the constant voltage current regulating charging unit is a charging unit that supports non-fast charging. The charging efficiency of the constant current voltage regulating charging unit is higher than the charging efficiency of the constant voltage current regulating charging unit, so the second target output current of the constant current voltage regulating charging unit can be higher than the target output current of the constant voltage current regulating charging unit.
[0103] In addition, when allocating the first target output current to the constant current voltage regulating charging unit and the constant voltage current regulating charging unit, the current capacity of different types of charging units needs to be considered. The current capacity of the charging unit is the maximum current that the charging unit can output. The current capacity of the constant current voltage regulating charging unit is usually greater than the current capacity of the constant voltage current regulating charging unit, so the second target output current of the constant current voltage regulating charging unit can be higher than the target output current of the constant voltage current regulating charging unit.
[0104] It is understandable that in order to protect the charging unit and prevent the charging unit from charging at an excessively high current, the current capacity of the charging unit needs to be derated when the current is saturated. In other words, the current capacity of the charging unit is less than the saturation current of the charging unit. For example, if the saturation current of a charging unit is 5.5A, the maximum safe output current of the charging unit can be 4A.
[0105] Specifically, the multiple charging units may include a constant current voltage regulating charging unit and a constant voltage current regulating charging unit. In non-fast charging mode, only the constant voltage current regulating charging unit can be used for charging. In fast charging mode, the constant current voltage regulating charging unit and the constant voltage current regulating charging unit can be charged at the same time. In this way, the charging module can have a fast charging mode and a non-fast charging mode with higher charging power using only two charging units. Compared with three, four or more charging units, the two charging units occupy a smaller area, and the overall volume of the charging module is smaller, which can reduce the impact on the miniaturization design of the electronic device while increasing the charging power, and can also reduce the manufacturing cost pressure of the electronic device.
[0106] Exemplarily, if the constant current voltage regulation charging unit is a charge pump (chargerpump) charging unit, the charging efficiency of the chargerpump charging unit is about 98%, and the maximum output current of the chargerpump charging unit is 8A. The constant voltage current regulation charging unit is a buck (BUCK) charging unit, the charging efficiency of the BUCK charging unit is about 91%, and the maximum output current of the BUCK charging unit is 4A. When the chargerpump charging unit and the BUCK charging unit are both one, if the first target output current determined in step S110 is 12A, then the second target output current of the chargerpump charging unit can be 8A, and the second output current of the BUCK charging unit can be 4A. When the chargerpump charging unit and the BUCK charging unit are charged at the same time, the charging power can reach 66W. Compared with the 40W charging power when the chargerpump charging unit is charged alone, the charging power of the chargerpump charging unit and the BUCK charging unit when charged simultaneously is higher.
[0107] Step S130 : for each charging unit, determining a target input current of the charging unit based on the relationship between the input current and the output current of the charging unit and the second target output current.
[0108] In this embodiment, after determining the second target output current of each charging unit, it is also necessary to determine the target input current of each charging unit so that each charging unit can output the second target output current when the input current is the target input current. In this way, by determining the target input current of the charging unit corresponding to the second target output current, it is possible to prevent the actual output current of the charging unit from being less than the second target output current due to insufficient input current, and the battery cannot be charged at the first target output current, thereby affecting the charging power. At the same time, by determining the target input current of the charging unit corresponding to the second target output current, it is also possible to prevent the actual output current of the charging unit from being greater than the second target output current due to excessive input current, so that the charging module charges the battery with an actual output current greater than the first target output current, affecting the charging safety of each charging unit and the battery.
[0109] In the charging method provided in this embodiment, different charging modes of the charging module are realized by setting different types of charging units in the charging module. At the same time, in the fast charging mode, the first target output current can be allocated to each charging unit according to the type of each charging unit to determine the second target output current of each charging unit, so as to use each charging unit to charge the battery at the same time to improve the charging power. In addition, after determining the second target output current of each charging unit, in order to avoid the input current of each charging unit being too large or too small to affect the actual output current, the actual output current of each charging unit is different from the second target output current, which affects the charging power and charging safety. This embodiment determines the target input current of each charging unit based on the second target output current of each charging unit and the relationship between the input current and the output current of each charging unit, so as to improve the charging power and charging safety of the charging module and improve the user experience.
[0110] It can be seen from the above description that the charging module may include multiple charging units, and the multiple charging units include at least two different types of charging units, so that the charging module has a fast charging mode and a non-fast charging mode. At the same time, the more charging units there are, the easier it is to increase the charging power. In the fast charging mode, compared to charging with a charging unit that supports fast charging, the charging power of a charging unit that supports fast charging and another charging unit of a different type can be significantly improved when charging at the same time.
[0111] For ease of explanation, the following is an introduction using an example in which the charging module includes a constant current voltage regulating charging unit and a constant voltage current regulating charging unit.
[0112] Figure 5 This is a second flow chart of a charging method provided in this embodiment.
[0113] like Figure 5 As shown, in some embodiments, the charging module includes a constant current voltage regulating charging unit and a constant voltage current regulating charging unit, and the charging method includes:
[0114] Step S210: Turn on the constant voltage and current regulating charging unit.
[0115] In this embodiment, before turning on the constant voltage and current regulating charging unit, when the charging module is connected to the charger, if the charger is a fast charging charger, the charging module can enter the fast charging mode. The charging module can first turn off the constant voltage and current regulating charging unit, and perform direct charging detection on the constant current and current regulating charging unit according to the fast charging protocol. The direct charging detection includes impedance detection and leakage detection on the charging module. After completing the direct charging detection, the charging module can enter the mode selection again. After the direct charging detection, if the relevant parameters of the constant current and current regulating charging unit meet the requirements of the fast charging protocol, fast charging can be performed, and the mode in which the constant current and current regulating charging unit and the constant current and current regulating charging unit are charged at the same time can be selected. At this time, the charging module can turn on the constant voltage and current regulating charging unit again to use the constant current and current regulating charging unit and the constant voltage and current regulating charging unit to charge the battery together.
[0116] Step S220: determining a first target output current of the charging module.
[0117] In this embodiment, when a constant current voltage regulating charging unit and a constant voltage current regulating charging unit are connected in parallel and used to charge the battery simultaneously, the maximum current value that the charging module can output when charging the battery can be first determined as the first target output current based on the charging capacity of the battery, the heat dissipation capacity of the entire machine and other conditions, and the output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit can be controlled using the first target output current as the charging condition.
[0118] When determining the first target output current, the maximum output current can be determined according to the charging power. For example, in fast charging mode, the maximum output current with a charging power of 66W is 12A, so the first target output current can be 12A. Combined with the battery's charging capacity and the heat dissipation capacity of the whole machine, multiple first target output currents can be set. In this way, the first target output current can be 12A, 10.9A, 10A, 9A, 8.5A, and 8A, etc.
[0119] It can be understood that the specific value of the first target output current can be adjusted according to actual conditions, and this embodiment does not limit it.
[0120] It is worth noting that the description of step S220 can refer to the above-mentioned step S110, which will not be repeated here.
[0121] Step S230: Determine a second target output current of the constant voltage current regulation charging unit and a second target output current of the constant current voltage regulation charging unit based on the first target output current and the second list.
[0122] The sum of the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit is equal to the first target output current.
[0123] In this embodiment, when a constant voltage current regulating charging unit and a constant current voltage regulating charging unit are simultaneously connected in parallel to charge the battery, the first target output current can be distributed to the constant voltage current regulating charging unit and the constant current voltage regulating charging unit, and the sum of the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit is equal to the first target output current, thereby preventing the sum of the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit from being too large or too small, affecting the charging power and charging safety of the battery.
[0124] Furthermore, the second list includes a correspondence between a plurality of different groups of output currents of the charging module and the output current of the constant-voltage and current-regulating charging unit and the constant-current and voltage-regulating charging unit.
[0125] Table 1
[0126]
[0127] Exemplarily, the second list can refer to the above-mentioned Table 1. When the first target output current of the charging module is 12A, the second target output current of the constant current voltage regulation charging unit is 8A, and the second target output current of the constant voltage current regulation charging unit is 4A. When the first target output current of the charging module is 10.9A, the second target output current of the constant current voltage regulation charging unit is 8A, and the second target output current of the constant voltage current regulation charging unit is 2.9A. When the first target output current of the charging module is 10A, the second target output current of the constant current voltage regulation charging unit is 8A, and the second target output current of the constant voltage current regulation charging unit is 2A. When the first target output current of the charging module is 9A, the second target output current of the constant current voltage regulation charging unit is 7.5A, and the second target output current of the constant voltage current regulation charging unit is 1.5A. When the first target output current of the charging module is 8.5A, the second target output current of the constant current voltage regulation charging unit is 7A, and the second target output current of the constant voltage current regulation charging unit is 1.5A. When the first target output current of the charging module is 8A, the second target output current of the constant current and voltage regulating charging unit is 6.5A, and the second target output current of the constant voltage and current regulating charging unit is 1.5A.
[0128] It is worth noting that the constant current voltage regulating charging unit and the constant voltage current regulating charging unit have different current capabilities, and the second target output currents allocated to the constant current voltage regulating charging unit and the constant voltage current regulating charging unit may also be different. The correspondence between the multiple groups of different output currents and the output current of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit shown in Table 1 is only an example. In actual application, the second list may include more groups of correspondences, or the second list may also include a distribution arrangement different from the correspondence shown in Table 1, which is not limited in this embodiment.
[0129] Specifically, the second list can be stored in the storage unit of the charging module in advance, or can also be stored in the memory of the electronic device. When the first target output current needs to be distributed to each charging unit, relevant data can be obtained from the storage unit or memory.
[0130] In this embodiment, although the second list can record the correspondence between multiple groups of different output currents and the output current of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit, the correspondence that can be listed in the second list is also limited. When determining the first target output current, combined with the battery charging capacity and the temperature and heat dissipation capacity of the electronic device and other conditions, the first target output current may not be recorded in the second list. At this time, the charging module cannot directly allocate the first target current according to the second list.
[0131] Based on the above situation, if the first target output current is not recorded in the second list, the charging module can use linear interpolation or proportional distribution method to determine the second target output current of the constant current regulating charging unit and the second target output current of the constant voltage regulating charging unit based on the second list.
[0132] Taking the linear interpolation method as an example, if the second table is as shown in Table 1, when the first target output current is 11.5A, 11.5A falls between the output currents of the charging modules corresponding to the first and second groups, and 11.5A can be interpolated between the corresponding relationships of the first and second groups, and the second target output current of the constant current voltage regulating charging unit can be obtained to be 8A, and the second target output current of the constant voltage current regulating charging unit can be obtained to be 3.5A. When the first target output current is 10.6A, 10.6A falls between the output currents of the charging modules corresponding to the second and third groups, and 10.6A can be interpolated between the corresponding relationships of the second and third groups, and the second target output current of the constant current voltage regulating charging unit can be obtained to be 8A, and the second target output current of the constant voltage current regulating charging unit can be obtained to be 2.6A. When the first target output current is 9.3A, 9.3A falls between the output currents of the charging modules corresponding to the third and fourth groups. 9.3A can be interpolated between the corresponding relationships between the third and fourth groups to obtain a second target output current of the constant current voltage regulating charging unit of 7.65A and a second target output current of the constant voltage current regulating charging unit of 1.65A. When the first target output current is 8.7A, 8.7A falls between the output currents of the charging modules corresponding to the fourth and fifth groups. 8.7A can be interpolated between the corresponding relationships between the fourth and fifth groups to obtain a second target output current of the constant current voltage regulating charging unit of 7.2A and a second target output current of the constant voltage current regulating charging unit of 1.5A. When the first target output current is 8.3A, 8.3A falls between the output currents of the charging modules corresponding to the fifth and sixth groups. 8.3A can be interpolated between the corresponding relationships between the fifth and sixth groups, and the second target output current of the constant current regulating charging unit can be obtained as 6.8A, and the second target output current of the constant voltage regulating charging unit is 1.5A.
[0133] If the equal-proportional allocation method is adopted, the group closest to the first target output current can be selected for equal-proportional allocation. For example, when the first target output current is 11A, the output current of the charging module closest to 11A is 10.9A. At this time, the first target output current can be allocated to the constant-current voltage-regulated charging unit and the constant-voltage current-regulated charging unit according to the allocation ratio of the second group.
[0134] In addition to the above two allocation methods, the second target output current of the constant current voltage regulation charging unit and the constant voltage current regulation charging unit may not refer to the second list. For example, if the first target output current is greater than or equal to 10A, the second target output current of the constant current voltage regulation charging unit can be directly set to 8A, and the second target output current of the constant voltage current regulation charging unit can be set to 10A-8A=2A. If the first target output current is less than 10A, such as 9.2A, the second target output current of the constant voltage current regulation charging unit can be directly set to 1.5A, and the second target output current of the constant current voltage regulation charging unit can be set to 9.2A-1.5A=7.7A. In this way, the constant voltage current regulation charging unit and the constant current voltage regulation charging unit can be charged at a higher working efficiency, thereby facilitating the improvement of the charging power.
[0135] In the above-mentioned method for allocating the first target output current, whether it is allocated directly according to the second list, or allocated in combination with the second list and other means, or directly allocated by other means, the second target output current of the constant current voltage regulation charging unit can be made larger, which can reduce the charging heating of the charging module and the electronic device, thereby improving the safety of the charging process. It can be understood that other methods can also be used for the specific allocation of the first target output current, which is not limited in this embodiment.
[0136] Step S240: Determine the target input current of the constant current and voltage regulation charging unit based on the second target output current of the constant current and voltage regulation charging unit and the proportional relationship between the output current and the input current.
[0137] In this embodiment, the output current of the constant current voltage regulation charging unit has a fixed proportional correspondence with the input current. For example, the ratio of the output current of the constant current voltage regulation charging unit to the input current can be 2:1, 4:1, etc. After determining the second target output current of the constant current voltage regulation charging unit, the target input current can be determined based on the above proportional relationship, so as to facilitate the control of the actual input current of the constant current voltage regulation charging unit to avoid the actual output current of the constant current voltage regulation charging unit being greater than or less than the second target output current.
[0138] For example, if the second target output current of the constant current voltage regulating charging unit is 8A, and the ratio of the output current to the input current of the constant current voltage regulating charging unit is 2:1, then the target input current of the constant current voltage regulating charging unit is 4A.
[0139] Step S250: Determine the target input current of the constant current regulating charging unit based on the second target output current of the constant voltage regulating charging unit and the power correspondence between the output current and the input current.
[0140] In this embodiment, there is no fixed proportional correspondence between the input current and the output current of the constant voltage current regulation charging unit, but there is a power correspondence between the input current and the output current of the constant voltage current regulation charging unit. The product of the input power and the working efficiency of the constant voltage current regulation charging unit is equal to the output power, wherein the input power is equal to the product of the input current and the input voltage, and the output power is equal to the product of the output voltage and the output current. After determining the second target output current of the constant voltage current regulation charging unit, the target input current of the constant voltage current regulation charging unit can be determined in combination with the power correspondence, so as to facilitate the control of the actual input current of the constant voltage current regulation charging unit to avoid the actual output current of the constant voltage current regulation charging unit being greater than or less than the second target output current.
[0141] Figure 6 This is the third flow chart of a charging method provided in this embodiment.
[0142] like Figure 6 As shown, in some embodiments, the above step S250 can be implemented by the following method:
[0143] Step S251: obtaining the actual input voltage and the actual output voltage of the constant voltage and current regulating charging unit.
[0144] In this embodiment, based on the power correspondence of the constant voltage current regulating charging unit, the product of the input current, input voltage and working efficiency of the constant voltage current regulating charging unit is equal to the product of the output voltage and output current. When determining the target input current based on the second target output current and power correspondence, it is also necessary to obtain the actual input voltage and actual output voltage and working efficiency of the constant voltage current regulating charging unit.
[0145] Exemplarily, the actual input voltage and the actual output voltage of the constant voltage current regulation charging unit can be obtained by using the analog-to-digital converter (ADC) in the charging module. The ADC can monitor the actual input voltage and the actual output voltage of the constant voltage current regulation charging unit, thereby facilitating the acquisition of the actual input voltage and the actual output voltage of the constant voltage current regulation charging unit.
[0146] In one example, the constant current voltage regulation charging unit may include an ADC, and the actual input voltage and the actual output voltage of the constant current voltage regulation charging unit may be monitored and acquired by using the ADC of the constant current voltage regulation charging unit.
[0147] In another example, the constant voltage current regulation charging unit may include an ADC, so that the actual input voltage and the actual output voltage of the constant voltage current regulation charging unit can be monitored and obtained.
[0148] In another example, the ADC may be independent of the constant voltage current regulation charging unit and coupled to the constant voltage current regulation charging unit, so as to monitor and obtain the actual input voltage and actual output voltage of the constant voltage current regulation charging unit.
[0149] It is understandable that the actual input voltage and the actual output voltage of the constant voltage and current regulation charging unit may also be obtained in other ways, which are not limited in this embodiment.
[0150] Step S252: determining the working efficiency based on the actual input voltage and the actual output voltage of the constant voltage and current regulation charging unit.
[0151] In this embodiment, the working efficiency of the constant voltage current regulating charging unit will change with the changes of parameters such as input voltage, input current, output voltage and temperature. Therefore, after obtaining the actual input voltage and actual output voltage of the constant voltage current regulating charging unit, it is also necessary to determine the working efficiency corresponding to the actual input voltage and actual output voltage.
[0152] Specifically, the implementation method of the above step S252 may include:
[0153] Step S2521: Get the first list.
[0154] The first list includes at least one set of corresponding relationships among input voltage, output voltage and working efficiency of the constant voltage and current regulating charging unit.
[0155] In this embodiment, the method for determining the first list may include:
[0156] Step S25211: Determine the maximum output current of the constant voltage and current regulation charging unit.
[0157] When determining the working efficiency of the constant voltage current regulation charging unit under different working conditions, the influence of different output currents needs to be considered. The larger the output current of the constant voltage current regulation charging unit, the higher the working efficiency is often. Under the same input power, the higher the working efficiency of the constant voltage current regulation charging unit, the greater the output power. In order to simplify the method of determining the working efficiency of the constant voltage current regulation charging unit, only the working efficiency of the constant voltage current regulation charging unit at the maximum output current can be considered. In this way, the working efficiency determined according to the maximum output current can often cover the working efficiency corresponding to the remaining output currents. For example, if the maximum output current of the constant voltage current regulation charging unit is 4A, then when determining the working efficiency of the constant voltage current regulation charging unit, the working efficiency when the output current is 4A can be directly tested, and there is no need to consider the efficiency values corresponding to currents such as 3A and 2A, thereby simplifying the determination of the working efficiency of the constant voltage current regulation charging unit.
[0158] Step S25212: Under the target temperature environment, the output current of the constant voltage current regulation charging unit is set to the maximum output current, and the output voltage and the input voltage are adjusted.
[0159] In this embodiment, the working efficiency of the constant voltage current regulating charging unit is different at different temperatures. Generally speaking, the lower the ambient temperature, the higher the working efficiency of the constant voltage current regulating charging unit. When determining the working efficiency of the constant voltage current regulating charging unit, it is first necessary to make the output current of the constant voltage current regulating charging unit the maximum output current at the target ambient temperature, and gradually adjust the output voltage and input voltage of the constant voltage current regulating charging unit to obtain the working efficiency of the constant voltage current regulating charging unit at different output voltages and input voltages.
[0160] Step S25213: Record the working efficiency corresponding to each group of output voltage and input voltage of the constant voltage and current regulation charging unit to form a first list.
[0161] In this embodiment, since different ambient temperatures may affect the working efficiency of the constant voltage and current regulating charging unit, the influence of the ambient temperature needs to be considered when recording the working efficiency corresponding to each set of output voltage and input voltage of the constant voltage and current regulating charging unit.
[0162] Optionally, since the lower the ambient temperature of the constant voltage current regulating charging unit, the higher the working efficiency, when testing the working efficiency of the constant voltage current regulating charging unit, the constant voltage current regulating charging unit can be directly set in a low temperature (-10℃~0℃) environment to test the working efficiency of the constant voltage current regulating charging unit in the low temperature environment, with different output voltages and input voltages. In this way, the working efficiency corresponding to different output voltages and input voltages obtained in the low temperature environment can be directly recorded in the first list, so that the maximum working efficiency corresponding to different output voltages and input voltages is recorded in the first list.
[0163] Alternatively, when testing the working efficiency of the constant voltage current regulating charging unit, the constant voltage current regulating charging unit can be directly set in a normal temperature (about 25°C) environment to test the working efficiency of the constant voltage current regulating charging unit corresponding to different output voltages and input voltages under normal temperature. Since the working efficiency in a normal temperature environment is lower than that in a low temperature environment, the working efficiency obtained by testing in a normal temperature environment needs to be adjusted before being recorded in the first list. At this time, the working efficiency corresponding to different output voltages and input voltages obtained by the normal temperature environment test can be multiplied by an adjustment coefficient, which is greater than 1, and the calculation result is recorded in the first list, so that the working efficiency of the constant voltage current regulating charging unit at normal temperature can be converted to the working efficiency of the constant voltage current regulating charging unit at low temperature, so that the maximum working efficiency corresponding to different output voltages and input voltages can be recorded in the first list.
[0164] In addition to the above tests in low temperature and normal temperature environments, the working efficiency test can also be carried out in a high temperature (35℃~45℃) environment. The working efficiency obtained in the high temperature environment also needs to be adjusted and recorded in the first table, so that the first table can record the maximum working efficiency corresponding to different output voltages and input voltages.
[0165] According to the above description, the greater the output current of the constant voltage current regulation charging unit, the higher the working efficiency, and the lower the ambient temperature in which the constant voltage current regulation charging unit works, the higher the working efficiency. The working efficiency recorded in the first list is the working efficiency when the output current is the maximum output current and the working temperature is in a low temperature environment. In this way, each set of output voltage and input voltage in the first list can correspond to a larger working efficiency. According to the power correspondence of the constant voltage current regulation charging unit, when the second target output current is the same, the greater the working efficiency of the constant voltage current regulation charging unit, the smaller the target input current, and the safer it is for the constant voltage current regulation charging unit. Therefore, recording a larger working efficiency in the first list is safer when determining the target input voltage of the constant voltage current regulation charging unit, and it can also simplify the method for determining the working efficiency of the constant voltage current regulation charging unit, and simplify the method for determining the target input current of the constant voltage current regulation charging unit.
[0166] Step S2522: Based on the actual input voltage and the actual output voltage of the constant voltage and current regulating charging unit, query the first table to obtain the working efficiency corresponding to the actual input voltage and the actual output voltage of the constant voltage and current regulating charging unit.
[0167] In this embodiment, the first list can be prepared in advance and stored in the storage unit of the charging module, or stored in the constant voltage current regulation charging unit, or can be stored in the memory of the electronic device. In this embodiment, the storage location of the first list is not limited.
[0168] After obtaining the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit, the first list may be queried to obtain the working efficiency corresponding to the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit.
[0169] Table 2
[0170]
[0171] For example, if the first list is as shown in Table 2 above, when the actual input voltage of the constant voltage current regulation charging unit is 6.8V and the actual output voltage is 3.47V, based on the first list, the working efficiency of the constant voltage current regulation charging unit is 91.72%. When the actual input voltage of the constant voltage current regulation charging unit is 6.8V and the actual output voltage is 3.87V, based on the first list, the working efficiency of the constant voltage current regulation charging unit is 92.11%.
[0172] It is worth noting that the above steps S2521-S2522 record that after obtaining the actual input voltage and actual output voltage of the constant voltage current regulating charging unit, the working efficiency can be determined by querying the first list. In other embodiments, after obtaining the actual input voltage and actual output voltage of the constant voltage current regulating charging unit, the working efficiency can also be obtained by querying the working efficiency curve of the constant voltage current regulating charging unit. Among them, the method for determining the working efficiency curve of the constant voltage current regulating charging unit can refer to the determination method of the first list. In this embodiment, the specific method for determining the working efficiency based on the actual input voltage and actual output voltage of the constant voltage current regulating charging unit is not limited.
[0173] Step S253: determining the target input current of the constant voltage current regulating charging unit based on the second target output current of the constant voltage current regulating charging unit, the actual input voltage, the actual output voltage, the working efficiency and the power correspondence.
[0174] In this embodiment, the corresponding relationship between the input power and the output power of the constant voltage current regulation charging unit is: input power × work efficiency = output power, which can be specifically: input current × input voltage × work efficiency = output current × output voltage. From this, it can be deduced that the calculation formula for the input current of the constant voltage current regulation charging unit is:
[0175] (1)
[0176] Referring to the above formula (1), it can be seen that the constant voltage current regulation charging unit In this way, the actual output current of the constant voltage and current regulating charging unit can be controlled according to the target input current.
[0177] In some embodiments, the constant voltage current regulation charging unit is also connected to the system power supply module. When charging the battery, if the user uses an electronic device, the constant voltage current regulation charging unit can also work for the electronic device to meet the user's usage needs during the charging process. At this time, part of the second target output current of the constant voltage current regulation charging unit flows to the system power supply module, and part flows to the battery. Because the user operates different functions of the electronic device during the charging process, the system load current is also different. Among them, the system load current is the current flowing from the constant voltage current regulation charging unit to the system power supply module. When controlling the constant voltage current regulation charging unit, only the input current and the battery current can be controlled, and the system load current cannot be controlled.
[0178] For example, when charging with a constant voltage current regulating charging unit, the saturation current of the constant voltage current regulating charging unit is 5.5A, the battery input current of the constant voltage current regulating charging unit is set to 4A, and the input current of the constant voltage current regulating charging unit is not controlled. At this time, if the system load current is 2A, then the total output current of the constant voltage current regulating charging unit is 6A, which is greater than the saturation current of 5.5A, causing the inductor current in the constant voltage current regulating charging unit to exceed the current value that the inductor can withstand, damaging the inductor, and thus damaging the constant voltage current regulating charging unit. At the same time, if the input current of the constant voltage current regulating charging unit is too small, the output current and the battery input current will be too small, and the charging power will not reach the expected full load power.
[0179] Based on the above reasons, this embodiment obtains the target input current based on the second target output current of the constant voltage current regulation charging unit, thereby controlling the output current of the constant voltage current regulation charging unit by controlling the input current of the constant voltage current regulation charging unit, thereby improving the charging power while achieving safety protection of the constant voltage current regulation charging unit and the battery.
[0180] It is worth noting that the order of the above steps S240 and S250 can be changed or performed simultaneously. This embodiment does not limit the order of obtaining the target input current of the constant voltage current regulation charging unit and the target input current of the constant current voltage regulation charging unit.
[0181] Figure 7 This is the fourth flow chart of a charging method provided in this embodiment.
[0182] like Figure 7 As shown, in some embodiments, based on Figure 5 The charging method shown also includes:
[0183] Step S310: obtaining the actual input current of the constant current voltage regulation charging unit.
[0184] In this embodiment, when the constant current voltage regulating charging unit is charging the battery, the charging module is also provided with a current control protection function, so as to prevent the actual output current of each charging unit from being too large, thereby causing damage to the charging unit and the battery.
[0185] When the constant current voltage regulating charging unit is subjected to current control protection, since the input current and output current of the constant current voltage regulating charging unit have a proportional correspondence, the actual output current can be determined by obtaining the actual input current of the constant current voltage regulating charging unit.
[0186] For example, the actual input current of the constant current voltage regulating charging unit can be obtained through ADC. The specific method of using ADC to obtain the actual input current of the constant current voltage regulating charging unit can refer to the relevant description of step S251, which will not be repeated here.
[0187] Step S320: determining the actual output current of the constant current voltage regulation charging unit based on the actual input current of the constant current voltage regulation charging unit.
[0188] Since the input current and output current of the constant current voltage regulating charging unit have a proportional correspondence, after obtaining the actual input current of the constant current voltage regulating charging unit, the actual output current of the constant current voltage regulating charging unit can be directly calculated according to the proportional correspondence.
[0189] For example, if the actual input current of the constant current voltage regulating charging unit is 4A, it can be determined that the actual output current of the constant current voltage regulating charging unit is 8A according to the ratio of the input current to the output current of the constant current voltage regulating charging unit of 1:2.
[0190] It is worth noting that the above steps S310-S320 are the process of obtaining the actual output current of the constant current voltage regulating charging unit. In some implementations, the actual output current of the constant current voltage regulating charging unit can also be directly obtained by using ADC, which is not limited in this embodiment.
[0191] Step S330: comparing whether the actual output current of the constant current voltage regulation charging unit is less than or equal to the second target output current of the constant current voltage regulation charging unit.
[0192] In this embodiment, when performing current control protection on the constant current voltage regulating charging unit, it is necessary to compare the actual output current of the constant current voltage regulating charging unit with the second target output current to determine whether the actual output current of the constant current voltage regulating charging unit is within a safe range.
[0193] Step S340: When the actual output current of the constant current voltage regulation charging unit is less than or equal to the second target output current of the constant current voltage regulation charging unit, continue charging.
[0194] In this embodiment, when the actual output current of the constant current voltage regulating charging unit is less than or equal to the second target output current of the constant current voltage regulating charging unit, it indicates that the actual output current of the constant current voltage regulating charging unit is within a safe range and charging can continue.
[0195] Step S350: When the actual output current of the constant current voltage regulation charging unit is greater than the second target output current of the constant current voltage regulation charging unit, adjust the actual output current of the constant current voltage regulation charging unit.
[0196] In this embodiment, when the actual output current of the constant current voltage regulating charging unit is greater than the second target output current of the constant current voltage regulating charging unit, it means that the actual output current of the constant current voltage regulating charging unit is too large, which may affect charging safety and the actual output current needs to be adjusted.
[0197] When adjusting the actual output current of the constant current voltage regulating charging unit, the actual input current of the constant current voltage regulating charging unit can be adjusted. By reducing the actual input current of the constant current voltage regulating charging unit, the actual output current of the constant current voltage regulating charging unit is reduced until the actual output current is less than or equal to the second target output current, thereby enabling timely adjustment of the constant current voltage regulating charging unit to improve the safety of the charging process.
[0198] Figure 8 This is the fifth flow chart of a charging method provided in this embodiment.
[0199] like Figure 8 As shown, in some embodiments, based on Figure 5 The charging method shown also includes:
[0200] Step S410: obtaining the actual input current of the constant voltage and current regulating charging unit.
[0201] Based on the above description, it can be known that the actual output current of the constant voltage current regulating charging unit is uncontrollable and can be controlled by the actual input current of the constant voltage current regulating charging unit. When the constant voltage current regulating charging unit is subjected to current control protection, the actual input current of the constant voltage current regulating charging unit can be directly obtained to facilitate subsequent current control protection.
[0202] Step S420: comparing whether the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current of the constant voltage current regulation charging unit.
[0203] In this embodiment, the determination of the target input current of the constant voltage current regulating charging unit can protect electronic components such as inductors. When the constant voltage current regulating charging unit is protected by current control, the actual input current can be directly compared with the target input current to determine whether the charging process of the constant voltage current regulating charging unit is safe.
[0204] Step S430: When the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current of the constant voltage current regulation charging unit, continue charging.
[0205] In this embodiment, when the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current of the constant voltage current regulation charging unit, it means that the actual output current of the constant voltage current regulation charging unit will not exceed the second target output current, thereby preventing the inductor current passing through the constant voltage current regulation charging unit from being too large. It can be determined that the constant voltage current regulation charging unit is in a safe charging process and can continue to charge.
[0206] Step S440: When the actual input current of the constant voltage current regulation charging unit is greater than the target input current of the constant voltage current regulation charging unit, adjust the actual input current of the constant voltage current regulation charging unit.
[0207] In this embodiment, when the actual input current of the constant voltage current regulating charging unit is greater than the target input current of the constant voltage current regulating charging unit, it means that the actual output current of the constant voltage current regulating charging unit may exceed the second target output current, resulting in excessive inductor current passing through the constant voltage current regulating charging unit, affecting the charging safety of the constant voltage current regulating charging unit. Therefore, it is necessary to adjust the actual input current of the constant voltage current regulating charging unit.
[0208] When adjusting the constant voltage current regulation charging unit, the actual input current of the constant voltage current regulation charging unit can be reduced, thereby reducing the actual output current of the constant voltage current regulation charging unit, until the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current, thereby enabling timely adjustment of the constant voltage current regulation charging unit to improve the safety of the charging process.
[0209] Fig. 9 This is the sixth flow chart of a charging method provided in this embodiment.
[0210] like Fig. 9 As shown, in some embodiments, based on Figure 5 The charging method shown also includes:
[0211] Step S510: obtaining the actual battery input current of the constant voltage current regulation charging unit.
[0212] Based on the above description, it can be known that the current entering the battery of the constant voltage current regulating charging unit is controllable. In order to avoid the situation where the actual current entering the battery is greater than the charging capacity of the battery when the constant voltage current regulating charging unit and the constant current voltage regulating charging unit charge the battery together. When performing current control protection, the actual current entering the battery of the constant voltage current regulating charging unit can be controlled first.
[0213] Step S520: Compare whether the actual battery current of the constant voltage current regulation charging unit is less than or equal to the battery current limit of the constant voltage current regulation charging unit.
[0214] In this embodiment, the actual output current of the constant voltage current regulating charging unit is the sum of the incoming system power supply current and the incoming battery current. In other words, the second target output current of the constant voltage current regulating charging unit is the sum of the incoming system power supply current and the incoming battery current. Since the system load current is uncontrollable, when charging the battery using the constant voltage current regulating charging unit, it is also necessary to determine the incoming battery current limit of the constant voltage current regulating charging unit to prevent the actual incoming battery current of the constant voltage current regulating charging unit from being too large and damaging the battery.
[0215] Step S530: When the actual battery current of the constant voltage current regulation charging unit is less than or equal to the battery current limit of the constant voltage current regulation charging unit, continue charging.
[0216] In this embodiment, when the actual battery current of the constant voltage current regulating charging unit is less than or equal to the battery current limit of the constant voltage current regulating charging unit, it means that the actual battery current of the constant voltage current regulating charging unit is within a safe range and charging can continue.
[0217] Exemplarily, the sum of the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit is the first target output current, and the actual battery current of the constant voltage current regulating charging unit is often less than or equal to the actual output current of the constant voltage current regulating charging unit. At this time, the battery current limit of the constant voltage current regulating charging unit can be equal to the second target output current of the constant voltage current regulating charging unit, so that the battery current of the constant voltage current regulating charging unit can be close to the second target output current when the system load current is small, so as to achieve full power charging. It can be understood that the battery current limit of the constant voltage current regulating charging unit can also be other values less than the second target output current of the constant voltage current regulating charging unit, which is not limited in the present embodiment.
[0218] Step S540: When the actual battery current of the constant voltage current regulating charging unit is greater than the battery current limit of the constant voltage current regulating charging unit, adjust the actual battery current of the constant voltage current regulating charging unit.
[0219] In this embodiment, when the actual battery current of the constant voltage current regulating charging unit is greater than the battery current limit of the constant voltage current regulating charging unit, the total battery current of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit may be greater than the charging capacity of the battery, thus damaging the battery. Therefore, the actual battery current of the constant voltage current regulating charging unit needs to be adjusted.
[0220] When the actual battery current entering the constant voltage current regulating charging unit is adjusted, the actual battery current entering the constant voltage current regulating charging unit can be reduced, thereby reducing the total battery current entering the constant voltage current regulating charging unit and the constant current voltage regulating charging unit, thereby improving the safety of the battery charging process.
[0221] Fig.10 This is the seventh flow chart of a charging method provided in this embodiment.
[0222] like Fig.10 As shown, in some embodiments, based on Figure 5 The charging method shown also includes:
[0223] Step S610: Acquire the actual battery current of the charging module.
[0224] In this embodiment, the current control protection function of the charging module can not only perform current control protection on each charging unit, but also directly perform current control protection on the battery. The actual battery current of the charging module includes the sum of the actual battery current of each charging unit, so that the total current control is achieved by using the actual battery current of the charging module.
[0225] In one example, the charging module may include a fuel gauge coupled between the positive and negative electrodes of the battery, and the fuel gauge can be used to obtain the actual battery current and the actual battery voltage. The actual battery current of the charging module can be obtained through the fuel gauge.
[0226] In another example, the charging module can use ADC to obtain the actual battery current and the actual battery voltage. It is understandable that the actual battery current of the charging module can also be obtained by other methods, which are not limited in this embodiment.
[0227] Step S620: Compare whether the actual battery input current of the charging module is less than or equal to the first target output current.
[0228] In this embodiment, the first target output current is determined by the charging module based on the charging capacity of the battery and the heat dissipation capacity of the electronic device. When the actual battery input current of the charging module is less than or equal to the first target output current, the battery safety protection can be achieved.
[0229] Step S630: When the actual battery input current of the charging module is less than or equal to the first target output current, continue charging.
[0230] In this embodiment, when the actual battery current of the charging module is less than or equal to the first target output current, it indicates that the actual battery current of the charging module is within a safe range and charging can continue.
[0231] Step S640: When the actual battery current of the charging module is greater than the first target output current, adjust the actual battery current of the charging module.
[0232] In this embodiment, when the actual battery current of the charging module is greater than the first target output current, the battery may be damaged, and the actual battery current of the charging module needs to be adjusted. When the actual battery current of the charging module is adjusted to be less than or equal to the first target output current, charging can continue, thereby improving the safety of the battery charging process.
[0233] When adjusting the actual battery input current of the charging module, the actual battery input current of the constant current regulating charging module and the actual battery input current of the constant voltage regulating charging unit can be reduced respectively, or only the actual battery input current of one of the charging units can be reduced, which is not limited in this embodiment.
[0234] It is worth noting that the above Figures 7 to 10 The method flows shown are all different current control protection methods implemented by the charging module for different charging units. Figures 7 to 10 The methods shown may be performed simultaneously, sequentially, or in a specified order, which is not limited in this embodiment.
[0235] For example, during charging Figures 7 to 9 The method can be performed simultaneously. Fig.10 The method shown can be Figures 7 to 9 The method shown is then executed.
[0236] Fig.11 This is the eighth flow chart of a charging method provided in this embodiment.
[0237] like Fig.11 As shown, in some embodiments, based on the above charging method, it also includes:
[0238] Step S710: When the battery voltage reaches a preset voltage value, the charging module performs a constant voltage charging phase, and the constant current voltage regulating charging unit reduces the output voltage based on the charging protocol.
[0239] When the constant current voltage regulating charging unit and the constant voltage current regulating charging unit are connected in parallel to charge the battery at the same time, in the constant current charging stage, the battery can be charged with a large current first. As the battery voltage increases, the charging module can be charged by gradually limiting the current according to the current group distribution in the second list. When the battery voltage reaches the preset voltage value, the charging module can enter the constant voltage charging stage. In the constant voltage charging stage, the output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit needs to gradually decrease as the battery power increases. If the battery current of one of the charging units decreases while the other remains unchanged, the overall heat generation during the charging process may increase, affecting the overall charging efficiency.
[0240] During the constant voltage charging stage, the constant current voltage regulating charging unit can reduce the output current by reducing the output voltage according to the fast charging protocol, but the output current of the constant voltage current regulating charging unit will not decrease with the decrease of the output voltage. At this time, it is necessary to make the output current of the constant voltage current regulating charging unit decrease with the decrease of the output current of the constant current voltage regulating charging unit. When the output currents of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit are linked to be reduced, the output voltage of the constant current voltage regulating charging unit can be first reduced based on the fast charging protocol of the constant current voltage regulating charging unit.
[0241] For example, according to the fast charging protocol requirements of the constant current voltage regulating charging unit, the output voltage of the constant current voltage regulating charging unit can be reduced according to the minimum step voltage. For example, the constant current voltage regulating charging unit gradually reduces the output voltage in steps of 20mV.
[0242] Step S720: obtaining the input current of the constant current voltage regulation charging unit after reducing the output voltage.
[0243] In this embodiment, the output current of the constant current voltage regulating charging unit will decrease as the output voltage decreases, and based on the corresponding relationship between the output current and the input current, the input current of the constant current voltage regulating charging unit will also decrease. After the output voltage of the constant current voltage regulating charging unit decreases, the output current at this time can be determined by obtaining the input current of the constant current voltage regulating charging unit.
[0244] Exemplarily, the input current after the constant current voltage regulation charging unit reduces the output voltage can be obtained through ADC, which will not be described in detail here.
[0245] Step S730: Determine the output current of the constant current voltage regulating charging unit after the voltage is reduced based on the input current of the constant current voltage regulating charging unit after the output voltage is reduced.
[0246] In this embodiment, the output current of the constant voltage current regulating charging unit decreases as the output current of the constant current current regulating charging unit decreases. If it is necessary to determine the change in the output current of the constant voltage current regulating charging unit, it is first necessary to obtain the output current of the constant current current regulating charging unit after reducing the output voltage, so as to facilitate the control of the constant voltage current regulating charging unit.
[0247] It is worth noting that the process of the above steps S720-S730 is a process of obtaining the output current after the constant current voltage regulating charging unit reduces the output voltage. In other embodiments, it can also be directly obtained through ADC, which is not limited in this embodiment.
[0248] Step S740: Based on the ratio of the output current after the constant current voltage regulating charging unit reduces the output voltage and the second target output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit before the constant current voltage regulating charging unit reduces the output voltage, obtain the output current after the constant voltage current regulating charging unit reduces the output voltage.
[0249] In this way, the output currents of the constant voltage current regulating charging unit and the constant current voltage regulating charging unit can be linked to be reduced, thereby reducing the possibility of serious overall heating and affecting the charging efficiency.
[0250] For example, if the second target output current of the constant current voltage regulating charging unit is 6.5A before the constant current voltage regulating charging unit reduces the output voltage, and the second target output current of the constant voltage current regulating charging unit is 1.5A, the ratio of the second target output current of the constant current voltage regulating charging unit to the constant voltage current regulating charging unit is 6.5:1.5. When the output current of the constant current voltage regulating charging unit after reducing the output voltage is 6A, the output current of the constant voltage current regulating charging unit is .
[0251] Step S750: setting the battery current limit after the constant voltage current regulating charging unit reduces the output voltage to be equal to the output current after the constant voltage current regulating charging unit reduces the output voltage.
[0252] In this embodiment, in order to achieve current control protection during the constant voltage charging stage, in addition to timely adjusting the output current of the constant voltage current regulating charging unit, it is also necessary to timely adjust the battery input current limit of the constant voltage current regulating charging unit to prevent the actual battery input current of the constant voltage current regulating charging unit from being too large, affecting battery safety.
[0253] Furthermore, in the constant voltage charging stage, if the output current of the constant voltage current regulating charging unit is large, in order to avoid the limitation of the output current by the output voltage limit constant voltage current regulating charging unit, the output voltage of the constant voltage current regulating charging unit can be dynamically compensated.
[0254] Specifically, in the constant voltage charging stage of the battery, the actual output voltage output by the constant voltage current regulating charging unit to the battery terminal is equal to the sum of the input battery voltage and the compensation voltage, wherein the compensation voltage is equal to the product of the input battery current and the path impedance. In this way, the voltage consumed by the line from the output terminal of the constant voltage current regulating charging unit to the battery cell can be compensated by the compensation voltage, thereby appropriately amplifying the actual output voltage of the constant voltage current regulating charging unit to avoid limiting the actual output current of the constant voltage current regulating charging unit.
[0255] In some embodiments, when the battery enters the constant voltage charging stage, if the first target output current is less than or equal to the maximum output current of the constant current regulating charging unit, the constant voltage regulating charging unit can be directly turned off, and only the constant current regulating charging unit can be used to charge the battery, thereby simplifying the control process and allowing the constant current regulating charging unit to charge with higher working efficiency.
[0256] In some embodiments, when the battery enters the constant voltage charging stage, the battery voltage will rise in a step-like manner at the beginning of the constant voltage charging stage. In other words, at the beginning of the constant voltage charging stage, the battery will undergo several small constant voltage charging processes, and in these small constant voltage charging processes, the above steps S710-S750 can also be used for control.
[0257] Fig.12It is a schematic diagram of a charging process curve using the charging method provided in this embodiment. Fig.12 The horizontal axis is the charging time, the vertical axis on the left is the current value in mA, and the vertical axis on the right is the voltage value in mV. Curve ① represents the change of the battery voltage during the charging process, curve ② represents the change of the battery current during the charging process, curve ③ represents the change of the input current of the constant current regulation charging unit during the charging process, and curve ④ represents the change of the input current of the constant voltage regulation charging unit during the charging process. When the input current of the constant voltage regulation charging unit is 0, it means that the constant voltage regulation charging unit is not involved in the charging work.
[0258] Depend on Fig.12 It can be seen that when charging is performed using the charging method provided in this embodiment, the entire charging process starts at 12:28:02 and ends at 13:51:02. From 12:28:02 to 13:26:50, the constant voltage current regulation charging unit and the constant current voltage regulation charging unit simultaneously charge the battery so that the current entering the battery can reach more than 8A, thereby speeding up the charging speed and increasing the charging power. After 13:26:50, when the current entering the battery is less than 8A, the constant voltage current regulation charging unit is turned off, and only the constant current voltage regulation charging unit can be used for charging. In this way, the constant current voltage regulation charging unit can charge with greater working efficiency throughout the charging stage until the current of the battery gradually decreases during the constant voltage charging stage.
[0259] Fig.13 It is a structural block diagram of a charging module provided in this embodiment.
[0260] Fig.14 It is a structural block diagram of another charging module provided in this embodiment.
[0261] like Fig.13 and Fig.14 As shown, the charging module 200 includes a control unit 210 and a plurality of charging units 220, wherein at least two of the plurality of charging units 220 are of different types. One end of the plurality of charging units 220 is coupled to the power supply end, and the other end is coupled to the battery 40 end to charge the battery 40. The control unit 210 establishes a communication connection with each charging unit 220, thereby realizing control of each charging unit 220.
[0262] The control unit 210 is configured to determine a first target output current of the charging module 200, and based on the first target output current of the charging module 200 and the types of each charging unit 220, determine a second target output current of each charging unit 220, wherein the sum of the second target output currents of each charging unit 220 is equal to the first target output current of the charging module 200.
[0263] In this embodiment, the control unit 210 can establish a communication connection with each charging unit 220, and control each charging unit 220 to output current at the same time, so that the sum of the second target output currents of each charging unit 220 is the first target output current of the charging module 200, so that multiple charging units 220 can be used to charge the battery 40 at the same time, further improving the charging power. The control unit 210 can distribute the first target output current to each charging unit 220 based on the type of each charging unit 220, so that each charging unit 220 can charge the battery 40 with a suitable second target output current, so that each charging unit 220 can be protected while enabling each charging unit 220 to charge with greater working efficiency.
[0264] At the same time, each charging unit 220 is configured to determine the target input current based on the second target output current of the charging unit 220 and the relationship between the input current and the output current of the charging unit 220. In this way, each charging unit 220 can determine its own target input current based on the relationship between its own input current and output current, so that the actual output current of each charging unit 220 can meet the requirements of the second target output current, thereby improving the charging power, reducing the charging time, and bringing a better charging experience to the user.
[0265] Exemplarily, the control unit 210 may include a system on chip (SoC) chip, a double data rate (DDR), a universal flash storage (UFS) / embedded multimedia card (EMMC).
[0266] The SoC chip 211 can establish a communication connection with each charging unit 220 and control each charging unit 220 .
[0267] The DDR 212 and the UFS / EMMC 213 can establish a communication connection with the SoC chip 211 , thereby providing data support for the SoC chip 211 to control each charging unit 220 .
[0268] Specifically, the first list, the second list or the working efficiency curve in the above-mentioned charging method can be stored in the DDR 212 or the UFS / EMMC 213 for easy acquisition.
[0269] In this embodiment, the charging module 200 may further include a wired charging unit 230 and a wireless charging unit 240 .
[0270] The wired charging unit 230 may be a wired charger connection socket with a Type-C interface, or may be a wired charger connection socket with other interfaces to connect to a wired charger.
[0271] The wireless charging unit 240 may include a charging coil 241 and a wireless charging chip 242 , so as to connect a wireless charger using the charging coil 241 and input an external power source into each charging unit 220 using the wireless charging chip 242 .
[0272] Specifically, the wired charging unit 230 and the wireless charging unit 240 may be integrated into Fig.13 The input end of each charging unit 220 is also coupled to point A. In this way, no matter the charger connected to the charging module 200 is a wired charger or a wireless charger, each charging unit 220 can obtain input current from point A.
[0273] In some embodiments, the charging module 200 may include at least one constant current voltage regulating charging unit 221 and at least one constant voltage current regulating charging unit 222. Among them, the constant current voltage regulating charging unit 221 is a fast charging charging unit 220, and the constant voltage current regulating charging unit 222 may be a non-fast charging charging unit 220. In this way, when charging the battery 40, if the connected charger is a non-fast charging charger, the charging module 200 can use the constant voltage current regulating charging unit 222 for charging, and if the connected charger is a fast charging charger, the charging module 200 can use the constant voltage current regulating charging unit 222 and the constant current voltage regulating charging unit 221 to charge the battery 40 at the same time. Compared with the process of charging only with the constant current voltage regulating charging unit 221, charging with multiple different types of charging units 220 at the same time can further increase the charging power and improve the user experience. In addition, when the charging module 200 includes at least one constant voltage current regulating charging unit 222 and one constant current voltage regulating charging unit 221, the charging module 200 can be adapted to connect to a fast charging charger and a non-fast charging charger, so as to meet the requirement that the charging module 200 can charge the battery 40 in various environments and has a wide range of applications.
[0274] Furthermore, the charging module 200 may include only one constant voltage current regulating charging unit 222 and one constant current voltage regulating charging unit 221. The charging module 200 can not only use the constant voltage current regulating charging unit 222 and the constant current voltage regulating charging unit 221 to charge at the same time to improve the charging power, but also avoid setting more charging units 220 in the charging module 200, thereby reducing the overall volume of the charging module 200, so as to realize the miniaturization design of the electronic device. In addition, the manufacturing cost of two charging units 220 is lower than that of three, four or even more charging units 220, so as to reduce the manufacturing cost pressure of the electronic device while improving the charging power.
[0275] In some embodiments, the output current of the constant current and voltage regulating charging unit 221 has a proportional correspondence with the input current, and the output current of the constant voltage and current regulating charging unit 222 has a power correspondence with the input current. In this way, the constant current and voltage regulating charging unit 221 can use the method of step S240 above to determine the target input current, and the constant voltage and current regulating charging unit 222 can use the method of step S250 above to determine the target input current, which will not be repeated here.
[0276] In some embodiments, the constant current voltage regulation charging unit 221 includes a constant current voltage regulation charging chip 2211 and a fast charging protocol module 2212 .
[0277] Specifically, the fast charging protocol module 2212 establishes a communication connection with the SoC chip 211, the wired charging unit 230 and the constant current voltage regulating charging chip 2211. When the wired charging unit 230 is connected to the wired charger, the fast charging protocol charging module 200 can interact with the wired charger using the D+ / D- / CC pins of the wired charging unit 230, thereby identifying the charging protocol of the wired charger. If the fast charging protocol module 2212 can handshake with the fast charging protocol supported by the wired charger, the fast charging protocol module 2212 can control the constant current voltage regulating charging chip 2211 to enter the fast charging mode.
[0278] Optionally, the fast charging protocols supported by the fast charging protocol module 2212 may include but are not limited to quick charging (QC) protocol, power delivery (PD) protocol, universal fast charging specification (UFCS), super charging protocol (SCP), etc.
[0279] Specifically, the input end of the constant current voltage regulating charging chip 2211 is coupled to point A, and the output end of the constant current voltage regulating charging chip 2211 is coupled to the battery 40. In the fast charging mode, the constant current voltage regulating charging module 200 can adjust the current input from point A according to the fast charging protocol and output it to the battery 40.
[0280] Optionally, the constant current voltage regulating charging chip 2211 may be a charger pump charging chip.
[0281] Furthermore, the constant current voltage regulating charging unit 221 may also include an ADC, so as to utilize the ADC to monitor the input current, output current, input voltage, and output voltage, so as to obtain the actual input current, actual input voltage, actual output current, and actual output voltage of the constant current voltage regulating charging unit 221. At the same time, the ADDC of the constant current voltage regulating charging unit 221 may also be used to monitor the input current and input voltage of the constant voltage current regulating charging unit 222, so as to obtain the actual input current and actual input voltage of the constant voltage current regulating charging unit 222.
[0282] It is worth noting that the above-mentioned fast charging protocol module 2212 and ADC can be integrated into the constant current voltage regulation charging chip 2211, or can be independent of the constant current voltage regulation charging chip 2211, which is not limited in this embodiment.
[0283] In addition, the constant current voltage regulation charging unit 221 also includes a protection circuit 2213, one end of the protection circuit 2213 is coupled to the constant current voltage regulation charging chip 2211, and the other end is point A. Two first switch elements 250 are included between the protection circuit 2213 and point A, and the protection circuit 2213 is coupled to each first switch element 250. When the protection circuit 2213 detects that the voltage in the constant current voltage regulation charging chip 2211 exceeds the set value, the protection circuit 2213 can control the switch element to disconnect, thereby preventing the charger from delivering power to the constant current voltage regulation charging unit 221, so as to prevent the constant current voltage regulation charging chip 2211 from being damaged.
[0284] Exemplarily, the first switch element 250 may be a metal-oxide-semiconductor (MOS) tube. The control end of the MOS tube is coupled to the protection circuit 2213, the first end of the MOS tube is coupled to the wired charging unit 230, and the second end of the MOS tube is coupled to the constant current voltage regulating charging chip 2211. The control end may refer to the gate of the MOS tube, the first end may refer to the source of the MOS tube, and the second end may refer to the drain of the MOS tube, or the first end may refer to the drain of the MOS tube and the second end may refer to the source of the MOS tube.
[0285] It is worth noting that the number and specific types of the first switch elements 250 can be selected according to actual conditions and are not limited in this embodiment.
[0286] Exemplarily, the constant voltage current regulation charging unit 222 may include a constant voltage current regulation charging chip 2221 and an inductor group 2222 .
[0287] Specifically, the input end of the constant voltage current regulation charging chip 2221 is coupled to point A, and the output end C of the constant voltage current regulation charging chip 2221 is coupled to the inductor group 2222. In this way, after the constant voltage current regulation charging chip 2221 receives the input current and input voltage from point A, it can adjust the input current and input voltage, and output the output current and output voltage from the output end C to the inductor group 2222.
[0288] Optionally, the constant voltage and current regulation charging chip 2221 may be a BUCK charging chip.
[0289] The inductor group 2222 is coupled to the system power supply module 30 and the battery 40 of the electronic device. As can be seen from the description of the above charging method, when the user operates the electronic device during the charging process of the electronic device, part of the output current of the constant voltage current regulation charging chip 2221 will flow to the system power supply module 30, and part will flow to the battery 40. After receiving the output current and output voltage of the constant voltage current regulation chip, the inductor group 2222 can shunt the output current to the system power supply module 30 and the battery 40 at point B.
[0290] In some embodiments, the inductor group 2222 can be a single inductor, or two or more inductors connected in series, or two or more inductors connected in parallel, as long as the charging requirements can be met, which is not limited in this embodiment.
[0291] It can be seen from the above description that the output current of the constant voltage current regulation charging chip 2221 first needs to pass through the inductor group 2222. When the constant voltage current regulation charging unit 222 and the constant current voltage regulation charging unit 221 are connected in parallel to charge the battery 40, the constant voltage current regulation charging chip 2221 needs to output a larger current. If the charging module 200 wants to achieve a charging power of 66W, the constant current voltage regulation charging chip 2211 needs to output a current of 8A, and the constant voltage current regulation charging chip 2221 needs to output a current of 4A, then the current passing through the inductor group 2222 is also 4A. If the current carrying capacity that the inductor group 2222 can withstand is less than 4A, then when the constant voltage current regulation charging chip 2221 outputs an output current of 4A, it will directly damage the inductor and affect the charging process of the system power supply module 30 and the battery 40. It can be seen that the current carrying capacity that the inductor group 2222 can withstand directly limits the maximum output current of the constant voltage current regulation charging unit 222.
[0292] In the actual design process, if the inductor group 2222 has only one inductor, it is necessary to select an inductor with a larger current capacity to connect to the output end of the constant voltage current regulation charging chip 2221. However, the inductance value of commonly used inductors is usually 1 microhenry, or 0.47 microhenry. The maximum current capacity of an inductor of 1 microhenry is a temperature rise current of 5.5A and a saturation current of 5.5A. When the inductor is working, the current capacity of the inductor needs to be reduced to meet safety requirements, which may cause the inductor of 1 microhenry to be unable to withstand a current capacity of 4A or more.
[0293] In order to simultaneously meet the safety requirements of the inductor and the output current requirements of the constant voltage current regulation charging chip 2221, this embodiment can use two or more inductors connected in series (such as Fig.13 as shown) or two or more inductors in parallel (as shown Fig.14 shown) to achieve this.
[0294] Exemplarily, when the inductor group 2222 includes two series inductors, the inductance value of each inductor may be 0.47 microhenry. The two inductors connected in series can reduce the load on a single inductor, which helps to improve the current carrying capacity of the device. When the inductor group 2222 includes two parallel inductors, the inductance value of each inductor may be 2.2 microhenry. When the two inductors are connected in parallel, the current is divided, so that the current in each inductor is smaller, which can reduce the internal resistance of the inductor, thereby reducing the energy loss in the inductor to improve the current carrying capacity.
[0295] In some embodiments, after the output current of the constant voltage current regulating charging chip 2221 passes through the inductor group 2222, part of it flows from point B to the system power supply module 30, and part of it flows to the battery 40. The current flowing to the battery 40 can enter the constant voltage current regulating charging chip 2221 again from the input terminal D, and then output to the battery 40 from the output terminal E of the constant voltage current regulating charging chip 2221. In this way, the constant voltage current regulating charging chip 2221 can control the current output from the output terminal E to the battery 40 to avoid excessive current output to the battery 40, which affects the charging safety of the battery 40.
[0296] Exemplarily, the constant voltage current regulation charging chip 2221 may include a second switching element 2223, and the second switching element 2223 is coupled between the input terminal D and the output terminal E. The constant voltage current regulation charging chip 2221 can control the output current output from the output terminal E to the battery 40 by controlling the second switching element 2223.
[0297] It can be understood that the second switch element 2223 can be a switch of the same type or a switch of a different type as the first switch element 250 , which is not limited in this embodiment.
[0298] Furthermore, the charging module 200 may also include a fuel gauge 260, which is coupled between the positive and negative electrodes of the battery 40 and the two ends of the detection resistor 270 in the battery 40. The pins coupled to the positive and negative electrodes of the battery 40 can monitor the actual battery voltage, and the pins coupled to the two ends of the detection resistor 270 can monitor the actual battery current. In this way, the fuel gauge 260 can monitor the actual battery current and the actual battery voltage. At the same time, the fuel gauge 260 is coupled to the SoC chip 211, so that the SoC chip 211 can obtain the actual battery current and the actual battery voltage, thereby realizing the current control protection and other processes in the above-mentioned charging method.
[0299] In addition, the actual inlet voltage of the battery 40 is also equal to the sum of the actual output voltage (voltage at point B) of the constant voltage current regulation charging unit and the voltage drop from point B to the battery cell, and the voltage drop from point B to the battery cell 40 is equal to the product of the actual inlet current and the path impedance from point B to the battery cell 40. In this way, the actual output voltage of the constant voltage current regulation charging unit can also be obtained using the fuel gauge 260. When determining the actual output voltage of the constant voltage current regulation charging unit, the compensation voltage can be the voltage drop from point B to the battery cell, and the actual output voltage of the constant voltage current regulation charging unit is equal to the sum of the actual inlet voltage and the compensation voltage.
[0300] In the charging module 200 provided in this embodiment, in the fast charging mode, the constant voltage current regulating charging unit 222 and the constant current voltage regulating charging unit 221 can be connected in parallel to charge the battery 40 at the same time, and the input current of the external power supply is shunted from point A to the constant voltage current regulating charging chip 2221 and the constant current voltage regulating charging chip 2211. The constant current voltage regulating charging chip 2211 outputs the output current to point F according to the control instructions of the fast charging protocol module 2212 and the SoC chip 211, and then flows into the battery 40 from point F. After the constant voltage current regulating charging unit 222 adjusts the input current under the control instructions of the SoC chip 211, it first outputs the output current from the output terminal C to the inductor group 2222, and the inductor group 2222 shunts the output current from point B to the system power supply module 30 and the input terminal D. The current passing through the input terminal D flows through the constant voltage current regulating charging unit 222 again. At this time, the constant voltage current regulating charging unit 222 adjusts the current flowing in from the input terminal D, and outputs the current from the output terminal E to the point F, and then flows from the point F to the battery 40.
[0301] In the above charging process, the current output from the output terminal C of the constant voltage and current regulating charging unit 222 is the second target output current, and the current output to point F of the constant current and current regulating charging unit 221 is the second target output current. The sum of the second target output current of the constant voltage and current regulating charging unit 222 and the second target output current of the constant current and current regulating charging unit 221 is the first target output current.
[0302] In addition, during the above charging process, the fuel meter 260 and the protection circuit 2213 are both in working state to cooperate with the SoC chip 211 to realize real-time adjustment of the output current, thereby realizing safety protection of each charging unit 220 and the battery 40.
[0303] The charging module 200 provided in the embodiment of the present application can be used to implement the above-mentioned charging method, and can also improve the charging power of the battery 40 while facilitating the miniaturization design, thereby improving the user experience. In addition, the charging module 200 provided in the embodiment of the present application can also reduce the manufacturing cost burden of the charging module 200 and the electronic device.
[0304] The present application also provides an electronic device, Figure 3 and Fig.13 As shown, the charging module 200 may be Figure 3 The charging module 200 may be a part of the charging management module 340 in the electronic device, or may be a module relatively independent of the charging management module 340, which is not limited in this embodiment. The charging module 200 can charge the battery 40 of the electronic device.
[0305] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device in the above-mentioned method embodiment.
[0306] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer executes each function or step executed by the electronic device in the above method embodiment.
[0307] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0308] It is easy to understand that those skilled in the art can combine, split, reorganize, etc. the embodiments of the present application to obtain other embodiments based on the several embodiments provided in the present application, and these embodiments do not exceed the protection scope of the present application.
[0309] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0310] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0311] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0312] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code. It should be noted that those skilled in the art will easily think of other implementation schemes of the present application after considering the specification and practicing the application disclosed here. The present application is intended to cover any variants, uses or adaptive changes of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the technical field that are not disclosed in the present application. It is intended that the specification and examples be considered as exemplary only, with the true scope of the application being indicated by the claims.
[0313] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A charging method, characterized in that: Applied to a charging module, the charging module includes a plurality of charging units, the plurality of charging units include at least one constant voltage current regulating charging unit, the constant voltage current regulating charging unit includes an inductor group, the inductor group is coupled to a system power supply module and a battery of an electronic device, the inductor group includes a plurality of series inductors or a plurality of parallel inductors; the actual output current of the constant voltage current regulating charging unit includes a system draw current and a battery current, wherein the system draw current is used to power the electronic device, and the battery current is used to charge the battery; the plurality of charging units also include at least one constant current voltage regulating charging unit, and the method includes: Determining a first target output current of the charging module; determining a second target output current of each charging unit based on the first target output current and the type of each charging unit, wherein the sum of the second target output currents of each charging unit is equal to the first target output current; For each of the charging units, determining a target input current of the charging unit based on a relationship between an input current and an output current of the charging unit and the second target output current; Controlling the actual output current of the constant voltage current regulating charging unit flowing through the inductor group based on the target input current; When the battery voltage reaches a preset voltage value, the battery enters a constant voltage charging stage; The constant current voltage regulating charging unit reduces the output voltage based on the charging protocol; Obtaining the input current of the constant current voltage regulating charging unit after reducing the output voltage; Determining the output current of the constant current voltage regulating charging unit after the output voltage is reduced based on the input current of the constant current voltage regulating charging unit after the output voltage is reduced; Based on the ratio of the output current after the constant current voltage regulating charging unit reduces the output voltage and the second target output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit before the constant current voltage regulating charging unit reduces the output voltage, the output current after the constant voltage current regulating charging unit reduces the output voltage is obtained.
2. The charging method according to claim 1, characterized in that: There is a proportional correspondence between the output current and the input current of the constant current and voltage regulating charging unit, and there is a power correspondence between the output current and the input current of the constant voltage and current regulating charging unit.
3. The charging method according to claim 2, characterized in that: The step of determining, for each of the charging units, a target input current of the charging unit based on a relationship between an input current and an output current of the charging unit and the second target output current, comprises: Determine the target input current of the constant current voltage regulating charging unit based on the second target output current of the constant current voltage regulating charging unit and the corresponding relationship between the output current and the input current; The target input current of the constant-voltage current regulating charging unit is determined based on the second target output current of the constant-voltage current regulating charging unit and the power correspondence between the output current and the input current.
4. The charging method according to claim 3, characterized in that: The determining the target input current of the constant voltage current regulating charging unit based on the second target output current of the constant voltage current regulating charging unit and the power correspondence between the output current and the input current includes: Obtaining an actual input voltage and an actual output voltage of the constant voltage current regulation charging unit; Determine the working efficiency based on the actual input voltage and the actual output voltage of the constant voltage current regulation charging unit; The target input current of the constant voltage current regulating charging unit is determined based on the second target output current of the constant voltage current regulating charging unit, the actual input voltage, the actual output voltage, the working efficiency and the power correspondence.
5. The charging method according to claim 4, characterized in that: The determining the working efficiency based on the actual input voltage and the actual output voltage of the constant voltage current regulating charging unit includes: Acquire a first list, wherein the first list includes at least one set of corresponding relationships among input voltage, output voltage, and working efficiency of the constant voltage current regulation charging unit; Based on the actual input voltage and the actual output voltage of the constant voltage and current regulating charging unit, the first list is queried to obtain the working efficiency corresponding to the actual input voltage and the actual output voltage of the constant voltage and current regulating charging unit.
6. The charging method according to claim 5, characterized in that: The method for determining the first list includes: Determining the maximum output current of the constant voltage current regulation charging unit; Under the target temperature environment, the output current of the constant voltage current regulation charging unit is set to the maximum output current, and the output voltage and the input voltage are adjusted; The working efficiency corresponding to each group of output voltage and input voltage of the constant voltage and current regulating charging unit is recorded to form the first list.
7. The charging method according to claim 2, characterized in that: The determining, based on the first target output current and the type of each of the charging units, a second target output current of each of the charging units, wherein the sum of the second target output currents of the charging units is equal to the first target output current, comprises: Based on the first target output current and the second list, determine the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit, the sum of the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit being equal to the first target output current; The second list includes a correspondence between a plurality of different output currents of the charging module and the output current of the constant-voltage current-regulating charging unit and the output current of the constant-current voltage-regulating charging unit.
8. The charging method according to claim 7, characterized in that: When the first target output current is not recorded in the second list, the second target output current of the constant voltage current regulating charging unit and the second target output current of the constant current voltage regulating charging unit are determined based on the second list by using linear interpolation or proportional distribution method.
9. The charging method according to claim 1, characterized in that: Also includes: Obtaining the actual battery current of the charging module; When the actual battery input current of the charging module is less than or equal to the first target output current, continue charging; when the actual battery input current of the charging module is greater than the first target output current, adjust the actual output current of the charging module until the actual battery input current of the charging module is less than or equal to the first target output current.
10. The charging method according to claim 2, characterized in that: Also includes: Obtaining the actual input current of the constant current voltage regulating charging unit; Determine the actual output current of the constant current voltage regulating charging unit based on the actual input current of the constant current voltage regulating charging unit; When the actual output current of the constant current voltage regulating charging unit is less than or equal to the second target output current of the constant current voltage regulating charging unit, continue charging; when the actual output current of the constant current voltage regulating charging unit is greater than the second target output current of the constant current voltage regulating charging unit, adjust the actual output current of the constant current voltage regulating charging unit until the actual output current of the constant current voltage regulating charging unit is less than or equal to the second target output current of the constant current voltage regulating charging unit.
11. The charging method according to claim 2, characterized in that: Also includes: Obtaining the actual input current of the constant voltage current regulation charging unit; When the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current of the constant voltage current regulation charging unit, continue charging; when the actual input current of the constant voltage current regulation charging unit is greater than the target input current of the constant voltage current regulation charging unit, adjust the actual input current of the constant voltage current regulation charging unit until the actual input current of the constant voltage current regulation charging unit is less than or equal to the target input current of the constant voltage current regulation charging unit.
12. The charging method according to claim 2, characterized in that: Also includes: Obtaining the actual battery current of the constant voltage current regulation charging unit; When the actual battery input current of the constant voltage current regulation charging unit is less than or equal to the battery input current limit of the constant voltage current regulation charging unit, continue charging; when the actual battery input current of the constant voltage current regulation charging unit is greater than the battery input current limit of the constant voltage current regulation charging unit, adjust the actual battery input current of the constant voltage current regulation charging unit until the actual battery input current of the constant voltage current regulation charging unit is less than or equal to the battery input current limit of the constant voltage current regulation charging unit.
13. The charging method according to claim 1, characterized in that: Also includes: The battery current limit after the constant voltage current regulating charging unit reduces the output voltage is set to be equal to the output current after the constant voltage current regulating charging unit reduces the output voltage.
14. The charging method according to claim 1, characterized in that: Also includes: The actual output voltage outputted to the battery terminal by the constant voltage current regulation charging unit in the constant voltage charging stage is equal to the sum of the input battery voltage and the compensation voltage, and the compensation voltage is equal to the product of the input battery current and the path impedance.
15. The charging method according to claim 1, characterized in that: Also includes: When the battery enters the constant voltage charging stage, if the first target output current is less than or equal to the maximum output current of the constant current regulating charging unit, the constant voltage regulating charging unit is turned off.
16. A charging module, characterized in that: include: A plurality of charging units, wherein one end of the plurality of charging units is coupled to the power supply end, and the other end of the plurality of charging units is coupled to the battery end; The multiple charging units include at least one constant voltage current regulating charging unit, the constant voltage current regulating charging unit includes an inductor group, the inductor group is coupled to the system power supply module and the battery of the electronic device, the inductor group includes a plurality of series inductors or a plurality of parallel inductors; the actual output current of the constant voltage current regulating charging unit includes a system load current and a battery current, wherein the system load current is used to power the electronic device, and the battery current is used to charge the battery; the multiple charging units also include at least one constant current voltage regulating charging unit; A control unit, wherein the control unit establishes a communication connection with the plurality of charging units; The control unit is configured to determine a first target output current of the charging module, and based on the first target output current and a type of each of the charging units, determine a second target output current of each of the charging units, wherein a sum of the second target output currents of the charging units is equal to the first target output current. Each of the charging units is configured to determine a target input current based on a relationship between an input current and an output current of the charging unit and the second target output current; The control unit is configured to control an actual output current of the constant voltage current regulating charging unit flowing through the inductor group based on the target input current; The control unit is further configured to, when the voltage of the battery reaches a preset voltage value, cause the battery to enter a constant voltage charging phase, The constant current voltage regulating charging unit is configured to reduce the output voltage based on the charging protocol; The control unit is also configured to obtain the input current of the constant current voltage regulating charging unit after the output voltage is reduced; determine the output current of the constant current voltage regulating charging unit after the output voltage is reduced based on the input current after the constant current voltage regulating charging unit reduces the output voltage; and obtain the output current of the constant current voltage regulating charging unit after the output voltage is reduced based on the ratio of the output current after the constant current voltage regulating charging unit reduces the output voltage and the second target output current of the constant current voltage regulating charging unit and the constant voltage current regulating charging unit before the constant current voltage regulating charging unit reduces the output voltage.
17. The charging module according to claim 16, characterized in that: There is a proportional correspondence between the output current and the input current of the constant current and voltage regulating charging unit, and there is a power correspondence between the output current and the input current of the constant voltage and current regulating charging unit.
18. The charging module according to claim 17, characterized in that: The constant voltage current regulation charging unit also includes a constant voltage current regulation charging chip; The input end of the constant voltage current regulation charging chip is coupled to the power supply end; One end of the inductor group is coupled to the output end of the constant voltage current regulation charging chip, and the other end is coupled to the system power supply module and the battery end of the electronic device.
19. The charging module according to claim 17, characterized in that: The constant current voltage regulation charging unit includes a digital-to-analog converter; The constant voltage current regulation charging unit is configured to determine an actual input current and an actual input voltage of the constant voltage current regulation charging unit through the digital-to-analog converter.
20. The charging module according to claim 17, characterized in that: Also includes: A fuel gauge coupled between the positive and negative electrodes of the battery, The control unit is configured to determine the actual output voltage of the constant voltage current regulation charging unit through the electricity meter.
21. An electronic device, characterized in that: include: A battery and a charging module as claimed in any one of claims 16 to 20, The charging module is used to connect to an external power source to charge the battery.
22. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the charging method as claimed in any one of claims 1 to 15.
23. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the charging method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Charging circuit, method and device and electronic equipment
CN111525646A
Running state monitoring method, device and equipment of charging module and storage medium
CN114814408A
Charging method, electronic equipment, computer readable storage medium and chip system
CN115360782A
Boost charging double-loop control method, system and equipment for vehicle
CN117360312A
Wireless charging methods and device to-be-charged
US20210296923A1