Terminal control loop access state detection function automatic inspection system
By designing an automatic terminal control loop access status detection function automatic inspection system, the problems of low detection efficiency, low accuracy and low safety performance in the existing technology are solved, and an efficient, accurate and safe detection process is achieved.
Patent Information
- Application Number
- CN202421158165.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2034-05-24
AI Technical Summary
The existing terminal control loop access status detection function has low detection efficiency and accuracy, and low safety performance, which poses safety hazards and short circuit risks of manual control switches.
An automatic inspection system for terminal control loop access status detection function is designed, including a host computer, RS485 communication unit, processor unit, adjustable power supply, leakage current detection unit, power switching control unit and relay status detection unit. Through automation Process and digital isolator and other technical means to achieve automatic detection and safety control.
It improves detection efficiency and accuracy, reduces safety risks and detection error risks caused by manual operations, and ensures the safety and efficiency of the detection process.
Smart Images

Figure CN222380024U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of function detection, and in particular relates to an automatic inspection system for terminal control loop access status detection function. Background Art
[0002] The control output of the dedicated transformer acquisition terminal should have the function of detecting the state of the control loop, and the leakage current should not exceed 100uA when connected to the 220V control line. During the production process, manual detection is often used. Since the voltage connected is as high as 220V, there is a risk of electric shock and short circuit damage to the equipment during the detection process, and the detection efficiency and accuracy are low.
[0003] The existing terminal control loop access status detection function detection tooling system consists of Figure 2 As shown, it includes an analog control relay access power supply, an ammeter and a switch. The control output relay and the control loop access status detection circuit in the figure are the internal functional units of the terminal to be tested. The general process of the existing detection method is to connect to the AC 220V power supply, manually control the switch to close, read the terminal-related control loop access status from the terminal interface or the main station, read the current indication number, then control the switch to disconnect, and read the terminal-related control loop access status from the terminal interface or the main station again, and finally give the test result. By analyzing the composition and detection method of the existing detection tooling system, the existing technical means have many shortcomings: the access power supply is 220V, and there are safety hazards in the manual control switch; if the control output relay contacts are in the energized state before the detection begins, then when the switch is manually closed, a short circuit accident will occur; it is necessary to manually check the terminal control loop access status display results and record the current indication number, which is cumbersome, inefficient, and prone to errors. The patent application with publication number CN115389922A provides a circuit breaker action characteristic and control circuit state detection device and detection method, the device includes: a DC current and voltage acquisition unit, used to collect the current of the control circuit of the circuit breaker, and the DC voltage at a preset point in the control circuit; a switch position acquisition unit, used to detect the state of the opening and closing auxiliary switch of the circuit breaker; a processing unit, used to start timing when any of the conditions in which the DC voltage at a preset point in the control circuit flips to the ground potential or the current of the control circuit exceeds a preset value is met, and stop timing when the state of the opening and closing auxiliary switch changes, determine the opening time or closing time of the circuit breaker, and determine the state of the control circuit according to the state of the opening and closing auxiliary switch. Although this patent application is also a state detection device, it does not provide relevant technical solutions for how to improve detection efficiency and accuracy, and reduce safety risks.
[0004] Therefore, how to provide a terminal control loop access status detection function detection tooling system with high detection efficiency and accuracy as well as high safety performance is an urgent problem to be solved by personnel in this technical field. Utility Model Content
[0005] In view of the deficiencies in the prior art, the purpose of the utility model is to provide an automatic inspection system for the terminal control loop access status detection function, so as to solve the problem that the terminal control loop access status detection function detection tooling system in the prior art has low detection efficiency and accuracy, and low safety performance.
[0006] In order to solve the above technical problems, the utility model adopts the following technical solutions:
[0007] The utility model provides a terminal control loop access status detection function automatic inspection system, comprising:
[0008] The host computer is used to send control instructions to the processor unit, read the terminal control loop access status detection results and record them;
[0009] RS485 communication unit, used for communication between the host computer and the processor unit in the automatic inspection system;
[0010] A processor unit, used to parse the host computer instructions, and control the corresponding execution unit to read the corresponding detection unit data, and upload it to the host computer;
[0011] Adjustable power supply, used to simulate the control terminal loop access power supply;
[0012] A leakage current detection unit, used to detect the leakage current of the detection circuit of the control circuit access status of the detected device;
[0013] Power supply switching control unit, used to control power supply switching on or off;
[0014] A relay state detection unit, used to identify the electric shock state of the control output relay of the detected device;
[0015] The host computer, RS485 communication unit, and processor unit are communicatively connected in sequence; the processor unit is communicatively connected to the leakage current detection unit and the relay state detection unit respectively; the leakage current detection unit is also communicatively connected to the adjustable power supply and the power switching control unit respectively; the detected device is communicatively connected to the host computer, the relay state detection unit, and the power switching control unit respectively; and the detected device is communicatively connected to the host computer via Ethernet.
[0016] Further, the circuit of the RS485 communication unit includes a digital isolator U1, a capacitor C24, a capacitor C26, a capacitor C27, a chip D4, a resistor R19, a resistor R21, a resistor R22, a resistor R23, a transient suppressor V6, a transient suppressor V8 and a socket XS2, the capacitor C26 is connected to the first pin of the digital isolator U1, the capacitor C27 is connected to the tenth pin of the digital isolator U1, the sixth pin of the digital isolator U1 is connected to the first pin of the chip D4, the seventh pin of the digital isolator U1 is connected to the second and third pins of the chip D4, and the ninth pin of the digital isolator U1 is connected to the chip The capacitor C24 is connected to the 8th pin of the chip D4, one end of the resistor R19, the 1st pin of the transient suppressor V6, and one end of the resistor R21 are all connected to the 7th pin of the chip D4, the other end of the resistor R19 and the 2nd pin of the transient suppressor V6 are all grounded, the other end of the resistor R21 is connected to the 1st pin of the socket XS2, one end of the resistor R22, one end of the resistor R23, and the 1st pin of the transient suppressor V8 are all connected to the 6th pin of the chip D4, the other end of the resistor R22 is connected to the 2nd pin of the socket XS2, and the 2nd pin of the transient suppressor V8 is grounded.
[0017] Further, the circuit of the processor unit includes a single-chip computer D3, a capacitor C8, a capacitor C9, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a capacitor C21, a resistor R6, a resistor R8 and a resistor R10, one end of the capacitor C8 and one end of the capacitor C9 are respectively connected to the 48th pin of the single-chip computer D3 and the external power supply, the other ends of the capacitor C8 and the capacitor C9 are grounded, and the capacitor One end of C12 is connected to the 5th pin of the single-chip computer D3, and the other end is grounded. One end of the capacitor C13 and one end of the capacitor C14 are connected to the 35th pin of the single-chip computer D3 and grounded. The other ends of the capacitor C13 and the other ends of the capacitor C14 are connected to the 36th pin of the single-chip computer D3 and the external power supply respectively. One end of the capacitor C15 is connected to the 6th pin of the single-chip computer D3, and the other end is grounded. One end of the capacitor C17 is connected to one end of the resistor R8, the single-chip computer D3 and the external power supply. The 7th pin of the single-chip computer D3 is connected respectively, and the other end is grounded. The other end of the resistor R8 is connected to the external power supply. One end of the capacitor C18 and one end of the capacitor C19 are connected to the 9th pin of the single-chip computer D3 and the external power supply respectively. The other end of the capacitor C18 and the other end of the capacitor C19 are grounded. One end of the capacitor C20 and one end of the capacitor C21 are connected to the 24th pin of the single-chip computer D3 and the external power supply respectively. The other end of the capacitor C20 and the other end of the capacitor C21 are grounded. One end of the resistor R6 is connected to the 44th pin of the single-chip computer D3, and the other end is connected to the external power supply. One end of the resistor R10 is connected to the 30th pin of the single-chip computer D3, and the other end is connected to the external power supply. The 17th pin of the single-chip computer D3 is connected to the 5th pin of the digital isolator U1, the 18th pin of the single-chip computer D3 is connected to the 3rd pin of the digital isolator U1, and the 19th pin of the single-chip computer D3 is connected to the 4th pin of the digital isolator U1.
[0018] Further, the circuit of the leakage current detection unit includes a chip D1, a digital isolator D2, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C10, a capacitor C11, a capacitor C29, a resistor R1, a resistor R2, a resistor R5, a resistor R24, a resistor R25 and a socket XS3, one end of the capacitor C2 and one end of the capacitor C3 are respectively connected to the first pin of the digital isolator D2 and the external power supply, and the other end of the capacitor C2 and the other end of the capacitor C3 are respectively connected to the first pin of the digital isolator D2 and the external power supply. One end of the capacitor C4 and one end of the capacitor C5 are connected to the 8th pin of the digital isolator D2, the other end of the capacitor C4 and the other end of the capacitor C5 are grounded, one end of the capacitor C6 is connected to one end of the capacitor C7 and the 8th pin of the chip D1 respectively, one end of the capacitor C7 is also connected to the 1st pin of the chip D1, the other end of the capacitor C6 and the other end of the capacitor C7 are connected to the neutral line, one end of the capacitor C10 and one end of the capacitor C11 are connected to the chip D 1 and one end of capacitor C29, respectively; the other end of the capacitor C10 and the other end of the capacitor C11 are respectively connected to the 1st pin of the socket XS3, one end of the resistor R5 and the neutral line; the other end of the capacitor C29 is respectively connected to the 3rd pin of the chip D1 and the other end of the resistor R5; one end of the resistor R1 and one end of the resistor R2 are respectively connected to the 7th pin of the chip D1; the other end of the resistor R1 is respectively connected to the 5th pin of the chip D1 and the 6th pin of the digital isolator D2; the other end of the resistor R2 is respectively connected to the 6th pin of the chip D1 and the 7th pin of the digital isolator D2; one end of the resistor R24 and one end of the resistor R25 are respectively connected to the 1st pin of the digital isolator D2; the other end of the resistor R24 is respectively connected to the 3rd pin of the digital isolator D2 and the 27th pin of the single-chip computer D3; the other end of the resistor R25 is respectively connected to the 2nd pin of the digital isolator D2 and the 25th pin of the single-chip computer D3.
[0019] Further, the circuit of the power switching control unit includes a relay K1, a socket XS1, a MOS tube V1, a diode V2, a transistor V3, a transistor V4, a transistor V5, a resistor R7, a resistor R11, a resistor R12, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, and a capacitor C23. The fourth pin of the relay K1 is connected to the first pin of the socket XS1, the 13th pin of the relay K1 is connected to the second pin of the socket XS1, the first pin of the relay K1 is connected to the third pin of the MOS tube V1 and the negative electrode of the diode V2, respectively, the first pin of the MOS tube V1 is connected to one end of the resistor R7 and one end of the resistor R11, respectively, the other end of the resistor R7 is connected to the second pin of the MOS tube V1, and the other end of the resistor R11 is connected to the third pin of the transistor V3. The first pin of the transistor V3 is connected to one end of the resistor R14, the other end of the resistor R14 is connected to one end of the resistor R13 and the third pin of the transistor V4 respectively, the other end of the resistor R13 is connected to an external power supply, the first pin of the transistor V4 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to an external power supply, the second pin of the transistor V4 is grounded, the third pin of the transistor V5 is connected to the positive electrode of the diode V2 and the 16th pin of the relay K1 respectively, the first pin of the transistor V5 is connected to one end of the resistor R16 and one end of the capacitor C23 respectively, the other end of the resistor R16 is connected to one end of the resistor R17, the other end of the resistor R17 and the other end of the capacitor C23 are both grounded.
[0020] Furthermore, the circuit of the relay state detection unit includes a resistor R18, a resistor R20, a capacitor C25, a capacitor C28, an optocoupler D5 and a diode V7, one end of the resistor R18 is connected to one end of the capacitor C25 and the 4th pin of the optocoupler D5, respectively, the other end of the capacitor C25 is connected to the 3rd pin of the optocoupler D5 and grounded, the 1st pin of the optocoupler D5 is connected to one end of the resistor R20 and the negative electrode of the diode V7, respectively, the 2nd pin of the optocoupler D5 is connected to the positive electrode of the diode V7, one end of the capacitor C28, and the 11th pin of the relay K1, and the other end of the capacitor C28 is connected to the 6th pin of the relay K1.
[0021] Furthermore, the network RS485_RXD is connected to the 17th pin of the single-chip microcomputer D3, the network RS485_RD is connected to the 19th pin of the single-chip microcomputer D3, and the network RS485_TXD is connected to the 18th pin of the single-chip microcomputer D3.
[0022] Furthermore, ADC_SDAA is connected to the 25th pin of the single chip microcomputer D3, and the network ADC_SCKA is connected to the 27th pin of the single chip microcomputer D3.
[0023] Furthermore, network RELAY_PWCS is connected to the 43rd pin of the single-chip microcomputer D3, network RELAY_EN is connected to the 42nd pin of the single-chip microcomputer D3, network RELAY_IN is connected to the 41st pin of the single-chip microcomputer D3, network RELAY+ is connected to the 11th pin of the relay K1, and network RELAY- is connected to the 6th pin of the relay K1.
[0024] Compared with the prior art, the terminal control loop access status detection function automatic inspection system provided by the utility model has at least the following beneficial effects:
[0025] In the prior art, manual control switches have potential safety hazards; if the output relay contacts are in the energized state before the test begins, a short circuit will occur when the switch is manually closed; it is necessary to manually check the terminal control loop access status display results and record the current display number, which is cumbersome, inefficient, and prone to errors. The utility model has a simple structure and is easy to operate. It eliminates the risk of short circuit in the access power supply by detecting the state of the output relay of the device being tested, and eliminates the risk of electric shock to personnel and the risk of inaccurate results through automatic process control. While the detection efficiency and accuracy are high, the safety performance is also guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the scheme of the utility model, a brief introduction is given below to the figures required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 A structural diagram of a terminal control loop access status detection function automatic inspection system provided by an embodiment of the utility model;
[0028] Figure 2 Provide a structural diagram of the tooling system for connecting the status detection function to the existing terminal control loop;
[0029] Figure 3 A circuit diagram of an RS485 communication unit of an automatic inspection system for terminal control loop access status detection function provided by an embodiment of the utility model;
[0030] Figure 4 A circuit diagram of a processor unit of a terminal control loop access status detection function automatic inspection system provided by an embodiment of the utility model;
[0031] Figure 5 A circuit diagram of a leakage current detection unit of an automatic inspection system for detecting a terminal control loop access state provided by an embodiment of the utility model;
[0032] Figure 6 A circuit diagram of a power supply switching control unit of an automatic inspection system for terminal control loop access status detection function provided by an embodiment of the utility model;
[0033] Figure 7 A relay state detection circuit diagram of an automatic inspection system for terminal control loop access state detection function provided by an embodiment of the utility model. DETAILED DESCRIPTION
[0034] Unless otherwise defined, all technical and scientific terms used in this document have the same meaning as commonly understood by technicians in the technical field of the present invention; the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For example, the directions or positions indicated by terms such as "length", "width", "up", "down", "left", "right", "front", "back", "vertical", "horizontal", "top", "bottom", "inside", and "outside" are based on the directions or positions shown in the drawings, which are only for the convenience of description and cannot be understood as limitations on the present technical solution.
[0035] The terms "including" and "having" and any variations thereof in the specification and claims of the utility model and the above-mentioned drawings are intended to cover non-exclusive inclusions; the terms "first", "second", etc. in the specification and claims of the utility model or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In the specification and claims of the utility model and the above-mentioned drawings, when an element is referred to as "fixed to" or "mounted on" or "disposed on" or "connected to" another element, it may be directly or indirectly located on the other element. For example, when an element is referred to as "connected to" another element, it may be directly or indirectly connected to the other element.
[0036] In addition, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0037] The utility model provides a terminal control loop access state detection function automatic inspection system, which is applied to the detection process of the series circuit access state detection function corresponding to the terminal device control output function. The terminal control loop access state detection function automatic inspection system includes:
[0038] The host computer is used to send control instructions to the processor unit, read the terminal control loop access status detection result and record it; the RS485 communication unit is used to automatically check the communication between the host computer and the processor unit in the system; the processor unit is used to parse the host computer instructions, and control the corresponding execution unit to read the corresponding detection unit data, and upload it to the host computer; the adjustable power supply is used to simulate the control terminal loop access power supply; the leakage current detection unit is used to detect the leakage current size of the control loop access status detection circuit of the detected device; the power switching control unit is used to control the power supply to be turned on or off; the relay state detection unit is used to identify the electric shock state of the control output relay of the detected device; the host computer, the RS485 communication unit, and the processor unit are connected in communication in sequence, the processor unit is connected in communication with the leakage current detection unit and the relay state detection unit respectively, the leakage current detection unit is also connected in communication with the adjustable power supply and the power switching control unit respectively, the detected device is connected in communication with the host computer, the relay state detection unit, and the power switching control unit respectively, and the detected device is connected in communication with the host computer via Ethernet.
[0039] The utility model has the advantages of simple structure, convenient operation, high detection efficiency and accuracy, and guaranteed safety performance.
[0040] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiments of the utility model will be clearly and completely described below in conjunction with the accompanying drawings.
[0041] The utility model provides a terminal control loop access state detection function automatic inspection system, which is applied to the detection process of the series circuit access state detection function corresponding to the terminal device control output function, combined with Figure 1 , Figures 3 to 7 , the terminal control loop access status detection function automatic inspection system includes:
[0042] The host computer communicates with the processor unit of the detection tooling, issues control instructions, reads test data, and also communicates with the detected device to read the terminal control loop access status detection results, record and output the detection report; the RS485 communication unit is used to realize the communication between the host computer and the processor unit in the automatic inspection system; the processor unit is used to detect the tooling processor, parse the host computer instructions, and control the corresponding execution unit to read the corresponding detection unit data and upload it to the host computer; the adjustable power supply is used to simulate the control terminal loop access power supply; the leakage current detection unit is used to detect the control loop access status detection voltage of the detected device The size of the leakage current of the circuit; the power switching control unit is used to control the power supply to be switched on or off; the relay state detection unit is used to identify the electric shock state (attracted or disconnected) of the control output relay of the detected device; the host computer, the RS485 communication unit, and the processor unit are communicated and connected in sequence, the processor unit is communicated and connected with the leakage current detection unit and the relay state detection unit respectively, the leakage current detection unit is also communicated and connected with the adjustable power supply and the power switching control unit respectively, the detected device is communicated and connected with the host computer, the relay state detection unit, and the power switching control unit respectively, and the detected device is communicated and connected with the host computer via Ethernet.
[0043] Further, in this embodiment, the RS485 communication unit circuit diagram is as follows Figure 3 As shown, U1 is a digital isolator, C26 and C27 are power filter capacitors at both ends of the digital isolator, D4 is an RS485 interface chip, C24 is an RS485 interface chip power filter capacitor, R21 and R22 are current limiting resistors, V6 and V8 are transient suppressors, R19 is a pull-down resistor, R23 is an upper resistor, and the XS2 socket is a communication interface with the host computer. The network RS485_RXD is connected to the 17th pin of the processor for receiving the communication serial port, the network RS485_RD is connected to the 19th pin of the processor for receiving and sending control pins, and the network RS485_TXD is connected to the 18th pin of the processor for sending the communication serial port.
[0044] Specifically, the circuit of the RS485 communication unit includes a digital isolator U1, a capacitor C24, a capacitor C26, a capacitor C27, a chip D4, a resistor R19, a resistor R21, a resistor R22, a resistor R23, a transient suppressor V6, a transient suppressor V8 and a socket XS2, the capacitor C26 is connected to the 1st pin of the digital isolator U1, the capacitor C27 is connected to the 10th pin of the digital isolator U1, the 6th pin of the digital isolator U1 is connected to the 1st pin of the chip D4, the 7th pin of the digital isolator U1 is connected to the 2nd and 3rd pins of the chip D4, the 9th pin of the digital isolator U1 is connected to the 10th pin of the chip D4, and the 10th pin of the digital isolator U1 is connected to the 10th pin of the chip D4. The fourth pin of chip D4 is connected, the capacitor C24 is connected to the eighth pin of chip D4, one end of resistor R19, the first pin of transient suppressor V6, and one end of resistor R21 are all connected to the seventh pin of chip D4, the other end of resistor R19 and the second pin of transient suppressor V6 are all grounded, the other end of resistor R21 is connected to the first pin of socket XS2, one end of resistor R22, one end of resistor R23, and the first pin of transient suppressor V8 are all connected to the sixth pin of chip D4, the other end of resistor R22 is connected to the second pin of socket XS2, and the second pin of transient suppressor V8 is grounded.
[0045] Furthermore, in this embodiment, the circuit diagram of the processor unit is as follows: Figure 4 As shown, D3 is a single-chip microcomputer, and the capacitors of C8, C9, C13, C14, C18, C19, C20, and C21 are filter capacitors for the power pins of the single-chip microcomputer; the resistor R8 and the capacitor C17 form a single-chip microcomputer power-on RC reset circuit; the resistors R6 and R10 are current-limiting resistors; the crystal oscillator of Y1 is the external clock source of the single-chip microcomputer; the capacitors C12 and C15 are crystal oscillator load capacitors.
[0046] Specifically, the circuit of the processor unit includes a single-chip computer D3, a capacitor C8, a capacitor C9, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a capacitor C21, a resistor R6, a resistor R8 and a resistor R10, one end of the capacitor C8 and one end of the capacitor C9 are respectively connected to the 48th pin of the single-chip computer D3 and an external power supply, the other ends of the capacitors C8 and C9 are both grounded, one end of the capacitor C12 is connected to the 5th pin of the single-chip computer D3, and the other end is grounded, one end of the capacitor C13 and one end of the capacitor C14 are both connected to the 35th pin of the single-chip computer D3 and grounded, the other end of the capacitor C13 and the other end of the capacitor C14 are respectively connected to the 36th pin of the single-chip computer D3 and the external power supply, one end of the capacitor C15 is connected to the 6th pin of the single-chip computer D3, and the other end is grounded, one end of the capacitor C17 is connected to one end of the resistor R8 , and the 7th pin of the single-chip computer D3 are respectively connected, and the other end is grounded, the other end of the resistor R8 is connected to the external power supply, one end of the capacitor C18 and one end of the capacitor C19 are connected to the 9th pin of the single-chip computer D3 and the external power supply respectively, the other end of the capacitor C18 and the other end of the capacitor C19 are grounded, one end of the capacitor C20 and one end of the capacitor C21 are connected to the 24th pin of the single-chip computer D3 and the external power supply respectively, the other end of the capacitor C20 and the other end of the capacitor C21 are grounded, one end of the resistor R6 is connected to the 44th pin of the single-chip computer D3, and the other end is connected to the external power supply, one end of the resistor R10 is connected to the 30th pin of the single-chip computer D3, and the other end is connected to the external power supply, the 17th pin of the single-chip computer D3 is connected to the 5th pin of the digital isolator U1, the 18th pin of the single-chip computer D3 is connected to the 3rd pin of the digital isolator U1, and the 19th pin of the single-chip computer D3 is connected to the 4th pin of the digital isolator U1.
[0047] In this embodiment, the 17th, 18th, and 19th pins of the processor are connected to the RS485 communication unit, the 17th pin is for RS485 communication serial port reception, the 18th pin is for RS485 communication serial port transmission, and the 19th pin is for RS485 transceiver control (low level for reception, high level for transmission). The 25th and 27th pins of the processor are connected to the leakage current detection unit, the 25th pin is for communication data pin with the leakage current detection unit, and the 27th pin is for communication clock pin with the leakage current detection unit. The 41st pin of the processor is connected to the relay state detection unit, and the high level of the pin indicates that the relay of the detected device is in the disconnected state, and the low level of the pin indicates that the relay of the detected device is in the attracted state. The 42nd and 43rd pins of the processor are connected to the power supply switching control unit, and only when the 42nd pin outputs a high level and the 43rd pin outputs a low level, the electric control source switching relay coil is energized, the control power supply switching relay is attracted, and the power supply is put into the detected device. Otherwise, the relay is disconnected.
[0048] Furthermore, in this embodiment, the circuit schematic diagram of the leakage current detection unit is as follows: Figure 5 As shown, D2 is a bidirectional digital isolator, which realizes isolated communication between the processor system and the leakage current detection unit; D1 is a 24-bit ADC chip; C2, C3 and C4, C5 are power filter capacitors at both ends of the bidirectional digital isolator; R1, R2, R24, R25 are upper resistors for the communication data line and clock line; C1 is the power filter capacitor of the ADC chip; C6, C7 are the internal reference source VREEP of the ADC chip and the external filter capacitor of the internal excitation power supply; R3, R4 and C10, C11 are the input RC filter of the ADC chip; C29 is the input differential mode filter capacitor of the ADC chip; R5 is a high-precision leakage current sampling resistor; the socket of XS3 is an adjustable power input interface, where the socket 1 pin is connected to the negative power supply and the socket 2 pin is connected to the positive power supply. The network ADC_SDAA is connected to the 25th pin of the processor, which is the data line; the network ADC_SCKA is connected to the 27th pin of the processor, which is the clock line.
[0049] Specifically, the circuit of the leakage current detection unit includes a chip D1, a digital isolator D2, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C10, a capacitor C11, a capacitor C29, a resistor R1, a resistor R2, a resistor R5, a resistor R24, a resistor R25 and a socket XS3, one end of the capacitor C2 and one end of the capacitor C3 are respectively connected to the first pin of the digital isolator D2 and the external power supply, the other end of the capacitor C2 and the other end of the capacitor C3 are grounded, one end of the capacitor C4 and one end of the capacitor C5 are connected to the eighth pin of the digital isolator D2, the other end of the capacitor C4 and the other end of the capacitor C5 are grounded, one end of the capacitor C6 is respectively connected to one end of the capacitor C7 and the eighth pin of the chip D1, one end of the capacitor C7 is also connected to the first pin of the chip D1, the other end of the capacitor C6 and the other end of the capacitor C7 are connected to the neutral line, one end of the capacitor C10 and one end of the capacitor C11 are connected to the core The 4th pin of chip D1 and one end of capacitor C29 are connected respectively, the other end of capacitor C10 and the other end of capacitor C11 are connected to the 1st pin of socket XS3, one end of resistor R5 and the neutral line respectively, the other end of capacitor C29 is connected to the 3rd pin of chip D1 and the other end of resistor R5 respectively, one end of resistor R1 and one end of resistor R2 are connected to the 7th pin of chip D1 respectively, the other end of resistor R1 is connected to the 5th pin of chip D1 and the 6th pin of digital isolator D2 respectively, the other end of resistor R2 is connected to the 6th pin of chip D1 and the 7th pin of digital isolator D2 respectively, one end of resistor R24 and one end of resistor R25 are connected to the 1st pin of digital isolator D2 respectively, the other end of resistor R24 is connected to the 3rd pin of digital isolator D2 and the 27th pin of microcontroller D3 respectively, the other end of resistor R25 is connected to the 2nd pin of digital isolator D2 and the 25th pin of microcontroller D3 respectively.
[0050] Furthermore, in this embodiment, the circuit schematic diagram of the power switching control unit is as follows: Figure 6 As shown, K1 is a double-pole double-throw relay. The two common terminals of the relay, pins 4 and 13, are connected to the control circuit interface of the device under test through the XS1 socket. The two normally closed contacts, pins 6 and 11, are connected to the relay state detection unit; the two normally open contacts, pins 8 and 9, are connected to the leakage current detection unit; the diode of V2 is the freewheeling diode of the K1 coil; the R7, R11 voltage divider resistors, the R12, R13 upper resistors, the R14, R15 current limiting resistors, the V1 field effect tube (P-MOS), the V3, V4 transistors (NPN) form the K1 relay coil power supply control circuit; the R16 current limiting resistor, the R17 pull-down resistor, the C23 filter capacitor, and the V5 transistor (NPN) form the K1 relay coil enable control circuit. The network RELAY_PWCS is connected to the 43rd pin of the processor; the network RELAY_EN is connected to the 42nd pin of the processor. When RELAY_PWCS is low and RELAY_EN is high, the relay coil is energized and the relay is closed; otherwise, the relay is disconnected. The two networks are driven at different levels, which can effectively prevent the relay from malfunctioning.
[0051] Specifically, the circuit of the power switching control unit includes a relay K1, a socket XS1, a MOS tube V1, a diode V2, a transistor V3, a transistor V4, a transistor V5, a resistor R7, a resistor R11, a resistor R12, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, and a capacitor C23. The fourth pin of the relay K1 is connected to the first pin of the socket XS1, the 13th pin of the relay K1 is connected to the second pin of the socket XS1, the first pin of the relay K1 is connected to the third pin of the MOS tube V1 and the negative electrode of the diode V2, respectively, the first pin of the MOS tube V1 is connected to one end of the resistor R7 and one end of the resistor R11, respectively, the other end of the resistor R7 is connected to the second pin of the MOS tube V1, and the other end of the resistor R11 is connected to the triode. The third pin of the transistor V3 is connected, the first pin of the transistor V3 is connected to one end of the resistor R14, the other end of the resistor R14 is connected to one end of the resistor R13 and the third pin of the transistor V4 respectively, the other end of the resistor R13 is connected to an external power supply, the first pin of the transistor V4 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to the external power supply, the second pin of the transistor V4 is grounded, the third pin of the transistor V5 is connected to the anode of the diode V2 and the 16th pin of the relay K1 respectively, the first pin of the transistor V5 is connected to one end of the resistor R16 and one end of the capacitor C23 respectively, the other end of the resistor R16 is connected to one end of the resistor R17, the other end of the resistor R17 and the other end of the capacitor C23 are both grounded.
[0052] Further, in this embodiment, the circuit schematic diagram of the relay state detection unit is shown in Figure 7 As shown. Position R18 is the upper resistor; Position C25 is the detection signal filter capacitor; Position D5 is the optocoupler; Position R20 is the current limiting resistor; Position V7 is the reverse clamp protection diode; Position C28 is the input differential mode filter capacitor. Network RELAY_IN is connected to the 41st pin of the processor; Network RELAY+ is connected to the 11th pin of the double-pole double-throw relay K1 of the power switching control unit; Network RELAY- is connected to the 6th pin of the double-pole double-throw relay K1 of the power switching control unit.
[0053] Specifically, the circuit of the relay state detection unit includes a resistor R18, a resistor R20, a capacitor C25, a capacitor C28, an optocoupler D5 and a diode V7, one end of the resistor R18 is connected to one end of the capacitor C25 and the 4th pin of the optocoupler D5, respectively, the other end of the capacitor C25 is connected to the 3rd pin of the optocoupler D5 and grounded, the 1st pin of the optocoupler D5 is connected to one end of the resistor R20 and the negative electrode of the diode V7, respectively, the 2nd pin of the optocoupler D5 is connected to the positive electrode of the diode V7, one end of the capacitor C28, and the 11th pin of the relay K1, and the other end of the capacitor C28 is connected to the 6th pin of the relay K1.
[0054] Furthermore, the working principle of the circuit is: when K1 is in the disconnected state, the network RELAY+ and RELAY- are connected to the control output port of the device under test. At this time, when the control output relay of the device under test is energized, the network RELAY+ and RELAY- are approximately short-circuited, the optocoupler D5 is turned on, and the network RELAY_IN outputs a low level.
[0055] Compared with the prior art, the terminal control circuit access status detection function automatic inspection system described in the above embodiment has potential safety hazards in the manual control switch in the prior art; if the control output relay contacts are in the energized state before the detection begins, a short circuit accident will occur when the switch is manually closed; it is necessary to manually check the terminal control circuit access status display results and record the current indication number, which is cumbersome, inefficient, and prone to errors. The utility model has a simple structure and is easy to operate. It eliminates the risk of short circuit in the access power supply by detecting the state of the control output relay of the detected device, and eliminates the risk of electric shock to personnel and the risk of inaccurate results through automatic process control. While the detection efficiency and accuracy are high, the safety performance is also guaranteed.
[0056] Obviously, the embodiments described above are only preferred embodiments of the utility model, rather than all embodiments. The preferred embodiments of the utility model are given in the accompanying drawings, but they do not limit the patent scope of the utility model. The utility model can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the utility model more thorough and comprehensive. Although the utility model is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to replace some of the technical features therein with equivalents. Any equivalent structure made using the contents of the utility model specification and the accompanying drawings, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the utility model.
Claims
1. A terminal control loop access status detection function automatic inspection system, characterized in that: include: The host computer is used to send control instructions to the processor unit, read the terminal control loop access status detection results and record them; RS485 communication unit, used for communication between the host computer and the processor unit in the automatic inspection system; A processor unit, used to parse the host computer instructions, and control the corresponding execution unit to read the corresponding detection unit data, and upload it to the host computer; Adjustable power supply, used to simulate the control terminal loop access power supply; A leakage current detection unit, used to detect the leakage current of the detection circuit of the control circuit access status of the detected device; Power supply switching control unit, used to control power supply switching on or off; A relay state detection unit, used to identify the electric shock state of the control output relay of the detected device; The host computer, RS485 communication unit, and processor unit are communicatively connected in sequence; the processor unit is communicatively connected to the leakage current detection unit and the relay state detection unit respectively; the leakage current detection unit is also communicatively connected to the adjustable power supply and the power switching control unit respectively; the detected device is communicatively connected to the host computer, the relay state detection unit, and the power switching control unit respectively; and the detected device is communicatively connected to the host computer via Ethernet.
2. According to claim 1, a terminal control loop access status detection function automatic inspection system is characterized in that: The circuit of the RS485 communication unit includes a digital isolator U1, a capacitor C24, a capacitor C26, a capacitor C27, a chip D4, a resistor R19, a resistor R21, a resistor R22, a resistor R23, a transient suppressor V6, a transient suppressor V8 and a socket XS2, the capacitor C26 is connected to the first pin of the digital isolator U1, the capacitor C27 is connected to the tenth pin of the digital isolator U1, the sixth pin of the digital isolator U1 is connected to the first pin of the chip D4, the seventh pin of the digital isolator U1 is connected to the second and third pins of the chip D4, the ninth pin of the digital isolator U1 is connected to the The capacitor C24 is connected to the 8th pin of the chip D4, one end of the resistor R19, the 1st pin of the transient suppressor V6, and one end of the resistor R21 are all connected to the 7th pin of the chip D4, the other end of the resistor R19 and the 2nd pin of the transient suppressor V6 are all grounded, the other end of the resistor R21 is connected to the 1st pin of the socket XS2, one end of the resistor R22, one end of the resistor R23, and the 1st pin of the transient suppressor V8 are all connected to the 6th pin of the chip D4, the other end of the resistor R22 is connected to the 2nd pin of the socket XS2, and the 2nd pin of the transient suppressor V8 is grounded.
3. A terminal control loop access status detection function automatic inspection system according to claim 2, characterized in that: The circuit of the processor unit includes a single-chip computer D3, a capacitor C8, a capacitor C9, a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a capacitor C17, a capacitor C18, a capacitor C19, a capacitor C20, a capacitor C21, a resistor R6, a resistor R8 and a resistor R10, one end of the capacitor C8 and one end of the capacitor C9 are respectively connected to the 48th pin of the single-chip computer D3 and an external power supply, the other ends of the capacitor C8 and the capacitor C9 are grounded, and the capacitor C12 is connected to the pin 48 of the single-chip computer D3 and the external power supply. One end of the capacitor C15 is connected to the 5th pin of the single-chip computer D3, and the other end is grounded. One end of the capacitor C13 and one end of the capacitor C14 are connected to the 35th pin of the single-chip computer D3 and grounded. The other end of the capacitor C13 and the other end of the capacitor C14 are connected to the 36th pin of the single-chip computer D3 and the external power supply respectively. One end of the capacitor C15 is connected to the 6th pin of the single-chip computer D3, and the other end is grounded. One end of the capacitor C17 is connected to one end of the resistor R8 and the single-chip computer D The 7th pin of the single-chip computer D3 is connected to the 7th pin of the single-chip computer D3, and the other end is grounded. The other end of the resistor R8 is connected to the external power supply. One end of the capacitor C18 and one end of the capacitor C19 are connected to the 9th pin of the single-chip computer D3 and the external power supply respectively. The other end of the capacitor C18 and the other end of the capacitor C19 are grounded. One end of the capacitor C20 and one end of the capacitor C21 are connected to the 24th pin of the single-chip computer D3 and the external power supply respectively. The other end of the capacitor C20 and the other end of the capacitor C21 are grounded. One end of the resistor R6 is connected to the 44th pin of the single-chip computer D3, and the other end is connected to the external power supply. One end of the resistor R10 is connected to the 30th pin of the single-chip computer D3, and the other end is connected to the external power supply. The 17th pin of the single-chip computer D3 is connected to the 5th pin of the digital isolator U1. The 18th pin of the single-chip computer D3 is connected to the 3rd pin of the digital isolator U1. The 19th pin of the single-chip computer D3 is connected to the 4th pin of the digital isolator U1.
4. The terminal control loop access status detection function automatic inspection system according to claim 3 is characterized in that: The circuit of the leakage current detection unit includes a chip D1, a digital isolator D2, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C10, a capacitor C11, a capacitor C29, a resistor R1, a resistor R2, a resistor R5, a resistor R24, a resistor R25 and a socket XS3, one end of the capacitor C2 and one end of the capacitor C3 are respectively connected to the first pin of the digital isolator D2 and the external power supply, and the other end of the capacitor C2 and the other end of the capacitor C3 are connected to the One end of the capacitor C4 and one end of the capacitor C5 are connected to the 8th pin of the digital isolator D2, the other end of the capacitor C4 and the other end of the capacitor C5 are grounded, one end of the capacitor C6 is connected to one end of the capacitor C7 and the 8th pin of the chip D1 respectively, one end of the capacitor C7 is also connected to the 1st pin of the chip D1, the other end of the capacitor C6 and the other end of the capacitor C7 are connected to the neutral line, one end of the capacitor C10 and one end of the capacitor C11 are connected to the The fourth pin of the digital isolator D1 and one end of the capacitor C29 are connected respectively, the other end of the capacitor C10 and the other end of the capacitor C11 are connected to the first pin of the socket XS3, one end of the resistor R5 and the neutral line respectively, the other end of the capacitor C29 is connected to the third pin of the chip D1 and the other end of the resistor R5 respectively, one end of the resistor R1 and one end of the resistor R2 are connected to the seventh pin of the chip D1 respectively, the other end of the resistor R1 is connected to the fifth pin of the chip D1 and the sixth pin of the digital isolator D2 respectively, the other end of the resistor R2 is connected to the sixth pin of the chip D1 and the seventh pin of the digital isolator D2 respectively, one end of the resistor R24 and one end of the resistor R25 are connected to the first pin of the digital isolator D2 respectively, the other end of the resistor R24 is connected to the third pin of the digital isolator D2 and the 27th pin of the microcontroller D3 respectively, the other end of the resistor R25 is connected to the second pin of the digital isolator D2 and the 25th pin of the microcontroller D3 respectively.
5. A terminal control loop access status detection function automatic inspection system according to claim 4, characterized in that: The circuit of the power switching control unit includes a relay K1, a socket XS1, a MOS tube V1, a diode V2, a transistor V3, a transistor V4, a transistor V5, a resistor R7, a resistor R11, a resistor R12, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, and a capacitor C23. The fourth pin of the relay K1 is connected to the first pin of the socket XS1, the 13th pin of the relay K1 is connected to the second pin of the socket XS1, the first pin of the relay K1 is connected to the third pin of the MOS tube V1 and the negative electrode of the diode V2 respectively, the first pin of the MOS tube V1 is connected to one end of the resistor R7 and one end of the resistor R11 respectively, the other end of the resistor R7 is connected to the second pin of the MOS tube V1, the other end of the resistor R11 is connected to the third pin of the transistor V3, and the negative electrode of the diode V2 is connected to the third pin of the MOS tube V1. The first pin of the transistor V3 is connected to one end of the resistor R14, the other end of the resistor R14 is connected to one end of the resistor R13 and the third pin of the transistor V4 respectively, the other end of the resistor R13 is connected to an external power supply, the first pin of the transistor V4 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to an external power supply, the second pin of the transistor V4 is grounded, the third pin of the transistor V5 is connected to the positive electrode of the diode V2 and the 16th pin of the relay K1 respectively, the first pin of the transistor V5 is connected to one end of the resistor R16 and one end of the capacitor C23 respectively, the other end of the resistor R16 is connected to one end of the resistor R17, and the other end of the resistor R17 and the other end of the capacitor C23 are both grounded.
6. A terminal control loop access status detection function automatic inspection system according to claim 5, characterized in that: The circuit of the relay state detection unit includes a resistor R18, a resistor R20, a capacitor C25, a capacitor C28, an optocoupler D5 and a diode V7, one end of the resistor R18 is connected to one end of the capacitor C25 and the 4th pin of the optocoupler D5, respectively, the other end of the capacitor C25 is connected to the 3rd pin of the optocoupler D5 and is grounded, the 1st pin of the optocoupler D5 is connected to one end of the resistor R20 and the cathode of the diode V7, the 2nd pin of the optocoupler D5 is connected to the anode of the diode V7, one end of the capacitor C28 and the 11th pin of the relay K1, and the other end of the capacitor C28 is connected to the 6th pin of the relay K1.
7. The terminal control loop access status detection function automatic inspection system according to claim 3 is characterized in that: The network RS485_RXD is connected to the 17th pin of the single-chip microcomputer D3, the network RS485_RD is connected to the 19th pin of the single-chip microcomputer D3, and the network RS485_TXD is connected to the 18th pin of the single-chip microcomputer D3.
8. The terminal control loop access status detection function automatic inspection system according to claim 3 is characterized in that: The network ADC_SDAA is connected to the 25th pin of the single chip microcomputer D3, and the network ADC_SCKA is connected to the 27th pin of the single chip microcomputer D3.
9. The terminal control loop access status detection function automatic inspection system according to claim 6 is characterized in that: The network RELAY_PWCS is connected to the 43rd pin of the single-chip microcomputer D3, the network RELAY_EN is connected to the 42nd pin of the single-chip microcomputer D3, the network RELAY_IN is connected to the 41st pin of the single-chip microcomputer D3, the network RELAY+ is connected to the 11th pin of the relay K1, and the network RELAY- is connected to the 6th pin of the relay K1.
Citation Information
Patent Citations
Circuit breaker operating characteristic and control loop state detection device and detection method
CN115389922A