TypeC interface communication control device and host

By using a discrete component control module to perform orientation detection and peripheral identification for the Type-C interface, the problem of high data transmission cost of USB 3.0 with Type-C interface is solved, realizing the function of USB 3.0 data transmission and reducing the overall cost.

CN224248123UActive Publication Date: 2026-05-15ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
ZHEJIANG UNIVIEW TECH CO LTD
Filing Date
2025-04-29
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

The existing Type-C interface has a high cost for implementing USB 3.0 data transfer, mainly due to the high cost of using the high integration of the CC detection chip and the MUX chip.

Method used

A discrete component control module, including an orientation detection module and a peripheral detection module, is used to perform orientation detection and peripheral identification through the configuration channel signal of the Type-C interface, replacing the CC detection chip, and realizing the orientation detection of the Type-C interface and the type identification of the inserted device.

Benefits of technology

This reduces the overall cost of the Type-C interface solution while ensuring the functionality of USB 3.0 data transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224248123U_ABST
    Figure CN224248123U_ABST
Patent Text Reader

Abstract

The utility model provides a TypeC interface communication control device and a host, and relates to the technical field of power electronics, the device comprises a TypeC interface, a discrete device control module, a switch module and a USB PHY module, the discrete device control module is used for sending a configuration channel signal based on the TypeC interface under the condition that the TypeC interface accesses a TypeC slave, and the switch module is used for switching on and switching off the configuration channel signal based on the configuration channel signal sent by the TypeC slave. Determining a direction detection output control signal and an output enable signal; the level state of the direction detection output control signal is used for representing the direction in which the TypeC slave is inserted into the TypeC interface; the output enable signal is used for representing whether the target peripheral is accessed or not; and the switch module is used for outputting a control signal to conduct a target path between the TypeC interface and the USB PHY module based on direction detection under the condition that the output enable signal is effective. According to the utility model, the application cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of power electronics technology, and in particular to a Type-C interface communication control device and host. Background Technology

[0002] The Type-C interface is widely used in various consumer electronics products due to its unique reversible insertion mechanism. For a full-featured Type-C interface, to achieve USB (Universal Serial Bus) 2.0 data transmission, it is only necessary to connect the two pairs of pins, D+ and D-, of the interface with the same polarity. However, USB 3.0 data transmission cannot be achieved simply by connecting pins with the same polarity.

[0003] Figure 1 This is a schematic diagram of the structure of a Type-C interface provided by existing technology to implement USB 3.0 data transmission, such as... Figure 1 As shown, currently, the insertion direction of the external Type-C slave device is generally determined by a CC (Configuration Channel) detection chip, and then a MUX (Multiplexer) switch control signal is output according to the insertion direction. This causes the MUX chip to switch the USB 3.0 link, enabling the external Type-C slave device to establish a connection with the upstream USB controller. However, the high integration of the CC detection chip and the MUX chip results in high usage costs. Even with a separate CC detection chip and MUX chip solution, the cost of a single CC detection chip remains high. Utility Model Content

[0004] This invention provides a Type-C interface communication control device and host to solve the problem of high cost when implementing USB 3.0 data transmission using the Type-C interface in the prior art.

[0005] This utility model provides a Type-C interface communication control device, comprising: a Type-C interface, a discrete component control module, a switch module, and a USB PHY module, wherein:

[0006] The switch module is connected to the Type-C interface, the discrete device control module, and the USB PHY module, and the Type-C interface is also connected to the discrete device control module;

[0007] The discrete device control module is used to determine the direction detection output control signal and the output enable signal based on the configuration channel signal sent by the TypeC interface when a TypeC slave device is connected to the TypeC interface; the level state of the direction detection output control signal is used to characterize the direction in which the TypeC slave device is inserted into the TypeC interface; the output enable signal is used to characterize whether a target peripheral device is connected.

[0008] The switch module is used to, when the output enable signal is valid, output a control signal based on the direction detection to connect the target path between the Type-C interface and the USB PHY module.

[0009] According to the Type-C interface communication control device provided by this utility model, the discrete device control module includes a direction detection module and a peripheral detection module, wherein:

[0010] The direction detection module is connected to the selection pin of the switch module and the Type-C interface; the direction detection module is used to determine the direction detection output control signal based on the configuration channel signal sent by the Type-C interface;

[0011] The peripheral detection module is used to determine the output enable signal of the switch module based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal.

[0012] According to the Type-C interface communication control device provided by this utility model, the direction detection module includes a first detection circuit and a second detection circuit, wherein:

[0013] The first terminal of the first detection circuit is used to receive the first channel signal in the configuration channel signal, the second terminal of the first detection circuit is used to receive the second channel signal in the configuration channel signal, the third terminal of the first detection circuit is connected to the first terminal of the second detection circuit, and the fourth terminal of the first detection circuit is connected to the second terminal of the second detection circuit.

[0014] The third terminal of the second detection circuit is connected to the selection pin of the switch module;

[0015] The first channel signal and the second channel signal are used to control the on / off state of the first detection circuit, and the on / off state of the first detection circuit is used to control the on / off state of the second detection circuit, so as to control the level state of the direction detection output control signal.

[0016] According to the Type-C interface communication control device provided by this utility model, the first detection circuit includes a first pull-up resistor, a second pull-up resistor, a third resistor, and a first MOSFET, wherein:

[0017] The first end of the first pull-up resistor is connected to the source of the first MOSFET and serves as the first end of the first detection circuit; the second end of the first pull-up resistor is connected to the power supply end.

[0018] The first end of the second pull-up resistor is connected to the gate of the first MOS transistor and serves as the second end of the first detection circuit. The second end of the second pull-up resistor is connected to the second end of the third resistor and serves as the fourth end of the first detection circuit.

[0019] The first end of the third resistor is connected to the drain of the first MOS transistor and serves as the third end of the first detection circuit.

[0020] According to the TypeC interface communication control device provided by this utility model, the TypeC slave device is provided with a pull-down resistor; when the TypeC interface is connected to the TypeC slave device, the pull-down resistor is connected to the first end of the first pull-up resistor or the first end of the second pull-up resistor.

[0021] According to the Type-C interface communication control device provided by this utility model, the peripheral detection module includes a third detection circuit and an output enable control circuit, wherein:

[0022] The input terminal of the third detection circuit is used to receive the configuration channel signal, or the configuration channel signal and the direction detection output control signal. The output terminal of the third detection circuit is connected to the input terminal of the output enable control circuit, and the output terminal of the output enable control circuit is connected to the enable pin of the switch module.

[0023] The third detection circuit is used to determine the detection signal based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal;

[0024] The output enable control circuit is used to determine the output enable signal based on the detection signal.

[0025] According to the Type-C interface communication control device provided by this utility model, when the third detection circuit includes a difference circuit, the detection signal is a level difference signal;

[0026] The difference calculation circuit includes a direction switching unit, a first isolation circuit, and a subtraction circuit, wherein:

[0027] The switch input pin of the direction switching unit is connected to the Type-C interface and is used to receive the first channel signal and the second channel signal in the configuration channel signal. The switch control pin of the direction switching unit is connected to the third terminal of the second detection circuit, and the signal output terminal of the direction switching unit is connected to the input terminal of the first isolation circuit. The direction switching unit is used to switch the conduction path of the switch in the direction switching unit based on the level state of the direction detection output control signal, so as to adjust the current direction of the first channel signal and the second channel signal flowing to the first isolation circuit.

[0028] The output of the first isolation circuit is connected to the input of the subtraction circuit;

[0029] The output of the subtraction circuit is connected to the enable pin of the switching module; the subtraction circuit is used to determine the level difference signal between the first channel signal and the second channel signal.

[0030] According to the Type-C interface communication control device provided by this utility model, when the third detection circuit includes a summation circuit, the detection signal is a level and signal;

[0031] The summing circuit includes a second isolation circuit, a voltage divider circuit, and an adder circuit, wherein:

[0032] The input terminal of the second isolation circuit is connected to the Type-C interface to receive the first channel signal and the second channel signal in the configuration channel signal. The output terminal of the second isolation circuit is connected to the input terminal of the voltage divider circuit. The output terminal of the voltage divider circuit is connected to the input terminal of the adder circuit. The output terminal of the adder circuit is connected to the enable pin of the switch module.

[0033] The adder circuit is used to determine the level and signal between the first channel signal and the second channel signal.

[0034] According to the Type-C interface communication control device provided by this utility model, the output enable control circuit includes a comparator circuit, a filter circuit, an open-drain gate circuit, and an enable control switch, wherein:

[0035] The input terminal of the comparator circuit is connected to the output terminal of the third detection circuit. The output terminal of the comparator circuit is connected to the input terminal of the open-drain gate circuit based on the filter circuit. The output terminal of the open-drain gate circuit is connected to the gate of the enable control switch. The drain of the enable control switch is connected to the power supply terminal and serves as the output terminal of the output enable control circuit.

[0036] The comparison circuit is used to compare the detection signal with the upper limit and lower limit values ​​in the reference voltage range to obtain a comparison signal, which is used to characterize whether the detection signal is within the reference voltage range.

[0037] The filtering circuit is used to determine the filtered signal corresponding to the comparison signal; the level state of the filtered signal is used to control the on / off state of the open-drain gate circuit, and the on / off state of the open-drain gate circuit is used to control the on / off state of the enable control switch, so as to control the level state of the output enable signal.

[0038] This utility model also provides a host computer, including the Type-C interface communication control device as described in any of the above claims.

[0039] The Type-C interface communication control device and host provided by this utility model, when a Type-C slave device is connected to the Type-C interface, determine, through a discrete component control module, a direction detection output control signal indicating the direction in which the Type-C slave device is inserted into the Type-C interface, and an output enable signal indicating whether a target peripheral device is connected, based on the configuration channel signal sent by the Type-C interface. Then, through a switch module, when the output enable signal is valid, the target path between the Type-C interface and the USB PHY module is established according to the direction detection output control signal. In this utility model, a discrete component control module replaces the CC detection chip to realize the orientation detection of the Type-C interface and the type identification of the inserted device, thereby enabling USB 3.0 data transmission between the Type-C interface and the USB PHY module. The electronic components in the discrete component control module have lower costs, thus reducing the overall application cost of the solution while ensuring the implementation of the Type-C interface function. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram of the structure of USB 3.0 data transmission using the Type-C interface provided by existing technology.

[0042] Figure 2 This is a schematic diagram of the structure of the Type-C interface communication control device provided in this embodiment of the utility model.

[0043] Figure 3This is a schematic diagram of the wiring sequence definition of the Type-C interface of the DFP device provided in this embodiment of the utility model.

[0044] Figure 4 This is a schematic diagram of the wiring sequence definition of the Type-C interface of the UFP device provided in this embodiment of the utility model.

[0045] Figure 5 This is a schematic diagram of the switch module provided in an embodiment of the present invention.

[0046] Figure 6 This is a structural schematic diagram of the direction detection module provided in an embodiment of the present invention.

[0047] Figure 7 This is an equivalent circuit diagram of the orientation detection module for Type-C slave device when inserted in the forward direction, provided in this embodiment of the utility model.

[0048] Figure 8 This is an equivalent circuit diagram of the orientation detection module for reverse insertion of a Type-C slave device provided in this embodiment of the utility model.

[0049] Figure 9 This is a schematic diagram of the difference calculation circuit provided in an embodiment of the present invention.

[0050] Figure 10 This is a schematic diagram of the summation circuit provided in an embodiment of the present invention.

[0051] Figure 11 This is a schematic diagram of the output enable control circuit provided in an embodiment of the present invention.

[0052] Figure label:

[0053] 100: Type-C interface; 200: Discrete component control module; 210: Direction detection module; 211: First detection circuit; 212: Second detection circuit; 221: Third detection circuit; 2211: Direction switching unit; 2212: First isolation circuit; 2213: Subtraction circuit; 2214: Second isolation circuit; 2215: Voltage divider circuit; 2216: First voltage divider circuit; 2217: Second voltage divider circuit; 2218: Adder circuit; 222: Output enable control circuit; 2221: Comparator circuit; 2222: Filter circuit; 2223: First filter sub-circuit; 2224: Second filter sub-circuit; 2225: Open-drain gate circuit; 300: Switching module; 400: USB PHY module. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.

[0055] To address the issue of high cost in implementing USB 3.0 data transmission using the Type-C interface in existing technologies, this invention provides a Type-C interface communication control device. Figure 2 This is a schematic diagram of the structure of the Type-C interface communication control device provided in this embodiment of the utility model, as shown below. Figure 2 As shown, the Type-C interface communication control device includes: a Type-C interface 100, a discrete device control module 200, a switch module 300, and a USB PHY module 400.

[0056] The switch module 300 is connected to the Type-C interface 100, the discrete device control module 200, and the USB (Universal Serial Bus) PHY (Physical) module 400, and the Type-C interface 100 is also connected to the discrete device control module 200.

[0057] The discrete device control module 200 is used to determine the direction detection output control signal Select signal and the output enable signal MUX_OE based on the configuration channel signal sent by the TypeC interface 100 when a TypeC slave device is connected to the TypeC interface 100. The level state of the direction detection output control signal Select signal is used to characterize the direction in which the TypeC slave device is inserted into the TypeC interface 100. The output enable signal MUX_OE is used to characterize whether a target peripheral device is connected.

[0058] The switch module 300 is used to conduct the target path between the Type-C interface 100 and the USB PHY module 400 based on the direction detection output control signal Select signal when the output enable signal MUX_OE is valid.

[0059] The Type-C interface 100 is mounted on a host device, which is a DFP (Downstream Facing Port) device. The Type-C interface 100 on the DFP device typically uses a female connector. Figure 3This is a schematic diagram of the wiring sequence definition of the Type-C interface of the DFP device provided in this embodiment of the utility model, as shown below. Figure 3 As shown, the Type-C interface 100 has CC1 and CC2 terminals. This means that after a Type-C slave device equipped with the Type-C interface 100 is inserted into the Type-C interface 100, a Configuration Channel (CC) signal will be generated in the Type-C interface 100. This CC signal includes a first channel signal (i.e., CC1 signal) and a second channel signal (i.e., CC2 signal) with different voltage values. By using the voltage values ​​corresponding to the CC1 and CC2 signals, the insertion direction of the Type-C slave device can be detected after it is inserted into the Type-C interface 100 of the DFP device, whether it is in the forward or reverse direction.

[0060] The Type-C slave device can be a normally functioning or malfunctioning UFP (Upstream Facing Port) device or a non-UFP device. After being plugged into the Type-C interface 100 on the DFP device, the Type-C slave device establishes a data connection with the host. UFP devices typically use male connectors for their Type-C interfaces. Figure 4 This is a schematic diagram of the wiring sequence definition of the Type-C interface of the UFP device provided in this embodiment of the utility model, as shown below. Figure 4 As shown, the Type-C interface in a UFP device only has the CC1 terminal.

[0061] The target peripheral refers only to a normally functioning UFP device.

[0062] USB 3.0 is a version of the USB interface that provides higher data transfer rates.

[0063] Specifically, after the Type-C slave device is inserted into the DFP device through the Type-C interface 100, the Type-C interface 100 generates a CC signal and sends it to the discrete device control module 200. The discrete device control module 200 can detect the insertion direction of the Type-C slave device into the DFP device based on the CC signal, generating a direction detection output control signal (Select signal). The insertion direction is represented by the level of this Select signal. For example, a low level Select signal indicates that the insertion direction of the Type-C slave device is forward, and a high level Select signal indicates that the insertion direction is reverse. Simultaneously, it detects whether the Type-C slave device is a normally functioning UFP device and generates an output enable signal (MUX_OE). The level of this MUX_OE output enable signal can be used to determine whether a normally functioning UFP device is connected. For example, the output enable signal MUX_OE is active low by default. If the output enable signal MUX_OE is low, it indicates that the output enable signal MUX_OE is active, and a normally functioning UFP device is connected to the Type-C interface 100. If the output enable signal MUX_OE is high, it indicates that the output enable signal MUX_OE is inactive, and a faulty UFP device or a non-UFP device may be connected to the Type-C interface 100.

[0064] After generating the direction detection output control signal Select signal and the output enable signal MUX_OE, the discrete device control module 200 sends these signals to the switch module 300. The switch module 300 identifies the type of connected device based on the level of the output enable signal MUX_OE. When the output enable signal MUX_OE is valid, it identifies the insertion direction of the target peripheral based on the direction detection output control signal Select signal, selects the channel corresponding to that insertion direction, and connects the target path formed by the channel corresponding to that insertion direction and the connection channel of the USBPHY module 400, thus enabling USB 3.0 communication between the target peripheral and the USB PHY module 400. When the output enable signal MUX_OE is invalid, the target path is not connected, and communication between the faulty UFP device or non-UFP device and the USB PHY module 400 is not possible.

[0065] It should be noted that the switch module 300 can be a MUX (Multiplexer) chip U1. Figure 5This is a structural schematic diagram of the switch module provided in an embodiment of the present invention, as shown below. Figure 5 As shown, the switch module 300 includes channels A, B, and C. The USB PHY module 400 is connected to the switch module 300 via channel A. That is, channel A is the connection channel of the USB PHY module 400, and channels B and C are the connection channels of the target peripheral, corresponding to different insertion directions. For example, channel B is the channel corresponding to forward insertion, and channel C is the channel corresponding to reverse insertion. That is, when the output enable signal MUX_OE is valid and the target peripheral is inserted forward, the target path between channel A and channel B is opened; when the output enable signal MUX_OE is valid and the target peripheral is inserted reverse, the target path between channel A and channel C is opened.

[0066] Furthermore, the discrete device control module 200 includes an orientation detection module 210 and a peripheral detection module.

[0067] The direction detection module 210 is connected to the selection pin of the switch module 300 and the Type-C interface 100; the direction detection module 210 is used to determine the direction detection output control signal Select signal based on the configuration channel signal sent by the Type-C interface 100.

[0068] The peripheral detection module is used to determine the output enable signal MUX_OE of the switch module 300 based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal Select signal.

[0069] Specifically, in this embodiment of the present invention, there are two connection relationships between the direction detection module 210 and the peripheral detection module in the discrete device control module 200. The first relationship is that both the direction detection module 210 and the peripheral detection module are connected to the Type-C interface 100, and the direction detection module 210 is connected to the peripheral detection module. In this case, the peripheral detection module relies on the direction detection output control signal (Select signal) output by the direction detection module 210 and the CC signal sent by the Type-C interface 100 to perform device type detection and output the corresponding output enable signal (MUX_OE). The second relationship is that both the direction detection module 210 and the peripheral detection module are connected to the Type-C interface 100. In this case, the peripheral detection module only relies on the CC signal sent by the Type-C interface 100 to perform device type detection and output the corresponding output enable signal (MUX_OE). These two connection relationships depend on the specific structure of the peripheral detection module.

[0070] It should be noted that the peripheral detection module will only generate a valid output enable signal MUX_OE when the Type-C slave device is the target peripheral (i.e., a normally functioning UFP device) and the pull-down resistor Rd in the target peripheral is within the preset accuracy range.

[0071] Furthermore, Figure 6 This is a structural schematic diagram of the direction detection module provided in an embodiment of the present invention, as shown below. Figure 6 As shown, the direction detection module 210 includes a first detection circuit 211 and a second detection circuit 212, wherein:

[0072] The first terminal of the first detection circuit 211 is used to receive the first channel signal in the configuration channel signal, the second terminal of the first detection circuit 211 is used to receive the second channel signal in the configuration channel signal, the third terminal of the first detection circuit 211 is connected to the first terminal of the second detection circuit 212, and the fourth terminal of the first detection circuit 211 is connected to the second terminal of the second detection circuit 212.

[0073] The third terminal of the second detection circuit 212 is connected to the selection pin of the switch module 300;

[0074] The first channel signal and the second channel signal are used to control the on / off state of the first detection circuit 211, and the on / off state of the first detection circuit 211 is used to control the on / off state of the second detection circuit 212, so as to control the level state of the direction detection output control signal Select signal.

[0075] Specifically, the insertion direction of the Type-C slave device differs depending on the corresponding level states of the CC1 and CC2 signals. For example, when the CC1 signal is high and the CC2 signal is low, the Type-C slave device is inserted in the forward direction. When the CC1 signal is low and the CC2 signal is high, the Type-C slave device is inserted in the reverse direction. After receiving the CC1 and CC2 signals, if the CC1 signal is high and the CC2 signal is low, the first detection circuit 211 is turned off, thereby turning the second detection circuit 212 on, resulting in a low-level direction detection output control signal (Select signal). If the CC1 signal is high and the CC2 signal is low, the first detection circuit 211 is turned on, thereby turning the second detection circuit 212 off, resulting in a high-level direction detection output control signal (Select signal).

[0076] Furthermore, such as Figure 6As shown, the first detection circuit 211 includes a first pull-up resistor R1, a second pull-up resistor R2, a third resistor R3, and a first MOSFET Q1, wherein:

[0077] The first end of the first pull-up resistor R1 is connected to the source of the first MOSFET Q1 and serves as the first end of the first detection circuit 211. The second end of the first pull-up resistor R1 is connected to the power supply end.

[0078] The first end of the second pull-up resistor R2 is connected to the gate of the first MOS transistor Q1 and serves as the second end of the first detection circuit 211. The second end of the second pull-up resistor R2 is connected to the second end of the third resistor R3 and serves as the fourth end of the first detection circuit 211.

[0079] The first end of the third resistor R3 is connected to the drain of the first MOS transistor Q1 and serves as the third end of the first detection circuit 211.

[0080] Furthermore, the Type-C slave device is provided with a pull-down resistor Rd; when the Type-C interface 100 is connected to the Type-C slave device, the pull-down resistor Rd is connected to the first end of the first pull-up resistor R1 or the first end of the second pull-up resistor R2.

[0081] It should be noted that the pull-down resistor Rd in the Type-C slave device can be 5.1KΩ or other values, and the first pull-up resistor R1 and the second pull-up resistor R2 can both be 56.2KΩ or other values.

[0082] Specifically, the connection position of the pull-down resistor Rd in the Type-C slave depends on the insertion direction of the Type-C slave. When the Type-C slave is inserted in the forward direction, one end of the pull-down resistor Rd is connected to the gate of the first MOSFET Q1, and the other end is grounded. When the Type-C slave is inserted in the reverse direction, one end of the pull-down resistor Rd is connected to the source of the first MOSFET Q1, and the other end is grounded.

[0083] Figure 7 This is an equivalent circuit diagram of the orientation detection module for Type-C slave device when inserted in the forward direction, as provided in this embodiment of the utility model. Figure 7As shown, when the pull-down resistor Rd is connected to the gate of the first MOSFET Q1, the CC2 signal is pulled low by the pull-down resistor Rd. Since the first pull-up resistor R1 is connected to the power supply terminal, the CC1 signal is high. Therefore, the first MOSFET Q1 operates in the cutoff region, and the gate of the second MOSFET Q2 is high, causing the second MOSFET Q2 to operate in the saturation region. At this time, the drain level of the second MOSFET Q2 is pulled low, thus making the generated direction detection output control signal (Select signal) low. The selection pin in the switch module 300 is active low by default. After outputting the low-level direction detection signal to the selection pin of the switch module 300, the corresponding B channel can be selected for forward insertion.

[0084] For example, taking a Type-C slave device with a pull-down resistor Rd of 5.1KΩ, a first pull-up resistor R1 and a second pull-up resistor R2 both of 56.2KΩ, and a power supply output voltage of 5V as an example... Figure 8 This is an equivalent circuit diagram of the orientation detection module for reverse insertion of a Type-C slave device provided in this embodiment of the invention, as shown below. Figure 8 As shown, when the pull-down resistor Rd is connected to the source of the first MOSFET Q1, the input terminal corresponding to the CC1 signal is connected to the pull-down resistor Rd. Since the second pull-up resistor R2 is connected to the power supply terminal, the CC2 signal is a high-level signal. The source of the first MOSFET Q1 is divided by the pull-down resistor Rd and the first pull-up resistor R1, and the source voltage of the first MOSFET Q1 can be calculated to be 0.41V. At this time, the gate-source voltage V between the gate and source of the first MOSFET Q1 is... GS When the voltage exceeds the turn-on threshold Vth, the first MOSFET Q1 operates in the saturation region. Due to the presence of the third resistor R3, which is connected in parallel with the first pull-up resistor R1, the source voltage of the first MOSFET Q1 rises. If the value of the third resistor is inappropriate, the source voltage of the first MOSFET Q1 will be too high, causing it to enter the amplification region. When the value of the third resistor R3 is appropriate, the first MOSFET Q1, operating in the saturation region, will clamp its drain voltage to a lower level. At this point, the voltage is insufficient to pull the second MOSFET Q2 out of the cutoff region, resulting in a high-level direction detection output control signal (Select signal). After outputting the high-level direction detection signal to the selection pin of the switch module 300, the corresponding C channel can be selected for reverse insertion.

[0085] Furthermore, the peripheral detection module includes a third detection circuit 221 and an output enable control circuit 222.

[0086] The input terminal of the third detection circuit 221 is used to receive the configuration channel signal, or the configuration channel signal and the direction detection output control signal Select signal. The output terminal of the third detection circuit 221 is connected to the input terminal of the output enable control circuit 222, and the output terminal of the output enable control circuit 222 is connected to the enable pin of the switch module 300.

[0087] The third detection circuit 221 is used to determine the detection signal based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal Select signal.

[0088] The output enable control circuit 222 is used to determine the output enable signal MUX_OE based on the detection signal.

[0089] Specifically, when the Type-C slave device is the target peripheral, the level and / or level difference of the CC1 and CC2 signals are constants. Therefore, the detection signal between the CC1 and CC2 signals can be detected by the third detection circuit 221, and the output enable control circuit 222 determines whether the target peripheral is connected based on whether the voltage value corresponding to the detection signal is constant. If it is constant, the target peripheral is connected; otherwise, it is not connected. Then, the voltage value of the detection signal is compared with a reference voltage range to determine whether the pull-down resistor Rd meets the preset accuracy. If this condition is met, the output enable signal MUX_OE is valid. If this condition is not met, the output enable signal MUX_OE is invalid.

[0090] It should be noted that the detection signal includes either a level difference signal or a level sum signal. If the third detection circuit 221 is connected to the direction detection module 210, then the detection signal is a level difference signal, that is, the absolute value of the level difference between the CC1 signal and the CC2 signal. If the third detection circuit 221 is only connected to the Type-C interface 100, then the detection signal is a level sum signal, that is, the sum of the levels of the CC1 signal and the CC2 signal.

[0091] Furthermore, when the third detection circuit 221 includes a difference circuit, the detection signal is a level difference signal.

[0092] Figure 9 This is a schematic diagram of the difference calculation circuit provided in an embodiment of the present invention, as shown below. Figure 9 As shown, the difference circuit includes a direction switching unit 2211, a first isolation circuit 2212, and a subtraction circuit 2213.

[0093] The switch input pin of the direction switching unit 2211 is connected to the Type-C interface 100 and is used to receive the first channel signal and the second channel signal in the configuration channel signal. The switch control pin of the direction switching unit 2211 is connected to the third terminal of the second detection circuit 212. The signal output terminal of the direction switching unit 2211 is connected to the input terminal of the first isolation circuit 2212. The direction switching unit 2211 is used to switch the conduction path of the switch in the direction switching unit 2211 based on the level state of the direction detection output control signal Selectsignal, so as to adjust the current direction of the first channel signal and the second channel signal flowing to the first isolation circuit 2212.

[0094] The output terminal of the first isolation circuit 2212 is connected to the input terminal of the subtraction circuit 2213.

[0095] The output of the subtraction circuit 2213 is connected to the enable pin of the switch module 300; the subtraction circuit 2213 is used to determine the level difference signal between the first channel signal and the second channel signal.

[0096] Specifically, the first isolation circuit 2212 includes a first voltage follower U21 and a second voltage follower U22 to isolate the CC1 and CC2 signals from the subsequent circuits. The output of the first voltage follower U21 is connected to the first input of the subtraction circuit 2213, and the output of the second voltage follower U22 is connected to the second input of the subtraction circuit 2213. That is, the connection between the first isolation circuit 2212 and the subtraction circuit 2213 is fixed. The subtraction circuit 2213 is a differential circuit, and it is powered by a single power supply. When the difference between the CC1 and CC2 signals calculated by the differential circuit is negative, it will output a saturation level of 0V. Therefore, in this embodiment of the invention, a direction switching unit 2211 is used to adjust the current direction of the CC1 and CC2 signals flowing to the first isolation circuit 2212 to ensure that the difference between the CC1 and CC2 signals is non-negative, thus ensuring the constant effect of the differential input in the differential circuit.

[0097] For example, the CC1 signal is input to the COM2 pin of the direction switching unit 2211, the CC2 signal is input to the COM1 pin of the direction switching unit 2211, and the direction detection output control signal (Select signal) output by the direction detection module 210 is input to the IN1 and IN2 pins of the direction switching unit 2211, respectively. The NO1 and NC2 pins of the direction switching unit 2211 are connected to the non-inverting input of the second voltage follower U22, and the NO2 and NC1 pins of the direction switching unit 2211 are connected to the non-inverting input of the first voltage follower U21. The direction switching unit 2211 is used to ensure that the level of the signal output to the second input terminal of the differential is higher than the level of the signal output to the first input terminal. If the direction detection output control signal Select signal is low, it indicates that the Type C slave is inserted in the forward direction, and the CC1 signal is low and the CC2 signal is high. At this time, the direction detection output control signal Select signal can control the connection between the COM2 pin and the NO2 pin in the direction switching unit 2211, so that the CC1 signal is transmitted to the non-inverting input of the first voltage follower U21. At the same time, the direction detection output control signal Select signal can control the connection between the COM1 pin and the NO1 pin in the direction switching unit 2211, so that the CC2 signal is transmitted to the non-inverting input of the second voltage follower U22. If the direction detection output control signal Select signal is high, it indicates that the Type C slave is inserted in reverse, and the CC1 signal is high and the CC2 signal is low. At this time, the direction detection output control signal Select signal can control the connection between the COM2 pin and the NC2 pin in the direction switching unit 2211, so that the CC1 signal is transmitted to the non-inverting input of the second voltage follower U22. At the same time, the direction detection output control signal Select signal can control the connection between the COM1 pin and the NC1 pin in the direction switching unit 2211, so that the CC2 signal is transmitted to the non-inverting input of the first voltage follower U21.

[0098] Furthermore, when the third detection circuit 221 includes a summing circuit, the detection signal is a level sum signal.

[0099] Figure 10 This is a schematic diagram of the summing circuit provided in an embodiment of the present invention, as shown below. Figure 10 As shown, the summing circuit includes a second isolation circuit 2214, a voltage divider circuit 2215, and an adder circuit 2218.

[0100] The input terminal of the second isolation circuit 2214 is connected to the Type-C interface 100 and is used to receive the first channel signal and the second channel signal in the configuration channel signal. The output terminal of the second isolation circuit 2214 is connected to the input terminal of the voltage divider circuit 2215. The output terminal of the voltage divider circuit 2215 is connected to the input terminal of the adder circuit 2218. The output terminal of the adder circuit 2218 is connected to the enable pin of the switch module 300.

[0101] The adder circuit 2218 is used to determine the level and signal between the first channel signal and the second channel signal.

[0102] Specifically, the second isolation circuit 2214 includes a third voltage follower U3 and a fourth voltage follower U10. The CC1 signal is input to the non-inverting input of the fourth voltage follower U10, which isolates the CC1 signal from the subsequent circuit. The CC2 signal is input to the non-inverting input of the third voltage follower U3, which isolates the CC2 signal from the subsequent circuit. The CC signal line's voltage level can exceed 5V when it is working and not working, while the adder circuit 2218 is powered by 5V. Therefore, if the CC signal is directly input to the adder circuit 2218, saturation will occur. Therefore, a voltage divider circuit 2215 is set after the second isolation circuit 2214 to divide and limit the CC1 and CC2 signals respectively. The voltage divider circuit 2215 includes a first voltage divider circuit 2216 and a second voltage divider circuit 2217. The first voltage divider circuit 2216 is connected to the output of the fourth voltage follower U10 and is used to divide the CC1 signal. The second voltage divider circuit 2217 is connected to the output of the third voltage follower U3 and is used to divide the CC2 signal. An adder circuit 2218 is provided after the voltage divider circuit 2215. This adder circuit 2218 is an adder used to calculate the sum of the voltage levels of the divided CC1 and CC2 signals.

[0103] Furthermore, Figure 11 This is a schematic diagram of the output enable control circuit provided in an embodiment of the present invention, as shown below. Figure 11 As shown, the output enable control circuit 222 includes a comparator circuit 2221, a filter circuit 2222, an open-drain gate circuit 2225, and an enable control switch Q4, wherein:

[0104] The input terminal of the comparator circuit 2221 is connected to the output terminal of the third detection circuit 221. The output terminal of the comparator circuit 2221 is connected to the input terminal of the open-drain gate circuit 2225 based on the filter circuit 2222. The output terminal of the open-drain gate circuit 2225 is connected to the gate of the enable control switch Q4. The drain of the enable control switch Q4 is connected to the power supply terminal and serves as the output terminal of the output enable control circuit 222.

[0105] The comparison circuit 2221 is used to compare the detection signal with the upper limit value and the lower limit value in the reference voltage range respectively to obtain a comparison signal, which is used to characterize whether the detection signal is within the reference voltage range.

[0106] The filter circuit 2222 is used to determine the filter signal corresponding to the comparison signal; the level state of the filter signal is used to control the on / off state of the open-drain gate circuit 2225, and the on / off state of the open-drain gate circuit 2225 is used to control the on / off state of the enable control switch Q4, so as to control the level state of the output enable signal MUX_OE.

[0107] Specifically, in the output enable control circuit 222, the comparator circuit 2221 includes a first comparator U4 and a second comparator U5. The output terminals of the third detection circuit 221 are respectively connected to the non-inverting input of the first comparator U4 and the inverting input of the second comparator U5. The inverting input of the first comparator U4 is input with the upper limit value of the reference voltage range. The first comparator U4 is used to compare the voltage value of the detected signal with the upper limit value to obtain a first comparison signal in the comparison signal. The level state of the first comparison signal is used to characterize whether the voltage value of the detected signal is less than the upper limit value. For example, if the voltage value of the detected signal is less than the upper limit value, the first comparison signal output by the first comparator U4 is a low-level signal; if the voltage value of the detected signal is greater than the upper limit value, the first comparison signal output by the first comparator U4 is a high-level signal. The non-inverting input of the second comparator U5 is input with the lower limit value of the reference voltage range. The second comparator U5 is used to compare the voltage value of the detected signal with the lower limit value to obtain a second comparison signal in the comparison signal. The level state of the second comparison signal is used to characterize whether the voltage value of the detected signal is greater than the lower limit value. For example, if the voltage value of the detected signal is greater than the lower limit, the second comparison signal output by the second comparator U5 is a low-level signal; if the voltage value of the detected signal is less than the lower limit, the second comparison signal output by the second comparator U5 is a high-level signal. When both the first and second comparison signals are low-level signals, it indicates that the voltage value of the detected signal is within the reference voltage range, and the resistance value of the pull-down resistor Rd in the connected Type-C slave device meets the preset accuracy. When at least one of the first and second comparison signals is high-level, it indicates that the voltage value of the detected signal is not within the reference voltage range, and the resistance value of the pull-down resistor Rd in the connected Type-C slave device does not meet the preset accuracy.

[0108] After the first comparison signal and the second comparison signal are obtained by the comparator circuit 2221, the first comparison signal is transmitted to the first input terminal of the open-drain (OD) gate circuit through the first filter sub-circuit 2223 in the filter circuit 2222. The second comparator U5 is transmitted to the second input terminal of the open-drain gate circuit 2225 through the second filter sub-circuit 2224 in the filter circuit 2222. The first comparison signal and the second comparison signal are then wired-ANDed by the open-drain gate circuit 2225. When both the first comparison signal and the second comparison signal are low-level signals, the MOS transistors in the open-drain gate circuit 2225 are both in the off state, so that the gate of the enable control switch Q4 receives a high-level signal, controlling the enable control switch Q4 to be in the on state. The ground terminal of the source of the enable control switch Q4 pulls the drain voltage low, so that the output enable signal MUX_OE output from the drain is a low-level signal. When at least one of the first comparison signal and the second comparison signal is a high-level signal, the corresponding MOS transistor in the open-drain gate circuit 2225 is in the on state, thereby pulling down the gate voltage of the enable control switch Q4, making the enable control switch Q4 in the off state, and thus causing the output enable signal MUX_OE output from the drain to be a high-level signal.

[0109] The Type-C interface communication control device provided in this embodiment of the invention, when a Type-C slave device is connected to the Type-C interface 100, determines, through the discrete component control module 200, a direction detection output control signal (Select signal) indicating the direction in which the Type-C slave device is inserted into the Type-C interface 100, and an output enable signal (MUX_OE) indicating whether a target peripheral device is connected, based on the configuration channel signal sent by the Type-C interface 100. Then, through the switch module 300, when the output enable signal (MUX_OE) is valid, the target path between the Type-C interface 100 and the USBPHY module 400 is established according to the direction detection output control signal (Select signal). In this embodiment of the invention, the discrete component control module 200 replaces the CC detection chip to realize the forward / reverse insertion detection of the Type-C interface 100 and the type identification of the inserted device, thereby enabling USB 3.0 data transmission between the Type-C interface 100 and the USBPHY module 400. The electronic components in the discrete component control module 200 have lower costs, thus reducing the overall application cost of the solution while ensuring the functionality of the Type-C interface 100.

[0110] This utility model embodiment also provides a host, which includes the Type-C interface communication control device as described in any of the above claims. The host is a DFP device.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.

Claims

1. A Type-C interface communication control device, characterized in that, include: The system includes a Type-C interface, a discrete component control module, a switch module, and a USB PHY module, among which: The switch module is connected to the Type-C interface, the discrete device control module, and the USB PHY module, and the Type-C interface is also connected to the discrete device control module; The discrete device control module is used to determine the direction detection output control signal and the output enable signal based on the configuration channel signal sent by the TypeC interface when a TypeC slave device is connected to the TypeC interface; the level state of the direction detection output control signal is used to characterize the direction in which the TypeC slave device is inserted into the TypeC interface; the output enable signal is used to characterize whether a target peripheral device is connected. The switch module is used to, when the output enable signal is valid, output a control signal based on the direction detection to connect the target path between the Type-C interface and the USB PHY module.

2. The Type-C interface communication control device according to claim 1, characterized in that, The discrete device control module includes an orientation detection module and a peripheral detection module, wherein: The direction detection module is connected to the selection pin of the switch module and the Type-C interface; the direction detection module is used to determine the direction detection output control signal based on the configuration channel signal sent by the Type-C interface; The peripheral detection module is used to determine the output enable signal of the switch module based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal.

3. The Type-C interface communication control device according to claim 2, characterized in that, The direction detection module includes a first detection circuit and a second detection circuit, wherein: The first terminal of the first detection circuit is used to receive the first channel signal in the configuration channel signal, the second terminal of the first detection circuit is used to receive the second channel signal in the configuration channel signal, the third terminal of the first detection circuit is connected to the first terminal of the second detection circuit, and the fourth terminal of the first detection circuit is connected to the second terminal of the second detection circuit. The third terminal of the second detection circuit is connected to the selection pin of the switch module; The first channel signal and the second channel signal are used to control the on / off state of the first detection circuit, and the on / off state of the first detection circuit is used to control the on / off state of the second detection circuit, so as to control the level state of the direction detection output control signal.

4. The Type-C interface communication control device according to claim 3, characterized in that, The first detection circuit includes a first pull-up resistor, a second pull-up resistor, a third resistor, and a first MOSFET, wherein: The first end of the first pull-up resistor is connected to the source of the first MOSFET and serves as the first end of the first detection circuit; the second end of the first pull-up resistor is connected to the power supply end. The first end of the second pull-up resistor is connected to the gate of the first MOS transistor and serves as the second end of the first detection circuit. The second end of the second pull-up resistor is connected to the second end of the third resistor and serves as the fourth end of the first detection circuit. The first end of the third resistor is connected to the drain of the first MOS transistor and serves as the third end of the first detection circuit.

5. The Type-C interface communication control device according to claim 4, characterized in that, The Type-C slave device is equipped with a pull-down resistor; when the Type-C interface is connected to the Type-C slave device, the pull-down resistor is connected to the first end of the first pull-up resistor or the first end of the second pull-up resistor.

6. The Type-C interface communication control device according to any one of claims 3-5, characterized in that, The peripheral detection module includes a third detection circuit and an output enable control circuit, wherein: The input terminal of the third detection circuit is used to receive the configuration channel signal, or the configuration channel signal and the direction detection output control signal. The output terminal of the third detection circuit is connected to the input terminal of the output enable control circuit, and the output terminal of the output enable control circuit is connected to the enable pin of the switch module. The third detection circuit is used to determine the detection signal based on the configuration channel signal, or the configuration channel signal and the direction detection output control signal; The output enable control circuit is used to determine the output enable signal based on the detection signal.

7. The Type-C interface communication control device according to claim 6, characterized in that, When the third detection circuit includes a difference circuit, the detection signal is a level difference signal; The difference calculation circuit includes a direction switching unit, a first isolation circuit, and a subtraction circuit, wherein: The switch input pin of the direction switching unit is connected to the Type-C interface and is used to receive the first channel signal and the second channel signal in the configuration channel signal. The switch control pin of the direction switching unit is connected to the third terminal of the second detection circuit, and the signal output terminal of the direction switching unit is connected to the input terminal of the first isolation circuit. The direction switching unit is used to switch the conduction path of the switch in the direction switching unit based on the level state of the direction detection output control signal, so as to adjust the current direction of the first channel signal and the second channel signal flowing to the first isolation circuit. The output of the first isolation circuit is connected to the input of the subtraction circuit; The output of the subtraction circuit is connected to the enable pin of the switching module; the subtraction circuit is used to determine the level difference signal between the first channel signal and the second channel signal.

8. The Type-C interface communication control device according to claim 6, characterized in that, When the third detection circuit includes a summing circuit, the detection signal is a level sum signal; The summing circuit includes a second isolation circuit, a voltage divider circuit, and an adder circuit, wherein: The input terminal of the second isolation circuit is connected to the Type-C interface to receive the first channel signal and the second channel signal in the configuration channel signal. The output terminal of the second isolation circuit is connected to the input terminal of the voltage divider circuit. The output terminal of the voltage divider circuit is connected to the input terminal of the adder circuit. The output terminal of the adder circuit is connected to the enable pin of the switch module. The adder circuit is used to determine the level and signal between the first channel signal and the second channel signal.

9. The Type-C interface communication control device according to claim 6, characterized in that, The output enable control circuit includes a comparator circuit, a filter circuit, an open-drain gate circuit, and an enable control switch, wherein: The input terminal of the comparator circuit is connected to the output terminal of the third detection circuit. The output terminal of the comparator circuit is connected to the input terminal of the open-drain gate circuit based on the filter circuit. The output terminal of the open-drain gate circuit is connected to the gate of the enable control switch. The drain of the enable control switch is connected to the power supply terminal and serves as the output terminal of the output enable control circuit. The comparison circuit is used to compare the detection signal with the upper limit and lower limit values ​​in the reference voltage range to obtain a comparison signal, which is used to characterize whether the detection signal is within the reference voltage range. The filtering circuit is used to determine the filtered signal corresponding to the comparison signal; the level state of the filtered signal is used to control the on / off state of the open-drain gate circuit, and the on / off state of the open-drain gate circuit is used to control the on / off state of the enable control switch, so as to control the level state of the output enable signal.

10. A host computer, characterized in that, Includes the Type-C interface communication control device as described in any one of claims 1-9.