Multi-port charging device and protocol handshake implementation architecture and method thereof

By adopting a protocol handshake implementation architecture in a multi-port charging device, identifying and gateing the USB port connected to the load device, realizing handshake communication with the load device, solving the complex problem of multi-port charging device communication in the existing technology, simplifying the The circuit structure and supports fast charging and normal charging protocols.

CN114039389BActive Publication Date: 2024-12-24ON BRIGHT INTEGRATIONS CO INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202111199893.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-14
Publication Date
2024-12-24
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

When existing multi-port charging devices are connected to load devices with multiple USB ports, they cannot effectively realize the handshake of the fast charging communication protocol, and the circuit structure is complex, making it difficult to deal with the multi-port communication problem.

Method used

The protocol handshake implementation architecture is adopted, including port identification module, port gate module, I/O interface module, 5V voltage digital handshake protocol and fast charging digital handshake protocol module. By identifying the USB port connected to the load device, and gated with I The signal connection of the /O interface module realizes handshake communication between the USB port and the load device, and uses analog circuits to process the Apple and BC1.2 protocols.

Benefits of technology

The circuit structure is simplified, and the handshake communication between multi-port charging devices is realized. It supports fast charging and ordinary charging protocols. The circuit structure is simple and suitable for charging devices with multiple USB ports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114039389B_ABST
    Figure CN114039389B_ABST
Patent Text Reader

Abstract

A multi-port charging device and a protocol handshake implementation architecture and method thereof are provided. The protocol handshake implementation architecture includes: a port identification module, configured to identify a USB port connected to a load device among N USB ports of the multi-port charging device, and generate a port identification signal, wherein N is an integer greater than or equal to 2; a port selection module, configured to select a signal connection between the kth USB port and an I / O interface module when the port identification signal indicates that the kth USB port among the N USB ports is connected to a load device, wherein k is an integer greater than or equal to 1 and less than or equal to N; an I / O interface module, configured to implement signal transmission between the kth USB port and a 5V voltage digital handshake protocol and a fast charging digital handshake protocol module; and a 5V voltage digital handshake protocol and a fast charging digital handshake protocol module, configured to complete handshake communication with the load device connected to the kth USB port via the I / O interface module and the kth USB port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuits, and more specifically to a multi-port charging device and a protocol handshake implementation architecture and method thereof. Background Art

[0002] In a charging device such as a fast charging charger or a power bank with more than two Universal Serial Bus (USB) ports, each USB port can provide a handshake of the fast charging communication protocol, and when more than two USB ports are connected to load devices, each USB port only provides a 5V charging voltage and a handshake of the normal charging communication protocol. Summary of the invention

[0003] According to an embodiment of the present invention, a protocol handshake implementation architecture for a multi-port charging device includes: a port identification module, configured to identify a USB port connected to a load device among N universal serial bus (USB) ports of the multi-port charging device, and generate a port identification signal, wherein N is an integer greater than or equal to 2; a port selection module, configured to select a signal connection between the kth USB port and an input / output (I / O) interface module when the port identification signal indicates that the kth USB port among the N USB ports is connected to a load device, wherein k is an integer greater than or equal to 1 and less than or equal to N; an I / O interface module, configured to implement signal transmission between the kth USB port and a 5V voltage digital handshake protocol and a fast charging digital handshake protocol module; and a 5V voltage digital handshake protocol and a fast charging digital handshake protocol module, configured to complete handshake communication with the load device connected to the kth USB port via the I / O interface module and the kth USB port.

[0004] According to an embodiment of the present invention, a protocol handshake implementation method for a multi-port charging device includes: identifying a USB port connected to a load device among N universal serial bus (USB) ports of the multi-port charging device, and generating a port identification signal, wherein N is an integer greater than or equal to 2; when the port identification signal indicates that the kth USB port among the N USB ports is connected to a load device, selecting a signal connection between the kth USB port and an input / output (I / O) interface module, wherein k is an integer greater than or equal to 1 and less than or equal to N; implementing signal transmission between the kth USB port and a 5V voltage digital handshake protocol and a fast charging digital handshake protocol module through the I / O interface module; and completing handshake communication with the load device connected to the kth USB port through the 5V voltage digital handshake protocol and the fast charging digital handshake protocol module, via the I / O interface module and the kth USB port.

[0005] According to the protocol handshake implementation architecture and method for a multi-port charging device in an embodiment of the present invention, by selecting the signal connection between the USB port connected to the load device and the I / O interface module, a handshake communication between a load device connected to any USB port of the multi-port charging device and the multi-port charging device can be implemented using one I / O interface module. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present invention can be better understood from the following description of specific embodiments of the present invention in conjunction with the accompanying drawings, in which:

[0007] Figure 1 A schematic block diagram of a conventional protocol handshake implementation architecture for a charging device is shown.

[0008] Figure 2 A schematic block diagram of a protocol handshake implementation architecture for a multi-port charging device according to an embodiment of the present invention is shown.

[0009] Figures 3A to 3C Shows Figure 2 The signal paths in the protocol handshake implementation architecture are shown.

[0010] Figure 4 Shows Figure 2 FIG. 1 is a schematic diagram of an example implementation circuit of a port gating module in the protocol handshake implementation architecture shown.

[0011] Figure 5 Shows Figure 2 Schematic diagram of an example implementation circuit of a 5V voltage simulation handshake protocol module in the protocol handshake implementation architecture shown.

[0012] Figure 6 Shows Figure 5 The 5V voltage simulation handshake protocol module shown in the figure implements the protocol handshake flow chart.

[0013] Figure 7 Shows Figure 5 The 5V voltage simulation handshake protocol module shown implements the timing diagram of the relevant signals in the protocol handshake process. DETAILED DESCRIPTION

[0014] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In the detailed description below, many specific details are proposed to provide a comprehensive understanding of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention. The present invention is by no means limited to any specific configuration and algorithm proposed below, but covers any modification, replacement and improvement of elements, parts and algorithms without departing from the spirit of the present invention. In the accompanying drawings and the following description, known structures and technologies are not shown to avoid unnecessary ambiguity to the present invention.

[0015] Figure 1 FIG. 1 is a schematic block diagram of a conventional protocol handshake implementation architecture 100 for a charging device. Figure 1 As shown, in the case where the charging device has two USB ports, each USB port is connected to the 5V voltage digital handshake protocol and the fast charge digital handshake protocol module through the input / output (I / O) interface module connected thereto. In other words, the protocol handshake implementation architecture 100 includes two independent I / O interface modules, and the circuit structure is relatively complex.

[0016] Given that Figure 1 In view of the above-mentioned problems existing in the protocol handshake implementation architecture 100 shown, a multi-port charging device and a protocol handshake implementation architecture and method thereof according to an embodiment of the present invention are proposed. This protocol handshake implementation architecture and method can not only handle the communication problems of the USB ports of a multi-port charging device with multiple USB ports, but also has a relatively simple circuit structure.

[0017] The following takes a multi-port charging device with two USB ports as an example to illustrate the protocol handshake implementation architecture for the multi-port charging device according to an embodiment of the present invention.

[0018] Figure 2 FIG. 2 is a schematic block diagram of a protocol handshake implementation architecture 200 for a multi-port charging device according to an embodiment of the present invention. Figure 2As shown, the protocol handshake implementation architecture 200 includes a port identification module 202, a port selection module 204, an I / O interface module 206, and a 5V voltage digital handshake protocol and a fast charge digital handshake protocol module 208, wherein: the port identification module 202 is configured to identify the USB port of the multi-port charging device that is connected to the load device in two USB ports (for example, USB port 1 and USB port 2) and generate a port identification signal PORT_EN; the port selection module 204 is configured to indicate that the port identification signal PORT_EN indicates that any one of the USB ports 1 and 2 (for example, USB port 2) is connected to the load device. When a load device is connected to USB port 1, the signal connection between USB port 1 and the I / O interface module 206 is enabled; the I / O interface module 206 is configured to realize signal transmission between USB port 1 and the 5V voltage digital handshake protocol and fast charging digital handshake protocol module 208; the 5V voltage digital handshake protocol and fast charging digital handshake protocol module 208 is configured to complete the handshake communication with the load device connected to USB port 1 via the I / O interface module 206 and USB port 1 (that is, complete the handshake of the ordinary charging communication protocol or the fast charging communication protocol between the load device connected to USB port 1 and the multi-port charging device).

[0019] According to the protocol handshake implementation architecture 200 of the embodiment of the present invention, by selecting the signal connection between any USB port connected to the load device and the I / O interface module, an I / O interface module can be used to implement handshake communication between the load device connected to any USB port of the multi-port charging device and the multi-port charging device.

[0020] In some embodiments, Figure 2 As shown, the input signals of the port identification module 202 are the port voltages VPORT1 and VPORT2 of the USB port 1 and the USB port 2, and the output signal is the port identification signal PORT_EN. Here, when the USB port 1 is connected to a load device and the USB port 2 is not connected to a load device, the port identification signal PORT_EN is 01; when the USB port 1 is not connected to a load device and the USB port 2 is connected to a load device, the port identification signal PORT_EN is 10; when both the USB ports 1 and 2 are connected to a load device, the port identification signal PORT_EN is 11; when neither the USB ports 1 and 2 are connected to a load device, the port identification signal PORT_EN is 00.

[0021] In some embodiments, Figure 2As shown, the port selection module 204 includes a first port selection unit 204-1 and a second port selection unit 204-2, wherein: the first port selection unit 204-1 is configured to select the signal connection between the first data signal line (e.g., DP_PORT1) of USB port 1 and the I / O interface module 206 when the port identification signal PORT_EN indicates that any one of the USB ports (e.g., USB port 1) of USB port 1 and USB port 2 is connected to a load device; the second port selection unit 204-2 is configured to select the signal connection between the second data signal line (e.g., DM_PORT1) of USB port 1 and the I / O interface module 206 when the port identification signal PORT_EN indicates that any one of the USB ports (e.g., USB port 1) of USB port 1 and USB port 2 is connected to a load device.

[0022] In some embodiments, Figure 2 As shown, the protocol handshake implementation architecture 200 also includes a 5V voltage simulation handshake protocol module 210, which is configured to use a local analog circuit to complete the handshake communication with the load devices connected to USB port 1 and USB port 2 when the port identification signal PORT_EN indicates that both USB port 1 and USB port 2 are connected to load devices (that is, to complete the handshake of the common charging communication protocol between the load devices connected to USB port 1 and USB port 2 and the multi-port charging device).

[0023] In some embodiments, for each USB port connected to a load device, the 5V voltage simulation handshake protocol module 210 is configured to determine whether the load device connected to the USB port complies with the requirements of a first common charging communication protocol (e.g., the Apple protocol), and if the judgment result is no, determine whether the load device connected to the USB port complies with the requirements of a second common charging communication protocol (e.g., the BC1.2 protocol).

[0024] Figures 3A to 3C Shows Figure 2 The signal paths in the protocol handshake implementation architecture 200 are shown. Figure 3A As shown, when USB port 1 is connected to a load device and USB port 2 is not connected to a load device, the first data signal line of USB port 1 (e.g., DP_PORT1) forms a signal path with the I / O interface module 206 and the 5V voltage digital handshake protocol and fast charge digital handshake protocol module 208 via the first port selection unit 204-1, and the second data signal line of USB port 1 (e.g., DM_PORT1) forms a signal path with the I / O interface module 206 and the 5V voltage digital handshake protocol and fast charge digital handshake protocol module 208 via the second port selection unit 204-2. Figure 3B As shown, when USB port 1 is not connected to a load device and USB port 2 is connected to a load device, the first data signal line (e.g., DP_PORT2) of USB port 2 forms a signal path with the I / O interface module 206 and the 5V voltage digital handshake protocol and fast charge digital handshake protocol module 208 via the first port selection unit 204-1, and the second data signal line (e.g., DM_PORT2) of USB port 2 forms a signal path with the I / O interface module 206 and the 5V voltage digital handshake protocol and fast charge digital handshake protocol module 208 via the second port selection unit 204-2. Figure 3C As shown, when both USB ports 1 and 2 are connected to load devices, the first data signal lines of USB ports 1 and 2 (for example, DP_PORT1 and DP_PORT2) directly reach the 5V voltage simulation handshake protocol module 210, and the second data signal lines of USB ports 1 and 2 (for example, DM_PORT1 and DM_PORT2) also directly reach the 5V voltage simulation handshake protocol module 210, that is, the first and second data signal lines of USB ports 1 and 2 both form a signal path with the 5V voltage simulation handshake protocol module 210.

[0025] In some embodiments, the first port selection unit 204-1 and the second port selection unit 204-2 are implemented by a signal selection processor, and their input signals are the first data signal and the second data signal line (for example, DP_PORT1 and DM_PORT1) from USB port 1, the first data signal and the second data signal line (for example, DP_PORT2 and DM_PORT2) from USB port 2, and the port identification signal PORT_EN. When any one of USB port 1 and USB port 2 (for example, USB port 1) is connected to a load device, the first and second port selection units 204-1 and 204-2 select the first data signal and the second data signal from USB port 1 according to the port identification signal PORT_EN and send them to the I / O interface module 206 and the 5V voltage digital handshake protocol and fast charging digital handshake protocol module 208 to implement the handshake of the ordinary charging communication protocol or the fast charging communication protocol. Figure 2 In the example, the first data signal selected by the first port gating unit 204-1 is represented as DP_select, and the first data signal selected by the second port gating unit 204-2 is represented as DM_select.

[0026] Figure 4 Shows Figure 2 FIG. 2 is a schematic diagram of an exemplary implementation circuit of the port gating module 204 in the protocol handshake implementation architecture shown in FIG. Figure 4 As shown, in some embodiments, the first port selection unit 204-1 includes two first switches (e.g., SWITCH1-1 and SWITCH1-2) respectively connected between the first data signal lines (e.g., DP_PORT1 and DP_PORT2) of USB port 1 and USB port 2 and the I / O interface module 206, and the second port selection unit 204-2 includes two second switches (e.g., SWITCH2-1 to SWITCH2-2) respectively connected between the second data signal lines (e.g., DM_PORT1 and DM_PORT2) of USB port 1 and USB port 2 and the I / O interface module 206. When the port identification signal PORT_EN indicates that any one of the USB ports 1 and 2 (for example, USB port 1) is connected to a load device, the first switch SWITCH1-1 corresponding to USB port 1 of the two first switches SWITCH1-1 and SWITCH1-2 is closed, and the first switch SWITCH1-2 corresponding to USB port 2 is opened, and the second switch SWITCH2-1 corresponding to USB port 1 of the two second switches SWITCH2-1 and SWITCH2-2 is closed, and the first switch SWITCH2-2 corresponding to USB port 2 is opened. When the port identification signal PORT_EN indicates that neither the USB port 1 nor the USB port 2 is connected to a load device, the two first switches SWITCH1-1 and SWITCH1-2 and the two second switches SWITCH2-1 to SWITCH2-2 are all opened.

[0027] In some embodiments, Figure 4 As shown, the first port gating unit 204-1 further includes a first switch tube (e.g., M1), a first terminal of which is connected to the power supply voltage AVDD of the port gating module 204, and a second terminal of which is connected between the two first switches SWITCH1-1 and SWITCH1-2 and the I / O interface module 206. When the port identification signal PORT_EN indicates that neither the USB port 1 nor the USB port 2 is connected to a load device, the voltage on the second terminal of the first switch tube is pulled up to the power supply voltage AVDD of the port gating module 204.

[0028] In some embodiments, Figure 4As shown, the second port gating unit 204-2 further includes a second switch tube (e.g., M2), a first terminal of which is connected to the power supply voltage AVDD of the port gating module 204, and a second terminal of which is connected between the two second switches SWITCH2-1 and SWITCH2-2 and the I / O interface module 206. When the port identification signal PORT_EN indicates that neither the USB port 1 nor the USB port 2 is connected to a load device, the voltage on the second terminal of the second switch tube is pulled up to the power supply voltage AVDD of the port gating module 204.

[0029] Figure 5 Shows Figure 2 FIG. 2 is a schematic diagram of an example implementation circuit of a 5V voltage simulation handshake protocol module 210 in the protocol handshake implementation architecture shown in FIG. Figure 5 As shown, in some embodiments, the 5V voltage simulation handshake protocol module 210 includes a buffer Buffer, a switch tube M3 connected between the first data signal line (e.g., DP_PORT1) and the second data signal line (e.g., DM_PORT1) of USB port 1, a switch tube M4 connected between the first data signal line (e.g., DP_PORT2) and the second data signal line (e.g., DM_PORT2) of USB port 2, a switch (e.g., SWITCH3-1 and SWITCH3-2) connected between the first data signal line (e.g., DP_PORT1) and the second data signal line (e.g., DM_PORT1) of USB port 1 and the output end of the buffer Buffer, and a switch (e.g., SWITCH4-1 and SWITCH4-2) connected between the first data signal line (e.g., DP_PORT2) and the second data signal line (e.g., DM_PORT2) of USB port 2 and the output end of the buffer Buffer. Here, the buffer Buffer is a buffer with a certain load capacity, and the voltage at its output end is stabilized at 2.7V.

[0030] like Figure 5As shown, the 5V voltage simulation handshake protocol module 210 also includes: a protocol judgment unit 210-1, which is configured to judge whether the voltage on the first data signal line and the second data signal line of each USB port in USB port 1 and USB port 2 meets the requirements of the first ordinary charging communication protocol, and generates a protocol judgment signal; a switch control unit 210-2, which is configured to generate a switch control signal (for example, SWITCH3 and SWITCH4) for controlling the closing and opening of the switch between the first data signal line and the second data signal line of each USB port in USB port 1 and USB port 2 and the output end of the buffer Buffer according to the protocol judgment signal and the port identification signal PORT_EN; and a gate control unit 210-3, which is configured to generate a gate control signal (for example, Control1 and Control2) for controlling the conduction and disconnection of the switch tube between the first data signal line and the second data signal line of each USB port in USB port 1 and USB port 2 according to the protocol judgment signal and the port identification signal PORT_EN. Here, the switch control signal SWITCH3 is used to control the closing and opening of switches SWITCH3-1 and SWITCH3-2, the switch control signal SWITCH4 is used to control the closing and opening of switches SWITCH4-1 and SWITCH4-2, the gate control signal Control1 is used to control the on and off of the switch tube M3, and the gate control signal Control2 is used to control the on and off of the switch tube M4.

[0031] exist Figure 5 In the example circuit implementation shown, when no load device is connected to USB port 1 and USB port 2, switches SWITCH3-1 and SWITCH3-2, SWITCH4-1 and SWITCH4-2 are closed, and switches M3 and M4 are turned off, so that the voltages on the first data signal line and the second data signal line of USB port 1 and USB port 2 are stabilized at 2.7V.

[0032] Since the Apple protocol requires that the voltages on the first data signal line and the second data signal line of the USB port are maintained within a certain accuracy range of 2.7V, and the BC1.2 protocol requires that the first data signal line and the second data signal line of the USB port are short-circuited and disconnected from other circuits inside the multi-port charging device, Figure 5In the example circuit shown, when both USB port 1 and USB port 2 are connected to load devices, switches SWITCH3-1 and SWITCH3-2, SWITCH4-1 and SWITCH4-2 are closed first, and gate control signals Control1 and Control2 are at a low level (i.e., switches M3 and M4 are turned off), and it is determined whether the voltages on the first data signal line and the second data signal line of USB port 1 and USB port 2 meet the requirements of the Apple protocol; if the voltages on the first data signal line and the second data signal line of USB port 1 do not meet the requirements of the Apple protocol, If the voltages on the first data signal line and the second data signal line of USB port 2 meet the requirements of the Apple protocol, switches SWITCH3-1 and SWITCH3-2 are changed from closed to open, and signal Control1 is changed from low level to high level (i.e., switch tube M3 is changed from off to on), switches SWITCH4-1 and SWITCH4-2 are kept closed, and signal Control2 is kept at a low level (i.e., switch tube M4 is kept off), and it is continued to be judged whether the voltages on the first data signal line and the second data signal line of USB port 1 meet the requirements of the BC1.2 protocol.

[0033] Figure 6 Shows Figure 5 The 5V voltage simulation handshake protocol module implements the protocol handshake flow chart shown in FIG. Figure 6 As shown, the 5V voltage protocol handshake process for each USB port in USB port 1 and USB port 2 involves the following aspects:

[0034] exist Figure 5 In the example circuit implementation shown, for each USB port (for example, USB port 1) among USB port 1 and USB port 2, when no load device is connected to USB port 1, switches SWITCH3-1 and SWITCH3-2 connected between the first data signal line and the second data signal line of USB port 1 and the output end of the buffer are closed, and switch tube M3 connected between the first data signal line and the second data signal line of USB port 1 is turned off.

[0035] exist Figure 5In the example circuit implementation shown, for each USB port (for example, USB port 1) among USB port 1 and USB port 2, when the voltages on the first data signal line and the second data signal line of USB port 1 meet the requirements of the Apple protocol, switches SWITCH3-1 and SWITCH3-2 connected between the first data signal line and the second data signal line of USB port 1 and the output end of the buffer remain closed, and switch tube M3 connected between the first data signal line and the second data signal line of USB port 1 remains turned off.

[0036] exist Figure 5 In the example circuit implementation shown, for each USB port (for example, USB port 1) in USB port 1 and USB port 2, when the voltage on the first data signal line and the second data signal line of USB port 1 does not meet the requirements of the Apple protocol, switches SWITCH3-1 and SWITCH3-2 connected between the first data signal line and the second data signal line of USB port 1 and the output end of the buffer change from closed to open, and the switch tube M3 connected between the first data signal line and the second data signal line of USB port 1 changes from off to on, and then the protocol judgment unit 210-1 judges whether the voltage on the first data signal line and the second data signal line of USB port 1 meets the requirements of the BC1.2 protocol.

[0037] exist Figure 5 In the example circuit implementation shown, for each USB port (for example, USB port 1) in USB port 1 and USB port 2, when the voltages on the first data signal line and the second data signal line of USB port 1 meet the requirements of the BC1.2 protocol, switches SWITCH3-1 and SWITCH3-2 connected between the first data signal line and the second data signal line of USB port 1 and the output end of the buffer remain disconnected, and switch tube M3 connected between the first data signal line and the second data signal line of USB port 1 remains turned on.

[0038] Figure 7 Shows Figure 5 The 5V voltage simulation handshake protocol module shown in the figure implements the timing diagram of the relevant signals in the protocol handshake process. Figure 7It can be seen that when both USB port 1 and USB port 2 are connected to load devices, it is first determined within time T0 whether the voltages on the first data connection line and the second data connection line of USB port 1 and USB port 2 meet the requirements of the Apple protocol, and when both the voltages on the first data connection line and the second data connection line of USB port 1 and USB port 2 do not meet the requirements of the Apple protocol, it is further determined whether the voltages on the first data connection line and the second data connection line of USB port 1 and USB port 2 meet the requirements of the BC1.2 protocol.

[0039] compared to Figure 1 The protocol handshake implementation architecture 100 shown in the figure, since the port selection module 204 can select the signal connection between any USB port connected to the load device and the I / O interface module 206, Figure 2 The protocol handshake implementation architecture 200 shown can not only handle the communication problem of the USB ports of a multi-port charging device having multiple USB ports, but also has a relatively simple circuit structure.

[0040] In addition, Figure 2 In the illustrated protocol handshake implementation architecture 200 , the 5V voltage analog handshake protocol module 210 can utilize local processing rather than communication with a digital circuit to complete the handshake of a common charging communication protocol.

[0041] It should be understood by those skilled in the art that Figure 2 The protocol handshake implementation architecture 200 shown can be extended to applications with more than 2 USB ports. As long as the port identification module 202 detects that more than two USB ports are connected to load devices, the 5V voltage analog handshake protocol module 210 (analog circuit) implements the handshake of the Apple and BC1.2 protocols, otherwise the 5V voltage digital handshake protocol and the fast charge digital handshake protocol module 208 complete the handshake of the normal charging communication protocol or the fast charging communication protocol via the I / O interface module 206.

[0042] From the above, it can be seen that the protocol handshake implementation architecture for a multi-port charging device according to an embodiment of the present invention adopts a protocol handshake implementation method for a multi-port charging device, and the protocol handshake implementation method includes: identifying a USB port connected to a load device among N universal serial bus (USB) ports of the multi-port charging device, and generating a port identification signal, wherein N is an integer greater than or equal to 2; when the port identification signal indicates that the kth USB port among the N USB ports is connected to a load device, selecting the signal connection between the kth USB port and the input / output (I / O) interface module, wherein k is an integer greater than or equal to 1 and less than or equal to N; realizing signal transmission between the kth USB port and the 5V voltage digital handshake protocol and the fast charging digital handshake protocol module through the I / O interface module; and completing handshake communication with the load device connected to the kth USB port through the 5V voltage digital handshake protocol and the fast charging digital handshake protocol module, via the I / O interface module and the kth USB port.

[0043] In some embodiments, the protocol handshake implementation method further includes: when the port identification signal indicates that two or more USB ports among the N USB ports are connected to a load device, using a local analog circuit to complete handshake communication with the load devices connected to the two or more USB ports. For example, for each of the two or more USB ports, determine whether the load device connected to the USB port meets the requirements of the first common charging communication protocol, and if the determination result is no, determine whether the load device connected to the USB port meets the requirements of the second common charging communication protocol.

[0044] The present invention can be implemented in other specific forms without departing from its spirit and essential features. For example, the algorithms described in the specific embodiments can be modified, and the system architecture does not depart from the basic spirit of the present invention. Therefore, the current embodiments are regarded as exemplary and non-restrictive in all aspects, and the scope of the present invention is defined by the appended claims rather than the above description, and all changes falling within the meaning and equivalent scope of the claims are thus included in the scope of the present invention.

Claims

1. A protocol handshake implementation architecture for a multi-port charging device, comprising: a port identification module configured to identify a USB port connected to a load device among N universal serial bus (USB) ports of the multi-port charging device and generate a port identification signal, wherein N is an integer greater than or equal to 2; a port gating module configured to gating a signal connection between the kth USB port and an input / output (I / O) interface module when the port identification signal indicates that a load device is connected to the kth USB port among the N USB ports, wherein k is an integer greater than or equal to 1 and less than or equal to N; The I / O interface module is configured to implement signal transmission between the kth USB port and the 5V voltage digital handshake protocol and fast charge digital handshake protocol modules; The 5V voltage digital handshake protocol and fast charge digital handshake protocol modules are configured to complete handshake communication with a load device connected to the kth USB port via the I / O interface module and the kth USB port; and The 5V voltage simulation handshake protocol module is configured to use a local simulation circuit to complete handshake communication with the load devices connected to the two or more USB ports when the port identification signal indicates that the two or more USB ports among the N USB ports are connected to the load devices. Wherein, the port gating module comprises: A first port gating unit is configured to gating a signal connection between a first data signal line of the kth USB port and the I / O interface module when the port identification signal indicates that a load device is connected to the kth USB port; and The second port selection unit is configured to select the signal connection between the second data signal line of the kth USB port and the I / O interface module when the port identification signal indicates that the kth USB port is connected to a load device.

2. The protocol handshake implementation architecture according to claim 1, wherein: The first port gating unit comprises N first switches respectively connected between the first data signal lines of the N USB ports and the I / O interface module, and when the port identification signal indicates that the kth USB port is connected to a load device, the kth first switch corresponding to the kth USB port among the N first switches is closed, and The second port selection unit includes N second switches respectively connected between the second data signal lines of the N USB ports and the I / O interface module. When the port identification signal indicates that the kth USB port is connected to a load device, the kth second switch corresponding to the kth USB port among the N second switches is closed.

3. The protocol handshake implementation architecture according to claim 2, wherein: The first port gating unit further includes a first switch tube, a first terminal of the first switch tube is connected to the power supply voltage of the port gating module, and a second terminal is connected between the N first switches and the I / O interface module, and when the port identification signal indicates that none of the N USB ports are connected to a load device, a voltage on the second terminal of the first switch tube is pulled up to the power supply voltage of the port gating module, and The second port selection unit also includes a second switch tube, a first terminal of the second switch tube is connected to the power supply voltage of the port selection module, and a second terminal is connected between the N second switches and the I / O interface module. When the port identification signal indicates that none of the N USB ports are connected to a load device, the voltage on the second terminal of the second switch tube is pulled up to the power supply voltage of the port selection module.

4. The protocol handshake implementation architecture according to claim 1, wherein: The 5V voltage analog handshake protocol module is further configured as follows: For each of the more than two USB ports, determine whether the load device connected to the USB port meets the requirements of the first common charging communication protocol, and if the judgment result is no, determine whether the load device connected to the USB port meets the requirements of the second common charging communication protocol.

5. The protocol handshake implementation architecture according to claim 1, wherein: The 5V voltage simulation handshake protocol module includes a buffer, N switch tubes connected between a first data signal line and a second data signal line of each of the N USB ports, and 2N switches connected between the first data signal line and the second data signal line of each of the N USB ports and an output end of the buffer, and further includes: a protocol determination unit configured to determine whether the voltages on the first data signal line and the second data signal line of each of the N USB ports meet the requirements of the first common charging communication protocol, and generate a protocol determination signal; a switch control unit configured to generate two or more switch control signals for controlling the closing and opening of a switch between a first data signal line and a second data signal line connected to each of the two or more USB ports and an output end of the buffer according to the protocol determination signal and the port identification signal; and The gate control unit is configured to generate two or more gate control signals for controlling the on and off of the switch tube between the first data signal line and the second data signal line connected to each of the two or more USB ports according to the protocol judgment signal and the port identification signal.

6. The protocol handshake implementation architecture according to claim 5, wherein: When no load device is connected to the N USB ports, the switch between the first data signal line and the second data signal line of each of the N USB ports and the output end of the buffer is closed, and the switch tube between the first data signal line and the second data signal line of each of the N USB ports is turned off.

7. The protocol handshake implementation architecture according to claim 6, wherein: When the voltages on the first data signal line and the second data signal line of any one of the at least two USB ports do not meet the requirements of the first normal charging communication protocol, the switch connected between the first data signal line and the second data signal line of the USB port and the output end of the buffer changes from closed to open, and the switch tube connected between the first data signal line and the second data signal line of the USB port changes from off to on.

8. The protocol handshake implementation architecture according to claim 6, wherein: When the voltages on the first data signal line and the second data signal line of any one of the at least two USB ports meet the requirements of the first common charging communication protocol, the switch between the first data signal line and the second data signal line of the USB port and the output end of the buffer remains closed, and the switch tube between the first data signal line and the second data signal line of the USB port remains turned off.

9. A multi-port charging device, comprising the protocol handshake implementation architecture according to any one of claims 1 to 8.

10. A protocol handshake implementation method for a multi-port charging device, comprising: Identify a USB port connected to a load device among N universal serial bus (USB) ports of the multi-port charging device, and generate a port identification signal, wherein N is an integer greater than or equal to 2; When the port identification signal indicates that the kth USB port among the N USB ports is connected to a load device, Enable the signal connection between the kth USB port and the input / output (I / O) interface module, wherein k is an integer greater than or equal to 1 and less than or equal to N, The signal transmission between the kth USB port and the 5V voltage digital handshake protocol and the fast charge digital handshake protocol module is realized through the I / O interface module. By means of the 5V voltage digital handshake protocol and the fast charge digital handshake protocol module, via the I / O interface module and the kth USB port, a handshake communication with a load device connected to the kth USB port is completed; and When the port identification signal indicates that two or more USB ports among the N USB ports are connected to load devices, a local analog circuit is used to complete handshake communication with the load devices connected to the two or more USB ports.

11. The protocol handshake implementation method according to claim 10, wherein: For each of the more than two USB ports, determine whether the load device connected to the USB port meets the requirements of the first common charging communication protocol, and if the judgment result is no, determine whether the load device connected to the USB port meets the requirements of the second common charging communication protocol.

Citation Information

Patent Citations

  • Universal serial bus device and power supply method thereof

    CN103309835A

  • Multiplexer for signals according to different protocols

    CN104067248A

  • USB (Universal Serial Bus) interface circuit, terminal equipment, signal interface and external equipment

    CN105740193A

  • Multi-split quota distribution fast charging wire and fast charging method

    CN111327091A

  • USB hub, USB-compliant apparatus, and communication system

    CN1811743A