Multi-port charging selection circuit and electric equipment

By combining the interface module, switch switching module, and main control module of the multi-port charging selection circuit, the problem of PD protocol module reuse in multi-port electrical equipment is solved, thereby reducing equipment costs and improving stability.

CN224177933UActive Publication Date: 2026-04-28HUIZHOU BLUEWAY ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
HUIZHOU BLUEWAY ELECTRONICS
Filing Date
2025-03-13
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing technology, multi-port electrical devices need to have multiple built-in PD protocol chips to support protocol recognition for multiple ports, resulting in high device cost, complex charging circuits, and low stability and security.

Method used

A multi-port charging selection circuit is adopted. By combining the interface module, the switch switching module and the main control module, the PD protocol module can be reused, simplifying the circuit structure and reducing the size and complexity of the device.

Benefits of technology

This achieves resource savings in the PD protocol module, reduces the cost and complexity of electrical equipment, and improves the stability and security of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224177933U_ABST
    Figure CN224177933U_ABST
Patent Text Reader

Abstract

The utility model discloses a multi-port charging selection circuit and electric equipment, according to the multi-port charging selection circuit, a switch switching module, a PD protocol module and a main control module are arranged in an interface module with a multi-interface circuit, and the main control module carries out charging according to signals of the interface module. The switch switching module is controlled to enable any interface circuit of the interface module to be connected with the PD protocol module; therefore, any interface circuit is selected from the interface modules to be connected with the PD protocol module, rapid charging is achieved, multiplexing of the PD protocol module is achieved, resources of the PD protocol module are saved, the size and internal space design of the electric equipment are reduced, the structure of the electric equipment is simplified, the circuit setting complexity is reduced, and the power utilization efficiency is improved. And thus, the stability and the use safety of the electric equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of charging technology, and in particular to a multi-port charging selection circuit and electrical equipment. Background Technology

[0002] With the development of USB charging technology, various fast charging technologies have rapidly captured the market. In the field of fast charging technology, PD charging technology undoubtedly dominates the mainstream market, giving rise to various applications based on high-power fast charging, such as charging adapters, power banks, outdoor power supplies, and smart power strips. These devices typically don't just have a single port; they usually have multiple different types of ports to accommodate various types of devices. Especially in the power bank and head-mounted device sectors, this often includes scenarios such as A+C+C, C+C+L, C+C+POGO PIN, and C+L+magnetic charging heads.

[0003] When a device has multiple ports that need to support fast charging protocols, it usually needs a built-in PD protocol chip to support protocol identification for multiple ports at the same time, or to use multiple protocol ICs to independently identify and control each port. If a separate PD module is not used, the requirements for insertion detection, activation and fast charging cannot be met. Equipping each port with a PD module not only greatly increases the cost of the device, but also makes the charging circuit more complex and reduces the stability and safety of the device. Utility Model Content

[0004] This application addresses the technical problems described in the background art, such as the increased cost of multiple ports requiring separate PD modules, the complexity of charging circuits, and the low stability and safety of the electrical equipment. It provides a multi-port charging selection circuit and an electrical device. This application achieves PD protocol module reuse, saving PD protocol module resources, and reduces the size and internal space design of the electrical device, simplifying the device structure and reducing circuit complexity, thereby improving the stability and safety of the electrical device.

[0005] In a first aspect, the present invention provides a multi-port charging selection circuit, characterized in that the circuit comprises:

[0006] An interface module includes multiple interface circuits for connecting to a charging or discharging device via the interface circuits.

[0007] The switch switching module is connected to multiple of the aforementioned interface circuits respectively;

[0008] The PD protocol module is connected to the switch switching module and is also connected to any of the interface circuits mentioned above through the switch switching module.

[0009] The system includes a main control module, which is connected to the interface module, the switch switching module, and the PD protocol module. The main control module controls the switch switching module to connect any interface circuit of the interface module to the PD protocol module based on the signal from the interface module.

[0010] In some embodiments, the interface module includes a first interface circuit and a second interface circuit; the enable terminal of the first interface circuit is connected to the first control terminal of the main control module, and the enable terminal of the second interface circuit is connected to the second control terminal of the main control module; the first interface circuit and the second interface circuit are respectively connected to or disconnected from the PD protocol module through a switch switching module.

[0011] In some embodiments, the first interface circuit includes connector J1, MOSFET Q3, MOSFET Q4, resistor R12, resistor R13, and capacitor C3.

[0012] Wherein, the first connection end of the connector J1 is connected to the drain of the MOS transistor Q3 and the first end of the capacitor C3, and the CC1-C1 end and CC2-C1 end of the connector J1 are respectively connected to the first input end and the second input end of the switch switching module;

[0013] The gate of MOSFET Q3 is connected to the first terminal of resistor R12, the first terminal of resistor R13, and the gate of MOSFET Q4. The source is connected to the second terminal of resistor R12 and the source of MOSFET Q4. The drain of MOSFET Q4 is connected to the power supply. The second terminal of resistor R13 is connected to the first control terminal of the main control module. The second terminal of capacitor C3 is grounded.

[0014] In some embodiments, the second interface circuit includes connector J2, MOSFET Q2, capacitor C2, resistors R6, R7, R8, R9, and R10.

[0015] The second connection terminal of the connector J2 is connected to the source of the MOS transistor Q2, the first terminal of the capacitor C2, the first terminal of the resistor R9, and the first terminal of the resistor R8. The CC1-C2 terminal and the CC2-C2 terminal of the connector J2 are respectively connected to the third input terminal and the fourth input terminal of the switch module.

[0016] The gate of Q2 of the MOS transistor is connected to the second terminal of resistor R9 and the first terminal of resistor R10, and the drain is connected to the power supply; the second terminal of resistor R10 is connected to the second control terminal of the main control module.

[0017] The second end of resistor R8 is connected to the first end of resistor R7 and the first end of resistor R6. The other end of resistor R7 is connected to the first detection end of the main control module. The second end of resistor R6 and the second end of capacitor C2 are grounded.

[0018] In some embodiments, the switch switching module is a single-pole multi-throw multiple-way selector switch or multiple single-channel digital switches; the switch switching module is further provided with a first trigger terminal, a second trigger terminal, a first PD terminal and a second PD terminal, the first PD terminal and the second PD terminal being connected to the PD protocol module; the first trigger terminal and the second trigger terminal are respectively connected to the first switch terminal and the second switch terminal of the main control module, and the first interface circuit or the second interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the second switch terminal.

[0019] In some embodiments, the PD protocol module is provided with a CC1 terminal, a CC2 terminal and a first communication terminal. The CC1 terminal is connected to the first PD terminal, the CC2 terminal is connected to the second PD terminal, and the first communication terminal is connected to the second communication terminal of the main control module.

[0020] In some embodiments, the interface module includes a third interface circuit, the enable terminal of which is connected to the third control terminal of the main control module; the third interface circuit is connected to or disconnected from the PD protocol module through a switch switching module.

[0021] In some embodiments, the third interface circuit includes connector J3, MOSFET Q1, resistors R1, R2, R3, R4, and R5;

[0022] The third connection terminal of connector J3 is connected to the source of MOS transistor Q1, the first terminal of resistor R9 and the first terminal of resistor R3, and the CC1-C3 terminal and CC2-C3 terminal of connector J3 are connected to the fifth input terminal and the sixth input terminal of the switch module, respectively.

[0023] The gate of the MOS transistor Q1 is connected to the second terminal of resistor R4 and the first terminal of resistor R5, and the drain is connected to the power supply; the second terminal of resistor R5 is connected to the third control terminal of the main control module.

[0024] The second end of resistor R3 is connected to the first end of resistor R1 and the first end of resistor R2. The other end of resistor R2 is connected to the second detection terminal of the main control module. The second end of resistor R1 is grounded.

[0025] In some embodiments, the switch switching module is a single-pole multi-throw multiple-way selector switch or multiple single-channel digital switches; the switch switching module is further provided with a first trigger terminal, a third trigger terminal, a first PD terminal, and a second PD terminal, the first PD terminal and the second PD terminal being connected to the PD protocol module; the first trigger terminal and the third trigger terminal are respectively connected to the first switch terminal and the third switch terminal of the main control module, and the third interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the third switch terminal; the PD protocol module is provided with a CC1 terminal, a CC2 terminal, and a first communication terminal, the CC1 terminal being connected to the first PD terminal, the CC2 terminal being connected to the second PD terminal, and the first communication terminal being connected to the second communication terminal of the main control module.

[0026] Secondly, this utility model provides an electrical device, including a PCB board, wherein the PCB board integrates the aforementioned multi-port charging selection circuit.

[0027] As can be seen from the above, the multi-port charging selection circuit and electrical device of this application, the multi-port charging selection circuit of this utility model, by setting an interface module with multiple interface circuits, a switch switching module, a PD protocol module and a main control module, enables the main control module to control the switch switching module to connect any interface circuit of the interface module to the PD protocol module according to the signals of the interface module; thereby realizing the selection of any interface circuit in the interface module to connect to the PD protocol module, thereby enabling fast charging. This not only realizes the reuse of the PD protocol module and saves the resources of the PD protocol module, but also reduces the size and internal space design of the electrical device, simplifies the structure of the electrical device and reduces the complexity of the circuit setting, thereby improving the stability and safety of the electrical device. Attached Figure Description

[0028] Figure 1 This is a schematic diagram of the structure of the multi-port charging selection circuit provided in Embodiment 1 of this application.

[0029] Figure 2 The circuit schematic diagram is shown for the interface module of the multi-port charging selection circuit provided in Embodiment 2 of this application.

[0030] Figure 3 The circuit diagram is shown for the switch switching module of the multi-port charging selection circuit provided in Embodiment 2 of this application.

[0031] Figure 4 The circuit diagram shows the main control module and PD protocol module of the multi-port charging selection circuit provided in Embodiment 2 of this application.

[0032] Figure 5 The circuit schematic diagram is shown for the interface module of the multi-port charging selection circuit provided in Embodiment 3 of this application. Detailed Implementation

[0033] The preferred embodiments of this application will now be described in detail with reference to the accompanying drawings, so that the advantages and features of this application can be more easily understood by those skilled in the art, thereby providing a clearer definition of the scope of protection of this application.

[0034] Please refer to the diagrams, where the same component symbols represent the same components. The principles of this application are illustrated by way of example implementation in a suitable computing environment. The following description is based on the specific embodiments of this application exemplified, and should not be construed as limiting other specific embodiments not detailed herein.

[0035] As used herein, the term "module" can refer to a software or hardware object that executes on the computing system. The various components, modules, engines, and services described herein can be implementations on the computing system. The apparatuses and methods described herein can be implemented in software or hardware, both of which are within the scope of this application.

[0036] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0037] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0038] Please see Figure 1 , Figure 1 This illustration shows a first embodiment of a multi-port charging selection circuit provided in this application. This circuit can be applied to electrical devices with multiple interface circuits, such as charging heads, power banks, outdoor power supplies, smart power strips, and head-mounted devices, etc. The circuit includes an interface module 110, a switch module U3, a PD protocol module U1, and a main control module MCU.

[0039] The interface module includes multiple interface circuits for connecting to charging or discharging devices. The interface module has multiple interface circuits that can connect to different charging or discharging devices simultaneously. When connecting the interface module to a charging or discharging device, the interface circuit can be arbitrarily selected. The interface module communicates with the switch module, PD protocol module, and main control module to trigger fast charging.

[0040] The switch switching module is connected to multiple interface circuits respectively; the switch switching module is a single-pole multi-throw multiple selector switch or multiple single-channel digital switches; the switch switching circuit is used to connect to multiple interface circuits, and establishes connections between different interface circuits and the PD protocol module by receiving signals from the main control module.

[0041] The PD protocol module connects to the switch module and, through the switch module, to any interface circuit. The PD protocol module enables fast charging of electrical devices using the PD fast charging protocol. The PD fast charging protocol provides different charging powers by adjusting voltage and current. Depending on the device's needs, the PD charger can provide different voltages such as 5V, 9V, 15V, and 20V, as well as various current values. Higher charging power can be achieved by simultaneously adjusting voltage and current. PD fast charging technology employs a two-way communication mechanism, negotiating and determining charging parameters between the device and the power source. This communication ensures that the charger accurately identifies the device's needs and makes corresponding adjustments to meet optimal charging conditions.

[0042] The main control module connects to the interface module, the switch module, and the PD protocol module. Based on signals from the interface module, the main control module controls the switch module to connect any interface circuit of the interface module to the PD protocol module. The main control module can be a main control chip, used to connect to the interface module, switch module, and PD protocol module respectively. It can determine whether a charging or discharging device is connected through the interface circuit signals in the interface module, and then, according to the connection logic built into the main control module, control the switch module to connect any interface circuit to the PD protocol module for fast charging.

[0043] In addition, the main control module can be an STM32 series microcontroller, and the main control module can be combined with the PD protocol module to form a composite IC to optimize PCB routing space and system cost.

[0044] This utility model's multi-port charging selection circuit, by setting up an interface module with multiple interface circuits, a switch switching module, a PD protocol module, and a main control module, enables the main control module to control the switch switching module to connect any interface circuit of the interface module to the PD protocol module based on the signals from the interface modules. This allows for the selection of any interface circuit within the interface modules to connect to the PD protocol module, thus enabling fast charging. This not only achieves PD protocol module reuse, saving PD protocol module resources, but also reduces the size and internal space design of the electrical equipment, simplifies the structure of the electrical equipment, and reduces the complexity of circuit settings, thereby improving the stability and safety of the electrical equipment.

[0045] Example 2:

[0046] Based on Embodiment 1, this embodiment provides a second embodiment of a multi-port charging selection circuit. See also: Figure 2-4 This circuit includes an interface module, a switch switching module, a PD protocol module, and a main control module; this embodiment further defines the interface module, the switch switching module, the PD protocol module, and the main control module.

[0047] In some embodiments, the interface module 110 includes a first interface circuit 111 and a second interface circuit 112; the enable terminal of the first interface circuit is connected to the first control terminal of the main control module, and the enable terminal of the second interface circuit is connected to the second control terminal of the main control module; the first interface circuit and the second interface circuit are respectively connected to or disconnected from the PD protocol module through a switch switching module. In this embodiment, the first interface circuit and the second interface circuit can be connected to different charging devices or electrical devices simultaneously, or they can be connected to different charging devices or electrical devices individually.

[0048] The specific circuit structure of the first interface circuit may include connector J1, MOSFET Q3, MOSFET Q4, resistor R12, resistor R13, and capacitor C3. The first connection terminal of connector J1 is connected to the drain of MOSFET Q3 and the first terminal of capacitor C3. The CC1-C1 and CC2-C1 terminals of connector J1 are connected to the first and second input terminals of the switch module, respectively. The gate of MOSFET Q3 is connected to the first terminals of resistor R12 and R13, and the gate of MOSFET Q4. The source of MOSFET Q3 is connected to the second terminal of resistor R12 and the source of MOSFET Q4. The drain of MOSFET Q4 is connected to the power supply. The second terminal of resistor R13 is connected to the first control terminal of the main control module. The second terminal of capacitor C3 is grounded.

[0049] In this embodiment, connector J1 is used to connect to external charging or discharging devices. MOSFETs Q3 and Q4 are connected in series in the first interface circuit to achieve bidirectional control of the circuit shutdown, avoiding the risk of damage to circuit devices due to excessive current / voltage. The first interface circuit can function as a charging circuit for internal charging or a discharging circuit for external discharging. The two MOSFETs effectively protect the circuit and ensure a fast response. Resistors R12 and R13 are used for MOSFET switch control protection, keeping the MOSFET gate voltage / current within a reasonable range. Capacitor C3 is used for port filtering protection. In one example, the first interface circuit can be set to default fast charging. That is, when a charging or discharging device is connected to the first interface circuit, the first control terminal and the first switch terminal of the main control module can be set to default levels, so that MOSFETs Q3 and Q4 are turned on by default, and the CC1-C1 and CC2-C1 terminals are connected to the first PD terminal and the second PD terminal by default.

[0050] In some embodiments, the second interface circuit includes connector J2, MOSFET Q2, capacitor C2, resistors R6, R7, R8, R9, and R10. The second connection terminal of connector J2 is connected to the source of MOSFET Q2, the first terminal of capacitor C2, the first terminal of resistor R9, and the first terminal of resistor R8. The CC1-C2 and CC2-C2 terminals of connector J2 are connected to the third and fourth input terminals of the switch module, respectively. The gate of MOSFET Q2 is connected to the second terminal of resistor R9 and the first terminal of resistor R10, and its drain is connected to the power supply. The second terminal of resistor R10 is connected to the second control terminal of the main control module. The second terminal of resistor R8 is connected to the first terminals of resistors R7 and R6, the other terminal of resistor R7 is connected to the first detection terminal of the main control module, and the second terminals of resistor R6 and capacitor C2 are grounded.

[0051] In this embodiment, connector J2 is used to connect to an external charging or discharging device. In this example, connector J2 is mainly used for charging. Resistors R6, R7, and R8 form an insertion detection circuit for the second interface circuit, used to send the signal of the connected charging device to the main control module for identification. After receiving the signal from the connected device, the first detection terminal of the main control module controls the MOS transistor Q2 to conduct through the second control terminal, and controls the switching module through the second switch terminal to control the CC1-C2 and CC2-C2 terminals to conduct with the first PD terminal and the second PD terminal, thereby enabling PD fast charging in the second interface circuit. Resistors R9 and R10 are used for MOS switch control protection to keep the MOS gate voltage / current within a reasonable range, and capacitor C2 provides filtering protection.

[0052] In some embodiments, the switch switching module is a single-pole multi-throw multiple-selector switch or multiple single-channel digital switches; the switch switching module is further provided with a first trigger terminal, a second trigger terminal, a first PD terminal, and a second PD terminal, the first PD terminal and the second PD terminal being connected to the PD protocol module; the first trigger terminal and the second trigger terminal are respectively connected to the first switch terminal and the second switch terminal of the main control module, and the first interface circuit or the second interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the second switch terminal. In this embodiment, the first PD terminal is conductively connected to the CC1-C1 terminal and the CC1-C2 terminal respectively, and the second PD terminal is conductively connected to the CC2-C1 terminal and the CC2-C2 terminal. After receiving the signals of the first switch terminal and / or the second switch terminal, the switch switching module can select the first interface circuit or the second interface circuit to connect to the PD protocol module.

[0053] In some embodiments, the PD protocol module is provided with a CC1 terminal, a CC2 terminal, and a first communication terminal. The CC1 terminal is connected to the first PD terminal, the CC2 terminal is connected to the second PD terminal, and the first communication terminal is connected to the second communication terminal of the main control module. The PD protocol module can be used to fast charge electrical devices using the PD fast charging protocol. The PD fast charging protocol provides different charging powers by adjusting voltage and current. Depending on the needs of the device, the PD charger can provide different voltages such as 5V, 9V, 15V, and 20V, as well as various different current values. By simultaneously adjusting voltage and current, higher charging power can be achieved. PD fast charging technology adopts a two-way communication mechanism to negotiate and determine charging parameters between the device and the power supply. This communication ensures that the charger can accurately identify the device's needs and make corresponding adjustments to meet the optimal charging conditions. The PD protocol module and the main control module are connected through the first and second communication terminals to establish a connection. In addition, the PD protocol module can be combined with the main control module as a composite IC.

[0054] Example 3:

[0055] Based on embodiment 1 or 2, this embodiment provides a third embodiment of a multi-port charging selection circuit. See also Figure 3-5 This circuit includes an interface module, a switch switching module, a PD protocol module, and a main control module; this embodiment further defines the interface module, the switch switching module, the PD protocol module, and the main control module.

[0056] In some embodiments, the interface module includes a first interface circuit, a second interface circuit, and a third interface circuit. The enable terminal of the first interface circuit is connected to the first control terminal of the main control module, and the enable terminal of the second interface circuit is connected to the second control terminal of the main control module. The first and second interface circuits are respectively connected to or disconnected from the PD protocol module via a switch switching module. In this embodiment, the first and second interface circuits can be simultaneously connected to different charging devices or power-consuming devices, or they can be individually connected to different charging devices or power-consuming devices. The enable terminal of the third interface circuit is connected to the third control terminal of the main control module; the third interface circuit is connected to or disconnected from the PD protocol module via a switch switching module.

[0057] In some embodiments, the third interface circuit includes connector J3, MOSFET Q1, resistors R1, R2, R3, R4, and R5. The third connection terminal of connector J3 is connected to the source of MOSFET Q1, the first terminal of resistor R9, and the first terminal of resistor R3. The CC1-C3 and CC2-C3 terminals of connector J3 are connected to the fifth and sixth input terminals of the switch module, respectively. The gate of MOSFET Q1 is connected to the second terminal of resistor R4 and the first terminal of resistor R5, and its drain is connected to the power supply. The second terminal of resistor R5 is connected to the third control terminal of the main control module. The second terminal of resistor R3 is connected to the first terminals of resistors R1 and R2. The other terminal of resistor R2 is connected to the second detection terminal of the main control module, and the second terminal of resistor R1 is grounded. Resistors R4 and R5 are used for MOSFET switch control protection, ensuring that the MOSFET gate voltage / current remains within a reasonable range.

[0058] In this embodiment, connector J3 is used to connect to an external charging or discharging device. In this example, connector J3 is mainly used for charging. Resistors R1, R2, and R3 form an insertion detection circuit for the third interface circuit, used to send the signal of the connected charging device to the main control module for identification. After receiving the signal from the connected device, the second detection terminal of the main control module controls the MOSFET Q1 to conduct through the third control terminal, and controls the switching module through the third switch terminal to control the CC1-C3 and CC2-C3 terminals to conduct with the first PD terminal and the second PD terminal, thereby enabling PD fast charging in the third interface circuit.

[0059] In some embodiments, the switch switching module is a single-pole multi-throw multiple-way selector switch or multiple single-channel digital switches; the switch switching module is further provided with a first trigger terminal, a third trigger terminal, a first PD terminal, and a second PD terminal, the first PD terminal and the second PD terminal being connected to the PD protocol module; the first trigger terminal and the third trigger terminal are respectively connected to the first switch terminal and the third switch terminal of the main control module, and the third interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the third switch terminal; the PD protocol module is provided with a CC1 terminal, a CC2 terminal, and a first communication terminal, the CC1 terminal being connected to the first PD terminal, the CC2 terminal being connected to the second PD terminal, and the first communication terminal being connected to the second communication terminal of the main control module.

[0060] In this embodiment, the first PD terminal is conductively connected to both CC1-C1 and CC1-C2 terminals, and the second PD terminal is conductively connected to both CC2-C1 and CC2-C2 terminals. Upon receiving a signal from either the first or second switch terminal, the switch switching module can select either the first or second interface circuit to connect to the PD protocol module. The PD protocol module can be used for fast charging of electrical devices using the PD fast charging protocol. The PD fast charging protocol provides different charging powers by adjusting voltage and current. Depending on the device's needs, the PD charger can provide different voltages such as 5V, 9V, 15V, and 20V, as well as various current values. By simultaneously adjusting voltage and current, higher charging power can be achieved. PD fast charging technology employs a bidirectional communication mechanism to negotiate and determine charging parameters between the device and the power supply. This communication ensures that the charger can accurately identify the device's needs and make corresponding adjustments to meet optimal charging conditions. The PD protocol module and the main control module are connected via a first and a second communication terminal to establish a connection. Furthermore, the PD protocol module can be combined with the main control module as a composite IC.

[0061] Example 4:

[0062] Based on Embodiment 1, Embodiment 2, or Embodiment 3, this embodiment provides an electrical device, see [link to embodiment 3]. Figure 3-5 This electrical device includes a PCB board, which integrates the aforementioned multi-port charging selection circuit. This electrical device is suitable for devices with multiple interface circuits, such as charging adapters, power banks, outdoor power supplies, smart power strips, and head-mounted devices. The multi-port charging selection circuit includes an interface module, a switch module, a PD protocol module, and a main control module.

[0063] This multi-port charging selection circuit is based on a single PD module. Through function reuse, multiple ports can be individually detected, activated, and identified according to protocols, thereby enabling multi-port fast charging.

[0064] This circuit includes a PD protocol module U1, a main control module MCU and its peripheral circuits, a switch switching module U3 and an interface module.

[0065] The interface module includes a first interface circuit, a second interface circuit, and a third interface circuit. The first interface circuit has a connector J1, the second interface circuit has a connector J2, and the third interface circuit has a connector J3.

[0066] Connector J1 is the charging / discharging port; connectors J2 and J3 are the charging ports.

[0067] Connector J1 controls the charging and discharging of MOSFETs Q3 and Q4; connector J2 controls the charging of MOSFET Q2; and connector J3 controls the charging of MOSFET Q3.

[0068] The insertion detection circuit for connector J2 consists of resistors R6, R7, and R8. The insertion detection circuit for connector J3 consists of resistors R1, R2, and R3.

[0069] Under normal conditions, the first input terminal NC1 and the second input terminal NC2 of the multiplexer Channel 1 and Channel 2 are closed with their first PD terminals and second PD terminals, respectively. The CC1-C1 terminal and the CC2-C1 terminal are connected to the CC1 terminal and the CC2 terminal, respectively.

[0070] The third input terminal IN5 and the fourth input terminal IN6 of the multiplexer Channel 5 and Channel 6 are closed with their first ground terminal NC5 and second ground terminal NC6, respectively. The CC1-C2 and CC2-C2 terminals are pulled down by 5.1KΩ.

[0071] The fifth input terminal IN3 and the sixth input terminal IN4 of the multiplexer Channel 3 and Channel 4 are closed along with their third ground terminal NC3 and fourth ground terminal NC4. The CC1-C2 and CC2-C2 terminals are pulled down by 5.1KΩ.

[0072] When a device is inserted into connector J1 alone, the CC1-C1 and CC2-C1 terminals recognize the insertion signal, the PD protocol module initiates a handshake, and informs the main control module MCU of the current status. The main control module MCU sets the first control terminal C1_EN to a low level, turns on MOSFETs Q3 and Q4, and performs normal PD fast charging and discharging operations.

[0073] When a charger is inserted into connector J2 alone, the CC1-C2 and CC2-C2 terminals are pulled down by 5.1K, causing the charger to output 5V. At this time, the insertion detection circuit composed of resistors R6, R7, and R8 detects the voltage and transmits it to the main control module MCU pin via the first detection terminal VC2-DET, determining that a charger is connected to connector J2. At this time, the main control module MCU enables the first PD terminal IN1 and the second PD terminal IN2 of Channel 1 Channel 2 and their NO1 and NO2 terminals to close via the first switch terminal SWIN, and enables the third input terminal IN5 and the fourth input terminal IN6 of Channel 5 Channel 6 and their NO5 and NO6 terminals to close via the second switch terminal SWC2. At this time, the CC1-C2 and CC2-C2 terminals are connected to the CC1 and CC2 terminals, and the PD protocol module initiates a handshake and informs the main control module MCU of the current status. After the connector J2 protocol handshake is successful, the main control module MCU sets the second control terminal C2_EN to a low level, turns on MOS Q2, and the charging port J2 enters PD fast charging.

[0074] When a charger is inserted into connector J3 alone, the CC1-C3 and CC2-C3 terminals are pulled down by 5.1KΩ, causing the charger to output 5V. At this time, the insertion detection circuit composed of resistors R1, R2, and R3 detects the voltage and transmits it to the main control module MCU pin via the second detection terminal VC2-DET, determining that a charger is connected to connector J3. At this time, the main control module MCU enables the first PD terminal IN1 and the second PD terminal IN2 of Channel 1 Channel 2, along with their NO1 and NO2 terminals, through the first switch terminal SWIN. It also enables the fifth input terminal IN3 and the sixth input terminal IN4 of Channel 3 Channel 4, along with their NO3 and NO4 terminals, through the third switch terminal SWC3. At this time, the CC1-C3 and CC2-C3 terminals and CC1 When the J3 connector is connected and the CC2 connector is on, the PD protocol module initiates a handshake and informs the main control module MCU of the current status. After the J3 connector successfully completes the protocol handshake, the main control module MCU sets the third control terminal C3_EN to a low level, turns on the MOSFET Q1, and the J3 connector enters PD fast charging.

[0075] When connectors J1, J2, and J3 simultaneously detect the charger and are inserted, if the power outputs are the same, connector J1 will receive priority through program logic. If the power outputs are different, the port with the highest power output will be selected for charging via program polling.

[0076] When connectors J2 and J3 detect the charger simultaneously and are inserted, and when connector J1 is inserted into the electrical device, connectors J2 and J3 can be prioritized for charging and the output can be turned off.

[0077] When connectors J2 and J3 detect the charger and are inserted, and connector J1 is inserted into the device, connector J1 can perform PD fast charging, while connectors J2 and J3 can perform 5V 3A 15W standard charging input.

[0078] The above design concept enables the multiple-port reuse of PD modules for charging, achieving plug-and-play functionality for multiple ports. In scenarios where multiple ports are plugged in simultaneously, a power-priority charging strategy can be implemented to ensure that the battery pack is fully charged in the shortest possible time. In scenarios where charging and discharging are performed simultaneously, the PD discharge function can be realized.

[0079] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application.

Claims

1. A multi-port charging selection circuit, characterized in that, The circuit includes: An interface module includes multiple interface circuits for connecting to a charging or discharging device via the interface circuits. The switch switching module is connected to multiple of the aforementioned interface circuits respectively; The PD protocol module is connected to the switch switching module and is also connected to any of the interface circuits mentioned above through the switch switching module. The system includes a main control module, which is connected to the interface module, the switch switching module, and the PD protocol module. The main control module controls the switch switching module to connect any interface circuit of the interface module to the PD protocol module based on the signal from the interface module. The interface module includes a first interface circuit and a second interface circuit; the enable terminal of the first interface circuit is connected to the first control terminal of the main control module, and the enable terminal of the second interface circuit is connected to the second control terminal of the main control module; the first interface circuit and the second interface circuit are respectively connected to or disconnected from the PD protocol module through a switch switching module. The first interface circuit includes connector J1, MOSFET Q3, MOSFET Q4, resistors R12 and R13, and capacitor C3. The first connection terminal of connector J1 is connected to the drain of MOSFET Q3 and the first terminal of capacitor C3. The CC1-C1 and CC2-C1 terminals of connector J1 are respectively connected to the first and second input terminals of the switch module. The gate of MOSFET Q3 is connected to the first terminals of resistors R12 and R13, and the gate of MOSFET Q4. The source of MOSFET Q3 is connected to the second terminal of resistor R12 and the source of MOSFET Q4. The drain of MOSFET Q4 is connected to the power supply. The second terminal of resistor R13 is connected to the first control terminal of the main control module. The second terminal of capacitor C3 is grounded. The second interface circuit includes connector J2, MOSFET Q2, capacitor C2, resistors R6, R7, R8, R9, and R10. The second connection terminal of connector J2 is connected to the source of MOSFET Q2, the first terminal of capacitor C2, the first terminal of resistor R9, and the first terminal of resistor R8. The CC1-C2 and CC2-C2 terminals of connector J2 are connected to the third and fourth input terminals of the switch module, respectively. The gate of MOSFET Q2 is connected to the second terminal of resistor R9 and the first terminal of resistor R10, and the drain is connected to the power supply. The second terminal of resistor R10 is connected to the second control terminal of the main control module. The second terminal of resistor R8 is connected to the first terminal of resistor R7 and the first terminal of resistor R6. The other terminal of resistor R7 is connected to the first detection terminal of the main control module. The second terminal of resistor R6 and the second terminal of capacitor C2 are grounded.

2. The multi-port charging selection circuit according to claim 1, characterized in that, The switch switching module is a single-pole multi-throw multiple-way selector switch or multiple single-channel digital switches; the switch switching module is also provided with a first trigger terminal, a second trigger terminal, a first PD terminal and a second PD terminal, the first PD terminal and the second PD terminal are connected to the PD protocol module; the first trigger terminal and the second trigger terminal are respectively connected to the first switch terminal and the second switch terminal of the main control module, and the first interface circuit or the second interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the second switch terminal.

3. The multi-port charging selection circuit according to claim 2, characterized in that, The PD protocol module is equipped with a CC1 terminal, a CC2 terminal and a first communication terminal. The CC1 terminal is connected to the first PD terminal, the CC2 terminal is connected to the second PD terminal, and the first communication terminal is connected to the second communication terminal of the main control module.

4. The multi-port charging selection circuit according to claim 1, characterized in that, The interface module includes a third interface circuit, the enable terminal of which is connected to the third control terminal of the main control module; the third interface circuit is connected to or disconnected from the PD protocol module through a switch switching module.

5. The multi-port charging selection circuit according to claim 4, characterized in that, The third interface circuit includes connector J3, MOSFET Q1, resistors R1, R2, R3, R4, and R5; The third connection terminal of connector J3 is connected to the source of MOS transistor Q1, the first terminal of resistor R9 and the first terminal of resistor R3, and the CC1-C3 terminal and CC2-C3 terminal of connector J3 are connected to the fifth input terminal and the sixth input terminal of the switch module, respectively. The gate of the MOS transistor Q1 is connected to the second terminal of resistor R4 and the first terminal of resistor R5, and the drain is connected to the power supply; the second terminal of resistor R5 is connected to the third control terminal of the main control module. The second end of resistor R3 is connected to the first end of resistor R1 and the first end of resistor R2. The other end of resistor R2 is connected to the second detection terminal of the main control module. The second end of resistor R1 is grounded.

6. The multi-port charging selection circuit according to claim 4, characterized in that, The switch switching module is a single-pole multi-throw multiple-way selector switch or multiple single-channel digital switches; the switch switching module is also provided with a first trigger terminal, a third trigger terminal, a first PD terminal, and a second PD terminal, the first PD terminal and the second PD terminal being connected to the PD protocol module; the first trigger terminal and the third trigger terminal are respectively connected to the first switch terminal and the third switch terminal of the main control module, and the third interface circuit is controlled to connect to the first PD terminal and the second PD terminal through the signals of the first switch terminal and the third switch terminal; the PD protocol module is provided with a CC1 terminal, a CC2 terminal, and a first communication terminal, the CC1 terminal being connected to the first PD terminal, the CC2 terminal being connected to the second PD terminal, and the first communication terminal being connected to the second communication terminal of the main control module.

7. An electrical appliance, characterized in that, The invention includes a PCB board that integrates the multi-port charging selection circuit according to any one of claims 1-6.