Data line self-checking circuit
By designing a data cable self-test circuit to measure voltage drop and resistance value to evaluate data cable quality, the problem of lack of input detection in chargers is solved, achieving a safe and efficient charging experience.
Patent Information
- Application Number
- CN202423275658.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2034-12-27
AI Technical Summary
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, and fire risks.
Design a data cable self-test circuit, including a power supply unit, an intelligent fast charging control unit, an interface, and a switching unit. The circuit evaluates the data cable quality by measuring voltage drop and resistance value, and provides feedback on the results through a display module.
It enables comprehensive testing of charging connection harnesses, enhancing the safety and efficiency of the charging process, preventing overheating and fire risks, and providing a fast and stable charging experience.
Smart Images

Figure CN223727902U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to data line technical field especially relates to a data line self -checking circuit. BACKGROUND
[0002] Most of the chargers and adapters on the current market, whether equipped with 1A, 2C interface or other types of USB interface, the main function is limited to providing power output for mobile phones and other devices. The A port or C port of the USB of these devices usually only has output function, lacks input detection capability. This means that they cannot assess the status of the connected data line, such as internal resistance size, voltage drop, etc., thus leading to a series of problems, such as the quality of data lines on the market is uneven, from inferior to superior, the price difference can reach more than 100 times, users often difficult to judge whether the data line used is suitable for high-power charging. When 35W to 300W high-power chargers are used with low-quality data lines, not only will it lead to low charging efficiency, but also may cause fire risk due to overheating. In some cases, bad data lines may prevent the charging process, and even damage the charged devices, such as smartphones, tablets or laptops.
[0003] Therefore, it is necessary to design a new circuit to realize self-checking of the wire harness connected to charging. SUMMARY
[0004] The utility model aims at overcoming the defects of prior art, provides a data line self -checking circuit.
[0005] To solve the above technical problems, the utility model aims at realizing through the following technical schemes: provide a data line self -checking circuit, include: power supply unit, intelligent fast charging control unit, first interface, second interface, switch unit and input output control unit, intelligent fast charging control unit is connected with input output control unit, switch unit, first interface, second interface respectively, input output control unit is connected with power supply unit, first interface and second interface respectively.
[0006] Its further technical scheme is: the power supply unit includes AD-DC charger.
[0007] Further technical solutions are that the intelligent fast charging control unit comprises a control chip, a protocol processing chip and a BUCK-BOOST chip, the control chip is connected with the BUCK-BOOST chip and the protocol processing chip respectively, the control chip is connected with the input and output control unit, the switching unit, the first interface and the second interface respectively, the protocol processing chip is connected with the first interface and the second interface respectively, and the BUCK-BOOST chip is connected with the first interface and the second interface respectively.
[0008] Further technical solutions are that the switching unit comprises a switch piece.
[0009] Further technical solutions are that the first interface comprises a TYPE-C interface.
[0010] Further technical solutions are that the second interface comprises a TYPE-C interface.
[0011] Further technical solutions are that the input and output control unit comprises a first switch piece, a second switch piece, a third switch piece and a fourth switch piece, the first switch piece is connected with the power supply unit, the intelligent fast charging control unit and the first interface respectively, the third switch piece is connected with the power supply unit, the intelligent fast charging control unit and the second interface respectively, the second switch piece is connected between the first switch piece and the first interface, and the second switch piece is connected with the intelligent fast charging control unit, and the fourth switch piece is connected between the second switch piece and the second interface, and the fourth switch piece is connected with the intelligent fast charging control unit.
[0012] Further technical solutions are that a display module is further included, and the display module is connected with the intelligent fast charging control unit.
[0013] Further technical solutions are that the display module comprises a display screen.
[0014] Further technical solutions are that the display module comprises an LED lamp.
[0015] The utility model discloses compared with prior art has the advantages that when the data line of two ends being all TYPE-C interfaces is connected to the first interface and the second interface, the power supply unit provides stable power for the intelligent fast charging control unit, the intelligent fast charging control unit utilizes the connection with the switching unit, creates self-checking loop, measures the voltage drop on the data line, realizes the wire harness of charging connection and carries out self-checking.
[0016] The utility model is further described below in combination with the 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 diagram of a data cable self-test circuit provided for an embodiment of this utility model;
[0019] Figure 2 A detailed circuit diagram of a data cable self-test circuit provided for an embodiment of this utility model;
[0020] Figure 3 A schematic diagram of a data cable self-test circuit provided for an embodiment of this utility model;
[0021] Explanation of the markings in the image:
[0022] 10. Power supply unit; 20. Intelligent fast charging control unit; 30. First interface; 40. Second interface; 50. Switching unit; 60. Input / output control unit; 70. Display module. Detailed Implementation
[0023] 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.
[0024] 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.
[0025] 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.
[0026] It should be further understood that the term "and / or" used in the description and claims of the present utility model is intended to mean any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0027] Most current chargers and adapters lack input detection for connected data cables, and cannot assess the quality and electrical performance of the data cable. Due to the uneven quality of data cables on the market, users have difficulty determining whether they are suitable for high-power charging, which can lead to low charging efficiency or damage to equipment. Low-quality data cables can cause overheating and even fire risks when used under high-power chargers. Devices lacking input detection cannot effectively avoid these safety hazards, affecting the reliability and safety of the charging process.
[0028] To this end, the utility model embodiment provides a data cable self-checking circuit, which realizes self-checking of the wire harness connected for charging, ensures all-round high-performance charging experience from enhanced safety, optimized charging efficiency to prevention of overheating and fire accidents, and realizes fast and stable safe charging.
[0029] Specifically, the data cable self-checking circuit realizes comprehensive detection of the charging connection wire harness by integrating the power supply unit 10, the intelligent fast charging control unit 20, the input second interface 40, and the switching unit 50. Specifically, when the TYPE-C input and the second interface 40 are both connected with a data cable, the control chip in the intelligent fast charging control unit 20 activates a specific switch, forming a closed loop between the input and the output, thereby evaluating the integrity of the current path. At the same time, by monitoring the voltage change in the closed loop, the intelligent fast charging control unit 20 can judge the quality of the wire harness and feed back the detection result to the user through the display module 70 (such as an LED lamp or a display screen). In addition, the built-in BUCK-BOOST chip ensures the stability and efficiency of power transmission, and the protocol chip is responsible for managing the fast charging protocol, ensuring compatibility between different devices. This series of mechanisms not only enhances the safety of the charging process, but also effectively prevents overheating and potential fire risks, providing users with fast and stable charging experience.
[0030] In order to better understand the above technical solutions, the above technical solutions will be described in detail below in conjunction with the description of the drawings and specific embodiments.
[0031] Please refer to Figure 1 , Figure 1 The utility model embodiment provides a schematic diagram of a data cable self-checking circuit, which can be used in a charger to realize self-checking of the wire harness connected for charging, ensure all-round high-performance charging experience from enhanced safety, optimized charging efficiency to prevention of overheating and fire accidents, and realize fast and stable safe charging.
[0032] The data line self-checking circuit described above includes a power supply unit 10, an intelligent fast charging control unit 20, a first interface 30, a second interface 40, a switching unit 50, and an input-output control unit 60. The intelligent fast charging control unit 20 is connected to the input-output control unit 60, the switching unit 50, the first interface 30, and the second interface 40. The input-output control unit 60 is connected to the power supply unit 10, the first interface 30, and the second interface 40.
[0033] In this embodiment, there are two main forms of data lines:
[0034] The data line with a double-ended TYPE-C interface is suitable for connecting two devices that support the TYPE-C interface.
[0035] The data line with one end as a TYPE-A interface and the other end as a TYPE-C interface is suitable for connecting traditional USB devices with new TYPE-C devices.
[0036] The device of this embodiment is implemented based on the following principles:
[0037] During the charging process, the protocol chip is responsible for monitoring and managing the voltage and current. For a data line with a double-ended TYPE-C interface, when both ends are connected, the protocol chip can provide a specific voltage (such as 5V or 9V) and monitor the loop state that passes through the cable to the other end and returns to the protocol chip. This process involves the following steps:
[0038] First, as shown in Figure 3 , the protocol chip detects whether a complete loop is formed between the A end and the B end. Only when the loop is confirmed to be established will the self-checking program be started.
[0039] Once the loop is established, the system will select a fixed current value (for example, in the range of 0.5-3A) for testing and apply the corresponding voltage (such as 5V).
[0040] Since a fixed current value is selected, according to Ohm's law (U = I * R), the resistance value of the wire bundle can be calculated by measuring the voltage difference between the A end and the B end. Different wire bundle qualities will result in different resistance values, which will in turn affect the final voltage at the B end.
[0041] By comparing the voltage difference between the A end and the B end or directly measuring the resistance size, the protocol IC can evaluate the state of the wire bundle and determine whether it is suitable for the current charging requirements.
[0042] Specifically, the evaluation of wire bundle quality is based on its maximum working current and corresponding internal resistance, usually represented by AWG (American Wire Gauge) specifications. The following is a specific evaluation method for wire bundles of different grades:
[0043] Using AWG17 gauge wire, which is designed to handle more than 4.1A of current, has an internal resistance of 16.3Ω / Km. For a one-meter long wire, under 5V / 3A conditions, the voltage measured at B should ideally be close to 4.951V or higher. This indicates that the wire has low resistance characteristics and is the best choice.
[0044] For AWG18 gauge wire, which handles more than 3.2A of current, has an internal resistance of 21.4Ω / Km. Under the same conditions, if the voltage measured at B is between 4.938V and 4.950V, the wire is considered to be of ordinary quality.
[0045] AWG19 gauge wire, which is suitable for scenarios where more than 2.6A of current is handled, has an internal resistance of 26.9Ω / Km. If the voltage at B is less than 4.919V or between 4.919V and 4.937V, it indicates that the wire is of poor quality and may not be suitable for high-performance charging needs.
[0046] In summary, the circuit of the present embodiment achieves effective self-checking of the charging wire 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 wire and choose the most suitable charging accessories for their own devices.
[0047] Specifically, the power supply unit 10: as the power supply core of the entire system, the power supply unit 10 is responsible for providing stable direct current to other components in the system.
[0048] The intelligent fast charging control unit 20 is the core part of the data line self-checking circuit, which includes control chips, protocol processing chips, and BUCK-BOOST chips. These components work together to achieve fast charging functions and manage the charging process through the control chip to coordinate the connection with the input and output control unit 60, the switching unit 50, and the interface. At the same time, the protocol processing chip ensures compatibility with different types of devices, and the BUCK-BOOST chip is responsible for adjusting the voltage level to ensure the safety and efficiency of charging.
[0049] The first interface 30 and the second interface 40 are the key points for connecting external devices, usually using TYPE-C interfaces, because they support bidirectional data transmission and have high current carrying capacity. This makes the data line not only a power line but also a data transmission line, increasing its versatility.
[0050] The switching unit 50 operates under the command of the intelligent fast charging control unit 20, used to switch different charging paths or states. For example, when self-checking, the working state is switched to build a self-checking loop.
[0051] The input-output control unit 60 acts as a bridge connecting the power supply unit 10, the intelligent fast charging control unit 20, and the input second interface 40. It controls the flow of power according to the instructions of the intelligent fast charging control unit 20, ensuring that charging only begins when all conditions are met.
[0052] In summary, the data line self-test circuit design aims to provide a safe and efficient charging solution. Through the precise cooperation between components, it realizes the automatic detection of the charging cable, ensures the safety and reliability of the charging process, and optimizes the charging speed and efficiency. This design scheme is particularly suitable for application scenarios that require high-performance charging experience, such as smartphones, tablets, and other portable electronic devices.
[0053] In an embodiment, referring to Figure 2 The power supply unit 10 described above includes an AD-DC charger. The power supply unit 1010 in this embodiment is mainly composed of an AC-DC charger designed to accept a wide range of AC input voltage, i.e. AC 96V-240V. This wide input voltage range makes the charger suitable for different power standards in different regions around the world. The main task of the AC-DC charger is to convert AC power to DC power to provide necessary power support for the entire self-test device.
[0054] The AC-DC charger accesses the entire device through Figure 2 The connection point marked as VIN is the energy inlet of the entire circuit, ensuring that power from the external power grid can be safely and stably transmitted to subsequent modules. In order to achieve efficient energy conversion, advanced power conversion technology is used inside the AC-DC charger, such as using high-frequency switching mode power supply to improve efficiency and reduce volume.
[0055] In an embodiment, referring to Figure 2 The intelligent fast charging control unit 20 described above includes a control chip, a protocol processing chip, and a BUCK-BOOST chip, and the control chip is connected with the BUCK-BOOST chip and the protocol processing chip respectively; the control chip is connected with the input-output control unit 60, the switching unit 50, the first interface 30, and the second interface 40 respectively; the protocol processing chip is connected with the first interface 30 and the second interface 40 respectively; and the BUCK-BOOST chip is connected with the first interface 30 and the second interface 40 respectively.
[0056] Specifically, the three chips work together to achieve intelligent fast charging function and ensure the safety and efficiency of the charging process.
[0057] The control chip is responsible for managing and coordinating the operation of all other components. It receives status information from the input-output control unit 60, processes instructions issued by the user or the device, and adjusts the charging parameters according to the current conditions.
[0058] The control chip is connected to the BUCK-BOOST chip and adjusts the output voltage by sending control signals to adapt to the needs of different devices.
[0059] The control chip is connected to the protocol processing chip to parse and respond to various fast charging protocols, ensuring good compatibility with various types of terminal devices.
[0060] The control chip communicates directly with the input-output control unit 60, the switching unit 50, the first interface 30, and the second interface 40, thereby comprehensively monitoring and managing various activities during the charging process.
[0061] The protocol processing chip is specifically designed to identify and support various fast charging protocols (such as Qualcomm Quick Charge, USB Power Delivery, etc.), allowing the data line to automatically match the best charging mode for the connected device.
[0062] The control chip is connected to the first interface 30 and the second interface 40 to monitor the fast charging standards supported by the devices at both ends in real time and transmit relevant information to the control chip for decision-making.
[0063] The BUCK-BOOST chip is a high-efficiency DC-DC converter that can flexibly switch between step-up (BUCK) and step-down (BOOST), ensuring that it can provide stable and compliant output voltage regardless of changes in input power voltage.
[0064] The BUCK-BOOST chip is also connected to the first interface 30 and the second interface 40, ensuring that it can accurately obtain the input voltage level and adjust the output accordingly to maintain the ideal charging state.
[0065] When the user inserts a device into one end of the data line, the first interface 30 will first detect this action and report the available fast charging protocols to the protocol processing chip. The protocol processing chip parses the results and sends them to the control chip, which selects the most suitable charging solution based on the obtained information. Then, the control chip instructs the BUCK-BOOST chip to adjust to the appropriate voltage level, while notifying the input-output control unit 60 and the switching unit 50 to prepare to start charging.
[0066] In an embodiment, the switching unit 50 described above includes a switching element. Please refer to Figure 2The switch element includes a MOS tube Q1. The MOS tube is a field effect transistor that plays the role of a switch in the circuit, controlling the selection of the current path to achieve switching between different working modes.
[0067] In an embodiment, referring to Figure 2 The first interface 30 is a TYPE-C interface, specifically a type-c1 interface.
[0068] In an embodiment, referring to Figure 2 The second interface 40 is a TYPE-C interface, specifically a type-c2 interface.
[0069] The first interface 30 is a type-c1 interface, used to receive power input or data transmission from an external power source. This interface is compatible with the USB Power Delivery (PD) protocol, supporting fast charging and other advanced functions.
[0070] The second interface 40 is a type-c2 interface, responsible for providing power output or data exchange to external devices. Similarly, it also follows the TYPE-C standard and is compatible with various types of terminal devices, ensuring a wide range of applications.
[0071] In an embodiment, referring to Figure 2 The input / output control unit 60 includes a first switch element, a second switch element, a third switch element, and a fourth switch element. The first switch element is connected to the power supply unit 10, the intelligent fast charging control unit 20, and the first interface 30. The third switch element is connected to the power supply unit 10, the intelligent fast charging control unit 20, and the second interface 40. The second switch element is connected between the first switch element and the first interface 30, and is connected to the intelligent fast charging control unit 20. The fourth switch element is connected between the second switch element and the second interface 40, and is connected to the intelligent fast charging control unit 20.
[0072] In this embodiment, the first switch element includes a MOS tube Q2, the second switch element includes a MOS tube Q3, the third switch element includes a MOS tube Q4, and the fourth switch element includes a MOS tube Q5.
[0073] Specifically, the MOS tube Q2 is responsible for receiving the DC voltage converted by the AC 96V-240V AC-DC charger and performing switching operations according to the instructions from the intelligent fast charging control unit 20, achieving power control of the first interface 30.
[0074] The MOS tube Q3 is used to further adjust or cut off the current path to the first interface 30, especially in response to abnormal conditions.
[0075] MOS tube Q4 also undertakes the task of transmitting power from the power supply to the second interface 40, but considering that TYPE-C2 supports the bidirectional charging feature, its role is more complex.
[0076] MOS tube Q5 can participate in the control of power flow on the second interface 40, especially when handling TYPE-C2 as an input.
[0077] In order to ensure the quality of the connection cable, a self-checking mechanism is added in the design. When the data line with both ends as TYPE-C interface is inserted into the device, the system will automatically activate the self-checking process:
[0078] By connecting specific pins such as type-c1 interface pins 3, 4, 13, 14 to the same pins of type-c2 interface, a closed loop is formed between VOUT1 and VOUT2. At this time, the control unit in the intelligent fast charging control unit 20 will give a level signal to open MOS tube Q1, which will be short-circuited to ground, thereby creating a path from VOUT2 ground back to the intelligent fast charging control unit 20.
[0079] By measuring the voltage difference between VOUT1 and VOUT2, i.e. the pressure difference value = VOUT1-VOUT2, the state of the data line can be evaluated. This pressure difference combined with the known resistance value can be used to calculate the cable resistance, and then judge the quality of the cable, including the best, general, and poor.
[0080] Finally, according to the above detection results, the intelligent fast charging control unit 20 sends information to the single-chip microcomputer through the SCL and SDA buses, and controls the LED lamp to display the cable state (such as using different colors to represent different levels). This process not only improves the user experience, but also enhances the safety and stability of the system.
[0081] In an embodiment, please refer to Figure 1 and Figure 2 The above-mentioned data line self-checking circuit further comprises a display module 70 connected with the intelligent fast charging control unit 20.
[0082] Specifically, the above-mentioned data line self-checking circuit not only has power management and control functions, but also integrates a display module 70 directly connected with the intelligent fast charging control unit 20. Through this display module 70, users can intuitively obtain information feedback about the charging state and the quality of the data line.
[0083] In an embodiment, please refer to Figure 1 and Figure 2The display module 70 described above comprises a display screen. This display screen can be an LCD, OLED or any other type of screen for presenting more detailed system information, such as the current charging voltage, current value, connected device type, etc. In addition, it can also be used to display the results of the data line self-test, such as presenting the cable resistance measurement value in numerical or graphical form, and giving the corresponding evaluation grade (e.g. "best", "good", "average", "poor"). This visual way of information transfer greatly enhances the user experience, allowing the user to have a clearer understanding of the charging system's operating status and the quality of the cable used.
[0084] In an embodiment, referring to Figure 1 and Figure 2 The display module 70 described above comprises LED lights. These LED lights are designed to provide immediate status indication, especially for quick feedback during the data line self-test process. Specifically, when performing the self-test, different LED colors or flashing patterns can represent different cable quality grades, for example, green for "best", yellow for "average", and red for "poor". Such a design not only is simple and clear, but also provides basic visual cues without power supply, which is very suitable for application scenarios that require quick judgment of cable status.
[0085] In this embodiment, by combining the use of display screen and LED lights as part of the display module 70, not only does it provide a comprehensive and intuitive operating interface for the user, but also ensures that essential status information can be obtained even under the most basic conditions. This not only improves the product's ease of use and reliability, but also lays a solid foundation for further enhancing the user experience.
[0086] In an embodiment, referring to Figure 2 The intelligent fast charging control unit 20 described above is connected to the first interface 30 through the resistor RCS1; the intelligent fast charging control unit 20 is connected to the second interface 40 through the resistor RCS2; the MOS tube Q1 is connected to the second interface 40 through the resistor RS.
[0087] The resistor RCS1 here plays a role in current limiting, protecting the circuit from overload damage while also helping to stabilize the input voltage, ensuring the normal operation of the BUCK chip.
[0088] Similarly, the resistor RCS2 helps to adjust and stabilize the output voltage, ensuring the safety and reliability of power supply to external devices.
[0089] The resistor RS not only helps to control the working state of the MOS tube, but also provides necessary electrical isolation to prevent possible short circuits or other abnormal conditions from affecting the entire system.
[0090] Referring to Figure 2The working process of the entire circuit is as follows:
[0091] VIN represents an AC-DC charger with an input voltage range of AC 96V-240V. The charger controls the input of the MOS tube (metal oxide semiconductor field effect transistor) through an intelligent fast charging control unit 20 composed of a control chip, a protocol processing chip, and a BUCK BOOST conversion chip. The circuit supports multiple fast charging protocols, such as PD (Power Delivery), QC (Quick Charge), AFCS, FCP, SCP, and PPS, etc.
[0092] For the type-c1 interface, its 5, 6, 7, 8, 9 pins are connected to the CCA1, CCA2, DPA, DMA pins of the intelligent fast charging control unit 20. When the type-c1 interface is connected to a mobile phone or computer through a data line, it will handshake through the corresponding protocol, allowing the intelligent fast charging control unit 20 to control the output voltage and current of the MOS tube Q2.
[0093] For the type-c1 interface with bidirectional function, its 5, 6, 7, 8, 9 pins are connected to the CCB1, CCB2, DPB, DMB pins of the intelligent fast charging control unit 20. Similarly, when the type-c1 interface is connected to a terminal device, it will handshake through the protocol to control the input of the MOS tube Q4 and allow the intelligent fast charging control unit 20 to adjust the output voltage and current through the MOS tube Q5. It is worth noting that since the type-c2 interface has bidirectional function, it can be used as an input or output terminal.
[0094] When both ends of the data line are TYPE-C and connected to the type-c1 interface and the type-c2 interface, the self-checking function is started. Specifically, VOUT1 (transmitted from the 3rd, 4th, 13th, and 14th pins of the TYPE-C1 interface) is connected to the corresponding pins (i.e., the 3rd, 4th, 13th, and 14th pins) of the type-c2 interface through the data line, and then connected to VOUT2. At this time, the G1 end pin in the intelligent fast charging control unit 20 sends a level signal to open the MOS tube Q1, making it short-circuit to ground. Therefore, the current can flow back to the VOUT2 pin of the intelligent fast charging control unit 20 from the VOUT2 ground through the data line, while VOUT1 is connected to another pin VOUT1 of the intelligent fast charging control unit 20, forming a complete loop.
[0095] In this process, the intelligent fast charging control unit 20 can measure the voltage difference (VOUT1-VOUT2) between VOUT1 and VOUT2. Based on this pressure difference and resistance calculation method, the system can judge the quality level of the data line, including the best, general or poor. Then, through the SCL (serial clock line) and SDA (serial data line) interface on the intelligent fast charging control unit 20, the intelligent fast charging control unit 20 transmits the above judgment result to the SCL and SDA pins of the single-chip microcomputer, and finally maps to the control pin of the LED lamp, to display the quality state of the data line in an intuitive way, thereby realizing the visual evaluation of the data line quality.
[0096] In this embodiment, the model of the intelligent fast charging control unit 20 is, but not limited to, MS32F031A6.
[0097] The above-mentioned data line self-checking circuit, by setting the power supply unit 10, the intelligent fast charging control unit 20, the first interface 30, the second interface 40, the switching unit 50 and the input and output control unit 60, when the data line with both ends being TYPE-C interface is connected to the first interface 30 and the second interface 40, the power supply unit 10 provides stable power to the intelligent fast charging control unit 20, and the intelligent fast charging control unit 20 creates a self-checking loop by connecting with the switching unit 50, measures the voltage drop on the data line, and realizes self-checking of the charging connection harness.
[0098] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A data line self-test circuit, comprising: It includes: A power unit, a smart fast charging control unit, a first interface, a second interface, a switching unit and an input-output control unit, the smart fast charging control unit is connected with the input-output control unit, the switching unit, the first interface and the second interface respectively; the input-output control unit is connected with the power unit, the first interface and the second interface respectively.
2. The data line self-test circuit of claim 1, wherein, The power unit includes an AD-DC charger.
3. The data line self-test circuit of claim 1, wherein, The smart fast charging control unit includes a control chip, a protocol processing chip and a BUCK-BOOST chip, the control chip is connected with the BUCK-BOOST chip and the protocol processing chip respectively; the control chip is connected with the input-output control unit, the switching unit, the first interface and the second interface respectively; the protocol processing chip is connected with the first interface and the second interface respectively; the BUCK-BOOST chip is connected with the first interface and the second interface respectively.
4. The data line self-test circuit of claim 1, wherein, The switching unit includes a switch piece.
5. The data line self-test circuit of claim 1, wherein, The first interface includes a TYPE-C interface.
6. The data line self-test circuit of claim 1, wherein, The second interface includes a TYPE-C interface.
7. The data line self-test circuit of any one of claims 1 to 6, wherein, The input-output control unit includes a first switch piece, a second switch piece, a third switch piece and a fourth switch piece, the first switch piece is connected with the power unit, the smart fast charging control unit and the first interface respectively; the third switch piece is connected with the power unit, the smart fast charging control unit and the second interface respectively; the second switch piece is connected between the first switch piece and the first interface, and the second switch piece is connected with the smart fast charging control unit; the fourth switch piece is connected between the second switch piece and the second interface, and the fourth switch piece is connected with the smart fast charging control unit.
8. The data line self-test circuit of claim 1, wherein, It also includes a display module, the display module is connected with the smart fast charging control unit.
9. The data line self-test circuit of claim 8, wherein, The display module includes a display screen.
10. The data line self-test circuit of claim 8, wherein, The display module includes an LED lamp.