Wire harness testing device, method and equipment and storage medium
By providing a wire harness testing device including signal generation module, current source, measurement circuit, signal comparison module and resistance calculation comparison module, the problem of inefficient wire harness testing of drone is solved, and a fast and accurate test and efficient testing process of drone wire harness are realized.
Patent Information
- Application Number
- CN202510172856.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-03-25
AI Technical Summary
The testing efficiency of drone wiring harnesses in the prior art is inefficient, especially when the cable network is complex.
A wire harness testing device is provided, including a signal generation module, a current source, a plurality of measurement circuits, a signal comparison module and a resistance calculation comparison module. Through the coordinated work of these modules, the status of each cable in the drone harness can be quickly and accurately determined, improving testing efficiency.
It realizes rapid and accurate testing of drone wiring harnesses, improves testing efficiency, and can test multiple cables in parallel, suitable for complex cable networks.
Smart Images

Figure CN119689332A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wire harness testing, and in particular to a wire harness testing device, method, equipment and storage medium. Background Art
[0002] The drone wiring harness is an important part of the drone electrical system, and is mainly responsible for the transmission of signals and power between drone avionics equipment. The drone wiring harness generally includes a large number of cables, and connectors are connected at both ends of the cables as input and output ports. In order to avoid drone failures due to missing connections, false connections, and wrong connections between the cables in the drone wiring harness and the input and output ports, the drone wiring harness needs to be tested.
[0003] At present, when testing the wiring harness of a drone, a relay solution is generally used. By applying power excitation at both ends of the line, a single relay is energized to scan the cable network of the entire drone wiring harness to test the drone wiring harness and determine the cable status of the drone wiring harness, including whether the cable is connected or disconnected, and whether the cable is misconnected or loosely connected to the input / output port.
[0004] However, when the cable network of the drone harness is complex, the testing efficiency of the drone harness is low. Summary of the invention
[0005] The embodiments of the present application solve the problem of low testing efficiency of drone wiring harnesses in the prior art by providing a wiring harness testing device, method, equipment and storage medium. The state of the drone wiring harness can be determined quickly and accurately, thereby improving the testing efficiency of the drone wiring harness.
[0006] In a first aspect, an embodiment of the present application provides a wiring harness testing device, including: a signal generating module, a current source, multiple measurement circuits, a signal comparison module, and a resistance calculation comparison module.
[0007] Among them, each measurement circuit includes a test signal selection circuit, a cable to be tested, a signal acquisition module and a voltage acquisition module; in each measurement circuit, the input end of the test signal selection circuit is respectively connected to the signal generation module and the current source, and the output end is connected to the input end of the cable to be tested; the output end of the cable to be tested is respectively connected to the signal acquisition module and the voltage acquisition module, and the voltage acquisition module is also connected to the input end of the cable to be tested; the signal acquisition module is connected to the signal comparison module, and the voltage acquisition module is connected to the resistance calculation comparison module.
[0008] The signal generating module is used to output a first signal to a target cable to be tested in the target measuring circuit through a target test signal selecting circuit in the target measuring circuit.
[0009] The current source is used to output a test current to a target cable to be tested in the target measurement circuit through a target test signal selection circuit in the target measurement circuit.
[0010] The target test signal selection circuit in the target measurement circuit is used to connect the signal generation module or the current source to the target cable to be tested in the target measurement circuit; the target signal acquisition module in the target measurement circuit is used to receive the second signal output by the target cable to be tested; and the target voltage acquisition module in the target measurement circuit is used to acquire the voltage at both ends of the target cable to be tested.
[0011] The signal comparison module is used to determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively according to the signal properties of the first signal from the signal generation module, the signal properties of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, and output the first test result of the cable.
[0012] The resistance calculation and comparison module is used to determine the actual resistance of the target cable to be tested according to the first voltage and the second voltage at both ends of the target cable to be tested and the first current in the target cable to be tested, determine whether there is a virtual connection in the target cable to be tested according to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, and output the second test result of the cable.
[0013] Furthermore, the output end of each cable to be tested is also connected to one end of the first resistor, the other end of the first resistor is connected to one end of the second resistor, and the other end of the second resistor is grounded; the voltage acquisition module is also used to collect the third voltage and the fourth voltage across the first resistor; the resistance calculation and comparison module is specifically used to determine the first current in the target cable to be tested based on the third voltage, the fourth voltage and the first resistor.
[0014] Furthermore, the device also includes: The control module is used to send a first control signal to the target test signal selection circuit, and the first control signal is used to indicate that the target test signal selection circuit is connected to the signal generating module or the current source; the control module is also used to send a second control signal to the signal generating module, and the second control signal is used to indicate that the signal generating module outputs a first signal of the target signal attribute; the control module is also used to send the target signal attribute to the signal comparison module.
[0015] Furthermore, the device also includes: The configuration module is used to determine the design resistance of the target cable to be tested according to the length, cross-sectional area and resistivity of the target cable to be tested, and send it to the control module; the control module is also used to send the design resistance of the target cable to be tested to the resistance calculation and comparison module.
[0016] Furthermore, the control module is also used to receive a first test result of the cable from the signal comparison module, and receive a second test result of the cable from the resistance calculation comparison module.
[0017] Furthermore, both the first signal and the second signal are pulse width modulated signals, and signal attributes of both the first signal and the second signal include pulse width and period.
[0018] Furthermore, the test signal selection circuit includes a relay or an FPGA (Field Programmable Gate Array); the normally open end of the relay is connected to the current source, the normally closed end is connected to the signal generating module, and the common end is connected to the input end of the cable to be tested; or, one end of the FPGA is connected to the current source and the signal generating module respectively, and the other end is connected to the input end of the cable to be tested.
[0019] In a second aspect, an embodiment of the present application provides a wiring harness testing method, comprising: A signal generating module is used to output a first signal to a target cable to be tested in a target measuring circuit through a target test signal selecting circuit in the target measuring circuit; wherein the target measuring circuit comprises a target test signal selecting circuit, a target cable to be tested, a target signal acquisition module and a target voltage acquisition module; the input end of the target test signal selecting circuit is respectively connected to the signal generating module and the current source, and the output end is connected to the input end of the target cable to be tested; the output end of the target cable to be tested is respectively connected to the target signal acquisition module and the target voltage acquisition module, and the target voltage acquisition module is also connected to the input end of the target cable to be tested; the target signal acquisition module is connected to the signal comparing module, and the target voltage acquisition module is connected to the resistance calculating and comparing module; the target test signal selecting circuit is used to connect the signal generating module or the current source to the target cable to be tested; the target signal acquisition module is used to receive a second signal output by the target cable to be tested; the target voltage acquisition module is used to The voltage at both ends of the target cable to be tested is collected; using a signal comparison module, according to the signal attribute of the first signal from the signal generation module, the signal attribute of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively, and output the first test result of the cable; after determining that the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively, use a current source to output a test current to the target cable to be tested through a target test signal selection circuit; using a resistance calculation comparison module, according to the voltage at both ends of the target cable to be tested and the first current in the target cable to be tested, determine whether there is a virtual connection in the target cable to be tested according to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, and output the second test result of the cable.
[0020] In a third aspect, an embodiment of the present application provides a device, comprising: a processor; a memory for storing processor executable instructions; and a method for implementing the second aspect or any possible implementation of the second aspect when the processor executes the executable instructions.
[0021] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium, which includes a device for storing a computer program or instruction. When the computer program or instruction is executed, the method of the second aspect or any possible implementation method of the second aspect is implemented.
[0022] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: Through the wiring harness testing device provided in the embodiment of the present application, the cables to be tested in multiple measurement circuits can be tested in parallel, the status of each cable in the drone wiring harness can be determined quickly and accurately, and the testing efficiency of the drone wiring harness is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A schematic diagram of the composition of a wiring harness testing device provided in an embodiment of the present application; Figure 2 A schematic diagram of the composition of a measurement circuit provided in an embodiment of the present application; Figure 3 A circuit diagram of a measurement circuit provided in an embodiment of the present application; Figure 4 A schematic diagram of the flow of a wiring harness testing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The following describes some of the techniques involved in the embodiments of the present application to facilitate understanding, and they should be considered as merely exemplary. Therefore, it should be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, some descriptions of well-known functions and structures are omitted in the following description.
[0027] The drone wiring harness is an important part of the drone electrical system, and is mainly responsible for the transmission of signals and power between drone avionics equipment. The drone wiring harness generally includes a large number of cables, and connectors are connected at both ends of the cables as input and output ports. In order to avoid drone failures due to missing connections, false connections, and wrong connections between the cables in the drone wiring harness and the input and output ports, the drone wiring harness needs to be tested.
[0028] At present, when testing the wiring harness of a drone, a relay solution is generally used. By applying power excitation at both ends of the line, a single relay is energized to scan the cable network of the entire drone wiring harness to test the drone wiring harness and determine the cable status of the drone wiring harness, including whether the cable is connected or disconnected, and whether the cable is misconnected or loosely connected to the input / output port.
[0029] However, when the cable network of the drone harness is complex, the testing efficiency of the drone harness is low.
[0030] Against this background technology, the present disclosure provides a wiring harness testing device that can quickly and accurately determine the status of a UAV wiring harness, thereby improving the testing efficiency of the UAV wiring harness.
[0031] The wiring harness testing device is exemplarily described below with reference to the accompanying drawings.
[0032] Figure 1 is a schematic diagram of the composition of a wiring harness testing device provided in an embodiment of the present application, Figure 2 The following is a schematic diagram of the composition of the measurement circuit provided in the embodiment of the present application. Figure 1 , Figure 2 As shown, the device may include: A signal generating module 101 , a current source 102 , a plurality of measuring circuits 103 , a signal comparing module 104 , and a resistance calculating and comparing module 105 .
[0033] Among them, each measurement circuit 103 includes a test signal selection circuit 1031, a cable to be tested 1032, a signal acquisition module 1033 and a voltage acquisition module 1034; in each measurement circuit 103, the input end of the test signal selection circuit 1031 is respectively connected to the signal generating module 101 and the current source 102, and the output end is connected to the input end of the cable to be tested 1032; the output end of the cable to be tested 1032 is respectively connected to the signal acquisition module 1033 and the voltage acquisition module 1034, and the voltage acquisition module 1034 is also connected to the input end of the cable to be tested 1032; the signal acquisition module 1033 is connected to the signal comparison module 104, and the voltage acquisition module 1034 is connected to the resistance calculation comparison module 105.
[0034] It can be understood that all cables to be tested in all measurement circuits can constitute the UAV wiring harness.
[0035] Exemplarily, the cable to be tested may include multiple input ends and multiple output ends, which is not limited.
[0036] For example, when there are multiple input ends of the cable to be tested, the test signal selection circuit also includes multiple, and the multiple input ends are connected to the multiple test signal selection circuits in a one-to-one correspondence; when there are multiple output ends of the cable to be tested, the multiple output ends are connected to the multiple signal acquisition modules in a one-to-one correspondence; each input end and each output end are respectively connected to the voltage acquisition module.
[0037] The signal generating module 101 is configured to output a first signal to a target cable to be tested in a target measuring circuit through a target test signal selecting circuit in the target measuring circuit.
[0038] Exemplarily, the target measurement circuit can be any one or more measurement circuits, and the test signal selection circuit, cable to be tested, signal acquisition module and voltage acquisition module in this part of the measurement circuit are respectively the target test signal selection circuit, the target cable to be tested, the target signal acquisition module and the target voltage acquisition module.
[0039] Exemplarily, for the signal generating module, the target measurement circuit may be determined by the signal generating module according to a received external instruction.
[0040] In some possible implementations, the first signal may be a pulse width modulation (PWM) signal, and the signal attributes of the first signal may include a pulse width and a period.
[0041] It should be noted that when there are multiple target measurement circuits, the signal attributes of the first signals output by the signal generating module to each target measurement circuit are different; at this time, the signal attributes of the first signals can also be determined by the signal generating module according to the external instructions received.
[0042] It should be noted that when the target cable to be tested includes multiple input terminals, the target measurement circuit includes multiple target test signal selection circuits; at this time, the signal generating module is used to output the first signal to the target cable to be tested through each target test signal selection circuit in turn.
[0043] The current source 102 is used to output a test current to a target cable to be tested in the target measurement circuit through a target test signal selection circuit in the target measurement circuit.
[0044] Exemplarily, similar to the signal generating module, for the current source, the target measurement circuit may also be determined by the current source according to a received external instruction, and the magnitude of the test current output by the current source may also be determined according to the received external instruction.
[0045] It should be noted that when the target measurement circuit includes multiple ones, the magnitudes of the test currents output by the current source to each target measurement circuit can be the same or different, and there is no restriction on this; at this time, the magnitudes of the test currents output by the current source to each target measurement circuit can also be determined by the current source according to the external instructions received.
[0046] It should be noted that, for the signal generation module and the current source, the target measurement circuits may be the same or different, and there is no limitation on this.
[0047] It should be noted that when the target cable to be tested includes multiple input terminals, the target test signal selection circuit includes multiple ones; at this time, the current source is used to output the test current to the target cable to be tested through each target test signal selection circuit in turn.
[0048] The target test signal selection circuit in the target measurement circuit is used to connect the signal generation module 101 or the current source 102 to the target cable to be tested in the target measurement circuit; the target signal acquisition module in the target measurement circuit is used to receive the second signal output by the target cable to be tested; the target voltage acquisition module in the target measurement circuit is used to acquire the voltage at both ends of the target cable to be tested.
[0049] It can be understood that any measurement circuit may become a target measurement circuit, so the test signal selection circuit, the cable to be tested, the signal acquisition module and the voltage acquisition module in each measurement circuit can be used to realize the functions of the above-mentioned target test signal selection circuit, the target cable to be tested, the target signal acquisition module and the target voltage acquisition module.
[0050] Exemplarily, the target test signal selection circuit may also determine whether the signal generation module or the current source is connected to the target cable to be tested according to a received external instruction.
[0051] It can be understood that the second signal is the first signal after passing through the target cable to be tested. When the first signal is a pulse width modulated signal, the second signal is also a pulse width modulated signal.
[0052] In some possible embodiments, the test signal selection circuit may include a relay or an FPGA.
[0053] The normally open end of the relay is connected to the current source, the normally closed end is connected to the signal generating module, and the common end is connected to the input end of the cable to be tested.
[0054] Alternatively, one end of the FPGA is connected to the current source and the signal generating module respectively, and the other end is connected to the input end of the cable to be tested.
[0055] For example, Figure 3 The circuit diagram of the measurement circuit provided in the embodiment of the present application is shown in FIG. Figure 3 As shown, the test signal selection circuit 1031 is a relay, and the normally open end of the relay (i.e. Figure 3 The NO terminal in the middle is connected to the current source 102, and the normally closed terminal (i.e. Figure 3 The NC terminal) is connected to the signal generating module 101, and the common terminal (i.e. Figure 3 The COM terminal in the middle is connected to the input terminal of the cable 1032 to be tested.
[0056] The signal comparison module 104 is used to determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively according to the signal properties of the first signal from the signal generation module 101, the signal properties of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, and output the first test result of the cable.
[0057] Exemplarily, for any target measurement circuit, the signal comparison module can determine the matching connector of the connector corresponding to the target test signal selection circuit as the actual input end of the target cable to be tested based on the target test signal selection circuit that receives the first signal; and determine the matching connector of the connector corresponding to the target signal acquisition circuit that receives the second signal with the same signal attributes as the first signal as the actual output end of the target cable to be tested.
[0058] For example, taking the connector corresponding to the target test signal selection circuit that receives the first signal Q1 as connector A', the signal attributes of the first signal Q1 from the signal generating module are pulse width pw1 and period t1, the signal attributes of the second signal P1 from the target signal acquisition module are pulse width pw1 and period t1, and the connector corresponding to the target signal acquisition circuit that receives the second signal P1 is connector B', it can be determined that the input end of the target cable to be tested is connector A that can be matched and connected with connector A', and the output end of the target cable to be tested is connector B that can be matched and connected with connector B', that is, the actual input end of the target cable to be tested is connector A, and the actual output end is connector B.
[0059] Continuing with the above example, when the theoretical input end of the target cable to be tested is connector A and the theoretical output end is connector B, it can be determined that the target cable to be tested is in normal condition; when the theoretical input end of the target cable to be tested is not connector A, and / or the theoretical output end is not connector B, it can be determined that there is a wrong connection in the target cable to be tested.
[0060] For example, when the theoretical input end of the target cable to be tested is connector A and the theoretical output end is connector C, it can be determined that the output end of the target cable to be tested is misconnected, and the output end is misconnected to connector B.
[0061] For another example, when the theoretical input end of the target cable to be tested is connector D and the theoretical output end is connector B, it can be determined that the input end of the target cable to be tested is misconnected, and the input end is misconnected to connector A.
[0062] For another example, when the theoretical input end of the target cable to be tested is connector D and the theoretical output end is connector C, it can be determined that both the input end and the output end of the target cable to be tested are misconnected, the input end is misconnected to connector A, and the output end is misconnected to connector B.
[0063] It should be noted that if the signal comparison module does not receive the second signal from the target signal acquisition module, it can be determined that there is a break in the target cable to be tested.
[0064] It can be understood that the first cable test result can be used to indicate the normal connection, wrong connection, or disconnection status of the target cable to be tested.
[0065] It should be noted that when the target cable to be tested includes multiple input ends, the signal generating module can output the first signal to the target cable to be tested through multiple target test signal selection circuits in sequence, and the signal comparing module can determine all actual input ends and all actual output ends of the target cable to be tested after performing multiple times based on one first signal and at least one second signal each time.
[0066] In this way, the cables to be tested in multiple measurement circuits can be tested in parallel to improve the test efficiency; and the test efficiency of the cables to be tested including multiple input terminals and / or multiple output terminals can be improved.
[0067] The resistance calculation and comparison module 105 is used to determine the actual resistance of the target cable to be tested according to the first voltage and the second voltage at both ends of the target cable to be tested and the first current in the target cable to be tested, determine whether there is a virtual connection in the target cable to be tested according to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, and output the second test result of the cable.
[0068] Exemplarily, the first current may be a current value of a test current output by a current source, and a high-precision current source may be used to ensure the stability and accuracy of the test current.
[0069] Exemplarily, the ratio of the difference between the first voltage and the second voltage to the first current may be calculated to obtain the actual resistance of the target cable to be tested.
[0070] Exemplarily, the design resistance of the target cable to be tested may be sent to the resistance calculation and comparison module in advance.
[0071] Exemplarily, the actual resistance of the target cable to be tested can be compared with the designed resistance of the target cable to be tested. When the actual resistance is not less than the designed resistance, it is determined that there is a virtual connection in the target line, that is, the connection between the input end and / or output end of the target cable to be tested and the corresponding connector is unqualified.
[0072] It should be noted that if the resistance calculation and comparison module does not receive the second voltage from the target voltage acquisition module and the second voltage from other voltage acquisition modules, it can be determined that there is a break in the target cable to be tested; if the resistance calculation and comparison module does not receive the second voltage from the target voltage acquisition module, but receives the second voltage from other voltage acquisition modules, it can be determined that the target cable to be tested is misconnected.
[0073] It can be understood that the second cable test result can be used to indicate the status of normal connection, wrong connection, open circuit, or virtual connection of the target cable to be tested.
[0074] It should be noted that when the target cable to be tested includes multiple output ends, the resistance calculation and comparison module can receive multiple second voltages, and the resistance calculation and comparison module can use one second voltage each time to perform calculations with the first voltage and the first current to determine whether there is a virtual connection between the output end and the input end corresponding to the second voltage; after multiple calculations, it can be determined that there are virtual connections in the input end and output end of the target cable to be tested.
[0075] In one use of the wiring harness testing device, a signal generating module can be used to send a first signal to a target cable to be tested, and a signal comparison module can obtain a first test result of the cable based on the first signal and the second signal to determine which state the target cable to be tested belongs to, namely, normal connection, disconnection, and misconnection, and to determine the specific misconnection location of the target cable to be tested that is misconnected; then, for the cable to be tested in the passage, a current source is used to send a test current to the target cable to be tested, and a resistance calculation comparison module obtains a second test result of the cable based on the first voltage, the second voltage, and the first current to determine whether the target cable to be tested is normally connected or poorly connected. Based on the above-mentioned first test result and the second test result, the target cables to be tested that are disconnected, misconnected, and poorly connected can be quickly distinguished to guide subsequent maintenance.
[0076] In another way of using the wiring harness testing device, a current source can be used to send a test current to the target cable to be tested. The resistance comparison module obtains a second test result of the cable based on the first voltage, the second voltage and the first current, and determines whether the target cable to be tested is in the state of normal connection, virtual connection, or disconnection (including misconnection and open circuit). Then, a signal generating module is used to send a first signal to the unconnected target cable to be tested. The signal comparison module obtains a first test result of the cable based on the first signal and the second signal, and further quickly determines whether the unconnected target cable to be tested is open circuit or misconnected, as well as the specific misconnection location of the misconnected target cable to be tested.
[0077] Furthermore, the output end of each cable to be tested may be connected to one end of a first resistor, the other end of the first resistor is connected to one end of a second resistor, and the other end of the second resistor is grounded.
[0078] The voltage acquisition module is also used to acquire a third voltage and a fourth voltage across the first resistor.
[0079] The resistance calculation and comparison module is specifically used to determine a first current in the target cable to be tested according to the third voltage, the fourth voltage and the first resistance.
[0080] For example, reference Figure 3 The current source 102 is connected to the test signal selection circuit 1031, the test signal selection circuit 1031 is connected to the input end of the cable to be tested 1032, the output end of the cable to be tested 1032 is respectively connected to the voltage acquisition module 1034 and one end of the first resistor R1, the other end of the first resistor R1 is connected to one end of the second resistor R2, and the other end of the second resistor R2 is grounded; the voltage acquisition module 1034 is also connected to both ends of the first resistor.
[0081] Exemplarily, a ratio of a difference between the third voltage and the fourth voltage to a resistance value of the first resistor may be calculated to obtain a first ratio, and the first ratio may be determined as a first current in the target cable to be tested.
[0082] In this way, the first current can be accurately determined according to the third voltage, the fourth voltage and the first resistor, without the need for a high-precision current source to provide a stable and accurate first current.
[0083] Further, refer to Figure 1 , Figure 2 , the device may also include: The control module 106 is used to send a first control signal to the target test signal selection circuit, where the first control signal is used to instruct the target test signal selection circuit to be connected to the signal generation module 101 or the current source 102 .
[0084] The control module 106 is further configured to send a second control signal to the signal generating module 101 , where the second control signal is configured to instruct the signal generating module 101 to output a first signal having a target signal attribute.
[0085] The control module 106 is further configured to send the target signal attribute to the signal comparison module 104 .
[0086] In this way, the control module can be used to control the device provided in this embodiment.
[0087] Further, refer to Figure 1 , the device may also include: The configuration module 107 is used to determine the design resistance of the target cable to be tested according to the length, cross-sectional area and resistivity of the target cable to be tested, and send the result to the control module 106 .
[0088] The control module 106 is further configured to send the design resistance of the target cable to be tested to the resistance calculation and comparison module 105 .
[0089] Exemplarily, the product of the length of the target cable to be tested and the resistivity of the target cable to be tested can be calculated based on the length, cross-sectional area and resistivity of the target cable to be tested to obtain a first product, and then the ratio of the first product to the cross-sectional area of the target cable to be tested can be calculated to obtain a second ratio, and the second ratio can be determined as the design resistance of the target cable to be tested.
[0090] Exemplarily, the length, cross-sectional area and resistivity of the target cable to be tested may be stored in a wiring table, and the length, cross-sectional area and resistivity of the target cable to be tested may be provided to the configuration module through the wiring table.
[0091] It can be understood that the theoretical input end and theoretical output end of the target cable to be tested can also be stored in the above wiring table. After receiving the wiring table, the configuration module can send the theoretical input end and theoretical output end of the target cable to be tested to the signal comparison module through the control module.
[0092] In this way, the design resistance of the target cable to be tested can be accurately determined according to the length, cross-sectional area and resistivity of the target cable to be tested.
[0093] Further, refer to Figure 1 The control module 106 is also used to receive the first test result of the cable from the signal comparison module 104 and receive the second test result of the cable from the resistance calculation comparison module 105 .
[0094] In this way, the control module can generate a test report of the wiring harness according to the first test result of the cable and / or the second test result of the cable, so as to facilitate the review by the UAV wiring harness tester.
[0095] The present application also provides a wiring harness testing method. Figure 4 The following is a flow chart of the wiring harness testing method provided in the embodiment of the present application. Figure 4 This is only an execution order shown in the embodiment of the present application, and does not represent the only execution order of the wiring harness testing method. If the final result can be achieved, Figure 4 The steps shown can be performed in parallel or in reverse. Figure 4 As shown, the method may include S401 to S404.
[0096] S401 : using a signal generating module to output a first signal to a target cable to be tested in a target measuring circuit through a target test signal selecting circuit in a target measuring circuit.
[0097] Among them, the target measurement circuit includes a target test signal selection circuit, a target cable to be tested, a target signal acquisition module and a target voltage acquisition module; the input end of the target test signal selection circuit is respectively connected to the signal generating module and the current source, and the output end is connected to the input end of the target cable to be tested; the output end of the target cable to be tested is respectively connected to the target signal acquisition module and the target voltage acquisition module, and the target voltage acquisition module is also connected to the input end of the target cable to be tested; the target signal acquisition module is connected to the signal comparison module, and the target voltage acquisition module is connected to the resistance calculation comparison module; the target test signal selection circuit is used to connect the signal generating module or the current source to the target cable to be tested; the target signal acquisition module is used to receive the second signal output by the target cable to be tested; the target voltage acquisition module is used to collect the voltage at both ends of the target cable to be tested.
[0098] S402. Using the signal comparison module, according to the signal properties of the first signal from the signal generation module, the signal properties of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively, and output the first test result of the cable.
[0099] S403 , after determining that the actual input end and the actual output end of the target cable to be tested are respectively the theoretical input end and the theoretical output end, using a current source to output a test current to the target cable to be tested through a target test signal selection circuit.
[0100] S404. Determine the actual resistance of the target cable to be tested according to the voltages at both ends of the target cable to be tested and the first current in the target cable to be tested by using a resistance calculation and comparison module. Determine whether there is a virtual connection in the target cable to be tested according to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, and output a second test result of the cable.
[0101] The beneficial effects and specific implementation methods of the method embodiment can be referred to the aforementioned device embodiment, which will not be described in detail here.
[0102] Although the present application provides method operation steps such as embodiments or flow charts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in this embodiment is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in this embodiment or the accompanying drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0103] Some modules in the apparatus described in the present application can be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0104] The devices or modules described in the above application embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described in various modules according to their functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware. Of course, the module that implements a certain function can also be implemented by combining multiple sub-modules or sub-units.
[0105] The methods, devices or modules described in this application can be implemented in the form of computer-readable program codes. The controller can be implemented in any appropriate manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) that can be executed by the (micro)processor, logic gates, switches, application-specific integrated circuits (English: Application Specific Integrated Circuit; Abbreviation: ASIC), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program codes, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included in it for implementing various functions can also be regarded as structures within the hardware component. Or even, the means for realizing various functions may be regarded as both a software module for realizing the method and a structure within a hardware component.
[0106] An embodiment of the present application further provides a device, comprising: a processor; a memory for storing processor executable instructions; when the processor executes the executable instructions, the method described in the embodiment of the present application is implemented.
[0107] The embodiments of the present application also provide a non-volatile computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed, the method described in the embodiments of the present application is implemented.
[0108] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist independently, or two or more modules may be integrated into one module.
[0109] The above storage media include but are not limited to random access memory (RAM), read-only memory (ROM), cache, hard disk drive (HDD) or memory card. The memory can be used to store computer program instructions.
[0110] It can be seen from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary hardware. Based on this understanding, the technical solution of the present application can be essentially or partly reflected in the prior art in the form of a software product, or it can be reflected in the implementation process of data migration. The computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0111] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. All or part of this application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, mobile communication terminals, multi-processor systems, microprocessor-based systems, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0112] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present application.
Claims
1. A wire harness testing device, characterized in that: include: A signal generating module, a current source, a plurality of measuring circuits, a signal comparing module, and a resistance calculating and comparing module; wherein each measuring circuit comprises a test signal selecting circuit, a cable to be tested, a signal collecting module, and a voltage collecting module; in each of the measuring circuits, the input end of the test signal selecting circuit is respectively connected to the signal generating module and the current source, and the output end is connected to the input end of the cable to be tested; the output end of the cable to be tested is respectively connected to the signal collecting module and the voltage collecting module, and the voltage collecting module is also connected to the input end of the cable to be tested; the signal collecting module is connected to the signal comparing module, and the voltage collecting module is connected to the resistance calculating and comparing module; The signal generating module is used to output a first signal to a target cable to be tested in the target measuring circuit through a target test signal selecting circuit in the target measuring circuit; The current source is used to output a test current to a target cable to be tested in the target measurement circuit through a target test signal selection circuit in the target measurement circuit; The target test signal selection circuit in the target measurement circuit is used to connect the signal generation module or the current source to the target cable to be tested in the target measurement circuit; the target signal acquisition module in the target measurement circuit is used to receive the second signal output by the target cable to be tested; the target voltage acquisition module in the target measurement circuit is used to acquire the voltage at both ends of the target cable to be tested; The signal comparison module is used to determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively according to the signal attribute of the first signal from the signal generation module, the signal attribute of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, and output a first test result of the cable; The resistance calculation and comparison module is used to determine the actual resistance of the target cable to be tested according to the first voltage and the second voltage at both ends of the target cable to be tested and the first current in the target cable to be tested, determine whether there is a virtual connection in the target cable to be tested according to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, and output a second test result of the cable.
2. The device according to claim 1, characterized in that The output end of each cable to be tested is also connected to one end of a first resistor, the other end of the first resistor is connected to one end of a second resistor, and the other end of the second resistor is grounded; The voltage acquisition module is further used to acquire a third voltage and a fourth voltage across the first resistor; The resistance calculation and comparison module is specifically configured to determine a first current in the target cable to be tested according to the third voltage, the fourth voltage and the first resistance.
3. The device according to claim 1, characterized in that The device also includes: A control module, used for sending a first control signal to the target test signal selection circuit, wherein the first control signal is used for instructing the target test signal selection circuit to be connected to the signal generation module or the current source; The control module is further used to send a second control signal to the signal generating module, wherein the second control signal is used to instruct the signal generating module to output a first signal with a target signal attribute; The control module is further configured to send the target signal attribute to the signal comparison module.
4. The device according to claim 3, characterized in that The device also includes: A configuration module, used to determine the design resistance of the target cable to be tested according to the length, cross-sectional area and resistivity of the target cable to be tested, and send it to the control module; The control module is further configured to send the design resistance of the target cable to be tested to the resistance calculation and comparison module.
5. The device according to claim 3, characterized in that The control module is further configured to receive a first cable test result from the signal comparison module, and receive a second cable test result from the resistance calculation comparison module.
6. The device according to claim 1, characterized in that The first signal and the second signal are both pulse width modulated signals, and signal attributes of the first signal and the second signal both include pulse width and period.
7. The device according to claim 1, characterized in that The test signal selection circuit includes a relay or an FPGA; The normally open end of the relay is connected to the current source, the normally closed end is connected to the signal generating module, and the common end is connected to the input end of the cable to be tested; Alternatively, one end of the FPGA is connected to the current source and the signal generating module respectively, and the other end is connected to the input end of the cable to be tested.
8. A wiring harness testing method, characterized in that: The method comprises: Using a signal generating module, outputting a first signal to a target cable to be tested in a target measuring circuit through a target test signal selecting circuit in a target measuring circuit; Among them, the target measurement circuit includes a target test signal selection circuit, a target cable to be tested, a target signal acquisition module and a target voltage acquisition module; the input end of the target test signal selection circuit is respectively connected to the signal generation module and the current source, and the output end is connected to the input end of the target cable to be tested; the output end of the target cable to be tested is respectively connected to the target signal acquisition module and the target voltage acquisition module, and the target voltage acquisition module is also connected to the input end of the target cable to be tested; the target signal acquisition module is connected to the signal comparison module, and the target voltage acquisition module is connected to the resistance calculation comparison module; the target test signal selection circuit is used to connect the signal generation module or the current source to the target cable to be tested; the target signal acquisition module is used to receive the second signal output by the target cable to be tested; the target voltage acquisition module is used to collect the voltage at both ends of the target cable to be tested; Using the signal comparison module, according to the signal attribute of the first signal from the signal generation module, the signal attribute of the second signal from the target signal acquisition module, and the theoretical input end and the theoretical output end of the target cable to be tested, determine whether the actual input end and the actual output end of the target cable to be tested are the theoretical input end and the theoretical output end respectively, and output the first test result of the cable; After determining that the actual input end and the actual output end of the target cable to be tested are respectively the theoretical input end and the theoretical output end, using the current source to output a test current to the target cable to be tested through the target test signal selection circuit; The resistance calculation and comparison module is used to determine the actual resistance of the target cable to be tested according to the voltages at both ends of the target cable to be tested and the first current in the target cable to be tested. According to the actual resistance of the target cable to be tested and the designed resistance of the target cable to be tested, it is determined whether there is a virtual connection in the target cable to be tested, and the second test result of the cable is output.
9. A device for performing a wiring harness testing method, characterized in that: include: processor; a memory for storing processor-executable instructions; When the processor executes the executable instructions, the method according to claim 8 is implemented.
10. A non-volatile computer-readable storage medium, characterized in that: The device comprises a computer program or an instruction for storing the computer program or the instruction, which, when executed, enables the method according to claim 8 to be implemented.
Citation Information
Patent Citations
Cable testing tool and method for using the same
CN110749844A
Device and method for detecting electrical contact state of aviation cable harness
CN116609611A
Complete machine cable misinsertion detection method, device and equipment and storage medium
CN119087305A
Cable-inspecting apparatus
JP2003075497A
Cited By
Cable insulation test method, device, equipment and medium
CN120948880A