16PIN TYPE-C interface open circuit detection circuit
By designing a TYPE-C interface detection circuit that includes a power supply module, a USB data cable detection module, and an indicator light module, the problem of cumbersome traditional detection methods is solved, and efficient interface open circuit detection is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- JIANGSU AUSTIN OPTRONICS TECH
- Filing Date
- 2025-05-28
- Publication Date
- 2026-05-01
AI Technical Summary
Traditional 16PIN TYPE-C interface testing methods require testing with multiple devices one by one, which is cumbersome and inefficient, and cannot determine whether the interface has an open circuit in a simple and easy-to-use way.
A detection circuit was designed, which includes a power supply module, a USB data cable detection module, a control switch module, and an indicator light module. By observing the working status of the indicator lights, it is possible to determine whether the TYPE-C interface has an open circuit, thus simplifying the detection process.
It achieves full path coverage of the TYPE-C interface in a single operation without the need for point-by-point testing, reducing hardware costs and operational barriers, and improving testing efficiency.
Smart Images

Figure CN224190221U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of electronic circuit technology, specifically relating to a 16PIN TYPE-C interface open circuit detection circuit. Background Technology
[0002] USB Type-C is a USB interface form factor standard, often abbreviated as Type-C interface. It has a smaller size than both Type-A and Type-B, and can be used in both PCs (host devices) and external devices (slave devices, such as mobile phones). Type-C interfaces come in 24-pin, 16-pin, and 6-pin versions. This invention focuses on testing the 16-pin Type-C interface. The 16-pin Type-C interface contains multiple sets of functional pins, such as two pairs of USBD+ / D- pins, one pair of SBU pins, two CC pins, four VBUS pins, and four ground pins. Testing the 16-pin Type-C interface requires various equipment and tools, resulting in extremely low efficiency. Traditional testing methods rely on specialized equipment such as oscilloscopes and multimeters to test each pin individually, a cumbersome and inefficient process. Summary of the Invention
[0003] The technical problem to be solved by this utility model is to provide a detection circuit that can determine whether there is an open circuit in the 16PIN TYPE-C interface by observing the working status of the indicator lights in the detection circuit. It is simple, easy to use and highly efficient.
[0004] The present invention provides a detection circuit for a TYPE-C interface, comprising a power supply module, a USB data cable detection module, a control switch module, and an indicator light module;
[0005] The power supply module is used to power the TYPE-C interface under test and the USB data cable detection module.
[0006] The USB data line detection module is connected to the USB_DP pin and USB_DN pin of the TYPE-C interface under test, and is used to measure the open circuit state of the USB_DP pin and USB_DN pin. The output terminal of the USB data line detection module is connected to the positive terminal of the indicator light module.
[0007] The control switch module is connected to the CC pin and SBU pin of the TYPE-C interface to measure the open circuit state of the CC pin and SBU pin. The output terminal of the control switch module is connected to the negative terminal of the indicator light module.
[0008] When the USB pin, CC pin, and SBU pin of the TYPE-C interface under test are all normal, the indicator light in the indicator light module will light up; otherwise, if any pin of the TYPE-C interface under test is open, the indicator light in the indicator light module will not light up.
[0009] Furthermore, the power supply module is connected to the VBUS pin of the TYPE-C interface under test.
[0010] Furthermore, the USB data cable detection module includes a first-stage power supply control circuit and a second-stage power supply control circuit;
[0011] The first-stage power supply control circuit includes resistors R10 and R11 and a PNP transistor Q2;
[0012] The power supply module is connected to one end of the pull-up resistor R10 and the E pin of the PNP transistor Q2. The other end of the pull-up resistor R10 is connected to the USB_DP pin of the TYPE-C interface under test and one end of the current limiting resistor R11. The other end of the current limiting resistor R11 is connected to the B pin of the PNP transistor Q2. The C pin of the PNP transistor Q2 is the output terminal of the first-stage power supply control circuit and is connected to the second-stage power supply control circuit.
[0013] The second-stage power supply control circuit includes resistors R13 and R12 and a PNP transistor Q6;
[0014] The output of the first-stage power supply control circuit is connected to one end of the pull-up resistor R13 and the E pin of the PNP transistor Q6. The other end of the pull-up resistor R13 is connected to the USB_DN pin of the TYPE-C interface under test and one end of the current-limiting resistor R12. The other end of the current-limiting resistor R12 is connected to the B pin of the PNP transistor Q6. The C pin of the PNP transistor Q6 is the output of the second-stage power supply control circuit and is connected to the positive terminal of the indicator light module.
[0015] Furthermore, the control switch module includes a first-level switch control circuit and a second-level switch control circuit;
[0016] The UART_TX, CC1, and CC2 pins of the TYPE-C interface under test are connected to the input terminals of the first-stage switch control circuit, respectively. The output terminal of the first-stage switch control circuit and the UART_RX pin are connected to the two input terminals of the second-stage switch control circuit, respectively. The output terminal of the second-stage switch control circuit is connected to the negative terminal of the indicator module.
[0017] Furthermore, the first-stage switch control circuit includes resistors R9, R2, R14, and a PNP transistor Q1;
[0018] The UART_TX pin of the TYPE-C interface under test is connected to pin E of PNP transistor Q1 via current-limiting resistor R9;
[0019] The CC1 and CC2 pins of the TYPE-C interface under test are connected to the E pin of PNP transistor Q1 via resistor R2, and the CC1 and CC2 pins of the test socket G1 are connected to the B pin of PNP transistor Q1 via resistor R14. The C pin of PNP transistor Q1 is connected to the input terminal of the second-stage switch control circuit.
[0020] Furthermore, the second-stage switch control circuit includes resistors R5 and R3, NPN transistor Q3, resistors R6 and R1, PNP transistor Q5, resistors R8 and R7, and NPN transistor Q4.
[0021] The UART_RX pin of the TYPE-C interface under test is connected to one end of resistor R5. The other end of resistor R5 is connected to resistor R3 and pin B of NPN transistor Q3. The other end of resistor R3 and pin E of NPN transistor Q3 are both grounded. Pin C of NPN transistor Q3 is connected to the output of the first-stage switch control circuit via resistor R6, which is connected to pin C of PNP transistor Q1. Pin C of NPN transistor Q3 is also connected to pin B of PNP transistor Q5 via resistor R1. Pin E of PNP transistor Q5 is connected to pin C of PNP transistor Q1. Pin C of PNP transistor Q5 is connected to one end of resistor R7 and resistor R8. The other end of resistor R8 is grounded. The other end of resistor R7 is connected to pin B of NPN transistor Q4. Pin E of NPN transistor Q4 is grounded. Pin C of NPN transistor Q4 serves as the output of the second-stage switch control circuit and is connected to the negative terminal of the indicator module.
[0022] Furthermore, the indicator module includes a resistor R4 and a light-emitting diode D3; the output terminal of the USB data cable detection module is connected to the positive terminal of the light-emitting diode D3 via the resistor R4, and the negative terminal of the light-emitting diode D3 is connected to the output terminal of the control switch module.
[0023] The present invention provides a detection circuit for a TYPE-C interface, which also includes a TYPE-C test terminal socket and a full-pin TYPE-C cable for connecting to the TYPE-C interface under test.
[0024] Beneficial effects: The detection circuit of this invention covers all core signal paths of the TYPE-C interface, including power supply (VBUS / GND), data (USB_DP / USB_DN), control (CC), and auxiliary functions (SBU), with no blind spots in detection; by integrating the detection functions of key pins such as power supply (VBUS / GND), data (USB_DP / USB_DN), control (CC), and auxiliary functions (SBU), point-by-point testing is not required, and full path coverage can be completed in a single operation; only a single 5V power supply is needed for driving, eliminating the need for dedicated test chips or high-precision peripherals, thus reducing hardware costs; this invention uses general-purpose transistors (PNP / NPN) and resistor networks, resulting in low circuit complexity and ease of mass production and maintenance; the open circuit status is directly fed back by the on / off state of the LED, eliminating the need for professional personnel to interpret complex data and lowering the operating threshold. Attached Figure Description
[0025] Figure 1 This is the circuit schematic diagram of this utility model. Detailed Implementation
[0026] The detection circuit for the TYPE-C interface provided by this utility model is used to measure whether there is an open circuit in the 16-pin TYPE-C interface. The 16-pin TYPE-C interface includes 16 pins: A1, A4 to A9, A12, B1, B4 to B9, and B12. The names and statuses of each pin are shown in the table below.
[0027] Table 1. Names and statuses of each pin in the 16-pin Type-C connector.
[0028]
[0029] This utility model provides a 16PIN TYPE-C interface open circuit detection circuit, including a G1 TYPE-C test terminal socket, a power supply module, a USB data cable detection module, a first-level switch control circuit, a second-level switch control circuit, and an indicator light module;
[0030] The G1 TYPE-C test socket includes a full-pin TYPE-C cable for connecting to the TYPE-C interface under test (DUT) for testing. Of the full-pin TYPE-C cable, only one of CC1 and CC2 is connected; the other is open. Connecting CC1 and CC2 at the test terminals does not affect the open-circuit detection of CC1 and CC2 on the DUT. During testing, the DUT needs to be tested twice: once with the cable inserted correctly and once with it inserted incorrectly, to check the open circuit status of side A and side B of the DUT's TYPE-C interface, respectively.
[0031] The power supply module is used to power the TYPE-C interface under test, as well as the USB data cable detection module, the first-level switch control circuit, the second-level switch control circuit, and the indicator light module. For example... Figure 1 As shown, G2 is the power input socket, which connects to a 5V power adapter. VCC 5V supplies power to the 16PIN TYPE-C interface under test through the A4, A9, B4, and B9 VBUS pins of the G1 TYPE-C test terminal socket.
[0032] The USB data cable detection module includes a first-stage power supply control circuit and a second-stage power supply control circuit; the first-stage power supply control circuit includes resistors R10 and R11 and a PNP transistor Q2.
[0033] The power supply module is connected to one end of the pull-up resistor R10 and the E pin of the PNP transistor Q2. The other end of the pull-up resistor R10 is connected to the USB_DP pin (A6 and B6 pins) of the TYPE-C interface under test and one end of the current limiting resistor R11. The other end of the current limiting resistor R11 is connected to the B pin of the PNP transistor Q2. The C pin of the PNP transistor Q2 is connected to the second-stage power supply control circuit.
[0034] When USB_DP in the test socket G1 is normal, it is at a low level. At this time, the voltage of the BE pin of PNP transistor Q2 is 0.6V, PNP transistor Q2 is in the on state, and the voltage of the C pin of PNP transistor Q2 is equal to the voltage of the E pin, which is 5V. When USB_DP is open, it is floating. The voltage of the B pin of PNP transistor Q2 is pulled up to the same voltage as the E pin by resistor R10. The voltage of the BE pin of PNP transistor Q2 is 0V, Q2PNP is in the off state, and the voltage of the C pin of Q2PNP is 0V.
[0035] The second-stage power supply control circuit includes resistors R13 and R12 and a PNP transistor Q6;
[0036] The output of the first-stage power supply control circuit is connected to one end of the pull-up resistor R13 and the E pin of the PNP transistor Q6. The other end of the pull-up resistor R13 is connected to the USB_DN pin (A7 and B7 pins) of the TYPE-C interface under test and one end of the current-limiting resistor R12. The other end of the current-limiting resistor R12 is connected to the B pin of the PNP transistor Q6. The C pin of the PNP transistor Q6 is the output of the second-stage power supply control circuit and is connected to the positive terminal of the indicator module.
[0037] 1) If PNP transistor Q2 is in the ON state, the voltage at pin E of PNP transistor Q6 is equal to the voltage at pin C of PNP transistor Q2, which is 5V. When USB_DN is normal, it is at a low level. At this time, the voltage at pin BE of PNP transistor Q6 is 0.6V, and PNP transistor Q6 is in the ON state. The voltage at pin C of PNP transistor Q6 is equal to the voltage at pin E, which is 5V. The power supply can normally supply the indicator module, and the positive terminal of the LED in the indicator module is 5V. When USB_DN is open, it is floating. The voltage at pin B of PNP transistor Q6 is pulled up to the same voltage as pin E by R13. The voltage at pin BE of PNP transistor Q6 is 0V, and PNP transistor Q6 is in the OFF state. The voltage at pin C of PNP transistor Q6 is 0V, and it cannot provide voltage to the indicator module.
[0038] 2) If PNP transistor Q2 is in the off state, the voltage at pin E of PNP transistor Q6 is 0V and it will always be in the off state and cannot conduct, so it cannot provide voltage to the indicator module.
[0039] The first-stage switch control circuit includes resistors R9, R2, and R14, and a PNP transistor Q1.
[0040] The UART_TX pin in the test socket G1 is connected to pin E of the PNP transistor Q1 via the current-limiting resistor R9;
[0041] The CC1 (A5) and CC2 (B5) pins in the test socket G1 are connected to the E pin of the PNP transistor Q1 via resistor R2, and the CC1 and CC2 pins in the test socket G1 are connected to the B pin of the PNP transistor Q1 via resistor R14. The C pin of the PNP transistor Q1 is connected to the second-stage switch control circuit.
[0042] When UART_TX is normal, the voltage is 3.3V, and the voltage at pin E of PNP transistor Q1 is 3.3V. When CC1 or CC2 is normal, it is at a low level, and the voltage at pins BE of PNP transistor Q1 is 0.6V, meaning PNP transistor Q1 is in the ON state. The voltage at pin C of PNP transistor Q1 equals the voltage at pin E, which is 3.3V. When CC1 or CC2 is open, it is floating. The voltage at pin B of PNP transistor Q1 is pulled up by R2 to the same voltage as pin E, and the voltage at pins BE of PNP transistor Q1 is 0V, meaning PNP transistor Q1 is in the OFF state. The voltage at pin C of PNP transistor Q1 is floating and has no voltage. When UART_TX is open, the floating voltage is 0V. Regardless of the state of CC1 and CC2, PNP transistor Q1 is in the OFF state, and the voltage at pin C of PNP transistor Q1 is floating and has no voltage.
[0043] The second-stage switch control circuit includes resistor R5, resistor R3, NPN transistor Q3, resistor R6, resistor R1, PNP transistor Q5, resistor R8, resistor R7, and NPN transistor Q4.
[0044] The UART_RX pin in the test socket G1 is connected to one end of resistor R5. The other end of resistor R5 is connected to resistor R3 and pin B of NPN transistor Q3. The other end of resistor R3 and pin E of NPN transistor Q3 are both grounded. Pin C of NPN transistor Q3 is connected to the output of the first-stage switch control circuit, i.e., pin C of PNP transistor Q1, via resistor R6. Pin C of NPN transistor Q3 is connected to pin B of PNP transistor Q5 via resistor R1. Pin E of PNP transistor Q5 is connected to pin C of PNP transistor Q1. Pin C of PNP transistor Q5 is connected to one end of resistors R7 and R8. The other end of resistor R8 is grounded. The other end of resistor R7 is connected to pin B of NPN transistor Q4. Pin E of NPN transistor Q4 is grounded. Pin C of NPN transistor Q4 serves as the output of the second-stage switch control circuit and is connected to the indicator light module.
[0045] The indicator module includes a resistor R4 and an LED D3. The collector (C) terminal of the PNP transistor Q6 is connected to the positive terminal of LED D3 via resistor R4, and the negative terminal of LED D3 is connected to the collector (C) terminal of the NPN transistor Q4. LED D3 is a light-emitting diode, and R4 is a current-limiting resistor for the LED. When the positive voltage of LED D3 is 5V and the negative terminal is grounded, LED D3 illuminates normally. When the positive voltage of LED D3 is 0V or the negative terminal is not grounded, LED D3 will not illuminate normally.
[0046] 1) If PNP transistor Q1 is in the on state, the voltage at pin E of PNP transistor Q5 is equal to 3.3V at pin C of PNP transistor Q1. When UART_RX is functioning normally, the voltage is 3.3V. R5 is a current-limiting resistor. The voltage at pins BE of NPN transistor Q3 is 0.6V, meaning Q3 is conducting. The voltage at pin C of PNP transistor Q1 is equal to the voltage at pin E, which is 0V. R1 is another current-limiting resistor. The voltage at pins BE of PNP transistor Q5 is 0.6V, meaning Q5 is conducting. The voltage at pin C of PNP transistor Q5 is equal to the voltage at pin E, which is 3.3V. R7 is another current-limiting resistor. The voltage at pins BE of NPN transistor Q4 is 0.6V, meaning Q4 is conducting. The voltage at pin C of NPN transistor Q4 is equal to the voltage at pin E, which is 0V. The negative terminal of LED D3 is grounded. When UART_RX is open, it is floating. Resistor R3 pulls pin B of NPN transistor Q3 low, making the voltage at pins BE of NPN transistor Q3 0V, thus Q3 is off. The voltage at pin C of NPN transistor Q3 is pulled up to 3.3V by resistor R6. 1) When the voltage between the BE pins of PNP transistor Q5 is equal, PNP transistor Q5 is in the off state. The C pin of PNP transistor Q5 is pulled to 0V by R8 100K. When the voltage between the BE pins of NPN transistor Q4 is equal, NPN transistor Q4 is in the off state. The C pin of NPN transistor Q4 is almost floating. The negative terminal of LED D3 cannot be grounded. 2) If PNP transistor Q1 is in the off state, the E pin of PNP transistor Q5 is equal to the floating C pin of PNP transistor Q1 with no voltage. Regardless of the state of UART_RX, PNP transistor Q5 is in the off state. The C pin of PNP transistor Q5 is pulled to 0V by resistor R8. When the voltage between the BE pins of NPN transistor Q4 is equal, NPN transistor Q4 is in the off state. The C pin of NPN transistor Q4 is almost floating. The negative terminal of LED D3 cannot be grounded.
[0047] As shown in Table 2, LED D3 will only light up when all the pins VCC, GND, USB_DP, USB_DN, CC1 or CC2, UART_TX, and UART_RX in the TYPE-C port being tested are normal. If any of these signals are open, LED D3 will not light up.
[0048] Table 2 Control Status Table of LED D3
[0049]
Claims
1. A detection circuit for a TYPE-C interface, characterized in that, Includes a power supply module, a USB data cable detection module, a control switch module, and an indicator light module; The power supply module is used to power the TYPE-C interface under test and the USB data cable detection module. The USB data line detection module is connected to the USB_DP pin and USB_DN pin of the TYPE-C interface under test, and is used to measure the open circuit state of the USB_DP pin and USB_DN pin. The output terminal of the USB data line detection module is connected to the positive terminal of the indicator light module. The control switch module is connected to the CC pin and SBU pin of the TYPE-C interface to measure the open circuit status of the CC pin and SBU pin. The output terminal of the control switch module is connected to the negative terminal of the indicator light module.
2. The detection circuit for a TYPE-C interface according to claim 1, characterized in that, The power supply module is connected to the VBUS pin of the TYPE-C interface under test.
3. The detection circuit for a TYPE-C interface according to claim 1, characterized in that, The USB data cable detection module includes a first-stage power supply control circuit and a second-stage power supply control circuit. The first-stage power supply control circuit includes resistors R10 and R11 and a PNP transistor Q2; The power supply module is connected to one end of the pull-up resistor R10 and the E pin of the PNP transistor Q2. The other end of the pull-up resistor R10 is connected to the USB_DP pin of the TYPE-C interface under test and one end of the current limiting resistor R11. The other end of the current limiting resistor R11 is connected to the B pin of the PNP transistor Q2. The C pin of the PNP transistor Q2 is connected to the second-stage power supply control circuit. The second-stage power supply control circuit includes resistors R13 and R12 and a PNP transistor Q6; The output of the first-stage power supply control circuit is connected to one end of the pull-up resistor R13 and the E pin of the PNP transistor Q6. The other end of the pull-up resistor R13 is connected to the USB_DN pin of the TYPE-C interface under test and one end of the current-limiting resistor R12. The other end of the current-limiting resistor R12 is connected to the B pin of the PNP transistor Q6. The C pin of the PNP transistor Q6 is the output of the second-stage power supply control circuit and is connected to the positive terminal of the indicator light module.
4. The detection circuit for a TYPE-C interface according to claim 1, characterized in that, The control switch module includes a first-level switch control circuit and a second-level switch control circuit. The UART_TX, CC1, and CC2 pins of the TYPE-C interface under test are connected to the input terminals of the first-stage switch control circuit, respectively. The output terminal of the first-stage switch control circuit and the UART_RX pin are connected to the input terminals of the second-stage switch control circuit, respectively. The output terminal of the second-stage switch control circuit is connected to the negative terminal of the indicator light module.
5. The detection circuit for a TYPE-C interface according to claim 4, characterized in that, The first-stage switch control circuit includes resistors R9, R2, and R14, and a PNP transistor Q1; The UART_TX pin of the TYPE-C interface under test is connected to pin E of PNP transistor Q1 via current-limiting resistor R9; The CC1 and CC2 pins of the TYPE-C interface under test are connected to the E pin of PNP transistor Q1 via resistor R2, and the CC1 and CC2 pins of the test socket G1 are connected to the B pin of PNP transistor Q1 via resistor R14. The C pin of PNP transistor Q1 is connected to the input terminal of the second-stage switch control circuit.
6. The detection circuit for a TYPE-C interface according to claim 4, characterized in that, The second-stage switch control circuit includes resistor R5, resistor R3, NPN transistor Q3, resistor R6, resistor R1, PNP transistor Q5, resistor R8, resistor R7, and NPN transistor Q4. The UART_RX pin of the TYPE-C interface under test is connected to one end of resistor R5. The other end of resistor R5 is connected to resistor R3 and pin B of NPN transistor Q3. The other end of resistor R3 and pin E of NPN transistor Q3 are both grounded. Pin C of NPN transistor Q3 is connected to the output terminal of the first-stage switch control circuit, i.e., pin C of PNP transistor Q1, via resistor R6. Pin C of NPN transistor Q3 is connected to pin B of PNP transistor Q5 via resistor R1. Pin E of PNP transistor Q5 is connected to pin C of PNP transistor Q1. Pin C of PNP transistor Q5 is connected to one end of resistors R7 and R8. The other end of resistor R8 is grounded. The other end of resistor R7 is connected to pin B of NPN transistor Q4. Pin E of NPN transistor Q4 is grounded. Pin C of NPN transistor Q4 serves as the output terminal of the second-stage switch control circuit and is connected to the negative terminal of the indicator module.
7. The detection circuit for a TYPE-C interface according to claim 1, characterized in that, The indicator module includes a resistor R4 and a light-emitting diode D3; The output of the USB data cable detection module is connected to the positive terminal of LED D3 via resistor R4, and the negative terminal of LED D3 is connected to the output of the control switch module.
8. The detection circuit for a TYPE-C interface according to claim 1, characterized in that, It also includes a TYPE-C test socket, which includes a full-pin TYPE-C cable for connecting to the TYPE-C interface under test.