Data line self-checking device with two forms

By designing a self-testing device with two types of data cables, the problem of lack of input detection in chargers and adapters is solved, enabling the evaluation and real-time feedback of data cable quality, improving charging safety and efficiency, and preventing overheating and fire risks.

CN223941007UActive Publication Date: 2026-02-24DONGGUAN AOHAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423276031.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2026-02-24
Estimated Expiration
2034-12-27

AI Technical Summary

Technical Problem

Existing chargers and adapters lack the ability to detect the input of data cables, making it difficult for users to judge the quality of the data cables, which may lead to low charging efficiency, overheating, or even fire risks.

Method used

Design a data cable self-test device with two forms, including a power supply unit, a power conversion unit, a bidirectional protocol control unit, a control unit, a display module, and an interface, to evaluate the data cable quality by detecting voltage differences and provide real-time feedback.

Benefits of technology

It enables self-testing of the charging connection harness to ensure safety, optimize charging efficiency, prevent overheating and fire accidents, and provide a fast, stable and safe charging experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223941007U_ABST
    Figure CN223941007U_ABST
Patent Text Reader

Abstract

The utility model discloses a data line self-checking device with two forms. The data line self-checking device comprises a power supply unit, a power supply conversion unit, a bidirectional protocol control unit, a first interface and a second interface, the power unit is connected with the power conversion unit; the power conversion unit is connected with the first interface; the power supply unit is connected with the bidirectional protocol control unit; the bidirectional protocol control unit is connected with the second interface; two ends of the data line are respectively connected with the first interface and the second interface; wherein the first interface comprises a TYPE-A interface. By implementing the device provided by the utility model, the self-inspection of the wire harness in charging connection can be realized, the comprehensive high-performance charging experience from enhancing the safety, optimizing the charging efficiency and preventing overheating and fire accidents is ensured, and the rapid and stable safe charging is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of data cable technology, and in particular to a data cable self-testing device with two forms. Background Technology

[0002] Most chargers and adapters on the market today, regardless of whether they have USB 1A, USB 2C, or other types of USB ports, primarily function only to provide power output to mobile phones and other devices. The USB 1A or USB 2C ports on these devices typically only have output capabilities and lack input detection. This means they cannot assess the status of the connected data cable, such as internal resistance and voltage drop, leading to a series of problems. For example, due to the wide variation in the quality of data cables on the market—prices can differ by hundreds of times from low-quality to high-quality—users often find it difficult to determine whether the data cable they are using is suitable for high-power charging. When high-power chargers (35W to 300W) are used with low-quality data cables, not only will charging efficiency be low, but there is also a risk of fire due to overheating. In some cases, a faulty data cable may even prevent the charging process or damage the device being charged, such as a smartphone, tablet, or laptop.

[0003] Therefore, it is necessary to design a new device to perform self-testing on the charging connection harness, ensuring a comprehensive high-performance charging experience that enhances safety, optimizes charging efficiency, and prevents overheating and fire accidents, thereby achieving fast and stable safe charging. Utility Model Content

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a data cable self-testing device with two forms.

[0005] To solve the above-mentioned technical problems, the purpose of this utility model is achieved through the following technical solution: A data cable self-test device with two forms is provided, comprising: a power supply unit, a power conversion unit, a bidirectional protocol control unit, a first interface, and a second interface; the power supply unit is connected to the power conversion unit; the power conversion unit is connected to the first interface; the power supply unit is connected to the bidirectional protocol control unit; the bidirectional protocol control unit is connected to the second interface; both ends of the data cable are respectively connected to the first interface and the second interface; the power conversion unit is connected to the bidirectional protocol control unit; wherein, the first interface includes a TYPE-A interface.

[0006] The further technical solution is as follows: the power supply unit includes an AD-DC charger.

[0007] The further technical solution is as follows: the power conversion unit includes a BUCK chip with a fast charging protocol integrated within it.

[0008] The further technical solution is as follows: the bidirectional protocol control unit includes a PD bidirectional protocol control chip, a BUCK-BOOST converter, and a switching device. The PD bidirectional protocol control chip is connected to the BUCK-BOOST converter and the second interface respectively. The BUCK-BOOST converter is connected to the switching device, the BUCK chip, and the second interface respectively. The switching device is connected to the BUCK chip and the second interface respectively.

[0009] The further technical solution is as follows: the bidirectional protocol control unit includes a second BUCK chip with integrated PD bidirectional protocol and a switching device, the second BUCK chip is connected to the switching device, the BUCK chip and the second interface respectively; the switching device is connected to the BUCK chip and the second interface respectively.

[0010] The further technical solution is as follows: the second interface includes a TYPE-C interface.

[0011] The further technical solution includes: a control unit and a display module, wherein the control unit is connected to the power conversion unit and the display module respectively.

[0012] The further technical solution is as follows: the control unit is connected to a touch switch, and one end of the touch switch is grounded.

[0013] The further technical solution is as follows: the switching device includes a MOSFET.

[0014] The further technical solution is as follows: the display module includes a display screen.

[0015] The advantages of this invention compared to existing technologies are as follows: This invention integrates a power supply unit, a power conversion unit, a bidirectional protocol control unit, a control unit, a display module, a first interface, and a second interface. When the user inserts both ends of the data cable into the first and second interfaces respectively (specifically, the data cable is a TYPE-A cable with one end and a TYPE-C cable), the power supply unit supplies power to the system and adjusts the voltage through the power conversion unit to ensure compatibility with connected devices. Simultaneously, the bidirectional protocol control unit coordinates the fast charging protocol to achieve optimal power transmission. The control unit monitors the entire process and evaluates the data cable quality by detecting the voltage difference between input and output. The results are presented intuitively to the user through the display module, enabling self-testing of the charging connection cable and ensuring a comprehensive high-performance charging experience, from enhanced safety and optimized charging efficiency to prevention of overheating and fire accidents, achieving fast and stable safe charging.

[0016] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description

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

[0018] Figure 1 A schematic block diagram of a data cable self-testing device with two forms provided for embodiments of this utility model;

[0019] Figure 2 A detailed circuit diagram of a data cable self-testing device with two forms provided for embodiments of this utility model;

[0020] Figure 3 A schematic diagram of a data cable self-testing device with two forms provided for an embodiment of this utility model;

[0021] Figure 4 A detailed circuit diagram of a data cable self-testing device with two forms is provided for another embodiment of this utility model;

[0022] Explanation of the markings in the image:

[0023] 10. Power supply unit; 20. Power conversion unit; 30. Bidirectional protocol control unit; 40. Control unit; 50. Display module; 60. First interface; 70. Second interface. Detailed Implementation

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

[0025] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0026] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0027] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0028] Most chargers and adapters currently lack input detection functionality for the connected data cable, making it impossible to assess the cable's quality and electrical performance. Due to the inconsistent quality of data cables on the market, users struggle to determine their suitability for high-power charging, potentially leading to inefficient charging or device damage. Using a low-quality data cable with a high-power charger can cause overheating or even fire hazards. Devices lacking input detection functionality cannot effectively avoid these safety risks, impacting the reliability and safety of the charging process.

[0029] To address this, this utility model provides a data cable self-testing device with two types of cables, enabling self-testing of the charging connection harness and ensuring a comprehensive high-performance charging experience that enhances safety, optimizes charging efficiency, and prevents overheating and fire accidents, achieving fast and stable safe charging.

[0030] Specifically, a data cable self-test device with two configurations provides a stable power supply through a power supply unit 10 and a power conversion unit 20, providing a voltage signal for the testing process. A bidirectional protocol control unit 30 coordinates the current flow and ensures circuit closure via a switching element, initiating the self-test process to check the data cable's connectivity. The power conversion unit 20 evaluates the data cable's charging capability and performance based on the voltage difference in the closed loop and known standards. The performance data is transmitted to a display module 50 via a control unit 40, providing real-time feedback and displaying the data cable's health status and charging efficiency. This self-test process ensures stable charging connection, optimizes charging efficiency, reduces overheating and fire hazards, and improves charging safety and reliability.

[0031] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0032] Please see Figure 1 , Figure 1This is a schematic block diagram of a data cable self-testing device with two forms provided in an embodiment of the present utility model. The device can be used in a charger to perform self-testing on the charging connection harness, ensuring a comprehensive high-performance charging experience from enhanced safety and optimized charging efficiency to prevention of overheating and fire accidents, and achieving fast and stable safe charging.

[0033] The aforementioned data cable self-test device with two types includes: a power supply unit 10, a power conversion unit 20, a bidirectional protocol control unit 30, a control unit 40, a display module 50, a first interface 60, and a second interface 70; the power supply unit 10 is connected to the power conversion unit 20; the power conversion unit 20 is connected to the first interface 60; the power supply unit 10 is connected to the bidirectional protocol control unit 30; the bidirectional protocol control unit 30 is connected to the second interface 70; the control unit 40 is connected to both the power conversion unit 20 and the display module 50; the two ends of the data cable are connected to the first interface 60 and the second interface 70, respectively; the power conversion unit 20 is connected to the bidirectional protocol control unit 30.

[0034] The first interface 60 includes a TYPE-A interface. By integrating the TYPE-A interface, the first interface 60 can be compatible with more types of charging devices and data cables, and supports data cable connections from TYPE-A to TYPE-C, thereby expanding the application scope of the self-test function.

[0035] In this embodiment, the data cable has two main forms:

[0036] This is a dual-ended Type-C data cable, suitable for connecting two devices that support the Type-C interface.

[0037] This data cable has a TYPE-A interface on one end and a TYPE-C interface on the other, making it suitable for connecting traditional USB devices with newer TYPE-C devices.

[0038] The device in this embodiment is based on the following principle:

[0039] During charging, the protocol chip is responsible for monitoring and managing voltage and current. For dual-ended Type-C interface data cables, when both ends are connected, the protocol chip can provide a specific voltage (such as 5V or 9V) and monitor the loop status transmitted through the cable to the other end and back to the protocol chip. This process involves the following steps:

[0040] First, such as Figure 3 As shown, the protocol chip detects whether a complete loop is formed between terminals A and B. The self-test program will only be initiated after the loop is confirmed to be established.

[0041] Once the loop is established, the system will select a fixed current value (e.g., within the range of 0.5 to 3A) for testing and apply the corresponding voltage (e.g., 5V).

[0042] Since a fixed current value is chosen, according to Ohm's law (U=I*R), the resistance of the wire harness can be calculated by measuring the voltage difference between terminals A and B. Different wire harness qualities will result in different resistance values, thus affecting the final voltage at terminal B.

[0043] By comparing the voltage difference between terminals A and B or by directly measuring the resistance, the protocol IC can assess the condition of the harness and determine whether it is suitable for the current charging requirements.

[0044] Specifically, the quality of a wire harness is judged based on its maximum operating current capacity and corresponding internal resistance, typically expressed using the AWG (American Wire Gauge) standard. The following are specific evaluation methods for different grades of wire harnesses:

[0045] Using an AWG17 specification wire harness, the designed operating current exceeds 4.1A, and the internal resistance is 16.3Ω / Km. For a one-meter-long wire harness, under ideal conditions of 5V / 3A, the voltage measured at terminal B should be close to 4.951V or higher. This indicates that the wire harness has low resistance characteristics and is the optimal choice.

[0046] For AWG18 specification wire harnesses, the operating current range is above 3.2A, and the internal resistance is 21.4Ω / Km. Under the same conditions, if the voltage measured at terminal B is between 4.938V and 4.950V, the wire harness is considered to be of ordinary grade.

[0047] The AWG19 specification wire harness is suitable for applications with a working current of 2.6A or higher, and has an internal resistance of 26.9Ω / Km. If the voltage at terminal B is lower than 4.919V or between 4.919V and 4.937V, it indicates that the wire harness is of poor quality and may not be suitable for high-efficiency charging requirements.

[0048] In summary, the device in this embodiment achieves effective self-testing of the charging harness through precise voltage and current control and impedance measurement technology, ensuring a safe and efficient charging experience. Furthermore, with clear evaluation criteria, users can easily identify the quality level of the charging harness and select the most suitable charging accessory for their device.

[0049] Specifically, power supply unit 10 provides stable and safe AC-DC conversion suitable for an input voltage range of 96V to 240V. It powers the entire system and ensures that the output voltage is suitable for downstream components.

[0050] The power conversion unit 20 is responsible for adjusting the power supplied by the power unit 10 to an appropriate level to support the needs of other circuits, especially the operation of the bidirectional protocol control unit 30. It also calculates the voltage difference value by detecting the relevant voltage value during the self-test process and transmits the result to the control unit 40.

[0051] The bidirectional protocol control unit 30 includes one or more protocol chips (such as PD, QC, AFCS, etc.) and a BUCK or BUCK-BOOST converter. It can communicate with external devices via a TYPE-C interface, recognizing and responding to various fast charging protocols. The TYPE-C interface is bidirectional, functioning as both an input and an output.

[0052] The control unit 40 is composed of a single chip and is used to receive the results and feed them back to the display module 50.

[0053] Test results can be visually displayed to users using LEDs or other forms of displays. For example, different colors or patterns of LEDs can be used to indicate the status of a data cable (best, average, poor).

[0054] The first interface 60 (TYPE-A) and the second interface 70 (TYPE-C) allow the data cable under test to be connected to the self-test device. They are designed to conform to the USB Type-C standard and correctly map internal pins to the corresponding protocol chip pins to facilitate the execution of the handshake protocol.

[0055] In one embodiment, the power supply unit 10 includes an AC-DC charger. In this embodiment, the power supply unit 10 mainly consists of an AC-DC charger designed to accept a wide range of AC input voltages, i.e., AC 96V to 240V. This wide input voltage range makes the charger suitable for different power standards worldwide. The main task of the AC-DC charger is to convert AC power to DC power, providing the necessary power support for the entire self-test device.

[0056] AC-DC chargers pass through Figure 2 The connection point marked VIN is connected to the entire device. This connection point is the energy entry point for the entire circuit, ensuring that power from the external power grid can be safely and stably transmitted to subsequent modules. To achieve efficient energy conversion, the AC-DC charger employs advanced power conversion technologies, such as using a high-frequency switching mode power supply to improve efficiency and reduce size.

[0057] In one embodiment, please refer to Figure 2The aforementioned power conversion unit 20 includes a BUCK chip with integrated fast charging protocols. This BUCK chip not only performs buck charging (i.e., reducing the output voltage from a higher input voltage to a lower output voltage), but also has built-in support for various fast charging protocols, such as PD (Power Delivery), QC (QuickCharge), AFCS (Adaptive Fast Charging System), FCP (Fast Charging Protocol), SCP (Super Charge Pump), and PPS (Programmable Power Supply). This means that when the TYPE-C1 or TYPE-C2 port is connected to a device that supports these protocols, it can automatically identify the supported protocols and negotiate the most suitable charging parameters, such as voltage and current levels.

[0058] Specifically, when an external power source is connected to VIN, it is converted into a DC voltage suitable for system operation by an AC-DC charger. This DC voltage is then passed to the BUCK chip in the power conversion unit 20. Based on the requirements of the actual application scenario, the BUCK chip adjusts its output voltage to an appropriate value to meet the requirements of the downstream load. If the connected device supports a fast charging protocol, the BUCK chip will communicate with it via a TYPE-C interface to set the optimal charging conditions according to a mutually agreed-upon protocol.

[0059] During the self-test process, the BUCK chip also participates in building the test circuit to help measure the resistance of the data line and thus assess its quality.

[0060] In one embodiment, please refer to Figure 2 The aforementioned bidirectional protocol control unit 30 includes a PD bidirectional protocol control chip, a BUCK-BOOST converter, and a switching element. The PD bidirectional protocol control chip is connected to the BUCK-BOOST converter and the second interface 70, respectively. The BUCK-BOOST converter is connected to the switching element, the BUCK chip, and the second interface 70, respectively. The switching element is connected to the BUCK chip and the second interface 70, respectively.

[0061] In this embodiment, the PD bidirectional protocol control chip supports bidirectional power transmission, meaning it can not only receive power from an external power source but also output power to other devices. This chip is connected to the BUCK-BOOST converter and the second interface 70, respectively, exchanging data via a high-speed communication bus to achieve intelligent power management. For example, the PD bidirectional protocol control chip plays a crucial role when the self-test device is acting as a charger for other devices, or when power needs to be obtained from an external power source.

[0062] A BUCK-BOOST converter is a DC-DC converter capable of boosting or reducing the input voltage to different levels. It connects not only to a PD bidirectional protocol control chip but also to switching components, a BUCK chip, and a second interface 70. This design allows the BUCK-BOOST converter to adjust its output voltage according to actual conditions to meet the needs of downstream loads. When a higher voltage is required, it performs a boost operation; when a lower voltage is required, it performs a buck operation. Furthermore, because it is connected to the BUCK chip, the two can work together to optimize the overall system's energy conversion efficiency.

[0063] As a crucial component of the circuit, the switching element controls the selection of the current path. It connects to the BUCK chip and the second interface 70, allowing the system to choose the most suitable power path based on actual needs. For example, in some situations, direct power from an AC-DC charger may be necessary, while in others, power converted by BUCK-BOOST is more suitable for the current task. The presence of the switching element increases the system's flexibility, enabling it to quickly switch between different modes.

[0064] When the system operates as a charger, the PD bidirectional protocol control chip first establishes a connection with the external device and negotiates to determine the optimal charging parameters. Based on the negotiation results, the BUCK-BOOST converter adjusts its output voltage to ensure that the power supplied to the external device is both safe and efficient.

[0065] If a change in the power path or adjustment of the output voltage is required, the switching components will operate under the instructions of the PD bidirectional protocol control chip, selecting the appropriate circuit configuration. During the self-test process, the BUCK-BOOST converter also participates in the test loop to help evaluate parameters such as data line resistance, ensuring the normal operation of the overall system.

[0066] Through this design, the bidirectional protocol control unit 30 not only achieves good compatibility with different types of equipment, but also enhances system reliability and security while improving energy conversion efficiency. Furthermore, the integrated solution helps reduce space occupation on the PCB board, facilitating product miniaturization, simplifying wiring, and reducing production costs.

[0067] In one embodiment, please refer to Figure 2 The first interface 60 mentioned above includes a TYPE-A interface, specifically a type-a interface.

[0068] In one embodiment, please refer to Figure 2 The second interface 70 mentioned above includes a TYPE-C interface, specifically a type-c interface.

[0069] The second interface, 70, is a Type-C interface, responsible for providing power output or exchanging data with external devices. Similarly, it conforms to the Type-C standard and is compatible with various types of terminal devices, ensuring a wide range of applications.

[0070] In one embodiment, please refer to Figure 2 The aforementioned display module 50 includes a display screen.

[0071] In one embodiment, please refer to Figure 2 The aforementioned switching device includes MOSFET Q1. A MOSFET is a field-effect transistor that acts as a switch in a circuit, controlling the selection of the current path to achieve switching between different operating modes.

[0072] In one embodiment, please refer to Figure 2 The aforementioned display module 50 also includes LED lights.

[0073] The display screen visually presents system status, settings options, and other information to the user. This allows users to easily monitor and manage the device's operating parameters.

[0074] LED lights, as auxiliary indicator devices, can convey key status information, such as power connection status and charging progress, in a simple and direct way. This visual feedback is crucial for improving the user experience.

[0075] In one embodiment, the control unit is connected to a touch switch S1, one end of which is grounded. This allows the user to select whether to initiate a self-test of the data cable.

[0076] Specifically, please refer to Figure 2 The aforementioned BUCK chip is connected to the first interface 60 via resistor RCS1; the aforementioned BUCK-BOOST converter is connected to the second interface 70 via resistor RCS2; and the MOSFET Q1 is connected to the second interface 70 via resistor RS.

[0077] The BUCK chip is connected to the first interface 60 (i.e., type-C1) via resistor RCS1. Resistor RCS1 serves as a current limiter here, protecting the circuit from overload damage while also helping to stabilize the input voltage and ensure the normal operation of the BUCK chip.

[0078] The BUCK-BOOST converter connects to the second interface 70 (i.e., type-C2) via resistor RCS2. Similarly, resistor RCS2 helps to adjust and stabilize the output voltage, ensuring the safety and reliability of power supply to external devices.

[0079] The MOSFET Q1 is connected to the second interface 70 via a resistor RS. Resistor RS not only helps control the operating state of the MOSFET but also provides necessary electrical isolation to prevent potential short circuits or other abnormal conditions from affecting the entire system.

[0080] Please see Figure 2 The microcontroller in the diagram refers to control unit 40. The workflow of the entire device is as follows:

[0081] VIN indicates the power source obtained from an AC96V~240V AC-DC charger.

[0082] The TYPE-A interface (pins 2 and 3 are connected to the DPA and DMA pins of the protocol + BUCK chip respectively) communicates with the corresponding fast charging protocol on the mobile phone or computer via a data cable.

[0083] The BUCK chip adjusts the output of the AC-DC charger based on the handshake result to provide the appropriate voltage and current to the connected device.

[0084] The TYPE-C interface not only supports use as an output terminal, but also supports input functions, thanks to its built-in PD bidirectional protocol control chip and BUCK-BOOST converter.

[0085] Pins 5, 6, 7, 8, and 9 of the TYPE-C interface are connected to the PD bidirectional protocol control chip and the CCB1, CCB2, DPB, and DMB pins of the BUCK-BOOST converter, respectively. They can also handshake with the terminal device via the data line, and the protocol chip adjusts the output parameters of the AC-DC charger accordingly.

[0086] When a data cable with a TYPE-A interface on one end and a TYPE-C interface on the other end is connected to this device, the data cable can be self-tested through the following steps:

[0087] VOUT1 connects to pins 3, 4, 13, and 14 of the TYPE-C interface via pin 1 of the TYPE-A interface, thus reaching pin G of the microcontroller. Simultaneously, VOUT2 also forms a loop through these paths.

[0088] When the user presses the touch switch S1, the microcontroller, or control unit, sends an electrical signal to turn on the MOSFET Q1, short-circuiting it to ground. At this time, the current in the data line will return to the VOUT2 pin of the protocol + BUCK chip through the ground of VOUT2, while VOUT1 is connected to the other VOUT1 pin of the protocol + BUCK chip, forming a closed loop.

[0089] The BUCK chip measures the voltage difference between VOUT1 and VOUT2, ΔV = VOUT1 - VOUT2, and can calculate the resistance value of the data line to determine the quality of the data line, including "best", "average" or "poor".

[0090] Finally, the judgment information is transmitted to the microcontroller through the SCL and SDA pins of the BUCK chip, and the status of the data cable is displayed intuitively by LED lights, allowing users to understand the quality of the data cable at a glance.

[0091] Through the above design, the device can not only efficiently manage and distribute power, but also accurately assess the quality of the connected data cable using a built-in self-testing mechanism without relying on external devices, providing users with immediate feedback. This design not only improves the system's intelligence but also brings great convenience to users.

[0092] In another embodiment, please refer to Figure 4 The difference between this embodiment and the previous embodiment is that:

[0093] The bidirectional protocol control unit 30 of this embodiment includes a second BUCK chip with integrated PD bidirectional protocol and a switching device. The second BUCK chip is connected to the switching device, the BUCK chip, and the second interface. The switching device is connected to the BUCK chip and the second interface. The model of the second BUCK chip is, but is not limited to, SW3561; the model of the BUCK chip is, but is not limited to, SW3561; and the model of the microcontroller is, but is not limited to, MC9959.

[0094] In this embodiment, the second BUCK chip has built-in support for the PD bidirectional protocol, enabling it to handshake with different external devices and determine optimal charging parameters. It also features voltage conversion capabilities, adjusting the output voltage based on the handshake result to meet the needs of different devices. This achieves bidirectional power transmission, meaning it can not only act as a power output terminal to supply power to other devices but also receive power from external devices when needed.

[0095] The second BUCK chip is connected to the switching device, and determines the direction and path of power flow by controlling the state of the switching device.

[0096] The second BUCK chip is connected to the BUCK chip to facilitate information exchange and coordination between the two, ensuring the stable operation of the entire system.

[0097] The second BUCK chip is directly connected to the second interface 70, allowing it to directly manage the power supply to external devices or obtain power from external devices.

[0098] The second BUCK chip controls the switching of states to selectively connect or disconnect various parts of the circuit, thereby achieving directional control of power flow. It supports a bidirectional operating mode, allowing for flexible adjustment of power flow direction according to actual needs.

[0099] The second BUCK chip is connected to both the BUCK chip and the second interface 70, forming a complete power path from input to output or in reverse. Signal cascading exists between the second BUCK chip and the BUCK chip, ensuring the accuracy and timeliness of the switching action.

[0100] When the system is in self-test mode, the second BUCK chip is responsible for setting appropriate test conditions and establishing the necessary test loops by controlling the switches. For example, during the data line quality test, the second BUCK chip instructs the switches to close specific circuit branches, forming a loop between VOUT1 and VOUT2. At this time, the quality of the data line can be evaluated by measuring the voltage difference between the two points. Afterward, the BUCK chip sends the processed results to the control unit 40, which is then presented to the user by the display module 50.

[0101] The workflow of the device in this embodiment is as follows:

[0102] VIN indicates the power source from the AC96V~240V AC-DC charger. The TYPE-A interface (pins 2 and 3 connect to the DPA and DMA pins of the BUCK chip respectively) communicates with the corresponding fast charging protocol on the mobile phone or computer via a data cable. After the handshake is complete, the BUCK chip instructs the AC-DC charger to adjust its output to provide appropriate voltage and current to the connected device.

[0103] Thanks to the adoption of the PD bidirectional protocol and the BUCK-BOOST bidirectional protocol control unit, the TYPE-C interface not only supports use as an output terminal, but also has an input function.

[0104] The TYPE-C interface (pins 5, 6, 7, 8, and 9 are connected to the CCB1, CCB2, DPB, and DMB pins of the protocol + BUCKBOOST chip, respectively) can also handshake with the terminal device via the data line, and the protocol chip adjusts the output parameters of the AC-DC charger accordingly.

[0105] When a data cable with a TYPE-A interface on one end and a TYPE-C interface on the other end is connected to this system, the following steps can be used to automatically detect the status of the data cable:

[0106] VOUT1 connects to pins 3, 4, 13, and 14 of the TYPE-C2 interface via pin 1 of the TYPE-A interface, thus reaching pin G of the microcontroller. Simultaneously, VOUT2 also forms a loop through these paths, ready for differential pressure measurement.

[0107] When the user lightly touches the touch switch S1, the microcontroller will send an electrical signal to turn on the MOSFET Q1, short-circuiting it to ground. At this time, the current in the data line will return to the VOUT2 pin of the protocol + BUCK chip through the ground of VOUT2, while VOUT1 is connected to the other VOUT1 pin of the protocol + BUCK chip, thus forming a complete current loop.

[0108] By measuring the voltage difference between VOUT1 and VOUT2 (ΔV = VOUT1 - VOUT2), the resistance value of the data line can be calculated, thereby judging the quality of the data line, including: "best", "average" or "poor".

[0109] Finally, the BUCK chip transmits the aforementioned judgment information to the microcontroller via its SCL and SDA pins. The microcontroller then controls the state of the LEDs via its own SCL and SDA pins, visually displaying the quality level of the data line.

[0110] Please see Figure 2 The BUCK chip mentioned above is of the model number, but is not limited to, SW3561; the PD bidirectional protocol control chip is of the model number, but is not limited to, SW2505; the BUCK-BOOST converter is of the model number, but is not limited to, SW3203; and the microcontroller is of the model number, but is not limited to, MC9959.

[0111] The aforementioned self-test device for data cables with two types of connectors integrates a power supply unit 10, a power conversion unit 20, a bidirectional protocol control unit 30, a control unit 40, a display module 50, a first interface 60, and a second interface 70. When the user inserts both ends of the data cable into the first interface 60 and the second interface 70 respectively (specifically, the data cable is a TYPE-A cable with one end and a TYPE-C cable), the power supply unit 10 supplies power to the system, and the power conversion unit 20 adjusts the voltage to ensure compatibility with connected devices. Simultaneously, the bidirectional protocol control unit 30 coordinates the fast charging protocol to achieve optimal power transmission. The control unit 40 monitors the entire process and evaluates the data cable quality by detecting the voltage difference between input and output. The results are presented intuitively to the user via the display module 50, enabling self-testing of the charging connection cable and ensuring a comprehensive high-performance charging experience, from enhanced safety and optimized charging efficiency to prevention of overheating and fire accidents, achieving fast and stable safe charging.

[0112] The above description is merely a specific embodiment of this utility model, but the protection scope of this utility model is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this utility model, and these modifications or substitutions should all be covered within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.

Claims

1. A data cable self-testing device with two types of functions, characterized in that, include: The system includes a power supply unit, a power conversion unit, a bidirectional protocol control unit, a first interface, and a second interface; the power supply unit is connected to the power conversion unit; the power conversion unit is connected to the first interface; the power supply unit is connected to the bidirectional protocol control unit; the bidirectional protocol control unit is connected to the second interface; both ends of a data cable are connected to the first interface and the second interface, respectively; the power conversion unit is connected to the bidirectional protocol control unit; wherein, the first interface includes a TYPE-A interface.

2. The data cable self-test device with two forms according to claim 1, characterized in that, The power supply unit includes an AD-DC charger.

3. The data cable self-test device with two forms according to claim 1, characterized in that, The power conversion unit includes a BUCK chip with an integrated fast charging protocol.

4. A data cable self-test device with two forms according to claim 3, characterized in that, The bidirectional protocol control unit includes a PD bidirectional protocol control chip, a BUCK-BOOST converter, and a switching device. The PD bidirectional protocol control chip is connected to the BUCK-BOOST converter and the second interface, respectively. The BUCK-BOOST converter is connected to the switching device, the BUCK chip, and the second interface, respectively. The switching device is connected to the BUCK chip and the second interface, respectively.

5. A data cable self-test device with two forms according to claim 3, characterized in that, The bidirectional protocol control unit includes a second BUCK chip with integrated PD bidirectional protocol and a switching device. The second BUCK chip is connected to the switching device, the BUCK chip and the second interface respectively. The switching device is connected to the BUCK chip and the second interface respectively.

6. A data cable self-test device with two forms according to any one of claims 1 to 5, characterized in that, The second interface includes a TYPE-C interface.

7. A data cable self-test device with two forms according to any one of claims 1 to 5, characterized in that, Also includes: The control unit and the display module are respectively connected to the power conversion unit and the display module.

8. A data cable self-test device with two forms according to claim 7, characterized in that, The control unit is connected to a touch switch, one end of which is grounded.

9. A data cable self-test device with two forms according to claim 4 or 5, characterized in that, The switching device includes a MOSFET.

10. A data cable self-test device with two forms according to claim 7, characterized in that, The display module includes a display screen.