Data line self-checking device and working method thereof

By designing a data cable self-test device, using power supply unit, power conversion unit, bidirectional protocol control unit, control unit and display module, the problem that existing chargers cannot detect data cable quality is solved, and a safe and efficient charging experience is achieved.

CN119471159APending Publication Date: 2025-02-18DONGGUAN AOHAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411950864.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Existing chargers and adapters lack input detection function for data cables and cannot evaluate the quality of the data cables, resulting in ineffective charging efficiency, equipment damage and fire risk.

Method used

A data line self-test device is designed, including a power supply unit, a power conversion unit, a bidirectional protocol control unit, a control unit and a display module. By detecting the resistance and voltage differences of the data line, its performance is evaluated, and the results are displayed through the display module.

Benefits of technology

It realizes self-checking of the wire harness of the charging connection, ensuring safety, optimization of charging efficiency, and prevention of overheating and fire accidents, providing a comprehensive high-performance charging experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119471159A_ABST
    Figure CN119471159A_ABST
Patent Text Reader

Abstract

The invention discloses a data line self-checking device and a working method thereof. 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. By implementing the device provided by the invention, the self-inspection of the wire harness in charging connection can be realized, the comprehensive high-performance charging experience from enhancing the safety and optimizing the charging efficiency to preventing overheating and fire accidents is ensured, and rapid and stable safe charging is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data lines, and in particular to a data line self-test device and a working method thereof. Background Art

[0002] Most chargers and adapters currently on the market, whether equipped with 1A, 2C or other types of USB interfaces, are limited to providing power output for mobile phones and other devices. The USB A or C ports of these devices usually only have output functions and lack input detection capabilities. This means that they cannot evaluate the status of the connected data cable, such as the internal resistance, voltage drop, etc., which leads to a series of problems. For example, due to the uneven quality of data cables on the market, the price difference from inferior to high-quality can be more than 100 times, and users often find it difficult to judge whether the data cable they are using is suitable for high-power charging. When high-power chargers such as 35W to 300W are used with low-quality data cables, not only will the charging efficiency be low, but it may also cause a fire risk due to overheating. In some cases, a poor data cable may prevent the charging process or even damage the charged device, such as a smartphone, tablet or laptop.

[0003] Therefore, it is necessary to design a new device to realize self-inspection of the charging connection wiring harness, ensuring a full range of high-performance charging experience from enhancing safety, optimizing charging efficiency to preventing overheating and fire accidents, and achieving fast, stable and safe charging. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the prior art and provide a data line self-test device and a working method thereof.

[0005] To solve the above technical problems, the objective of the present invention is achieved through the following technical solutions: providing a data line self-test device, characterized in that it 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; the two ends of the data line are respectively connected to the first interface and the second interface; the power conversion unit is connected to the bidirectional protocol control unit.

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

[0007] A further technical solution is: the power conversion unit includes a BUCK chip with a fast charging protocol integrated therein.

[0008] Its further technical solution is: the bidirectional protocol control unit includes a PD bidirectional protocol control chip, a BUCK-BOOST converter and a switch component, the PD bidirectional protocol control chip is respectively connected to the BUCK-BOOST converter and the second interface; the BUCK-BOOST converter is respectively connected to the switch component, the BUCK chip and the second interface, and the switch component is respectively connected to the BUCK chip and the second interface.

[0009] Its further technical solution is: the first interface includes a TYPE-C interface.

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

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

[0012] A further technical solution is: the switch element includes a MOS tube.

[0013] A further technical solution is: the display module also includes a display screen.

[0014] In addition, in order to overcome the defects of the prior art, the present invention also provides a working method performed by the above-mentioned data line self-test device, comprising the following steps:

[0015] When the data line is inserted into the first interface and the second interface, the control unit sends a level signal by setting the pin of the power conversion unit, so that the switch in the bidirectional protocol control unit is turned on, forming a short circuit to the ground and building a closed loop;

[0016] The voltage difference in the closed loop is measured, and combined with the known resistance value, the power conversion unit determines the performance of the data line according to a preset standard to obtain performance information, and transmits it to the control unit;

[0017] The control unit transmits the performance information to the display module, and the performance of the data line is displayed on the display module.

[0018] Compared with the prior art, the present invention has the following beneficial effects: the present invention integrates a power supply unit, a power conversion unit, a two-way protocol control unit, a control unit, a display module, a first interface and a second interface. When the user inserts the two ends of the data line into the first interface and the second interface respectively, the power supply unit supplies power to the system and adjusts the voltage through the power conversion unit to ensure compatibility with the connected device. At the same time, the two-way protocol control unit is responsible for coordinating the fast charging protocol to achieve optimal power transmission. The control unit monitors the entire process and evaluates the quality of the data line by detecting the voltage difference between the input and output. The result is intuitively presented to the user via the display module, realizing self-inspection of the charging connection harness, ensuring a full range of high-performance charging experience from enhancing safety, optimizing charging efficiency to preventing overheating and fire accidents, and achieving fast, stable and safe charging.

[0019] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0021] Figure 1 A schematic block diagram of a data line self-test device provided by an embodiment of the present invention;

[0022] Figure 2 A specific circuit schematic diagram of a data line self-test device provided by an embodiment of the present invention;

[0023] Figure 3 A schematic diagram of the principle of a data line self-test device provided by an embodiment of the present invention;

[0024] Description of the symbols in the figure:

[0025] 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 DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

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

[0028] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0029] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0030] Most current chargers and adapters lack input detection capabilities for connected data cables, and are unable to assess the quality of the cables and their electrical performance. Due to the varying quality of data cables on the market, it is difficult for users to determine whether they are suitable for high-power charging, which may result in low charging efficiency or damage to the device. Low-quality data cables may cause overheating or even fire risks when used with high-power chargers. Devices that lack input detection capabilities cannot effectively avoid these safety hazards, affecting the reliability and safety of the charging process.

[0031] To this end, an embodiment of the present invention provides a data cable self-inspection device to realize self-inspection of the wiring harness of the charging connection, ensuring an all-round high-performance charging experience from enhancing safety, optimizing charging efficiency to preventing overheating and fire accidents, and achieving fast, stable and safe charging.

[0032] Specifically, the data line self-test device provides a stable power supply through the power supply unit 10 and the power conversion unit 20, and provides a voltage signal for the detection process. The bidirectional protocol control unit 30 coordinates the current flow, and ensures that the circuit is closed through the switch, starts the self-test process, and detects the connection performance of the data line. The power conversion unit 20 evaluates the charging capacity and performance of the data line based on the voltage difference in the closed loop and the known standards. The performance data is transmitted to the display module 50 through the control unit 40 to provide real-time feedback to display the health status and charging efficiency of the data line. Through this self-test process, the charging connection is ensured to be stable, the charging efficiency is optimized, the potential risks of overheating and fire are reduced, and the charging safety and reliability are improved.

[0033] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0034] See also Figure 1 , Figure 1 A schematic block diagram of a data line self-checking device provided in an embodiment of the present invention. The device can be used in a charger to implement self-checking of the wiring harness of the charging connection, ensuring an all-round high-performance charging experience from enhancing safety, optimizing charging efficiency to preventing overheating and fire accidents, and achieving fast, stable and safe charging.

[0035] The above-mentioned data line self-test device includes: a power supply unit 10, a power conversion unit 20, a two-way 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 two-way protocol control unit 30; the two-way protocol control unit 30 is connected to the second interface 70; the control unit 40 is respectively connected to the power conversion unit 20 and the display module 50, and the two ends of the data line are respectively connected to the first interface 60 and the second interface 70; the power conversion unit 20 is connected to the two-way protocol control unit 30.

[0036] In this embodiment, the data line has two main forms:

[0037] The double-ended TYPE-C interface data cable is suitable for connecting two devices that support the TYPE-C interface.

[0038] A data cable with a TYPE-A interface on one end and a TYPE-C interface on the other end, suitable for connecting traditional USB devices with new TYPE-C devices.

[0039] The device of this embodiment is implemented based on the following principles:

[0040] During the charging process, the protocol chip is responsible for monitoring and managing voltage and current. For a two-terminal TYPE-C interface data cable, 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 then returned to the protocol chip. This process involves the following steps:

[0041] First, if Figure 3 As shown in the figure, the protocol chip will detect whether a complete loop is formed between terminal A and terminal B. Only when the loop is confirmed to be established will the self-test program be started.

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

[0043] Since a fixed current value is selected, according to Ohm's law (U=I*R), the resistance value of the wiring harness can be calculated by measuring the voltage difference between terminal A and terminal B. Different quality of the wiring harness will result in different resistance values, which in turn affects the final voltage at terminal B.

[0044] By comparing the voltage difference between the A and B terminals or directly measuring the resistance, the protocol IC can evaluate the status of the wiring harness to determine whether it is suitable for the current charging needs.

[0045] Specifically, the quality of the wiring harness is judged based on the maximum operating current it can carry and the corresponding internal resistance, usually expressed in AWG (American Wire Gauge) specifications. The following are specific evaluation methods for different grades of wiring harnesses:

[0046] Use AWG17 specification wiring harness, which is designed to work at a current of more than 4.1A and has an internal resistance of 16.3Ω / Km. For a one-meter-long wiring harness, under 5V / 3A conditions, the voltage measured at the B end should ideally be close to 4.951V or higher. This indicates that the wiring harness has low resistance characteristics and is the best choice.

[0047] For AWG18 specification wiring harness, its operating current range is above 3.2A, and its internal resistance is 21.4Ω / Km. Under the same conditions, if the voltage measured at the B end is between 4.938V and 4.950V, the wiring harness is considered to be of normal level.

[0048] AWG19 specification wiring harness is suitable for scenarios with working current above 2.6A, and the internal resistance is 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 wiring harness is of poor quality and may not be suitable for high-efficiency charging needs.

[0049] In summary, the device of this embodiment realizes effective self-inspection of the charging harness through precise voltage, current control and impedance measurement technology, ensuring a safe and efficient charging experience. At the same time, through clear evaluation criteria, users can easily identify the quality level of the harness and choose the charging accessories that best suit their devices.

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

[0051] The power conversion unit 20 is responsible for adjusting the power provided by the power supply unit 10 to an appropriate level to support the needs of other circuits, especially the work of the bidirectional protocol control unit 30. It also detects the relevant voltage values ​​of the self-test process, calculates the voltage difference value, and transmits the result to the control unit 40.

[0052] 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 through the TYPE-C interface, identify and respond to various fast charging protocols. For the TYPE-C2 port, it has a bidirectional function and can be used as both input and output.

[0053] The control unit 40 is composed of a single chip and is used to receive the result and feed it back to the display module 50 .

[0054] The test results are intuitively displayed to the user through LEDs or other forms of displays. For example, LED lights of different colors or patterns can be used to indicate the status of the data line (best, average, poor).

[0055] The first interface 60 (TYPE-C1) and the second interface 70 (TYPE-C2) allow the data line to be tested to be connected to the self-test device. They are designed to comply with the USB Type-C standard and can correctly map the internal pins to the corresponding protocol chip pins to facilitate the execution of the handshake protocol.

[0056] In one embodiment, the power supply unit 10 includes an AC-DC charger. In this embodiment, the power supply unit 10 is mainly composed of an AC-DC charger, which is designed to accept a wide range of AC input voltages, i.e., AC96V to 240V. This wide input voltage range makes the charger suitable for power standards in different regions around the world. The main task of the AC-DC charger is to convert AC power into DC power to provide necessary power support for the entire self-test device.

[0057] AC-DC chargers Figure 2 The connection point marked as VIN in the figure is connected to the entire device. This connection point is the energy entrance of the entire circuit, ensuring that the power from the external power grid can be safely and stably transmitted to the subsequent modules. In order to achieve efficient energy conversion, the AC-DC charger uses advanced power conversion technology, such as the use of high-frequency switching mode power supply to improve efficiency and reduce size.

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

[0059] Specifically, when the external power supply is connected to VIN, it is converted into a DC voltage suitable for the system operation through the AC-DC charger. This DC voltage is passed to the BUCK chip in the power conversion unit 20. According to the requirements of the actual application scenario, the BUCK chip will adjust its output voltage to an appropriate value to meet the requirements of the downstream load. If the device connected supports the fast charging protocol, the BUCK chip will communicate with it through the TYPE-C interface and set the optimal charging conditions according to the protocol recognized by both parties.

[0060] During the self-test process, the BUCK chip also participates in building a test loop to help measure the resistance of the data line and thus evaluate its quality.

[0061] In one embodiment, see Figure 2 The above-mentioned bidirectional protocol control unit 30 includes a PD bidirectional protocol control chip, a BUCK-BOOST converter and a switch component. The PD bidirectional protocol control chip is respectively connected to the BUCK-BOOST converter and the second interface 70; the BUCK-BOOST converter is respectively connected to the switch component, the BUCK chip and the second interface 70; the switch component is respectively connected to the BUCK chip and the second interface 70.

[0062] In this embodiment, the PD bidirectional protocol control chip supports bidirectional power transmission, that is, 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, and exchanges data through a high-speed communication bus to achieve intelligent power management. For example, when the self-test device is used as a charger to charge other devices, or when power needs to be obtained from an external power source, the PD bidirectional protocol control chip plays a key role.

[0063] The BUCK-BOOST converter is a DC-DC converter that can increase or decrease the input voltage to different levels. It is not only connected to the PD bidirectional protocol control chip, but also connected to the switch, the BUCK chip and the second interface 70. This design allows the BUCK-BOOST converter to adjust its output voltage according to actual conditions to meet the needs of the downstream load. When a higher voltage is required, it performs a boost operation; when a lower voltage is required, it performs a buck operation. In addition, because it is connected to the BUCK chip, the two can work together to optimize the energy conversion efficiency of the entire system.

[0064] As an important component of the circuit, the switch is used to control the selection of the current path. It is connected to the BUCK chip and the second interface 70 respectively, so that the system can select the most appropriate power path according to actual needs. For example, in some cases, it may be necessary to use the power from the AC-DC charger directly, while in other cases, the power converted by BUCK-BOOST is more suitable for the current task. The presence of the switch increases the flexibility of the system, enabling it to quickly switch between different modes.

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

[0066] If the power path needs to be changed or the output voltage needs to be adjusted, the switch will act under the instruction of the PD bidirectional protocol control chip and select 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 to ensure the normal operation of the overall system.

[0067] Through such a design, the bidirectional protocol control unit 30 not only achieves good compatibility with different types of devices, but also enhances the reliability and safety of the system while improving the energy conversion efficiency. In addition, the integrated solution helps to reduce the space occupied on the PCB board, which is conducive to the miniaturization design of the product, and also simplifies the wiring and reduces the production cost.

[0068] In one embodiment, see Figure 2 The above-mentioned first interface 60 includes a TYPE-C interface, specifically a type-c1 interface.

[0069] In one embodiment, see Figure 2 The above-mentioned second interface 70 includes a TYPE-C interface, specifically a type-c2 interface.

[0070] The first interface 60 is a type-c1 interface for receiving power input or data transmission from an external power source. The interface is compatible with the USB Power Delivery (PD) protocol and supports fast charging and other advanced functions.

[0071] The second interface 70 is a type-c2 interface, which is responsible for providing power output or data exchange to external devices. Similarly, it also complies with the TYPE-C standard and is compatible with various types of terminal devices, ensuring a wide range of applications.

[0072] In one embodiment, see Figure 2 The above-mentioned display module 50 includes a display screen.

[0073] In one embodiment, see Figure 2 The switch element includes a MOS tube Q1. A MOS tube is a field effect transistor, which plays the role of a switch in a circuit and is used to control the selection of a current path, thereby realizing switching between different working modes.

[0074] In one embodiment, see Figure 2 The above-mentioned display module 50 also includes an LED light.

[0075] The display screen is used to intuitively display information such as system status, setting options, etc. to the user. This allows the user to easily monitor and manage the operating parameters of the device.

[0076] As an auxiliary indicator, the LED light can convey key status information in a simple and direct way, such as power connection status, charging progress, etc. This visual feedback is crucial to improving the user experience.

[0077] Specifically, see Figure 2 The BUCK chip is connected to the first interface 60 via a resistor RCS1; the BUCK-BOOST converter is connected to the second interface 70 via a resistor RCS2; and the MOS tube Q1 is connected to the second interface 70 via a resistor RS.

[0078] The BUCK chip is connected to the first interface 60 (ie, type-c1) via the resistor RCS1. The resistor RCS1 plays a current limiting role here, protecting the circuit from overload damage, and also helps to stabilize the input voltage to ensure the normal operation of the BUCK chip.

[0079] The BUCK-BOOST converter is connected to the second interface 70 (ie, type-c2) via the resistor RCS2. Similarly, the resistor RCS2 helps to adjust and stabilize the output voltage, thereby ensuring the safety and reliability of power supply to external devices.

[0080] The MOS transistor Q1 is connected to the second interface 70 via a resistor RS. The resistor RS not only helps control the working state of the MOS transistor, but also provides necessary electrical isolation to prevent possible short circuits or other abnormal conditions from affecting the entire system.

[0081] See also Figure 2 The single chip microcomputer in the figure refers to the control unit 40, and the working process of the whole device is as follows:

[0082] The AC96V~240V AC-DC charger with VIN mark is connected to the type-c1 interface through the BUCK chip (supporting PD, QC, AFCS, FCP, SCP, PPS and other protocols). Specifically, the 5th, 6th, 7th, 8th and 9th pins of the type-c1 interface are connected to the CCA1, CCA2, DPA and DMA pins of the BUCK chip respectively, which are used to handshake with the corresponding protocol of the mobile phone or computer, so that the BUCK chip can control the AC-DC charger to output the corresponding voltage and current.

[0083] The same mechanism also applies to the type-c2 interface, but it has a bidirectional protocol function, so it can not only serve as an output port to power external devices, but also receive power input. Pins 5, 6, 7, 8, and 9 of the type-c2 interface are connected to the CCB1, CCB2, DPB, and DMB pins of the PD bidirectional protocol chip to achieve data exchange and power management with external devices.

[0084] When both the type-c1 interface and the type-c2 interface are connected to TYPE-C data cables, the self-test line function is activated to evaluate the quality of the data cable. At this time, VOUT1 is connected to the 3rd, 4th, 11th, and 12th pins of the type-c1 interface to the 3rd, 4th, 13th, and 14th pins of the type-c2 interface, and then to VOUT2. Next, the BUCK chip sends a level signal to trigger the MOS tube Q1 to turn on and short-circuit to the ground. This allows the current to flow back to the VOUT2 pin of the BUCK chip through the ground wire of VOUT2, while VOUT1 is connected to the VIN pin of the BUCK chip, forming a complete current loop.

[0085] In this process, the BUCK chip detects the voltage difference between VOUT1 and VOUT2 (i.e., the voltage difference value = VOUT1-VOUT2), and determines the state of the data line through a preset voltage difference and resistance calculation method, specifically including best, average, or poor. Based on this judgment result, the BUCK chip transmits the information to the corresponding pins of the control unit 40 through the SCL and SDA pins, and finally displays the evaluation result of the data line quality in a visual form through the I / O interface of the LED light or the display screen.

[0086] Through the above design, the device can not only efficiently manage and distribute power, but also accurately evaluate the quality of the connected data line through the built-in self-check mechanism without relying on external devices, providing instant feedback to users. This design not only improves the intelligence of the system, but also brings great convenience to users.

[0087] In this embodiment, the model of the BUCK chip is but not limited to SW3561; the model of the single chip microcomputer is but not limited to MC9959; the model of the BUCK-BOOST converter is but not limited to SW3203; the model of the PD bidirectional protocol control chip is but not limited to SW2505.

[0088] The above-mentioned data line self-test device integrates a power supply unit 10, a power conversion unit 20, a two-way 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 the two ends of the data line into the first interface 60 and the second interface 70 respectively, the power supply unit 10 supplies power to the system and adjusts the voltage through the power conversion unit 20 to ensure compatibility with the connected device. At the same time, the two-way protocol control unit 30 is responsible for coordinating the fast charging protocol to achieve optimal power transmission. The control unit 40 monitors the entire process and evaluates the quality of the data line by detecting the voltage difference between the input and output. The result is intuitively presented to the user via the display module 50, realizing self-test of the charging connection harness, ensuring a full range of high-performance charging experience from enhancing safety, optimizing charging efficiency to preventing overheating and fire accidents, and achieving fast, stable and safe charging.

[0089] In one embodiment, a working method performed by the above-mentioned data line self-test device is further provided, characterized in that it includes the following steps:

[0090] When the data line is inserted into the first interface 60 and the second interface 70, the control unit 40 sends a level signal by setting the pin of the power conversion unit 20, so that the switch in the bidirectional protocol control unit 30 is turned on, forming a short circuit to the ground and building a closed loop;

[0091] The voltage difference in the closed loop is measured, and combined with the known resistance value, the power conversion unit 20 determines the performance of the data line according to a preset standard to obtain performance information, and transmits it to the control unit 40;

[0092] The control unit 40 transmits the performance information to the display module 50 , and the performance of the data line is displayed on the display module 50 .

[0093] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the working method of the above-mentioned data line self-test device can refer to the corresponding description in the aforementioned device embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0094] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A data line self-test device, characterized in that: include: 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; the two ends of the data line are respectively connected to the first interface and the second interface; the power conversion unit is connected to the bidirectional protocol control unit.

2. A data line self-test device according to claim 1, characterized in that: The power supply unit includes an AD-DC charger.

3. A data line self-test device according to claim 1, characterized in that: The power conversion unit includes a BUCK chip with a fast charging protocol integrated therein.

4. A data line self-test device according to claim 1, characterized in that: The bidirectional protocol control unit includes a PD bidirectional protocol control chip, a BUCK-BOOST converter and a switch component. The PD bidirectional protocol control chip is respectively connected to the BUCK-BOOST converter and the second interface; the BUCK-BOOST converter is respectively connected to the switch component, the BUCK chip and the second interface, and the switch component is respectively connected to the BUCK chip and the second interface.

5. A data line self-test device according to claim 1, characterized in that: The first interface includes a TYPE-C interface.

6. A data line self-test device according to claim 1, characterized in that: The second interface includes a TYPE-C interface.

7. A data line self-test device according to claim 1, characterized in that: Also includes: A control unit and a display module, wherein the control unit is connected to the power conversion unit and the display module respectively.

8. A data line self-test device according to claim 4, characterized in that: The switch element includes a MOS tube.

9. A data line self-test device according to claim 7, characterized in that: The display module includes a display screen.

10. A working method performed by the data line self-test device according to any one of claims 1 to 9, characterized in that: The following steps are involved: When the data line is inserted into the first interface and the second interface, the control unit sends a level signal by setting the pin of the power conversion unit, so that the switch in the bidirectional protocol control unit is turned on, forming a short circuit to the ground and building a closed loop; The voltage difference in the closed loop is measured, and combined with the known resistance value, the power conversion unit determines the performance of the data line according to a preset standard to obtain performance information, and transmits it to the control unit; The control unit transmits the performance information to the display module, and displays the performance of the data line on the display module.