Wire sequence automatic detection tool

By using the MCU module and relay control circuit in the automatic wire sequence detection fixture, high efficiency and accuracy of wire sequence detection are achieved, solving the problems of low efficiency and error-proneness in existing technologies, simplifying the detection process and improving the quality of equipment leaving the factory.

CN223624400UActive Publication Date: 2025-12-02GUANGZHOU FANIX ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423074981.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-12-02
Estimated Expiration
2034-12-13

AI Technical Summary

Technical Problem

The existing wiring sequence detection process is inefficient, error-prone, and inaccurate, and cannot quickly and effectively troubleshoot wiring issues at the time of equipment leaving the factory.

Method used

An automatic wire sequence detection fixture is adopted, which includes an MCU module, an analog switch circuit, a power supply circuit, and multiple relay control circuits. The MCU module controls the analog switch to sequentially turn on the relay control circuits at preset time intervals, simplifying the wire sequence detection process.

Benefits of technology

It improves the efficiency and accuracy of line sequence detection, simplifies the detection process, is easy to operate, and each tooling is independent and does not interfere with each other, resulting in short detection time and fast retesting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223624400U_ABST
    Figure CN223624400U_ABST
Patent Text Reader

Abstract

The utility model discloses a line sequence automatic detection tool, and relates to the technical field of line sequence detection, and the line sequence automatic detection tool is characterized in that the control end of an MCU module is connected with the control end of an analog switch circuit, and the power supply end of the MCU module is connected with the power supply end of a power supply circuit; the output end of the MCU module is connected with the lower computer; the MCU module is used for outputting a control signal and outputting the voltage and current of the gated channel to the lower computer; a plurality of enabling ends of the analog switch circuit are correspondingly connected with control ends of the plurality of relay control circuits respectively; and the analog switch is used for acquiring a control instruction of the MCU module and sequentially controlling the relay control circuit to be switched on at a preset time interval. The MCU module controls the analog switch to sequentially control the relay control circuit to be switched on and switched off at the preset time interval, line sequence detection of multiple lines is completed at the same time according to the switched-on detection result, the line sequence detection process is simplified, and the line sequence detection efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of line sequence detection technology, and in particular to an automatic line sequence detection fixture. Background Technology

[0002] With the increasing market demand for battery testing equipment, it is crucial to ensure the quality and efficiency of the equipment before it leaves the factory, and to prevent safety hazards caused by incorrect wiring during customer use.

[0003] The current line sequence detection process can only check the line channels one by one through point-to-point line verification, which is inefficient, prone to errors, and inaccurate. Utility Model Content

[0004] The purpose of this application is to provide an automatic line sequence detection fixture that simplifies the line sequence detection process and improves the efficiency and accuracy of line sequence detection.

[0005] To achieve the above objectives, this application provides the following solution:

[0006] In a first aspect, this application provides an automatic line sequence detection fixture, which is disposed in a fixture box of the device under test. The automatic line sequence detection fixture includes: an MCU module, an analog switch circuit, a power supply circuit, and multiple relay control circuits; the control terminal of the MCU module is connected to the control terminal of the analog switch circuit, the power supply terminal of the MCU module is connected to the power supply terminal of the power supply circuit, and the output terminal of the MCU module is connected to a lower-level machine; the MCU module is used to output control signals and output the voltage and current of the selected channel to the lower-level machine; multiple enable terminals of the analog switch circuit are respectively connected to the control terminals of multiple relay control circuits; the analog switch circuit is used to sequentially control the relay control circuits to turn on at preset time intervals according to the control of the MCU module.

[0007] According to the specific embodiments provided in this application, the following technical effects are disclosed:

[0008] This application connects the control terminal of an MCU module to the control terminal of an analog switch circuit, and the power supply terminal of the MCU module to the power supply terminal of the power supply circuit. Multiple enable terminals of the analog switch circuit are respectively connected to the control terminals of multiple relay control circuits. The analog switch is used to acquire control commands from the MCU module and sequentially control the relay control circuits to turn on at preset time intervals. This application controls the analog switch to turn on the relay control circuits sequentially at preset time intervals based on the MCU module, and uses the detection results after the circuits are turned on to simultaneously complete the wire sequence detection of multiple lines, simplifying the wire sequence detection process and improving the efficiency and accuracy of wire sequence detection. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments 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.

[0010] Figure 1 This is a schematic diagram of the module connection of the automatic line sequence detection tooling provided in the embodiments of this application.

[0011] Figure 2 This is a schematic diagram of the internal structure of the automatic line sequence detection fixture provided in an embodiment of this application.

[0012] Figure 3 The circuit diagram of the MCU module provided in the embodiments of this application.

[0013] Figure 4 A circuit diagram of an analog switch circuit provided in an embodiment of this application.

[0014] Figure 5 A circuit diagram of the current limiting circuit provided in the embodiments of this application.

[0015] Figure 6 A circuit diagram of a relay circuit provided in an embodiment of this application.

[0016] Figure 7 A circuit diagram of the power supply circuit provided in an embodiment of this application.

[0017] Figure 8 The diagram shows the results of the cross-connection test of the 16-channel motherboard of the device under test provided in this embodiment of the application.

[0018] Figure 9 The diagram shows the results of the cross-connection test of the 12-channel motherboard of the device under test provided in this embodiment of the application.

[0019] Symbol explanation:

[0020] MCU module-1, analog switch circuit-2, power supply circuit-3, relay control circuit-4, analog switch-21, enable circuit-22, current limiting circuit-41, relay circuit-42, first resistor-R40, second resistor-R39, third resistor-R71, fourth resistor-R55, fifth resistor-R54, first fuse-F26, second fuse-F1, first transistor-Q17, second transistor-Q22, diode-D1, light-emitting diode-D2, and relay-K1. Detailed Implementation

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

[0022] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] Example 1, such as Figures 1-2 As shown, this embodiment provides an automatic line sequence detection fixture, which is set in the fixture box of the device under test. The automatic line sequence detection fixture includes: MCU module 1, analog switch circuit 2, power supply circuit 3 and multiple relay control circuits 4.

[0024] The device under test is an open-frame battery testing device.

[0025] like Figure 3 As shown, the control terminal of the MCU module 1 is connected to the control terminal of the analog switch circuit 2, the power supply terminal of the MCU module 1 is connected to the power supply terminal of the power supply circuit 3, and the output terminal of the MCU module is connected to the lower-level machine. The MCU module 1 is used to output control signals and output the voltage and current of the selected channel to the lower-level machine. The model of the MCU module 1 is GD32E230F6V6.

[0026] in, Figure 3 The circuit diagram of the power supply circuit is shown.

[0027] The multiple enable terminals of the analog switch circuit 2 are respectively connected to the control terminals of the multiple relay control circuits 4; the analog switch circuit 2 is used to control the relay control circuits 4 to turn on sequentially at preset time intervals according to the control of the MCU module 1.

[0028] Optionally, after the relay control circuit 4 is turned on, the voltage and current of the selected channel can be detected and transmitted to the lower-level machine via the MCU module.

[0029] Furthermore, such as Figure 4 As shown, the analog switch circuit 2 specifically includes an analog switch 21 and multiple enable circuits 22.

[0030] The control terminals of the multiple enable circuits 22 are respectively connected to the multiple control terminals of the MCU module 1, and the enable terminals of the multiple enable circuits 22 are respectively connected to the multiple enable terminals of the analog switch 21.

[0031] The multiple output terminals of the analog switch 21 are respectively connected to the multiple control terminals of the relay control circuit 4. The model of the analog switch 21 is HEF4051BT.

[0032] Furthermore, such as Figure 5 As shown, the enabling circuit 22 specifically includes: a first resistor R40, a second resistor R39, and a first transistor Q17.

[0033] One end of the second resistor R39 is connected to the PA0 port of the MCU module 1, and the other end of the second resistor R39 is connected to the base of the first transistor Q17.

[0034] The collector of the first transistor Q17 is connected to one end of the first resistor R40 and the IHN terminal of the analog switch 21, respectively, and the emitter of the first transistor Q17 is grounded.

[0035] The other end of the first resistor R40 is connected to the power supply terminal of the power supply circuit 3.

[0036] Furthermore, such as Figure 6 As shown, the relay control circuit 4 specifically includes a current limiting circuit 41 and multiple relay circuits 42.

[0037] The control terminals of the multiple relay circuits 42 are connected to the multiple output terminals of the analog switch 21 respectively. The first current limiting terminals of the multiple relay circuits 42 are respectively connected to one end of the current limiting circuit 41, and the second current limiting terminals of the multiple relay circuits 42 are respectively connected to the other end of the current limiting circuit 41.

[0038] Furthermore, the current limiting circuit 41 specifically includes: a third resistor R71 and a first fuse F26.

[0039] One end of the first fuse F26 is connected to the first current limiting terminal of the relay circuit 42, and the other end of the first fuse F26 is connected to one end of the third resistor R71. The other end of the third resistor R71 is connected to the second current limiting terminal of the relay circuit 42.

[0040] Furthermore, the relay circuit 42 specifically includes: a fourth resistor R55, a second transistor Q22, a light-emitting diode D2, a diode D1, a fifth resistor R54, a relay K1, and a second fuse F1.

[0041] One end of the fourth resistor R55 is connected to the control terminal of the analog switch 21, and the other end of the fourth resistor R55 is connected to the base of the second transistor Q22.

[0042] The collector of the second transistor Q22 is connected to the cathode of the light-emitting diode D2, the anode of the diode D1, and the second contact of the relay K1, and the emitter of the second transistor Q22 is grounded.

[0043] One end of the fifth resistor R54 is connected to the anode of the light-emitting diode D2.

[0044] The other end of the fifth resistor R54 and the cathode of the diode D1 are respectively connected to the first contact of the relay K1.

[0045] The third contact of the relay K1 is connected to the positive terminal of the circuit.

[0046] The fourth contact of the relay K1 is connected to one end of the second fuse F1, and the other end of the second fuse F1 is connected to one end of the current limiting circuit 41.

[0047] The fifth contact of the relay K1 is connected to the negative terminal of the circuit.

[0048] The sixth contact of the relay K1 is connected to the other end of the current limiting circuit 41.

[0049] Furthermore, the model number of the relay K1 is: HF115F-012-2HS4.

[0050] Furthermore, the power supply circuit 3 can output any one or more voltages among 3.3V, 5V, and 12V.

[0051] In practical applications, the working principle of the automatic line sequence detection fixture is as follows:

[0052] 1) The test fixture is controlled by MCU module 1 (main control MCU chip). The MCU chip controls the output of analog switch 21 (HEF4051BT) through a program to control the selection and disconnection of 8 relays K1. Only one relay K1 is selected at a time. After relay K1 is selected, it remains selected for 5 seconds (the switching time is determined by the main control MCU program and can be changed according to the actual effect), then relay K1 is disconnected and the next relay K1 is selected. It remains selected for 5 seconds before disconnecting and selecting the next channel. The 8 channels of relay K1 switch in this cycle. The current-limiting resistor R1 is only connected to the circuit of the channel that is selected. After the circuit is switched on, the current will pass through the current-limiting resistor R1, and the test circuit (test software) can collect the current passing through the current-limiting resistor R1 and the voltage across it. For the other 7 channels, since relay K1 is not selected, the test circuit can only collect the given voltage and not sample the current. In other words, only the connected channels can acquire the voltage and current across the resistor; disconnected channels can only acquire the given voltage. If there is a circuit crossing in the battery testing equipment, the acquired values ​​will be abnormal. The type of miswiring is determined by referring to Table 1 based on the abnormal data. For example, when the given voltage and current of the test circuit is 4.2V and 0.5A, when relay K1 of the first channel is connected, resistor R1 (4Ω) is connected to this circuit, and the test circuit can acquire a voltage of 2V and a current of 0.5A for the first channel. However, because relay K1 is not activated, I+ and V+ are disconnected from I- and V-, so the software interface can only acquire a voltage of 4.2V and a current of 0A.

[0053] 2) The HEF4051BT chip output control relay K1 is controlled to turn on and off by burning the program through MCU module 1 (main control MCU chip). Since the main control chip is reset by default after the tooling is powered on, the tooling will start selecting from channel 1 by default after powering on.

[0054] Based on the test results of the automatic line sequence detection fixture, line sequence detection is performed using a judgment table:

[0055] 1. Channels 3 and 4 in Table 1 are only examples to illustrate how to verify the test circuit data collected under eight different miswiring methods by crossing the positive and negative terminals of the voltage and current lines of channels 3 and 4. This data is used by the software to infer the miswiring method between channels by using the values ​​collected from the test circuit under uncertain miswiring methods during later testing.

[0056] 2. There are a total of 8 possible miswiring methods for the battery testing equipment channels. The test data judgment table is based on the fixed selection of channels 3 and 4 for testing. By deliberately changing the wiring of channels 3 and 4 according to the 8 possible miswiring methods in the table, the current-limiting resistor R1 is always connected to the channel 3 circuit. Then, the test circuit collects data and records the voltage and current values ​​of channels 3 and 4 under various miswiring methods, thus generating the "Miswiring Method Judgment Table" for the software.

[0057] 3. Since each motherboard channel of the battery testing equipment is independent of each other, there are only 8 possible cases of wire sequence crossing between channels, as shown in Table 1. Therefore, the test data results of the 8 wire sequence crossings in the 3rd and 4th channels in Table 1 can be used as the basis for software comparison and judgment of wire sequence crossings between motherboard channels.

[0058] 4. After the battery testing equipment enters the line sequence testing, each channel of the equipment will continuously provide a value of 4.2V 0.5A.

[0059] Table 1. Criteria for Judging Misalignment Methods

[0060]

[0061] 1) When the tray clamp is closed and the automatic line sequence detection fixture is not powered on and the line sequence is normal, the relay K1 of each channel of the test fixture is not turned on, so the value of each channel of the test circuit acquisition device is 4.2V0A.

[0062] 2) After the fixture is powered on, relay K1 of channel 1 is turned on and remains on for 5 seconds. At this time, current-limiting resistor R1 is connected to channel 1 circuit. Under normal wiring conditions, the test circuit acquires a value of 2V 0.5A for channel 1 and 4.2V 0A for other channels. After 5 seconds, relay K1 of channel 1 is turned off, relay K1 of channel 2 is turned on, and current-limiting resistor R1 is connected to channel 2 circuit. At this time, the test circuit acquires a value of 2V 0.5A for channel 2, and 4.2V 0A for channel 1 and other channels. After 5 seconds, relay K1 of channel 2 is turned off, relay K1 of channel 3 is turned on, and current-limiting resistor R1 is connected to channel 3 circuit. At this time, the test circuit acquires a value of 2V 0.5A for channel 3 and 4.2V 0A for other channels. After holding for 5 seconds, relay K1 on channel 3 disconnects, and relay K1 on channel 4 turns on. Current-limiting resistor R1 is connected to the channel 4 circuit. At this time, the test circuit acquires a value of 2V 0.5A for channel 4, and 4.2V 0A for the other channels. The remaining channels are tested in this manner in a round-robin fashion until relay K1 on channel 8 turns on, and current-limiting resistor is connected to the channel 8 circuit. The test circuit acquires a value of 2V 0.5A for channel 8, and 4.2V 0A for the other channels. After holding for 5 seconds, relay K1 on channel 8 disconnects, completing one full channel switching cycle. Then, relay K1 on channel 1 turns on again, and current-limiting resistor R1 is connected to the channel 1 circuit. The test circuit acquires a value of 2V 0.5A for channel 1, and 4.2V 0A for the other channels. This cycle repeats continuously.

[0063] The analysis process for incorrect wire sequence is as follows:

[0064] 1) Crossed Positive Voltage Lines: For example, crossing the positive voltage lines of channel 1 and channel 2, and connecting the current-limiting resistor R1 to channel 1. When relay K1 of channel 1 is turned on, the test circuit acquires a voltage of 5V 0.13A for channel 1 and 0.5V 0A for channel 2. From the test results of various crossed channel wiring sequences, it can be found that the test results are the same when the positive and negative voltage lines of a channel cross. When relay K1 is on and the current-limiting resistor is connected, the software acquires a value of 5V 0.13A; when relay K1 is off, the value is 0.5V 0A. Therefore, it can be concluded that if the test circuit acquires values ​​of 5V 0.13A and 0.5V 0A when the crossover method is uncertain, it can be determined that the two channels have a crossed positive or negative voltage line.

[0065] 2) Similarly, when the type of miswiring is uncertain: the type of miswiring can be inferred by comparing the test circuit acquisition values ​​with the test result comparison table, as shown in the following cases of incorrect wiring sequence:

[0066] Example 1: If the relay K1 active channel shows a value of 0.5V and 0.13A, while the inactive channel shows a value of 5V and 0A, it indicates that there is a crossover of positive or negative current lines between these two channels.

[0067] Example 2: If the test circuit for the relay K1 closed channel has a measured value of 4.2V 0A, while the test circuit for the relay K1 closed channel has a measured value of 2V 0.5A, it indicates that the voltage lines and current lines of these two channels are both crossed.

[0068] Example 3: If the test circuit for the relay K1 closed channel has a measured value of 4.2V0A, while the test circuit for the relay K1 closed channel has a measured value of 0V1A, it indicates that the negative terminals of the current lines in these two channels have crossed.

[0069] The software test data export results are as follows:

[0070] 1) The above image shows the results of a cross-connection test on a 16-channel motherboard. Red indicates abnormal channels, and green indicates normal channels.

[0071] 2) The image above shows the results of a cross-connection test on a 12-channel motherboard. Red indicates an abnormal channel; green indicates a normal channel.

[0072] 3) The data exported from the test can clearly show which channels have line crossings.

[0073] The technical effects of this application are as follows:

[0074] This application uses an MCU module to control an analog switch to sequentially control a relay control circuit at preset time intervals. The detection results after the circuit is switched on / off are used to simultaneously complete the wiring sequence detection of multiple lines, simplifying the wiring sequence detection process and improving its efficiency and accuracy. Furthermore, this application also has advantages such as simple and convenient testing operation, independent use of each fixture without interference, short testing time, and fast retesting.

[0075] 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.

[0076] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An automatic line sequence detection fixture, characterized in that, The automatic line sequence detection fixture is set in the fixture box of the device under test. The automatic line sequence detection fixture includes: MCU module, analog switch circuit, power supply circuit and multiple relay control circuits. The control terminal of the MCU module is connected to the control terminal of the analog switch circuit, the power supply terminal of the MCU module is connected to the power supply terminal of the power supply circuit, and the output terminal of the MCU module is connected to the lower-level machine; the MCU module is used to output control signals and output the voltage and current of the selected channel to the lower-level machine. The multiple enable terminals of the analog switch circuit are respectively connected to the control terminals of multiple relay control circuits; the analog switch circuit is used to control the relay control circuits to turn on sequentially at preset time intervals according to the control of the MCU module.

2. The automatic line sequence detection fixture according to claim 1, characterized in that, The analog switch circuit specifically includes: an analog switch and multiple enable circuits; The control terminals of the multiple enable circuits are respectively connected to the multiple control terminals of the MCU module, and the enable terminals of the multiple enable circuits are respectively connected to the multiple enable terminals of the analog switch. The multiple output terminals of the analog switch are respectively connected to the multiple control terminals of the relay control circuit.

3. The automatic line sequence detection fixture according to claim 2, characterized in that, The enabling circuit specifically includes: a first resistor, a second resistor, and a first transistor; One end of the second resistor is connected to the PA0 port of the MCU module, and the other end of the second resistor is connected to the base of the first transistor. The collector of the first transistor is connected to one end of the first resistor and the IHN terminal of the analog switch, respectively, and the emitter of the first transistor is grounded. The other end of the first resistor is connected to the power supply terminal of the power supply circuit.

4. The automatic line sequence detection fixture according to claim 1, characterized in that, The relay control circuit specifically includes: a current limiting circuit and multiple relay circuits; The control terminals of the multiple relay circuits are connected to the multiple output terminals of the analog switch, the first current limiting terminals of the multiple relay circuits are respectively connected to one end of the current limiting circuit, and the second current limiting terminals of the multiple relay circuits are respectively connected to the other end of the current limiting circuit.

5. The automatic line sequence detection fixture according to claim 4, characterized in that, The current limiting circuit specifically includes: a third resistor and a first fuse; One end of the first fuse is connected to the first current-limiting terminal of the relay circuit, and the other end of the first fuse is connected to one end of the third resistor, and the other end of the third resistor is connected to the second current-limiting terminal of the relay circuit.

6. The automatic line sequence detection fixture according to claim 4, characterized in that, The relay circuit specifically includes: a fourth resistor, a second transistor, a light-emitting diode, a diode, a fifth resistor, a relay, and a second fuse; One end of the fourth resistor is connected to the control terminal of the analog switch, and the other end of the fourth resistor is connected to the base of the second transistor. The collector of the second transistor is connected to the cathode of the light-emitting diode, the anode of the diode, and the second contact of the relay, and the emitter of the second transistor is grounded; One end of the fifth resistor is connected to the anode of the light-emitting diode; The other end of the fifth resistor and the cathode of the diode are respectively connected to the first contact of the relay; The third contact of the relay is connected to the positive terminal of the circuit; The fourth contact of the relay is connected to one end of the second fuse, and the other end of the second fuse is connected to one end of the current limiting circuit. The fifth contact of the relay is connected to the negative terminal of the circuit; The sixth contact of the relay is connected to the other end of the current limiting circuit.

7. The automatic line sequence detection fixture according to claim 6, characterized in that, The model number of the relay is HF115F-012-2HS4.

8. The automatic line sequence detection fixture according to claim 1, characterized in that, The power supply circuit can output any one or more voltages among 3.3V, 5V, and 12V.

9. The automatic line sequence detection fixture according to claim 1, characterized in that, The model number of the MCU module is GD32E230F6V6.

10. The automatic line sequence detection fixture according to claim 1, characterized in that, The model number of the analog switch is HEF4051BT.