Wire detection circuit and detection device

CN224636637UActive Publication Date: 2026-08-14SHANGHAI MOOREWATT ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]针对线束的故障检测,相关技术中,同一时间只能进行单根导线的检测,因此,针对多根导线构成的线束的故障检测,只能通过逐根检测导线判断线束是否出现故障,比如是否存在断接以及错接,导致检测效率低下

Benefits of technology

[0019]上述导线检测电路和检测装置,采用多个反相器单元和一个反相器模块的组合实现对多根导线故障的同时检测,能够提高线束检测效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224636637U_ABST
    Figure CN224636637U_ABST
Patent Text Reader

Abstract

This application relates to a wire detection circuit and a detection device. The wire detection circuit includes n comparator units and one inverter module. The tail end of the first wire is connected to the first input terminal of the first comparator unit, and the tail end of the first wire is also connected to the first input terminal of the inverter module. The first output terminal of the inverter module is connected to the second input terminal of the first comparator unit. The head end of the i-th wire is connected to the output terminal of the (i-1)-th comparator unit, and the head end of the i-th wire is also connected to the first input terminal of the i-th comparator unit. The tail end of the i-th wire is connected to the i-th input terminal of the inverter module, and the i-th output terminal of the inverter module is connected to the second input terminal of the i-th comparator unit. The detection device includes a power supply and a wire detection circuit. This wire detection circuit and detection device, using a combination of multiple inverter units and one inverter module, achieves simultaneous detection of faults in multiple wires, thereby improving the efficiency of wire harness detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a wire detection circuit and detection device. Background Technology

[0002] Wires and wire harnesses, consisting of multiple wires, serve as the fundamental carriers for power transmission and signal transmission, and are widely used in electrification and automation fields such as the automotive, aerospace, electronic equipment manufacturing, and energy sectors. The reliability of their connections and the stability of their performance directly affect the safe operation, functionality, and lifespan of the entire system. However, various faults inevitably occur in wires and wire harnesses during manufacturing, assembly, use, and aging; therefore, fault detection of wires is extremely important.

[0003] In the field of wire harness fault detection, only one wire can be tested at a time. Therefore, for wire harnesses composed of multiple wires, fault detection can only be performed by testing each wire one by one to determine whether the wire harness has a fault, such as whether there is a break or incorrect connection, which leads to low detection efficiency. Utility Model Content

[0004] Therefore, it is necessary to provide a wire detection circuit and detection device that can improve the efficiency of wire harness detection.

[0005] In a first aspect, this application proposes a wire detection circuit, comprising: n comparator units and an inverter module; n is greater than 1; the first end of the first wire is connected to a power supply, the last end of the first wire is connected to the first input terminal of the first comparator unit, the last end of the first wire is also connected to the first input terminal of the inverter module, the first output terminal of the inverter module is connected to the second input terminal of the first comparator unit, and the output terminal of the first comparator unit is connected to the first end of the second wire; the first end of the i-th wire is connected to the output terminal of the (i-1)-th comparator unit, the first end of the i-th wire is also connected to the first input terminal of the i-th comparator unit, the last end of the i-th wire is connected to the i-th input terminal of the inverter module, and the i-th output terminal of the inverter module is connected to the second input terminal of the i-th comparator unit; the output terminal of the n-th comparator unit outputs a detection signal; i is greater than 1 and less than or equal to n.

[0006] In one embodiment, the comparator unit corresponds one-to-one with the wire, and the inverter module includes m first inverter units; m is greater than or equal to 1 and less than or equal to n; the end of one wire is connected to one first inverter unit; or, the ends of multiple wires are connected to one first inverter unit.

[0007] In one embodiment, the first inverter unit includes a first inverter and a first resistor. The input terminal of the first inverter is connected to the tail end of a corresponding wire, and the tail end of the wire is also grounded through the first resistor. The output terminal of the first inverter is connected to the second input terminal of the comparator unit corresponding to the wire.

[0008] In one embodiment, the comparator unit includes a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a comparator. One end of the second resistor serves as the first input terminal of the comparator unit, and the other end of the second resistor is connected to the first input terminal of the comparator. One end of the third resistor is connected to the first input terminal of the comparator, and the other end of the third resistor is grounded. One end of the fourth resistor serves as the second input terminal of the comparator unit, and the other end of the fourth resistor is connected to the second input terminal of the comparator. One end of the fifth resistor is connected to a first preset voltage, and the other end of the fifth resistor is connected to the second input terminal of the comparator. One end of the sixth resistor is connected to the second input terminal of the comparator, and the other end of the sixth resistor is grounded. The output terminal of the comparator serves as the output terminal of the comparator unit.

[0009] In one embodiment, the comparator unit further includes a fourth capacitor, a fifth capacitor, and a sixth capacitor, wherein one end of the fourth capacitor is connected to the first input terminal of the comparator, and the other end of the fourth capacitor is grounded; one end of the fifth capacitor is connected to the second input terminal of the comparator, and the other end of the fifth capacitor is grounded; one end of the sixth capacitor is connected to the power supply terminal of the comparator, and the other end of the sixth capacitor is grounded.

[0010] In one embodiment, the wire detection circuit further includes a prompting module; the prompting module is connected to the output of the nth comparator unit.

[0011] In one embodiment, the prompting module includes a prompting unit, a second inverter unit, and an alarm unit. The prompting unit is connected to the output of the nth comparator unit, and the output of the nth comparator unit is also connected to the alarm unit through the second inverter unit.

[0012] In one embodiment, the prompting unit includes a first transistor, a first light-emitting diode, and a seventh resistor, wherein the first terminal of the first transistor is connected to the output terminal of the nth comparator unit, the second terminal of the first transistor is connected to the first terminal of the first light-emitting diode through the seventh resistor, the third terminal of the first transistor is connected to a second preset voltage, and the second terminal of the first light-emitting diode is grounded.

[0013] In one embodiment, the alarm unit includes a second transistor, a second light-emitting diode, an eighth resistor, a ninth resistor, and a voice alarm. The first terminal of the second transistor is connected to the output terminal of the second inverter, the second terminal of the second transistor is connected to the first terminal of the second light-emitting diode through the eighth resistor, the second terminal of the second transistor is also connected to the voice alarm through the ninth resistor, and the second terminal of the second light-emitting diode is grounded.

[0014] In one embodiment, the wire detection circuit further includes a positioning module; the positioning module connects the output of the first comparator unit to any one of the outputs of the (n-1)th comparator unit.

[0015] In one embodiment, the voltage of the power supply is 5V.

[0016] In one embodiment, the first preset voltage is less than or equal to 4V.

[0017] Secondly, this application proposes a detection device, including a power supply and the aforementioned wire detection circuit.

[0018] In one embodiment, the detection device further includes a wire head insertion port, a wire tail insertion port, and a power switch, wherein the wire head insertion port and the wire tail insertion port are respectively connected to the wire detection circuit, and the wire detection circuit is connected to the power source through the power switch.

[0019] The aforementioned wire detection circuit and detection device use a combination of multiple inverter units and one inverter module to simultaneously detect faults in multiple wires, thereby improving the efficiency of wire harness detection. Attached Figure Description

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

[0021] Figure 1 This is a schematic diagram of the wire detection circuit in the first embodiment;

[0022] Figure 2 This is a schematic diagram of the wire detection circuit in the second embodiment;

[0023] Figure 3 for Figure 2 Circuit diagram of the first inverter unit;

[0024] Figure 4 for Figure 1 and Figure 2 Circuit diagram of the comparator unit;

[0025] Figure 5 This is a schematic diagram showing the connection of three wires to a comparator and an inverter unit as a specific example;

[0026] Figure 6 This is a schematic diagram of the wire detection circuit in the third embodiment;

[0027] Figure 7 for Figure 6 A schematic diagram of the structure of the prompt module;

[0028] Figure 8 for Figure 7 Circuit diagrams for the prompting unit and alarm unit;

[0029] Figure 9 A schematic diagram showing the connection of the positioning module to the output of the 14th comparator unit as a specific example;

[0030] Figure 10 This is a structural block diagram of a detection device according to one embodiment;

[0031] Figure 11 This is a schematic diagram illustrating the connection of the first ends of 27 wires to the wire end insertion port as a specific example.

[0032] Figure 12 This is a schematic diagram illustrating, for example, the connection of the ends of 27 wires to the wire end insertion port.

[0033] Explanation of reference numerals in the attached figures:

[0034] 1: Wire detection circuit; 2: Power supply; 3: Wire start insertion port; 4: Wire end insertion port; 5: Power switch; line1~line27: Start ends of the first to the 27th wires; line1-1~line27-1: End ends of the first to the 27th wires; line1-0~line6-0: Inverted signals after inversion processing of the end ends of the first to the 6th wires; 11: First wire; 12: i-th wire; 13: n-th wire; 21: First comparator unit; 22: i-th comparator unit; 23: n-th comparator unit; 24: 14-th comparator unit; 30: Inverter module; 31: First inverter unit; 32: j-th inverter unit. 1. Inverter unit; 33: m-th first inverter unit; 40: prompt module; 41: prompt unit; 42: second inverter unit; 43: alarm unit; R1: first resistor; R2: second resistor; R3: third resistor; R4: fourth resistor; R5: fifth resistor; R6: sixth resistor; R7: seventh resistor; R8: eighth resistor; R9: ninth resistor; C1: first capacitor; C2: second capacitor; C3: third capacitor; C4: fourth capacitor; C5: fifth capacitor; C6: sixth capacitor; U1: first inverter; U2: comparator; Q1: first transistor; Q2: second transistor; LED1: first light-emitting diode; LED2: second light-emitting diode; B1: buzzer; 50: positioning module. Detailed Implementation

[0035] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0037] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0038] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0039] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.

[0040] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0041] This application was made by the inventor based on his understanding and research into the following issues:

[0042] As key components connecting various electronic elements and systems in electronic devices, wires and wire harnesses are becoming increasingly numerous and complex. For example, a car contains wire harnesses connecting thousands of assembled components to various electronic systems. Therefore, fault detection of wires is extremely important. Related technologies rely on testing the end of a single wire and comparing it with a fixed voltage using a comparator. The comparator's output voltage is then used to determine the condition of the individual wire, thus achieving wire harness fault detection. However, in these technologies, wire harness fault detection can only be achieved by testing each wire individually, resulting in low efficiency.

[0043] Therefore, this application proposes a detection circuit and detection device that can improve the detection efficiency of wire harnesses.

[0044] In the first embodiment of this application, as Figure 1 As shown, the wire detection circuit 1 includes n comparator units ( Figure 1 The diagram shows the first comparator unit 21, the i-th comparator unit 22, and the n-th comparator unit 23, and an inverter module 30; n is greater than 1.

[0045] The first end of the first wire 11, line1, is connected to the power supply 2. The last end of the first wire 11, line1-1, is connected to the first input terminal of the first comparator unit 21. The last end of the first wire 11, line1-1, is also connected to the first input terminal of the inverter module 30. The first output terminal of the inverter module 30 is connected to the second input terminal of the first comparator unit 21. The output terminal of the first comparator unit 21 is connected to the first end of the second wire (not shown in the figure).

[0046] The first end of the i-th wire 12, linei, is connected to the output of the (i-1)-th comparator unit (not shown in the figure). The first end of the i-th wire 12, linei, is also connected to the first input of the i-th comparator unit 22. The last end of the i-th wire 12, linei-1, is connected to the i-th input of the inverter module 30. The i-th output of the inverter module 30 is connected to the second input of the i-th comparator unit 22. The output of the n-th comparator unit 23 outputs a detection signal. i is greater than 1 and less than or equal to n.

[0047] Among them, reference Figure 1 The first end of the nth wire 13, linen, is connected to the output terminal of the (n-1)th comparator unit (not shown in the figure). The first end of the nth wire 13, linen, is also connected to the first input terminal of the nth comparator unit 23. The last end of the nth wire 13, linen-1, is connected to the nth input terminal of the inverter module 30. The nth output terminal of the inverter module 30 is connected to the second input terminal of the nth comparator unit 23.

[0048] Among them, the voltage Vdd of power supply 1 can be 5V.

[0049] The comparator unit compares the voltages at the first and second input terminals and outputs the comparison result. It outputs a first signal when the voltage at the first input terminal is greater than the voltage at the second input terminal, and a second signal when the voltage at the second input terminal is greater than the voltage at the first input terminal. The second signal is different from the first signal. The inverter module inverts the input signal and outputs it to the second input terminal of the comparator unit as a reference voltage.

[0050] Figure 1In the wire detection circuit shown, each comparator unit corresponds one-to-one with a wire; that is, the first comparator unit 21 corresponds to the first wire 11, and the i-th comparator unit 22 corresponds to the i-th wire (1 < i ≤ n). The inverter module 30 has multiple input and output terminals, and the output terminals correspond one-to-one with the input terminals; that is, the first output terminal of the inverter module 30 corresponds to the first input terminal, the i-th output terminal corresponds to the i-th input terminal, and the n-th output terminal corresponds to the n-th input terminal. In other words, each comparator unit corresponds to one wire and one input and one output terminal of the inverter module.

[0051] Reference Figure 1 The power supply voltage Vdd (5V) injects an initial detection signal into the first end line1 of the first wire 11. After being transmitted through the first wire 11, the signal is divided into two paths: one path is input to the first input terminal of the first comparator unit 21 through the tail end line1-1 of the first wire 11, serving as the input signal for subsequent comparisons; the other path is input to the inverter module 30, which generates a reference signal with opposite phase after inversion and outputs it to the second input terminal of the first comparator unit 21. The first comparator unit 21 compares the input signal and the reference signal of the first wire 11 and outputs a comparison signal to the beginning of the second wire, participating in the signal interaction of subsequent multi-wire detection. The signal at the beginning of the i-th wire 12 is input to the first input terminal of the i-th comparator unit 22 through the beginning terminal linei, and the signal at the end of the i-th wire 12 is input to the inverter module 30 through the end terminal linei-1. After inversion, the signal is output to the second input terminal of the i-th comparator unit 22 as a reference signal. The i-th comparator unit 22 compares the signal at the beginning of the i-th wire with the reference signal. When the signal at the beginning of the i-th wire 12 is greater than the reference signal at the second input terminal, a first signal is output. When the reference signal at the second input terminal of the i-th comparator unit 22 is greater than the signal at the beginning of the i-th wire 12, a second signal different from the first signal is output and participates in the detection of subsequent wires. The nth comparator unit 23 compares the start signal of the nth wire with the reference signal and outputs a final detection signal. This detection signal is used to characterize whether a fault has occurred in the bundle composed of the first to nth wires. When the detection signal is the first signal, it is determined that all wires are connected normally; when the detection signal is the second signal, it is determined that at least one wire is broken or misconnected. The first and second signals can be high-level and low-level signals, respectively.

[0052] For example, for the (i-1)th wire, when the (i-1)th wire is properly connected, the (i-1)th comparator unit outputs a high-level signal, and the signal at the beginning of the i-th wire is high; when the (i-1)th wire is disconnected, the i-th comparator unit outputs a low-level signal, and the signal at the beginning of the i-th wire is low. When the (i-1)th wire is misconnected, such as when the beginning of the (i-1)th wire is connected to the end of another wire, the (i-1)th comparator unit outputs a low-level signal, and the signal at the beginning of the i-th wire is low.

[0053] By identifying the detection signal output by the nth comparator unit, it is possible to simultaneously determine whether there are any broken or incorrectly connected wires among multiple wires. This is specifically reflected in the detection signal output by the nth comparator unit. Compared to related technologies that detect wires one by one, parallel detection improves the efficiency of wire harness detection. To visualize wire harness faults, an audible and visual alert circuit can be connected to the output of the nth comparator unit, providing sound or light color alerts or alarms when the detection signal is normal or faulty. When a wire harness fault is detected, the location of the fault can be determined by identifying the output signals of each comparator unit.

[0054] Therefore, by using the above-mentioned wire detection circuit, which combines multiple inverter units and one inverter module to simultaneously detect faults in multiple wires, the efficiency of wire harness detection can be improved.

[0055] The inverter module 30 described above is used to invert the input signal. Its structure is described below.

[0056] In the second embodiment of this application, as Figure 2 As shown, the comparator units correspond one-to-one with the wires, and the inverter module 30 includes m first inverter units ( Figure 2 The diagram shows the first inverter unit 31, the j-th inverter unit 32, and the m-th inverter unit 33; m is greater than or equal to 1 and less than or equal to n, j is greater than 1 and less than or equal to m, and the end of one wire is connected to one inverter unit; or, the ends of multiple wires are connected to one inverter unit.

[0057] Specifically, one wire corresponds to one first inverter unit, or multiple wires correspond to one first inverter unit. When multiple wires correspond to one first inverter unit, each wire corresponds to one input terminal and one output terminal of the first inverter unit. For example, when the first wire and the second wire correspond to the same first inverter unit, the first inverter unit has two first input terminals and two output terminals. The tail end of the first wire is connected to the first input terminal of the first inverter unit, and the first output terminal of the first inverter unit is connected to the second input terminal of the first comparator unit. The tail end of the second wire is connected to the second input terminal of the first inverter unit, and the second output terminal of the first inverter unit is connected to the second input terminal of the second comparator unit.

[0058] The signal at the tail end of the corresponding wire is inverted by the first inverter unit and then output to the second input terminal of the comparator unit corresponding to that wire, serving as the reference signal for the comparator unit. The comparator unit compares the measured signal of the corresponding wire (the tail end signal of the first wire and the head end signal of the i-th wire) at the first input terminal with the reference signal at the second input terminal, and then outputs a comparison signal. (Refer to...) Figure 2 Taking the i-th wire 12 corresponding to a j-th first inverter unit 32 as an example, the i-th comparator unit 22 compares the measured signal at the first input terminal (the signal at the beginning of the i-th wire 12) with the reference signal at the second input terminal (the inverted signal of the signal at the end of the i-th wire 12 output by the j-th first inverter unit). If the measured signal is greater than the reference signal, the i-th comparator unit 22 outputs a high level; if the reference signal is greater than the measured signal, the i-th comparator unit 22 outputs a low level. The high or low level signal is then output to the beginning of the next wire to participate in the comparison of the entire circuit.

[0059] Furthermore, the model of the first inverter may include 74HC14D, MC14584BDR2G, and MC14049UBDR2G, etc. The following description uses the first inverter as an example. Figure 3 The following explanation uses an inverter with model number 74HC14D and corresponding to the first to sixth wires as an example.

[0060] In one example, such as Figure 3 As shown, the first inverter unit includes a first inverter U1 and a first resistor R1. The input terminal of the first inverter U1 is connected to the tail end of the corresponding wire, and the tail end of the wire is also grounded to AGND through the first resistor R1. The output terminal of the first inverter U1 is connected to the second input terminal of the comparator unit corresponding to the wire.

[0061] Specifically, refer to Figure 3The first inverter 74HC14D has input terminals 1A, 2A, 3A, 4A, 5A, and 6A, and output terminals 1Y, 2Y, 3Y, 4Y, 5Y, and 6Y. Each input terminal corresponds to a first resistor R1, which has a value of 2kΩ and serves as a current-limiting resistor. 1A, 2A, 3A, 4A, 5A, and 6A are respectively connected to the tail ends of the first wire (line1-1), the second wire (line2-1), the third wire (line3-1), the fourth wire (line4-1), the fifth wire (line5-1), and the sixth wire (line6-1). The tail end of each wire is also grounded to AGND through the first resistor R1. 1Y, 2Y, 3Y, 4Y, 5Y, and 6Y output the inverted signals of the tail ends of the first and second wires (line1-0 and line2-0, respectively). The inverted signals of the tail signals of the third wire (line3-0), the fourth wire (line4-0), the fifth wire (line5-0), and the sixth wire (line6-0) are connected one-to-one to the second input terminals of the first, second, third, fourth, fifth, and sixth comparator units.

[0062] Reference Figure 3 Taking the first wire as an example, the signal from the tail end of the first wire reaches 1A after passing through tail end line1-1. After being inverted by 74HC14D, the inverted signal line1-0 is output from 1Y. The output signal is the inverted signal of the input signal. That is, if the tail end signal is high, then line1-0 is low; if the tail end signal is low, then line1-0 is high.

[0063] Reference Figure 3 The first inverter unit may also include a first capacitor C1, a second capacitor C2, and a third capacitor C3. One end of the first capacitor C1 is connected to the ground pin GND of the first inverter unit, and the other end is grounded to AGND to stabilize the operating voltage. The second capacitor C2 and the third capacitor C3 are connected in parallel between the power supply pin VCC of the first inverter and ground AGND to filter the power supply, mainly filtering out high-frequency noise and low-frequency ripple on the power supply line, providing a stable and clean operating power supply for the 74HC14D inverter, and avoiding power supply noise interference with the inverter's signal processing.

[0064] The first capacitor C1 has a value of 50pF, the second capacitor C2 has a value of 100nF, and the third capacitor C3 has a value of 1μF.

[0065] Therefore, by inverting the signal at the tail end of the corresponding wire using the first inverter, the signal is used as the reference signal for the corresponding comparator unit, enabling comparison of each wire and ensuring comparison reliability. Due to the Schmitt trigger characteristic of the 74HC14D, slowly changing noise and minute fluctuations that may be introduced during wire transmission are filtered or shaped by the chip, making the inverted signal cleaner. This improves the accuracy of subsequent detection circuits in fault diagnosis and avoids misjudging wire faults due to signal interference.

[0066] The structure of the comparator unit will be explained in detail below.

[0067] In one example, such as Figure 4 As shown, the comparator unit includes a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, and a comparator U2. One end of the second resistor R2 serves as the first input terminal of the comparator unit, and the other end of the second resistor R2 is connected to the first input terminal of the comparator U2. One end of the third resistor R3 is connected to the first input terminal of the comparator U2, and the other end of the third resistor R3 is grounded to AGND. One end of the fourth resistor R4 serves as the second input terminal of the comparator unit, and the other end of the fourth resistor R4 is connected to the second input terminal of the comparator U2. One end of the fifth resistor R5 is connected to a first preset voltage, and the other end of the fifth resistor R5 is connected to the second input terminal of the comparator U2. One end of the sixth resistor R6 is connected to the second input terminal of the comparator U2, and the other end of the sixth resistor R6 is grounded to AGND. The output terminal of the comparator U2 serves as the output terminal of the comparator unit.

[0068] Figure 4 The first input terminal, the second input terminal, and the output terminal are respectively the first input terminal, the second input terminal, and the output terminal of the comparator unit.

[0069] It should be noted that when Figure 4 When the comparator unit in the code is the first comparator unit corresponding to the first wire, Figure 4 The first input terminal is the first input terminal of the first comparator unit, and it is connected to the tail end of the first wire, line1-1. Figure 4 The second input terminal is the same as the second input terminal of the first comparator unit, and is connected to the inverted signal line1-0 at the tail end corresponding to the first wire; when Figure 4 When the comparator unit in the code is the i-th comparator unit corresponding to the i-th wire, Figure 4 The first input terminal is the first input terminal of the i-th comparator unit, and it is connected to the first end linei of the i-th wire. Figure 4 The second input terminal is the second input terminal of the i-th comparator unit, which is connected to the inverted signal linei-0 at the tail end corresponding to the i-th wire.

[0070] Among them, the first preset voltage is less than or equal to 4V, for example, it can be 3.3V, to avoid the zero-drift phenomenon when it is greater than 4V, which may cause the comparator to be unable to compare the voltages of the two input terminals.

[0071] Referring to Figure 4 , the comparator unit further includes a fourth capacitor C4, a fifth capacitor C5, and a sixth capacitor C6. Among them, one end of the fourth capacitor C4 is connected to the first input terminal of the comparator U2, and the other end of the fourth capacitor C4 is grounded to AGND; one end of the fifth capacitor C5 is connected to the second input terminal of the comparator U2, and the other end of the fifth capacitor C5 is grounded to AGND; one end of the sixth capacitor C6 is connected to the power supply terminal of the comparator U2, and the other end of the sixth capacitor C6 is grounded to AGND.

[0072] The resistance values of R2, R3, R4, R5, and R6 can be 10 kΩ, 20 kΩ, 10 kΩ, 30 kΩ, and 30 kΩ respectively, and the capacitance values of C4, C5, and C6 can be 100 nF, 4.7 nF, and 100 nF respectively.

[0073] R3, C4 and R6, C5: are respectively the filters for the first input terminal and the second input terminal of the comparator U2, matching the input impedance of the comparator and suppressing high-frequency noise; R5 provides a DC bias for the second input terminal, and flexibly sets the comparison reference; R2, R4: limit the current to protect the comparator input and ensure the original characteristics of the signal; the capacitor C6 is connected in parallel between the power supply voltage 5V and the analog ground AGND to filter out the high-frequency noise of the power supply and stabilize the operating voltage of the comparator.

[0074] Specifically, referring to Figure 4 , the wire signal at the first input terminal is limited in current by the resistor R2 and enters the RC filter network composed of R3 and C4, and then smoothly enters the first input terminal (non-inverting terminal) of the comparator; the signal at the second input terminal enters the second input terminal (inverting terminal) of the comparator after being limited in current by R4. At the same time, the first preset voltage 3.3V is divided by R5 and R6, and combined with R6, C5, to set the reference voltage for the inverting terminal. The comparator U2 compares the voltage difference between the non-inverting terminal V+ and the inverting terminal V-. If V+>V-, the output terminal of the comparator outputs a high level; if V+<V-, the output terminal of the comparator outputs a low level.

[0075] By configuring the resistance ratio of R2 to R6 and the filtering parameters of C4 and C5, the comparison threshold and anti-interference ability can be adjusted to make it more suitable for wire detection: comparing the wire signal (connected to the first input terminal) with the reference signal (the inverted signal of the tail-end signal connected to the second input terminal) to determine whether the wire is disconnected, misconnected, etc.

[0076] Taking three wires as an example, when each wire corresponds to a comparator and a first inverter, the connection of the corresponding comparator and first inverter is as Figure 5 shown.

[0077] Therefore, by combining a comparator, a first preset voltage, and a resistor, the two input signals are compared, and the high and low levels output reflect the signal comparison results, so as to realize wire detection and ensure detection accuracy.

[0078] It should be noted that when a fault is detected in the wiring harness through the detection signal, the output signal of each comparator unit can be identified in order to locate the specific faulty wire.

[0079] The above describes the specific structure of the comparator unit and inverter module. Through the above wire detection circuit, its nth comparator unit can output a detection signal characterizing whether a fault has occurred in the wire bundle consisting of the first wire to the ith wire. To visualize the detection result, a prompting module can be connected to the output of the nth comparator unit, as explained below:

[0080] In the third embodiment, as Figure 6 As shown, the wire detection circuit also includes a prompting module 40, which is connected to the output of the nth comparator unit (the last comparator unit) 23.

[0081] The prompting module 40 is used to provide corresponding prompts or alarms based on the detection signal output by the nth comparator unit. If the detection signal is a high-level signal, it is determined that the connection of the first to the nth wires is normal, and a preset prompt, such as an audible prompt or a visual prompt, is given. If the detection signal is a low-level signal, it is determined that the connection of the first to the nth wires has failed, and at least one wire is disconnected or incorrectly connected, and a preset alarm, such as a visual alarm or a visual prompt, is given.

[0082] In one possible implementation, such as Figure 7 As shown, the prompting module 40 may include a prompting unit 41, a second inverter unit 42, and an alarm unit 43. The prompting unit 41 is connected to the output terminal of the nth comparator unit 23, and the output terminal of the nth comparator unit 23 is also connected to the alarm unit 43 through the second inverter unit 42.

[0083] In one example, such as Figure 8 As shown, the prompting unit 41 includes a first transistor Q1, a first light-emitting diode LED1, and a seventh resistor R7 (current-limiting resistor). The first terminal of the first transistor Q1 is connected to the output terminal of the nth comparator unit, the second terminal of the first transistor Q1 is connected to the first terminal (anode) of the first light-emitting diode LED1 through the seventh resistor R7, the third terminal of the first transistor Q1 is connected to a second preset voltage, and the second terminal (cathode) of the first light-emitting diode LED1 is grounded AGND.

[0084] Reference Figure 8The first transistor Q1 is an NPN transistor, with the first terminal being the base, the second terminal being the emitter, and the third terminal being the collector. The model number of the first transistor Q1 can be FMMT491. The first light-emitting diode LED1 can be a green diode.

[0085] Specifically, when the detection signal output by the last comparator is high, Q1 is turned on, and the indicator unit 41 is turned on, illuminating the green LED1. If the detection signal output by the last comparator is low, Q1 is turned off, and the green LED1 does not light up. When LED1 emits green light, it is determined that there are no faulty wires among the first to the i-th wires; when LED1 does not light up, it is determined that there is a faulty wire among the first to the i-th wires.

[0086] Therefore, by detecting the signal, LED1 is illuminated, indicating that the wiring harness is fault-free, and the detection results are visualized.

[0087] The structure of the second inverter unit 42 is the same as that of the first inverter unit. That is, the second inverter unit may include a connected resistor and a second inverter. One end of the resistor serves as the input terminal of the second inverter unit, and the other end of the resistor is connected to the input terminal of the second inverter. The output terminal of the second inverter is connected to the alarm unit.

[0088] In one example, refer to Figure 8 The alarm unit 43 includes a second transistor Q2, a second light-emitting diode LED2, an eighth resistor R8 (current-limiting resistor), a ninth resistor R9 (current-limiting resistor), and a buzzer B1. The first terminal of the second transistor Q2 is connected to the output terminal of the second inverter 42. The second terminal of the second transistor Q2 is connected to the first terminal (anode) of the second light-emitting diode LED2 through the eighth resistor R8. The second terminal of the second transistor Q2 is also connected to the buzzer B1 through the ninth resistor R9. The second terminal (cathode) of the second light-emitting diode LED2 is grounded to AGND.

[0089] Reference Figure 8 The second transistor Q2 is an NPN transistor, with the first terminal being the base, the second terminal being the emitter, and the third terminal being the collector. The model number of the second transistor Q2 can be FMMT491. The second light-emitting diode LED1 can be a red diode.

[0090] Specifically, when the inverted signal of the detection signal is high, Q2 is turned on, red LED2 lights up, and buzzer B1 sounds, indicating that there is a faulty wire; when the inverted signal of the detection signal is low, Q2 is turned off, red LED2 and buzzer B1 are not powered and do not work, indicating that there is no faulty wire.

[0091] In other words, through the above-mentioned prompting circuit, when the detection signal is high, its inverted signal is low. At this time, green LED1 is lit, red LED2 is off, and buzzer B1 does not sound, indicating that the wiring harness is fault-free. When the detection signal is low, its inverted signal is high. At this time, green LED1 is off, red LED2 is lit, and buzzer B1 sounds, indicating that the wiring harness has a fault. To locate the fault, the prompting module 40 can be connected to the output of each comparator. Based on the LED and buzzer status of the prompting module 40, it can be determined whether the wire corresponding to that comparator is broken or incorrectly connected. Specifically, to locate the fault location, the prompting module 40 can be connected to the output of the first to the ith comparator respectively, visually checking whether each wire is faulty. Connections can be made sequentially, or the fault location can be initially located according to preset rules before connection.

[0092] For example, in a wire harness consisting of 27 wires, when the detection signal output from the last comparator is input to the prompt module 40, the green LED1 is off, the red LED2 is on, and the buzzer B1 sounds. One approach is to connect the prompt module 40 sequentially to the outputs of each comparator. If, when connected to the second wire, the green LED1 is off, the red LED2 is on, and the buzzer B1 sounds, it indicates that the second wire is broken or incorrectly connected. Another approach is to first locate the fault in the first to fifth wires, and then connect the prompt module 40 sequentially to the outputs of the first to fifth comparators. If, when connected to the second wire, the green LED1 is off, the red LED2 is on, and the buzzer B1 sounds, it indicates that the second wire is broken or incorrectly connected.

[0093] The final traffic light indicator can be used to determine if there are any broken or incorrectly connected wires. Taking 27 wires as an example, if any of the 27 wires are broken or incorrectly connected, the red light will remain on and a buzzer will sound; if all 27 wires are normal, the green light will remain on. This process continues until any n wires are broken or incorrectly connected, which can be determined by the final traffic light indicator. LEDs can be placed at the outputs of each comparator to pinpoint the specific broken or incorrectly connected wire.

[0094] Therefore, transistors, LEDs, and buzzers are used to convert the wire harness detection signal into an audible and visual alarm output, providing intuitive prompts for faults and abnormal conditions.

[0095] The above circuitry enables wire harness fault detection and alerts. The alert module not only visualizes whether the wire harness is normal or faulty, but also locates the fault. By reusing the same alert module, both visualization and location are achieved, offering the advantages of multi-functionality and high efficiency. For fault location, in addition to reusing the alert module, a different location module can also be used.

[0096] That is, in another possible implementation, such as Figure 9 As shown, the wire detection circuit may further include a positioning module 50, which differs from the prompting module. The positioning module is connected to any output terminal among the output terminals of the first comparator unit and the (n-1)th comparator unit. The positioning module is used to identify the output signal of the connected comparator unit, and determine whether the wire corresponding to the comparator unit and all wires before it are faulty based on the output signal. When a fault occurs, it outputs the location of the faulty wire, such as fault information including the location of the faulty wire and the fault details.

[0097] For example, taking a wire harness consisting of 27 wires as an example, when a faulty wire is present, the first method is to connect the positioning module sequentially to the output of the comparator unit corresponding to each wire to determine whether each wire is faulty. For instance, when sequentially connected to the output of the comparator unit corresponding to the 15th wire, the output signal is low, indicating the location of the 15th wire. The second method is to first locate a portion of the wires, i.e., refer to... Figure 9 First, the positioning module 50 is connected to the output of the comparator unit corresponding to the 14th wire to determine whether the first to 14th wires are faulty. If so, it indicates that the fault is located in the first to 14th wires. The output signals of the comparator units of these wires can be further identified, and the outputs of the first to 14th comparator units can be connected in sequence to locate the fault. If not, it means that the first to 14th wires are normal, and the fault is located in other wires. The outputs of other comparator units can be connected in sequence to locate the fault. For example, when connected in sequence to the output of the comparator unit corresponding to the 15th wire, the output signal is low, and the output includes the location of the 15th wire and the fault information. Compared to detecting faults in 27 wires one by one, this example detects faults in all 27 wires at once and locates the faulty wire by identifying the output signals of each comparator unit through the positioning module when a faulty wire is found. This can shorten the fault location time and improve the fault location efficiency.

[0098] In summary, this embodiment uses a combination of inverters and comparators to simultaneously detect faults in multiple wires, shortening the fault detection time and improving detection efficiency. Assuming all wires are properly connected, the wire detection circuit can detect no faults in a single test, eliminating the need for individual wire testing and thus improving efficiency. Conversely, if a faulty wire is present, the detection circuit can detect it in a single test, allowing for fault location and further shortening the fault detection time, facilitating timely replacement or reconnection of the wiring harness.

[0099] It is understood that the above-mentioned wire detection circuit can also take other forms, and is not limited to the forms mentioned in the above embodiments, as long as it can achieve the function of detecting faults in multiple wires.

[0100] This application also proposes a detection device.

[0101] In one exemplary embodiment, such as Figure 10 As shown, the detection device includes a power supply 2 and the aforementioned wire detection circuit 1. The power supply voltage is 5V. Further, referring to... Figure 10 The detection device also includes a wire head insertion port 3, a wire tail insertion port 4, and a power switch 5. The wire head insertion port 3 and the wire tail insertion port 4 are respectively connected to the wire detection circuit 1, and the wire detection circuit 1 is connected to the power supply 2 through the power switch 5.

[0102] In one possible implementation, when fault detection is required for a wire harness consisting of 27 wires, such as... Figure 11 As shown, insert the ends of all wires, from line 1 to line 27, into wire end insertion slot 3, as follows. Figure 12 As shown, insert the ends of all the wires, from line1-1 to line27-1, into the wire end insertion port 4, and close the power supply 5. The wire detection circuit 1 will then output a detection signal, which indicates whether there are any faults such as disconnection or misconnection in the 27 wires.

[0103] Therefore, by using the above-mentioned detection device and its wire detection circuit, it is possible to simultaneously detect whether multiple wires are broken or incorrectly connected, thereby improving the efficiency of wire harness detection.

[0104] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.

[0105] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A wire detection circuit, characterized in that, It includes n comparator units and one inverter module; n is greater than 1. The first end of the first wire is connected to the power supply, the second end of the first wire is connected to the first input terminal of the first comparator unit, the second end of the first wire is also connected to the first input terminal of the inverter module, the first output terminal of the inverter module is connected to the second input terminal of the first comparator unit, and the output terminal of the first comparator unit is connected to the first end of the second wire. The first end of the i-th wire is connected to the output of the (i-1)-th comparator unit, and the first end of the i-th wire is also connected to the first input of the i-th comparator unit. The last end of the i-th wire is connected to the i-th input of the inverter module, and the i-th output of the inverter module is connected to the second input of the i-th comparator unit. The output of the n-th comparator unit outputs a detection signal. i is greater than 1 and less than or equal to n.

2. The wire detection circuit according to claim 1, characterized in that, The comparator unit corresponds one-to-one with the wire, and the inverter module includes m first inverter units; m is greater than or equal to 1 and less than or equal to n. The end of a wire is connected to a first inverter unit; or, The ends of multiple wires are connected to a first inverter unit.

3. The wire detection circuit according to claim 2, characterized in that, The first inverter unit includes a first inverter and a first resistor. The input terminal of the first inverter is connected to the tail end of the corresponding wire, and the tail end of the wire is also grounded through the first resistor. The output terminal of the first inverter is connected to the second input terminal of the comparator unit corresponding to the wire.

4. The wire detection circuit according to claim 2, characterized in that, The comparator unit includes a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a comparator. One end of the second resistor serves as the first input terminal of the comparator unit, and the other end of the second resistor is connected to the first input terminal of the comparator. One end of the third resistor is connected to the first input terminal of the comparator, and the other end of the third resistor is grounded. One end of the fourth resistor serves as the second input terminal of the comparator unit, and the other end of the fourth resistor is connected to the second input terminal of the comparator. One end of the fifth resistor is connected to a first preset voltage, and the other end of the fifth resistor is connected to the second input terminal of the comparator. One end of the sixth resistor is connected to the second input terminal of the comparator, and the other end of the sixth resistor is grounded. The output terminal of the comparator serves as the output terminal of the comparator unit.

5. The wire detection circuit according to claim 4, characterized in that, The comparator unit further includes a fourth capacitor, a fifth capacitor, and a sixth capacitor, wherein one end of the fourth capacitor is connected to the first input terminal of the comparator, and the other end of the fourth capacitor is grounded; one end of the fifth capacitor is connected to the second input terminal of the comparator, and the other end of the fifth capacitor is grounded; one end of the sixth capacitor is connected to the power supply terminal of the comparator, and the other end of the sixth capacitor is grounded.

6. The wire detection circuit according to any one of claims 1-5, characterized in that, It also includes a prompting module; the prompting module is connected to the output of the nth comparator unit.

7. The wire detection circuit according to claim 6, characterized in that, The prompting module includes a prompting unit, a second inverter unit, and an alarm unit. The prompting unit is connected to the output of the nth comparator unit, and the output of the nth comparator unit is also connected to the alarm unit through the second inverter unit.

8. The wire detection circuit according to claim 7, characterized in that, The prompting unit includes a first transistor, a first light-emitting diode, and a seventh resistor. The first terminal of the first transistor is connected to the output terminal of the nth comparator unit, the second terminal of the first transistor is connected to the first terminal of the first light-emitting diode through the seventh resistor, the third terminal of the first transistor is connected to a second preset voltage, and the second terminal of the first light-emitting diode is grounded.

9. The wire detection circuit according to claim 7, characterized in that, The alarm unit includes a second transistor, a second light-emitting diode, an eighth resistor, a ninth resistor, and a voice alarm. The first terminal of the second transistor is connected to the output terminal of the second inverter. The second terminal of the second transistor is connected to the first terminal of the second light-emitting diode through the eighth resistor. The second terminal of the second transistor is also connected to the voice alarm through the ninth resistor. The second terminal of the second light-emitting diode is grounded.

10. The wire detection circuit according to claim 1, characterized in that, It also includes a positioning module; the positioning module connects the output of the first comparator unit to any one of the outputs of the (n-1)th comparator unit.

11. The wire detection circuit according to claim 1, characterized in that, The power supply has a voltage of 5V.

12. The wire detection circuit according to claim 4, characterized in that, The first preset voltage is less than or equal to 4V.

13. A detection device, characterized in that, Includes a power supply and a wire detection circuit as described in any one of claims 1-12.

14. The detection device according to claim 13, characterized in that, It also includes a wire head insertion port, a wire tail insertion port, and a power switch, wherein the wire head insertion port and the wire tail insertion port are respectively connected to the wire detection circuit, and the wire detection circuit is connected to the power supply through the power switch.