Signal path selection circuit based on level adjustment

By using level adjustment circuits and analog signal switches in Type-C interface devices, the USB3.0 channel is automatically switched, which solves the switching complexity and delay problems caused by software intervention in the existing technology, and achieves stability, reliability and low cost. path switching.

CN221886464UActive Publication Date: 2024-10-22SIMCOM WIRELESS SOLUTIONS LTD (CHONGQING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323667682.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-30
Publication Date
2024-10-22
Estimated Expiration
2033-12-30

AI Technical Summary

Technical Problem

Existing Type-C interface devices require software intervention when switching USB3.0 channels, resulting in a complicated, delayed and costly switching process, especially affecting device performance and user experience when switching frequently.

Method used

Design a signal path selection circuit based on level adjustment. Through the analog signal switch and level adjustment circuit, the communication path is automatically switched according to the way the device is inserted, ensuring the stability and reliability of the switching process without software intervention.

Benefits of technology

It achieves stable and reliable switching of USB3.0 channels, simplifies hardware design, reduces costs, improves versatility, and avoids delay problems caused by software intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221886464U_ABST
    Figure CN221886464U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model relates to the field of communication, and discloses a signal path selection circuit based on level adjustment. The circuit specifically comprises a signal interface, an analog signal switch and a level adjusting circuit. The signal interface has two plug-in modes, and when the signal interface works in different plug-in modes, the first pin of the signal interface is in different level states; when the first pin is in different level states, the control pin of the analog signal switch selects the transmission signal pins of different groups as signal transmission paths of the signal interface by controlling the signal gating pins of different groups to be switched on; the level adjusting circuit is used for adjusting the level on the first pin to the level range suitable for the control pin and then transmitting the level to the control pin. According to the embodiment of the invention, the communication channels are automatically switched through the hardware circuit design and the level adjustment, the stability and reliability of the switching process can be ensured, software intervention is not needed, the structure is simple, the implementation is easy, and the cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communications, and in particular to a signal path selection circuit based on level adjustment. Background Art

[0002] Type-C stands for USB Type-C interface, which is a form of USB interface that has been widely used in various devices and supports multiple communication protocols and power transmission modes. At present, many Type-C interface devices (USB) use software control to further control the USB3.0 switch mode through CC detection and I2C control to achieve USB3.0 channel switching.

[0003] However, when software intervention is required in the existing technology to switch the Type-C interface to USB3.0, most of them are controlled by the device driver or operating system, and the switching process is complicated, which will cause trouble in some circuits without software cooperation and lack of I2C control. In addition, software control requires a certain response time, which may cause switching delays, especially when frequent switching may affect the performance and data transmission rate of the device, affect the user experience and have high costs. Utility Model Content

[0004] The purpose of the embodiment of the present application is to provide a signal path selection circuit based on level adjustment, which can automatically switch the communication path according to different ways of device insertion through hardware circuit design, and can ensure the stability and reliability of the switching process without the need for software intervention. It has a simple structure, is easy to implement, and saves costs.

[0005] To solve the above technical problems, an embodiment of the present application provides a signal path selection circuit based on level adjustment, comprising: a signal interface, an analog signal switch and a level adjustment circuit;

[0006] The signal interface has two plugging modes, and when working in different plugging modes, the first pin of the signal interface is in different level states;

[0007] The control pin of the analog signal switch is connected to the first pin, and the two groups of signal selection pins of the analog signal switch are connected to the two groups of transmission signal pins of the signal interface;

[0008] When the first pin is in a different level state, the control pin of the analog signal switch controls different groups of the signal selection pins to be turned on to select different groups of the transmission signal pins as the signal transmission path of the signal interface;

[0009] The level adjustment circuit is connected between the first pin and the control pin, and is used for adjusting the level on the first pin to a level range applicable to the control pin and then transmitting the level to the control pin.

[0010] Compared with the prior art, the embodiment of the utility model sets a control pin of an analog signal switch connected to the first pin of a signal interface, and two groups of signal selection pins of the analog signal switch are connected to two groups of transmission signal pins of the signal interface. The level of the first pin of the signal interface is determined according to the positive and negative directions of the device insertion, and the level on the first pin is adjusted to a level range applicable to the control pin through a level adjustment circuit and then transmitted to the control pin. The control pin of the analog signal switch only controls the conduction of signal selection pins of different groups depending on the received level state, thereby achieving the effect of selecting the switching signal path, which can ensure the stability and reliability of the switching process, and does not require software intervention. It has a simple structure, is easy to implement, saves costs, and has stronger versatility.

[0011] In some embodiments, the level adjustment circuit as described above includes: a first NMOS tube, a second NMOS tube, a first resistor, a second resistor, and a third resistor; the gate of the first NMOS tube is connected to the first pin, the source is grounded, and the drain is connected in series with the first resistor and then connected to a power supply; the gate of the second NMOS tube is connected to the connection node between the drain of the first NMOS tube and the first resistor, the source is connected to the source of the first NMOS tube, the drain is connected in series with the second resistor and then connected to the power supply, and the drain of the second NMOS tube is connected in series with the third resistor and then connected to the control pin.

[0012] In some embodiments, the signal path selection circuit based on level adjustment as described above further includes: a fourth resistor, and the side of the third resistor connected to the control pin is connected in series with the fourth resistor and then grounded.

[0013] In some embodiments, when the first pin is a pin for transmitting a power signal, the signal path selection circuit based on level adjustment as described above further includes: an anti-backflow diode, whose anode is connected to the first pin and whose cathode serves as a voltage output terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0015] Figure 1 A signal path selection circuit based on level adjustment is provided according to an embodiment of the present application. Figure 1 ;

[0016] Figure 2 A signal path selection circuit based on level adjustment is provided according to an embodiment of the present application. Figure 2 . DETAILED DESCRIPTION

[0017] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0018] One embodiment of the present application relates to a signal path selection circuit based on level adjustment, such as Figure 1 As shown, it includes: a signal interface 1, an analog signal switch 2 and a level adjustment circuit 3;

[0019] Among them, the signal interface 1 has two plug-in modes, and when working in different plug-in modes, the first pin S of the signal interface 1 is in different level states; the control pin SEL of the analog signal switch 2 is connected to the first pin S, and the two groups of signal selection pins A of the analog signal switch 2 are connected to the two groups of transmission signal pins T of the signal interface 1; when the control pin SEL of the analog signal switch 2 is in different level states, different groups of signal selection pins A are controlled to be turned on to select different groups of transmission signal pins T as the signal transmission path of the signal interface; the level adjustment circuit 3 is connected between the first pin S and the control pin SEL, and is used to adjust the level on the first pin S to a level range applicable to the control pin SEL and then transmit it to the control pin SEL.

[0020] Specifically, in this embodiment, when the signal interface 1 is used as a connector interface, it has two plug-in modes, which may be but not limited to the two plug-in modes of forward plug-in and reverse plug-in, and the signal interface 1 has pins with different level states when working in different plug-in modes. For example, the signal interface 1 may be a Type-C interface, and the level states of the bus power pins of the Type-C interface are different in the two plug-in modes of forward plug-in and reverse plug-in. The first pin S in this embodiment generally refers to pins with different level states in two plug-in modes. The control pin SEL of the analog signal switch 2 is connected to the first pin S, and the two groups of signal selection pins A of the analog signal switch are connected to the two groups of transmission signal pins T of the signal interface 1; when the control pin SEL of the analog signal switch is in different level states of the first pin S, it can control the connection lines of different groups of signal selection pins A and transmission signal pins T to be turned on for communication.

[0021] In this embodiment, the circuit in this embodiment is applied to specific product equipment such as mobile phones, computers, etc. The signal interface 1 is the external interface of the device, and the analog signal switch 2 is the internal structure of the device and is not external. The control pin SEL of the analog signal switch 2 is connected to the first pin S, and the connection relationship between the two groups of signal selection pins A of the analog signal switch and the two groups of transmission signal pins T of the signal interface 1 are fixed hardware connections. Only depending on the insertion direction of the cable plug inserted into the signal interface 1, the connection line between the signal selection pin A and the transmission signal pin T corresponding to the insertion direction can be realized in the analog signal switch 2.

[0022] It should be noted that the schematic diagrams in this application are only for the convenience of understanding this embodiment, and do not constitute any limitation on the substantive content of this application, such as the number of pins, pin arrangement, connection relationship, etc. In actual application scenarios, the number of pins of the signal interface 1 can be adjusted according to actual needs; in the two groups of signal selection pins A and the two groups of transmission signal pins T, each group can have only one pin, or two, three, or four pins. This application does not impose specific restrictions on the number of pins in each group, as long as the signal selection pins and the transmission signal pins have a one-to-one correspondence between each group of signal selection pins and each group of transmission signal pins.

[0023] Specifically, the voltage obtained by the first pin S may be higher than the voltage range of the analog signal switch 2. Therefore, the first pin S cannot be directly connected to the control pin SEL. In this embodiment, a level adjustment circuit 3 is provided to adjust the level on the first pin S to a level range applicable to the control pin SEL.

[0024] Compared with the related art, the embodiment of the utility model is relative to the prior art, by setting the control pin of the analog signal switch to be connected to the first pin of the signal interface, and the two groups of signal selection pins of the analog signal switch to be connected to the two groups of transmission signal pins of the signal interface, and determining the level of the first pin of the signal interface according to the positive and negative directions of the device insertion, and then adjusting the level on the first pin to the level range applicable to the control pin through the level adjustment circuit and transmitting it to the control pin, the control pin of the analog signal switch only depends on the received level state to control the conduction of the signal selection pins of different groups, thereby achieving the effect of selecting the switching signal path, which can ensure the stability and reliability of the switching process, and does not require software intervention, has a simple structure, is easy to implement, saves costs, and has stronger versatility.

[0025] In the following embodiments, the level adjustment circuit for adjusting the level on the first pin to a level range applicable to the control pin and then transmitting the level to the control pin will be described in detail.

[0026] In one embodiment, when the signal interface 1 is a Type-C interface, the bus power pin (VBUS pin) and the configuration channel pin (CC pin) on the same side have different level states when the cable plug is inserted forward and reversely. Correspondingly, in this embodiment, when the signal interface 1 is a Type-C interface, the first pin can be a bus power pin on the same side or a configuration channel pin on one side. When the signal interface 1 is a Type-C interface, the two groups of transmission signal pins T in the above embodiment are two groups of ultra-high-speed differential signal pins in the Type-C interface. It should be noted that there are two VBUS pins on one side of the Type-C interface, and one of them can be connected and selected as the first pin. The analog signal switch can be a USB3.0 analog signal switch. The USB3.0 analog signal switch can select to switch on the first group of signal selection pins (C1+, C1-, C0+, C0-) or the second group of signal selection pins (B1+, B1-, B0+, B0-) through the control pin SEL. Among them, the four pins A1+, A1-, A0+, and A0- are connected to the CPU or PC end.

[0027] Take the first pin S as VBUS2 in the Type-C interface as an example. Figure 2As shown, the VBUS2 pin in the Type-C interface is connected to the control pin SEL of the analog signal switch 2. When the direction of the cable inserted into the Type-C interface is different, the level state of the VBUS2 pin is different, and the level state of the control pin SEL of the analog signal switch 2 is also different. At this time, the two groups of transmission signal pins T of the signal interface 1 are two groups of ultra-high-speed differential signal pins in the Type-C interface, one group of transmission signal pins is SSTXP1, SSTXN1, SSRXP1, SSRXN1, and the other group of transmission signal pins is SSTXP2, SSTXN2, SSRXP2, SSRXN2. Since each of the two groups of transmission signal pins has four pins, each group of signal selection pins connected thereto also has four pins.

[0028] like Figure 2 As shown, a group of transmission signal pins including SSTXP1, SSTXN1, SSRXP1, and SSRXN1 are connected to a group of signal selection pins including C1+, C1-, C0+, and C0- in the analog signal switch 2, and the SSTXP1 pin is connected to the C1+ pin, the SSTXN1 pin is connected to the C1- pin, the SSRXP1 pin is connected to the C0+ pin, and the SSRXN1 pin is connected to the C0- pin in sequence; a group of transmission signal pins including SSTXP2, SSTXN2, SSRXP2, and SSRXN2 are connected to a group of signal selection pins including B1+, B1-, B0+, and B0- in the analog signal switch 2, and the SSTXP2 pin is connected to the B1+ pin, the SSTXN2 pin is connected to the B1- pin, the SSRXP1 pin is connected to the B0+ pin, and the SSRXN1 pin is connected to the B0- pin in sequence. It should be noted that the above connections are all hardware connections.

[0029] The level adjustment circuit 3 of the aforementioned embodiment is connected between the first pin S and the control pin SEL, and is used to adjust the level on the first pin S to a level range applicable to the control pin SEL and then transmit it to the control pin SEL.

[0030] In an example, Figure 2 As shown, the level adjustment circuit may include: a first NMOS transistor Q1, a second NMOS transistor Q2, a first resistor R1, a second resistor R2, and a third resistor R3;

[0031] The gate of the first NMOS tube Q1 is connected to the first pin S (VBUS2 pin), the source is grounded, and the drain is connected in series with the first resistor R1 and then connected to the power supply; the gate of the second NMOS tube Q2 is connected to the connection node between the drain of the first NMOS tube Q1 and the first resistor R1, the source is connected to the source of the first NMOS tube Q1, the drain is connected in series with the second resistor R2 and then connected to the power supply, and the drain of the second NMOS tube Q2 is connected in series with the third resistor R3 and then connected to the control pin SEL.

[0032] Specifically, when the signal interface 1 is a Type-C interface, Figure 2 As shown, when the first pin S is the bus power pin VBUS2, and the cable plug is inserted into the Type-C interface in a positive direction, a 5V voltage can be measured at the VBUS2 pin (first pin S), the VBUS2 pin is at a high level, the gate of the first NMOS tube Q1 is at a high level, the first NMOS tube Q1 is turned on, and its drain is grounded. At this time, the second NMOS tube Q2 is disconnected, and the control pin SEL has a 1.8V voltage, which is a high level state. When the control pin SEL is at a high level, the connection line between the first group of signal selection pins (C1+, C1-, C0+, C0-) of the analog signal switch 2 and the first group of ultra-high-speed differential signal pins (SSTXP1, SSTXN1, SSRXP1, SSRXN1) of the Type-C interface is turned on for transmission communication.

[0033] When the cable plug is inserted into the Type-C interface in reverse, there is no voltage access at the VBUS2 pin (first pin S), the VBUS2 pin is at a low level, the gate of the first NMOS tube Q1 is at a low level, the first NMOS tube Q1 is disconnected, and the second NMOS tube Q2 is turned on, and the control pin SEL is in a low level state. When the control pin SEL is at a low level, the connection line between the second group of signal selection pins (B1+, B1-, B0+, B0-) of the analog signal switch 2 and the second group of ultra-high-speed differential signal pins (SSTXP2, SSTXN2, SSRXP2, SSRXN2) of the Type-C interface is turned on for transmission communication.

[0034] like Figure 2 As shown, when the first pin S is the configuration channel (CC) pin of the Type-C interface, if the cable plug is inserted into the Type-C interface in the forward direction, a 5V voltage can be measured at the CC1 pin, the CC1 pin is at a high level, the gate of the first NMOS tube Q1 is at a high level, the first NMOS tube Q1 is turned on, and its drain is grounded. At this time, the second NMOS tube Q2 is disconnected, and the control pin SEL has a 1.8V voltage, which is a high level state. When the control pin SEL is at a high level, the connection lines between the first group of signal selection pins (C1+, C1-, C0+, C0-) of the analog signal switch 2 and the first group of ultra-high-speed differential signal pins (SSTXP1, SSTXN1, SSRXP1, SSRXN1) of the Type-C interface are turned on for transmission communication.

[0035] When the cable plug is inserted into the Type-C interface in reverse, the voltage at the CC1 pin is 0, which is a low level, and the gate of the first NMOS tube Q1 is a low level, then the first NMOS tube Q1 is disconnected, and the second NMOS tube Q2 is turned on, then the control pin SEL is in a low level state. When the control pin SEL is at a low level, the second group of signal selection pins (B1+, B1-, B0+, B0-) of the analog signal switch 2 is controlled to connect the second group of ultra-high-speed differential signal pins (SSTXP2, SSTXN2, SSRXP2, SSRXN2) of the Type-C interface to the connection line for transmission communication. It should be noted that the cable in this application refers to a USB cable that can be inserted into the signal interface.

[0036] It can be seen that, through the level adjustment circuit 3 , the level of the control pin SEL can be adjusted to its applicable range while still being able to implement the above switching process.

[0037] In an example, the level adjustment circuit 3 further includes: a fourth resistor R4 , and a side of the third resistor R3 connected to the control pin is connected in series with the fourth resistor R4 and then grounded.

[0038] Specifically, the fourth resistor R4 is to prevent the level on the control pin SEL from being pulled down to the applicable range after the first NMOS transistor Q1 and the second NMOS transistor Q2 are adjusted when the first pin S is at a high level. The resistance value of the fourth resistor R4 can be adjusted according to actual needs, and this application does not impose specific restrictions on this.

[0039] In one example, when the first pin S is a pin for transmitting a power signal, the signal path selection circuit based on level adjustment in this embodiment further includes: an anti-backflow diode, whose anode is connected to the first pin S and whose cathode serves as a voltage output terminal.

[0040] Specifically, the anti-backflow diode is set to prevent the backflow of the bus power pin VBUS, so as to suppress the influence of the backflow of VBUS on the discrimination signal. The cathode of the anti-backflow diode is used as a voltage output terminal to supply power to the CPU.

[0041] Compared with the related art, in the above-mentioned embodiment of the present application, when the direction of the cable plug inserted into the Type-C connector is different, the bus power pin and the configuration channel pin have different level changes. The direction of the cable plug insertion is judged by this level difference, and then the level state of the control pin SEL in that direction is controlled to switch to the corresponding channel to keep the signal on, thereby realizing automatic switching of the communication channel according to the different directions of the USB cable insertion, which can ensure the stability and reliability of the switching process, and does not require software intervention, saving costs.

[0042] It should be noted that the above examples in this embodiment are illustrative for ease of understanding and do not limit the technical solution of the utility model. The steps of the above various methods are divided only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this application; adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this application.

[0043] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.

Claims

1. A signal path selection circuit based on level adjustment, characterized in that: include: Signal interface, analog signal switch and level adjustment circuit; The signal interface has two plugging modes, and when working in different plugging modes, the first pin of the signal interface is in different level states; The control pin of the analog signal switch is connected to the first pin, and the two groups of signal selection pins of the analog signal switch are connected to the two groups of transmission signal pins of the signal interface; When the first pin is in a different level state, the control pin of the analog signal switch controls different groups of the signal selection pins to be turned on to select different groups of the transmission signal pins as the signal transmission path of the signal interface; The level adjustment circuit is connected between the first pin and the control pin, and is used for adjusting the level on the first pin to a level range applicable to the control pin and then transmitting the level to the control pin.

2. The signal path selection circuit based on level adjustment according to claim 1, characterized in that: The level adjustment circuit comprises: a first NMOS tube, a second NMOS tube, a first resistor, a second resistor, and a third resistor; The gate of the first NMOS tube is connected to the first pin, the source is grounded, and the drain is connected in series with the first resistor and then connected to the power supply; the gate of the second NMOS tube is connected to the connection node between the drain of the first NMOS tube and the first resistor, the source is connected to the source of the first NMOS tube, the drain is connected in series with the second resistor and then connected to the power supply, and the drain of the second NMOS tube is connected in series with the third resistor and then connected to the control pin.

3. The signal path selection circuit based on level adjustment according to claim 2, characterized in that: Also includes: A fourth resistor, wherein one side of the third resistor connected to the control pin is connected in series with the fourth resistor and then grounded.

4. The signal path selection circuit based on level adjustment according to claim 2, characterized in that: When the first pin is a pin for transmitting a power signal, the signal path selection circuit based on level adjustment further includes: The anti-backflow diode has an anode connected to the first pin and a cathode serving as a voltage output terminal.