Integrated USB data line inspection device and inspection method

The integrated USB data line testing device addresses limitations of existing devices by providing a single device for multiple USB types with dual power and intuitive display, enhancing testing efficiency and accuracy.

JP7795677B1Active Publication Date: 2026-01-07吕岩俊
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2025143690
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2025-07-02
Filing Date
2025-08-29
Publication Date
2026-01-07
Estimated Expiration
2045-08-29

AI Technical Summary

Technical Problem

Existing USB testing devices are limited in functionality, supporting only one interface type, lack battery options, and require multiple devices for comprehensive testing, making them difficult for general users and impacting testing efficiency.

Method used

An integrated USB data line testing device with a multi-interface test board supporting seven USB types, including a dual power supply system, and a single device that performs on/off detection, internal resistance measurement, cable protocol identification, and E-Marker chip analysis with an LCD display for intuitive results.

Benefits of technology

Enables comprehensive USB cable testing with high accuracy and efficiency using a single device, reducing electronic waste and simplifying operations to three steps: plug in, select mode, and read results, while supporting various interface types and power sources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007795677000001_ABST
    Figure 0007795677000001_ABST
Patent Text Reader

Abstract

Achieve a variety of sensing functions in a single low-cost device. According to one embodiment, an integrated USB data line testing device includes a multi-interface testing board that integrates at least seven USB interface types and one Lightning interface, a main control MCU, and a protocol analysis chip. The main control MCU performs on / off detection, protocol analysis, and resistance calculation, and the protocol analysis chip performs I / O. 2 The integrated detection module includes a master controller module connected to the main control MCU via a C bus, and an integrated detection module including an on-off detection circuit, an internal resistance inspection circuit, an E-Marker identification circuit, a charging head protocol identification circuit, and a pull-up / pull-down resistor detection circuit, wherein the on-off detection circuit is connected to the USB output and input terminal pins, and the E-Marker identification circuit and charging head detection circuit are connected to the protocol analysis chip CC pin.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to the technical field of electronic testing devices, and more particularly to an integrated USB data line testing apparatus and testing method. [Background technology]

[0002] Existing USB testing devices typically only support one function (e.g., on / off detection or protocol identification) and cannot comprehensively evaluate cable quality (e.g., internal resistance, E-Marker, pull-up / pull-down resistors, etc.), requiring users to repeatedly replace devices to complete a comprehensive test. In particular, traditional testing methods rely on specialized equipment such as oscilloscopes and multimeters and complex operating procedures, making them difficult for general users and production line personnel to understand, which impacts testing efficiency.

[0003] However, most commercially available test devices only support one interface type (e.g., Type-C) and cannot cover mainstream cable types such as Type-A, Micro B 2.0 / 3.0, Mini B, and Lightning, limiting test scenarios. Furthermore, most devices rely on fixed power sources for testing and lack battery options, making it difficult to meet testing needs in outdoor or mobile scenarios. Test results are usually displayed using numerical values ​​or simple indicator lights, without an intuitive graphical interface (e.g., LCD display showing cable structure diagrams and protocol details), making them difficult for users to interpret. Summary of the Invention [Problem to be solved by the invention]

[0004] In view of the above, an object of the present invention is to provide an integrated USB data line testing device and testing method that supports on / off detection, internal resistance measurement, cable protocol identification, charger protocol identification, and E-Marker chip analysis functions, enabling various testing functions to be achieved with a single device, reducing the cost of the testing device, supporting dual power supply systems and mobile scenarios, switching testing modes with a single button, accurately identifying the performance of USB data lines, and reducing electronic waste. [Means for solving the problem]

[0005] To achieve the above objectives, the present invention provides the following technical solutions. Based on the above object, in a first aspect, the present invention provides an integrated USB data line testing device, a multi-interface test board integrating at least seven USB interface types and one Lightning interface; The main control MCU and the protocol analysis chip are included, and the main control MCU performs on / off detection, protocol analysis and resistance calculation, and the protocol analysis chip is 2 a master controller module connected to the main control MCU via a C bus; an integrated detection module including an on-off detection circuit, an internal resistance inspection circuit, an E-Marker identification circuit, a charging head detection circuit, and a pull-up / pull-down resistor detection circuit, wherein the on-off detection circuit is connected to the USB output terminal and input terminal pin, and the E-Marker identification circuit and the charging head detection circuit are connected to the protocol analysis chip CC pin; Includes a AAA battery pocket, an external Type-C power supply interface and a power supply switch, supporting power supply via AAA batteries and external Type-C power supply, and is equipped with a mechanical power supply switch. dual a mode power supply module; It includes an LCD display and function switching buttons, and a human-computer interaction module for displaying on-off topology map, internal resistance value, E-Marker information, data line protocol type, charging head protocol, and pull-up / pull-down resistor value.

[0006] In a further embodiment of the present invention, the multi-interface test board integrates a power / write shared Type-C interface, two Type-C cable test interfaces, a Micro B 2.0 interface, a Micro B 3.0 interface, a Mini B 2.0 interface, a Type A 3.0 interface, and a Lightning test interface. In a further embodiment of the present invention, the main control MCU is an STC32G12K128 microcontroller, and the protocol analysis chip includes an FUSB302BMPX chip, and 2 It is connected to the main control MCU via the C bus and analyzes the CC1 / CC2 signals of the Type-C cable to read the E-Marker and charging head protocol.

[0007] In a further aspect of the present invention, the method of operating the on / off detection circuit comprises the steps of: providing a preset level signal via the USB output terminal (OUT); Monitor the voltage changes of each pin of the USB input terminal (IN), identifying pin combinations that provide signal paths; generating and outputting cable topology data to the LCD.

[0008] In a further embodiment of the present invention, the internal resistance test circuit is a series voltage divider circuit consisting of a MOS tube Q3 and a 5.1Ω reference resistor R14 with an accuracy of ±1%, and the gate of the MOS tube is controlled by the master controller module.

[0009] In a further aspect of the present invention, the method for operating the internal resistance inspection circuit comprises: The master controller module triggers the MOS tube Q3 to turn on, and activates the MOS tube to form a series circuit with the power supply, the 5.1Ω resistor, and the cable VBUS, so that current flows sequentially through the MOS tube Q3, the resistor R14, and the cable VBUS path under test; Measuring the series node voltage difference ΔV; Cable internal resistance according to Ohm's law: Calculating R_cable=(V_measured×R14) / (V_source-V_measured); Including, where V_source is the power supply voltage and V_measured is the measured voltage across R14.

[0010] In a further aspect of the present invention, the method of operation of the E-Marker identification circuit comprises: The main control MCU sends a detection command to the protocol analysis chip; The protocol analysis chip sends a USB-PD protocol inquiry message via CC1 / CC2 pin; Analyze the power supply capability data packet fed back from the E-Marker chip and 2 C to the main control MCU for protocol classification; The main control MCU extracts standard parameters such as voltage / current, charger protocol identification, wire type, wire delay, wire transmission speed, wire company, wire version number, wire protocol, etc., and generates a visualization report.

[0011] In a further embodiment of the present invention, the pull-up / pull-down resistor detection circuit includes controlled MOS tubes Q4 and Q5 and fixed-value resistors R13 and R16. The master controller module determines the pull-up or pull-down resistor by switching the level state (pull-down / pull-up) of the GND pins of the Type-A and Type-C interfaces.

[0012] In a further aspect of the present invention, the operating method of the pull-up / pull-down resistor detection circuit includes: Connect the VBUS of the Type-A and Type-C interfaces to ground, and set the GND pin to a high-resistance state, The master controller module turns on the MOS transistor Q4, applies a test voltage Vtest to the CC line, and detects the CC line voltage, When V_cc < V_source, it is determined that there is a pull-up resistor and the resistance value is calculated, When V_cc ≈ V_source, pull down the GND pin and perform re-detection, When V_cc < V_source, it is determined that there is a pull-down resistor and the resistance value is calculated, including.

[0013] In a further aspect of the present invention, the human-computer interaction module includes a multi-stage inspection interface. The multi-stage inspection interface includes an on-off inspection interface for displaying a topology map of the connection state of cable pins, a protocol inspection interface for displaying the support status of the USB2.0 / 3.2 / PD protocol, an E-Marker inspection interface for displaying the power specification and authentication information of the cable, a charging head detection interface for displaying the power supply protocol supported by the charging head, a pull-up / pull-down resistor inspection interface for displaying whether there is a pull-up resistor or a pull-down resistor on the CC line and outputting the resistance value, and an internal resistance inspection interface for displaying the resistance value and the pass threshold of the VBUS / GND line.

[0014] In a further aspect of the present invention, the Lightning inspection interface does not support the protocol analysis function and only supports on-off detection for inspecting the connectivity of the power line, data line, and ID line, and internal resistance detection for measuring the resistance value of the VBUS line.

[0015] In a second aspect, the present invention further provides a USB data line inspection method based on an integrated USB data line inspection device, including on-off detection, internal resistance inspection, E-Marker detection, charging head detection, and pull-up / pull-down resistor detection, The on-off detection is Connecting both ends of the cable under test to the USB OUT and USB Input interfaces; the master controller module outputs a level signal to USB OUT; and a step of monitoring the level changes of each pin of the USB Input and generating and displaying a lead wire connection topology map inside the cable. The internal resistance test is Triggering and turning on the MOS tube Q3 of the internal resistance test circuit; and collecting the voltage across the reference resistor R14 and calculating and displaying the internal resistance of the cable VBUS path. The E-Marker detection and charger protocol identification the master controller module instructing the FUSB302BMPX chip to read the CC1 / CC2 signals; Analyzing the USB PD message fed back from the USB charging head, extracting and displaying the charging protocol and charging capability parameters supported by the charging head; and analyzing the USB PD message fed back from the E-Marker chip / charging head, and extracting and displaying the cable power capacity, data transmission capability parameters / charging head voltage / current / power, and supported protocols. The charging head detection The steps include the master controller module sending a charging head detection command to the FUSB302BMPX chip, the FUSB302BMPX chip communicating with the charging head via CC1 / CC2 signals to obtain charging head information, and the FUSB302BMPX chip feeding back USB PD messages, and extracting and displaying the protocols and voltage / current capability parameters supported by the charging head. Pull-up and pull-down resistor detection This includes determining the presence and resistance value of pull-up / pull-down resistors on the CC lines of Type-A to Type-C and Type-C to Type-C cables through level switching and voltage comparison.

[0016] In a further embodiment of the present invention, in the on / off detection step, the master controller module monitors the level response of signal lines such as D+ / D- / CC to identify whether the cable function type is a charging line, a low-speed data line, or a high-speed data line.

[0017] In a further embodiment of the present invention, in the internal resistance testing step, when the environmental temperature exceeds 25° C., the master controller module automatically activates a temperature compensation algorithm to compensate the internal resistance value.

[0018] In a further version of the invention, the Lightning cable does not perform protocol analysis, but only performs on / off detection and VBUS internal resistance testing. [Effects of the Invention]

[0019] Compared with the prior art, the integrated USB data line testing device and testing method according to the present invention has the following beneficial effects:

[0020] This invention is the first to integrate on / off detection, internal resistance testing, E-Marker identification, charging head detection, and pull-up / pull-down resistor detection into a single device, solving the problem of traditional testing requiring the cooperation of multiple devices and enabling multi-testing with a single device. It integrates seven interface types: Type-C, Micro B 2.0 / 3.0, Mini B 2.0, Type-A 3.0, and Lightning, enabling it to test most commercially available USB cable types. Internal resistance testing has low error, and pull-up / pull-down resistor detection prevents the reduction in charging efficiency caused by mismatch between the charging cable and charging head, reducing the rate of false positives. Users can complete the test operation with just three steps: plug in the cable, select the mode with a button, and read the results. This is convenient and fast, achieving high accuracy, efficiency, and versatility in USB data cable testing, and filling the technological gap in the field of portable, full-featured multi-interface testing devices.

[0021] These and other aspects of the present application may be more readily understood in the following description of the examples, although it is understood that the foregoing general description and the following detailed description are exemplary and explanatory rather than limiting. [Brief explanation of the drawings]

[0022] In order to more clearly explain the technical solutions in the embodiments of the present invention or the related art, the following will briefly describe the drawings necessary for explaining the exemplary embodiments or the related art, which are used for a better understanding of the present invention, constitute a part of the specification, and are used to explain the present invention together with the embodiments of the present invention, but do not limit the present invention. [Figure 1] 1A and 1B are top and bottom isometric views of one embodiment of an integrated USB data line testing device according to the present invention; [Figure 2] 1A and 1B are isometric views of the left and right sides of one embodiment of an integrated USB data line testing device according to the present invention. [Figure 3] 1 is a diagram showing the measurement principle of one embodiment of an integrated USB data line inspection device according to the present invention; [Figure 4] 1 is a diagram showing an internal resistance measurement circuit in an embodiment of an integrated USB data line inspection device according to the present invention; [Figure 5] 1 is a diagram showing a pull-up / pull-down resistor measurement circuit in one embodiment of the integrated USB data line inspection device of the present invention. FIG. DETAILED DESCRIPTION OF THE INVENTION

[0023] The present application will be further described below with reference to the drawings and specific embodiments. However, provided there is no contradiction, the embodiments or technical features described below can be arbitrarily combined to form new embodiments.

[0024] In order to clarify the objectives, technical solutions and advantages of the present invention, the following detailed description of the embodiments of the present invention will be given with reference to the accompanying drawings and specific examples, which are merely for the purpose of interpreting the present application and are not intended to limit the present application.

[0025] The use of "first" and "second" in the embodiments of the present invention is intended to distinguish between two non-identical entities or parameters that share the same name. Therefore, it should be understood that "first" and "second" are used for convenience of expression and are not intended to limit the embodiments of the present invention. Furthermore, the terms "comprise," "have," and any variations thereof are intended to cover a non-exclusive inclusion, for example, including other steps or units inherent in a process, method, system, product, or apparatus that includes a series of steps or units.

[0026] The technical solutions in the embodiments of the present application will be clearly and fully explained below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments that a person skilled in the art can come up with based on the embodiments of the present application without any creative effort fall within the scope of protection of the present invention.

[0027] The flowcharts shown in the drawings are for illustrative purposes only and do not necessarily include all the contents and operations / steps, nor do they necessarily have to be performed in the order described. For example, some operations / steps may be further decomposed, combined, or partially integrated, and therefore the order of actual execution may be changed according to actual circumstances.

[0028] Some embodiments of the present invention will be described in detail below with reference to the drawings. The following examples and features in the examples can be combined with each other if there is no conflict.

[0029] As shown in FIGS. 1 to 5, one embodiment of the present invention includes a multi-interface test board, a master controller module, an integrated detection module, dual An integrated USB data line testing device is provided, which includes a mode power supply module and a human-computer interaction module. The multi-interface testing board integrates at least seven USB interface types and one Lightning interface. The master controller module includes a main control MCU and a protocol analysis chip. The main control MCU performs on / off detection, protocol analysis, and resistance calculation. The protocol analysis chip performs I / O. 2 It is connected to the main control MCU via the C bus. The integrated detection module includes an on / off detection circuit, an internal resistance test circuit, an E-Marker identification circuit, a charging head detection circuit, and a pull-up / pull-down resistor detection circuit. The on / off detection circuit is connected to the USB output and input pins. The E-Marker identification circuit and charging head detection circuit are connected to the protocol analysis chip CC pin. dualThe mode power supply module includes a AAA battery pocket, an external Type-C power supply interface, and a power supply selector switch, supporting both AAA battery power supply and external Type-C power supply, and is equipped with a mechanical power supply selector switch.The human-computer interaction module includes an LCD display and function selector button, and displays the on / off topology map, internal resistance value, E-Marker information, data line protocol type, charging head protocol, and pull-up / pull-down resistor value.

[0030] In this embodiment, the multi-interface inspection board is mounted in a casing 1. The multi-interface inspection board integrates a power / write shared Type-C interface 10, two Type-C cable inspection interfaces, namely a first inspection Type-C interface 3 and a second inspection Type-C interface 7, a Micro B 2.0 interface 5, a Micro B 3.0 interface 6, a Mini B 2.0 interface 8, a Type A 3.0 interface 4, and a Lightning inspection interface 9.

[0031] The casing 1 is further provided with a multi-stage inspection interface 2, a switch 11 and a button 12. The main control MCU is an STC32G12K128 microcontroller. The protocol analysis chip includes an FUSB302BMPX chip, and the I 2 It is connected to the main control MCU via the C bus and analyzes the CC1 / CC2 signals of the Type-C cable to read the E-Marker and charging head protocol data.

[0032] In this embodiment, the operation method of the on / off detection circuit is as follows: providing a preset level signal via the USB output terminal (OUT); Monitor the voltage changes of each pin of the USB input terminal (IN), Identifying pin combinations that provide fully functional signal paths; generating and outputting cable topology data to the LCD.

[0033] When detecting whether the USB cable is on or off, it checks the conductivity of the lead wires inside the cable, and both ends of the USB cable access the device's USB OUT and USB Input, respectively. The USB OUT interface provides a level signal, and the USB interface at the USB Input location branches off to the PCB to access the main control MCU. When the USB Input detects the level signal provided by the level USB OUT, it identifies the pin whose level signal has changed, and the MCU pin on the PCB connects to the corresponding USB interface pin to identify it. This identifies the signal wire inside the USB cable, and the MCU converts the data into characters and images, which are then displayed on the LCD.

[0034] In this embodiment, the internal resistance test circuit is a series voltage divider circuit consisting of a MOS tube Q3 and a 5.1Ω reference resistor R14 with an accuracy of ±1%. The gate of the MOS tube is controlled by the master controller module.

[0035] The operation method of the internal resistance inspection circuit is as follows: The master controller module triggers the MOS tube Q3 to turn on, and activates the MOS tube to form a series circuit with the power supply, the 5.1Ω resistor, and the cable VBUS, so that current flows sequentially through the MOS tube Q3, the resistor R14, and the cable VBUS path under test; Measuring the voltage difference ΔV of the series nodes; The internal resistance of the cable according to Ohm's law; and calculating R_cable=(V_measured×R14) / (V_source−V_measured), where V_source is the power supply voltage and V_measured is the measured voltage across R14.

[0036] When testing the internal resistance of a USB cable, Ohm's law is used to calculate the voltage drop when current flows through a resistor. When the USB cable is connected to the USB OUT and USB INPUT terminals, a button switches the LCD display page to the Resistance Test interface. After switching to the next page, the MCU applies a signal to the MOS transistor in the internal resistance test module to turn on the gate of the MOS transistor. The drain of the MOS transistor is connected to the power supply, the source to the 5.1 Ω resistor, and the other end of the resistor is connected to the USB INPUT terminal. When the MOS transistor is turned on, current flows from the MOS transistor to the 5.1 Ω resistor and then through the USB INPUT terminal to the USB OUT terminal. The USB cable functions as a resistor, and the two resistors connected in series can be used to calculate the unknown internal resistance of the cable from the existing resistance of the other. The measured value is the internal resistance of the VBUS power line of the USB cable. The line under test is not affected during testing. Measurement accuracy is affected by the accuracy of the 5.1Ω resistor, the test environment temperature, and the contact conditions when the cable accesses the USB OUT and USB Input. The 5.1Ω resistor is measured with an accuracy of 1%, and the higher the test environment temperature, the higher the internal resistance. Due to extensive testing, the accuracy error caused by the resistance accuracy and test environment temperature is small and can be ignored. The USB cable connection has the greatest impact on accuracy.

[0037] In this embodiment, the operation method of the E-Marker identification circuit is as follows: The main control MCU sends a detection command to the protocol analysis chip; The protocol analysis chip sends a USB-PD protocol inquiry message via CC1 / CC2 pin; Analyze the power supply capability data packet fed back from the E-Marker chip and 2 C to the main control MCU for protocol classification; The main control MCU extracts standard parameters such as voltage / current, charger protocol identification, wire type, wire delay, wire transmission speed, wire company, wire version number, wire protocol, etc., and generates a visualization report.

[0038] When the E-Marker identification circuit performs E-Marker inspection on a Type-C to Type-C cable, the USB identification chip on the PCB, FUSB302BMPX, identifies the E-Marker. When the product switches to the USB-C E-Marker interface by pressing a button, the MCU sends a read signal to the FUSB302BMPX. After reading the Type-C CC1 and CC2 signals, the FUSB302BMPX analyzes the CC1 and CC2 signals according to the USB protocol message established by the USB-IF, and then sends the I 2 The analyzed data is sent to the MCU via C. The MCU classifies the analyzed data and displays the information that needs to be displayed on the LCD.

[0039] In this embodiment, the operation method of the charging head identification circuit is as follows: The main control MCU sends a detection command to the protocol analysis chip; The protocol analysis chip sends a USB-PD protocol inquiry message via the CC1 / CC2 pin; Analyze the power supply capability data packet fed back from the charging head chip and 2 C to the main control MCU for protocol classification; The main control MCU extracts the voltage / current and charging protocol standard parameters supported by the charging head and generates a visualization report.

[0040] When the Type-C interface of the USB input is connected to the charging head via a data cable, the USB identification chip - FUSB302BMPX on the PCB identifies the charging head chip. When the product is switched to the charging head inspection interface by a button, the MCU sends a read signal to the FUSB302BMPX. After the FUSB302BMPX reads the signals of CC1 and CC2 of the charging head via the Type-C cable, it analyzes the signals of CC1 and CC2 according to the USB protocol message formulated by the USB-IF, and then transmits the data analyzed via I 2 C to the MCU. The MCU classifies the analyzed data and displays the information that needs to be displayed on the LCD.

[0041] In this embodiment, the pull-up / pull-down resistance detection circuit includes controlled MOS transistors Q4 and Q5 and fixed-value resistors R13 and R16. The master controller module determines the pull-up resistor or the pull-down resistor by switching the level states (pull-up / pull-down) of the GND pins of the Type-A and Type-C interfaces.

[0042] Also, the operation method of the pull-up / pull-down resistance detection circuit is connect the VBUS of the Type-A and Type-C interfaces to the ground and set the GND pin to a high-resistance state, and the master controller module turns on the MOS transistor Q4, applies a test voltage V_test to the CC line, and detects the voltage of the CC line, and when V_cc < V_source, it is determined that there is a pull-up resistor and calculate the resistance value, and when V_cc ≒ V_source, pull down the GND pin and perform re-detection, and when V_cc < V_source, it is determined that there is a pull-down resistor and calculate the resistance value, and includes.

[0043] When detecting pull-up / pull-down resistors on a Type-A to Type-C or Type-C to Type-C cable, Ohm's law is used. A MOS transistor is connected in series between a power supply and a fixed resistor, and the gate of the MOS transistor is connected to the MCU, which controls whether it is conductive or not. After the MCU applies a voltage level to the gate of the MOS transistor, the MOS transistor is connected in series to the power supply and resistor. If the other end of the resistor is connected to the CC line of the USB Input and the USB line accesses USB OUT and USB Input, the pull-up / pull-down resistor inside the CC line is connected in series to the resistor at the power supply, and Ohm's law is used to calculate the pull-up / pull-down resistance value. The following explains how to determine whether a pull-up / pull-down resistor is a pull-up or pull-down resistor. The VBUS of the USB OUT Type-A and Type-C connects to the power supply GND, and the GND of the USB OUT Type-A and Type-C connects to the MCU. To measure the resistance, the MCU pins connected to GND of Type-A and Type-C are floated, and the MCU turns on the MOS tube of the pull-up / pull-down resistor detection module. The CC line is connected in series to the corresponding power supply through a fixed-value resistor. In this case, the CC line is detected and if the voltage of the CC line is lower than the power supply voltage, it means that there is a pull-up resistor on the CC line. Furthermore, the MCU calculates the resistance of the pull-up resistor using Ohm's law. If the voltage of the CC line is the same as or close to the power supply voltage, it means that there is no pull-up resistor on the CC line. After detecting that there is no pull-up resistor on the CC line, the MCU lowers the level of the GND pin connected to Type-A / Type-C, allowing the CC line current to flow into the MCU. In this case, the CC voltage is detected, and if the voltage on the CC line is lower than the power supply voltage, then there is a pull-down resistor on the CC line; furthermore, the MCU calculates the pull-down resistor, and if the voltage on the CC line is the same as or close to the power supply voltage, then there is no pull-down resistor on this CC line.

[0044] In this embodiment, the human-computer interaction module includes a multi-stage test interface, which includes an on-off test interface that displays a topology map of the connection status of cable pins, a protocol test interface that displays the support status of USB 2.0 / 3.2 / PD protocols, an E-Marker test interface that displays the power standard and authentication information of the cable, a charging head detection interface that displays the power supply protocol supported by the charging head, a pull-up / pull-down resistance test interface that displays whether a CC line has a pull-up resistor or a pull-down resistor and outputs the resistance value, and an internal resistance test interface that displays the resistance value and pass threshold of the VBUS / GND line.

[0045] In this embodiment, the Lightning test interface does not support protocol analysis functions, but only supports on / off detection to test the continuity of the power line, data line, and ID line, and internal resistance detection to measure the resistance value of the VBUS line.

[0046] In addition, when testing a Lightning cable, the protocol of the Lightning cable is not identified, but the on / off status of the internal circuit of the Lightning cable and the internal resistance of the power line are checked. The integrated USB data line inspection device of the present invention uses the STC32G12K128 chip to convert information collected by the USB interface into intuitive images and text for display on the LCD, and also communicates with the protocol chip FUSB302BMPX. When the function is switched to E-Marker detection or charging head detection, it sends a detection command to the FUSB302BMPX. This allows the FUSB302BMPX to communicate with Type-C CC1 and CC2, and the Type-C and charging protocol charging head equipped with the E-Marker chip feeds back some data to the FUSB302BMPX, which then identifies and sends this data to the MCU. The MCU classifies the read data and displays the required data on the LCD display for user information.

[0047] An embodiment of the present invention further provides a USB data line testing method based on the integrated USB data line testing device, which includes on-off detection, internal resistance testing, E-Marker detection, charging head detection, and pull-up / pull-down resistor detection. The on / off detection includes the steps of accessing the USB OUT and USB Input interfaces at both ends of the cable under test, the master controller module outputting a level signal to the USB OUT, and the steps of monitoring the level changes of each pin of the USB Input and generating and displaying a lead wire connection topology map inside the cable. The internal resistance test includes the steps of: triggering and turning on the MOS tube Q3 of the internal resistance test circuit; sampling the voltage across the reference resistor R14; and calculating and displaying the internal resistance value of the cable VBUS path. The E-Marker detection and charger protocol identification includes the steps of the master controller module instructing the FUSB302BMPX chip to read the CC1 / CC2 signals; analyzing the USB PD message fed back from the USB charging head, and extracting and displaying the charging protocol and charging capability parameters supported by the charging head; and analyzing the USB PD message fed back from the E-Marker chip / charging head, and extracting and displaying the cable power capacity, data transmission capability parameters / charging head voltage / current / power, and supported protocols. The charging head detection includes the steps of the master controller module sending a charging head detection command to the FUSB302BMPX chip, the FUSB302BMPX chip communicating with the charging head via CC1 / CC2 signals to obtain charging head information, and the FUSB302BMPX chip feeding back USB PD messages to extract and display the charging head support protocol and voltage and current capability parameters. The pull-up / pull-down resistor detection includes determining the presence and resistance value of pull-up / pull-down resistors on the CC lines of Type-A to Type-C and Type-C to Type-C cables through level switching and voltage comparison.

[0048] In an embodiment of the present invention, in the on / off detection step, the master controller module monitors the level response of signal lines such as D+ / D- / CC to identify whether the cable function type is a charging line, a low-speed data line, or a high-speed data line.

[0049] In this embodiment, in the internal resistance testing step, if the environmental temperature exceeds 25° C., the master controller module automatically activates a temperature compensation algorithm to compensate the internal resistance value.

[0050] In this embodiment, the Lightning cable does not perform protocol analysis, but only performs on / off detection and VBUS internal resistance testing.

[0051] This invention is the first to integrate on / off detection, internal resistance testing, E-Marker identification, charging head detection, and pull-up / pull-down resistor detection into a single device, solving the problem of traditional testing requiring the cooperation of multiple devices and enabling multi-testing with a single device. It integrates seven interface types: Type-C, Micro B 2.0 / 3.0, Mini B 2.0, Type-A 3.0, and Lightning, enabling it to test most commercially available USB cable types. Internal resistance testing has low error, and pull-up / pull-down resistor detection prevents the reduction in charging efficiency caused by mismatch between the charging cable and charging head, reducing the rate of false positives. Users can complete the test operation with just three steps: plug in the cable, select the mode with a button, and read the results. This is convenient and fast, achieving high accuracy, efficiency, and versatility in USB data cable testing, and filling the technological gap in the field of portable, full-featured multi-interface testing devices.

[0052] The above are exemplary embodiments of the present invention, but various modifications and variations are possible without departing from the scope of the disclosed embodiments of the present invention, which is defined by the claims. The functions, steps, and / or actions of the method claims of the disclosed embodiments described herein do not have to be performed in any particular order. Furthermore, elements disclosed in the embodiments of the present invention may be described or summarized in individual form, but may be understood in the plural unless expressly limited to the singular.

[0053] Unless the context clearly supports an exception, the singular form "a" as used herein is intended to include the plural. It should also be understood that "and / or" as used herein refers to including any and all possible combinations of one or more of the associated listed items. Note that the numbering of the embodiments disclosed in the above-mentioned embodiments of the present invention is for illustrative purposes only and does not indicate the superiority or inferiority of the embodiments.

[0054] Those skilled in the art will understand that the above description of the embodiments is merely illustrative and does not imply that the disclosure scope of the embodiments of the present invention (including the claims) is limited to these examples. It should be understood that the technical features of the above embodiments or different embodiments can be combined under the concept of the embodiments of the present invention, and many other modifications to the above different aspects of the embodiments of the present invention are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the embodiments of the present invention are included in the scope of protection of the embodiments of the present invention. [Explanation of symbols]

[0055] 1 casing 2 Multi-stage inspection interface 3. First inspection Type-C interface 4 Type A 3.0 interface 5 Micro 2.0 interface 6 Micro 3.0 interface 7. Second inspection Type-C interface 8 Mini B 2.0 interface 9 Lightning Inspection Interface 10 Power supply / write shared Type-C interface 11 Switch 12 buttons

Claims

1. An integrated USB data line inspection device, comprising: a multi-interface test board integrating at least seven USB interface types and one Lightning interface; The main control MCU performs on / off detection, protocol analysis, and resistance calculation, and the protocol analysis chip performs I 2 a master controller module connected to the main control MCU via a C bus; an integrated detection module including an on-off detection circuit, an internal resistance test circuit, an E-Marker identification circuit, a charging head detection circuit, and a pull-up / pull-down resistor detection circuit, wherein the on-off detection circuit is connected to a USB output terminal and an input terminal pin, and the E-Marker identification circuit and the charging head detection circuit are connected to a protocol analysis chip CC pin; a dual-mode power supply module including an AAA battery pocket, an external Type-C power supply interface, and a power supply selector switch, supporting power supply by an AAA battery and power supply by an external Type-C power supply, and equipped with a mechanical power supply selector switch; and a human-computer interaction module including an LCD display and a function switching button for displaying an on-off topology map, an internal resistance value, E-Marker information, a data line protocol type, a charging head protocol, and pull-up / pull-down resistance values.

2. 2. The integrated USB data line inspection device of claim 1, wherein the multi-interface inspection board is integrated with a power / write shared Type-C interface, two Type-C cable inspection interfaces, a Micro B 2.0 interface, a Micro B 3.0 interface, a Mini B 2.0 interface, a Type A 3.0 interface, and a Lightning inspection interface.

3. The main control MCU is an STC32G12K128 microcontroller. The protocol analysis chip includes a FUSB302BMPX chip, 2 The integrated USB data line inspection device of claim 1, which is connected to a main control MCU via a C bus and analyzes the CC1 / CC2 signals of the Type-C cable to read the E-Marker and charging head protocol.

4. The operation method of the on / off detection circuit includes: providing a preset level signal via a USB output; Monitor the voltage changes of each pin of the USB input terminal, identifying pin combinations that provide signal paths; 4. The integrated USB data line inspection device according to claim 3, further comprising: generating cable topology data and outputting the generated data to an LCD.

5. The internal resistance test circuit is a series voltage divider circuit consisting of a MOS tube Q3 and a 5.1Ω reference resistor R14 with an accuracy of ±1%.

2. The integrated USB data line testing device of claim 1, wherein the gates of the MOS tubes are controlled by a master controller module.

6. The operation method of the internal resistance inspection circuit includes: The master controller module triggers the MOS tube Q3 to turn on, and activates the MOS tube to form a series circuit with the power supply, the 5.1 Ω resistor, and the cable VBUS, thereby allowing current to flow sequentially through the MOS tube Q3, the resistor R14, and the cable VBUS path under test; Measuring a series node voltage difference ΔV; According to Ohm's law, the cable internal resistance is: Calculating R_cable=(V_measured*R14) / (V_source-V_measured); Including, 6. The integrated USB data line testing device of claim 5, wherein V_source is the power supply voltage and V_measured is the measured voltage across R14.

7. The operation method of the E-Marker identification circuit is as follows: The main control MCU sends a detection command to the protocol analysis chip; The protocol analysis chip sends a USB-PD protocol inquiry message via the CC1 / CC2 pin; Analyze the power supply capability data packet fed back from the E-Marker chip and 2 C to the main control MCU for protocol classification; The integrated USB data cable inspection device of claim 6, further comprising: a main control MCU extracting voltage / current, charger protocol identification, cable type, cable delay, cable transmission speed, cable manufacturer, cable version number, and cable protocol standard parameters to generate a visualization report.

8. The pull-up / pull-down resistor detection circuit includes controlled MOS tubes Q4 and Q5 and fixed-value resistors R13 and R16; 2. The integrated USB data line inspection device according to claim 1, wherein the master controller module determines whether a pull-up resistor or a pull-down resistor exists by switching the level state of the GND pins of the Type-A and Type-C interfaces.

9. The operation method of the pull-up / pull-down resistor detection circuit includes: Connecting the VBUS of the Type-A and Type-C interfaces to ground and setting the GND pins to a high resistance state; The master controller module turns on the MOS tube Q4, applies a test voltage V_test to the CC line, and detects the CC line voltage; If V_cc<V_source, determining that a pull-up resistor is present and calculating the resistance value; If V_cc≈V_source, pull down the GND pin and perform redetection; 9. The integrated USB data line testing device of claim 8, further comprising: determining that a pull-down resistor is present and calculating a resistance value if V_cc<V_source.

10. A USB data line inspection method based on the integrated USB data line inspection device according to any one of claims 1 to 9, comprising: Includes on / off detection, internal resistance test, E-Marker detection, charging head detection and pull-up / pull-down resistor detection. The on / off detection is Accessing both ends of the cable under test to the USB OUT and USB Input interfaces; the master controller module outputs a level signal to the USB OUT; monitoring the level changes of each pin of the USB Input and generating and displaying a lead wire connection topology map inside the cable; The internal resistance test is Triggering on the MOS tube Q3 of the internal resistance test circuit; and collecting the voltage across the reference resistor R14 and calculating and displaying the internal resistance of the cable VBUS path. The E-Marker detection and charger protocol identification the master controller module instructing the FUSB302BMPX chip to read the CC1 / CC2 signals; Analyzing the USB PD message fed back from the USB charging head, extracting and displaying the charging protocol and charging capability parameters supported by the charging head; Analyzing the USB PD message fed back from the E-Marker chip / charging head, and extracting and displaying the cable power capacity, data transmission capability parameters / charging head voltage / current / power, and supported protocols; The charging head detection The method includes the steps of: the master controller module sending a charging head detection command to the FUSB302BMPX chip; the FUSB302BMPX chip communicating with the charging head through CC1 / CC2 signals to obtain charging head information; the FUSB302BMPX chip feeding back a USB PD message, and extracting and displaying the charging head support protocol, voltage and current capability parameters; The pull-up / pull-down resistor detection includes: A method for testing a USB data line, comprising the steps of determining the presence and resistance value of pull-up / pull-down resistors on the CC lines of Type-A to Type-C and Type-C to Type-C cables by level switching and voltage comparison.

Citation Information

Patent Citations

  • Tester for USB data line

    CN104459386A

  • Inspection method and inspection device for USB standard communication function

    JP2004030172A

  • Auto Testing Apparatus for USB Keyboard

    KR1020180051906A

  • Apparatus and method for testing universal serial bus communication

    US20030056036A1

  • Universal serial bus testing device

    US20140304555A1