Terminal fastening state detection method, device, computer equipment and medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA SOUTHERN POWER GRID EHV POWER TRANSMISSION COMPANY WUZHOU BUREAU
- Filing Date
- 2022-08-16
- Publication Date
- 2026-07-21
Smart Images

Figure CN115393668B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power testing technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for detecting the tightness of terminal blocks. Background Technology
[0002] Within substations, cables play a crucial role in connecting electrical equipment, transmitting electrical energy, and transmitting signals. The reliability of these electrical connections directly impacts the safety and reliability of power supply for power companies. In substations, secondary power circuit connections are primarily achieved through terminal blocks. However, terminal blocks are typically tightened manually during wiring, and the tightening effectiveness is greatly affected by personnel and tools, easily resulting in situations where they are too loose or too tight. Therefore, in power systems, checking the tightness of terminal blocks is essential to ensuring the normal operation of power circuits.
[0003] In existing technologies, technicians typically analyze the tightness of terminals by direct manual observation or by analyzing the current parameters or other operating parameters in the power circuit, as well as the damage to the wires or terminals. This method requires testing each terminal individually and is limited to specific terminals and specific connecting wires. The testing workload is cumbersome, the time cost is huge, and the applicability is not high, resulting in low testing efficiency. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for quickly and easily detecting the tightness of terminal blocks, addressing the aforementioned technical problems.
[0005] In a first aspect, this application provides a method for detecting the tightness of wiring terminals, the method comprising:
[0006] Acquire image data of the wiring terminals from multiple angles;
[0007] The image data is input into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block, wherein the measurement area is the area where the fastening bolt is located;
[0008] The measured area is reconstructed in three dimensions based on the image data to determine the actual embedding distance of the fastening bolt;
[0009] The tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance.
[0010] In one embodiment, inputting the image data into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block includes:
[0011] The image data is input into a pre-trained recognition model, and the specifications of the terminal block are determined based on the characteristics of the terminal block obtained from the recognition.
[0012] The terminal block is marked with a rectangle. Based on the junction area between the rectangle and the access wire, the measurement area of the terminal block and the wire diameter of the access wire are determined.
[0013] The standard embedment distance of the fastening bolts of the terminal block is determined according to the specifications of the terminal block and the wire diameter.
[0014] In one embodiment, determining the measurement area of the terminal block and the wire diameter of the access wire based on the contact area between the rectangular frame and the access wire includes:
[0015] The wire diameter of the access wire is determined based on the area width of the junction region between the rectangular frame and the access wire.
[0016] The measurement area of the terminal block is determined based on the coordinates of the contact area and the preset coordinate movement value.
[0017] In one embodiment, determining the fastening state of the terminal block based on the difference between the measured embedding distance and the standard embedding distance includes:
[0018] Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds a preset specified value range;
[0019] If the difference does not exceed the preset specified value range, a fastening qualified prompt message is generated;
[0020] The fastening qualification notification information is sent to the monitoring terminal.
[0021] In one embodiment, the method further includes:
[0022] If the difference exceeds the preset specified value range, then the difference is compared with the error interval;
[0023] If the difference exceeds the error range, a stop operation request is generated;
[0024] The shutdown request information is sent to the decision terminal via a preset communication channel.
[0025] In one embodiment, the method further includes:
[0026] If the difference does not exceed the error range, and the difference is greater than the upper limit of the preset specified value range, then a bolt overtightening warning message is generated.
[0027] The bolt overtightening warning message is sent to the monitoring terminal.
[0028] In one embodiment, the method further includes:
[0029] If the difference does not exceed the error range and the difference is less than the lower limit of the preset specified value range, a bolt too loose warning message is generated.
[0030] The bolt overtightening warning message is sent to the monitoring terminal.
[0031] Secondly, this application also provides a terminal block fastening status detection device, the device comprising:
[0032] The image acquisition module is used to acquire image data of the wiring terminals from multiple angles.
[0033] The recognition module is used to input the image data into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block, wherein the measurement area is the area where the fastening bolt is located;
[0034] The measurement module is used to perform three-dimensional reconstruction of the measurement area based on the image data to determine the measured embedding distance of the fastening bolt;
[0035] The detection module is used to calculate the difference between the measured embedding distance and the standard embedding distance, and to determine the tightness of the terminal block based on the calculated difference.
[0036] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0037] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0038] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0039] The aforementioned terminal block fastening status detection method, apparatus, computer equipment, storage medium, and computer program products acquire multi-angle image data of the terminal block, input the image data into a pre-trained recognition model for identification, determine the standard embedding distance and measurement area of the terminal block's fastening bolt, and obtain multi-angle images of the measurement area where the fastening bolt is located based on the multi-angle image data. The measured embedding distance of the fastening bolt is determined based on the three-dimensional region image obtained by three-dimensional reconstruction of the multi-angle images of the measurement area. The measured embedding distance reflects the current tightness of the fastening bolt. The difference between the measured embedding distance and the standard embedding distance is calculated, and the fastening status of the terminal block is determined based on the calculated difference. By using a recognition model to identify the terminal block's image data, no technicians are required to perform on-site measurements. The entire detection process is simple and rapid, effectively improving the detection efficiency and accuracy of terminal block detection. Furthermore, because the recognition model identifies the terminal block, it is not limited to specific terminals or specific access wires, thus having higher detection versatility. Attached Figure Description
[0040] Figure 1 This is an application environment diagram of the terminal fastening status detection method in one embodiment;
[0041] Figure 2 This is a flowchart illustrating a terminal fastening status detection method in one embodiment;
[0042] Figure 3 This is a flowchart illustrating the steps of inputting image data into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block in one embodiment.
[0043] Figure 4 This is a schematic diagram of the identification image of the wiring terminal in one embodiment;
[0044] Figure 5 This is a flowchart illustrating the steps for determining the fastening state of a terminal block based on the difference between the measured embedding distance and the standard embedding distance in one embodiment.
[0045] Figure 6 This is a flowchart illustrating the terminal fastening status detection method in another embodiment;
[0046] Figure 7 This is a flowchart illustrating the terminal fastening status detection method in another embodiment;
[0047] Figure 8 This is an application environment diagram of the terminal fastening status detection method in another embodiment;
[0048] Figure 9This is a structural block diagram of a terminal fastening status detection device in one embodiment;
[0049] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0051] The terminal fastening status detection method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the detection server 102 communicates with the image acquisition device 104 via a network. A data storage system can store the data that the detection server 102 needs to process. The data storage system can be integrated onto the detection server 102 or placed in the cloud or on another network server. The detection server 102 acquires image data of the terminal block from multiple angles collected by the image acquisition device 104, inputs the image data into a pre-trained recognition model, determines the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block, and the measurement area is the area where the fastening bolt is located. Based on the image data, a three-dimensional reconstruction of the measurement area is performed to determine the measured embedding distance of the fastening bolt. Based on the difference between the measured embedding distance and the standard embedding distance, the fastening state of the terminal block is determined. The detection server 102 can be implemented using a standalone server or a server cluster composed of multiple servers. The image acquisition device 104 can be any type of image acquisition device, as long as it can perform multi-angle image acquisition of the terminal block.
[0052] In one embodiment, the detection server can be an edge computing server. Specifically, an edge server is located at the network edge, close to the source of the object or data. Through a distributed open platform that integrates core capabilities of networking, computing, storage, and applications, it can provide edge intelligence services locally. It directly analyzes the image data acquired by the image acquisition device, eliminating the need to transmit the data to a cloud data processing center.
[0053] In one embodiment, such as Figure 2 As shown, a method for detecting the tightness of wiring terminals is provided, which can be applied to... Figure 1 Taking the detection server in the example, the following steps are included:
[0054] Step 202: Acquire image data of the wiring terminals from multiple angles.
[0055] A terminal block is a connector used to achieve electrical connections, applied to the connection of conductors in a power system. A terminal block has holes at both ends for inserting conductors, and a fastening bolt is provided at the connection point of the two conductors. During use, the connection and disconnection of the conductors can be controlled by adjusting the tightness of the fastening bolt, making the connection of conductors in a power system more convenient and quick, and suitable for interconnecting a large number of conductors. It is understood that the terminal block in this application can be a single terminal block for use, or a terminal block used to construct a terminal block or terminal box.
[0056] Specifically, the image acquisition device captures images of the wiring terminals in the power system from multiple angles, obtaining multi-angle image data of the wiring terminals. The detection server connects to the image acquisition device via a network and obtains the multi-angle image data of the wiring terminals from the image acquisition device.
[0057] Step 204: Input the image data into the pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block. The measurement area is the area where the fastening bolt is located.
[0058] The recognition model is used to identify image data acquired by image acquisition equipment. It can extract the features to be identified from multi-angle image data of the terminal block, and then identify the terminal block based on these features, thereby determining the standard embedding distance of the fastening bolt and the measurement area where the bolt is located. Understandably, the recognition model is pre-trained and can be pre-set on the detection server or stored in the cloud, where it can be directly accessed when needed. The recognition model can be a deep learning model based on a pre-trained convolutional neural network.
[0059] The standard embedment distance of a fastening bolt is an indicator used to determine whether the standard fastening bolt is properly tightened. It can be understood that the standard embedment distance of a fastening bolt is related to the terminal block to which the fastening bolt belongs; different terminal blocks correspond to different standard embedment distances for fastening bolts.
[0060] Specifically, the detection server inputs multi-angle image data of the terminal block obtained from the image acquisition device into the pre-trained recognition model to determine the standard embedding distance corresponding to the fastening bolt of the terminal block and the measurement area where the fastening bolt is located.
[0061] Step 206: Perform three-dimensional reconstruction of the measurement area based on the image data to determine the measured embedding distance of the fastening bolt.
[0062] Among them, 3D reconstruction refers to the data processing process of reconstructing the 3D structure of the measurement area. The test area is the area where the fastening bolt is located. By performing 3D reconstruction on the measurement area, the actual embedding distance of the fastening bolt can be determined from the 3D structure of the reconstructed test area.
[0063] Specifically, the image data consists of multi-angle image data of the terminal block acquired by the image acquisition device. After the recognition model identifies the image data and determines the measurement area, it uses two-dimensional image projection technology to perform three-dimensional reconstruction of the measurement area based on the multi-angle image data of the terminal block and the internal and external parameters pre-calibrated by the image acquisition device, thereby obtaining the three-dimensional structure of the measurement area. Based on the three-dimensional structure of the measurement area, the measured embedding distance of the fastening bolt is determined.
[0064] Step 208: Determine the tightness of the terminal block based on the difference between the measured embedding distance and the standard embedding distance.
[0065] Specifically, the measured embedding distance reflects the actual embedding degree of the fastening bolt of the terminal block at the current moment, while the standard embedding distance is the theoretical embedding degree of the fastening bolt of the terminal block when the tightness is moderate. Therefore, by comparing the measured embedding distance with the standard embedding distance, the tightness of the terminal block can be determined based on the difference between the measured embedding distance and the standard embedding distance.
[0066] In the aforementioned method for detecting the tightness of terminal blocks, image data of the terminal blocks are acquired from multiple angles and input into a pre-trained recognition model for identification. This model determines the standard embedding distance and measurement area of the terminal block's fastening bolt. Based on the image data acquired from multiple angles, multi-angle images of the measurement area where the fastening bolt is located are obtained. The measured embedding distance of the fastening bolt is determined by three-dimensional reconstruction of the measurement area from these multi-angle images. The measured embedding distance reflects the current tightness of the fastening bolt. The difference between the measured embedding distance and the standard embedding distance is calculated, and the tightness of the terminal block is determined based on this difference. By using a recognition model to identify the image data of the terminal blocks, on-site measurement by technicians is unnecessary. The entire detection process is simple and rapid, effectively improving the detection efficiency and accuracy of terminal blocks. Furthermore, because the recognition model identifies the terminal blocks, it is not limited to specific terminals or specific connecting wires, thus offering greater versatility.
[0067] In one embodiment, the training method for the recognition model includes: acquiring multi-angle image data of different terminals to obtain an image dataset; annotating each feature of the terminals in the image dataset to obtain an annotated image dataset; and inputting the annotated image dataset into the initial recognition model for training to obtain the recognition model.
[0068] In one embodiment, such as Figure 3 As shown, the image data is input into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolts of the terminal blocks, including:
[0069] Step 302: Input the image data into the pre-trained recognition model, and determine the specification parameters of the terminal block based on the characteristics of the recognized terminal block.
[0070] The characteristics of the terminal blocks are used to determine their type. Terminal block types include, but are not limited to, disconnector terminal blocks and DIN rail terminal blocks. Understandably, different manufacturers produce different types of terminal blocks due to variations in their manufacturing processes and the actual application scenarios.
[0071] There is a preset mapping relationship between the type of terminal block and its specifications. By looking up the preset mapping relationship based on the terminal block type, the corresponding specifications can be obtained. Terminal block specifications include, but are not limited to, hole depth, bolt length, and maximum wire diameter. For example, a knife switch terminal block has a hole depth of 2.5cm and a bolt length of 1.1cm, while a DIN rail terminal block has a hole depth of 2.4cm and a bolt length of 1cm.
[0072] Specifically, the detection server inputs image data into a pre-trained recognition model. The recognition model extracts feature data of the terminals from the image data, identifies and determines the type of terminals based on the feature data, and queries a preset mapping relationship based on the type of terminals to obtain the corresponding specification parameters of that type of terminals.
[0073] Step 304: Mark the terminal block with a rectangle. Based on the junction area between the rectangle and the connecting wire, determine the measurement area of the terminal block and the wire diameter of the connecting wire.
[0074] The contact area is the region where the connecting wire and the terminal block connect. The identification model marks the identified terminal block region with a rectangle. The boundary area between the connecting wire and the rectangle is defined as the contact area.
[0075] The wire diameter of the connecting wire is the diameter of the connecting wire. The function of the terminal block is to connect the two connecting wires by fastening bolts. Therefore, the wire diameter of the connecting wire can be used to determine the tightness of the terminal block.
[0076] Specifically, the recognition model marks the identified terminal block area with a rectangle. The connection point area is determined based on the intersection between the terminal block's connecting wire and the rectangle. Based on this determined connection point area, the measurement area of the terminal block and the wire diameter of the connecting wire are determined. Understandably, the measurement area of the terminal block can be directly determined by the recognition model or derived from the connection point area. Similarly, the wire diameter of the connecting wire can be directly determined by measuring the connecting wire using the recognition model or calculated from the coordinates of the connection point area.
[0077] Step 306: Determine the standard embedment distance of the fastening bolts of the terminal block according to the specifications of the terminal block and the wire diameter.
[0078] Specifically, after the detection server determines the specifications of the terminal block and the wire diameter to be connected to it, it determines the standard embedding distance of the fastening bolt for that terminal block based on the specifications of the terminal block and the wire diameter. Understandably, the standard embedding distance can be obtained by looking up a preset mapping table, or it can be calculated using the specifications and wire diameter according to preset calculation rules.
[0079] In one embodiment, the detection server queries a pre-set embedding distance mapping table based on the terminal block specifications and wire diameter to determine the standard embedding distance corresponding to the specifications and wire diameter.
[0080] In one embodiment, the specifications of the terminal block include the terminal hole depth and the bolt length. Determining the standard embedment distance of the terminal block's fastening bolt based on the terminal block's specifications and the wire diameter includes: calculating the difference between the terminal hole depth and the wire diameter and the bolt length to obtain the standard embedment distance of the terminal block's fastening bolt.
[0081] In the above embodiments, a pre-trained recognition model is used to process the image data acquired by the image acquisition device. Based on the identified contact area between the terminal block and the access wire, the standard embedding distance and measurement area corresponding to the terminal block fastening bolt are determined. This simplifies and accelerates the acquisition of the standard insertion distance of the terminal block, and is not limited to specific terminals or specific access wires, further expanding the application scope of the terminal block fastening detection method and improving its universality.
[0082] In one embodiment, determining the measurement area of the terminal block and the wire diameter of the access wire based on the contact area between the rectangular frame and the access wire includes: determining the wire diameter of the access wire based on the area width of the contact area between the rectangular frame and the access wire; and determining the measurement area of the terminal block according to the coordinates of the contact area and a preset coordinate movement value.
[0083] The preset coordinate movement value is a coordinate value pre-set based on the distance from the terminal contact area to the fastening bolt. It is used to calculate the coordinate movement based on the coordinates of the contact area after the coordinates of the contact area are determined, and to determine the measurement area of the terminal.
[0084] like Figure 4 As shown, taking the integration of terminals onto a terminal block as an example, specifically, the image acquisition device captures image data of the terminal block containing the terminals from multiple angles. The detection server inputs the image data into the recognition model for identification. The recognition model marks the identified terminals with rectangular boxes; 401 in the figure represents the marked rectangular box. The wire enters from the side of the terminal block, and there is a boundary area between the wire and the side of the terminal block. This boundary area is defined as the contact area and marked; 402 in the figure represents the contact area. As can be seen from the figure, the width of the contact area 402 represents the wire diameter of the connected wire.
[0085] The detection server searches the database for the preset coordinate movement value corresponding to the terminal type based on the identified terminal type. Based on the coordinates of the contact area and the preset coordinate movement value, the measurement area of the terminal is determined. In the figure, 403 is the measurement area of the terminal.
[0086] Specifically, the detection server calculates the area width based on the determined area coordinates of the contact area, determines the area width as the wire diameter of the connected wire, and determines the preset coordinate movement value based on the terminal type of the terminal. The measurement area of the terminal is determined based on the area coordinates of the contact area and the preset coordinate movement value.
[0087] In one embodiment, determining the measurement area of the terminal block based on the area coordinates of the contact area and a preset coordinate movement value includes: determining the center coordinates of the center point of the contact area, adding the preset coordinate movement value to the center coordinates to obtain the center coordinates of the measurement area; and determining the vertex coordinates of the measurement area based on the center coordinates of the measurement area, thereby determining the measurement area of the terminal block.
[0088] In the above embodiments, the detection server determines the wire diameter of the access wire based on the area width of the contact area, and then determines the measurement area of the terminal block according to the coordinates of the contact area and the preset coordinate movement value. The detection area is quickly determined through the model recognition result. The whole process is automatic, simple and fast, which effectively improves the detection efficiency of the terminal block fastening status.
[0089] In one embodiment, such as Figure 5 As shown, the tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance, including the following steps:
[0090] Step 502: Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds the preset specified value range.
[0091] The preset specified value range is a criterion used to determine whether the tightening degree of the fastening bolt is qualified. If the difference between the measured embedding distance and the standard embedding distance is within the preset specified value range, then the difference is determined to meet the preset specified value range, meaning the current terminal fastening bolt is qualified. If the difference between the measured embedding distance and the standard embedding distance is not within the preset specified value range, then the difference is determined to not meet the preset specified value range, meaning the current terminal fastening bolt is unqualified. Understandably, the preset specified value range is predetermined by the designer and set in the storage repository of the testing server for easy access at any time.
[0092] Specifically, the testing server compares the measured embedding distance with the standard embedding distance to obtain the difference between the measured embedding distance and the standard embedding distance, and obtains a preset specified value range. The difference is then compared with the preset specified value range to determine whether the difference exceeds the preset specified value range, thereby determining whether the current tightness of the terminal block is qualified.
[0093] Step 504: If the difference does not exceed the preset specified value range, a fastening qualified prompt message is generated.
[0094] Specifically, when the testing server determines that the difference between the measured embedding distance and the standard embedding distance does not exceed the preset specified range, it indicates that the current tightening level of the terminal fastening bolts is qualified. The testing server generates a tightening qualified prompt message. The tightening qualified prompt message is used to inform the staff that the current tightening level of the terminal meets the standard. Understandably, the tightening qualified prompt message may also include the terminal identification and the difference between the measured embedding distance and the standard embedding distance of the terminal, thereby helping the staff better understand the tightening status of the terminal.
[0095] Step 506: Send the fastening qualified prompt information to the monitoring terminal.
[0096] The monitoring terminal is used by staff to monitor the operation of the electrical system. Specifically, the testing server sends the generated tightening pass notification to the monitoring terminal, indicating to the staff that the current tightness of the wiring terminals meets the standard.
[0097] In this embodiment, the difference between the measured embedding distance and the standard embedding distance is calculated and compared with a preset specified range. When the difference does not exceed the preset specified range, the tightness of the current terminal block is determined to meet the standard, and a corresponding tightness qualified prompt message is generated to notify the staff that the tightness of the current terminal block meets the standard. No staff need to go to the site for inspection; the entire testing process is simple and quick, effectively improving the testing efficiency of the terminal blocks.
[0098] Besides situations where the tightness meets the standards, there are also situations in power systems where the tightness does not meet the standards. Such situations can easily lead to abnormal operation of the power system, resulting in huge losses. Therefore, inspecting situations where the tightness does not meet the standards is of even greater importance for maintaining the safe operation of the power system.
[0099] In one embodiment, such as Figure 6 As shown, the method for detecting the tightness of wiring terminals also includes the following steps:
[0100] Step 602: If the difference exceeds the preset specified value range, then compare the difference with the error range.
[0101] The error range is used to determine whether a terminal block is in an invalid connection state. If the difference between the measured embedding distance and the standard embedding distance is not within the error range, it means that the actual embedding distance of the terminal block's fastening bolt has exceeded the limit for an effective connection, and the fastening bolt and the connected wire can be considered not in contact. The error range includes an upper and lower limit. The upper limit is calculated by the difference between the measured embedding distance and the standard embedding distance of the fastening bolt when the terminal block is not inserted, and a preset error value. The lower limit is calculated by the difference between the measured embedding distance and the standard embedding distance of the fastening bolt when the terminal block is inserted with the wire of the largest diameter it can accommodate, and a preset error value. The error range is pre-configured in the detection server's storage system for easy retrieval.
[0102] If the difference between the measured embedding distance and the standard embedding distance exceeds the upper limit of the error range, it can be assumed that the insertion distance of the connecting wire is insufficient, causing the fastening bolt to rotate directly to the bottom without contacting the connecting wire. If the difference between the measured embedding distance and the standard embedding distance exceeds the lower limit of the error range, it can be assumed that the embedding distance of the fastening bolt is too small, resulting in no contact between the fastening bolt and the connecting wire, thus failing to complete the connection function.
[0103] Specifically, when the detection server determines that the difference between the measured embedding distance and the standard embedding distance exceeds the preset specified range, it indicates that the tightness of the fastening bolts is unqualified, and it is necessary to quickly eliminate the possibility of invalid connections. The detection server retrieves the error range from the storage system, compares the difference between the measured embedding distance and the standard embedding distance with the error range, and determines whether the difference exceeds the error range.
[0104] Step 604: If the difference exceeds the error range, generate a stop operation request message.
[0105] Specifically, if the detection server determines that the difference between the measured embedding distance and the standard embedding distance exceeds the error range, it means that the embedding distance of the fastening bolts of the terminal block has exceeded the limit and is no longer within the scope of tightness consideration. If the power system continues to operate under this condition, it is easy to cause the power system to malfunction and cause huge losses. Therefore, after determining that the difference exceeds the error range, the detection server generates a stop operation application information. The stop operation application information is used to apply for the current operation of the power system to be stopped, and the terminal block is manually inspected and repaired.
[0106] Step 606: Send the shutdown application information to the decision terminal based on the preset communication channel.
[0107] The decision-making terminal is a terminal used by decision-makers authorized to change the operating status of the power system. A pre-set communication channel connects the detection server and the decision-making terminal. The detection server establishes a communication connection with the decision-making terminal based on this pre-set channel. In extreme situations requiring a shutdown of the power system, the detection server can directly generate the corresponding information and send it to the decision-making terminal, eliminating the need for intermediaries and effectively reducing the risk of power system malfunctions.
[0108] Specifically, after the detection server generates a shutdown request, it sends the shutdown request to the decision terminal through a pre-set communication channel, informing the decision terminal of the current fault status of the wiring terminal and requesting the shutdown of the power system to carry out the inspection and repair of the wiring terminal.
[0109] In this embodiment, when the difference between the measured embedding distance and the standard embedding distance of the terminal exceeds the error range, the detection server will not perform subsequent logical judgments, but will directly generate a stop operation application information and call a preset communication channel to send the stop operation application information to the decision terminal. This eliminates the cumbersome information transmission process in the middle, effectively reduces the risk of power system operation failure, and improves the operating efficiency of the server.
[0110] In one embodiment, the terminal tightness detection method further includes: if the difference does not exceed the error range and the difference is greater than the upper limit of the preset specified value range, generating a bolt overtightening prompt message; and sending the bolt overtightening prompt message to the monitoring terminal.
[0111] If the difference between the measured embedding distance and the standard embedding distance of the terminal exceeds the preset specified range but does not exceed the error interval, it indicates that although the tightness of the terminal does not meet the standard, it is not in an invalid connection state and is still within the tightness consideration range. The tightness of the terminal needs to be determined specifically based on the comparison result between the difference and the preset specified range. It is understandable that the preset specified range is a sub-interval of the error interval.
[0112] If the difference between the measured embedding distance of the terminal block and the standard embedding distance is greater than the upper limit of the preset specified range, it indicates that the measured embedding distance of the terminal block fastening bolt is greater than the standard embedding distance, and the terminal block is in an overtight state.
[0113] Specifically, when the detection server determines that the difference between the measured embedding distance and the standard embedding distance of the terminal block does not exceed the error range, it compares the difference with the upper and lower limits of the preset specified value range. If the difference is greater than the upper limit of the preset specified value range, it indicates that the terminal block is currently too tight, which can easily lead to stripping and pose a hidden danger to the subsequent operation and maintenance of the power system. The detection server generates a bolt overtightening warning message and sends it to the monitoring terminal, prompting the staff that the current terminal block fastening bolt embedding distance is too deep, posing a risk, and can be adjusted.
[0114] This embodiment compares the difference between the measured embedding distance and the standard embedding distance of the terminal block with the error range and the upper and lower limits of the preset specified value range. When it is determined that the fastening bolt is too tight, an over-tightening warning message is generated and sent to the monitoring terminal, indicating to the staff that the terminal block is currently in an over-tightened state. This eliminates the need for staff to conduct on-site inspections, making the entire testing process simple and rapid, improving the efficiency of terminal block testing while reducing the risk of power system failures.
[0115] In one embodiment, the terminal fastening status detection method further includes: if the difference does not exceed the error range and the difference is less than the lower limit of a preset specified value range, generating a bolt too loose prompt message; and sending the bolt too tight prompt message to the monitoring terminal.
[0116] If the difference between the measured embedding distance of the terminal block and the standard embedding distance is less than the lower limit of the preset specified range, it indicates that the measured embedding distance of the terminal block fastening bolt is less than the standard embedding distance, and the terminal block is in an overly loose state.
[0117] Specifically, when the detection server determines that the difference between the measured embedding distance and the standard embedding distance of the terminal block does not exceed the error range, it compares the difference with the upper and lower limits of the preset specified value range. If the difference is less than the lower limit of the preset specified value range, it indicates that the terminal block is too loose, and the connected wire is at risk of coming out, which could easily lead to a circuit break and cause accidents of varying degrees. The detection server generates a bolt too loose warning message and sends it to the monitoring terminal, reminding the staff that the current embedding distance of the terminal block fastening bolt is too shallow, posing a risk, and that adjustment is necessary.
[0118] This embodiment compares the difference between the measured embedding distance and the standard embedding distance of the terminal block with the error range and the upper and lower limits of the preset specified value range. When it is determined that the fastening bolt is too loose, a bolt looseness warning message is generated and sent to the monitoring terminal, indicating to the staff that the current terminal block is in a loose state. No on-site inspection is required; the entire testing process is simple and rapid, improving the testing efficiency of terminal blocks while reducing the risk of power system failures.
[0119] In one embodiment, such as Figure 7 The diagram illustrates a method for detecting the tightness of wiring terminals, which is then applied to... Figure 8 The following example illustrates the application scenario. This method involves a detection server, image acquisition equipment, a monitoring terminal, and a decision-making terminal. The detection server communicates with the image acquisition equipment and the monitoring terminal via a WAIP network, and communicates with the decision-making terminal through a pre-defined communication channel.
[0120] Specifically, the image acquisition device acquires images of the secondary wiring terminals to be inspected from multiple angles, obtaining image data. The detection server obtains the image data of the wiring terminals acquired from multiple angles from the image acquisition device and inputs the image data into a pre-trained recognition model.
[0121] The recognition model annotates the identified terminals with rectangular boxes and extracts their feature information to determine the terminal's category. Simultaneously, it determines the connection area and coordinates of the connecting wire based on the intersection of the rectangular box and the connection area, and determines the wire diameter of the connecting wire based on the width of the connection area.
[0122] The detection server identifies the category of the terminal block based on the recognition model, determines the terminal hole depth and fastening bolt length, and calculates the standard embedding distance of the terminal block based on the wire diameter, terminal hole depth, and fastening bolt length. Specifically, the standard embedding distance of the terminal block is equal to the terminal hole depth minus the wire diameter and bolt length.
[0123] The measurement area of the terminal block is determined based on the regional coordinates of the contact area and the preset coordinate movement value. Using multi-angle acquired image data and the determined measurement area of the terminal block, the detection server performs three-dimensional reconstruction of the measurement area and determines the actual embedding distance of the fastening bolts within the measurement area according to the built-in scale.
[0124] The difference between the measured embedding distance and the standard embedding distance is calculated to determine the difference between the measured and standard embedding distances of the terminal block. This difference is then compared with a preset range to determine if it exceeds the preset range. If the difference does not exceed the preset range (e.g., if the preset range is -1mm, 1mm, the measured embedding distance is 9.5mm, and the standard embedding distance is 10mm, the difference is -0.5mm), indicating that the tightening of the terminal block's fastening bolts is acceptable. The detection server generates a tightening compliance notification and sends it to the monitoring terminal, indicating to the staff that the current terminal block tightening meets the standard.
[0125] If the difference exceeds the preset range, it is compared with the error interval to determine whether the terminal block is in an invalid connection state. If the difference exceeds the error interval, for example, if the preset range is (-1mm, 1mm) and the error interval is (-2mm, 2mm), the measured embedding distance is 7.5mm, and the standard embedding distance is 10mm, and the difference is -2.5mm, then the difference between the measured embedding distance and the standard embedding distance of the terminal block is considered to exceed the error interval. This indicates that the embedding distance of the terminal block's fastening bolt has exceeded the limit and is no longer within the scope of tightness considerations. If the power system continues to operate under this condition, it is easy to cause power system malfunction and result in huge losses. The detection server generates a stop operation request and sends the stop operation request to the decision terminal through a preset communication channel, informing it of the current fault status of the terminal block and requesting the power system to be shut down for inspection and repair of the terminal block.
[0126] If the difference exceeds the preset range but does not exceed the error interval, the difference is compared with the upper and lower limits of the preset range. If the difference is greater than the upper limit of the preset range (e.g., the preset range is -1mm, 1mm, the error interval is -2mm, 2mm, the measured embedding distance is 11.5mm, and the standard embedding distance is 10mm), the difference is 1.5mm, indicating that the terminal block is too tight. The detection server generates an over-tightening warning message and sends it to the monitoring terminal, alerting staff that the current terminal block's fastening bolt is embedded too deeply, posing a risk, and adjustment is needed. If the difference is less than the lower limit of the preset range (e.g., the preset range is -1mm, 1mm, the error interval is -2mm, 2mm, the measured embedding distance is 8.5mm, and the standard embedding distance is 10mm), the difference is -1.5mm, indicating that the terminal block is too loose. The detection server generates a bolt too loose warning message and sends it to the monitoring terminal, indicating to the staff that the current wiring terminal bolt is embedded too shallowly, posing a risk, and can be adjusted.
[0127] The terminal fastening status detection method in this embodiment eliminates the need for direct manual observation of the secondary terminal fastening status. Instead, it uses a recognition model to identify the acquired images, compares the measured embedding distance of the fastening bolts with the standard embedding distance based on the recognition results, and determines the terminal fastening status accordingly. Compared to direct manual observation, the detection results obtained using this embodiment are more accurate. Furthermore, by identifying the terminal type to determine the terminal hole depth and then calculating the standard embedding distance based on the wire diameter, the method is not limited by inconsistent judgment standards caused by different terminal types or wire diameters, making it more universally applicable. The elimination of the need for direct manual observation of the terminal fastening status further avoids personal and equipment risks caused by accidental contact, improving the safety and reliability of power system operation.
[0128] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0129] Based on the same inventive concept, this application also provides a terminal fastening state detection device for implementing the terminal fastening state detection method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more terminal fastening state detection device embodiments provided below can be found in the limitations of the terminal fastening state detection method described above, and will not be repeated here.
[0130] In one embodiment, such as Figure 9 As shown, a terminal block fastening status detection device 900 is provided, including: an image acquisition module 901, an identification module 902, a calculation module 903, and a detection module 904, wherein:
[0131] The image acquisition module 901 is used to acquire image data of the terminal blocks from multiple angles.
[0132] The recognition module 902 is used to input image data into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block. The measurement area is the area where the fastening bolt is located.
[0133] The measurement module 903 is used to perform three-dimensional reconstruction of the measurement area based on image data to determine the actual embedding distance of the fastening bolt.
[0134] The detection module 904 is used to calculate the difference between the measured embedding distance and the standard embedding distance, and to determine the tightness of the terminal block based on the calculated difference.
[0135] The aforementioned terminal block fastening status detection device acquires multi-angle image data of the terminal block and inputs this data into a pre-trained recognition model for identification. This model determines the standard embedding distance and measurement area of the terminal block's fastening bolt. Based on the multi-angle image data, multi-angle images of the measurement area where the fastening bolt is located are obtained. The actual embedding distance of the fastening bolt is determined by three-dimensional reconstruction of the measurement area from these multi-angle images. This measured embedding distance reflects the current tightness of the fastening bolt. The difference between the measured embedding distance and the standard embedding distance is calculated, and the fastening status of the terminal block is determined based on this difference. By using a recognition model to identify the terminal block's image data, on-site measurement by technicians is unnecessary. The entire detection process is simple and rapid, effectively improving the efficiency and accuracy of terminal block detection. Furthermore, because the recognition model identifies the terminal block, it is not limited to specific terminals or specific connecting wires, thus offering greater versatility.
[0136] In one embodiment, the recognition module is further configured to: input image data into a pre-trained recognition model; determine the specification parameters of the terminal block based on the characteristics of the recognized terminal block; annotate the terminal block with a rectangle; determine the measurement area of the terminal block and the wire diameter of the wire based on the junction area of the rectangle and the access wire; and determine the standard embedding distance corresponding to the fastening bolt of the terminal block based on the specification parameters of the terminal block and the wire diameter.
[0137] In one embodiment, the identification module is further configured to: determine the wire diameter of the access wire based on the area width of the connection area between the rectangular frame and the access wire; and determine the measurement area of the terminal block based on the coordinates of the connection area and a preset coordinate movement value.
[0138] In one embodiment, the detection module is further configured to: determine whether the difference between the measured embedding distance and the standard embedding distance exceeds a preset specified value range; if the difference does not exceed the preset specified value range, generate a fastening qualified prompt message; and send the fastening qualified prompt message to the monitoring terminal.
[0139] In one embodiment, the detection module is further configured to: compare the difference with an error range if the difference exceeds a preset specified value range; generate a stop operation application message if the difference exceeds the error range; and send the stop operation application message to the decision terminal based on a preset communication channel.
[0140] In one embodiment, the detection module is further configured to: generate a bolt overtightening warning message if the difference does not exceed the error range and the difference is greater than the upper limit of a preset specified value range; and send the bolt overtightening warning message to the monitoring terminal.
[0141] In one embodiment, the detection module is further configured to: generate a bolt too loose warning message if the difference does not exceed the error range and the difference is less than the lower limit of a preset specified value range; and send the bolt too tight warning message to the monitoring terminal.
[0142] Each module in the aforementioned terminal block tightness detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0143] In one embodiment, a computer device is provided, which may be a detection server, and its internal structure diagram may be as follows: Figure 10As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores image data, recognition models, standard embedding distances, measured embedding distances, and other data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for detecting the tightness of terminal blocks.
[0144] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0145] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0146] Acquire image data of the wiring terminals from multiple angles;
[0147] Image data is input into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block. The measurement area is the area where the fastening bolt is located.
[0148] The measured area is reconstructed in three dimensions based on the image data to determine the actual embedding distance of the fastening bolt;
[0149] The tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance.
[0150] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0151] The image data is input into a pre-trained recognition model, and the specifications of the terminal block are determined based on the characteristics of the recognized terminal block.
[0152] Mark the terminals with rectangles, and determine the measurement area of the terminals and the wire diameter of the connecting wires based on the contact area between the rectangles and the connecting wires.
[0153] Determine the standard embedment distance of the fastening bolts for the terminal blocks based on the specifications of the terminal blocks and the wire diameter.
[0154] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0155] The wire diameter of the access wire is determined based on the area width of the junction region between the rectangle and the access wire.
[0156] The measurement area of the terminal block is determined based on the coordinates of the contact area and the preset coordinate movement value.
[0157] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0158] Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds the preset specified range;
[0159] If the difference does not exceed the preset specified range, a fastening qualified prompt message will be generated;
[0160] Send a notification message indicating that the fastening is qualified to be sent to the monitoring terminal.
[0161] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0162] If the difference exceeds the preset range, the difference will be compared with the error interval.
[0163] If the difference exceeds the error range, a stop operation request will be generated;
[0164] The shutdown application information will be sent to the decision-making terminal based on the preset communication channels.
[0165] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0166] If the difference does not exceed the error range, and the difference is greater than the upper limit of the preset specified value range, a bolt overtightening warning message will be generated.
[0167] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0168] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0169] If the difference does not exceed the error range and is less than the lower limit of the preset specified value range, a bolt too loose warning message will be generated.
[0170] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0171] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0172] Acquire image data of the wiring terminals from multiple angles;
[0173] Image data is input into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block. The measurement area is the area where the fastening bolt is located.
[0174] The measured area is reconstructed in three dimensions based on the image data to determine the actual embedding distance of the fastening bolt;
[0175] The tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance.
[0176] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0177] The image data is input into a pre-trained recognition model, and the specifications of the terminal block are determined based on the characteristics of the recognized terminal block.
[0178] Mark the terminals with rectangles, and determine the measurement area of the terminals and the wire diameter of the connecting wires based on the contact area between the rectangles and the connecting wires.
[0179] Determine the standard embedment distance of the fastening bolts for the terminal blocks based on the specifications of the terminal blocks and the wire diameter.
[0180] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0181] The wire diameter of the access wire is determined based on the area width of the junction region between the rectangle and the access wire.
[0182] The measurement area of the terminal block is determined based on the coordinates of the contact area and the preset coordinate movement value.
[0183] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0184] Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds the preset specified range;
[0185] If the difference does not exceed the preset specified range, a fastening qualified prompt message will be generated;
[0186] Send a notification message indicating that the fastening is qualified to be sent to the monitoring terminal.
[0187] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0188] If the difference exceeds the preset range, the difference will be compared with the error interval.
[0189] If the difference exceeds the error range, a stop operation request will be generated;
[0190] The shutdown application information will be sent to the decision-making terminal based on the preset communication channels.
[0191] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0192] If the difference does not exceed the error range, and the difference is greater than the upper limit of the preset specified value range, a bolt overtightening warning message will be generated.
[0193] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0194] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0195] If the difference does not exceed the error range and is less than the lower limit of the preset specified value range, a bolt too loose warning message will be generated.
[0196] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0197] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0198] Acquire image data of the wiring terminals from multiple angles;
[0199] Image data is input into a pre-trained recognition model to determine the standard embedding distance and measurement area corresponding to the fastening bolt of the terminal block. The measurement area is the area where the fastening bolt is located.
[0200] The measured area is reconstructed in three dimensions based on the image data to determine the actual embedding distance of the fastening bolt;
[0201] The tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance.
[0202] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0203] The image data is input into a pre-trained recognition model, and the specifications of the terminal block are determined based on the characteristics of the recognized terminal block.
[0204] Mark the terminals with rectangles, and determine the measurement area of the terminals and the wire diameter of the connecting wires based on the contact area between the rectangles and the connecting wires.
[0205] Determine the standard embedment distance of the fastening bolts for the terminal blocks based on the specifications of the terminal blocks and the wire diameter.
[0206] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0207] The wire diameter of the access wire is determined based on the area width of the junction region between the rectangle and the access wire.
[0208] The measurement area of the terminal block is determined based on the coordinates of the contact area and the preset coordinate movement value.
[0209] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0210] Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds the preset specified range;
[0211] If the difference does not exceed the preset specified range, a fastening qualified prompt message will be generated;
[0212] Send a notification message indicating that the fastening is qualified to be sent to the monitoring terminal.
[0213] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0214] If the difference exceeds the preset range, the difference will be compared with the error interval.
[0215] If the difference exceeds the error range, a stop operation request will be generated;
[0216] The shutdown application information will be sent to the decision-making terminal based on the preset communication channels.
[0217] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0218] If the difference does not exceed the error range, and the difference is greater than the upper limit of the preset specified value range, a bolt overtightening warning message will be generated.
[0219] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0220] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0221] If the difference does not exceed the error range and is less than the lower limit of the preset specified value range, a bolt too loose warning message will be generated.
[0222] Send a message indicating that the bolts are too tight to the monitoring terminal.
[0223] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0224] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0225] 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.
[0226] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for detecting the tightness of terminal blocks, characterized in that, The method includes: Acquire image data of the wiring terminals from multiple angles; The image data is input into a pre-trained recognition model, and the specifications of the terminal block are determined based on the characteristics of the terminal block obtained from the recognition. The terminal block is marked with a rectangle. Based on the contact area between the rectangle and the access wire, the measurement area of the terminal block and the wire diameter of the access wire are determined. The contact area is the boundary area between the access wire and the rectangle. The standard embedment distance of the fastening bolt of the terminal is determined according to the specifications of the terminal and the wire diameter. The measurement area is reconstructed in three dimensions using two-dimensional image projection technology based on the image data to obtain the three-dimensional structure of the measurement area, and the measured embedding distance of the fastening bolt is determined based on the three-dimensional structure. The tightness of the terminal block is determined based on the difference between the measured embedding distance and the standard embedding distance.
2. The method according to claim 1, characterized in that, The determination of the measurement area of the terminal block and the wire diameter of the access wire based on the contact area between the rectangular frame and the access wire includes: The wire diameter of the access wire is determined based on the area width of the junction region between the rectangular frame and the access wire. The measurement area of the terminal block is determined based on the coordinates of the contact area and the preset coordinate movement value.
3. The method according to claim 1 or 2, characterized in that, Determining the tightness of the terminal block based on the difference between the measured embedding distance and the standard embedding distance includes: Determine whether the difference between the measured embedding distance and the standard embedding distance exceeds a preset specified value range; If the difference does not exceed the preset specified value range, a fastening qualified prompt message is generated; The fastening qualification notification information is sent to the monitoring terminal.
4. The method according to claim 3, characterized in that, The method further includes: If the difference exceeds the preset specified value range, then the difference is compared with the error interval; If the difference exceeds the error range, a stop operation request is generated; The shutdown request information is sent to the decision terminal via a preset communication channel.
5. The method according to claim 4, characterized in that, The method further includes: If the difference does not exceed the error range, and the difference is greater than the upper limit of the preset specified value range, then a bolt overtightening warning message is generated. The bolt overtightening warning message is sent to the monitoring terminal.
6. The method according to claim 4, characterized in that, The method further includes: If the difference does not exceed the error range and the difference is less than the lower limit of the preset specified value range, a bolt too loose warning message is generated. The bolt overtightening warning message is sent to the monitoring terminal.
7. A terminal fastening status detection device, characterized in that, The device includes: The image acquisition module is used to acquire image data of the wiring terminals from multiple angles. The recognition module is used to input the image data into a pre-trained recognition model, determine the specification parameters of the terminal block based on the characteristics of the recognized terminal block, mark the terminal block with a rectangle, and determine the measurement area of the terminal block and the wire diameter of the access wire based on the contact area between the rectangle and the access wire; the contact area is the boundary area between the access wire and the rectangle; and determine the standard embedding distance of the fastening bolt of the terminal block according to the specification parameters of the terminal block and the wire diameter. The measurement module is used to perform three-dimensional reconstruction of the measurement area based on the image data using two-dimensional image projection technology to obtain the three-dimensional structure of the measurement area, and to determine the measured embedding distance of the fastening bolt based on the three-dimensional structure. The detection module is used to calculate the difference between the measured embedding distance and the standard embedding distance, and to determine the tightness of the terminal block based on the calculated difference.
8. The apparatus according to claim 7, characterized in that, The identification module is also used to: determine the wire diameter of the access wire based on the area width of the junction area between the rectangular frame and the access wire; and determine the measurement area of the terminal block based on the coordinates of the junction area and a preset coordinate movement value.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.