Charging method and device of detachable battery and electronic equipment

By monitoring the temperature of the detachable battery motherboard and adjusting the charging current according to the temperature, the safety hazards caused by the increase in the impedance of the battery terminal are solved, and a more efficient and safe charging process is achieved.

CN119695313AInactive Publication Date: 2025-03-25QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311237876.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-03-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the charging process, the existing detachable batteries have increased due to the increase in the impedance of the battery terminals, causing the motherboard temperature to rise, causing safety hazards.

Method used

By monitoring the motherboard temperature at the preset position on the detachable battery motherboard, if the temperature is greater than or equal to the first threshold temperature, the charging current is reduced; if the temperature is greater than or equal to the second threshold temperature, the charging is stopped. This method is based on modeling the temperature of the motherboard and battery terminals at different charging currents, and obtains a heat dissipation model, and adjusts the charging current to reduce safety hazards caused by increased impedance.

Benefits of technology

It effectively reduces the safety hazards caused by the increase in battery terminal impedance, improves the battery charging efficiency, and ensures the safety of the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119695313A_ABST
    Figure CN119695313A_ABST
Patent Text Reader

Abstract

The invention discloses a charging method and device for a detachable battery and electronic equipment, and the method comprises the steps: monitoring the temperature of a mainboard at a preset position on a mainboard of the detachable battery when the detachable battery is charged at a first target charging current, and enabling the preset position to be the peripheral side of the detachable connection position of a battery terminal and the mainboard; determining that the mainboard temperature is greater than or equal to a first threshold temperature, and reducing the charging current to a second target charging current; when charging is carried out at a second target charging current, it is determined that the mainboard temperature is larger than or equal to a second threshold temperature and a second preset temperature, charging is stopped, and due to the fact that the first threshold temperature and the second threshold temperature are used for modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, a heat dissipation model is obtained; the charging current is obtained based on the heat dissipation model and different impedances of the battery terminal, so that the impedance of the battery terminal can be reflected through the temperature, the charging current is adjusted through the mainboard temperature, the first threshold temperature and the second threshold temperature, and potential safety hazards caused by increase of the impedance of the battery terminal are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of batteries, and in particular to a charging method and device for a detachable battery and electronic equipment. Background Art

[0002] At present, the function of fast charging in mobile terminals is becoming more and more popular. However, in addition to the fast charging function, the battery in the mobile terminal also needs to be removable. The battery terminal of the removable battery is generally a spring or knife type. After long-term use, the impedance of the battery terminal will increase, causing the temperature of the battery terminal to rise during fast charging, creating a safety hazard. Summary of the invention

[0003] The present invention provides a charging method and device for a detachable battery and an electronic device, which are used to solve the potential safety hazard problem in the prior art caused by the increase of the battery terminal impedance during the charging process.

[0004] In a first aspect, the present application provides a charging method for a detachable battery, the method comprising:

[0005] During the process of charging the detachable battery with a first target charging current, monitoring the temperature of a mainboard at a preset position on the mainboard of the detachable battery, wherein the battery terminal is detachably connected to the mainboard, and the preset position is a peripheral side of a position where the battery terminal is connected to the mainboard;

[0006] If it is determined that the mainboard temperature is greater than or equal to the first threshold temperature, reducing the charging current of the removable battery to a second target charging current;

[0007] During the process of charging the removable battery with the second target charging current, if it is determined that the temperature of the mainboard is greater than or equal to a second threshold temperature, stopping charging the removable battery;

[0008] Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

[0009] In a possible implementation, after the charging mode is set to fast charging, the charging current is increased step by step, and the mainboard temperature is monitored in real time;

[0010] Based on the monitored mainboard temperature, searching the battery terminal temperature corresponding to the monitored mainboard temperature from the corresponding relationship;

[0011] The first target charging current is determined according to the found relationship between the battery terminal temperature and the third threshold temperature, wherein the third threshold temperature is determined based on the corresponding relationship.

[0012] In a possible implementation, the third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature, and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature;

[0013] The determining the first target charging current according to the found relationship between the battery terminal temperature and the third threshold temperature includes:

[0014] If it is determined that the battery terminal temperature found is less than the first sub-threshold temperature, the first charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, the second charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, the third charging current is used as the first target charging current;

[0015] Among them, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

[0016] In a possible implementation, before controlling the detachable battery to charge with the first target charging current, the method further includes:

[0017] After determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

[0018] In a possible implementation, the method further includes:

[0019] If it is determined that the mainboard temperature is less than the first threshold temperature, returning to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard;

[0020] If it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

[0021] In a possible implementation manner, the first threshold temperature and the second threshold temperature are determined in the following manner:

[0022] Using SpaceClaim of ANSYS to model the motherboard temperature and the battery terminal temperature in the corresponding relationship, a heat dissipation model is obtained;

[0023] The heat dissipation model is simulated using Icepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the temperature on the surface of the battery terminal;

[0024] Adjusting coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature;

[0025] Inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal;

[0026] Find a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and find a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature;

[0027] A third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and a third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature.

[0028] In a possible implementation manner, the first sub-threshold temperature, the second sub-threshold temperature, and the third sub-threshold temperature are determined in the following manner:

[0029] Controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is used to carry the removable battery;

[0030] When the temperature of the outer surface of the electronic device reaches a third preset temperature, a first target mainboard temperature is determined, and the battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the first sub-threshold temperature;

[0031] When the temperature of the outer surface of the electronic device reaches a fourth preset temperature, a second target mainboard temperature is determined, and the battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the second sub-threshold temperature;

[0032] When the outer surface temperature of the electronic device reaches the fifth preset temperature, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

[0033] In a second aspect, the present application also provides a charging device for a detachable battery, comprising:

[0034] A monitoring module, configured to monitor a motherboard temperature at a preset position on a motherboard of the detachable battery during charging of the detachable battery with a first target charging current, wherein the battery terminal is detachably connected to the motherboard, and the preset position is a peripheral side of a position where the battery terminal is connected to the motherboard;

[0035] an adjustment module, configured to reduce the charging current of the removable battery to a second target charging current if it is determined that the temperature of the mainboard is greater than or equal to a first threshold temperature;

[0036] a control module, configured to stop charging the removable battery if it is determined that the temperature of the mainboard is greater than or equal to a second threshold temperature during the process of charging the removable battery with the second target charging current;

[0037] Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

[0038] In a third aspect, the present application further provides an electronic device, the electronic device comprising a memory and a processor, wherein:

[0039] The memory is used to store computer programs;

[0040] The processor is used to execute the computer program to perform the following steps:

[0041] During the process of charging the removable battery with a first target charging current, the motherboard temperature at a preset position on the motherboard of the removable battery is monitored, wherein the battery terminal is detachably connected to the motherboard, and the preset position is the peripheral side of the position where the battery terminal is connected to the motherboard; if it is determined that the motherboard temperature is greater than or equal to a first threshold temperature, the charging current of the removable battery is reduced to a second target charging current; during the process of charging the removable battery with the second target charging current, if it is determined that the motherboard temperature is greater than or equal to a second threshold temperature, charging of the removable battery is stopped; wherein the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the motherboard temperature and the battery terminal temperature collected under different charging currents to obtain a heat dissipation model, and then the heat dissipation model is obtained based on the heat dissipation model and different impedances.

[0042] In a possible implementation, before the processor controls the detachable battery to charge with the first target charging current, the processor is further configured to:

[0043] After determining that the charging mode is fast charging, increase the charging current step by step, and monitor the mainboard temperature in real time; based on the monitored mainboard temperature, find the battery terminal temperature corresponding to the monitored mainboard temperature from the corresponding relationship; according to the relationship between the found battery terminal temperature and the third threshold temperature, determine the first target charging current, wherein the third threshold temperature is determined based on the corresponding relationship.

[0044] In a possible implementation, the third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature, and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature;

[0045] The processor is specifically used for:

[0046] If it is determined that the battery terminal temperature found is less than the first sub-threshold temperature, the first charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, the second charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, the third charging current is used as the first target charging current;

[0047] Among them, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

[0048] In a possible implementation, before the processor controls the detachable battery to charge with the first target charging current, the processor is further configured to:

[0049] After determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

[0050] In a possible implementation manner, the processor is further configured to:

[0051] If it is determined that the mainboard temperature is less than the first threshold temperature, returning to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard;

[0052] If it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

[0053] In a possible implementation manner, the processor determines the first threshold temperature and the second threshold temperature in the following manner:

[0054] Using SpaceClaim of ANSYS to model the motherboard temperature and the battery terminal temperature in the corresponding relationship, a heat dissipation model is obtained;

[0055] The heat dissipation model is simulated using Icepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the temperature on the surface of the battery terminal;

[0056] Adjusting coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature;

[0057] Inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal;

[0058] Find a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and find a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature;

[0059] A third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and a third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature.

[0060] In a possible implementation manner, the processor determines the first sub-threshold temperature, the second sub-threshold temperature, and the third sub-threshold temperature in the following manner:

[0061] Controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is used to carry the removable battery;

[0062] When the temperature of the outer surface of the electronic device reaches a third preset temperature, a first target mainboard temperature is determined, and the battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the first sub-threshold temperature;

[0063] When the temperature of the outer surface of the electronic device reaches a fourth preset temperature, a second target mainboard temperature is determined, and the battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the second sub-threshold temperature;

[0064] When the outer surface temperature of the electronic device reaches the fifth preset temperature, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

[0065] The beneficial effects of the present invention are as follows:

[0066] An embodiment of the present invention provides a charging method, device and electronic device for a removable battery. The method includes: during the process of charging the removable battery with a first target charging current, monitoring the mainboard temperature at a preset position on the mainboard of the removable battery; if it is determined that the mainboard temperature is greater than or equal to a first threshold temperature, reducing the charging current of the removable battery to a second target charging current; during the process of charging the removable battery with the second target charging current, if it is determined that the mainboard temperature is greater than or equal to a second threshold temperature, stopping charging the removable battery; wherein, the battery terminal is detachably connected to the mainboard, the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard, the first threshold temperature is less than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and battery terminal temperature collected under different charging currents to obtain a heat dissipation model, and then based on the heat dissipation model and different impedances. In the present application, since the first threshold temperature and the second threshold temperature are modeled by the mainboard temperature and the battery terminal temperature collected under different charging currents, after the heat dissipation model is obtained, it is obtained based on the heat dissipation model and the different impedances of the battery terminals, so that the battery terminal impedance can be reflected by temperature. Therefore, by adjusting the charging current through the mainboard temperature, the first threshold temperature and the second threshold temperature, the safety hazard caused by the increase of the battery terminal impedance can be reduced, and the battery charging efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0068] Figure 1 A schematic diagram of an application scenario of a detachable battery provided in an embodiment of the present application;

[0069] Figure 2 A schematic diagram of a flow chart of a charging method for a detachable battery provided in an embodiment of the present application;

[0070] Figure 3a A schematic diagram of the structure of a detachable battery and a temperature measuring device provided for the implementation of this application;

[0071] Figure 3b A schematic diagram of another structure of a removable battery and a temperature measuring device provided for the implementation of this application;

[0072] Figure 3c A schematic diagram of another structure of a removable battery and a temperature measuring device provided for the implementation of this application;

[0073] Figure 4A flow chart of a method for determining a first threshold temperature and a second threshold temperature provided in an embodiment of the present application;

[0074] Figure 5 A temperature fitting schematic diagram provided for the implementation of this application;

[0075] Figure 6 A schematic diagram of a flow chart of a charging method for a detachable battery provided in an embodiment of the present application;

[0076] Figure 7 A schematic flow chart of a method for determining a first sub-threshold temperature, a second threshold temperature, and a third sub-threshold temperature provided in an embodiment of the present application;

[0077] Figure 8 A schematic flow chart of another charging method for a detachable battery provided in an embodiment of the present application;

[0078] Fig. 9 A complete flow chart of a charging method for a detachable battery provided in an embodiment of the present application;

[0079] Fig.10 A schematic structural diagram of a charging device for a detachable battery is also provided for an embodiment of the present application;

[0080] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0081] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0082] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0083] Fast charging functions of mobile terminals such as mobile phones are becoming more and more popular. In some outdoor sports, law enforcement, intercom and other fields, the batteries in mobile terminals are required to be removable in addition to the fast charging function. However, due to the complex outdoor use environment, the battery terminals of removable batteries are generally spring-type or knife-type. After long-term use, the impedance of the battery terminals will increase, resulting in an increase in the temperature of the battery terminals during fast charging, creating a safety hazard.

[0084] In order to solve the above problems, the embodiments of the present invention provide a charging method, device and electronic device for a detachable battery, which are used to optimize the simulation model through test data, obtain the relationship between the battery terminal impedance and the temperature rise, and dynamically adjust the charging current according to the battery terminal temperature rise to reduce the safety hazard caused by the increase of the battery terminal impedance.

[0085] like Figure 1 The figure is a schematic diagram of an application scenario of a detachable battery provided in an embodiment of the present application. Figure 1 In the embodiment, the main board 301 is detachably connected to the main board 301 via a battery terminal 303 of a detachable battery 302 , wherein the detachable battery 303 further includes a battery cell 305 .

[0086] During the use of the removable battery 302, the removable battery is electrically connected to the mainboard via the battery terminal 303, and the removable battery 302 supplies power to the electronic device. When the removable battery 302 needs to be charged, the removable battery 302 can be placed in the electronic device for charging, or the battery terminal 303 of the removable battery 302 can be separated from the mainboard so that the removable battery 302 can be separated from the electronic device for charging.

[0087] The embodiments of the present invention are described in detail below.

[0088] like Figure 2 As shown, a charging method for a detachable battery provided in an embodiment of the present application specifically includes the following steps:

[0089] S101, during the process of charging the removable battery with a first target charging current, monitoring the temperature of a mainboard at a preset position on the mainboard of the removable battery, wherein the battery terminal is detachably connected to the mainboard, and the preset position is a peripheral side of a position where the battery terminal is connected to the mainboard;

[0090] S102, if it is determined that the mainboard temperature is greater than or equal to the first threshold temperature, reducing the charging current of the removable battery to a second target charging current;

[0091] S103, during the process of charging the removable battery with the second target charging current, if it is determined that the mainboard temperature is greater than or equal to the second threshold temperature, stopping charging the removable battery;

[0092] Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

[0093] A charging method for a removable battery provided by an embodiment of the present invention monitors the temperature of a mainboard at a preset position on the mainboard of the removable battery during the process of charging the removable battery with a first target charging current; if it is determined that the mainboard temperature is greater than or equal to a first threshold temperature, the charging current of the removable battery is reduced to a second target charging current; if it is determined that the mainboard temperature is greater than or equal to a second threshold temperature during the process of charging the removable battery with the second target charging current, charging of the removable battery is stopped; wherein, the battery terminal is detachably connected to the mainboard, the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard, the first threshold temperature is less than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents to obtain a heat dissipation model, and then the heat dissipation model is obtained based on the heat dissipation model and different impedances. In the present application, since the first threshold temperature and the second threshold temperature are modeled by the mainboard temperature and the battery terminal temperature collected under different charging currents, after the heat dissipation model is obtained, it is obtained based on the heat dissipation model and the different impedances of the battery terminals, so that the battery terminal impedance can be reflected by temperature. Therefore, by adjusting the charging current through the mainboard temperature, the first threshold temperature and the second threshold temperature, the safety hazard caused by the increase of the battery terminal impedance can be reduced, and the battery charging efficiency can be improved.

[0094] It should be noted that the battery terminal temperature may be the temperature of the battery terminal surface.

[0095] In a specific implementation, the mainboard temperature and the battery terminal temperature at different charging currents are firstly collected. Specifically, the collection can be carried out in the following manner.

[0096] like Figure 3a As shown, the battery terminal 303 is detachably connected to the main board 301. On the main board 301, an NTC 306 is arranged near the position where the battery terminal 303 is connected to the main board 301, and a thermocouple 304 is arranged on the surface of the battery terminal 303. The NTC 362 can measure the main board temperature of the detachable battery main board 301 near the battery terminal 303, and the thermocouple 304 can measure the temperature of the surface of the battery terminal 303 of the detachable battery.

[0097] After setting up the above structure, different charging currents are provided to the battery, and the mainboard temperature collected by NTC306 and the battery terminal temperature collected by thermocouple 304 under different charging currents Iload are detected, such as Iload = {1A, 1.5A, 2A, 2.5A...}, and the corresponding relationship between the mainboard temperature {TA1, TA2, TA3, TA4...} and the battery terminal temperature {TB1, TB2, TB3, TB4...} is obtained.

[0098] As shown in Table 1, by detecting the mainboard temperature and the battery terminal temperature at different charging currents, a relationship table between the mainboard temperature and the battery terminal temperature is established.

[0099] Charging Current Motherboard temperature Battery terminal temperature 1A TA1 TB1 1.5A TA2 TB2 2A TA3 TB3 2.5A TA4 TB4 … … …

[0100] Table 1

[0101] After obtaining the temperature in Table 1, Figure 4 The method shown in the figure, a method for determining a first threshold temperature and a second threshold temperature, specifically comprises the following steps:

[0102] S301, using SpaceClaim of ANSYS to model the collected mainboard temperature and battery terminal temperature to obtain a heat dissipation model;

[0103] In a specific embodiment, the thermal power P=I 2 ×R, the abnormal overheating of the battery terminal is caused by the increase of impedance. Since different impedances cannot be simulated in reality, ANSYS's SpaceClaim is used to process the collected mainboard temperature and battery terminal temperature to obtain the heat dissipation model.

[0104] S302, simulating the heat dissipation model using cepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the surface temperature of the battery terminal;

[0105] For example, the heat dissipation model is simulated using ANSYS Icepak to obtain a first simulation temperature {ta1, ta2, ta3, ta4...} representing the temperature at a preset position on the motherboard and a second simulation temperature {tb1, tb2, tb3, tb4...} representing the temperature on the surface of the battery terminal.

[0106] S303, adjusting the coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature;

[0107] In a specific embodiment, the components in the heat dissipation model include battery terminals, a mainboard, and other components in the terminal. Since there are many components in the actual simulation, the parameters of some components cannot be accurately obtained. The coefficients in the heat dissipation model are adjusted to fit the first simulation temperature {ta1, ta2, ta3, ta4...} with the collected mainboard temperature, and to fit the second simulation temperature {tb1, tb2, tb3, tb4...} with the collected battery terminal temperature. Figure 5 As shown, a temperature fitting diagram is provided for the implementation of this application.

[0108] S304, inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal;

[0109] In the embodiment of the present application, the heat dissipation model with different input impedances is the adjusted heat dissipation model.

[0110] S305, searching for a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and searching for a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature;

[0111] S306: Use a third simulation temperature corresponding to the first target simulation temperature as a first threshold temperature, and use a third simulation temperature corresponding to the second target simulation temperature as a second threshold temperature.

[0112] In a specific embodiment, different impedances {R1, R2, R3…RN} are input into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to different impedances, wherein the third simulation temperature represents the mainboard temperature at a preset position on the removable battery mainboard, and the fourth simulation temperature represents the temperature on the surface of the battery terminal.

[0113] As shown in Table 2, it is a table showing the relationship between the third simulation temperature and the fourth simulation temperature.

[0114] Simulation conditions The third simulation temperature Fourth simulation temperature Impedance 6mΩ 31.51 36.62 Impedance 7mΩ 31.94 38.45 Impedance 8mΩ 33.43 40.31 Impedance 9mΩ 34.51 42.12 Impedance 10mΩ 35.25 43.98 Impedance 15mΩ 40.89 53.12 Impedance 20mΩ 44.67 62.02 Impedance 30mΩ 54.65 79.36 Impedance 40mΩ 61.67 96.42 Impedance 50mΩ 71.5 112.9 Impedance 100mΩ 115.9 191.5 Impedance 200mΩ 169.8 336.1

[0115] Table 2

[0116] In one embodiment, if the first preset temperature is 45 degrees, the first target simulation temperature closest to the first preset temperature is searched from the fourth simulation temperature, and the first target simulation temperature found is 43.98 degrees. The third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and the third simulation temperature corresponding to the first target simulation temperature of 43.98 degrees is 35.25 degrees, that is, the first threshold temperature is 35.25 degrees.

[0117] In one embodiment, if the second preset temperature is 60 degrees, the second target simulation temperature closest to the first preset temperature is searched from the fourth simulation temperature, and the second target simulation temperature found is 62.02 degrees. The third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature, and the third simulation temperature corresponding to the second target simulation temperature of 62.02 degrees is 44.67 degrees, that is, the second threshold temperature is 44.67 degrees.

[0118] It should be noted that when collecting the motherboard temperature and the battery terminal temperature, the battery terminal temperature corresponding to any battery terminal and the motherboard temperature corresponding to the battery terminal can be collected, such as Figure 3a and Figure 3b As shown, the battery terminal temperatures corresponding to the two battery terminals and the mainboard temperatures corresponding to the two battery terminals can also be collected, such as Figure 3c As shown, when using Figure 3c In the manner shown, when determining the first threshold temperature and the second threshold temperature, the two sets of temperatures collected can be used, thereby improving the accuracy of the determined first threshold temperature and the second threshold temperature.

[0119] After the first threshold temperature and the second threshold temperature are determined, the charging current of the removable battery is adjusted based on the first threshold temperature and the second threshold temperature.

[0120] In a specific implementation, in the process of monitoring the motherboard temperature at a preset position on the motherboard of the removable battery, the motherboard temperature at a preset position on the motherboard of the removable battery can be periodically collected. For example, if the first threshold temperature is 60 degrees and the second threshold temperature is 45 degrees, after charging is started, the removable battery is charged with the first target charging current and the motherboard temperature is monitored. If the motherboard temperature is monitored to be 47 degrees, that is, it is determined that the motherboard temperature is greater than or equal to the first threshold temperature, the charging current of the removable battery is reduced to the second target charging current; if the motherboard temperature is detected to be 60 degrees, that is, it is determined that the motherboard temperature is greater than or equal to the second threshold temperature, the second preset temperature, the charging of the removable battery is stopped, and a reminder is issued to check whether the battery terminal is abnormal.

[0121] It should be noted that when starting charging, the charging current of the removable battery can be increased to the first target charging current by a current value of 0.5A step by step, and the charging current of the removable battery can be reduced to the second target charging current by a current value of 0.5A step by step.

[0122] In one embodiment, before controlling the removable battery to charge with the first target charging current, the first target charging current needs to be determined. In implementation, charging is divided into a fast charging mode and a non-fast charging mode, and the following describes these two situations respectively.

[0123] Scenario 1: Fast charging mode:

[0124] like Figure 6 FIG. 1 is a flow chart of a removable battery charging method provided in an embodiment of the present application, which specifically includes the following steps:

[0125] S501, determining that the charging mode is fast charging;

[0126] S502, increasing the charging current step by step, and monitoring the mainboard temperature in real time;

[0127] S503, based on the monitored mainboard temperature, searching for a battery terminal temperature corresponding to the monitored mainboard temperature from the mainboard temperatures and battery terminal temperatures collected under different charging currents;

[0128] S504, determining a first target charging current according to the relationship between the found battery terminal temperature and the third threshold temperature, wherein the third threshold temperature is determined based on the mainboard temperature and the battery terminal temperature collected under different charging currents;

[0129] S505: If it is determined that the battery terminal temperature found is lower than the first sub-threshold temperature, the first charging current is used as the first target charging current;

[0130] S506: If it is determined that the found battery terminal temperature is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, use the second charging current as the first target charging current;

[0131] S507: If it is determined that the found battery terminal temperature is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, use the third charging current as the first target charging current.

[0132] It should be noted that the third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature.

[0133] In addition, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

[0134] In a specific embodiment, Figure 7 FIG. 1 is a flow chart of a method for determining a first sub-threshold temperature, a second sub-threshold temperature, and a third sub-threshold temperature provided in an embodiment of the present application, which specifically includes the following steps:

[0135] S601, controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is an electronic device carrying the detachable battery;

[0136] S602: When the outer surface temperature of the electronic device reaches a third preset temperature, determine a first target mainboard temperature, and use the battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents as a first sub-threshold temperature;

[0137] S603: When the outer surface temperature of the electronic device reaches a fourth preset temperature, determine a second target mainboard temperature, and use the battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents as a second sub-threshold temperature;

[0138] S604. When the outer surface temperature of the electronic device reaches the fifth preset temperature, determine the third target mainboard temperature, and use the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and the battery terminal temperature collected under different charging currents as the third sub-threshold temperature.

[0139] In one embodiment, the third preset temperature may be 20 degrees, the fourth preset temperature may be 30 degrees, and the fifth preset temperature may be 40 degrees. The charging current is controlled to increase step by step, and the mainboard temperature and the external surface temperature of the electronic device are monitored. When the external surface temperature of the electronic device reaches 20 degrees, the first target mainboard temperature is determined, and the battery terminal temperature corresponding to the determined mainboard temperature among the mainboard temperature and the battery terminal temperature collected under different charging currents is used as the first sub-threshold temperature; when the external surface temperature of the electronic device reaches 30 degrees, the second target mainboard temperature is determined, and the battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperature and the battery terminal temperature collected under different charging currents is used as the second sub-threshold temperature; when the external surface temperature of the electronic device reaches 40 degrees, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and the battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

[0140] For example, the first sub-threshold temperature may be 25 degrees, the second sub-threshold temperature may be 35 degrees, the third sub-threshold temperature may be 45 degrees, the first charging current may be 6A, the second charging current may be 5A, and the third charging current may be 4A.

[0141] In one embodiment, after determining that the charging mode is fast charging, the charging current is increased step by step, and the mainboard temperature is monitored in real time; based on the monitored mainboard temperature, the battery terminal temperature corresponding to the monitored mainboard temperature is searched from the mainboard temperature and the battery terminal temperature collected under different charging currents; if the battery terminal temperature is found to be 20 degrees, that is, it is determined that the found battery terminal temperature is less than the first sub-threshold temperature of 25 degrees, then the first charging current 6A is used as the first target charging current.

[0142] In another embodiment, after determining that the charging mode is fast charging, the charging current is increased step by step, and the mainboard temperature is monitored in real time; based on the monitored mainboard temperature, the battery terminal temperature corresponding to the monitored mainboard temperature is searched from the mainboard temperature and the battery terminal temperature collected under different charging currents; if the battery terminal temperature is found to be 28 degrees, that is, it is determined that the found battery terminal temperature is greater than or equal to the first sub-threshold temperature of 25 degrees, and less than the second sub-threshold temperature of 35 degrees, then the second charging current 5A is used as the first target charging current.

[0143] In another embodiment, after determining that the charging mode is fast charging, the charging current is increased step by step, and the mainboard temperature is monitored in real time; based on the monitored mainboard temperature, the battery terminal temperature corresponding to the monitored mainboard temperature is searched from the mainboard temperature and the battery terminal temperature collected under different charging currents; if the battery terminal temperature is found to be 40 degrees, that is, it is determined that the found battery terminal temperature is greater than or equal to the second sub-threshold temperature of 35 degrees, and less than the third sub-threshold temperature of 45 degrees, then the third charging current of 4A is used as the first target charging current.

[0144] Scenario 2: Non-fast charging mode:

[0145] like Figure 8 FIG. 1 is a flow chart of another charging method for a detachable battery provided in an embodiment of the present application, and the specific steps are as follows:

[0146] S701, determining that the charging mode is non-fast charging;

[0147] S702, using the fourth charging current as the first target charging current, and monitoring the mainboard temperature at a preset position on the mainboard of the removable battery;

[0148] S703, determine whether the mainboard temperature is greater than or equal to the first threshold temperature, if so, execute S704, otherwise return to S702;

[0149] S704, reducing the charging current of the removable battery to a second target charging current;

[0150] S705, determining whether the temperature of the mainboard is greater than or equal to the second threshold temperature, if so, executing S706, otherwise returning to S704;

[0151] S706: Stop charging the removable battery.

[0152] In a specific embodiment, after determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

[0153] It should be noted that if it is determined that the mainboard temperature is lower than the first threshold temperature, the process returns to the step of monitoring the mainboard temperature at a preset position on the mainboard of the removable battery; if it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

[0154] like Fig. 9 As shown, it is a complete flow chart of a charging method for a detachable battery provided in an embodiment of the present application, and the specific steps are as follows:

[0155] S801, insert the charging device and determine whether the charging mode is fast charging, if so, execute S802, otherwise execute S807;

[0156] S802, increasing the charging current step by step, taking the fourth charging current as the first target charging current, and monitoring the mainboard temperature at a preset position on the mainboard of the removable battery;

[0157] S803, determining whether the mainboard temperature is greater than or equal to the first threshold temperature, if so, executing S804, otherwise executing S802;

[0158] S804, reducing the charging current of the removable battery to a second target charging current;

[0159] S805, determining whether the temperature of the mainboard is greater than or equal to the second threshold temperature, if so, executing S806, otherwise executing S804;

[0160] S806, stop charging the removable battery;

[0161] S807, gradually increase the charging current and monitor the mainboard temperature in real time;

[0162] S808, based on the monitored mainboard temperature, searching for a battery terminal temperature corresponding to the monitored mainboard temperature from the mainboard temperatures and battery terminal temperatures collected under different charging currents;

[0163] S809: If it is determined that the found battery terminal temperature is less than the first sub-threshold temperature, use the first charging current as the first target charging current;

[0164] S810: If it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, use the second charging current as the first target charging current;

[0165] S811: If it is determined that the found battery terminal temperature is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, use the third charging current as the first target charging current;

[0166] S812, determine whether the mainboard temperature is greater than or equal to the first threshold temperature, if so, execute S813, otherwise return to S809, S810 and S811;

[0167] S813, reducing the charging current of the removable battery to a second target charging current;

[0168] S814, determining whether the mainboard temperature is greater than or equal to a second threshold temperature;

[0169] S815. Stop charging the removable battery.

[0170] It should be noted that the third sub-threshold temperature may be less than or equal to the first threshold temperature.

[0171] Specifically, if it is determined that the mainboard temperature is lower than the first threshold temperature, then return to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard; if it is determined that the mainboard temperature is lower than the second threshold temperature, then return to the step of controlling the removable battery to charge with the second target charging current.

[0172] Based on the same inventive concept, an embodiment of the present application also provides a charging device for a detachable battery. The principle of solving the problem by the device is similar to the principle of solving the problem by the above-mentioned charging method for a detachable battery, and the repeated parts will not be repeated.

[0173] like Fig.10 As shown, the above device includes the following modules: a monitoring module 901, a comparison module 902, and an adjustment module 903;

[0174] The monitoring module 901 is used to monitor the temperature of a mainboard at a preset position on the mainboard of the detachable battery during the process of charging the detachable battery with a first target charging current, wherein the battery terminal is detachably connected to the mainboard, and the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard;

[0175] The comparison module 902 is configured to reduce the charging current of the removable battery to a second target charging current if it is determined that the mainboard temperature is greater than or equal to a first threshold temperature;

[0176] an adjusting module 903, configured to stop charging the removable battery if it is determined that the temperature of the mainboard is greater than or equal to a second threshold temperature during the process of charging the removable battery with the second target charging current;

[0177] Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

[0178] In one embodiment, the device further includes a determination module, which, before controlling the removable battery to charge with the first target charging current, determines:

[0179] After confirming that the charging mode is fast charging, increase the charging current step by step and monitor the motherboard temperature in real time;

[0180] Based on the monitored mainboard temperature, searching the battery terminal temperature corresponding to the monitored mainboard temperature from the corresponding relationship;

[0181] The first target charging current is determined according to the found relationship between the battery terminal temperature and the third threshold temperature, wherein the third threshold temperature is determined based on the corresponding relationship.

[0182] In one embodiment, the third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature;

[0183] Determine the module specifically for:

[0184] If it is determined that the battery terminal temperature found is less than the first sub-threshold temperature, the first charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, the second charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, the third charging current is used as the first target charging current;

[0185] Among them, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

[0186] In one embodiment, before controlling the removable battery to charge with the first target charging current, the determination module is further used to:

[0187] After determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

[0188] In one embodiment, the determination module is further configured to:

[0189] If it is determined that the mainboard temperature is less than the first threshold temperature, returning to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard;

[0190] If it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

[0191] In one embodiment, the first threshold temperature and the second threshold temperature are determined by:

[0192] Using SpaceClaim of ANSYS to model the motherboard temperature and the battery terminal temperature in the corresponding relationship, a heat dissipation model is obtained;

[0193] The heat dissipation model is simulated using Icepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the temperature on the surface of the battery terminal;

[0194] Adjusting coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature;

[0195] Inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal;

[0196] Find a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and find a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature;

[0197] A third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and a third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature.

[0198] In one embodiment, the first sub-threshold temperature, the second sub-threshold temperature and the third sub-threshold temperature are determined in the following manner:

[0199] Controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is used to carry the removable battery;

[0200] When the outer surface temperature of the electronic device reaches a third preset temperature, a first target mainboard temperature is determined, and a battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the first sub-threshold temperature;

[0201] When the outer surface temperature of the electronic device reaches a fourth preset temperature, a second target mainboard temperature is determined, and a battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the second sub-threshold temperature;

[0202] When the outer surface temperature of the electronic device reaches the fifth preset temperature, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

[0203] Based on the same inventive concept, an embodiment of the present application also provides an electronic device, the principle of solving the problem by the electronic device is similar to the principle of solving the problem by the above-mentioned charging method of the detachable battery, and the repeated parts will not be repeated.

[0204] like Fig.11 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, includes a memory 1001 and a processor 1002.

[0205] Memory 1001, used for storing computer programs;

[0206] The processor 1002 is configured to execute a computer program to perform the following steps:

[0207] During the process of charging a removable battery with a first target charging current, the mainboard temperature at a preset position on the mainboard of the removable battery is monitored, wherein the battery terminal is detachably connected to the mainboard, and the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard; if it is determined that the mainboard temperature is greater than or equal to a first threshold temperature, the charging current of the removable battery is reduced to a second target charging current; during the process of charging the removable battery with the second target charging current, if it is determined that the mainboard temperature is greater than or equal to a second threshold temperature, charging of the removable battery is stopped; wherein the first threshold temperature is less than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents to obtain a heat dissipation model, and then the heat dissipation model is obtained based on the heat dissipation model and different impedances.

[0208] In one embodiment, before the processor 1002 controls the removable battery to charge with the first target charging current, it is further configured to:

[0209] After determining that the charging mode is fast charging, increase the charging current step by step, and monitor the mainboard temperature in real time; based on the monitored mainboard temperature, find the battery terminal temperature corresponding to the monitored mainboard temperature from the corresponding relationship; according to the relationship between the found battery terminal temperature and the third threshold temperature, determine the first target charging current, wherein the third threshold temperature is determined based on the corresponding relationship.

[0210] In one embodiment, the third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature;

[0211] The processor 1002 is specifically configured to:

[0212] If it is determined that the battery terminal temperature found is less than the first sub-threshold temperature, the first charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, the second charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, the third charging current is used as the first target charging current;

[0213] Among them, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

[0214] In one embodiment, before the processor 1002 controls the removable battery to charge with the first target charging current, it is further configured to:

[0215] After determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

[0216] In one embodiment, the processor 1002 is further configured to:

[0217] If it is determined that the mainboard temperature is less than the first threshold temperature, returning to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard;

[0218] If it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

[0219] In one embodiment, the processor 1002 determines the first threshold temperature and the second threshold temperature in the following manner:

[0220] Using SpaceClaim of ANSYS to model the motherboard temperature and the battery terminal temperature in the corresponding relationship, a heat dissipation model is obtained;

[0221] The heat dissipation model is simulated using Icepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the temperature on the surface of the battery terminal;

[0222] Adjusting coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature;

[0223] Inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal;

[0224] Find a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and find a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature;

[0225] A third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and a third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature.

[0226] In one embodiment, the processor 1002 determines the first sub-threshold temperature, the second sub-threshold temperature, and the third sub-threshold temperature in the following manner:

[0227] Controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is used to carry the removable battery;

[0228] When the outer surface temperature of the electronic device reaches a third preset temperature, a first target mainboard temperature is determined, and a battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the first sub-threshold temperature;

[0229] When the outer surface temperature of the electronic device reaches a fourth preset temperature, a second target mainboard temperature is determined, and a battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the second sub-threshold temperature;

[0230] When the outer surface temperature of the electronic device reaches the fifth preset temperature, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

[0231] The embodiments of the present application provide a charging method, device and electronic device for a removable battery. During the process of charging the removable battery with a first target charging current, the mainboard temperature at a preset position on the mainboard of the removable battery is monitored; if it is determined that the mainboard temperature is greater than or equal to the first threshold temperature, the charging current of the removable battery is reduced to a second target charging current; during the process of charging the removable battery with the second target charging current, if it is determined that the mainboard temperature is greater than or equal to the second threshold temperature, charging of the removable battery is stopped; wherein, the battery terminal is detachably connected to the mainboard, the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard, the first threshold temperature is less than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining a heat dissipation model based on the heat dissipation model and different impedances. In the present application, since the first threshold temperature and the second threshold temperature are modeled by the motherboard temperature and the battery terminal temperature collected under different charging currents, after obtaining the heat dissipation model, it is obtained based on the heat dissipation model and the different impedances of the battery terminals, so that the battery terminal impedance can be reflected by temperature. Therefore, by adjusting the charging current by the motherboard temperature, the first threshold temperature and the second threshold temperature, the safety hazard caused by the increase of the battery terminal impedance can be reduced and the battery charging efficiency can be improved. In addition, in the present application, the relationship between the battery terminal impedance and the motherboard temperature is obtained by optimizing the simulation model through test data, and the charging current is dynamically adjusted according to the motherboard temperature rise during the charging process, which can increase the charging speed and reduce the safety hazard caused by the increase of the battery terminal impedance.

[0232] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable data processing device to produce a machine, so that the instructions executed by the computer processor and / or other programmable data processing device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.

[0233] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.

[0234] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A charging method for a detachable battery, characterized in that: The method comprises: During the process of charging the detachable battery with a first target charging current, monitoring the temperature of a mainboard at a preset position on the mainboard of the detachable battery, wherein the battery terminal is detachably connected to the mainboard, and the preset position is a peripheral side of a position where the battery terminal is connected to the mainboard; If it is determined that the mainboard temperature is greater than or equal to the first threshold temperature, reducing the charging current of the removable battery to a second target charging current; During the process of charging the removable battery with the second target charging current, if it is determined that the temperature of the mainboard is greater than or equal to a second threshold temperature, stopping charging the removable battery; Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

2. The method according to claim 1, characterized in that Before controlling the removable battery to charge with the first target charging current, the method further includes: After confirming that the charging mode is fast charging, increase the charging current step by step and monitor the motherboard temperature in real time; Based on the monitored mainboard temperature, searching the battery terminal temperature corresponding to the monitored mainboard temperature from the corresponding relationship; The first target charging current is determined according to the found relationship between the battery terminal temperature and the third threshold temperature, wherein the third threshold temperature is determined based on the corresponding relationship.

3. The method according to claim 2, characterized in that The third threshold temperature includes a first sub-threshold temperature, a second sub-threshold temperature and a third sub-threshold temperature, wherein the first sub-threshold temperature is lower than the second sub-threshold temperature, and the second sub-threshold temperature is lower than the third sub-threshold temperature; The determining the first target charging current according to the found relationship between the battery terminal temperature and the third threshold temperature includes: If it is determined that the battery terminal temperature found is less than the first sub-threshold temperature, the first charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the first sub-threshold temperature and less than the second sub-threshold temperature, the second charging current is used as the first target charging current; if it is determined that the battery terminal temperature found is greater than or equal to the second sub-threshold temperature and less than the third sub-threshold temperature, the third charging current is used as the first target charging current; Among them, the first charging current is the maximum charging current corresponding to the fast charging mode, the second target charging current is the minimum charging current corresponding to the fast charging mode, and the first charging current is greater than the second charging current, and the second charging current is greater than the third charging current.

4. The method according to claim 1, characterized in that Before controlling the detachable battery to charge with the first target charging current, the method further includes: After determining that the charging mode is non-fast charging, the fourth charging current is used as the first target charging current, wherein the fourth charging current is the maximum charging current corresponding to the non-fast charging mode, and the second target charging current is the minimum charging current corresponding to the non-fast charging mode.

5. The method according to claim 1, characterized in that The method further comprises: If it is determined that the mainboard temperature is less than the first threshold temperature, returning to the step of monitoring the mainboard temperature at a preset position on the removable battery mainboard; If it is determined that the mainboard temperature is lower than the second threshold temperature, the process returns to the step of controlling the removable battery to charge with the second target charging current.

6. The method according to any one of claims 1 to 5, characterized in that: The first threshold temperature and the second threshold temperature are determined by: Using SpaceClaim of ANSYS to model the motherboard temperature and the battery terminal temperature in the corresponding relationship, a heat dissipation model is obtained; The heat dissipation model is simulated using Icepak of ANSYS to obtain a first simulation temperature representing the temperature at a preset position on the mainboard and a second simulation temperature representing the temperature on the surface of the battery terminal; Adjusting coefficients in the heat dissipation model to fit the first simulation temperature, the second simulation temperature, the mainboard temperature, and the battery terminal temperature; Inputting different impedances into the heat dissipation model to obtain a third simulation temperature and a fourth simulation temperature corresponding to the different impedances, wherein the third simulation temperature represents the temperature of the mainboard at a preset position on the mainboard of the detachable battery, and the fourth simulation temperature represents the temperature of the surface of the battery terminal; Find a first target simulation temperature closest to the first preset temperature from the fourth simulation temperature, and find a second target simulation temperature closest to the second preset temperature from the fourth simulation temperature; A third simulation temperature corresponding to the first target simulation temperature is used as the first threshold temperature, and a third simulation temperature corresponding to the second target simulation temperature is used as the second threshold temperature.

7. The method according to claim 3, characterized in that The first sub-threshold temperature, the second sub-threshold temperature and the third sub-threshold temperature are determined by: Controlling the charging current to increase step by step, and monitoring the temperature of the mainboard and the outer surface temperature of the electronic device, wherein the electronic device is used to carry the removable battery; When the outer surface temperature of the electronic device reaches a third preset temperature, a first target mainboard temperature is determined, and a battery terminal temperature corresponding to the first target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the first sub-threshold temperature; When the outer surface temperature of the electronic device reaches a fourth preset temperature, a second target mainboard temperature is determined, and a battery terminal temperature corresponding to the second target mainboard temperature among the mainboard temperatures and battery terminal temperatures collected under different charging currents is used as the second sub-threshold temperature; When the outer surface temperature of the electronic device reaches the fifth preset temperature, the third target mainboard temperature is determined, and the battery terminal temperature corresponding to the third target mainboard temperature among the mainboard temperature and battery terminal temperature collected under different charging currents is used as the third sub-threshold temperature.

8. A charging device for a detachable battery, characterized in that: include: A monitoring module, configured to monitor a motherboard temperature at a preset position on a motherboard of the detachable battery during charging of the detachable battery with a first target charging current, wherein the battery terminal is detachably connected to the motherboard, and the preset position is a peripheral side of a position where the battery terminal is connected to the motherboard; an adjustment module, configured to reduce the charging current of the removable battery to a second target charging current if it is determined that the temperature of the mainboard is greater than or equal to a first threshold temperature; a control module, configured to stop charging the removable battery if it is determined that the temperature of the mainboard is greater than or equal to a second threshold temperature during the process of charging the removable battery with the second target charging current; Among them, the first threshold temperature is lower than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents, and then obtaining the heat dissipation model based on the heat dissipation model and different impedances.

9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program to perform the following steps: During the process of charging a removable battery with a first target charging current, the mainboard temperature at a preset position on the mainboard of the removable battery is monitored, wherein the battery terminal is detachably connected to the mainboard, and the preset position is the peripheral side of the position where the battery terminal is connected to the mainboard; if it is determined that the mainboard temperature is greater than or equal to a first threshold temperature, the charging current of the removable battery is reduced to a second target charging current; during the process of charging the removable battery with the second target charging current, if it is determined that the mainboard temperature is greater than or equal to a second threshold temperature, charging of the removable battery is stopped; wherein the first threshold temperature is less than the second threshold temperature, and the first threshold temperature and the second threshold temperature are both obtained by modeling the mainboard temperature and the battery terminal temperature collected under different charging currents to obtain a heat dissipation model, and then the heat dissipation model is obtained based on the heat dissipation model and different impedances.

10. The electronic device according to claim 9, characterized in that: Before the processor controls the removable battery to charge with the first target charging current, the processor is further configured to: After determining that the charging mode is fast charging, the charging current is increased step by step, and the mainboard temperature is monitored in real time; based on the monitored mainboard temperature, the battery terminal temperature corresponding to the monitored mainboard temperature is searched from the corresponding relationship; The first target charging current is determined according to the found relationship between the battery terminal temperature and the third threshold temperature, wherein the third threshold temperature is determined based on the corresponding relationship.