Control method of charge-discharge circuit and portable charging device

CN122600401APending Publication Date: 2026-08-18ECOFLOW INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511416211.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0003]本申请的目的在于提供一种充放电电路和便携式充电设备,旨在解决相关技术中,充放电电路存在器件多、电路板面积大以及成本高的问题

Benefits of technology

[0026]The beneficial effects of this application embodiment compared with related technologies are as follows: The charging and discharging circuit provided in this application embodiment includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module. The first end of the bidirectional DC-DC converter module is connected to the first interface through the first switch module, the second switch module is connected between the first interface and the second end of the bidirectional DC-DC converter module, the second end of the bidirectional DC-DC converter module is used to connect to the battery module through the third switch module, and the wireless discharge module is connected to the first end of the bidirectional DC-DC converter module. The charging and discharging circuit provided in this application, when detecting that the first interface is connected to a power supply device and the wireless discharge module is coupled to a first load, only requires one bidirectional DC-DC converter module. By controlling the first and third switch modules to disconnect and the second switch module to connect, at least full-power wireless output to the wireless charging and discharging module can be achieved based on the input power of the first interface. This simplifies the circuit, helps reduce the circuit board area and hardware cost, and also facilitates product miniaturization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122600401A_ABST
    Figure CN122600401A_ABST
Patent Text Reader

Abstract

The application relates to a control method of a charging and discharging circuit, the charging and discharging circuit comprising a first interface, a first switch module, a second switch module, a third switch module, a bidirectional direct-current conversion module and a wireless discharging module. The first end of the bidirectional direct-current conversion module is connected to the first interface through the first switch module, the second switch module is connected between the first interface and the second end of the bidirectional direct-current conversion module, the second end of the bidirectional direct-current conversion module is used for connecting a battery module through the third switch module, and the wireless discharging module is connected to the first end of the bidirectional direct-current conversion module. In the case that only one bidirectional direct-current conversion module is needed, the first switch module and the third switch module are controlled to be disconnected, and the second switch module is controlled to be connected, so that wireless full-power output can be realized based on the input power of the first interface, the circuit is simplified, the circuit board area and the hardware cost are reduced, and the miniaturization of products is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, and in particular relates to a control method for a charging and discharging circuit and a portable charging device. Background Technology

[0002] Traditional charging and discharging circuits using unidirectional buck or boost converters are no longer sufficient to meet the charging needs of multiple operating conditions and protocols. Buck-boost converters are gradually becoming the mainstream choice due to their greater adaptability. To meet the demands of higher wireless charging power, charging and discharging circuits often require independent buck-boost circuits. This not only introduces additional power devices, inductors, and capacitors, but also significantly increases the circuit board area and hardware cost, becoming a key obstacle limiting the further miniaturization and cost reduction of charging and discharging circuits. Summary of the Invention

[0003] The purpose of this application is to provide a charging and discharging circuit and a portable charging device, aiming to solve the problems of numerous components, large circuit board area, and high cost in related technologies.

[0004] In a first aspect, embodiments of this application provide a control method for a charging and discharging circuit. The charging and discharging circuit includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module. The first interface is used to connect to an external device. A first terminal of the bidirectional DC-DC converter module is connected to the first interface via the first switch module. The second switch module is connected between the first interface and a second terminal of the bidirectional DC-DC converter module. The second terminal of the bidirectional DC-DC converter module is used to connect to a battery module via the third switch module. The wireless discharge module is connected to the first terminal of the bidirectional DC-DC converter module. The control method includes:

[0005] In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the first switch module and the third switch module are disconnected, and the second switch module is turned on.

[0006] The required power of the wireless discharge module is obtained, and the bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the input power of the power supply device, wherein the required power of the wireless discharge module corresponds to the first load power of the first load.

[0007] In one embodiment, it further includes:

[0008] In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the required power of the wireless discharge module is obtained.

[0009] When the input power of the power supply device is greater than the required power, the second switch module is controlled to open and the first switch module and the third switch module are controlled to open. Based on the difference between the required power and the input power, the bidirectional DC-DC converter module is controlled to output a first power to charge the battery module. The sum of the required power and the first power is less than or equal to the input power, and the required power of the wireless discharge module corresponds to the first load power of the first load.

[0010] In one embodiment, it further includes:

[0011] In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the required power of the wireless discharge module is obtained.

[0012] When the input power of the power supply device is less than the required power, the first switch module is controlled to be disconnected, the second switch module and the third switch module are controlled to be connected, and the bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the input power and the battery power provided by the battery module.

[0013] In one embodiment, it further includes:

[0014] In response to the detection that the first interface is not connected to an external device and the wireless discharge module is coupled to a first load, the first switch module and the second switch module are controlled to disconnect and the third switch module is controlled to connect. The bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the battery power provided by the battery module, according to the required power of the wireless discharge module.

[0015] In one embodiment, it further includes:

[0016] In response to detecting that the first interface is connected to a power device and the wireless discharge module is not coupled to a first load, the second switch module is controlled to disconnect and the first switch module and the third switch module are controlled to connect. The bidirectional DC-DC converter is controlled to charge the battery module based on the input power according to the charging power of the battery module.

[0017] In one embodiment, it further includes:

[0018] In response to the detection that a second load is connected to the first interface and the wireless discharge module is not coupled to the first load, the second switch module is controlled to disconnect, the first switch module and the third switch module are controlled to connect, and the bidirectional DC-DC converter is controlled to provide the second load power to the second load of the first interface based on the power of the second load of the second load and the power of the battery module.

[0019] In one embodiment, it further includes:

[0020] In response to the detection that a second load is connected to the first interface and the wireless discharge module is coupled to a first load, the second switch module is controlled to disconnect and the first switch module and the third switch module are controlled to connect.

[0021] Based on the second load power of the second load and the power requirement of the wireless discharge module, the bidirectional DC-DC converter is controlled to supply power to the second load of the first interface and the wireless discharge module based on the battery power provided by the battery module.

[0022] In one embodiment, it further includes:

[0023] In response to the detection that no external device is connected to the first interface and the wireless discharge module is not coupled to the first load, the third switch module is controlled to disconnect.

[0024] In one embodiment, the bidirectional DC-DC converter module operates in either constant current or constant voltage mode.

[0025] Secondly, embodiments of this application also provide a portable charging device, including a charging and discharging circuit, a battery module, a memory, a processor, and a computer program stored in the memory and executable on the processor. The charging and discharging circuit includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module, all connected to the processor. The first interface is used to connect to an external device. A first end of the bidirectional DC-DC converter module is connected to the first interface through the first switch module. The second switch module is connected between the first interface and a second end of the bidirectional DC-DC converter module. The second end of the bidirectional DC-DC converter module is used to connect to the battery module through the third switch module. The wireless discharge module is connected to the first end of the bidirectional DC-DC converter module. When the processor executes the computer program, it implements the steps of the control method for the charging and discharging circuit as described above.

[0026] The beneficial effects of this application embodiment compared with related technologies are as follows: The charging and discharging circuit provided in this application embodiment includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module. The first end of the bidirectional DC-DC converter module is connected to the first interface through the first switch module, the second switch module is connected between the first interface and the second end of the bidirectional DC-DC converter module, the second end of the bidirectional DC-DC converter module is used to connect to the battery module through the third switch module, and the wireless discharge module is connected to the first end of the bidirectional DC-DC converter module. The charging and discharging circuit provided in this application, when detecting that the first interface is connected to a power supply device and the wireless discharge module is coupled to a first load, only requires one bidirectional DC-DC converter module. By controlling the first and third switch modules to disconnect and the second switch module to connect, at least full-power wireless output to the wireless charging and discharging module can be achieved based on the input power of the first interface. This simplifies the circuit, helps reduce the circuit board area and hardware cost, and also facilitates product miniaturization. Attached Figure Description

[0027] Figure 1 A schematic diagram of the first structure of a charging and discharging circuit for related technologies;

[0028] Figure 2 A schematic diagram of a second structure for a charging and discharging circuit in a related technology;

[0029] Figure 3 This is a schematic diagram of the charging and discharging circuit provided in an embodiment of this application;

[0030] Figure 4 A flowchart illustrating a control method for a charging and discharging circuit provided in an embodiment of this application;

[0031] Figure 5 A schematic diagram of the control module for a charging and discharging circuit provided in an embodiment of this application;

[0032] Figure 6 This is a schematic diagram of the structure of a portable charging device provided in an embodiment of this application. Detailed Implementation

[0033] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.

[0034] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.

[0035] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0036] Current common solutions for portable charging devices that provide wireless charging are as follows: Figure 1 As shown, the dual-channel DC-DC architecture enables wireless full-charge power output in scenarios where charging and discharging are simultaneous, meeting current wireless output requirements of 15W to 25W. This solution has certain advantages in terms of system adaptability and functional completeness. However, its main drawbacks are also quite obvious: due to the inclusion of two DC-DC circuits, the number of components increases significantly, resulting in a larger circuit board area and higher bill of materials (BOM) costs, which is not conducive to the design of thinner and lighter products. Furthermore, the wireless discharge path of the battery module requires conversion through two stages of DC-DC circuits, inevitably leading to significant energy loss, resulting in a decrease in wireless discharge efficiency and affecting overall thermal design and battery life performance.

[0037] Current common solutions for portable charging devices that provide wireless charging include: Figure 2 As shown, this solution employs a single-channel DC-DC architecture, which has a relatively simple circuit structure and offers certain cost and design advantages. However, this solution has a significant bottleneck in scenarios involving simultaneous charging and discharging: due to the lack of a second DC-DC circuit providing a wide-range adjustable voltage, the interface cannot flexibly adjust the voltage of the wireless charging module, and can only maintain a fixed voltage supply, thus limiting the wireless charging power, which typically cannot exceed 7.5W. This architecture cannot meet the needs of medium-to-high power wireless charging output, significantly restricting the user experience. Furthermore, with the market's widespread demand for 15W or even 25W wireless charging power, this solution is difficult to adapt to future product evolution trends.

[0038] Based on this, this application provides a charging and discharging circuit 100 based on a novel architecture. Please refer to... Figure 3The charging and discharging circuit 100 includes a first interface 111, a first switch module 112, a second switch module 113, a third switch module 114, a bidirectional DC-DC converter module 115, and a wireless discharge module 116. The first interface 111 is used to connect to external devices. The first terminal of the bidirectional DC-DC converter module 115 is connected to the first interface 111 via the first switch module 112. The second switch module 113 is connected between the first interface 111 and the second terminal of the bidirectional DC-DC converter module 115. The second terminal of the bidirectional DC-DC converter module 115 is used to connect to the battery module 200 via the third switch module 114. The wireless discharge module 116 is connected to the first terminal of the bidirectional DC-DC converter module 115.

[0039] The first interface 111 includes at least one USB interface, which can be any combination of one or more of Type-A, Type-B, Type-C, miniUSB, and microUSB. Multiple USB interfaces can be connected in parallel to form the first interface 111. The first switch module 112, the second switch module 113, and the third switch module 114 each include at least one electronic switch. Multiple electronic switches can be connected in series, in parallel, or in a series-parallel connection. The electronic switch is, for example, a relay or a semiconductor transistor.

[0040] In some examples, when the external device is an input device, it can be a power supply device, such as an adapter or energy storage device; when it is a powered device, it can be any electronic device that can be powered or charged, such as a mobile phone, tablet, etc.

[0041] In some examples, the bidirectional DC-DC converter module 115 includes a bidirectional DC-DC circuit, such as a buck-boost circuit. The first output direction is defined as the flow of the operating current from the first terminal to the second terminal, and the second output direction is defined as the flow of the operating current from the second terminal to the first terminal.

[0042] In some examples, the first switch module 112, the second switch module 113, the third switch module 114, and the bidirectional DC-DC converter module 115 are each set as independent components, reducing BOM costs. In some examples, the first switch module 112, the second switch module 113, the third switch module 114, and the bidirectional DC-DC converter module 115 can be integrated into the same chip, which can reduce the product size and facilitate the design of thinner and lighter products.

[0043] In some examples, the wireless discharge module 116 includes an output coil and a wireless transmitter. The wireless transmitter receives DC power from the first interface 111 or the battery module 200, converts the DC power into AC power, and transmits it through the transmitting coil as an electromagnetic field. In some examples, the wireless transmitter and the bidirectional DC-DC converter module 115 can be set independently of each other or integrated into the same chip, which can reduce the product size and facilitate the design of a thinner and lighter product.

[0044] Please see Figure 3 and Figure 4 The embodiments of this application also include a control method based on the above-described charging and discharging circuit 100, which includes:

[0045] In step S110, in response to detecting that the first interface is connected to a power supply device and the wireless discharge module is coupled to a first load, the first switch module and the third switch module are disconnected, and the second switch module is turned on.

[0046] The power supply device, such as an adapter or energy storage device, can provide input power to the first interface 111. The first switch module 112 and the third switch module 114 are disconnected, and the second switch module 113 is turned on to form a bypass mode (i.e., bypassing the battery module 200), so that the input power provided by the first interface 111 is output to the first load through the bidirectional DC-DC converter module 115 and the wireless discharge module 116.

[0047] Step S120: Obtain the required power of the wireless discharge module, and control the bidirectional DC-DC converter module to output the required power to the wireless discharge module based on the input power of the power supply device, wherein the required power of the wireless discharge module corresponds to the first load power of the first load.

[0048] When the charging / discharging circuit 100 is operating in bypass mode, the required power of the wireless discharge module 116 can be obtained first, and the required power of the wireless discharge module 116 corresponds to the first load power of the first load. The wireless discharge module 116 can obtain this first load power by communicating with the first load, thereby obtaining the corresponding required power.

[0049] In some cases, when the input power of the power supply device meets the required power, the bidirectional DC-DC converter 115 is controlled to activate either CV (Constant Voltage) or CC (Constant Current) mode. Based on the input power of the power supply device, it outputs the required power to the wireless discharge module 116, providing high-power power supply / charging to the first load. At this time, the bidirectional DC-DC converter 115 operates in the second output direction. In practical applications, the operation of the bidirectional DC-DC converter 115 in CV or CC mode is determined according to the requirements of the connected load.

[0050] In some cases, after supplying power to the first load for a period of time in step S120, the power demand decreases. The first switch module 112 can be closed and the second switch module 113 can be opened. The wireless discharge module 116 can then directly obtain the required power from the first interface 111 through the first switch module 112 and output it to the first load. If the battery module 200 requires charging at this time, the third switch module 114 is closed, and the bidirectional DC-DC converter module 115 is activated in CV or CC mode. Based on the cell characteristics of the battery module 200, a target voltage or target current is set, and charging power is output to the battery module 200, thus simultaneously supplying power to the first load and charging the battery module 200.

[0051] Therefore, it can be seen that, with only one bidirectional DC-DC converter module 115 required, by controlling the on and off states of the first switch module 112, the third switch module 114, and the second switch module 113, at least full-power wireless output bypassing the battery module 200 can be achieved based on the input power of the first interface 111. This application can achieve high-power wireless power supply or charging for the load connected to the wireless discharge module 116, simplifying the circuit while reducing circuit board area and hardware costs, and also facilitating product miniaturization.

[0052] In some embodiments, the control method further includes:

[0053] In step S210, in response to detecting that the first interface 111 is connected to a power supply device and the wireless discharge module 116 is coupled to a first load, the required power of the wireless discharge module 116 is obtained.

[0054] In step S220, when the input power of the power supply device is greater than the required power, the second switch module 113 is controlled to open and the first switch module 112 and the third switch module 114 are controlled to open. Based on the difference between the required power and the input power, the bidirectional DC-DC converter module 115 is controlled to output the first power to charge the battery module 200. The sum of the required power and the first power is less than or equal to the input power. The required power of the wireless discharge module 116 corresponds to the first load power of the first load.

[0055] In some cases, after supplying power to the first load for a period of time in step S120, the required power decreases. In other cases, the first load itself does not support high-power wireless power supply or charging, so it is easy to satisfy the requirement that the input power is greater than the required power. The wireless discharge module 116 is controlled to directly take the required power from the first interface 111 through the first switch module 112 and output it to the first load. The bidirectional DC-DC converter module 115 is controlled to enable CV or CC mode, and the target voltage or target current is set according to the cell characteristics of the battery module 200 to output charging power to the battery module 200, so as to charge the battery module 200 while supplying power to the first load. At this time, the bidirectional DC-DC converter module 115 operates in the first output direction, and the charging and discharging circuit 100 operates in the charging and discharging mode. This charging and discharging mode means that the battery module 200 is charged using the input power of the first interface 111 and discharged through the wireless discharge module 116.

[0056] In some embodiments, the control method further includes:

[0057] In step S310, in response to detecting that the first interface 111 is connected to a power supply device and the wireless discharge module 116 is coupled to a first load, the required power of the wireless discharge module 116 is obtained.

[0058] In step S320, when the input power of the power supply device is less than the required power, the first switch module 112 is turned off, the second switch module 113 and the third switch module 114 are turned on, and the bidirectional DC-DC converter module 115 is controlled to output the required power to the wireless discharge module 116 based on the input power and the battery power provided by the battery module 200.

[0059] In some cases, when the input power cannot meet the required power, the input power from the first interface 111 and the power provided by the battery module 200 can be used simultaneously to power the bidirectional DC-DC converter module 115. The bidirectional DC-DC converter module 115 then uses CV / CC mode to output power to the wireless discharge module 116 to supply power to the first load, thereby meeting the power requirements of the wireless discharge module 116. At this time, the bidirectional DC-DC converter module 115 operates in the second output direction, and the charging and discharging circuit 100 operates in parallel discharge mode.

[0060] The above embodiments provided in this application provide a charging and discharging circuit 100 that supports a wide input and output voltage range, powering the battery module 200 and / or the wireless discharge module 116, with higher conversion efficiency and better heat dissipation capabilities, reducing the stacking of additional components and space waste.

[0061] In some embodiments, the control method further includes:

[0062] In response to the detection that the first interface 111 is not connected to an external device and the wireless discharge module 116 is coupled to a first load, the first switch module 112 and the second switch module 113 are controlled to disconnect and the third switch module 114 is turned on. The bidirectional DC-DC converter module 115 is controlled to output the required power to the wireless discharge module 116 based on the battery power provided by the battery module 200, according to the power required by the wireless discharge module 116.

[0063] In this embodiment, the charging and discharging circuit 100 operates in wireless self-discharge mode. Based on the power requirements of the wireless discharge module 116, the bidirectional DC-DC converter module 115 outputs power to the wireless discharge module 116 in either CV or CC mode, supporting both full-power and low-power wireless output. By directly drawing power from the battery module 200 through a single bidirectional DC-DC converter module 115, compared to using two DC-DC circuits, circuit cost and size are reduced, while operating efficiency is improved and energy and heat loss are reduced.

[0064] In some embodiments, the control method further includes:

[0065] In response to the detection that the first interface 111 is connected to a power device and the wireless discharge module 116 is not coupled to the first load, the second switch module 113 is controlled to be disconnected and the first switch module 112 and the third switch module 114 are connected. The bidirectional DC-DC converter module 115 is controlled to charge the battery module 200 based on the input power according to the charging power of the battery module 200.

[0066] In this embodiment, the charging and discharging circuit 100 operates in wired charging mode. Based on the charging power of the battery module 200, the bidirectional DC-DC converter 115 activates either CV or CC mode, sets the target voltage and target current according to the cell characteristics of the battery module 200, and outputs charging power to the battery module 200.

[0067] In some embodiments, the control method further includes:

[0068] In response to the detection that a second load is connected to the first interface 111 and the wireless discharge module 116 is not coupled to the first load, the second switch module 113 is controlled to be disconnected and the first switch module 112 and the third switch module 114 are connected. The bidirectional DC-DC converter module 115 is controlled to provide the second load power to the second load of the first interface 111 based on the power of the second load of the second load and the power of the battery module 200.

[0069] In this embodiment, the charging and discharging circuit 100 operates in wired self-discharge mode. Based on the second load power and the battery power of the battery module 200, the bidirectional DC-DC converter module 115 enables CV mode or CC mode to output the second load power to the second load.

[0070] In some embodiments, the control method further includes:

[0071] In step S410, in response to detecting that the first interface 111 is connected to the second load and the wireless discharge module 116 is coupled to the first load, the second switch module 113 is disconnected and the first switch module 112 and the third switch module 114 are turned on. This allows the first load and the second load to be connected to the bidirectional DC-DC converter module 115.

[0072] In step S420, based on the second load power of the second load and the power requirement of the wireless discharge module 116, the bidirectional DC-DC converter module 115 is controlled to supply power to the second load of the first interface 111 and the wireless discharge module 116 based on the battery power provided by the battery module 200.

[0073] In some cases, the battery power provided by the battery module 200 can simultaneously meet the power requirements of the second load and the wireless discharge module 116. In this case, the bidirectional DC-DC converter module 115 can activate CV mode or CC mode to simultaneously supply full power to the first load and the second load, thereby enabling power supply to multiple loads.

[0074] In some cases, the battery power provided by the battery module 200 may not simultaneously meet the power requirements of the second load and the wireless discharge module 116. The bidirectional DC-DC converter module 115 can then be configured to use either CV or CC mode. This allows the wireless discharge module 116 to provide the required power to the first load, while the first interface 111 outputs the difference between the battery power and the required power to the second load. Alternatively, the wireless discharge module 116 can provide the difference between the battery power and the second load power to the first load, while the first interface 111 outputs the second load power to the second load. Or, the wireless discharge module 116 can provide half of the battery power to the first load, while the first interface 111 outputs the other half of the battery power to the second load, thus providing power to multiple loads. In other embodiments, power can be supplied according to the power supply priority between the second load connected to the first interface 111 and the first load connected to the wireless discharge module 116. In other embodiments, the power output to the second load connected to the first interface 111 can be dynamically adjusted based on the power requirements of the wireless discharge module 116.

[0075] In some embodiments, the control method further includes:

[0076] In response to the detection that no external device is connected to the first interface 111 and the wireless discharge module 116 is not coupled to the first load, the third switch module 114 is controlled to disconnect from the battery module 200. In this way, the static power consumption of the bidirectional DC-DC converter module 115 and the leakage current of devices such as solid capacitors can be effectively cut off, significantly reducing standby power consumption and effectively extending product life, inventory cycle and power-down time.

[0077] In some embodiments, when the wireless discharge module 115 draws power from the bidirectional DC-DC converter module 115, the wireless charging chip of the wireless discharge module 115 communicates with the bidirectional DC-DC converter module 115 or its controller through a communication interface, sending parameters such as the required voltage and current corresponding to the required power to the bidirectional DC-DC converter module 115 or its controller. The bidirectional DC-DC converter module 115 or its controller sets its operating mode according to these required voltage, current, and other parameters.

[0078] The discharge circuit architecture of this application only requires one bidirectional DC-DC converter module to support multiple operating conditions such as simultaneous charging and discharging, wireless charging, and wired charging. Compared with the traditional architecture, it has the following significant advantages: the circuit board area is reduced by 40%; the overall circuit board cost is reduced by about 10%; the wireless charging efficiency is improved by 2 percentage points; and the standby power consumption is reduced by 40%. The above embodiments provided by this application can be applied to higher power wireless solutions and have strong scalability in the future.

[0079] Please see Figure 3 and Figure 5 This application provides a control device for a charging and discharging circuit 100, the control device including:

[0080] The switch control module 510 is configured to, in response to detecting that the first interface 111 is connected to a power device and the wireless discharge module 116 is coupled to a first load, control the first switch module 112 and the third switch module 114 to disconnect and control the second switch module 113 to connect.

[0081] The power control module 520 is used to obtain the required power of the wireless discharge module 116 and control the bidirectional DC-DC converter module 115 to output the required power to the wireless discharge module 116 based on the input power of the power supply device, wherein the required power of the wireless discharge module 116 corresponds to the first load power of the first load.

[0082] In one embodiment, it further includes:

[0083] The switch control module 510 is also configured to obtain the required power of the wireless discharge module 116 in response to detecting that the first interface 111 is connected to a power supply device and the wireless discharge module 116 is coupled to a first load.

[0084] The power control module 520 is further configured to, when the input power of the power supply device is greater than the required power, control the second switch module 113 to open and the first switch module 112 and the third switch module 114 to open, and control the bidirectional DC-DC converter module 115 to output a first power to charge the battery module 200 based on the difference between the required power and the input power; wherein the sum of the required power and the first power is less than or equal to the input power, and the required power of the wireless discharge module 116 corresponds to the first load power of the first load.

[0085] In one embodiment, it further includes:

[0086] The switch control module 510 is also configured to obtain the required power of the wireless discharge module 116 in response to detecting that the first interface 111 is connected to a power supply device and the wireless discharge module 116 is coupled to a first load.

[0087] The power control module 520 is also configured to, when the input power of the power supply device is less than the required power, control the first switch module 112 to open, the second switch module 113 and the third switch module 114 to open, and control the bidirectional DC-DC converter module 115 to output the required power to the wireless discharge module 116 based on the input power and the battery power provided by the battery module 200.

[0088] In one embodiment, it further includes:

[0089] The switch control module 510 is further configured to, in response to detecting that the first interface 111 is not connected to an external device and the wireless discharge module 116 is coupled to a first load, control the first switch module 112 and the second switch module 113 to disconnect and the third switch module 114 to connect; the power control module 520 is further configured to, according to the power demand of the wireless discharge module 116, control the bidirectional DC-DC converter module 115 to output the required power to the wireless discharge module 116 based on the battery power provided by the battery module 200.

[0090] In one embodiment, it further includes:

[0091] The switch control module 510 is further configured to, in response to detecting that the first interface 111 is connected to a power device and the wireless discharge module 116 is not coupled to a first load, control the second switch module 113 to disconnect and the first switch module 112 and the third switch module 114 to connect; the power control module 520 is further configured to, according to the charging power of the battery module 200, control the bidirectional DC-DC converter module 115 to charge the battery module 200 based on the input power.

[0092] In one embodiment, it further includes:

[0093] The switch control module 510 is further configured to, in response to detecting that the first interface 111 is connected to a second load and the wireless discharge module 116 is not coupled to a first load, control the second switch module 113 to disconnect and the first switch module 112 and the third switch module 114 to connect; the power control module 520 is further configured to, according to the second load power of the second load, control the bidirectional DC-DC converter module 115 to provide the second load power to the second load of the first interface 111 based on the power of the battery module 200.

[0094] In one embodiment, it further includes:

[0095] The switch control module 510 is also configured to, in response to detecting that the first interface 111 is connected to a second load and the wireless discharge module 116 is coupled to a first load, control the second switch module 113 to disconnect and the first switch module 112 and the third switch module 114 to connect.

[0096] The power control module 520 is also used to control the bidirectional DC-DC converter 115 to supply power to the second load of the first interface 111 and the wireless discharge module 116 based on the second load power of the second load and the power demand of the wireless discharge module 116.

[0097] In one embodiment, it further includes:

[0098] The switch control module 510 is also configured to control the third switch module 114 to disconnect in response to detecting that the first interface 111 is not connected to an external device and the wireless discharge module 116 is not coupled to a first load.

[0099] In one embodiment, the power control module 520 is also used to control the bidirectional DC-DC converter module 115 to operate in constant current mode or constant voltage mode.

[0100] It is understood that for details on the specific implementation of the charging and discharging circuit 100 and its related beneficial effects, please refer to the description of the specific embodiment of the control method for the bidirectional AC / DC converter described above, and will not be repeated here.

[0101] Please see Figure 3 and Figure 6This application also provides a portable charging device 600, including a charging and discharging circuit 100, a battery module 200, a memory 610, a processor 620, and a computer program 630 stored in the memory 610 and executable on the processor 620. The charging and discharging circuit 100 includes a first interface 111, a first switch module 112, a second switch module 113, a third switch module 114, a bidirectional DC-DC converter module 115, and a wireless discharge module 116, all connected to the processor 620. The first interface 111 is used to connect to an external device. The first end of the bidirectional DC-DC converter module 115 is connected to the first interface 111 through the first switch module 112. The second switch module 113 is connected between the first interface 111 and the second end of the bidirectional DC-DC converter module 115. The second end of the bidirectional DC-DC converter module 115 is used to connect to the battery module 200 through the third switch module 114. The wireless discharge module 116 is connected to the first end of the bidirectional DC-DC converter module 115. When the processor 620 executes the computer program 630, it implements the steps of the control method of the charging and discharging circuit 100 as described in any of the above embodiments.

[0102] As an example, battery module 200 is formed by arranging and fixing multiple battery cells together to form a single module. Alternatively, battery module 200 can be formed by bundling multiple battery cells together with cable ties.

[0103] Those skilled in the art will understand that Figure 6 This is merely an example of a portable charging device 600 and does not constitute a limitation on the portable charging device 600. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0104] Processor 620 can be a Central Processing Unit (CPU), and processor 62083 can also be other general-purpose controllers, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose controller can be a microcontroller or any conventional controller.

[0105] In some embodiments, memory 610 may be an internal storage unit of the portable charging device 600 or energy storage device, such as a hard drive or memory of the portable charging device 600 or energy storage device. In other embodiments, memory 610 may be an external storage device of the portable charging device 600 or energy storage device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the portable charging device 600 or energy storage device. Furthermore, memory 610 may include both internal storage units and external storage devices of the portable charging device 600 or energy storage device. Memory 610 is used to store the operating system, applications, boot loader, data, and other programs. Memory 610 may also be used to temporarily store data that has been output or will be output.

[0106] This application also provides a computer-readable storage medium storing a computer program 630, which, when executed by a processor 620, can implement the steps in the above-described method embodiments.

[0107] This application provides a computer program 630 product that, when run on a computer, causes the computer to perform the steps in the various method embodiments described above.

[0108] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above method embodiments of this application can be implemented by a computer program 630 instructing related hardware. The computer program 630 can be stored in a computer-readable storage medium. When the computer program 630 is executed by the processor 620, it can implement the steps of the above method embodiments. The computer program 630 includes computer program 630 code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include at least: any entity or device capable of carrying the computer program 630 code to a camera device / terminal device, a recording medium, a computer memory 610, a ROM (Read-Only Memory), RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, and optical data storage device, etc. The computer-readable storage medium mentioned in this application may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0109] It should be understood that all or part of the steps of the above embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part as a computer program 630 product. The computer program 630 product includes one or more computer instructions. The computer instructions can be stored in the above-described computer-readable storage medium.

[0110] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0111] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0112] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0113] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0114] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A control method for a charging and discharging circuit, characterized in that, The charging and discharging circuit includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module. The first interface is used to connect to an external device. A first terminal of the bidirectional DC-DC converter module is connected to the first interface via the first switch module. The second switch module is connected between the first interface and a second terminal of the bidirectional DC-DC converter module. The second terminal of the bidirectional DC-DC converter module is used to connect to a battery module via the third switch module. The wireless discharge module is connected to the first terminal of the bidirectional DC-DC converter module. The control method includes: In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the first switch module and the third switch module are disconnected, and the second switch module is turned on. The required power of the wireless discharge module is obtained, and the bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the input power of the power supply device, wherein the required power of the wireless discharge module corresponds to the first load power of the first load.

2. The control method as described in claim 1, characterized in that, Also includes: In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the required power of the wireless discharge module is obtained. When the input power of the power supply device is greater than the required power, the second switch module is controlled to open and the first switch module and the third switch module are controlled to open. Based on the difference between the required power and the input power, the bidirectional DC-DC converter module is controlled to output a first power to charge the battery module. The sum of the required power and the first power is less than or equal to the input power, and the required power of the wireless discharge module corresponds to the first load power of the first load.

3. The control method as described in claim 1, characterized in that, Also includes: In response to detecting that the first interface is connected to a power device and the wireless discharge module is coupled to a first load, the required power of the wireless discharge module is obtained. When the input power of the power supply device is less than the required power, the first switch module is controlled to be disconnected, the second switch module and the third switch module are controlled to be connected, and the bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the input power and the battery power provided by the battery module.

4. The control method as described in claim 1, characterized in that, Also includes: In response to the detection that the first interface is not connected to an external device and the wireless discharge module is coupled to a first load, the first switch module and the second switch module are controlled to disconnect and the third switch module is controlled to connect. The bidirectional DC-DC converter is controlled to output the required power to the wireless discharge module based on the battery power provided by the battery module, according to the required power of the wireless discharge module.

5. The control method as described in claim 1, characterized in that, Also includes: In response to detecting that the first interface is connected to a power device and the wireless discharge module is not coupled to a first load, the second switch module is controlled to disconnect and the first switch module and the third switch module are controlled to connect. The bidirectional DC-DC converter is controlled to charge the battery module based on the input power according to the charging power of the battery module.

6. The control method as described in claim 1, characterized in that, Also includes: In response to the detection that a second load is connected to the first interface and the wireless discharge module is not coupled to the first load, the second switch module is controlled to disconnect, the first switch module and the third switch module are controlled to connect, and the bidirectional DC-DC converter is controlled to provide the second load power to the second load of the first interface based on the power of the second load of the second load and the power of the battery module.

7. The control method according to any one of claims 1 to 6, characterized in that, Also includes: In response to the detection that a second load is connected to the first interface and the wireless discharge module is coupled to a first load, the second switch module is controlled to disconnect and the first switch module and the third switch module are controlled to connect. Based on the second load power of the second load and the power requirement of the wireless discharge module, the bidirectional DC-DC converter is controlled to supply power to the second load of the first interface and the wireless discharge module based on the battery power provided by the battery module.

8. The control method according to any one of claims 1 to 6, characterized in that, Also includes: In response to the detection that no external device is connected to the first interface and the wireless discharge module is not coupled to the first load, the third switch module is controlled to disconnect.

9. The control method according to any one of claims 1 to 6, characterized in that, The bidirectional DC-DC converter module operates in either constant current or constant voltage mode.

10. A portable charging device, characterized in that, The device includes a charging / discharging circuit, a battery module, a memory, a processor, and a computer program stored in the memory and executable on the processor. The charging / discharging circuit includes a first interface, a first switch module, a second switch module, a third switch module, a bidirectional DC-DC converter module, and a wireless discharge module, all connected to the processor. The first interface is used to connect to an external device. A first end of the bidirectional DC-DC converter module is connected to the first interface via the first switch module. The second switch module is connected between the first interface and a second end of the bidirectional DC-DC converter module. The second end of the bidirectional DC-DC converter module is used to connect to the battery module via the third switch module. The wireless discharge module is connected to the first end of the bidirectional DC-DC converter module. When the processor executes the computer program, it implements the steps of the control method for the charging / discharging circuit as described in any one of claims 1 to 9.