Charging and discharging method and circuit, electronic equipment and readable storage medium
By introducing bidirectional switches and multiple charging and discharging modules in parallel to the charging and discharging circuit, the problem of increasing size and heat loss of charging and discharging equipment in the prior art is solved, and efficient charging and discharging power distribution and thermal management are achieved. .
Patent Information
- Application Number
- CN202311050299.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2025-02-21
AI Technical Summary
When existing charging and discharging devices increase charging and discharging power, increasing power devices will lead to an increase in the size of the equipment and an increase in heat loss, affecting the user experience.
By introducing a bidirectional switch into the charge and discharge circuit, multiple charge and discharge modules work in parallel, distributing charge and discharge power, increasing the overall discharge power and reducing heat loss.
It realizes that without increasing the power of a single charge and discharge module, the discharge power of the entire charge and discharge circuit is increased, the heat loss is reduced, the equipment size and weight increase is avoided, and the user experience is improved.
Smart Images

Figure CN119496239A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging and discharging technology, and in particular to a charging and discharging method, circuit, electronic device and readable storage medium. Background Art
[0002] Existing charging and discharging devices, such as mobile power supplies (power banks), can realize self-charging function and external discharging function. Self-charging means that the charging device can be charged by an external power supply, and external discharging is achieved by reversely outputting voltage to an external electronic device through an internal charging circuit, or by adding a discharge circuit to control the charging and discharging device to charge an external electronic device.
[0003] As the charging and discharging power supported by external electronic devices of charging and discharging devices continues to increase, in some solutions, the power of the charging and discharging devices can be increased and the loss can be reduced by adding power devices to the charging and discharging devices. However, adding power devices will increase the size of the charging and discharging devices, making the entire charging and discharging device thick and heavy, affecting the user experience. Summary of the invention
[0004] In order to improve the charging and discharging power of a charging and discharging device, an embodiment of the present application provides a charging and discharging method, a circuit, an electronic device, and a readable storage medium.
[0005] In a first aspect, an embodiment of the present application provides a charging and discharging method, which is applied to a charging and discharging circuit, wherein the charging and discharging circuit includes a first path, a second path, a switch module and a battery module; and the first path includes a first port, a first overvoltage protection switch, and a first charging and discharging module connected in sequence, and the second path includes a second port, a second overvoltage protection switch, and a second charging and discharging module connected in sequence, wherein the switch module is connected to the first charging and discharging module and the second charging and discharging module, and the first charging and discharging module and the second charging and discharging module are respectively connected to the battery module; the method includes: detecting that the first port is connected to a first electronic device, and the second port in the second path is not externally connected to a second electronic device; controlling the switch module to be turned on, the first overvoltage protection switch to be turned on, and the second overvoltage protection switch to be turned off, so that the battery module charges or discharges the first electronic device through the first charging and discharging module and the second charging and discharging module, the first overvoltage protection switch, and the first port.
[0006] Based on the above solution, multiple charging and discharging modules can be used to charge or discharge an electronic device. In this way, the discharge power of the entire charging and discharging circuit can be increased while reducing losses without increasing power devices, thus avoiding increasing the size and weight of the entire charging and discharging device and improving user experience.
[0007] It can be understood that the first port can be the charging and discharging port 310 mentioned in the embodiment of the present application, and the second port can be the charging and discharging port 320 provided in the embodiment of the present application; the first charging and discharging module can be the charging and discharging module 312, and the second charging and discharging module can be the charging and discharging module 322; the first overvoltage protection switch can be the overvoltage protection switch 311, and the second overvoltage protection switch can be the overvoltage protection switch 321.
[0008] In a possible implementation of the first aspect above, the method also includes: configuring the charge and discharge power of the first charge and discharge module and the second charge and discharge module based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module, and the sum of the power of the first charge and discharge module and the second charge and discharge module is the first rated charge and discharge power of the first electronic device.
[0009] It can be understood that configuring the charge and discharge power of the first charge and discharge module and the second charge and discharge module based on their power capabilities and / or loss values can make the charge and discharge power distribution of the whole machine more reasonable and ensure the performance of the whole machine.
[0010] It can be understood that the first electronic device can be charged or discharged by the first charging and discharging module and the second charging and discharging module on average bearing the first rated charging and discharging power required to be provided to the first electronic device. Based on this, the losses of the first charging and discharging module and the second charging and discharging module are also relatively even, thereby making the heat dissipation of the whole machine more balanced.
[0011] It can be understood that the first electronic device can also be charged or discharged by the first rated charging and discharging power required to be provided to the first electronic device through the respective power capabilities of the first charging and discharging module and the second charging and discharging module. Based on this, the charging and discharging module with larger power capacity can bear more losses, and the charging and discharging module with smaller power capacity can bear less losses, thereby optimizing the use of the charging and discharging modules and making the charging and discharging power distribution of the whole machine more reasonable.
[0012] In a possible implementation of the first aspect above, the charge and discharge power of the first charge and discharge module and the second charge and discharge module are configured based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module, including: if the difference between the power capacity of the first charge and discharge module and the second charge and discharge module is less than or equal to the first difference threshold; or, the difference between the loss value of the first charge and discharge module and the second charge and discharge module is less than or equal to the second difference threshold, configuring the power of the first charge and discharge module and the second charge and discharge module to be the same.
[0013] It can be understood that based on the fact that the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module are less than or equal to the first difference threshold, the charge and discharge power of the first charge and discharge module and the second charge and discharge module can be configured to be equal, and the sum of the charge and discharge power of the first charge and discharge module and the second charge and discharge module is equal to the rated charge and discharge power of the external electronic device, so that when the first charge and discharge module and the second charge and discharge module charge and discharge the external electronic device, their respective losses are also equal, and the heat dissipation of the whole machine can also be made more balanced.
[0014] For example, in some embodiments, based on the respective power capabilities of the first charging and discharging module and the second charging and discharging module, the first charging and discharging module and the second charging and discharging module, based on the first port, simultaneously discharge the second external electronic device connected to the second port. For example, if 100W of power is required to be supplied to the second external electronic device, if the power capabilities and losses of the first charging and discharging module and the second charging and discharging module are less than or equal to the first difference threshold, the first charging and discharging module and the second charging and discharging module can be respectively configured to discharge 50W outward, thereby making the heat dissipation of the entire machine more balanced.
[0015] In a possible implementation of the first aspect above, configuring the charge and discharge power of the first charge and discharge module and the second charge and discharge module based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module also includes: if the difference between the power capacity of the first charge and discharge module and the second charge and discharge module is greater than the first difference threshold, configuring the power of the first charge and discharge module and the second charge and discharge module based on the ratio of the power capacity of the first charge and discharge module and the second charge and discharge module; or, if the loss value of the first charge and discharge module and the second charge and discharge module is greater than the second difference threshold, configuring the power of the first charge and discharge module and the second charge and discharge module based on the ratio of the loss value of the first charge and discharge module and the second charge and discharge module.
[0016] It can be understood that the charging parameters can be configured according to the ratio of the power capacity or loss capacity of the first charging and discharging module and the second charging and discharging module. For example, the greater the power capacity or the greater the working loss, the greater the allocated power. For example, if the ratio of the maximum configuration power of the first charging and discharging module and the second charging and discharging module is 6:4, the first charging and discharging module can be configured to discharge 60W outward, and the second charging and discharging module can be configured to discharge 40W outward. For another example, if the ratio of the working loss of the first charging and discharging module and the second charging and discharging module is 6:4, the first charging and discharging module can be configured to discharge 60W outward, and the second charging and discharging module can be configured to discharge 40W outward, etc., to achieve the parameter configuration of the thermal design balance and the best efficiency of the whole machine. That is, the charging and discharging module with a larger power capacity can bear more losses, and the charging and discharging module with a smaller power capacity can bear less losses, so that the use of the charging and discharging modules can be optimized, so that the charging and discharging power distribution of the whole machine is more reasonable.
[0017] In a possible implementation of the first aspect above, the method further includes: detecting that the second port is connected to a second electronic device; controlling the switch module to disconnect, and the first overvoltage protection switch of the first path and the second overvoltage protection switch of the second path to turn on.
[0018] It can be understood that by detecting that the second port is connected to the second electronic device, the switch module is controlled to be disconnected, and the first overvoltage protection switch of the first path and the second overvoltage protection switch of the second path are turned on, so that the first charge and discharge module can independently charge and discharge the first electronic device through the first port, and the second charge and discharge module can independently charge and discharge the second electronic device through the second port.
[0019] In a possible implementation of the first aspect, it is detected that the first port is disconnected from the first electronic device; the switch module is controlled to be turned on and the first overvoltage protection switch is turned off.
[0020] It can be understood that by detecting that the first port is disconnected from the first electronic device, controlling the switch module to be turned on and the first overvoltage protection switch to be turned off, the first charging and discharging module and the second charging and discharging module can charge and discharge the second electronic device in parallel through the second port.
[0021] In a possible implementation of the first aspect, it is detected that charging of the first electronic device is completed; the switch module is controlled to be turned on and the first overvoltage protection switch is turned off.
[0022] It can be understood that by detecting that the charging of the first electronic device is completed, the switch module is controlled to be turned on and the first overvoltage protection switch is turned off, so that the first charging and discharging module and the second charging and discharging module can charge and discharge the second electronic device in parallel through the second port.
[0023] In a possible implementation of the first aspect above, after detecting that the first port is connected to the first electronic device, the method also includes: detecting that the temperature of the battery module of the charge and discharge circuit is less than or equal to the normal temperature threshold; controlling the switch module of the charge and discharge circuit to be turned on, and configuring the discharge parameters of the first charge and discharge module in the first path, and configuring the charging parameters of the second charge and discharge module in the second path; enabling the first charge and discharge module to start discharging, and enabling the second charge and discharge module to start charging; after the temperature of the battery module of the charge and discharge circuit is greater than the normal temperature threshold, controlling the first charge and discharge module and the second charge and discharge module to charge or discharge based on the rated power of the first electronic device.
[0024] It can be understood that when the battery temperature in the charge and discharge circuit is lower than the normal temperature threshold, that is, when the charge and discharge capacity of the battery is insufficient, the first charge and discharge module can be configured to discharge, and the second charge and discharge module can be configured to charge to heat the battery, thereby enabling the battery to be quickly heated in a low temperature environment, so that the battery in the charge and discharge circuit can charge or discharge the external electronic device according to the rated power of the external electronic device in a low temperature environment, thereby improving the user experience of using the charge and discharge device in a low temperature environment.
[0025] In a possible implementation of the first aspect above, after detecting that the temperature of the battery module of the charge and discharge circuit is less than or equal to the normal temperature threshold, the method also includes: sending a first prompt message; in response to the user confirming the instruction to enter the low-temperature heating mode, controlling the switch module of the charge and discharge circuit to be turned on, and configuring the discharge parameters of the first charge and discharge module in the first path, and configuring the charging parameters of the second charge and discharge module in the second path.
[0026] In a possible implementation of the first aspect, in response to a user confirmation instruction not to enter the low-temperature heating mode, the first charge and discharge module and the second charge and discharge module are controlled to charge or discharge based on preset slow charge and discharge parameters.
[0027] It can be understood that when the user chooses not to enter the low-temperature heating mode in a low-temperature environment, the preset low-temperature charging and discharging parameters can be configured for the first charging and discharging module and the second charging and discharging module based on the user's choice to ensure that the battery of the charging and discharging circuit is slowly charged for the external electronic device according to the preset low-temperature charging and discharging parameters. Based on this, the loss of the charging and discharging circuit can be reduced and the life of the battery of the charging and discharging circuit can be extended.
[0028] In a second aspect, an embodiment of the present application provides a charging and discharging method, which is applied to a charging and discharging circuit, wherein the charging and discharging circuit includes a first path, a second path, a switch module and a battery module; and the first path includes a first port, a first overvoltage protection switch, and a first charging and discharging module connected in sequence, and the second path includes a second port, a second overvoltage protection switch, and a second charging and discharging module connected in sequence, wherein the switch module is connected to the first charging and discharging module and the second charging and discharging module, and the first charging and discharging module and the second charging and discharging module are respectively connected to the battery module; the method includes: detecting a user input to turn on a heating function; setting the first charging and discharging module to discharge, controlling the switch module to turn on, and setting the second charging and discharging module to charge.
[0029] It can be understood that under special circumstances, by configuring the first charge and discharge module for discharge and the second charge and discharge module for charging, the charge and discharge equipment can be quickly heated to achieve the effect of heating the user through the charge and discharge equipment.
[0030] In a possible implementation of the second aspect above, it also includes: in response to the power level selected by the user, based on the power level, configuring the discharge parameters corresponding to the power level for the first charge and discharge module, configuring the charging parameters corresponding to the power level for the second charge and discharge module, so as to enable cyclic heating of the battery module of the charge and discharge circuit.
[0031] It can be understood that the cyclic heating charging and discharging equipment can be based on the power level selected by the user, which can adapt to the different needs of different users.
[0032] In a possible implementation of the second aspect, the method further includes: detecting that the temperature of the battery module reaches a temperature value corresponding to the power level, and stopping cyclic heating of the battery module.
[0033] In a third aspect, an embodiment of the present application provides a charging and discharging circuit, comprising a first path, a second path, a switch module, a control module and a battery module; and the first path comprises a first port, a first overvoltage protection switch, and a first charging and discharging module connected in sequence, and the second path comprises a second port, a second overvoltage protection switch, and a second charging and discharging module connected in sequence, wherein the switch module is connected to the first charging and discharging module and the second charging and discharging module, and the first charging and discharging module and the second charging and discharging module are respectively connected to the battery module; and the control module is used to: detect that the first port is connected to a first electronic device, and the second port in the second path is not externally connected to a second electronic device; control the switch module to be turned on, the first overvoltage protection switch to be turned on, and the second overvoltage protection switch to be turned off, so that the battery module charges or discharges the first electronic device through the first charging and discharging module and the second charging and discharging module, the first overvoltage protection switch, and the first port.
[0034] In a possible implementation of the third aspect above, the charge and discharge circuit also includes a temperature detection module; the temperature detection module is used to: detect the temperature of the battery module of the charge and discharge circuit, and send the temperature of the battery module to the control module; the control module is used to: determine that the temperature of the battery module is less than or equal to the normal temperature threshold; control the switch module of the charge and discharge circuit to be turned on, and configure the discharge parameters of the first charge and discharge module in the first path, and configure the charging parameters of the second charge and discharge module in the second path; enable the first charge and discharge module to start discharging, and enable the second charge and discharge module to start charging; after the temperature of the battery module of the charge and discharge circuit is greater than the normal temperature threshold, control the first charge and discharge module and the second charge and discharge module to charge or discharge based on the rated power of the first electronic device.
[0035] In a possible implementation of the third aspect above, the control module is further used to: configure the charge and discharge power of the first charge and discharge module and the second charge and discharge module based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module, and the sum of the power of the first charge and discharge module and the second charge and discharge module is the first rated charge and discharge power of the first electronic device.
[0036] In a possible implementation of the third aspect above, the control module is further used to: detect that the second port is connected to the second electronic device; control the switch module to disconnect, and the first overvoltage protection switch of the first path and the second overvoltage protection switch of the second path to turn on.
[0037] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing instructions; a processor for executing instructions so that the electronic device implements the charging and discharging method provided by the above-mentioned first aspect and any possible implementation of the first aspect, and the second aspect and any possible implementation of the second aspect.
[0038] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned first aspect and any possible implementation of the first aspect, and the second aspect and any possible implementation of the second aspect to provide a charging and discharging method. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1A According to some embodiments of the present application, a schematic diagram of a scene diagram of a mobile power supply 200 discharging to a mobile phone 300 is shown;
[0040] Figure 1B According to some embodiments of the present application, a schematic diagram of a scenario in which a mobile power source 200 is charged by a fixed power source 500 is shown;
[0041] Figure 2 According to some embodiments of the present application, a schematic diagram of the structure of a charging and discharging circuit 20 is shown;
[0042] Figure 3 According to some embodiments of the present application, a schematic diagram of the structure of a charging and discharging circuit 30 is shown;
[0043] Figure 4 According to some embodiments of the present application, a schematic flow chart of a charging and discharging method is shown;
[0044] Figure 5 According to some embodiments of the present application, a structural schematic diagram of a charging and discharging circuit 30' is shown;
[0045] Figure 6 According to some embodiments of the present application, a working flow diagram of charging and discharging internal cycle heating is shown;
[0046] Figure 7 According to some embodiments of the present application, a schematic diagram of a workflow of a hand warmer function is shown. DETAILED DESCRIPTION
[0047] The illustrative embodiments of the present application include, but are not limited to, a charging and discharging method, a circuit, an electronic device, and a readable storage medium.
[0048] It can be understood that the charging and discharging device applicable to the technical solution of the present application can be any power supply device that can charge other devices, including but not limited to mobile power supplies such as power banks, mobile phones, laptops, tablet computers, etc. The external electronic device applicable to the technical solution of the present application can be any electronic device including a battery or a battery module, including but not limited to mobile phones, tablet computers, wearable devices (such as smart watches, smart bracelets, etc.), vehicle-mounted devices (such as car computers, etc.), Internet of Things devices, smart home devices (such as smart TVs, etc.), etc. For the convenience of description, the following description takes the charging and discharging device as a mobile power supply and the external electronic device as a mobile phone as an example.
[0049] The technical solution of the present application is described below in conjunction with the accompanying drawings.
[0050] Figure 1A and Figure 1B The diagrams respectively show a usage scenario of a charging and discharging device.
[0051] like Figure 1A As shown, the mobile power source 200 is connected to the mobile phone 300 via a data line, and the mobile power source 200 charges the mobile phone 300 via the data line.
[0052] like Figure 1B As shown, the mobile power source 200 and the fixed power source 500 are connected via the charging head 400 and the data line, and the fixed power source 500 charges the mobile power source 200 via the data line and the charging head 400 .
[0053] Figure 2 A schematic structural diagram of a charging and discharging circuit is shown.
[0054] like Figure 2 As shown, Figure 2 A charging and discharging circuit structure 20 of a mobile power supply 200 is shown. Specifically, Figure 2 The charge and discharge circuit 20 includes a discharge port 220, an overvoltage protection switch 221, a discharge output module 222, a discharge port 230, an overvoltage protection switch 231, a discharge output module 232, a charge and discharge port 250, an overvoltage protection switch 251, and a charge and discharge module 252. The charge and discharge port 250 can be used to connect an external power source to charge the mobile power supply 200 with the external power source, and can also be used to connect an external electronic device and charge the external electronic device with the mobile power supply 200.
[0055] It can be understood that the discharge power of the charge-discharge circuit is mainly determined by the discharge module or the voltage and current of the charge-discharge module in the charge-discharge circuit. Figure 2For example, assuming that there is a discharge port 220 to charge an external electronic device, the discharge output module 222 is in a discharge working state. At this time, the discharge power P of the charge and discharge circuit 20 is mainly generated by the discharge output module 222. Assuming that the discharge power generated by the discharge output module 222 is P1, the discharge power P of the charge and discharge circuit 20 is P1, which can be calculated based on formula (1):
[0056] P=P1=U1*I1 (1)
[0057] Wherein, U1 is the operating voltage generated by the discharge output module 222, and I1 is the operating current generated by the discharge output module 222. For example, in some embodiments, U1 is 2.5V, I1 is 2A, and based on formula (1), it can be calculated that the current discharge power generated by the discharge output module 222 is 5W.
[0058] As mentioned above, when the charging power required by the external electronic device connected to the mobile power supply 200 increases, the mobile power supply 200 needs to increase its discharge power. For example, based on formula (1), the discharge power of the mobile power supply 200 can be increased by increasing the working current of the charge and discharge module. However, increasing the working current of the charge and discharge module will increase the heat loss of the charge and discharge module. In order to reduce the heat loss of the charge and discharge module, a power conversion device with higher withstand voltage, current capacity and lower impedance can be added to the mobile power supply 200. The power conversion device can reduce the heat loss of the charge and discharge module while increasing the discharge power of the charge and discharge module.
[0059] However, the power conversion device will increase the size of the charging and discharging circuit, making the overall thickness of the mobile power supply 200 larger, affecting the user experience. That is, the method of increasing the discharge power of the mobile power supply 200 and reducing heat loss based on the power conversion device is not very convenient.
[0060] In order to solve the above problems, a charging and discharging method is provided in an embodiment of the present application, in which a bidirectional switch is added to the charging and discharging circuit of the mobile power supply. When a discharge port (or charging and discharging port) in the mobile power supply charges an external electronic device (such as a terminal device such as a mobile phone), the charging and discharging module (or charging and discharging module) corresponding to the discharge port (or charging and discharging port) provides current to the external electronic device at the port. In order to increase the discharge power of the entire charging and discharging circuit and meet the high charging power requirements of the external electronic device, the discharge module (or charging and discharging module) corresponding to the discharge port (or charging and discharging port) in a non-working state can be controlled to be turned on or off, so that the discharge module (or charging and discharging module) corresponding to the discharge port (or charging and discharging port) in a non-working state also provides current to the discharge port connected to the external electronic device, thereby increasing the discharge power of the entire charging and discharging circuit without increasing the discharge power of a single charging and discharging module, that is, the charging power of the external electronic device can be increased and the heat loss can be reduced without increasing the working current of a single discharge module (or charging and discharging module). In this way, the size of the device in the circuit does not need to be increased, thereby avoiding the situation where the size of the electronic device is too large.
[0061] It can be understood that the above is only explained by taking discharge as an example. The charging and discharging method provided in the present application can also be used to improve the charging efficiency without increasing the size of the electronic device and reducing the heat loss. For example, when a charging port (or charging and discharging port) of a mobile power supply charges the mobile power supply based on an external electronic device (such as an external power supply), when the charging port (or charging and discharging port) is used to charge the charging module (or charging and discharging module) of the mobile power supply, in order to increase the charging power of the entire charging and discharging circuit, the bidirectional switch can be controlled to be turned on or off so that the charging module (or charging and discharging module) corresponding to the charging port (or charging and discharging port) in a non-working state is also charged, thereby increasing the charging power of the entire charging and discharging circuit without increasing the charging power of a single charging module (or charging and discharging module), that is, the charging power of the charging and discharging circuit can be increased and the heat loss can be reduced without increasing the working current of a single charging module (or charging and discharging module). In this way, there is no need to increase the size of the components in the circuit, thereby avoiding the situation where the size of the electronic device is too large.
[0062] It is understood that the charging port, the discharging port or the charging and discharging port may be a TYPE A interface or a TYPE C interface, etc., which is not limited here. Both the TYPE A interface and the TYPE C interface are a USB interface standard, which enables the mobile power supply to charge or discharge an external electronic device by connecting a charging cable through the charging port or the discharging port.
[0063] For example Figure 3 middle, Figure 3FIG. 2 is a schematic diagram showing a charge-discharge circuit 30 to which the charge-discharge method provided in the embodiment of the present application can be applied. Figure 3 In the embodiment, the charge and discharge circuit 30 may include a charge and discharge port 310, an overvoltage protection switch 311, a charge and discharge module 312, a switch module 330, a charge and discharge port 320, an overvoltage protection switch 321, a charge and discharge module 322, a control module 340, and an energy storage battery 350. Among them, the charge and discharge port 310, the overvoltage protection switch 311, and the charge and discharge module 312 are connected in sequence to form a first charge and discharge circuit; the charge and discharge port 320, the overvoltage protection switch 321, and the charge and discharge module 322 are connected in sequence to form a second charge and discharge circuit; a switch module 330 is added between the first charge and discharge circuit and the second charge and discharge circuit, and the switch module 330 is connected to the charge and discharge module 312 and the charge and discharge module 322. It can be understood that the switch module 330 can be composed of two field effect tubes connected in series, and the switch module 330 can be a bidirectional switch, which is not limited here. The overvoltage protection switch can be used to enable the charge and discharge module to charge and discharge normally. When the path current or voltage is too large, the overvoltage protection switch can be disconnected in time to protect the charge and discharge circuit.
[0064] It can be understood that the energy storage battery 350 can also be a battery module, and the battery module can include multiple energy storage batteries 350.
[0065] It can be understood that the control module can be a processor, such as a central processing unit (CPU), a microcontroller unit (MCU), etc., which is not limited here.
[0066] When the charge and discharge port 310 and the charge and discharge port 320 are each connected to an external electronic device for independent charge and discharge, the switch module 330 is in an off state, and the first charge and discharge circuit performs independent charge and discharge based on the charge and discharge module 312, and the second charge and discharge circuit performs independent charge and discharge based on the charge and discharge module 322. It can be understood that when the charge and discharge module 312 and the charge and discharge module 322 are independently discharged, the external electronic device mentioned in this application serves as a power receiving device, and the external electronic device can be a mobile phone, a tablet computer, a laptop computer, a smart wearable device and other electronic devices; when the charge and discharge module 312 and the charge and discharge module 322 are independently charged, the external electronic device mentioned in this application serves as a power supply device, and the external electronic device can be a fixed power supply, or other electronic devices such as laptop computers that have the function of providing external power supply.
[0067] When the charge and discharge port 310 is connected to an external electronic device, and the charge and discharge port 320 is not connected to an external electronic device, the charge and discharge module 322 is not in a working state. Based on this, the switch module 330 can be turned on to realize the parallel connection of the charge and discharge module 322 and the charge and discharge module 312, and then the charge and discharge module 312 and the charge and discharge module 322 can be used together to charge and discharge the external electronic device connected to the charge and discharge port 310. For example, if the charge and discharge power required by the external electronic device connected to the charge and discharge port 310 is P, then based on the charge and discharge port 310, the charge and discharge power P1 can be provided to the external electronic device through the charge and discharge module 312, and the charge and discharge power P2 can be provided to the external electronic device through the charge and discharge module 322, wherein the sum of P1 and P2 is P.
[0068] It can be understood that in some embodiments, when the charge and discharge port 320 is connected to an external electronic device, and the charge and discharge port 310 is not connected to the external electronic device, the charge and discharge module 322 can be connected in parallel with the charge and discharge module 312 through the switch module 330, and then the charge and discharge module 322 and the charge and discharge module 312 can charge and discharge the external electronic device together based on the charge and discharge port 320, which is not limited here.
[0069] It can be understood that the structure of the above-mentioned charging and discharging circuit is only an example. For example, in some charging circuits with multiple charging ports, that is, circuits with multiple charging paths, a bidirectional switch can be set between two adjacent charging paths, and then by controlling the conduction or disconnection of the bidirectional switch, the charging module in the working state and the charging module in the non-working state can be powered based on the same charging port. For another example, in some charging circuits with multiple discharge ports, that is, circuits with multiple discharge paths, a bidirectional switch can be set between two adjacent discharge paths, and then by controlling the conduction or disconnection of the bidirectional switch, the discharge module in the working state and the discharge module in the non-working state can jointly supply power to the external electronic device connected to the discharge port based on the same discharge port. For another example, in some charging circuits with multiple charging and discharging ports, that is, circuits with multiple charging and discharging paths, a bidirectional switch can be set between two adjacent charging and discharging paths, and then by controlling the conduction or disconnection of the bidirectional switch, the charging and discharging module in the working state and the charging and discharging module in the non-working state can jointly charge and discharge the external electronic device connected to the charging and discharging port based on the same charging and discharging port. For another example, in some charging circuits with multiple charging and discharging ports and multiple charging ports, that is, in circuits with multiple charging and discharging paths and charging paths, a bidirectional switch can be set between adjacent charging and discharging paths and charging circuits, and then by controlling the conduction or disconnection of the bidirectional switch, the charging and discharging module (or charging module) in the working state and the charging and discharging module (or charging module) in the non-working state are powered based on the same charging and discharging port (or charging port). For another example, in some charging circuits with multiple charging and discharging ports and multiple discharging ports, that is, in circuits with multiple charging and discharging paths and discharging paths, a bidirectional switch can be set between adjacent charging and discharging paths and discharging circuits, and then by controlling the conduction or disconnection of the bidirectional switch, the charging and discharging module (or discharging module) in the working state and the charging and discharging module (or discharging module) in the non-working state are powered based on the same charging and discharging port (or discharging port) to supply power to an external electronic device. The embodiment of the present application does not specifically limit the charging and discharging circuit structure of the charging and discharging device.
[0070] Understandable, reference Figure 3 , assuming that the discharge power generated by the charge-discharge module 312 is P1, and the discharge power generated by the charge-discharge module 322 is P2. Then the total discharge power P of the charge-discharge circuit 30 can be calculated based on the following formula (2):
[0071] P=P1+P2=(U1*I1)+(U2*I2) (2)
[0072] Wherein, P1 represents the discharge power generated by the charge and discharge module 312, P2 represents the discharge power generated by the charge and discharge module 322, U1 and I1 are respectively the working voltage and working current generated by the charge and discharge module 312, and U2 and I2 are respectively the working voltage and working current generated by the charge and discharge module 322. Assuming that the discharge power of the charge and discharge circuit 30 required by the external electronic device is 10W, in some embodiments, U1 can be set to 2.5V, I1 to 2A, U2 to 2.5V, and I2 to 2A. Based on formula (2), it can be calculated that the discharge power generated by the current charge and discharge circuit is 10W.
[0073] If the switch module 330 is not added, in order to provide 10W to the external electronic device, that is, the charge and discharge circuit needs to output a discharge power of 10W, the charge and discharge circuit 30 can only output a discharge power of 10W to the external electronic device through the charge and discharge module 312. Based on formula (1), when the working voltage U1 of the charge and discharge module 312 is 2.5V, the working current I1 of the charge and discharge module 312 needs to be increased to 4A to output a discharge power of 10W. As the working current of the charge and discharge module 312 increases, the heat loss of the charge and discharge circuit will increase with the increase of the working current, and the heat loss of the entire charge and discharge circuit 30 also increases.
[0074] Therefore, based on the charging and discharging method provided by the present application, it is possible to increase the discharge power of the entire charging and discharging circuit without increasing the power of a single discharge module, that is, to increase the discharge power without increasing the working current of a single discharge module. In addition, by distributing the discharge power to other non-working charging and discharging modules, the heat loss of the charging and discharging circuit is reduced, and the heat dissipation of the entire machine can be made more balanced.
[0075] Similarly, based on the charging and discharging method provided by the present application, it is possible to increase the charging power of the entire charging and discharging circuit without increasing the power of a single charging module, that is, to increase the charging power without increasing the working current of a single charging module. In addition, by allocating the charging power to other non-working charging and discharging modules, the heat loss of the charging and discharging circuit is reduced, and the heat dissipation of the entire machine can be made more balanced.
[0076] It can be understood that the charging and discharging capabilities of the charging and discharging equipment depend on the capabilities of the battery. For example, the mobile power supply 200 generally uses lithium batteries for charging and discharging. The inherent chemical properties of lithium batteries in low temperature environments will cause the charging and discharging capabilities of lithium batteries to decrease in low temperature environments, affecting the charging and discharging speed of the mobile power supply 200 and the charging and discharging power of the charging and discharging equipment.
[0077] In order to solve the above problems, a charging and discharging method is provided in an embodiment of the present application, in which method: the battery temperature of the current mobile power supply can be detected in real time. When it is detected that the battery is in a low temperature environment, for example, below a certain temperature threshold, multiple charging and discharging modules in the mobile power supply can be configured as charging mode or discharging mode respectively, so that a charging and discharging cycle is formed inside the mobile power supply to heat the battery.
[0078] Based on the above scheme, the battery of the mobile power supply (charging and discharging device) can be quickly heated in a low temperature environment, so that the mobile power supply can increase the charging and discharging speed in a low temperature environment, thereby improving the charging and discharging efficiency of the mobile power supply in a low temperature environment.
[0079] Let's first combine Figure 3 The charge and discharge circuit 30 and Figure 4 The flow chart of the charging and discharging method shown in the figure details the charging and discharging method based on power allocation provided in the embodiment of the present application.
[0080] Specifically, Figure 4 According to the charging and discharging method provided in the embodiment of the present application, a flow chart of a charging and discharging method is shown. The method can be performed by a charging and discharging device. The specific charging and discharging process in the method includes:
[0081] It can be understood that port C1 can be Figure 3 The charging and discharging port 310 shown in FIG. 1 may be a charging and discharging port 310, and the port C2 ... Figure 3 The charging and discharging port 320 shown in FIG. 1 is not limited here.
[0082] S101: Detecting that a first external electronic device is plugged into port C1.
[0083] In some embodiments, it is detected that a first external electronic device is plugged into port C1, and port C1 may be Figure 3 The charging and discharging port 310 is shown in FIG.
[0084] S102: Detect whether a second external electronic device is plugged into port C2.
[0085] In some embodiments, when it is detected that a first external electronic device is plugged into port C1, it is further detected whether a second external electronic device is plugged into port C2. Port C2 may be Figure 3 The charging and discharging port 320 shown in FIG.
[0086] If it is detected that a second external electronic device is plugged into the port C2, the process goes to step S103, that is, the switch module 330 is turned off, and the overvoltage protection switch 311 and the overvoltage protection switch 321 are turned on.
[0087] If it is detected that no second external electronic device is plugged into the port C2, the process goes to step S109, that is, the overvoltage protection switch 311 is turned on, the overvoltage protection switch 321 is turned off, and the switch module 330 is turned on.
[0088] It is understandable that the detection of whether the second external electronic device is plugged into the port C2 may be performed in real time, periodically, or randomly, without limitation.
[0089] It can be understood that when a second external electronic device is plugged into the detection port C2, switching between independent charging and discharging and parallel charging and discharging can be triggered.
[0090] S103: Control the switch module 330 to be turned off, and the overvoltage protection switch 311 and the overvoltage protection switch 321 to be turned on.
[0091] In some embodiments, when port C1 is connected to a first external electronic device, and port C2 is connected to a second external electronic device, at this time, the switch module 330 is in an off state, and the overvoltage protection switch 311 corresponding to the charge and discharge port 310 and the overvoltage protection switch 321 corresponding to the charge and discharge port 320 are both turned on. It can be understood that the overvoltage protection switch 311 and the overvoltage protection switch 321 can be used to respectively perform overvoltage protection on the charge and discharge module 312 and the charge and discharge module 322, and prevent the charge and discharge circuit 30 from backflow, that is, to prevent the voltage or current from being reversely input or output.
[0092] S104: Identify the types of external electronic devices plugged into the ports C1 and C2.
[0093] In some embodiments, the port may determine the type of the external electronic device based on an InterCircuit (IC) protocol of the external electronic device connected thereto.
[0094] For example, when port C1 is connected to the first external electronic device, port C1 can determine the type of the first external electronic device based on the protocol IC of the first external electronic device. For example, in some embodiments, the type of the first external electronic device is determined based on the device identifier in the protocol IC of the first external electronic device being source. For example, when the device identifier is source, the type of the first external electronic device is a powered device, that is, it is necessary to discharge to the first external electronic device based on the charge and discharge module 312 corresponding to port C1. When the device identifier is sink, the type of the first external electronic device is a power supply device, that is, it is necessary to charge the charge and discharge module 322 corresponding to port C1 based on the first external electronic device.
[0095] For another example, when port C2 is connected to a second external electronic device, port C2 can determine the type of the second external electronic device based on the protocol IC of the second external electronic device. For example, in some embodiments, the type of the second external device is determined based on the device identifier in the protocol IC of the second external electronic device. For example, when the device identifier is source, the type of the second external electronic device is a powered device, that is, it is necessary to discharge to the second external electronic device based on the charge and discharge module 322 corresponding to port C2. When the device identifier is sink, the type of the second external electronic device is a power supply device, that is, it is necessary to charge the charge and discharge module 322 corresponding to port C2 based on the second external electronic device.
[0096] S105: configuring charging and discharging parameters such as voltage and current of the first path and the second path, and the external electronic device connected to the port C1 and the port C2 performs independent charging or discharging.
[0097] In some embodiments, after port C1 determines the type of the first external device connected to it, port C1 can determine the charging and discharging requirements of the first external electronic device based on the type of the first external device, such as charging and discharging current, charging and discharging voltage, frequency, etc., and then the charging and discharging module 312 can configure the first path, i.e., the first charging and discharging parameters required for the charging and discharging module 312 to charge and discharge the first external electronic device based on the charging and discharging requirements of the first external electronic device. It can be understood that the first charging and discharging parameters may include the charging and discharging current, charging and discharging voltage, and charging and discharging frequency required to charge and discharge the first external electronic device. Based on this, the first external electronic device connected to port C1 can be independently charged or discharged based on the charging and discharging module 312.
[0098] For example, if 50 W of power needs to be supplied to the first external electronic device, the charge-discharge module 312 discharges 50 W to the first external electronic device independently based on the charge-discharge port 310 .
[0099] In some embodiments, after port C2 determines the type of the second external device connected to it, port C2 can determine the charging and discharging requirements of the second external electronic device based on the type of the second external electronic device, such as charging and discharging current, charging and discharging voltage, frequency, etc., and then the charging and discharging module 322 can configure the second path, i.e., the second charging and discharging parameters required for the charging and discharging module 322 to charge and discharge the second external electronic device based on the charging and discharging requirements of the second external electronic device. It can be understood that the second charging and discharging parameters may include the charging and discharging current, charging and discharging voltage, and charging and discharging frequency required to charge and discharge the second external electronic device. Based on this, the second external electronic device connected to port C2 can be independently charged or discharged based on the charging and discharging module 322.
[0100] For example, if 20 W of power needs to be supplied to the second external electronic device, the charge-discharge module 322 discharges 20 W to the second external electronic device independently based on the charge-discharge port 320 .
[0101] S106: Determine whether an external electronic device has been removed from port C1 or port C2 or whether charging or discharging has been completed.
[0102] In some embodiments, during the process of independent charging and discharging of the first external electronic device based on port C1, and during the process of independent charging and discharging of the second external electronic device based on port C2, it is possible to detect in real time whether port C1 is disconnected from the first external electronic device or port C2 is disconnected from the second external electronic device; and to detect in real time whether the charging and discharging of the first external electronic device or the charging and discharging of the second external electronic device is completed.
[0103] If the first external electronic device is disconnected from the port C1 or the first external electronic device is completely charged and discharged, and the second external electronic device is in a normal charging and discharging state; or, the second external electronic device is disconnected from the port C2 or the second external electronic device is completely charged and discharged, and the first external electronic device is in a normal charging and discharging state, go to step S107.
[0104] For example, when port C1 is connected to a first external electronic device and port C2 is connected to a second external electronic device, and both are in an independent charging state, it is detected that port C1 is disconnected from the first external electronic device and port C2 is normally connected to the second external electronic device, or it is detected that port C1 is normally connected to the first external electronic device and port C2 is disconnected from the second external electronic device, then go to step S107.
[0105] For another example, when port C1 is connected to a first external electronic device and port C2 is connected to a second external electronic device, and both are in independent discharge states, it is detected that the first external electronic device has completed discharging, while the second external electronic device is still in the process of discharging, or it is detected that the second external electronic device has completed discharging, while the first external electronic device is still in the process of discharging, then the process goes to step S107.
[0106] Otherwise, continue to detect in real time whether the external electronic device connected to the port C1 or the port C2 is removed or charging and discharging is completed.
[0107] S107: Control the overvoltage protection switch 311 or the overvoltage protection switch 321 to be turned off, and the switch module 330 to be turned on.
[0108] In some embodiments, if the first external electronic device is disconnected from the port C1 or the first external electronic device is charged and discharged, the overvoltage protection switch 311 is controlled to be disconnected and the switch module 330 is turned on, that is, the first external electronic device stops charging and discharging, and only the second external electronic device continues to charge and discharge.
[0109] In some embodiments, if the second external electronic device is disconnected from port C2 or the second external electronic device completes charging and discharging, the overvoltage protection switch 321 is disconnected and the switch module 330 is turned on, that is, the second external electronic device stops charging and discharging, and only the first external electronic device continues charging and discharging.
[0110] S108: reconfigure the charging and discharging parameters such as voltage and current of the first path and the second path, and perform parallel charging and discharging of the external electronic device based on the charging and discharging module 312 and the charging and discharging module 322 until it is fully charged.
[0111] In some embodiments, when the first external electronic device is disconnected from the port C1 or the first external electronic device is charged and discharged, the overvoltage protection switch 311 is disconnected and the switch module 330 is turned on. At this time, the charge and discharge module 312 stops charging and discharging the first external electronic device, while the charge and discharge port 322 normally charges and discharges the second external electronic device. Based on this, the first charge and discharge parameters of the first path, i.e., the charge and discharge module 312, and the second charge and discharge parameters of the second path, i.e., the charge and discharge module 322, are reconfigured. Since the switch module 330 is turned on, the charge and discharge module 312 and the charge and discharge module 322 can be made to charge and discharge the second external electronic device together through the port C2 until it is fully charged.
[0112] In some embodiments, different parameters such as operating current and operating voltage can be allocated to different charging and discharging modules according to at least one of the power capabilities and operating losses (i.e., losses generated in the operating mode) of the different charging and discharging modules.
[0113] For example, based on the respective power capabilities of the charge and discharge module 312 and the charge and discharge module 322, the charge and discharge module 312 and the charge and discharge module 322, based on the charge and discharge port 320, simultaneously discharge the second external electronic device connected to the charge and discharge port 320. For example, if 100W of power is required to be supplied to the second external electronic device, if the power capabilities and losses of the charge and discharge module 312 and the charge and discharge module 322 are equal or nearly the same (within a preset difference range), the charge and discharge module 312 and the charge and discharge module 322 can be respectively configured to discharge 50W (25V 2A) outward; if the power capability gap or loss gap between the charge and discharge module 312 and the charge and discharge module 322 is large, the charging parameters can be configured according to the ratio of the power capability or loss capability of the charge and discharge module 312 and the charge and discharge module 322. For example, the greater the power capability or the greater the working loss, the greater the allocated power. For example, if the ratio of the maximum configuration power of the charge-discharge module 312 to the charge-discharge module 322 is 6:4, the charge-discharge module 312 can be configured to discharge 60W (20V 3A) and the charge-discharge module 322 can be configured to discharge 40W (20V 2A). For example, if the ratio of the working loss of the charge-discharge module 312 to the charge-discharge module 322 is 6:4, the charge-discharge module 312 can be configured to discharge 60W (20V 3A) and the charge-discharge module 322 can be configured to discharge 40W (20V 2A), etc., to achieve the parameter configuration of the thermal design balance and the best efficiency of the whole machine.
[0114] In some embodiments, the allocated power corresponding to the charging and discharging modules 312 and 322 can also be jointly configured based on the power capabilities or loss capabilities of the charging and discharging modules 312 and 322, for example, different weights can be assigned to the power capabilities or loss capabilities, and the final allocated power can be determined based on the weights.
[0115] Among them, the parameter configuration scheme in the scenario of charging the charging and discharging device through the second external electronic device can refer to the parameter configuration scheme in the above-mentioned discharge scenario, which will not be repeated here. In some embodiments, when the second external electronic device is disconnected from port C2 or the second external electronic device is charged and discharged, the overvoltage protection switch 321 is disconnected and the switch module 330 is turned on. At this time, the charging and discharging module 322 stops charging and discharging to the second external electronic device, and the charging and discharging port 312 normally charges and discharges to the first external electronic device. Based on this, the first charging and discharging parameters of the first channel, i.e., the charging and discharging module 312, and the second charging and discharging parameters of the second channel, i.e., the charging and discharging module 322, are reconfigured. Since the switch module 330 is turned on, it is possible to make the charging and discharging module 312 and the charging and discharging module 322 charge and discharge the first external electronic device together through port C1.
[0116] The parameter configuration scheme of the charging and discharging module 312 and the charging and discharging module 322 refers to the scheme when the first external electronic device is disconnected from the port C1 or the charging and discharging of the first external electronic device is completed, and will not be repeated here.
[0117] S109: Control the overvoltage protection switch 311 or the overvoltage protection switch 321 to be turned off, and the switch module 330 to be turned on.
[0118] In some embodiments, following the above step S102, when port C1 is connected to a first external electronic device, it is detected that port C2 is not connected to a second external electronic device. Based on this, the overvoltage protection switch 311 and the overvoltage protection switch 321 are turned off, and the switch module 330 is turned on. That is, at this time, only the charge and discharge module 312 corresponding to port C1 is in a working state, while the charge and discharge module 322 corresponding to port C2 is not in a working state.
[0119] S110: Identify the type of the external electronic device plugged into the port C1.
[0120] In some embodiments, corresponding to the first external electronic device connected to only port C1, port C1 can determine the type of the first external electronic device based on the protocol IC of the first external electronic device, for example, based on the device identifier in the protocol IC of the first external electronic device being source, the first external device is determined to be a powered device, that is, it is necessary to discharge to the first external electronic device based on the charge and discharge module 312 corresponding to port C1. For another example, based on the device identifier in the protocol IC of the first external electronic device being sink, the first external device is determined to be a powered device, that is, it is necessary for the first external electronic device to charge the charge and discharge module 312 based on port C1.
[0121] S111: configuring the charging and discharging parameters such as voltage and current of the first path and the second path, and the external electronic device connected to the port C1 starts parallel charging or discharging.
[0122] In some embodiments, since the switch module 330 is turned on, the charge and discharge module 312 and the charge and discharge module 322 are connected in parallel, and further, based on the determined type of the first external electronic device, the first charge and discharge parameters of the first path, i.e., the charge and discharge module 312, and the second charge and discharge parameters of the second path, i.e., the charge and discharge module 322, can be configured. Then, the charge and discharge module 312 and the charge and discharge module 322 can charge and discharge the first external electronic device connected to the port C1 based on their respective charge and discharge parameters.
[0123] The parameter configuration scheme of the charging and discharging module 312 and the charging and discharging module 322 refers to the scheme described in the above step S108, which will not be repeated here.
[0124] S112: Detect whether a second external electronic device is plugged into port C2.
[0125] In some embodiments, when port C1 is connected to a first external electronic device, and the charging and discharging module 312 and the charging and discharging module 322 jointly charge and discharge the first external electronic device connected to port C1 based on port C1, it is detected in real time whether a second external electronic device is plugged into port C2. If it is detected that a second external electronic device is plugged into port C2, the process goes to step S103, that is, the switch module 330 is controlled to be disconnected, and the overvoltage protection switch 311 and the overvoltage protection switch 321 are turned on. Otherwise, the process goes to step S113, and the first external electronic device connected to port C1 continues to be charged and discharged in parallel based on the charging and discharging module 312 and the charging and discharging module 322.
[0126] It is understandable that the detection of whether the second external electronic device is plugged into the port C2 may be performed in real time, periodically, or randomly, without limitation.
[0127] It can be understood that step S112 can be performed before or after any step, and once the second external electronic device is detected to be plugged into the port C2, the switching between independent charging and discharging and parallel charging and discharging will be triggered.
[0128] S113: Continue to charge and discharge the external electronic device connected to port C1 in parallel until it is fully charged.
[0129] In some embodiments, when port C1 is connected to a first external electronic device and the charging and discharging module 312 and the charging and discharging module 322 jointly charge and discharge the first external electronic device connected to port C1 based on port C1, if no second external electronic device is detected to be inserted into port C2, the charging and discharging module 312 and the charging and discharging module 322 continue to charge and discharge the first external electronic device connected to port C1 based on port C1 until it is fully charged.
[0130] Based on the charging and discharging method provided by the present application, it is possible to increase the discharge power of the entire charging and discharging circuit without increasing the power of a single discharge module, that is, to increase the discharge power without increasing the working current of a single discharge module. In addition, by allocating the discharge power to other non-working charging and discharging modules, the heat loss of the charging and discharging circuit is reduced, and the heat dissipation of the entire machine can be made more balanced.
[0131] That is, when the external electronic device is at rated power, the power can be distributed by using multiple charging and discharging modules to charge and discharge the external electronic device while effectively reducing the loss.
[0132] For example, in some embodiments, assuming that the power required by the external electronic device is 100W, and the external electronic device is connected to C1, the external electronic device connected to the port C1 is charged by the charge and discharge module 312 at a voltage and current of 20V 5A. Assuming that only DC loss is considered and the impedance is 200mΩ, the path loss P0 of the charge and discharge module 312 is I2R = 5*5*200 = 5W, and the charging efficiency Pn = (100W-5W) / 100W = 95%.
[0133] If the two charging and discharging modules mentioned in this application are connected in parallel for charging, and 50W power is allocated to each of the two paths at a ratio of 1:1, then the voltage and current of each path are both 20V 2.5A. The single-path loss of the charging and discharging module 312 and the charging and discharging module 322 is P0=I2R=2.5*2.5*200=1.25W, and the total loss of the two paths is 2.5W. The charging efficiency of the two paths in parallel is Pn=(100W-2.5W) / 100W=97.5%, which is 2.5W lower than the loss when only the charging and discharging module 312 performs a single-path 100W operation, and the efficiency is increased by 2.5%.
[0134] As mentioned above, in order to solve the problem that in a low temperature environment, the charging and discharging capacity of the mobile power supply (charging and discharging device) will decrease with the capacity of the battery in the low temperature environment, thereby causing the charging and discharging speed of the mobile power supply to decrease, affecting the charging and discharging power of the mobile power supply.
[0135] A charging and discharging method is provided in an embodiment of the present application, in which: by detecting the current battery temperature of a mobile power supply, when it is detected that the battery temperature of the mobile power supply is lower than a normal temperature threshold, multiple charging and discharging modules in the mobile power supply can be respectively configured to a charging state or a discharging state, so that a charging and discharging cycle is formed inside the mobile power supply to heat the battery, thereby improving the charging and discharging speed and power of the mobile power supply.
[0136] For example Figure 5 middle, Figure 5 FIG. 2 is a schematic diagram showing a charge-discharge circuit 30' to which the charge-discharge method provided in the embodiment of the present application can be applied. Figure 5 In the embodiment, the charge and discharge circuit 30' may include a charge and discharge port 310, an overvoltage protection switch 311, a charge and discharge module 312, a switch module 330, a charge and discharge port 320, an overvoltage protection switch 321, a charge and discharge module 322, a control module 340, an energy storage battery 350 and a temperature detection module 360. It can be understood that the switch module 330 may be composed of two field effect transistors in series. The temperature detection module 360 can monitor in real time whether the temperature of the current energy storage battery 350 is lower than the normal temperature threshold. Figure 5 The charge and discharge circuit 30' and Figure 6The schematic flow chart of the charging and discharging method shown in the figure details the charging and discharging method provided in the embodiment of the present application.
[0137] Figure 6 A schematic flow chart of a charging and discharging method is shown. The charging and discharging method can heat the charging and discharging device by means of an internal cycle. The charging and discharging method can be executed by a control module in the charging and discharging device. The specific flow of the charging and discharging method may include:
[0138] S201: Detecting that an external electronic device is plugged into port C1 or port C2.
[0139] In some embodiments, it is detected that an external electronic device is plugged into port C1 or an external electronic device is plugged into port C2.
[0140] It is understandable that in some embodiments, when an external electronic device is plugged into the charging and discharging port, the temperature of the energy storage battery 350 of the charging and discharging circuit may be detected.
[0141] It can be understood that in other embodiments, when no external electronic device is plugged into the charging and discharging port, the temperature of the energy storage battery 350 of the charging and discharging circuit can be detected in real time or periodically, and when it is detected that the temperature of the energy storage battery 350 of the charging and discharging circuit is lower than the normal temperature threshold, the discharge parameters of the charging and discharging module 312 are configured to discharge and the charging parameters of the charging and discharging module 322 are configured to charge to perform internal circulation heating for the energy storage battery 350. Based on this, when an external electronic device is plugged into the charging and discharging port, it can be charged or discharged directly based on the charging and discharging power of the external electronic device, saving the time for performing internal circulation heating for the energy storage battery 350.
[0142] S202: Detecting that the energy storage battery 350 is in a low temperature state, a reminder is issued.
[0143] In some embodiments, the temperature detection module 360 can monitor the temperature of the energy storage battery 350 in real time, and feed back the temperature detection result to the control module 340. When the control module 340 detects that the temperature of the energy storage battery 350 is in a low temperature state, for example, less than the normal temperature threshold, the control module 340 can issue a reminder. The reminder information can be that the control module 340 controls the indicator light of the charging and discharging device to be displayed in red, so as to remind the user that the battery of the current charging and discharging device is in a low temperature state.
[0144] S203: Determine whether the energy storage battery 350 enters the low-temperature heating mode.
[0145] In some embodiments, the processor can determine whether to enter the low-temperature heating mode for the energy storage battery 350 based on whether the temperature of the energy storage battery 350 monitored in real time by the temperature detection module 360 is lower than a preset temperature threshold. If the temperature of the energy storage battery 350 is lower than the preset temperature threshold, it is proved that the low-temperature heating mode is required.
[0146] In some embodiments, when the control module 340 determines that it is necessary to enter the low-temperature heating mode, it may send an instruction to the user to confirm whether to enter the low-temperature heating mode. If it is detected that the user determines to control the energy storage battery 350 to enter the low-temperature heating mode, the control module 340 controls the energy storage battery 350 to enter the low-temperature heating mode based on the user confirmation instruction, and then turns to step S204, that is, the control module 340 can configure the charge and discharge module 312 to the discharge state and configure the charge and discharge parameters for the charge and discharge module 312. If the user determines not to make the energy storage battery 350 enter the low-temperature heating mode, the processor sends a control to control the energy storage battery 350 not to enter the low-temperature heating mode, and then turns to step S210, that is, the control module 340 can configure the charge and discharge module 312 and the charge and discharge module with low-temperature charge and discharge parameters.
[0147] In some embodiments, the control module may also automatically enter the low-temperature heating mode upon detecting that the energy storage battery 350 is in a low-temperature state.
[0148] S204: configure the charge-discharge module 321 to discharge, and configure parameters such as discharge voltage and discharge current.
[0149] In some embodiments, corresponding to the control module 340 determining that the energy storage battery 350 has entered the low-temperature heating mode, the control module 340 can configure the charge and discharge module 312 to a discharge state and configure discharge parameters for the charge and discharge module 312, such as discharge voltage and discharge current.
[0150] In some embodiments, different parameters such as operating current and operating voltage can be allocated to different charging and discharging modules according to the power capabilities of different charging and discharging modules. For example, based on the power capability of the charging and discharging module 312, the charging and discharging module 312 is configured to discharge 40W (20V2A) externally, which is not limited here.
[0151] S205: Control the switch module 330 to turn on.
[0152] In some embodiments, the control module 340 controls the switch module 330 to be turned on, so that the charge and discharge module 312 and the charge and discharge module 322 can be connected.
[0153] S206: The charging and discharging module 322 is configured to charge, and configures parameters such as charging voltage and charging current.
[0154] In some embodiments, the control module 340 may configure the charge and discharge module 322 to a charging state, and configure parameters such as a charging voltage and a charging current for the charge and discharge module 322 .
[0155] In some embodiments, different parameters such as operating current and operating voltage can be allocated to different charging and discharging modules according to their power capabilities. For example, based on the power capability of the charging and discharging module 322, the charging and discharging module 312 is configured to receive 40W (20V 2A), which is not limited here.
[0156] S207: enabling the charge-discharge module 312 and the charge-discharge module 322 to start charging and discharging.
[0157] In some embodiments, corresponding to the switch module 330 being turned on, and the processor 240 having configured the charge and discharge module 312 to be in a discharging state and the charge and discharge module 322 to be in a charging state, the control module 340 may further enable the charge and discharge modules 312 and 322 to start working, and the charge and discharge modules 312 and 322 and the energy storage battery 350 may form an internal charge and discharge cycle, and based on the internal charge and discharge cycle, the energy storage battery 350 may be heated.
[0158] S208: Determine whether the temperature of the energy storage battery 350 reaches a normal temperature threshold.
[0159] In some embodiments, in the process of the charge and discharge module 322 and the energy storage battery 350 forming an internal charge and discharge cycle to heat the energy storage battery 350, the temperature detection module 360 can detect the temperature of the energy storage battery 350 in real time and feed back the result to the control module 340. The control module 340 can determine whether the temperature of the energy storage battery 350 is greater than or equal to a preset normal temperature threshold based on the result fed back by the temperature detection module 360. If so, go to step S209, that is, adjust the charge and discharge parameters of the charge and discharge module 312 and the charge and discharge module 322 through the control module 340 so that the energy storage battery 350 can support entering the fast charge and discharge mode.
[0160] Otherwise, continue to monitor in real time and determine whether the temperature of the energy storage battery 350 reaches the preset normal temperature threshold.
[0161] It can be understood that the temperature of the energy storage battery 350 can be monitored in real time to determine whether the temperature of the energy storage battery 350 reaches the preset normal temperature threshold, or the temperature of the energy storage battery 350 can be detected at a certain period to determine whether the temperature of the energy storage battery 350 reaches the preset normal temperature threshold.
[0162] S209: adjusting the charging and discharging parameters of the charging and discharging module 312 and the charging and discharging module 322, and performing charging or discharging based on the rated power of the external electronic device.
[0163] In some embodiments, when the temperature of the energy storage battery 350 has reached the preset normal temperature threshold, the low temperature heating mode is terminated, and the first charge and discharge module and the second charge and discharge module are controlled to charge or discharge based on the rated power of the external electronic device. Specifically, based on the rated charge and discharge power required by the external electronic device, the control module 340 adjusts the charge and discharge voltage, charge and discharge current and other parameters of the charge and discharge module 312 based on the rated charge and discharge power required by the external electronic device, and adjusts the charge and discharge voltage, charge and discharge current and other parameters of the charge and discharge module 322, so that the charge and discharge module can charge and discharge the external electronic device based on the adjusted charge and discharge parameters. For example, in some embodiments, the rated power required by the external electronic device is 30W. Based on the power capabilities of the charge and discharge modules 312 and 322, the charge and discharge module 312 can be configured to discharge 20W (10V 2A) outward, and the charge and discharge module 322 can be configured to discharge 10W (5V2A) outward, which is not limited here.
[0164] It is understood that when the energy storage battery 350 reaches the preset normal temperature threshold, the above Figure 4 Steps S102-S113 are used to perform the subsequent charging and discharging process.
[0165] S210: The charging and discharging module 321 and the charging and discharging module 322 perform charging or discharging based on preset slow charging and discharging parameters.
[0166] In some embodiments, following the above step S203, when the control module 340 detects that the low-temperature heating mode is not turned on due to the user's choice to determine not to enter the low-temperature heating mode or other abnormal conditions, but the current temperature of the energy storage battery 350 is less than the normal temperature threshold and is in a low-temperature state, that is, the current charging and discharging capacity of the energy storage battery 350 decreases and cannot support fast charging, the control module 340 can configure low-temperature charging and discharging parameters for the charging and discharging module 312 and the charging and discharging module 322, that is, preset slow charging and discharging parameters, so that they enter the low-temperature charging and discharging mode and perform slow charging and discharging. It can be understood that different parameters such as working current and working voltage can be allocated to different charging and discharging modules according to the power capacity of different charging and discharging modules.
[0167] Based on the above scheme, when it is detected that the temperature of the battery is lower than the normal temperature threshold, the multiple charging and discharging modules can be configured as a charging state or a discharging state through the processor, so that a charging and discharging cycle can be formed between the multiple charging and discharging modules and the battery, thereby heating the battery, thereby improving the charging and discharging capacity of the battery, and further improving the charging and discharging speed and power of the mobile power supply.
[0168] In some embodiments, in a low temperature environment, the above-mentioned internal circulation heating can be used to enable the charging and discharging device to have a hand warmer function, and the hand warmer characteristic function setting can be selected according to user needs. For example, the charging and discharging device can be provided with a button corresponding to the hand warmer function, so that the user can turn on the hand warmer function of the charging and discharging device through the button corresponding to the hand warmer function on the charging and discharging device, that is, enter the charging and discharging internal circulation mode. For example, the charging and discharging module 312 can be configured to the discharge mode, the switch module 330 is turned on, and then the charging and discharging module 322 can be configured to the charging mode.
[0169] It can be understood that the hand warmer function includes different hand warmer power levels, and the corresponding hand warmer power level can be selected according to user needs. Then, the control module 340 in the charging and discharging device can configure different power charging and discharging parameters for the charging and discharging module 312 and the charging and discharging module 322 based on the hand warmer power level selected by the user.
[0170] It can be understood that different charging and discharging powers have different power consumption, and different power consumptions will generate different amounts of heat and heating time, which will produce different levels of heat.
[0171] It is understood that in some embodiments, the shell temperature sensor of the charging and discharging device (such as the mobile power supply 200) can also be used to detect the shell temperature of the charging and discharging device, and then the shell temperature is fed back to the control module for power regulation to maintain the stability of the shell temperature of the charging and discharging device. It is understood that in some embodiments, the temperature detection module of the charging and discharging device (such as the mobile power supply 200) can also be used to detect the temperature of the energy storage battery of the charging and discharging device, and then the temperature of the energy storage battery is fed back to the control module for power regulation.
[0172] Let's first combine Figure 5 The charge and discharge circuit 30' and Figure 7 The schematic flow chart of the charging and discharging method shown in the figure details the charging and discharging method provided in the embodiment of the present application.
[0173] Figure 7 A schematic flow chart of a charging and discharging method is shown. The charging and discharging method can realize the hand warmer function of the charging and discharging device by means of an internal cycle. The charging and discharging method can be executed by a processor in the charging and discharging device. The specific flow of the charging and discharging method may include:
[0174] S301: Select to enter the hand warmer function.
[0175] In some embodiments, the user can select a corresponding hand warmer function selection button on the charging and discharging device, and the control module 340 can control the mobile power 200 to turn on the hand warmer function in response to the hand warmer function button selected by the user.
[0176] It is understandable that the user can select the mobile power supply 200 to turn on the hand warmer function through the buttons, touch screen or third-party device of the mobile power supply 200, and can further select the power level of the hand warmer in the above manner, which is not limited here.
[0177] S302: configure the charge-discharge module 321 to discharge.
[0178] In some embodiments, in response to the mobile power supply 200 entering the hand warmer mode, the control module 340 may configure the charge and discharge module 312 to a discharge state and configure parameters corresponding to the discharge mode for the charge and discharge module 312 .
[0179] S303: Control the switch module 330 to turn on.
[0180] In some embodiments, the control module 340 controls the switch module 330 to be turned on, so that the charge and discharge module 312 and the charge and discharge module 322 can be connected.
[0181] S304: Configure the charge-discharge module 322 to charge.
[0182] In some embodiments, corresponding to the mobile power supply 200 entering the hand warmer mode, the charge and discharge module 312 has been configured to the discharge state, then the control module 340 can further configure the charge and discharge module 322 to the charging state and configure the parameters corresponding to the charging mode for the charge and discharge module 322.
[0183] S305: Obtain the power level of the hand warmer selected by the user, and configure the internal cycle charging and discharging voltage and current parameters.
[0184] In some embodiments, the mobile power supply 200 can support different hand warmer power levels. For example, the mobile power supply 200 can include three hand warmer power levels of 15W, 20W and 35W, wherein the charging and discharging parameters corresponding to these three hand warmer power levels are different. Furthermore, the control module 340 can configure the corresponding discharge voltage, discharge current and other parameters for the charging and discharging module 312 based on the hand warmer power level selected by the user, and configure the corresponding charging voltage, charging current and other parameters for the charging and discharging module 322.
[0185] The charging parameters and discharging parameters corresponding to different levels may be pre-stored in the charging and discharging device, and may also be determined based on the rated configuration of each charging and discharging module, such as power configuration, etc. S306: Start the internal circulation working mode of the hand warmer.
[0186] In some embodiments, based on that the discharge parameters of the charge and discharge module 312 and the charging parameters of the charge and discharge module 322 have been configured, the control module 340 can further send a control instruction to the charge and discharge module 312 and the charge and discharge module 322 to start the internal cycle of charge and discharge, so as to start the hand warmer internal cycle working mode of the mobile power supply 200.
[0187] S307: Determine whether to adjust the power level.
[0188] In some embodiments, when the mobile power source 200 is operating in the hand warmer internal circulation working mode, the control module 340 can detect in real time whether the hand warmer power level of the mobile power source 200 needs to be adjusted. If the user changes the hand warmer power level of the mobile power source 200 by pressing a button, for example, from 35W to 25W, then go to step S308 to reselect the hand warmer power level. Otherwise, go to step S310, that is, continue to heat the battery 350 in the internal circulation based on the above-configured charge and discharge parameters, and maintain the current hand warmer power level.
[0189] S308: Reselect the power level of the hand warmer.
[0190] In some embodiments, if the user changes the hand warmer power level of the mobile power supply 200 by pressing a button, for example, from 35W to 25W, the control module 340 controls the charge and discharge parameters of the charge and discharge modules 312 and 322 based on the adjusted hand warmer power level.
[0191] S309: Adjust the charge and discharge curve.
[0192] In some embodiments, based on the adjusted hand warmer power level, the charge and discharge curves corresponding to the charge and discharge parameters of the discharge module 312 and the charge and discharge module 322 will be adjusted to the charge and discharge curves corresponding to the current hand warmer power level.
[0193] S310: Continue to heat the energy storage battery 350 in an internal cycle.
[0194] In some embodiments, the charge and discharge module 312 and the charge and discharge module 322 can continue to perform charge and discharge internal cycle heating on the energy storage battery 350 based on the hand warmer power level selected by the user by the current control module 340 .
[0195] S311: Detect whether the temperature reaches the set power level temperature value.
[0196] In some embodiments, during the process of internal circulation heating of the energy storage battery 350, the temperature of the energy storage battery 350 can be detected by the temperature detection module 360, and the detection result can be fed back to the control module 340. The control module 340 determines whether the temperature of the energy storage battery 350 reaches the temperature value corresponding to the currently selected hand warmer power level based on the current temperature of the energy storage battery 350. If it reaches, go to step S312, that is, the charge and discharge module 312 and the charge and discharge module 322 stop the charge and discharge internal circulation heating; otherwise, go to step S310, that is, continue to charge and discharge the energy storage battery 350 The internal circulation heating is continued until the set hand warmer power level temperature value is reached.
[0197] S312: Stop internal circulation heating.
[0198] In some embodiments, based on the temperature of the energy storage battery 350 having reached the temperature value corresponding to the currently selected hand warmer power level, the control module 340 may control the charge and discharge module 312 and the charge and discharge module 322 to stop the charge and discharge internal cycle heating.
[0199] Based on the above scheme, by configuring the charge and discharge state of the internal charge and discharge module, the charge and discharge internal cycle of the charge and discharge circuit is realized, the heat loss of the charge and discharge device (such as a mobile power supply) itself is increased, and the battery is heated in a low temperature environment so that the charge and discharge device can quickly enter a fast charge and discharge state in a low temperature environment. In addition, based on the fact that the mobile power supply can have an autonomous and controllable heating characteristic, it can act as a hand warmer product, which can meet the user's heating needs in a low temperature environment.
[0200] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0201] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0202] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.
Claims
1. A charging and discharging method, characterized in that: Applicable to a charge and discharge circuit, the charge and discharge circuit comprising a first path, a second path, a switch module and a battery module; and The first path includes a first port, a first overvoltage protection switch, and a first charge-discharge module connected in sequence, and the second path includes a second port, a second overvoltage protection switch, and a second charge-discharge module connected in sequence, wherein the switch module is connected to the first charge-discharge module and the second charge-discharge module, and the first charge-discharge module and the second charge-discharge module are respectively connected to the battery module; The method comprises: It is detected that the first port is connected to a first electronic device, and the second port in the second path is not externally connected to a second electronic device; The switch module is controlled to be turned on, the first overvoltage protection switch is controlled to be turned on, and the second overvoltage protection switch is controlled to be turned off, so that the battery module charges or discharges the first electronic device through the first charging and discharging module and the second charging and discharging module, the first overvoltage protection switch, and the first port.
2. The method according to claim 1, characterized in that The method further comprises: The charge and discharge power of the first charge and discharge module and the second charge and discharge module are configured based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module, and the sum of the power of the first charge and discharge module and the second charge and discharge module is the first rated charge and discharge power of the first electronic device.
3. The method according to claim 2, characterized in that The configuring the charging and discharging power of the first charging and discharging module and the second charging and discharging module based on the power capabilities and / or loss values of the first charging and discharging module and the second charging and discharging module includes: If the difference between the power capabilities of the first charge and discharge module and the second charge and discharge module is less than or equal to a first difference threshold; or, the difference between the loss values of the first charge and discharge module and the second charge and discharge module is less than or equal to a second difference threshold, the first charge and discharge module and the second charge and discharge module are configured to have the same power.
4. The method according to claim 3, characterized in that The configuring the charging and discharging power of the first charging and discharging module and the second charging and discharging module based on the power capabilities and / or loss values of the first charging and discharging module and the second charging and discharging module further includes: If the difference between the power capabilities of the first charge and discharge module and the second charge and discharge module is greater than a first difference threshold, configuring the power of the first charge and discharge module and the second charge and discharge module based on the ratio of the power capabilities of the first charge and discharge module and the second charge and discharge module; Alternatively, if the loss values of the first charge and discharge module and the second charge and discharge module are greater than a second difference threshold, the power of the first charge and discharge module and the second charge and discharge module are configured based on the ratio of the loss values of the first charge and discharge module and the second charge and discharge module.
5. The method according to claim 1, characterized in that The method further comprises: It is detected that the second port is connected to a second electronic device; The switch module is controlled to be disconnected, and the first overvoltage protection switch of the first path and the second overvoltage protection switch of the second path are turned on.
6. The method according to claim 5, characterized in that Also includes: detecting that the first port is disconnected from the first electronic device; The switch module is controlled to be turned on and the first overvoltage protection switch is controlled to be turned off.
7. The method according to claim 5, characterized in that Also includes: detecting that charging of the first electronic device is complete; The switch module is controlled to be turned on and the first overvoltage protection switch is controlled to be turned off.
8. The method according to claim 1, characterized in that After detecting that the first port is connected to the first electronic device, the method further includes: It is detected that the temperature of the battery module of the charging and discharging circuit is less than or equal to a normal temperature threshold; Controlling the switch module of the charge-discharge circuit to be turned on, and configuring the discharge parameters of the first charge-discharge module in the first path, and configuring the charge parameters of the second charge-discharge module in the second path; enabling the first charge and discharge module to start discharging, and enabling the second charge and discharge module to start charging; After the temperature of the battery module of the charge and discharge circuit is greater than a normal temperature threshold, the first charge and discharge module and the second charge and discharge module are controlled to charge or discharge based on the rated power of the first electronic device.
9. The method according to claim 8, characterized in that After detecting that the temperature of the battery module of the charging and discharging circuit is less than or equal to a normal temperature threshold, the method further includes: Send the first prompt message; In response to the user confirming the instruction to enter the low temperature heating mode, the switch module of the charge and discharge circuit is controlled to be turned on, and the discharge parameters of the first charge and discharge module in the first path are configured, and the charging parameters of the second charge and discharge module in the second path are configured.
10. The method according to claim 9, characterized in that Also includes: In response to the user's instruction to confirm not to enter the low-temperature heating mode, the first charge and discharge module and the second charge and discharge module are controlled to charge or discharge based on preset slow charge and discharge parameters.
11. A charging and discharging method, characterized in that: Applicable to a charge and discharge circuit, the charge and discharge circuit comprising a first path, a second path, a switch module and a battery module; and The first path includes a first port, a first overvoltage protection switch, and a first charge-discharge module connected in sequence, and the second path includes a second port, a second overvoltage protection switch, and a second charge-discharge module connected in sequence, wherein the switch module is connected to the first charge-discharge module and the second charge-discharge module, and the first charge-discharge module and the second charge-discharge module are respectively connected to the battery module; The method comprises: Detecting a heating start instruction input by a user; The first charge and discharge module is set to discharge, the switch module is controlled to be turned on, and the second charge and discharge module is set to charge.
12. The charge and discharge method according to claim 11, characterized in that: Also includes: In response to the power level selected by the user, based on the power level, the first charge and discharge module is configured with discharge parameters corresponding to the power level, and the second charge and discharge module is configured with charging parameters corresponding to the power level, so as to enable cyclic heating of the battery module of the charge and discharge circuit.
13. The charge and discharge method according to claim 12, characterized in that: Also includes: When it is detected that the temperature of the battery module reaches a temperature value corresponding to the power level, cyclic heating of the battery module is stopped.
14. A charging and discharging circuit, characterized in that: comprising a first path, a second path, a switch module, a control module and a battery module; and The first path includes a first port, a first overvoltage protection switch, and a first charge-discharge module connected in sequence, and the second path includes a second port, a second overvoltage protection switch, and a second charge-discharge module connected in sequence, wherein the switch module is connected to the first charge-discharge module and the second charge-discharge module, and the first charge-discharge module and the second charge-discharge module are respectively connected to the battery module; And the control module is used for: It is detected that the first port is connected to a first electronic device, and the second port in the second path is not externally connected to a second electronic device; The switch module is controlled to be turned on, the first overvoltage protection switch is controlled to be turned on, and the second overvoltage protection switch is controlled to be turned off, so that the battery module charges or discharges the first electronic device through the first charging and discharging module and the second charging and discharging module, the first overvoltage protection switch, and the first port.
15. The charge and discharge circuit according to claim 14, characterized in that: Also includes a temperature detection module; The temperature detection module is used for: Detecting the temperature of the battery module of the charging and discharging circuit, and sending the temperature of the battery module to the control module; The control module is used for: Determining that the temperature of the battery module is less than or equal to a normal temperature threshold; Controlling the switch module of the charge-discharge circuit to be turned on, and configuring the discharge parameters of the first charge-discharge module in the first path, and configuring the charge parameters of the second charge-discharge module in the second path; enabling the first charge and discharge module to start discharging, and enabling the second charge and discharge module to start charging; After the temperature of the battery module of the charge and discharge circuit is greater than a normal temperature threshold, the first charge and discharge module and the second charge and discharge module are controlled to charge or discharge based on the rated power of the first electronic device.
16. The charge and discharge circuit according to claim 14, characterized in that: The control module is also used for: The charge and discharge power of the first charge and discharge module and the second charge and discharge module are configured based on the power capacity and / or loss value of the first charge and discharge module and the second charge and discharge module, and the sum of the power of the first charge and discharge module and the second charge and discharge module is the first rated charge and discharge power of the first electronic device.
17. The charge and discharge circuit according to claim 14, characterized in that: The control module is also used for: It is detected that the second port is connected to a second electronic device; The switch module is controlled to be disconnected, and the first overvoltage protection switch of the first path and the second overvoltage protection switch of the second path are turned on.
18. An electronic device, characterized in that: including a memory for storing instructions; A processor is used to execute the instructions so that the electronic device implements the charging and discharging method according to any one of claims 1 to 13.
19. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on the electronic device, the electronic device executes the charging and discharging method according to any one of claims 1 to 13.