Short circuit detection device for low-voltage terminal of controller and detection method thereof
Through the 8-channel time-sharing detection architecture and the logic control of the STC8H1K16 microcontroller, combined with the signal driving and conditioning module, the efficient and accurate identification of terminal short circuit detection is achieved, solving the existing problems of low detection efficiency and poor accuracy, and improving the detection efficiency and fault repair speed.
Patent Information
- Application Number
- CN202510726432.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-08-01
AI Technical Summary
The existing terminals have low short circuit detection efficiency and are prone to poor welding, resulting in unqualified parts flowing into the market, affecting customer quality complaints.
The 8-channel time-sharing detection architecture is adopted and the millisecond-level logic control of the STC8H1K16 microcontroller is combined with the signal driving module and the signal conditioning module. The time-sharing detection of the pulse test signal is performed through the P10-P17 and P20-P27 ports, and the fault indication is performed using the LED lights and buzzers of the status indicator module.
It improves detection efficiency by more than 90%, ensures high-accuracy fault identification, shortens detection time and fault repair time, and avoids misjudgment and misjudgment.
Smart Images

Figure CN120405500A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic and electrical appliance detection, and in particular to a short-circuit detection device for a low-voltage terminal of a controller and a detection method thereof. Background Art
[0002] Terminal blocks are an accessory product used to achieve electrical connections. They are classified as connectors in the industry. As the degree of industrial automation becomes higher and higher and industrial control requirements become more stringent and precise, the use of terminal blocks has gradually increased. With the development of the electronics industry, the scope of use of terminal blocks has become more and more extensive, and the types of terminal blocks have also increased.
[0003] The existing detection method uses a multimeter to test each wire one by one, and also checks whether there is a short circuit between adjacent wires. This has low detection efficiency and can easily lead to unqualified parts with poor welding entering the market, causing customer quality complaints.
[0004] In summary, the applicant has proposed a short-circuit detection device and a detection method for a low-voltage terminal of a controller. Summary of the Invention
[0005] The purpose of the present invention is to provide a short-circuit detection device for low-voltage terminals of a controller and a detection method thereof to save labor costs and improve network security. To achieve the above technical objectives, the technical solution of the present invention is as follows: A short-circuit detection device for a low-voltage terminal of a controller comprises a lower box cover, an upper box cover snap-fitted with the lower box cover, a main control unit mounted on the top of the lower box cover by screws, a line output port and a line input port arranged on both sides of the main control unit, a signal driving module connected to the output port, a signal conditioning module connected to the input port, and a status indication module connected to the main control unit.
[0006] Furthermore, the input port and the output port are each provided with 8 groups, corresponding to P10-P17 and P20-P27 respectively, and the status indication module includes a channel positioning LED (red), a normal indication LED (green), an abnormal indication LED (red) and a buzzer.
[0007] A short circuit detection method for a low-voltage terminal of a controller comprises the following steps: Step S10, connecting the 8-way terminal to the detection device through the wiring harness, and then powering on; Step S20: After power is turned on, pulse test signals are sent out from ports P20-P27 one by one, pass through the tested terminals, and return to ports P10-P17 to detect and judge the feedback signals one by one; Step S30, after receiving the signal, determine whether the subsequent indicator lights belong to the same path. If so, it is determined to be normal and the green light is on. Otherwise, it is determined to be NG, the fault red light and the short circuit loop light are on, and the buzzer is driven to alarm.
[0008] Further, the specific judgment method of step S30 includes the following: a) When the P10 pin is at high level and the P11 - P17 pins are at low level, it indicates normal.
[0009] b) The P36 pin outputs low level, which is input through the 3 - pin of IC1B and output through the 4 - pin to drive D12 to light up the green light.
[0010] c) If all of P10 - P17 are at low level, it indicates that the wire is not connected, the test probe, and the connector are not properly connected.
[0011] d) The program stops alarming.
[0012] e) The P37 pin outputs low level, which is input through the 1 - pin of IC1A and output through the 2 - pin to drive D11 to light up the red light.
[0013] f) The P35 pin outputs low level, which is input through the 5 - pin of IC1C and output through the 6 - pin to drive Q7 and then drive the buzzer to alarm.
[0014] g) If there are more than 2 high levels among P10 - P17, it indicates that there is a short - circuit phenomenon between wires.
[0015] h) When an abnormality occurs, which light is on indicates which wire it is.
[0016] i) If no light is on or more than 2 lights are on for the input, it indicates how many wires are short - circuited.
[0017] Through improvement, the present invention further produces the following beneficial effects: 1. This solution adopts an 8 - channel time - sharing detection architecture and millisecond - level logic control of the STC8H1K16 single - chip microcomputer. The single - cycle detection period ≤ 200ms, which improves the detection efficiency by more than 90% compared with the traditional multimeter's one - by - one detection, supports batch detection of tens of thousands of pieces per day on average, and greatly shortens the overall detection time.
[0018] 2. The detection method of this solution has extremely high accuracy, can accurately identify subtle abnormalities in each channel, and avoids troubleshooting mistakes caused by misjudgment or missed judgment.
[0019] 3. This solution can sensitively detect short - circuit situations between adjacent two or more sets of pins and give clear fault loop indications, enabling maintenance personnel to quickly carry out targeted repairs according to the indications, and greatly shortening the fault repair time. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 [[ID=4——5]]It is a three - dimensional structural schematic diagram of the short - circuit detection device.
[0021] Figure 2 It is a three - dimensional structural schematic diagram of another perspective of the short - circuit detection device.
[0022] Figure 3 It is an explosion schematic diagram of the short - circuit detection device.
[0023] Figure 4 It is a flow schematic diagram of the short - circuit detection method.
[0024] Figure 5 It is a schematic diagram of the short - circuit detection circuit.
[0025] Wherein: 1. Lower box cover; 2. Upper box cover; 3. Main control unit; 4. Status indication module. Specific implementation mode
[0026] In order to enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention will be further described below in conjunction with the drawings and embodiments. Embodiment 1
[0027] As Figure 1 , Figure 2 and Figure 3 shown, a short - circuit detection device for the low - voltage terminal of a controller includes a lower box cover 1, an upper box cover 2 snap - fitted to the lower box cover 1, a main control unit 3 installed on the top of the lower box cover 1 by screws, a path output port and a path input port arranged on both sides of the main control unit 3, a signal driving module connected to the output port, a signal conditioning module connected to the input port, and a status indication module 4 connected to the main control unit 3.
[0028] It should be noted that the main control unit uses an STC8H1K16 single - chip microcomputer, and its IO port is used for output and input for logic control; the signal driving module uses an SI2302 N - channel MOS transistor for driving output with low internal resistance; the signal conditioning module uses a 74HC14 chip for detecting signal input and output, and is internally equipped with a Schmitt trigger to prevent interference.
[0029] There are 8 groups each set at the input port and the output port, corresponding to P10 - P17 and P20 - P27 respectively. The status indication module 4 includes a channel - positioning LED (red), a normal - indication LED (green), an abnormal - indication LED (red), and a buzzer.
[0030] It should be noted that the channel - positioning LED (red) indicates which wire is being detected currently through a red LED; the abnormal - indication LED (red) uses a red LED as an abnormal indication and lights up when abnormal; the normal - indication LED (green) uses a green LED as a normal indication and lights up when all is normal.
[0031] Specifically, taking single-loop detection as an example, when the P27 port outputs a low level, the P20 - P26 ports are at a high level, the indicator light D1 is lit, and a high level is output through the 74HC14 chip to drive the MOS output; the low-voltage level signal returns to the detection loop through the wire harness terminal, the D2 light is lit, the low-level signal outputs a high level through the 74HC14 chip, and when the P10 port detects a high-level signal, it is determined that this path is normally connected; and the level signals of the remaining seven paths (P11 - P17) are gradually detected. If more than 2 paths detect high-level signals, it is determined as a fault, the fault red light is lit, and the buzzer is driven to alarm.
[0032] In addition, to prevent misjudgment, after a single detection is completed, the program automatically repeats the detection 3 times. Only when the results of ≥ 2 times are consistent is it determined as valid, reducing misjudgment caused by accidental factors such as poor contact. Embodiment 2
[0033] As Figure 4 and Figure 5 shown, a short-circuit detection method for the low-voltage terminals of a controller includes the following steps: Step S10, through wire harness connection, connect 8 terminals to the detection device, and then power on. It should be noted that the power supply uses battery power supply, the power supply is independent, and the low voltage does not affect the circuit on the PCBA.
[0034] Step S20, after power-on, send pulse test signals one by one from the P20 - P27 ports, and through the tested terminals, return to the P10 - P17 ports to detect and judge the feedback signals one by one. Step S30, after receiving the signal, when it is judged that the subsequent indicator lights are on the same path, if so, it is determined as normal and the green light is lit; if not, it is determined as NG, the fault red light and the short-circuit loop light are lit, and the buzzer is driven to alarm.
[0035] Specifically, the first path outputs a low-level signal to the first wire at the connector end; when the first wire at the output end becomes low level and the other wires are at high level, it is the only normal situation; if it does not become low, it indicates an open circuit or the test probe is not pressed properly; if one of the other wires becomes low, it indicates a wrong wire sequence; if more than 2 of the other wires become low level, it indicates an adjacent short-circuit error.
[0036] Furthermore, the specific judgment method of the said step S30 includes the following several kinds: a) When the P10 pin is at a high level and the P11 - P17 pins are at a low level, it indicates normal.
[0037] b) The P36 pin outputs a low level, which is input through the 3rd pin of IC1B and output through the 4th pin to drive the D12 to light the green light.
[0038] c) If P10 - P17 are all low level, it indicates that the wire is not connected, the test probe, or the connector is not properly connected.
[0039] d) The program stops and alarms.
[0040] e) The P37 pin outputs a low level, which is input through pin 1 of IC1A and output through pin 2, driving D11 to light up the red light.
[0041] f) The P35 pin outputs a low level, which is input through pin 5 of IC1C and output through pin 6, driving Q7 to drive the buzzer to alarm.
[0042] g) If more than 2 of P10 - P17 are high level, it indicates that there is a short - circuit between wires.
[0043] h) When an abnormality occurs, which light is on indicates which wire it is.
[0044] i) If the input light is not on or more than 2 lights are on, it indicates how many wires are short - circuited.
[0045] One - way detection process: 1. The P27 port outputs a low level, and the P20 - P26 ports are high level; 2. Through R1 and D1, it indicates which path is currently output; 3. Through IC1D, it is input through pin 9 and outputs a high level through pin 8; 4. Through R5, it drives the MOS transistor Q1 to conduct; 5. R2 is an impedance - matching resistor, and its resistance value should be such that the circuit on the PCBA does not affect the detection result; 6. R4 and C4 form an RC filter to prevent interference; 7. For IC3, when input through pin 1, it becomes a low level. When output through pin 2, it is a high level to the P10 pin of the single - chip microcomputer; 8. When there is a signal, through R3 and D2, it indicates that there is a signal input; 9. When P10 becomes high level, it indicates that there is a signal input.
[0046] The above has described the present invention exemplarily in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited by the above - mentioned manner. As long as various non - substantial improvements are made by adopting the method concept and technical solution of the present invention; or without improvement, the above - mentioned concept and technical solution of the present invention are directly applied to other occasions, they are all within the protection scope of the present invention.
Claims
1. A short-circuit detection device for a low-voltage terminal of a controller, characterized in that, The invention comprises a lower box cover (1), an upper box cover (2) snap-fitted with the lower box cover (1), a main control unit (3) mounted on the top of the lower box cover (1) by screws, a line output port and a line input port arranged on both sides of the main control unit (3), a signal driving module connected to the output port, a signal conditioning module connected to the input port, and a status indication module (4) connected to the main control unit (3).
2. The short-circuit detection device for the low-voltage terminal of a controller according to claim 1, characterized in that The input port and the output port are both provided with 8 groups, corresponding to P10-P17 and P20-P27 respectively. The status indication module (4) includes a channel positioning LED (red), a normal indication LED (green), an abnormal indication LED (red) and a buzzer.
3. A short-circuit detection method for a low-voltage terminal of a controller according to claim 1, characterized in that, The following steps are involved: Step S10, connecting the 8-way terminal to the detection device through the wiring harness, and then powering on; Step S20: After power is turned on, pulse test signals are sent out from ports P20-P27 one by one, pass through the tested terminals, and return to ports P10-P17 to detect and judge the feedback signals one by one; Step S30, after receiving the signal, determine whether the subsequent indicator lights belong to the same path. If so, it is determined to be normal and the green light is on. Otherwise, it is determined to be NG, the fault red light and the short circuit loop light are on, and the buzzer is driven to alarm.
4. The short-circuit detection device and detection method for the low-voltage terminal of a controller according to claim 3, characterized in that, The specific determination methods of step S30 include the following: a) When the P10 pin is high and the P11-P17 pins are low, it means it is normal; b) P36 pin outputs a low level, which is input through IC1B's 3 pin and output through 4 pin, driving D12 to light up green; c) If P10-P17 are all low, it means that the line is blocked, the test pin or the connector is not properly connected; d) The program stops and alarms; e) P37 pin outputs a low level, which is input through pin 1 of IC1A and output through pin 2, driving D11 to light up red; f) P35 pin outputs a low level, which is input through IC1C’s 5 pin and output through 6 pin, driving Q7 and then driving the buzzer to alarm; g) If two or more pins P10-P17 are at high level, it indicates a short circuit between wires. h) When an abnormality occurs, which light on the output indicates which line it is? i) If the input light does not light up or more than two lights are on, it means that several wires are short-circuited.