Multi-port charging equipment, charging control method thereof and storage medium
By designing a dual-protocol module and a switching module, the power of multi-port charging devices is dynamically allocated, solving the problem of balancing circuit structure size and energy efficiency in existing technologies, and achieving power optimization and energy efficiency maximization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-10
- Publication Date
- 2026-03-13
AI Technical Summary
Existing multi-port charging devices struggle to balance circuit size and energy efficiency. Traditional solutions suffer from low energy efficiency due to single-path conversion, while independent protocol module solutions are bulky.
The design employs a dual-protocol module and a switching module to dynamically allocate power based on the status and power requirements of the interface-connected equipment. The switching module connects the third interface to the most suitable protocol module, thereby optimizing power allocation.
It achieves dynamic power optimization in multi-port charging scenarios, maximizes energy efficiency, and has a small circuit structure, balancing circuit size and energy efficiency.
Smart Images

Figure CN121663713A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging technology, and in particular to a multi-port charging device, its charging control method, and a storage medium. Background Technology
[0002] With the development of mobile smart devices and the increase in people's needs, multi-port charging devices have emerged. These devices have multiple ports, enabling them to charge multiple mobile smart devices.
[0003] In related technologies, most multi-port charging devices use a single-path buck or buck-boost circuit, outputting power to multiple ports via a splitter configuration. When multiple ports are connected to devices that all require output, the total power is converted through a single path and then fixedly distributed, resulting in low energy efficiency. Some multi-port charging devices also have independent protocol modules for each port; however, such circuit structures are bulky. Therefore, existing multi-port charging devices struggle to balance circuit size and energy efficiency. Summary of the Invention
[0004] This invention provides a multi-port charging device, its charging control method, and a storage medium to solve the problem that existing multi-port charging devices cannot balance circuit structure size and energy efficiency.
[0005] This invention discloses a charging control method for a multi-port charging device. The multi-port charging device includes a battery module, a first protocol module, a second protocol module, a first interface, a second interface, a third interface, and a switching module. The voltage input terminals of the first protocol module and the second protocol module are connected to the battery module. The voltage output terminal of the first protocol module is connected to the first interface and the third interface through the switching module. The voltage output terminal of the second protocol module is connected to the second interface and the third interface through the switching module. The first protocol module and the second protocol module are communicatively connected. The charging control method of the multi-port charging device includes: Detect the power receiving device connection status of the first interface, the second interface, and the third interface; When only one interface is connected to the powered device, the system enters the first working mode, controls the switching module to connect the interface of the connected powered device to the corresponding protocol module, and allocates power according to the power demand of the powered device. When only two interfaces are connected to the powered device, the second working mode is entered, and the switching module is controlled to connect the two interfaces of the connected powered device to the first protocol module and the second protocol module respectively, and to allocate power according to the power demand of the powered device and the connection order. When the first interface, the second interface, and the third interface are all connected to the powered device, the third working mode is entered. The switching module is controlled to connect the first interface to the first protocol module and the second interface to the second protocol module. Power is allocated according to the power demand of the powered device and the connection order. The switching module is also controlled to switch the third interface to the first protocol module or the second protocol module.
[0006] Optionally, the second working mode specifically includes the following steps: Control the switching module to connect the two interfaces to the first protocol module and the second protocol module respectively; Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; If they are the same, the required power is allocated to the power receiving device that is inserted first, and the remaining power is allocated to the power receiving device that is inserted later, according to the order of the power receiving devices. If they are different, power will be allocated according to the power demand of the receiving equipment.
[0007] Optionally, the third working mode specifically includes the following steps: The switching module is controlled to connect the first interface to the first protocol module and the second interface to the second protocol module. Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; If they are the same, then according to the access order of the power receiving devices, the switching module is controlled to connect the third interface to the protocol module corresponding to the interface of the power receiving device that is connected later, and the required power is allocated to the power receiving device that is inserted first, and the remaining power is allocated to the power receiving device that is inserted later. If they are different, power allocation is performed according to the power demand of the powered equipment, and the switching module is controlled to connect the interface to the first protocol module or the second protocol module.
[0008] Optionally, the power allocation based on the power demand of the powered equipment includes the following steps: Determine whether the total power demand of the power receiving equipment exceeds the preset total power. If the total power demand of the receiving equipment exceeds the preset total power, the power will be reduced according to the preset priority of the receiving equipment.
[0009] This invention also discloses a multi-port charging device, which includes a battery module, a first protocol module, a second protocol module, a first interface, a second interface, a third interface, and a switching module. The voltage input terminals of the first protocol module and the second protocol module are connected to the battery module. The voltage output terminal of the first protocol module is connected to the first interface and the third interface through the switching module. The voltage output terminal of the second protocol module is connected to the second interface and the third interface through the switching module. The control terminal of the switching module is connected to the first protocol module. The first protocol module and the second protocol module are communicatively connected. The first protocol module performs charging control using the charging control method of the multi-port charging device as described in any of the above claims.
[0010] Optionally, the switching module includes a first bidirectional switching circuit, a second bidirectional switching circuit, a third bidirectional switching circuit, and a fourth bidirectional switching circuit. The first interface is connected to the voltage output terminal of the first protocol module through the first bidirectional switching circuit. The second interface is connected to the voltage output terminal of the second protocol module through the second bidirectional switching circuit. The third interface is connected to the voltage output terminal of the first protocol module through the third bidirectional switching circuit and to the voltage output terminal of the second protocol module through the fourth bidirectional switching circuit. The control terminals of the first and third bidirectional switching circuits are both connected to the first protocol module, and the control terminals of the second and fourth bidirectional switching circuits are both connected to the second protocol module.
[0011] Optionally, the first bidirectional switching circuit includes a first switching transistor and a second switching transistor, the source of the first switching transistor is connected to the source of the second switching transistor, the drain of the first switching transistor is connected to the first interface, and the drain of the second switching transistor is connected to the first protocol module. The second bidirectional switching circuit includes a third switching transistor and a fourth switching transistor. The source of the third switching transistor is connected to the source of the fourth switching transistor, the drain of the third switching transistor is connected to the second interface, and the drain of the fourth switching transistor is connected to the second protocol module. The third bidirectional switching circuit includes a fifth switching transistor and a sixth switching transistor. The source of the fifth switching transistor is connected to the source of the sixth switching transistor, the drain of the fifth switching transistor is connected to the third interface, and the drain of the sixth switching transistor is connected to the first protocol module. The fourth bidirectional switching circuit includes a seventh switch and an eighth switch. The source of the seventh switch is connected to the source of the eighth switch, the drain of the seventh switch is connected to the third interface, and the drain of the eighth switch is connected to the second protocol module. The gates of the first, second, fifth, and sixth switching transistors are all connected to the first protocol module, and the gates of the third, fourth, seventh, and eighth switching transistors are all connected to the second protocol module.
[0012] Optionally, the first protocol module includes a first protocol chip, a first inductor, a ninth switch, a tenth switch, an eleventh switch, and a twelfth switch. One end of the first inductor is connected to the source of the ninth switch and the drain of the tenth switch, and the other end is connected to the source of the eleventh switch and the drain of the twelfth switch. The drain of the ninth switch is connected to the switching module. The sources of the tenth and twelfth switches are both grounded. The drain of the eleventh switch is connected to the battery module. The gates of the ninth, tenth, eleventh, and twelfth switches are all connected to the first protocol chip.
[0013] Optionally, the first interface is a first Type-C interface, the second interface is a second Type-C interface, and the third interface is a USB-A interface.
[0014] The present invention also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the method described in any of the preceding claims.
[0015] The beneficial effects of the multi-port charging device, its charging control method, and storage medium provided in this invention are as follows: By setting two protocol modules, the voltage output terminal of the first protocol module is connected to the first interface through a switching module, the second protocol module is connected to the second interface through a switching module, and the third interface can be connected to either the first or second protocol module through a switching module. This application controls the switching module based on the power receiving device access status of the first, second, and third interfaces, and according to the power demand and access sequence of the power receiving devices. Under different power receiving device access statuses, the third interface is assigned to either the first or second protocol module, thereby allocating power based on the power demand and access sequence of the power receiving devices, realizing dynamic power optimization in multi-port charging scenarios, maximizing energy efficiency, and compared to the scheme of configuring a separate protocol module for each interface, the circuit structure is smaller. Therefore, this application can balance circuit structure size and energy efficiency. Attached Figure Description
[0016] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a structural block diagram of a multi-port charging device according to an embodiment of the present invention; Figure 2This is a flowchart illustrating the charging control method of a multi-port charging device according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the process of a multi-port charging device entering the second working mode according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the process of a multi-port charging device entering the third working mode according to an embodiment of the present invention; Figure 5 This is a circuit diagram of the first protocol module in an embodiment of the present invention; Figure 6 This is a circuit diagram of the first interface connected to the first bidirectional switch circuit in an embodiment of the present invention; Figure 7 This is a circuit diagram of the second protocol module according to an embodiment of the present invention; Figure 8 This is a circuit diagram of an embodiment of the present invention, showing the second interface connected to the second bidirectional switch circuit and the third interface connected to the fourth bidirectional switch circuit. Figure 9 This is a structural block diagram of a computer-readable storage medium according to an embodiment of the present invention.
[0017] The labels for the attached figures are as follows: 100. Multi-port charging equipment; 110. Battery module; 120. First protocol module; U1. First protocol chip; L1. First inductor; Q9. Ninth switch; Q10. Tenth switch; Q11. Eleventh switch; Q12. Twelfth switch; 130. Second protocol module; U2. Second protocol chip; L2. Second inductor; Q13. Thirteenth switch; Q14. Fourteenth switch; Q15. Fifteenth switch; Q16. Sixteenth switch; 140. First interface; 150. Second interface; 160. Third interface; 170. Switching module; 171. First bidirectional switch circuit; Q1. First switch; Q2. Second switch; 172. Second bidirectional switch circuit; Q3. Third switch; Q4. Fourth switch; 173. Third bidirectional switch circuit; Q5. Fifth switch; Q6. Sixth switch; 174. Fourth bidirectional switch circuit; Q7. Seventh switch; Q8. Eighth switch; 200. Computer-readable storage medium; 210. Computer program. Detailed Implementation
[0018] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0019] This invention provides a charging control method for a multi-port charging device 100, such as... Figure 1 and Figure 2 As shown, the multi-port charging device 100 includes a battery module 110, a first protocol module 120, a second protocol module 130, a first interface 140, a second interface 150, a third interface 160, and a switching module 170. The voltage input terminals of the first protocol module 120 and the second protocol module 130 are connected to the battery module 110. The voltage output terminal of the first protocol module 120 is connected to the first interface 140 and the third interface 160 through the switching module 170. The voltage output terminal of the second protocol module 130 is connected to the second interface 150 and the third interface 160 through the switching module 170. The charging control method of the multi-port charging device 100 includes: S110, Detect the power receiving device connection status of the first interface 140, the second interface 150 and the third interface 160; S120. When only one interface is connected to the power receiving device, the first working mode is entered, and the control switch module 170 connects the interface of the connected power receiving device to the corresponding protocol module, and performs power allocation according to the power demand of the power receiving device. S130. When only two interfaces are connected to the power receiving device, the second working mode is entered, and the switching module 170 is controlled to connect the two interfaces of the connected power receiving device to the first protocol module 120 and the second protocol module 130 respectively, and the power is allocated according to the power demand of the power receiving device and the connection order. S140. When the first interface 140, the second interface 150, and the third interface 160 are all connected to the powered device, the third working mode is entered. The switching module 170 is controlled to connect the first interface 140 to the first protocol module 120, connect the second interface 150 to the second protocol module 130, and perform power allocation according to the power demand of the powered device and the connection order. The switching module 170 is also controlled to switch the third interface 160 to the first protocol module 120 or the second protocol module 130.
[0020] The charging control method of the multi-port charging device 100 in this application embodiment sets up two protocol modules. The voltage output terminal of the first protocol module 120 is connected to the first interface 140 through the switching module 170. The second protocol module 130 is connected to the second interface 150 through the switching module 170. The third interface 160 can be connected to the first protocol module 120 or the second protocol module 130 through the switching module 170. This application controls the switching module 170 based on the power receiving device access status of the first interface 140, the second interface 150 and the third interface 160, and according to the power demand and access sequence of the power receiving device. Under different power receiving device access statuses, the third interface 160 is assigned to the first protocol module 120 or the second protocol module 130. Then, power allocation is performed based on the power demand and access sequence of the power receiving device to achieve dynamic power optimization in multi-port charging scenarios and maximize energy efficiency. Compared with the scheme of configuring a separate protocol module for each interface, the circuit structure is smaller. Therefore, this application can balance the circuit structure size and energy efficiency.
[0021] In step S120, by controlling the switching module 170, a circuit path can be formed between the interface of the connected device and a protocol module. In a specific implementation scenario, if the first interface 140 is connected to the device, the switching module 170 connects the first interface 140 to the first protocol module 120; if the second interface 150 is connected, the switching module 170 connects the second interface 150 to the second protocol module 130; if the third interface 160 is connected, the switching module 170 connects the third interface 160 to either the first protocol module 120 or the second protocol module 130. For example, if only the third interface 160 is connected, it is connected to the second protocol module 130 by default. After the path is connected, the corresponding protocol module identifies the charging protocol, voltage, and current requirements of the device to obtain the required power. The corresponding protocol module triggers the highest power fast charging protocol supported by the multi-port charging device 100 according to the required power of the device to meet the needs of the device and achieve efficient charging of a single device. Therefore, when only one interface is connected to the powered device, the multi-port charging device 100 can realize blind insertion of the device, meeting the blind insertion fast charging requirements of high-power devices.
[0022] refer to Figures 1 to 3 In an optional embodiment of this application, the second working mode specifically includes the following steps: S210, control the switching module 170 to connect the two interfaces to the first protocol module 120 and the second protocol module 130 respectively; S220. Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; S230. If they are the same, then according to the access order of the power receiving equipment, the required power is allocated to the power receiving equipment that is inserted first, and the remaining power is allocated to the power receiving equipment that is inserted later. S240. If they are different, power allocation shall be performed according to the power demand of the power receiving equipment.
[0023] Specifically, in step S210, when two interfaces are connected to the powered device, the switching module 170 is controlled to be in a "one-to-one" connection state, that is, the interfaces of the two connected devices are independently connected to the first protocol module 120 and the second protocol module 130 respectively. When the third interface 160 is connected to the powered device, the third interface 160 will be dynamically allocated to the currently idle protocol module, ensuring that the two powered devices obtain power through independent protocol modules, avoiding path conflicts, and providing a hardware foundation for subsequent power allocation. For example, if the first interface 140 and the second interface 150 are connected to the powered device, the switching module 170 is controlled so that the first interface 140 is connected to the first protocol module 120 and the second interface 150 is connected to the second protocol module 130; if the first interface 140 and the third interface 160 are connected to the powered device, the switching module 170 is controlled so that the first interface 140 is connected to the first protocol module 120 and the third interface 160 is connected to the third protocol module; if the second interface 150 and the third interface 160 are connected to the powered device, the switching module 170 is controlled so that the second interface 150 is connected to the second protocol module 130 and the third interface 160 is connected to the first protocol module 120.
[0024] In step S220, the first protocol module 120 and the second protocol module 130 can identify the power requirements (such as voltage, current, charging protocol, etc.) of the two powered devices, thereby determining whether the device types are consistent. For example, both powered devices may be mobile phones, both may be tablets, or one may be a mobile phone and the other a laptop. Same device type usually means similar power requirements, while different types may have significantly different power requirements. Therefore, based on the power requirements of the powered devices, it can be determined whether the device types are the same.
[0025] In step S230, when two powered devices are of the same type (e.g., both are laptops), the power demand of the first connected device is prioritized. The remaining available power (not exceeding the total output limit of the battery module 110 and the protocol module) is then allocated to the later connected device. For example, if the total output capacity is 67W and the first connected laptop requires 45W, then 45W is allocated to it, and the remaining 22W is allocated to the later connected laptop. This "connection order priority" principle avoids power allocation conflicts, ensuring a better charging experience for the first connected device while also ensuring that the later connected device receives some power, preventing it from being completely unable to charge.
[0026] In step S240, when the two powered devices have different device types, the power is directly allocated according to their actual power requirements (provided that the total demand does not exceed the maximum output capacity of the devices).
[0027] Therefore, in the second working mode, by allocating one protocol module to each of the two interfaces of the connected powered device, and by allocating power according to the device type of the two connected powered devices and the access order, power conflict is avoided, and the rationality and energy efficiency of charging both ports at the same time are maximized.
[0028] refer to Figures 1 to 4 In an optional embodiment of this application, the third working mode specifically includes the following steps: S310, the control switching module 170 connects the first interface 140 and the first protocol module 120, and connects the second interface 150 and the second protocol module 130. S320. Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; S330. If they are the same, then according to the access order of the power receiving equipment, control the switching module 170 to connect the third interface 160 to the protocol module corresponding to the interface of the power receiving equipment that is connected later, and allocate the required power to the power receiving equipment that is inserted first, and allocate the remaining power to the power receiving equipment that is inserted later. S340 If they are different, power allocation is performed according to the power demand of the powered equipment, and the switching module 170 is controlled to connect the interface to the first protocol module 120 or the second protocol module 130.
[0029] Specifically, in step S330, when the first interface 140, the second interface 150, and the third interface 160 are connected to the same type of powered device, the charging power priority of the three interfaces is determined according to the connection order. Priority is given to meeting the full power demand of the earliest connected powered device, and the remaining available power (not exceeding the total output limit) is allocated to the two connected powered devices later. For example, if the connection order is the first interface 140, the second interface 150, and the third interface 160, or the third interface 160, the first interface 140, and the second interface 150, then the third interface 160 is connected to the second protocol module 130, prioritizing the power demand of the first interface 140. If the connection order is the second interface 150, the first interface 140, and the third interface 160, or the third interface 160, the second interface 150, and the first interface 140, then the third interface 160 is connected to the first protocol module 120, prioritizing the power demand of the second interface 150. This avoids excessive power consumption of the preceding powered devices, ensuring that all three devices can obtain reasonable power and maximizing energy efficiency.
[0030] In step S340, when the three devices are different, the power is flexibly allocated according to the actual power requirements. The third interface 160 is connected to the "protocol module with more remaining power". For example, the first protocol module 120 provides 18W to the mobile phone and has 12W left, and the second protocol module 130 provides 30W to the tablet and has 0W left. Then the headphone of the third interface 160 is connected to the first protocol module 120 and allocated 5W.
[0031] Therefore, by allocating power according to the power demand of the powered equipment and the access sequence, and by controlling the switching module 170 to switch the third interface 160 to the first protocol module 120 or the second protocol module 130, the large differences in power demand of different types of equipment can be taken advantage of. By dynamically allocating the connection objects of the third interface 160, power resources can be tilted towards the more needed equipment, reducing resource waste and maximizing the energy efficiency of charging multiple devices at the same time.
[0032] Furthermore, power allocation is performed based on the power demand of the receiving equipment, including the following steps: Determine whether the total power demand of the power receiving equipment exceeds the preset total power. If the total power demand of the receiving equipment exceeds the preset total power, the power will be reduced according to the preset priority of the receiving equipment.
[0033] By determining whether the total power demand of the powered devices exceeds the preset total power, the power is reduced according to the preset priority when the total power exceeds the preset total power. For example, the priority of laptops, tablets and mobile phones is laptops first, then tablets first, then mobile phones. This avoids charging interruptions and current fluctuations caused by disorderly competition for power among the powered devices, and ensures a stable charging process.
[0034] This application also provides a multi-port charging device 100. (See reference...) Figures 1 to 4 The multi-port charging device 100 includes a battery module 110, a first protocol module 120, a second protocol module 130, a first interface 140, a second interface 150, a third interface 160, and a switching module 170. The voltage input terminals of the first protocol module 120 and the second protocol module 130 are connected to the battery module 110. The voltage output terminal of the first protocol module 120 is connected to the first interface 140 and the third interface 160 through the switching module 170. The voltage output terminal of the second protocol module 130 is connected to the second interface 150 and the third interface 160 through the switching module 170. The control terminal of the switching module 170 is connected to the first protocol module 120. The first protocol module 120 and the second protocol module 130 are communicatively connected. The first protocol module 120 performs charging control using the charging control method of the multi-port charging device 100 described above.
[0035] The multi-port charging device 100 of this application embodiment is configured with two protocol modules. The voltage output terminal of the first protocol module 120 is connected to the first interface 140 through the switching module 170. The second protocol module 130 is connected to the second interface 150 through the switching module 170. The third interface 160 can be connected to either the first protocol module 120 or the second protocol module 130 through the switching module 170. This application controls the switching module 170 based on the power receiving device access status of the first interface 140, the second interface 150, and the third interface 160, and according to the power demand and access sequence of the power receiving device. Under different power receiving device access statuses, the third interface 160 is assigned to either the first protocol module 120 or the second protocol module 130. Thus, power allocation is performed based on the power demand and access sequence of the power receiving device, realizing dynamic power optimization in multi-port charging scenarios and maximizing energy efficiency. Compared with the scheme of configuring a separate protocol module for each interface, the circuit structure is smaller. Therefore, this application can balance circuit structure size and energy efficiency.
[0036] refer to Figures 1 to 8 In an optional embodiment of this application, the switching module 170 includes a first bidirectional switching circuit 171, a second bidirectional switching circuit 172, a third bidirectional switching circuit 173, and a fourth bidirectional switching circuit 174. The first interface 140 is connected to the voltage output terminal of the first protocol module 120 through the first bidirectional switching circuit 171. The second interface 150 is connected to the voltage output terminal of the second protocol module 130 through the second bidirectional switching circuit 172. The third interface 160 is connected to the voltage output terminal of the first protocol module 120 through the third bidirectional switching circuit 173 and to the voltage output terminal of the second protocol module 130 through the fourth bidirectional switching circuit 174. The control terminals of the first bidirectional switching circuit 171 and the third bidirectional switching circuit 173 are both connected to the first protocol module 120; the control terminals of the second bidirectional switching circuit 172 and the fourth bidirectional switching circuit 174 are both connected to the second protocol module 130.
[0037] By configuring a first bidirectional switching circuit 171, a second bidirectional switching circuit 172, a third bidirectional switching circuit 173, and a fourth bidirectional switching circuit 174, the first interface 140 can be connected to the first protocol module 120 via the first bidirectional switching circuit 171; the second interface 150 can be connected to the second protocol module 130 via the second bidirectional switching circuit 172; and the third interface 160 can be selectively connected to either the first protocol module 120 or the second protocol module 130 via the third bidirectional switching circuit 173 and the fourth bidirectional switching circuit 174. This satisfies the path switching requirements when multiple devices are connected, and allows for dynamic power allocation based on the access sequence and power requirements of the devices received by each interface. Furthermore, the control terminals of all bidirectional switching circuits are uniformly connected to the first protocol module 120, facilitating centralized coordination of control logic (such as synchronously switching multiple switches based on access status and power requirements), reducing control delays and conflicts, and improving response speed. In addition, the switching module 170 employs a first bidirectional switching circuit 171, a second bidirectional switching circuit 172, a third bidirectional switching circuit 173, and a fourth bidirectional switching circuit 174, which also serve as bidirectional protection, especially during the process of charging and discharging simultaneously and fast charging switching, to prevent the input voltage from affecting the output voltage of other ports.
[0038] refer to Figure 1 , Figure 5 and Figure 6 In an optional embodiment of this application, the first bidirectional switching circuit 171 includes a first switching transistor Q1 and a second switching transistor Q2. The source of the first switching transistor Q1 is connected to the source of the second switching transistor Q2, and the drain of the first switching transistor Q1 is connected to the first interface 140. The drain of the second switching transistor Q2 is connected to the first protocol module 120. The second bidirectional switching circuit 172 includes a third switching transistor Q3 and a fourth switching transistor Q4. The source of the third switching transistor Q3 is connected to the source of the fourth switching transistor Q4, and the drain of the third switching transistor Q3 is connected to the second interface 150. The drain of the fourth switching transistor Q4 is connected to the second protocol module 130. The third bidirectional switching circuit 173 includes a fifth switching transistor Q5 and a sixth switching transistor Q6. The source of the fifth switching transistor Q5 is connected to the first interface 140. The source of the sixth switch Q6 and the drain of the fifth switch Q5 are connected to the third interface 160, and the drain of the sixth switch Q6 is connected to the first protocol module 120; the fourth bidirectional switching circuit 174 includes a seventh switch Q7 and an eighth switch Q8, the source of the seventh switch Q7 is connected to the source of the eighth switch Q8, the drain of the seventh switch Q7 is connected to the third interface 160, and the drain of the eighth switch Q8 is connected to the second protocol module 130; the gates of the first switch Q1, the second switch Q2, the fifth switch Q5, and the sixth switch Q6 are all connected to the first protocol module 120, and the gates of the third switch Q3, the fourth switch Q4, the seventh switch Q7, and the eighth switch Q8 are all connected to the second protocol module 130.
[0039] Each bidirectional switching circuit uses two switching transistors connected in reverse parallel, enabling both forward power transmission and reverse signal interaction. Simultaneously, the off-state of the switching transistors physically isolates the voltage / signal between different interfaces and protocol modules, preventing cross-interference. During control, the first protocol module 120 and the second protocol module 130 control each switching transistor according to the charging control method of the multi-port charging device 100 described above, thereby connecting or disconnecting the pathways between each interface and each protocol module. Further details are omitted here.
[0040] refer to Figure 1 , Figure 5 and Figure 6 In an optional embodiment of this application, the first protocol module 120 includes a first protocol chip U1, a first inductor L1, a ninth switch Q9, a tenth switch Q10, an eleventh switch Q11, and a twelfth switch Q12. One end of the first inductor L1 is connected to the source of the ninth switch Q9 and the drain of the tenth switch Q10, and the other end is connected to the source of the eleventh switch Q11 and the drain of the twelfth switch Q12. The drain of the ninth switch Q9 is connected to the switching module 170. The sources of the tenth switch Q10 and the twelfth switch Q12 are both grounded. The drain of the eleventh switch Q11 is connected to the battery module 110. The gates of the ninth switch Q9, the tenth switch Q10, the eleventh switch Q11, and the twelfth switch Q12 are all connected to the first protocol chip U1. The first protocol chip U1 is connected to the control terminal of the switching module 170 and the second protocol module 130.
[0041] The first inductor L1, the ninth switch Q9, the tenth switch Q10, the eleventh switch Q11, and the twelfth switch Q12 form a buck-boost topology. The first protocol chip U1 controls the turn-on sequence of each switch, which can flexibly adjust the output voltage and current. It can independently buck-boost the battery voltage (e.g., 14.4V) to the target voltage (e.g., 5V, 9V, 12V, 15V, 20V) negotiated between the first protocol chip U1 and the powered device, thus realizing dynamic power distribution output.
[0042] Optionally, the first protocol chip U1 may be an IP5385 or other types of chip.
[0043] The first protocol module 120 and the second protocol module 130 are physically independent and do not interfere with each other. Each channel can independently boost or buck the voltage of the battery module 110 (e.g., 14.4V) to a target voltage (e.g., 5V, 9V, 12V, 15V, 20V) negotiated with the powered device. This allows the two protocol modules to output different voltages and currents simultaneously, perfectly matching the charging needs of two different devices. The dual-channel independent design reduces energy loss and improves overall conversion efficiency. Power allocation is dynamic and flexible, resulting in high resource utilization. The protocol chips of each interface negotiate protocols independently, avoiding conflicts and maximizing compatibility with mainstream fast charging protocols on the market.
[0044] In an optional embodiment of this application, the first interface 140 is a first Type-C interface, the second interface 150 is a second Type-C interface, and the third interface 160 is a USB-A interface. The first and second Type-C interfaces can support protocols such as PPS / PD3.0 / QC, and the USB-A interface is connected to the first protocol module 120 or the second protocol module 130 through the switching settings of the switching module 170, and can support 22.5W protocols such as SCP / AFC.
[0045] refer to Figure 1 , Figures 5 to 8 In an optional embodiment of this application, the second protocol module 130 includes a second protocol chip U2, a second inductor L2, a thirteenth switch Q13, a fourteenth switch Q14, a fifteenth switch Q15, and a sixteenth switch Q16. One end of the second inductor L2 is connected to the source of the thirteenth switch Q13 and the drain of the fourteenth switch Q14, and the other end is connected to the source of the fifteenth switch Q15 and the drain of the sixteenth switch Q16. The drain of the thirteenth switch Q13 is connected to the switching module 170. The sources of the fourteenth switch Q14 and the sixteenth switch Q16 are both grounded. The drain of the fifteenth switch Q15 is connected to the battery module 110. The gates of the thirteenth switch Q13, the fourteenth switch Q14, the fifteenth switch Q15, and the sixteenth switch Q16 are all connected to the second protocol chip U2. The second protocol chip U2 is also connected to the first protocol chip U1.
[0046] The second inductor L2, the thirteenth switch Q13, the fourteenth switch Q14, the fifteenth switch Q15, and the sixteenth switch Q16 form a buck-boost topology. The second protocol chip U2 controls the conduction sequence of each switch, which can flexibly adjust the output voltage and current and realize dynamic power distribution output.
[0047] Optionally, the second protocol chip U2 may also use a chip of model IP5385 or other models.
[0048] In an optional embodiment of this application, the battery module 110 includes a battery pack, a battery protection circuit, and a battery balancing circuit. The battery pack is connected to the battery protection circuit, which provides overvoltage, overcurrent, and undervoltage protection for the battery pack. The battery balancing circuit is connected to the battery protection circuit and balances the battery pack, ensuring that the voltage of each battery in the battery pack is consistent. The battery protection circuit is connected to the first protocol module 120 and the second protocol module 130, providing power to both modules.
[0049] The multi-port charging device 100 of this application can be a multi-port power bank, a multi-port charger, etc.
[0050] refer to Figure 9 This application also provides a computer-readable storage medium 200 storing a computer program 210. When the computer program 210 is executed by a processor, it causes the processor to perform the steps of the method described above. Detailed steps can be found above and will not be repeated here. In one embodiment, the computer-readable storage medium 200 may be a storage chip in a terminal, a hard disk, a portable hard disk, a USB flash drive, an optical disc, or other readable and writable storage tools, or it may be a server, etc.
[0051] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0052] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Those skilled in the art can modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features; and all such modifications and substitutions should fall within the protection scope of the appended claims of the present invention.
Claims
1. A charging control method for a multi-port charging device, characterized in that, The multi-port charging device includes a battery module, a first protocol module, a second protocol module, a first interface, a second interface, a third interface, and a switching module. The voltage input terminals of the first protocol module and the second protocol module are connected to the battery module. The voltage output terminal of the first protocol module is connected to the first interface and the third interface via the switching module. The voltage output terminal of the second protocol module is connected to the second interface and the third interface via the switching module. The first protocol module and the second protocol module are communicatively connected. The charging control method of the multi-port charging device includes: Detect the power receiving device connection status of the first interface, the second interface, and the third interface; When only one interface is connected to the powered device, the system enters the first working mode, controls the switching module to connect the interface of the connected powered device to the corresponding protocol module, and allocates power according to the power demand of the powered device. When only two interfaces are connected to the powered device, the second working mode is entered, and the switching module is controlled to connect the two interfaces of the connected powered device to the first protocol module and the second protocol module respectively, and to allocate power according to the power demand of the powered device and the connection order. When the first interface, the second interface, and the third interface are all connected to the powered device, the third working mode is entered. The switching module is controlled to connect the first interface to the first protocol module and the second interface to the second protocol module. Power is allocated according to the power demand of the powered device and the connection order. The switching module is also controlled to switch the third interface to the first protocol module or the second protocol module.
2. The charging control method for a multi-port charging device according to claim 1, characterized in that, The second working mode specifically includes the following steps: Control the switching module to connect the two interfaces to the first protocol module and the second protocol module respectively; Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; If they are the same, the required power is allocated to the power receiving device that is inserted first, and the remaining power is allocated to the power receiving device that is inserted later, according to the order of the power receiving devices. If they are different, power will be allocated according to the power demand of the receiving equipment.
3. The charging control method for a multi-port charging device according to claim 1, characterized in that, The third working mode specifically includes the following steps: The switching module is controlled to connect the first interface to the first protocol module and the second interface to the second protocol module. Determine whether the equipment types of the receiving equipment are the same based on the power demand of the receiving equipment; If they are the same, then according to the access order of the power receiving devices, the switching module is controlled to connect the third interface to the protocol module corresponding to the interface of the power receiving device that is connected later, and the required power is allocated to the power receiving device that is inserted first, and the remaining power is allocated to the power receiving device that is inserted later. If they are different, power allocation is performed according to the power demand of the powered equipment, and the switching module is controlled to connect the interface to the first protocol module or the second protocol module.
4. The charging control method for a multi-port charging device according to claim 2 or 3, characterized in that, The power allocation based on the power demand of the powered equipment includes the following steps: Determine whether the total power demand of the power receiving equipment exceeds the preset total power. If the total power demand of the receiving equipment exceeds the preset total power, the power will be reduced according to the preset priority of the receiving equipment.
5. A multi-port charging device, characterized in that, The multi-port charging device includes a battery module, a first protocol module, a second protocol module, a first interface, a second interface, a third interface, and a switching module. The voltage input terminals of the first protocol module and the second protocol module are connected to the battery module. The voltage output terminal of the first protocol module is connected to the first interface and the third interface through the switching module. The voltage output terminal of the second protocol module is connected to the second interface and the third interface through the switching module. The control terminal of the switching module is connected to the first protocol module. The first protocol module and the second protocol module are communicatively connected. The first protocol module performs charging control using the charging control method of the multi-port charging device as described in any one of claims 1-4.
6. The multi-port charging device according to claim 5, characterized in that, The switching module includes a first bidirectional switching circuit, a second bidirectional switching circuit, a third bidirectional switching circuit, and a fourth bidirectional switching circuit. The first interface is connected to the voltage output terminal of the first protocol module through the first bidirectional switching circuit. The second interface is connected to the voltage output terminal of the second protocol module through the second bidirectional switching circuit. The third interface is connected to the voltage output terminal of the first protocol module through the third bidirectional switching circuit and to the voltage output terminal of the second protocol module through the fourth bidirectional switching circuit. The control terminals of the first and third bidirectional switching circuits are both connected to the first protocol module, and the control terminals of the second and fourth bidirectional switching circuits are both connected to the second protocol module.
7. The multi-port charging device according to claim 6, characterized in that, The first bidirectional switching circuit includes a first switching transistor and a second switching transistor. The source of the first switching transistor is connected to the source of the second switching transistor, the drain of the first switching transistor is connected to the first interface, and the drain of the second switching transistor is connected to the first protocol module. The second bidirectional switching circuit includes a third switching transistor and a fourth switching transistor. The source of the third switching transistor is connected to the source of the fourth switching transistor, the drain of the third switching transistor is connected to the second interface, and the drain of the fourth switching transistor is connected to the second protocol module. The third bidirectional switching circuit includes a fifth switching transistor and a sixth switching transistor. The source of the fifth switching transistor is connected to the source of the sixth switching transistor, the drain of the fifth switching transistor is connected to the third interface, and the drain of the sixth switching transistor is connected to the first protocol module. The fourth bidirectional switching circuit includes a seventh switch and an eighth switch. The source of the seventh switch is connected to the source of the eighth switch, the drain of the seventh switch is connected to the third interface, and the drain of the eighth switch is connected to the second protocol module. The gates of the first, second, fifth, and sixth switching transistors are all connected to the first protocol module, and the gates of the third, fourth, seventh, and eighth switching transistors are all connected to the second protocol module.
8. The multi-port charging device according to claim 5, characterized in that, The first protocol module includes a first protocol chip, a first inductor, a ninth switch, a tenth switch, an eleventh switch, and a twelfth switch. One end of the first inductor is connected to the source of the ninth switch and the drain of the tenth switch, and the other end is connected to the source of the eleventh switch and the drain of the twelfth switch. The drain of the ninth switch is connected to the switching module. The sources of the tenth and twelfth switches are both grounded. The drain of the eleventh switch is connected to the battery module. The gates of the ninth, tenth, eleventh, and twelfth switches are all connected to the first protocol chip.
9. The multi-port charging device according to any one of claims 5-8, characterized in that, The first interface is a first Type-C interface, the second interface is a second Type-C interface, and the third interface is a USB-A interface.
10. A computer-readable storage medium, characterized in that, The device stores a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in any one of claims 1-4.