Interface circuit and connector

By introducing a control module into the interface circuit, the access of the target male pin is controlled according to the target female pin, the cost and complexity problems of the multiplexer in the forward and reverse plug-in adaptation of the Type-C interface are solved, and the successful communication and screen projection of the equipment are achieved, reducing the complexity and cost of the circuit design.

CN119651284APending Publication Date: 2025-03-18CHENGDU CHIPSEA INNOVATION TECH CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411796614.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

When implementing the forward and reverse adaptation of the Type-C interface, the prior art needs to add multiplexers, resulting in increased cost and increased design complexity.

Method used

By introducing a control module into the interface circuit, the access of the target male pin is controlled according to the target female pin connected to the second device, and the forward and reverse plugging relationship between the male connector end and the female connector end is maintained, avoiding the use of the multiplexer.

Benefits of technology

It is realized that without adding multiplexers, ensuring that the high-speed signal line sequence of the Type-C interface meets the requirements, allowing the device to communicate successfully and achieve screen projection, reducing the complexity and cost of circuit design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119651284A_ABST
    Figure CN119651284A_ABST
Patent Text Reader

Abstract

The invention discloses an interface circuit and a connector, the interface circuit comprises a male head connecting end, a female seat connecting end and a control module, the male head connecting end is provided with a first male head pin and a second male head pin, the female seat connecting end is provided with a first female seat pin and a second female seat pin, and the control module is used for controlling the first male head pin and the second male head pin when determining that second equipment supports data communication. The target male head pin is controlled to be connected to the first device according to a target female seat pin connected with the second device, the target female seat pin is one of the first female seat pin and the second female seat pin, and the target male head pin corresponds to the target female seat pin. According to the interface circuit provided by the invention, the line sequence of the high-speed signal can be ensured to meet the requirement under the condition that a multiplexer is not needed, so that the first equipment and the second equipment can carry out data communication, screen projection is realized, the design complexity of the circuit is reduced, the circuit structure is simplified, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of interface technology, and in particular to an interface circuit and a connector. Background Art

[0002] On August 11, 2014, the Universal Serial Bus Association released a new interface type of the Universal Serial Bus, Type-C, which is called USB Type-C interface. It is smaller than Type-A and Type-B, and can be used in both PCs (master devices) and external devices (slave devices, such as mobile phones). With the launch of the Type-C interface, more and more consumer electronic products use the Type-C interface as a standard, and more and more products support the Type-C interface for external screen projection. Therefore, many Type-C electronic accessories that support screen projection applications have appeared on the market.

[0003] For electronic accessories with dual Type-C interfaces, in order to make the line sequence of the high-speed signal lines of the two Type-C interfaces meet the requirements of high-speed signal transmission, the relevant technology adds a multiplexer in the electronic accessories to make the high-speed signal lines adapt to the forward and reverse insertion of the Type-C interface, ensuring that the device can communicate successfully for screen projection.

[0004] However, adding a multiplexer in the related art increases the cost and also increases the design complexity. Summary of the invention

[0005] In view of the above problems, the present application provides an interface circuit and a connector to solve the above technical problems.

[0006] In a first aspect, the present application provides an interface circuit, the interface circuit comprising:

[0007] A male connector for connecting to a first device, the male connector being configured with a first male pin and a second male pin;

[0008] A female socket connection end for connecting to a second device, the female socket connection end being configured with a first female socket pin and a second female socket pin, wherein the first female socket pin corresponds to the first male pin, and the second female socket pin corresponds to the second male pin;

[0009] A control module is used to control the target male pin to connect to the first device according to the target female pin connected to the second device when it is determined that the second device supports data communication, wherein the target female pin is one of the first female pin and the second female pin, and the target male pin corresponds to the target female pin.

[0010] The interface circuit controls the target male pin corresponding to the target female pin connected to the second device through a control module, so that the positive and negative insertion relationship of the male connection end and the female connection end remain consistent. Even without adding a multiplexer, the first device and the second device can successfully communicate and realize screen projection. The circuit structure is simple and the cost is low.

[0011] In a second aspect, the present application also provides a connector, comprising a connector body and the above-mentioned interface circuit arranged on the connector body.

[0012] The interface circuit provided by the present application has a male connection end configured with a first male pin and a second male pin, and a corresponding female connection end configured with a first female pin and a second female pin. When the control module determines that the second device connected to the female connection end supports data communication, the target male pin corresponding to the target female pin is controlled to be connected to the first device according to the target female pin connected to the second device, so that the positive and negative insertion relationship of the male connection end and the female connection end remain consistent. Without the need for a multiplexer, it can also ensure that the line sequence of the high-speed signal meets the requirements, so that the first device and the second device can successfully communicate and realize screen projection. Compared with the related art of adding a multiplexer to adapt to positive and negative insertion, the design complexity of the circuit is greatly reduced, the circuit structure is simplified, and the cost is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 It is a structural schematic diagram of a Type-C electronic accessory provided in the related art;

[0015] Figure 2 This is a schematic diagram of an application scenario of the interface circuit provided in the embodiment of the present application;

[0016] Figure 3 is a structural schematic diagram of an interface circuit provided in an embodiment of the present application;

[0017] Figure 4 is a structural schematic diagram of a control module provided in an embodiment of the present application;

[0018] Figure 5 is another structural schematic diagram of a control module provided in an embodiment of the present application;

[0019] Figure 6is another structural schematic diagram of the interface circuit provided in the embodiment of the present application;

[0020] Figure 7 It is a structural schematic diagram of a charging and discharging module provided in an embodiment of the present application;

[0021] Figure 8 is another structural schematic diagram of the charging and discharging module provided in the embodiment of the present application;

[0022] Fig. 9 It is another structural schematic diagram of the interface circuit provided in the embodiment of the present application. DETAILED DESCRIPTION

[0023] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0024] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0025] In the embodiments of the present application, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0026] Moreover, the terms "comprises", "comprising" or any other variation thereof are intended to cover non-exclusive inclusion, so that an article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such article or device. In the absence of more restrictions, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the article or device comprising the element.

[0027] In the description of the embodiments of the present application, words such as "example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "example" or "for example" in the embodiments of the present application is not to be interpreted as being more preferred or having more advantages than another embodiment or design. The use of words such as "example" or "for example" is intended to present relative concepts in a clear manner.

[0028] In addition, the "plurality" in the embodiments of the present application refers to two or more than two. In view of this, in the embodiments of the present application, "plurality" can also be understood as "at least two". "At least one" can be understood as one or more, for example, one, two or more. For example, including at least one means including one, two or more, and there is no limit on which ones are included. For example, including at least one of A, B and C, then A, B, C, A and B, A and C, B and C, or A, B and C can be included.

[0029] It should be noted that in the embodiments of the present application, "connection" can be understood as electrical connection, and the connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B through one or more other electrical components.

[0030] Before introducing the interface circuit and connector of the present application, the relevant background information of the embodiments of the present application is first introduced.

[0031] The USB Type-C interface can provide high-speed data transmission up to 10Gb / s and power up to 100W, so it is widely used in terminal devices such as smartphones and mobile devices. As the popularity of Type-C interface products increases, more and more products support external screen projection via the Type-C interface, especially terminal devices such as mobile phones, tablets, and notebooks. As a result, many Type-C electronic accessories that support screen projection applications have appeared on the market.

[0032] For electronic accessories with dual Type-C interfaces, since the Type-C interfaces can be flipped, there is a problem of forward and reverse insertion. In order to make the line sequence of the high-speed signal lines of the two Type-C interfaces meet the requirements of high-speed signal transmission, the related technology adds a multiplexer to the electronic accessories to make the high-speed signal lines adapt to the forward and reverse insertion of the Type-C interfaces, ensuring that the devices can communicate successfully for screen projection.

[0033] Please refer to Figure 1 , Figure 1It is a structural diagram of the Type-C electronic accessories provided in the related technology. The Type-C electronic accessories include a Type-C male connector, a Type-C female connector, a multiplexer and a power delivery (Power Delivery, PD) controller. The Type-C male connector and the Type-C female connector respectively correspond to a DP pin, a DM pin, a TX1+ / - pin, a RX1+ / - pin, a TX2+ / - pin, a RX2+ / - pin and two channel configuration (Configuraon Channel, CC) pins (CC1 pin and CC2 pin).

[0034] Among them, the DP pin and the DM pin are differential pair pins for USB 2.0 connection, the TX1+ / - pin and the TX2+ / - pin are two groups of TX differential pair pins, the RX1+ / - pin and the RX2+ / - pin are two groups of RX differential pair pins, and the DP pin, DM pin, TX1+ / - pin, RX1+ / - pin, TX2+ / - pin, and RX2+ / - pin of the Type-C male connector are connected to the DP pin, DM pin, TX1+ / - pin, RX1+ / - pin, TX2+ / - pin, and RX2+ / - pin of the Type-C female connector through a multiplexer. In order to ensure successful communication, the PD controller needs to control the multiplexer to select between the pins so that the connection of each high-speed communication pin between the Type-C male connector and the Type-C female connector meets the requirements of high-speed signal transmission.

[0035] The CC1 and CC2 pins can be used for cable connection and removal detection, socket / plug direction detection, and so on. Figure 1 As shown, only the CC1 pin of the Type-C male connector is connected to the PD controller, and both the CC1 pin and CC2 pin of the Type-C female connector are connected to the PD controller, so that the PD controller can perform forward and reverse insertion detection based on the CC pins of the Type-C male connector and the Type-C female connector, and control the multiplexer to select between the pins.

[0036] However, adding a multiplexer in the related art leads to an increase in cost and also increases the complexity of the design, thereby complicating the structure of the Type-C electronic accessories.

[0037] Based on this, an embodiment of the present application provides an interface circuit and a connector, which are described in detail below.

[0038] See also Figure 2 , Figure 2It is a schematic diagram of an application scenario of the interface circuit provided in an embodiment of the present application. The interface circuit 100 can be set on the connector 200. The interface circuit 100 can be connected to the first device 300 and the second device 400 through data lines respectively to realize data communication between the first device 300 and the second device 400, so that the first device 300 can project the screen of the second device 400.

[0039] The first device 300 may be a mobile terminal device such as a mobile phone, a tablet, a laptop computer, a smart watch, etc., and the second device 400 may be a display device such as a conference screen, a display screen, a television, etc.

[0040] Those skilled in the art will understand that Figure 1 The application environment shown is only an application scenario adapted to the solution of the present application and does not constitute a limitation on the application scenario of the solution of the present application. The interface circuit 100 of the present application or the connector 200 integrating the interface circuit 100 can be used in application scenarios such as communication, power supply equipment, and screen projection interaction, which are not specifically limited here.

[0041] First, the present application embodiment provides an interface circuit. Figure 3 , Figure 3 It is a structural diagram of an interface circuit provided in an embodiment of the present application. The interface circuit 100 may include a male connector 110, a female connector 120 and a control module 130.

[0042] Among them, the male connection end 110 can be used to connect the first device 300, and the male connection end 110 can be configured with a first male pin and a second male pin; the female socket connection end 120 can be used to connect the second device 400, and the female socket connection end 120 can be configured with a first female socket pin and a second female socket pin, wherein the first female socket pin corresponds to the first male pin, and the second female socket pin corresponds to the second male pin.

[0043] The control module 130 can be used to control the target male pin to connect to the first device 300 according to the target female pin connected to the second device 400 when it is determined that the second device 400 supports data communication, wherein the target female pin is one of the first female pin and the second female pin, and the target male pin corresponds to the target female pin.

[0044] In the embodiment of the present application, the interface circuit 100 may be a Type-C interface circuit, the first device 300 may be connected to the male connector 110 via a male data cable, and the second device 400 may be connected to the female connector 120 via a female data cable. The first device 300 may be a mobile terminal device such as a mobile phone, a tablet, a laptop, a smart watch, etc., and the second device 400 may be a display device such as a conference screen, a display screen, a television, etc. Since the Type-C interface can perform power transmission, in some other application scenarios, the female connector 120 may also be connected to electronic accessories such as a charger or a power adapter, and at this time, the second device 400 may be a charger or a power adapter, etc.

[0045] The first male pin and the second male pin configured at the male connection end 110 may be the CC1 pin and the CC2 pin of the male connection end 110 , respectively.

[0046] Similarly, the first female socket pin and the second female socket pin configured at the female socket connection end 120 may also be the CC1 pin and the CC2 pin of the female socket connection end 120 respectively.

[0047] In the embodiment of the present application, the control module 130 can be connected to the first female socket pin and the second female socket pin respectively, so as to detect the target female socket pin connected to the second device 400. It can be understood that when the second device 400 is connected to the female socket connection end 120, it will only be connected to one of the first female socket pin and the second female socket pin. The control module 130 can determine the target female socket pin according to the connection between the second device 400 and the first female socket pin and the second female socket pin, that is, it can determine whether the insertion direction of the female socket connection end 120 is forward or reverse.

[0048] For example, if the second device 400 is connected to the first female socket pin, the first female socket pin can be considered as the target female socket pin, and the corresponding insertion direction is forward insertion; conversely, if the second device 400 is connected to the second female socket pin, the second female socket pin can be considered as the target female socket pin, and the corresponding insertion direction is reverse insertion.

[0049] If the connected second device 400 is a display device capable of data communication, the first device 300 can project the screen of the second device 400 through the interface circuit 100. At this time, after determining the target female socket pin, the control module 130 can determine, based on the target female socket pin, that the pin corresponding to the target female socket pin in the first male pin and the second male pin is the target male pin, thereby controlling the target male pin to establish a connection with the first device 300, so that the insertion direction of the male connection terminal 110 is the same as the insertion direction of the female socket connection terminal 120.

[0050] For example, if the first female socket pin is the target female socket pin, the first male pin corresponding to the first female socket pin is determined to be the target male pin, thereby controlling the first male pin to be connected to the first device 300, so that the insertion direction of the male connection end 110 is also positive insertion; conversely, if the second female socket pin is the target female socket pin, the second male pin corresponding to the second female socket pin is determined to be the target male pin, thereby controlling the second male pin to be connected to the first device 300, so that the insertion direction of the male connection end 110 is also reverse insertion.

[0051] It is understandable that when the data communication adopts the USB communication protocol, the male connector 110 may also be configured with a plurality of male communication pins, which may be high-speed communication pins for data communication, for example Figure 3 The DP pin, DM pin, TX1+ / - pin, RX1+ / - pin, TX2+ / - pin, and RX2+ / - pin are shown at the male connector 110. Correspondingly, the female connector 120 may also be configured with a plurality of female connector communication pins for data communication, such as Figure 3 DP pin, DM pin, TX1+ / - pin, RX1+ / - pin, TX2+ / - pin, RX2+ / - pin at the female connector end 120 shown in FIG. In this embodiment, the plurality of female connector communication pins can be connected to the plurality of male connector communication pins in a one-to-one correspondence.

[0052] When the insertion directions of the male connector 110 and the female connector 120 are consistent, the first device 300 can perform data communication, such as USB communication, with the second device 400 through the corresponding high-speed communication pins such as the DP pin, DM pin, TX1+ / - pin, RX1+ / - pin, TX2+ / - pin, RX2+ / - pin, etc. in the male connector 110 and the female connector 120, thereby realizing screen projection.

[0053] The interface circuit 100 provided in the embodiment of the present application has a male connection end 110 configured with a first male pin and a second male pin, and a corresponding female connection end 120 configured with a first female pin and a second female pin. When the control module 130 determines that the second device 400 connected to the female connection end 120 supports data communication, the target male pin corresponding to the target female pin is controlled to be connected to the first device 300 according to the target female pin connected to the second device 400, so that the positive and negative insertion relationship of the male connection end 110 and the female connection end 120 remains consistent, and the line sequence of the high-speed signal can also be ensured to meet the requirements without the need for a multiplexer, so that the first device 300 and the second device 400 can communicate via USB and realize screen projection. Compared with the related art of adding a multiplexer to adapt to positive and negative insertion, the design complexity of the circuit is greatly reduced, the circuit structure is simplified, and the cost is reduced.

[0054] Next, continue to Figure 3 The modules shown and the specific implementation methods that may be used in practical applications are described in detail.

[0055] like Figure 4 As shown, in some embodiments of the present application, the control module 130 may include a control unit 1301, which can be connected to the first female socket pin, the second female socket pin, the first male pin and the second male pin respectively, and the control unit 1301 can be used to: when the first device 300 is connected to the male connection terminal 110, determine the current connection pin connected to the first device 300 according to the current voltage of the first male pin and the second male pin, and when the second device 400 is connected to the female socket connection terminal 120, determine the target female socket pin according to the current voltage of the first female socket pin and the second female socket pin; if the target female socket pin corresponds to the current connection pin, determine the current connection pin as the target male pin, and maintain the current connection pin connected to the first device 300; otherwise, determine another pin that is not currently connected as the target male pin, control the current connection pin to disconnect from the first device 300, and control the target male pin to connect to the first device 300.

[0056] In the embodiment of the present application, the control unit 1301 can be any existing PD controller. For example, the control unit 1301 can be a PD chip configured with four CC lines, so that the control unit 1301 can be connected to the first female pin, the second female pin, the first male pin and the second male pin respectively. The control unit 1301 can monitor the current voltage of the first female pin, the second female pin, the first male pin and the second male pin in real time to determine the target female pin and the current connection pin according to the monitored current voltage.

[0057] As an example, assuming that the first male pin and the second male pin are at a low potential when they are suspended, that is, when the first device 300 is not connected, the first male pin and the second male pin are both at a low potential. If the first device 300 is connected to the first male pin, the first male pin is pulled to a high potential by the pull-up resistor, and the second male pin is maintained at a low potential. Based on this, the control unit 1301 can determine that the currently connected pin is the first male pin; conversely, if the first device 300 is connected to the second male pin, the second male pin is pulled to a high potential by the pull-up resistor, and the first male pin is maintained at a low potential, so that the control unit 1301 can determine that the currently connected pin is the second male pin.

[0058] Similarly, assuming that the first mother socket pin and the second mother socket pin are at a low potential when they are suspended, that is, when the second device 400 is not connected, the first mother socket pin and the second mother socket pin are both at a low potential. If the second device 400 is connected to the first mother socket pin, the first mother socket pin is pulled to a high potential by the pull-up resistor, and the second mother socket pin is maintained at a low potential. Based on this, the control unit 1301 can determine that the target mother socket pin is the first mother socket pin; conversely, if the second device 400 is connected to the second mother socket pin, the second mother socket pin is pulled to a high potential by the pull-up resistor, and the first mother socket pin is maintained at a low potential, so that the control unit 1301 can determine that the target mother socket pin is the second mother socket pin.

[0059] If the target female socket pin corresponds to the current connection pin, that is, the target female socket pin is the first female socket pin and the current connection pin is the first male pin, then the first male pin can be determined to be the target male pin, and maintaining the first male pin connected to the first device 300 allows the first device 300 to communicate with the second device 400; or, if the target female socket pin is the second female socket pin and the current connection pin is the second male pin, then the second male pin can be determined to be the target male pin, and maintaining the second male pin connected to the first device 300 allows the first device 300 to communicate with the second device 400.

[0060] If the target female socket pin does not correspond to the current connection pin, that is, the target female socket pin is the first female socket pin, but the current connection pin is the second male pin, then the first male pin can be determined to be the target male pin. At this time, the second male pin can be controlled to be suspended, and a pull-up resistor can be loaded on the first male pin. The first male pin is controlled to establish a connection with the first device 300 so that the first device 300 and the second device 400 can communicate; or, if the target female socket pin is the second female socket pin, but the current connection pin is the first male pin, then the second male pin can be determined to be the target male pin. At this time, the first male pin can be controlled to be suspended, and a pull-up resistor can be loaded on the second male pin. The second male pin is controlled to establish a connection with the first device 300 so that the first device 300 and the second device 400 can communicate.

[0061] It can be understood that the control unit 1301 in the embodiment of the present application can be integrated with functional devices such as a memory and a core to facilitate better storage, processing and pin control of information, etc. The specific details can be determined according to the actual application scenario and are not limited here.

[0062] In some embodiments of the present application, the control unit 1301 can also be used to: when the second device 400 is connected to the female socket connection terminal 120, perform device identification communication with the second device 400 based on the target female socket pin, and determine whether the second device 400 supports data communication based on the received device identification communication data.

[0063] In an embodiment of the present application, when the control unit 1301 monitors that the second device 400 is connected to the female socket connection terminal 120, it can perform device identification communication with the second device 400 based on the target female socket pin. During the device identification communication process, the second device 400 can send a device identification communication data packet to the control unit 1301 through the target female socket pin. One or more bits of data in the device identification communication data packet can represent whether the second device 400 supports data communication. It can be understood that the type of the second device 400 can be determined based on whether the second device 400 supports data communication, so that the PD control unit 1301 can determine the type of the second device 400 based on the one or more bits of data.

[0064] For example, if the device identification communication adopts PD communication, then the device identification communication data packet is a PD communication data packet, and the second bit of data in the PD communication data packet is used to represent whether the second device 400 supports data communication, wherein the data "0" represents that the second device 400 does not support data communication, and the data "1" represents that the second device 400 supports data communication. Then, when the second bit of data in the PD communication data packet received by the control unit 1301 is "0", the control unit 1301 can determine that the second device 400 does not support data communication, and judge that the second device 400 is a charger or a power adapter; when the second bit of data in the PD communication data packet received by the control unit 1301 is "1", the control unit 1301 can determine that the second device 400 supports data communication, and judge that the second device 400 is a display device, so that the male pin connected to the first device 300 can be adjusted to achieve screen projection.

[0065] It can be understood that when the first device 300 is connected to the male connection terminal 110, the control unit 1301 can also perform device identification communication with the first device 300 based on the current connection pin. The specific principles and processes of device identification communication can refer to the description of the existing PD communication protocol. This application does not involve improvements to device identification communication, so it will not be repeated.

[0066] like Figure 5As shown, in some embodiments of the present application, the control module 130 may include a first control unit 1302, a second control unit 1303 and a main control unit 1304; the first control unit 1302 may be connected to the first male pin and the second male pin respectively, and is used to determine the current connection pin connected to the first device 300 according to the current voltage of the first male pin and the second male pin when the first device 300 is connected to the male connection terminal 110, and output a male pin signal to the main control unit 1304, and the male pin signal can be used to characterize the current connection pin; the second control unit 1303 may be connected to the first female socket pin and the second female socket pin respectively, and is used to determine the target female socket pin according to the current voltage of the first female socket pin and the second female socket pin when the second device 400 is connected to the female socket connection terminal 120, and output a female socket pin signal to the main control unit 1304, and the female socket pin signal can be used to characterize the target female socket pin.

[0067] The main control unit 1304 can be used to determine whether the currently connected pin is the target male pin based on the male pin signal and the female pin signal. If so, the currently connected pin is maintained connected to the first device 300. Otherwise, a flip signal is output to the first control unit 1302, so that the first control unit 1302 controls the currently connected pin to disconnect from the first device 300 in response to the flip signal, and controls the target male pin to connect to the first device 300.

[0068] In the embodiment of the present application, the first control unit 1302 and the second control unit 1303 can be any existing PD controller. For example, the first control unit 1302 and the second control unit 1303 can be PD chips respectively configured with two CC lines, wherein the two CC lines of the first control unit 1302 can be respectively connected to the first male pin and the second male pin, so that the current voltage of the first male pin and the second male pin can be monitored in real time, so as to determine the current connection pin according to the monitored current voltage, and generate a male pin signal to output to the main control unit 1304.

[0069] The first control unit 1302 determines the currently connected pin according to the current voltage of the first male pin and the second male pin, which is the same as the principle of the control unit 1301 in the aforementioned embodiment determining the currently connected pin according to the current voltage of the first male pin and the second male pin. For details, please refer to the description of the control unit 1301 in the aforementioned embodiment, which will not be repeated here.

[0070] It can be understood that the first control unit 1302 can generate a male pin signal based on the current connection pin, and the male pin signal can carry a unique identifier of the current connection pin, so that the main control unit 1304 can confirm whether the current connection pin is the first male pin or the second male pin based on the unique identifier.

[0071] Similarly, the two CC lines of the second control unit 1303 can be connected to the first mother socket pin and the second mother socket pin respectively, so that the current voltage of the first mother socket pin and the second mother socket pin can be monitored in real time, so as to determine the target mother socket pin according to the monitored current voltage, and generate a mother socket pin signal to output to the main control unit 1304.

[0072] The second control unit 1303 determines the target mother socket pin according to the current voltage of the first mother socket pin and the second mother socket pin, which is the same as the principle of the control unit 1301 in the aforementioned embodiment determining the target mother socket pin according to the current voltage of the first mother socket pin and the second mother socket pin. For details, please refer to the description of the control unit 1301 in the aforementioned embodiment, which will not be repeated here.

[0073] It can be understood that the second control unit 1303 can generate a socket pin signal based on the target socket pin, and the socket pin signal can carry the unique identifier of the target socket pin, so that the main control unit 1304 can confirm whether the currently connected pin is the first socket pin or the second socket pin based on the unique identifier.

[0074] In an embodiment of the present application, the main control unit 1304 can be a control unit such as a microcontroller unit (MCU) or a system on chip (SOC). Specifically, the main control unit 1304 can compare the received target female pin and the current connection pin. If the two correspond, it can be determined that the current connection pin currently connected to the first device 300 is the target male pin, so that the second male pin is maintained connected to the first device 300 so that the first device 300 can communicate with the second device 400.

[0075] If the target female socket pin does not correspond to the currently connected pin, it can be determined that another male pin is the target male pin. At this time, a flip signal can be output to flip the pin. For example, the currently connected pin is controlled to be suspended, and a pull-up resistor is loaded on another male pin. The other male pin is controlled to establish a connection with the first device 300 so that the first device 300 and the second device 400 can communicate.

[0076] In some embodiments of the present application, the second control unit 1303 can also be used to: when the second device 400 is connected to the female socket connection terminal 120, perform device identification communication with the second device 400 based on the target female socket pin, and determine whether the second device 400 supports data communication based on the received device identification communication data.

[0077] In an embodiment of the present application, when the second control unit 1303 monitors that the second device 400 is connected to the female socket connection terminal 120, it can perform device identification communication with the second device 400 based on the target female socket pin. During the device identification communication process, the second device 400 can send a device identification communication data packet to the second control unit 1303 through the target female socket pin. One or more bits of data in the device identification communication data packet can represent whether the second device 400 supports data communication. It can be understood that the type of the second device 400 can be determined based on whether the second device 400 supports data communication, so that the second control unit 1303 can determine the type of the second device 400 based on the one or more bits of data.

[0078] The second control unit 1303 determines the type of the second device 400 through device identification communication in the same manner as the control unit 1301 in the aforementioned embodiment determines the type of the second device 400 through device identification communication. For details, please refer to the description of the control unit 1301 in the aforementioned embodiment, which will not be repeated here.

[0079] Similarly, when the first device 300 is connected to the male connector 110, the first control unit 1302 can also perform device identification communication with the first device 300 based on the current connection pin, which will not be described in detail here.

[0080] It can be understood that USB PD is a power transmission concept proposed after USB3.2 Gen2, which can expand the charging capacity by 10 times, up to 100W. In some embodiments of the present application, the interface circuit 100 can also be used to charge the first device 300.

[0081] See also Figure 6 The male connection terminal 110 may also be configured with a male power pin, and the interface circuit 100 also includes a charge and discharge module 140, which may be connected to the male power pin and the control module 130 respectively; the control module 130 may be used to output a first control signal kz_1 to the charge and discharge module 140 when the first device 300 is connected to the male connection terminal and the second device 400 is not connected to the female connection terminal 120 or the connected second device 400 supports data communication; the charge and discharge module 140 may be used to respond to the first control signal kz_1, generate a first voltage signal adapted to the first device 300 and output it to the male power pin to charge the first device 300, wherein the male power pin is connected to the power terminal of the first device 300.

[0082] As an example, when the control module 130 detects that the first device 300 is connected to the male connection terminal 110, it can perform device identification communication such as PD communication with the first device 300 to obtain power parameters such as voltage parameters of the first device 300. If the control module 130 does not detect that the second device 400 is connected, the first device 300 can serve as the power recipient, and the control module 130 outputs a first control signal kz_1 to the charging and discharging module 140, so that the charging and discharging module 140 can output a first voltage signal to the male power pin in response to the first control signal kz_1. It can be understood that the first voltage signal can be adapted to the obtained voltage parameters of the first device 300, so that the male power pin can transmit the first voltage signal to the power end of the first device 300 to charge the first device 300 based on the first voltage signal.

[0083] As another example, when the control module 130 detects that the first device 300 is connected to the male connection terminal 110, it can perform PD communication with the first device 300 to obtain the voltage parameters of the first device 300. The control module 130 also detects that the second device 400 is connected to the female connection terminal 120, and determines through PD communication that the second device 400 is a display device that supports data communication. In this scenario, the first device 300 can also serve as the power recipient. The control module 130 outputs a first control signal kz_1 to the charging and discharging module 140, so that the charging and discharging module 140 can output a first voltage signal to the male power pin in response to the first control signal kz_1, and transmit the first voltage signal to the power end of the first device 300 through the male power pin to charge the first device 300.

[0084] See also Figure 7 In some embodiments of the present application, the charge and discharge module 140 may include a battery cell 1401 and a voltage conversion unit 1402; the voltage conversion unit 1402 may be connected to the control module 130, the battery cell 1401 and the male power pin, respectively, and is used to convert the battery voltage signal from the battery cell 1401 into a first voltage signal and output it to the male power pin in response to the first control signal kz_1.

[0085] In the embodiment of the present application, the battery unit 1401 may include a single cell or multiple cells connected in series to form a rechargeable battery. The single cell or multiple cells connected in series to form a rechargeable battery may generate a battery voltage signal and output it to the voltage conversion unit 1402. The amplitude of the battery voltage signal may be determined based on the voltage parameters of the rechargeable battery and the number of cells connected in series, for example, it may be 3V, 12V, 18V, etc.

[0086] The voltage conversion unit 1402 can be a direct current to direct current (DC-DC) converter, and the first control signal kz_1 can be a digital signal output by the integrated circuit bus (Inter-Integrated Circuit, IIC) port of the control module 130, or it can be an analog signal output by the digital to analog converter (Digital to Analog Converter, DAC) port of the control module 130. The type of the first control signal kz_1 can be determined according to the actual application scenario and is not limited here.

[0087] The voltage conversion unit 1402 can boost or buck the battery voltage signal in response to the first control signal kz_1, thereby converting the battery voltage signal into a first voltage signal compatible with the first device 300, and outputting it to the power end of the first device 300 through the male power pin to charge the first device 300.

[0088] See also Figure 8 In some embodiments of the present application, the female socket connection terminal 120 may also be configured with a female socket power pin, which may be connected to the voltage conversion unit 1402; the control module 130 may also be used to output a second control signal kz_2 to the voltage conversion unit 1402 when the first device 300 is not connected to the male connector 110 and the second device 400 connected to the female socket connection terminal 120 does not support data communication; the voltage conversion unit 1402 may also be used to respond to the second control signal kz_2 to convert the power supply voltage signal from the second device 400 into a charging voltage signal adapted to the battery cell 1401 to charge the battery cell 1401, wherein the female socket power pin is connected to the power supply voltage output terminal of the second device 400.

[0089] In an embodiment of the present application, when the control module 130 does not detect the access of the first device 300, and determines through device identification communication such as PD communication that the second device 400 connected to the female socket connection end 120 is a charger or power adapter that does not support data communication, the second device 400 can be used as a source end. At this time, the control module 130 can output a second control signal kz_2 to the voltage conversion unit 1402, so that the voltage conversion unit 1402 can boost or step down the supply voltage signal output by the female socket power pin according to the voltage parameters of the battery cell 1401, thereby converting the supply voltage signal into a charging voltage signal compatible with the battery cell 1401 and outputting it to the battery cell 1401 to charge the battery cell 1401.

[0090] like Fig. 9As shown, in some embodiments of the present application, the interface circuit 100 may further include a switch module 150, which may be connected to the male power pin, the female power pin and the control module 130 respectively; the control module 130 may also be used to output a switch enable signal EN_s to the switch module 150 when the first device 300 is connected to the male connection end 110 and the second device connected to the female connection end 120 does not support data communication; the switch module 150 may be used to respond to the switch enable signal EN_s being turned on to enable electrical conduction between the female power pin and the male power pin.

[0091] In the embodiment of the present application, Figure 8 On the basis of the corresponding embodiment, when the control module 130 detects that the first device 300, such as a mobile phone, a tablet computer, a laptop computer, etc., is connected to the male connection terminal 110, the first device 300 can act as a power recipient. At this time, the control module 130 can output a switch enable signal EN_s to the switch module 150 through a general-purpose input / output port (General-Purpose Input / Output, GPIO).

[0092] It can be understood that the switch enable signal EN_s can be a high level signal or a low level signal, which can be specifically determined according to the configuration of the switch module 150 and is not limited here.

[0093] The switch module 150 is turned on in response to the switch enable signal EN_s, so that the female power pin and the male power pin are electrically connected. The supply voltage signal output by the second device 400 to the female power pin can be directly bypassed and output to the male power pin, and the first device 300 is fast charged through the male power pin. That is, at this time, the second device 400 can both fast charge the first device 300 through the turned-on switch module 150 and charge the battery unit 1401 through the voltage conversion unit 1402.

[0094] In this embodiment, the switch module 150 may include a switch transistor or a switch circuit composed of a switch transistor. The switch transistor may be any existing controllable transistor, including but not limited to a triode, for example, an NPN BJT and a PNP BJT in a bipolar junction transistor (BJT), an N-type MOS transistor and a P-type MOS transistor in a metal-oxide-semiconductor field-effect transistor (MOSFET), etc., which may be selected according to the actual application scenario and are not limited here.

[0095] As an example, the switch module 150 is configured to be enabled at a high level, the enable end of the switch module 150 is connected to a GPIO port of the control module 130, the first end of the switch module 150 is connected to the female power pin, and the second end is connected to the male power pin. When the control module 130 does not detect the access of the first device 300, the GPIO port remains at a low level. When the first device 300 is detected to be connected to the male connection end 110, the GPIO port of the control module 130 outputs a high-level switch enable signal EN_s to the switch module 150 to drive the switch module 150 to turn on, so that the female power pin and the male power pin are electrically connected, thereby realizing fast charging of the first device 300.

[0096] As another example, the switch module 150 is configured to be enabled at a low level, the enable end of the switch module 150 is connected to a GPIO port of the control module 130, the first end of the switch module 150 is connected to the female power pin, and the second end is connected to the male power pin. When the control module 130 does not detect the access of the first device 300, the GPIO port remains at a high level. When the first device 300 is detected to be connected to the male connection end 110, the GPIO port of the control module 130 outputs a low-level switch enable signal EN_s to the switch module 150 to drive the switch module 150 to turn on, so that the female power pin and the male power pin are electrically connected, thereby realizing fast charging of the first device 300.

[0097] Based on the above embodiments, the present application also provides a connector, which may include a connector body and a Figures 2 to 9 Corresponding to the interface circuit in any embodiment.

[0098] The connector can be a Type-C electronic accessory, including but not limited to a back clip, a mobile phone holder, etc.

[0099] Since the connector is provided with the interface circuit of the above embodiment, it has all the beneficial effects of the interface circuit in any of the above embodiments, which will not be described in detail here.

[0100] The above are only preferred embodiments of the present application and are not intended to limit the present application in any form. Although the present application has been disclosed as a preferred embodiment as above, it is not intended to limit the present application. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. An interface circuit, characterized in that: include: A male connector for connecting to a first device, the male connector being configured with a first male pin and a second male pin; A female socket connection end for connecting to a second device, the female socket connection end being configured with a first female socket pin and a second female socket pin, wherein the first female socket pin corresponds to the first male pin, and the second female socket pin corresponds to the second male pin; A control module, used for controlling the target male pin to connect to the first device according to the target female pin connected to the second device when it is determined that the second device supports data communication, wherein the target female pin is one of the first female pin and the second female pin, and the target male pin corresponds to the target female pin.

2. The interface circuit according to claim 1, characterized in that: The control module includes a control unit, the control unit is connected to the first female socket pin, the second female socket pin, the first male pin and the second male pin respectively, and the control unit is used to: When the first device is connected to the male connector, the current connection pin connected to the first device is determined according to the current voltages of the first male pin and the second male pin, and when the second device is connected to the female connector, the target female connector pin is determined according to the current voltages of the first female connector pin and the second female connector pin; If the target female socket pin corresponds to the currently connected pin, determining that the currently connected pin is the target male pin, and maintaining the connection between the currently connected pin and the first device; Otherwise, it is determined that another pin that is not currently connected is the target male pin, the currently connected pin is controlled to be disconnected from the first device, and the target male pin is controlled to be connected to the first device.

3. The interface circuit according to claim 2, characterized in that: The control unit is also used for: When the second device is connected to the female socket connection end, device identification communication is performed with the second device based on the target female socket pin, and whether the second device supports the data communication is determined according to the received device identification communication data.

4. The interface circuit according to claim 1, characterized in that: The control module includes a first control unit, a second control unit and a main control unit; The first control unit is connected to the first male pin and the second male pin respectively, and is used to determine the current connection pin connected to the first device according to the current voltages of the first male pin and the second male pin when the first device is connected to the male connection end, and output a male pin signal to the main control unit, wherein the male pin signal is used to characterize the current connection pin; The second control unit is connected to the first female socket pin and the second female socket pin respectively, and is used to determine the target female socket pin according to the current voltage of the first female socket pin and the second female socket pin when the second device is connected to the female socket connection end, and output a female socket pin signal to the main control unit, wherein the female socket pin signal is used to characterize the target female socket pin; The main control unit is used to determine whether the currently connected pin is the target male pin based on the male pin signal and the female pin signal. If so, the currently connected pin is maintained connected to the first device; otherwise, a flip signal is output to the first control unit, so that the first control unit controls the currently connected pin to disconnect from the first device in response to the flip signal, and controls the target male pin to connect to the first device.

5. The interface circuit according to claim 4, characterized in that: The second control unit is also used for: When the second device is connected to the female socket connection end, device identification communication is performed with the second device based on the target female socket pin, and whether the second device supports the data communication is determined according to the received device identification communication data.

6. The interface circuit according to claim 1, characterized in that: The male connection end is also configured with a male power pin, and the interface circuit also includes a charge and discharge module, which is connected to the male power pin and the control module respectively; The control module is configured to output a first control signal to the charge and discharge module when the first device is connected to the male connector and the second device is not connected to the female connector or the connected second device supports the data communication; The charging and discharging module is used to generate a first voltage signal adapted to the first device in response to the first control signal and output it to the male power pin to charge the first device, wherein the male power pin is connected to the power end of the first device.

7. The interface circuit according to claim 6, characterized in that: The charging and discharging module includes a battery unit and a voltage conversion unit; The voltage conversion unit is connected to the control module, the battery unit and the male power pin respectively, and is used to convert the battery voltage signal from the battery unit into the first voltage signal and output it to the male power pin in response to the first control signal.

8. The interface circuit according to claim 7, characterized in that: The female socket connection end is also provided with a female socket power pin, and the female socket power pin is connected to the voltage conversion unit; The control module is further configured to output a second control signal to the voltage conversion unit when the first device is not connected to the male connector and the second device connected to the female connector does not support the data communication; The voltage conversion unit is also used to convert the power supply voltage signal from the second device into a charging voltage signal adapted to the battery cell in response to the second control signal to charge the battery cell, wherein the female socket power pin is connected to the power supply voltage output terminal of the second device.

9. The interface circuit according to claim 8, characterized in that: The interface circuit further comprises a switch module, and the switch module is respectively connected to the male power pin, the female power pin and the control module; The control module is further configured to output a switch enable signal to the switch module when the first device is connected to the male connector and the second device connected to the female connector does not support the data communication; The switch module is used to conduct in response to the switch enable signal so as to electrically conduct between the female socket power pin and the male header power pin.

10. A connector, characterized in that: The invention comprises a connector body and an interface circuit as claimed in any one of claims 1 to 9 and arranged on the connector body.

Citation Information

Cited By

  • Interface circuit and connector

    WO2026124352A1