Battery charging and discharging system capable of direct charging
By introducing a controller and multiple direct charging paths into the battery charging and discharging system, the problems of shortened battery life and low power supply efficiency during direct charging are solved, achieving efficient battery charging and stable power supply for external devices.
Patent Information
- Application Number
- CN202520282541.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2035-02-21
AI Technical Summary
Existing battery systems that can be directly charged suffer from shortened battery life and poor power supply efficiency during charging and discharging.
A battery charging and discharging system is adopted, which includes a first interface, a second interface, a first power converter, a second power converter, a first switch, a second switch, and a controller. The controller executes different working modes according to the interface connection status, so that the battery can only be charged without being discharged, and external devices are powered through two direct charging paths.
It extends battery life, improves the power supply efficiency of the battery and external devices, and ensures that the battery only charges and does not discharge during direct charging, reducing losses.
Smart Images

Figure CN223651999U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to a battery charging and discharging system, in particular to a battery charging and discharging system with pass-through charging. BACKGROUND
[0002] With the development of science and technology, lithium batteries that can be repeatedly charged and discharged are widely used in various fields, such as electric vehicles, personal mobile devices, etc. For example, users can connect a power adapter between the mains and a personal mobile device to charge the personal mobile device through the mains. As the usage time increases, users may need to charge their personal mobile devices without mains power. Therefore, another battery charging method for personal mobile devices has emerged, such as using a mobile power supply to charge a personal mobile device, or using a personal mobile device to charge another person's mobile device.
[0003] Furthermore, users may also face a situation where both the other battery and the personal mobile device need to be charged. Therefore, a mobile power supply device with pass-through charging has been further developed. Please refer to Figure 8 The existing pass-through charging mobile power supply 70 has a battery 71, a first interface 72, and a second interface 73. The battery 71 is electrically connected to the first interface 72 and the second interface 73. When the first interface 72 is connected to a power adapter 80 and the second interface 73 is connected to a mobile device 90, the power adapter 80 charges the battery 71, and at the same time, the battery 71 also discharges to the mobile device 90 to supply power to the mobile device 90.
[0004] However, for the battery 71, the battery 71 needs to be charged and discharged at the same time, which will reduce the service life of the battery 71 over a long period of time. Moreover, part of the electrical energy obtained by the battery 71 needs to be immediately provided to the mobile device 90, which limits the actual electrical energy flowing into the battery 71 and the mobile device 70, i.e., the power supply efficiency for the battery 71 and the mobile device 90 is not good. SUMMARY
[0005] The existing battery system needs to charge and discharge at the same time when performing pass-through charging, which causes the problems mentioned in the prior art. Therefore, the utility model provides a battery charging and discharging system with pass-through charging, which includes:
[0006] A first interface for electrically connecting a power adapter or an external device;
[0007] A first power converter electrically connected to the first interface, and a first node between the first power converter and the first interface;
[0008] a first switch electrically connected to the first power converter, and having a second node between the first switch and the first power converter;
[0009] a second interface for electrically connecting the power adapter or the external device;
[0010] a second power converter electrically connected to the second interface, and having a third node between the second power converter and the second interface, the third node electrically connected to the second node;
[0011] a second switch electrically connected to the second power converter, and having a fourth node between the second switch and the second power converter, the fourth node electrically connected to the first node;
[0012] a battery electrically connected to the first switch and the second switch; and a controller storing a plurality of operation modes and electrically connected to the first interface, the first power converter, the first switch, the second interface, the second power converter and the second switch, the controller performing one of the plurality of operation modes according to a connection state of the first interface and the second interface, to simultaneously supply power to the external device connected to the first interface or the second interface and the battery.
[0013] The battery charging and discharging system of the present application has two direct charging paths (connected between the first node and the fourth node, and connected between the second node and the third node), and the controller can perform one of the plurality of operation modes according to the connection state of the first interface and the second interface, to simultaneously charge the battery and supply power to the external device connected to the first interface or the second interface through one of the two direct charging paths. Compared with the prior art, when direct charging is performed, the battery in the present application only charges (without discharging), thereby reducing the loss of the battery and prolonging its service life. The present application provides power to the battery and the external device through different paths, which can improve the power supply efficiency of the battery and the external device. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 The circuit block diagram of the battery charging and discharging system of the present application.
[0015] Figure 2 The circuit block diagram of the battery charging and discharging system of the present application, wherein the controller performs the first operation mode.
[0016] Figure 3 The circuit block diagram of the battery charging and discharging system of the present application, wherein the controller performs the second operation mode.
[0017] Figure 4 This is a circuit block diagram of the battery charging and discharging system of this utility model that can be directly charged, wherein the controller executes the third working mode.
[0018] Figure 5 This is a circuit block diagram of the battery charging and discharging system of this utility model that can be directly charged, wherein the controller executes the fourth working mode.
[0019] Figure 6 This is a circuit block diagram of the battery charging and discharging system of this utility model that can be directly charged, wherein the controller executes the fifth working mode.
[0020] Figure 7 This is a circuit block diagram of the battery charging and discharging system of this utility model that can be directly charged, wherein the controller executes the sixth working mode.
[0021] Figure 8 This is a circuit block diagram of an existing portable power supply.
[0022] Explanation of reference numerals in the attached figures
[0023] 10: First interface, 11: First power converter, 12: First switch, 20: Second interface, 21: Second power converter, 22: Second switch, 30: Battery, 40: Controller, 41: Power transmission controller, 42: Microcontroller, 50: Power adapter, 51: First power adapter, 52: Second power adapter, 60: External device, 61: First external device, 62: Second external device, 70: Power bank, 71: Battery, 72: First interface, 73: Second interface, 80: Power adapter, 90: Mobile device, CI0: Charging current, CI1: First charging current, CI2: Second charging current, DI1: First shunt current, DI2: Second shunt current, DI3: Third shunt current, DI4: Fourth shunt current, L1: First line, L10: Third switch, L2: Second line, L20: Fourth switch, N1: First node, N2: Second node, N3: Third node, N4: Fourth node. Detailed Implementation
[0024] The accompanying drawings illustrate the technical solutions of this utility model in more detail. Throughout the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions. The described embodiments are only some, not all, of the embodiments of this utility model. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this utility model, and should not be construed as limiting this utility model. All other embodiments obtained by those skilled in the art based on the embodiments of this utility model without creative effort are within the scope of protection of this utility model. The embodiments of this utility model will now be described in detail with reference to the accompanying drawings.
[0025] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0026] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0027] Example
[0028] To gain a detailed understanding of the technical features and practical effects of this utility model, and to enable its implementation, the following detailed description is provided with reference to the embodiments shown in the figures:
[0029] Please see Figure 1 The present invention provides a battery charging and discharging system that can be directly charged, comprising a first interface 10, a first power converter 11, a first switch 12, a second interface 20, a second power converter 21, a second switch 22, a battery 30, and a controller 40.
[0030] The first interface 10 and the second interface 20 are respectively used for power supply connection, such as Figure 2The power adapter 50 or an external device 60 shown can have a first interface 10 and a second interface 20, which can be charging / discharging interfaces respectively. For example, when the first interface 10 is electrically connected to the power adapter 50, the first interface 10 is a charging interface; conversely, when the first interface 10 is electrically connected to the external device 60, the first interface 10 is a discharging interface. This invention does not limit the connection of one of the first interface 10 and the second interface 20 to the power adapter 50 and the other to the external device 60. In embodiments of this invention, the first interface 10 and the second interface 20 may be connected to different external devices 60 or different power adapters 50, which will be explained later with reference to the drawings.
[0031] The first power converter 11 is electrically connected to the first interface 10, and there is a first node N1 between the first power converter 11 and the first interface 10. The first switch 12 is electrically connected to the first power converter 11, and there is a second node N2 between the first switch 12 and the first power converter 11. The second power converter 21 is electrically connected to the second interface 20, and there is a third node N3 between the second power converter 21 and the second interface 20. The second switch 22 is electrically connected to the second power converter 21, and there is a fourth node N4 between the second switch 22 and the second power converter 21.
[0032] For example, the first power converter 11 and the second power converter 21 may each be a buck-boost converter, and the first switch 12 and the second switch 22 may each be a metal-oxide-semiconductor field-effect transistor (MOSFET). This invention is not limited thereto. In addition, the first node N1 may be electrically connected to the fourth node N4 through a first line L1, and the second node N2 may be electrically connected to the third node N3 through a second line L2.
[0033] In one embodiment of this utility model, a third switch L10 is further electrically connected between the first node N1 and the fourth node N4, and a fourth switch L20 is further electrically connected between the second node N2 and the third node N3. That is, the third switch L10 is provided on the first line L1, and the fourth switch L20 is provided on the second line L2. The third switch L10 and the fourth switch L20 can also be metal oxide semiconductor field-effect transistors, and this utility model is not limited thereto.
[0034] The battery 30 is electrically connected to the first switch 12 and the second switch 22. The controller 40 is electrically connected to the first interface 10, the first power converter 11, the first switch 12, the second interface 20, the second power converter 21, the second switch 22, the third switch L10, and the fourth switch L20. For example, the controller 40 includes a power delivery controller (PD controller) 41 and a microcontroller (MCU) 42. The power delivery controller 41 is electrically connected to the microcontroller 42, and the power delivery controller 41 supports multiple communication protocols and is electrically connected to the first interface 10, the first power converter 11, the first switch 12, the second interface 20, the second power converter 21, the second switch 22, the third switch L10, and the fourth switch L20.
[0035] The controller 40 stores multiple operating modes and executes one of these modes based on a connection state of the first interface 10 and the second interface 20, to simultaneously power the external device 60 connected to the first interface 10 or the second interface 20 and the battery 30. Specifically, the first interface 10 and the second interface 20 each include a configuration channel. The power transfer controller 41 supports the power transfer handshake protocol, and the microcontroller 42 stores the multiple operating modes. The power transfer controller 41 can perform the power transfer handshake protocol through the configuration channel pins of the first interface 10 and the second interface 20 respectively, and then transmit the result of the power transfer handshake protocol (the connection status of the first interface 10 and the second interface 20) to the microcontroller 42, so that the microcontroller 42 executes one of the multiple operating modes. That is, for the controller 40 as a whole, the controller 40 can perform the power transfer handshake protocol through the configuration channel pins of the first interface 10 and the second interface 20 respectively to determine the connection status of the first interface 10 and the second interface 20, and then execute one of the multiple operating modes. The operating principle of the power transfer handshake protocol is not the focus of this utility model and will not be described in detail.
[0036] The complex operating modes of the controller 40 are described below.
[0037] 1. First working mode: Please refer to Figure 2When the first interface 10 is connected to the power adapter 50 and the second interface 20 is connected to the external device 60, the controller 40 executes the first operating mode to control the first switch 12 to be turned on, the second switch 22 to be turned off, the third switch L10 to be turned on, and the fourth switch L20 to be turned off. Specifically, a first charging current CI1 provided by the power adapter 50 is divided into a first shunt current DI1 and a second shunt current DI2 at the first node N1. The first shunt current DI1 flows into the first power converter 11. After being adjusted by the first power converter 11, the first shunt current DI1 flows into the battery 30. The second shunt current DI2 flows into the second power converter 21 through the first line L1. After being adjusted by the second power converter 21, the second shunt current DI2 flows into the external device 60. In this operating mode, the power adapter 50 connected to the first interface 10 simultaneously charges the battery 30 and supplies power to the external device 60 connected to the second interface 20.
[0038] 2. Second working mode: Please refer to Figure 3 When the first interface 10 is connected to the external device 60 and the second interface 20 is connected to the power adapter 50, the controller 40 executes the second operating mode to control the first switch 12 to be off, the second switch 22 to be on, the third switch L10 to be off, and the fourth switch L20 to be on. Specifically, the power adapter 50 provides a second charging current CI2, which is divided into a third shunt current DI3 and a fourth shunt current DI4 at the third node N3. The third shunt current DI3 flows into the second power converter 21, and after being adjusted by the second power converter 21, it flows into the battery 30. The fourth shunt current DI4 flows into the first power converter 11 through the second line L2, and after being adjusted by the first power converter 11, it flows into the external device 60. In this operating mode, the power adapter 50 connected to the second interface 20 simultaneously charges the battery 30 and supplies power to the external device 60 connected to the first interface 10.
[0039] 3. Third working mode: Please refer to Figure 4When the first interface 10 is connected to a first power adapter 51 and the second interface 20 is connected to a second power adapter 52, the controller 40 executes the third operating mode to control the first switch 12 to be turned on, the second switch 22 to be turned off, the third switch L10 to be turned off, and the fourth switch L20 to be turned off. Specifically, the first power adapter 51 provides a charging current CI0 that flows into the first power converter 11. The charging current CI0 is adjusted by the first power converter 11 and then flows into the battery 30. In this operating mode, only the first power adapter 51 connected to the first interface 10 charges the battery 30 to avoid the situation where the first power adapter 51 and the second power adapter 52 have mutual current flow.
[0040] 4. Fourth working mode: Please refer to Figure 5 When the first interface 10 is connected to a first external device 61 and the second interface 20 is connected to a second external device 62, the controller 40 executes the fourth operating mode to control the first switch 12 to be turned on, the second switch 22 to be turned on, the third switch L10 to be turned off, and the fourth switch L20 to be turned off. Specifically, the battery 30 outputs current to the first power converter 11 and the second power converter 21 respectively. The current output by the battery 30 is adjusted by the first power converter 11 and the second power converter 21 respectively before flowing into the first external device 61 and the second external device 62. In this operating mode, the battery 30 simultaneously supplies power to the first external device 61 and the second external device 62.
[0041] 5. Fifth working mode: Please refer to Figure 6 When the first interface 10 is connected to the power adapter 50 or the external device 60 and the second interface 20 is not connected to any device, the controller 40 executes the fifth operating mode to control the first switch 12 to be turned on, the second switch 22 to be turned off, the third switch L10 to be turned off, and the fourth switch L20 to be turned off. Specifically, as follows: Figure 6 As shown, when the first interface 10 is connected to the power adapter 50, the current output by the power adapter 50 flows into the battery 30 after being adjusted by the first power converter 11. When the first interface 10 is connected to the external device 60 (not shown), the current output by the battery 30 flows into the external device 60 after being adjusted by the first power converter 11. In this working mode, the power adapter 50 connected to the first interface 10 can supply power to the battery 30, or the battery 30 can supply power to the external device 60 connected to the first interface 10.
[0042] 6. Sixth working mode: Please refer to [link / reference] Figure 7When the second interface 20 is connected to the power adapter 50 or the external device 60 and the first interface 10 is not connected to any device, the controller 40 executes the sixth operating mode to control the first switch 12 to be off, the second switch 22 to be on, the third switch L10 to be off, and the fourth switch L20 to be off. Specifically, as follows: Figure 7 As shown, when the second interface 20 is connected to the power adapter 50, the current output by the power adapter 50 flows into the battery 30 after being adjusted by the second power converter 21. When the second interface 20 is connected to the external device 60 (not shown), the current output by the battery 30 flows into the external device 60 after being adjusted by the second power converter 21. In this working mode, the power adapter 50 connected to the second interface 20 can supply power to the battery 30, or the battery 30 can supply power to the external device 60 connected to the second interface 20.
[0043] The controller 40 can control the first power converter 11 and the second power converter 21 to transform the voltage, so as to provide the external device 60 connected to the first interface 10 or the second interface 20 with appropriate power values. Specifically, the controller 40 stores a power supply table, which establishes multiple reference codes and multiple power supply values. The multiple reference codes correspond to the multiple power supply values. The multiple reference codes and multiple power supply values are pre-established in the controller 40 according to the power requirements of different external devices 60, that is, a set of reference codes and power supply values corresponds to one external device 60.
[0044] The controller 40 receives a device code from the external device 60 through at least one of the first interface 10 and the second interface 20, for example, such as Figure 2 As shown, when the second interface 20 is connected to the external device 60, during the power handshake protocol communication between the external device 60 and the controller 40 via the second interface 20, the controller 40 will simultaneously receive the device code from the external device 60 connected to the second interface 20, or, as... Figure 3 As shown, when the first interface 10 is connected to the external device 60, the controller 40 receives the device code of the external device 60 connected to the first interface 10 through the first interface 10, or, as... Figure 5 As shown, when the first interface 10 and the second interface 20 are respectively connected to the first external device 61 and the second external device 62, the controller 40 receives the device code of the first external device 61 and the device code of the second external device 62 respectively.
[0045] by Figure 2Taking the connection status as an example, the controller 40 receives the device code of the external device 60 connected to the second interface 20, and looks up the power supply table according to the device code. When the controller 40 determines that the device code matches one of the multiple reference codes, it means that the power requirements of the external device 60 have been pre-established in the controller 40. The controller 40 controls the second power converter 21 to transform the voltage so that the output of the second power converter 21 matches the power supply value corresponding to the reference code (matching the power requirements of the external device 60 connected to the second interface 20); or... Figure 3 Taking the connection status as an example, the controller 40 receives the device code of the external device 60 connected to the first interface 10, and looks up the power supply table according to the device code. When the controller 40 determines that the device code matches one of the multiple reference codes, the controller 40 controls the first power converter 11 to transform the voltage so that the output of the first power converter 11 matches the power supply value corresponding to the reference code (matching the power requirements of the external device 60 connected to the first interface 10). For example, the controller 40 can respectively use the integrated bus circuit (I 2 C) Electrically connected to the first power converter 11 and the second power converter 21.
[0046] However, when the controller 40 determines that the device code does not conform to any of the plurality of reference codes, the controller 40 performs a power transfer handshake protocol with the external device 60 through the first interface 10 or the second interface 20 to receive a power demand value from the external device 60. The controller 40 then stores the device code and the power demand value in the power supply table for subsequent use as the reference code and the power supply value. For example, such as Figure 2 As shown, assuming the controller 40 determines that the device code of the external device 60 connected to the second interface 20 does not conform to any of the multiple reference codes, it means that the power requirements of the external device 60 are not established in the controller 40. The controller 40 will obtain and store the power requirements value of the external device 60 through the power transfer handshake protocol. Subsequently, when the external device 60 is reconnected to the first interface 10 or the second interface 20, the controller 40 can quickly control the output of the first power converter 11 or the second power converter 21 to meet the power requirements of the external device 60.
[0047] Furthermore, since the storage space of the controller 40 for storing the multiple reference codes and the multiple power supply values is limited, the controller 40 also has an automatic overwrite function. Specifically, when the controller 40 determines that the device code of the external device 60 does not conform to any of the multiple reference codes (i.e., the controller 40 needs to store the device code of the external device 60 and the power demand value), the controller 40 will determine the capacity of the storage space.
[0048] When the controller 40 determines that the storage space has sufficient capacity, the controller 40 directly stores the device code and power requirement value of the external device 60. When the controller 40 determines that the storage space has insufficient capacity, the controller 40 deletes the information of the earliest established one of the multiple reference codes and the earliest established one of the power supply values, and stores the device code and power requirement value of the external device 60. This ensures that the controller 40 stores the latest information of the external device 60 connected to the first interface 10 or the second interface 20, thereby shortening the time required for the controller 40 to perform the power transfer handshake protocol (when the external device 60 reconnects to the first interface 10 or the second interface 20), and avoiding the need for the controller 40 to repeatedly perform the power transfer handshake protocol on the external device 60 already established in the power supply table to obtain the power requirement value.
[0049] In one embodiment of this utility model, a first voltage divider resistor (not shown) is electrically connected between the controller 40 and the first node N1, and a second voltage divider resistor (not shown) is electrically connected between the controller 40 and the second node N2. When at least one of the first node N1 and the second node N2 is connected to the external device 60, the controller 40 receives the voltage values of the first voltage divider resistor and the second voltage divider resistor to calculate an actual output voltage value of at least one of the first power converter 11 and the second power converter 21. The controller 40 compares the actual output voltage value with the power supply value to control the difference between the actual output voltage value of at least one of the first power converter 11 and the second power converter 21 and the power supply value to be less than or equal to a threshold value, so that the external device 60 connected to at least one of the first interface 10 and the second interface 20 can continuously and stably receive its required power supply.
[0050] This utility model discloses a battery charging and discharging system with two direct-charge paths (the first line L1 and the second line L2). The controller 40 can perform one of the multiple operations according to the connection state of the first interface 10 and the second interface 20, to simultaneously charge the battery 30 and supply power to the external device 60 connected to the first interface 10 or the second interface 20 through one of the two direct-charge paths. Compared with the prior art, when performing direct charging, the battery 30 in this utility model is only charged (not discharged), thereby reducing the loss of the battery 30 and extending its service life. Furthermore, this utility model provides power to the battery 30 and the external device 60 through different paths, which can improve the power supply efficiency for the battery 30 and the external device 60. Moreover, each of the two direct-charge paths has a power converter, which can transform the voltage according to the control of the controller 40 to meet the power requirements of the external device 60, which can further improve the power supply efficiency for the external device 60.
[0051] In summary, this description merely illustrates the implementation methods or embodiments of the technical means employed by this utility model to solve the problem, and is not intended to limit the scope of implementation of this utility model patent. All equivalent variations and modifications made in accordance with the wording of this utility model patent application or the scope of this utility model patent are covered by the scope of this utility model patent.
[0052] The above embodiments are only used to illustrate the technical solution of this utility model and are not intended to limit it. Although this utility model has been described in detail with reference to the preferred embodiments above, those skilled in the art should understand that modifications or equivalent substitutions to the technical solution of this utility model should not depart from the spirit and scope of this utility model. Those skilled in the art can also make other changes within the spirit of this utility model for its design, as long as they do not deviate from the technical effect of this utility model. These changes made according to the spirit of this utility model should all be included within the scope of protection claimed by this utility model.
Claims
1. A battery charging and discharging system capable of direct charging, characterized in that, Include: The first interface is used to connect a power adapter or external device for power supply. A first power converter is electrically connected to the first interface, and a first node is provided between the first power converter and the first interface; A first switch is electrically connected to the first power converter, and a second node is located between the first switch and the first power converter; The second interface is used to electrically connect the power adapter or the external device. A second power converter is electrically connected to the second interface, and a third node is provided between the second power converter and the second interface, the third node being electrically connected to the second node; A second switch is electrically connected to the second power converter, and a fourth node is located between the second switch and the second power converter, the fourth node being electrically connected to the first node. The battery is electrically connected to the first switch and the second switch; as well as The controller stores multiple operating modes and is electrically connected to the first interface, the first power converter, the first switch, the second interface, the second power converter, and the second switch. The controller executes one of the multiple operating modes according to the connection status of the first interface and the second interface to simultaneously power the external device connected to the first interface or the second interface and the battery.
2. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include a first operating mode; When the first interface is connected to the power adapter and the second interface is connected to the external device, the controller executes the first operating mode to control the first switch to be turned on, the second switch to be turned off, the third switch to be turned on, and the fourth switch to be turned off.
3. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include the second operating mode; When the first interface is connected to the external device and the second interface is connected to the power adapter, the controller executes the second operating mode to control the first switch to be off, the second switch to be on, the third switch to be off, and the fourth switch to be on.
4. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include the third operating mode; When the first interface is connected to the first power adapter and the second interface is connected to the second power adapter, the controller executes the third operating mode to control the first switch to be turned on, the second switch to be turned off, the third switch to be turned off, and the fourth switch to be turned off.
5. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include the fourth operating mode; When the first interface is connected to the first external device and the second interface is connected to the second external device, the controller executes the fourth operating mode to control the first switch to be turned on, the second switch to be turned on, the third switch to be turned off, and the fourth switch to be turned off.
6. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include a fifth operating mode; When the first interface is connected to the power adapter or the external device and the second interface is not connected to any device, the controller executes the fifth operating mode to control the first switch to be turned on, the second switch to be turned off, the third switch to be turned off, and the fourth switch to be turned off.
7. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, Also includes: The third switch is electrically connected between the first node and the fourth node; The fourth switch is electrically connected between the second node and the third node; The controller is electrically connected to the third switch and the fourth switch, and the multiple operating modes include a sixth operating mode; When the second interface is connected to the power adapter or the external device and the first interface is not connected to any device, the controller executes the sixth operating mode to control the first switch to be off, the second switch to be on, the third switch to be off, and the fourth switch to be off.
8. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, in: The first interface and the second interface each include configuration channel pins; The controller performs a power transfer handshake protocol through the configuration channel pins of the first interface and the second interface to determine the connection status of the first interface and the second interface.
9. The battery charging and discharging system capable of direct charging according to claim 1, characterized in that, in: The controller stores a power supply table, which establishes complex reference codes and complex power supply values, and the complex reference codes correspond to the complex power supply values respectively. The controller receives the device code of the external device through at least one of the first interface and the second interface, and looks up the power supply table based on the device code; When the controller determines that the device code conforms to one of the complex reference codes, the controller controls the first power converter or the second power converter to transform the voltage, so that the output of the first power converter or the second power converter conforms to the power supply value corresponding to the reference code.
10. The battery charging and discharging system capable of direct charging according to claim 9, characterized in that, in: When the controller determines that the device code does not conform to any of the multiple reference codes, the controller performs a power transfer handshake protocol with the external device through at least one of the first interface and the second interface to receive the power demand value of the external device, and the controller stores the device code and the power demand value in the power supply table.