An electrode cap off monitoring method, system, electronic device and storage medium

By configuring global interrupt conditions and setting interrupt priorities for the robot, water flow detection is used to identify electrode cap detachment, execute protective actions, and safely reset the device. This solves the problem of equipment damage and downtime caused by electrode cap detachment, and improves the stability of the production line and the equipment protection capability.

CN122299261APending Publication Date: 2026-06-30FAW JIEFANG AUTOMOTIVE CO

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FAW JIEFANG AUTOMOTIVE CO
Filing Date
2026-03-23
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

When the electrode cap of the welding robot falls off, a large amount of cooling water flows out, contaminating the vehicle body parts and damaging the equipment. If this is not detected in time, it will lead to damage to the electrode rod, increasing equipment maintenance costs and downtime.

Method used

By pre-configuring global interrupt conditions for the robot, associating trigger parameters and setting interrupt priorities, anomalies are identified using water flow detection data, protective actions such as shutdown, valve closure, and alarm are executed, and the interrupt program is safely reset and activated after the fault is cleared.

Benefits of technology

It enables accurate identification and rapid response to electrode cap detachment, ensuring equipment safety and production line stability, and reducing equipment damage and downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122299261A_ABST
    Figure CN122299261A_ABST
Patent Text Reader

Abstract

This application relates to the field of automation control technology, and provides a method, system, electronic device, and storage medium for monitoring electrode cap detachment. The method includes: S1: Pre-configuring global interruption conditions for the robot, associating the global interruption conditions with trigger parameters, and presetting interruption priorities based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data; S2: When the detection results of the trigger parameters meet the global interruption conditions, obtaining and executing the corresponding response execution item according to the interruption priority; S3: Confirming the abnormal information warning based on the execution result of the response execution item, and determining whether to proceed to S4 based on the confirmation result; S4: If the abnormal information warning is confirmed to be in a reset state, activating the interrupt program using a preset strategy. Compared with the prior art, this invention can solve the technical problem of equipment tooling damage caused by electrode cap detachment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automation control technology, and in particular to a method, system, electronic device and storage medium for monitoring electrode cap detachment. Background Technology

[0002] Welding robots are now widely used in the automotive manufacturing industry for welding components such as car chassis, seat frames, guide rails, mufflers, and hydraulic torque converters, with a particular focus on chassis welding. The application of robotic welding significantly improves the appearance and internal quality of welded parts, ensures quality stability, reduces labor intensity, and improves the working environment. Currently, the industry lacks effective methods for detecting electrode cap detachment in welding robots. If the electrode cap detaches, a large amount of cooling water leaks out, contaminating car body parts and damaging equipment on the production line. If electrode cap detachment is not detected in time, the robot may enter the welding subroutine, damaging the electrode rod. This results in unnecessary equipment maintenance costs and downtime.

[0003] Therefore, there is an urgent need for a method, system, electronic device, and storage medium for monitoring electrode cap detachment in order to solve the aforementioned technical problems. Summary of the Invention

[0004] The purpose of this invention is to provide a method, system, electronic device, and storage medium for monitoring electrode cap detachment, which can solve the technical problem of equipment and tooling damage caused by electrode cap detachment. The specific solution is as follows:

[0005] A method for monitoring electrode cap detachment includes:

[0006] S1: Pre-configure global interruption conditions for the robot, associate the global interruption conditions with trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data;

[0007] S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority;

[0008] S3: Based on the execution result of the response execution item, confirm the abnormal information warning, and determine whether to proceed to S4 based on the confirmed result;

[0009] S4: If the abnormal information warning is confirmed to be in a reset state, the interrupt program will be activated using the preset strategy.

[0010] Optionally, S1: Pre-configure global interruption conditions for the robot, associate the global interruption conditions with trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data, specifically including:

[0011] S101: Pre-define the abnormal detection of the trigger parameters as a global interrupt event;

[0012] S102: Based on global interrupt events, predefine interrupt priorities;

[0013] S103: Based on the preset interrupt priority, the interrupt program is pre-mapped with the response execution item; wherein, the response execution item includes at least: robot shutdown, water valve closure, and abnormal information warning.

[0014] Optionally, S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority, specifically including:

[0015] S201: When the water flow detection data is less than the set value and remains so for the first time, it is determined that the trigger parameter detection result meets the global interrupt condition, and an interrupt signal instruction is generated based on the determination result.

[0016] S202: Based on the interrupt signal instruction, obtain the response execution item corresponding to the interrupt priority;

[0017] S203: The interrupt program responds to the interrupt signal instruction and executes the preset response execution items; the execution of the preset response execution items includes at least: issuing a robot stop instruction, stopping the automatic operation of the program, closing the cooling water valve, displaying abnormal information warnings, and recording the breakpoint data of the program before the interruption; the breakpoint data includes at least: program sequence number, position coordinates, and motion state; the abnormal information warnings include: electrode cap detachment warning and water flow abnormality warning.

[0018] Optionally, S3: Based on the execution result of the response execution item, confirm the exception information warning, and determine whether to proceed to the next step based on the confirmation result, specifically including:

[0019] S301: Detect whether the first data status has returned to normal; wherein, the first data status includes electrode cap installation status, water flow status, and cooling water valve status;

[0020] S302: If the first data status is normal, confirm that the abnormal information warning is in a reset state and generate a line reset permission command;

[0021] S303: Generates interrupt activation instructions based on the line body reset enable instruction;

[0022] S304: If the first data status is detected as abnormal, the abnormal information warning is confirmed as an abnormal status, and a line body reset prohibition command is generated.

[0023] Optionally, S4: If the exception information warning confirms a reset state, then the interrupt routine is activated using a preset strategy, specifically including:

[0024] S401: If the abnormal information warning is confirmed to be in a reset state, then generate an interrupt program activation instruction;

[0025] S402: Based on the interrupt program activation instruction, clear the abnormal information warning and reactivate the robot's global interrupt program, while starting real-time detection of real-time trigger parameters;

[0026] S403: In response to the robot's global interrupt program activation operation, obtain the breakpoint data of the program before the interruption;

[0027] S404: Based on breakpoint data, trigger the verification rule, and determine whether to generate enable information based on the verification result.

[0028] Optionally, S404: Based on breakpoint data, triggering a verification rule, and determining whether to generate enable information based on the verification result, specifically includes:

[0029] In response to the robot resetting to the program position before the interruption, a verification instruction is generated.

[0030] Based on the verification command, verify whether the water flow, cooling water valve status, and robot operating status are all in a normal state;

[0031] If the verification result is normal, the robot will power on according to the enable signal sent by the PLC and reset to the program position before the interruption based on the breakpoint data to continue running.

[0032] An electrode cap detachment monitoring system includes:

[0033] A configuration module is used to pre-configure global interruption conditions for the robot, associate global interruption conditions with trigger parameters, and preset interruption priorities based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data;

[0034] The invocation module is used to retrieve and execute the corresponding response execution item according to the interrupt priority when the trigger parameter detection result meets the global interrupt condition;

[0035] The confirmation module is configured to confirm abnormal information warnings based on the execution results of the response execution project, and determine whether to enter the strategy module based on the confirmation result;

[0036] The strategy module is configured to activate the interrupt routine using a preset strategy if the abnormal information warning is confirmed to be in a reset state.

[0037] An electronic device includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; characterized in that the memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the method.

[0038] A computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the method described herein.

[0039] A simulation platform, comprising:

[0040] An electronic device for implementing the steps of the method;

[0041] A processor that runs a program, and when the program runs, it executes the steps of the method from data output by the electronic device.

[0042] A storage medium for storing a program that, when run, executes the steps of the method on data output from an electronic device.

[0043] The above solution achieves the following beneficial technical effects:

[0044] This application provides a method, system, electronic device, and storage medium for monitoring electrode cap detachment. By pre-configuring global interrupt conditions for the robot, associating trigger parameters, and setting interrupt priorities, it achieves the identification and orderly response to electrode cap detachment anomalies. It can accurately determine the abnormal state based on water flow detection data and execute corresponding protective actions according to priority, enabling rapid response and safe handling when an anomaly occurs. Furthermore, combined with an anomaly warning confirmation and reset-after-interruption activation strategy, this design ensures the safety and reliability of fault handling, enabling rapid restoration of monitoring and production operation after fault resolution, thereby improving the stability of the production line and the protection capabilities of the equipment. Attached Figure Description

[0045] Figure 1 This is a flowchart illustrating a method for monitoring electrode cap detachment.

[0046] Figure 2 The following is a logic flowchart of an electrode cap detachment monitoring method according to one embodiment;

[0047] Figure 3 This is a flowchart illustrating one embodiment of an electrode cap detachment monitoring method;

[0048] Figure 4 for Figure 3 A schematic diagram of a sub-process of step S100 in the method shown;

[0049] Figure 5 for Figure 3 A schematic diagram of a sub-process of step S200 in the method shown;

[0050] Figure 6 for Figure 3 A schematic diagram of a sub-process of step S400 in the method shown. Detailed Implementation

[0051] To make the purpose, technical solution, and advantages of this application clearer, the following will be described in conjunction with the appendix. Figures 1 to 6 This application will be described in further detail. It is obvious that the described embodiments are merely some, not all, of the embodiments described herein. All other embodiments obtained by those skilled in the art based on the embodiments described herein without inventive effort are within the scope of protection of this application.

[0052] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “said,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.

[0053] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0054] It should be understood that although the terms first, second, third, etc., may be used in the embodiments of this application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, first may also be referred to as second without departing from the scope of the embodiments of this application, and similarly, second may also be referred to as first.

[0055] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”

[0056] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.

[0057] It should be noted that any symbols and / or numbers present in the specification that are not marked in the accompanying drawings are not reference numerals.

[0058] The optional embodiments of this application are described in detail below with reference to the accompanying drawings.

[0059] according to Figure 1 The electrode cap detachment monitoring method shown includes:

[0060] S1: Pre-configure global interruption conditions for the robot, associate the global interruption conditions with trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data;

[0061] S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority;

[0062] S3: Based on the execution result of the response execution item, confirm the abnormal information warning, and determine whether to proceed to S4 based on the confirmed result;

[0063] S4: If the abnormal information warning is confirmed to be in a reset state, the interrupt program will be activated using the preset strategy.

[0064] Specifically, this application achieves the identification and orderly response to electrode cap detachment anomalies by pre-configuring robot global interrupt conditions, associated trigger parameters, and setting interrupt priorities. It can accurately determine the abnormal state based on water flow detection data and execute corresponding protection actions according to priority, enabling rapid response and safe handling when an anomaly occurs. At the same time, combined with the anomaly warning confirmation and reset interrupt activation strategy, this design can ensure the safety and reliability of fault handling, that is, it can quickly restore monitoring and production operation after the fault is eliminated, thereby improving the stability of production line operation and the protection capability of equipment.

[0065] For example:

[0066] Taking an automotive welding production line as an example, the system pre-associates the robot's global interruption with water flow detection data and configures the interruption priority. When the electrode cap falls off, causing coolant leakage or abnormal water flow, the system will immediately identify and execute protective actions such as valve closure, shutdown, and alarm according to the preset priority. After the maintenance personnel replace the electrode cap and confirm that the fault has been eliminated, they reset the abnormal warning. Then, the system reactivates the interrupt program according to the preset strategy, restores real-time monitoring of water flow and electrode cap status, and the robot can resume normal operation.

[0067] In one specific embodiment, S1: Pre-configure global interruption conditions for the robot, associate the global interruption conditions with trigger parameters, and preset interruption priorities based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data, specifically including:

[0068] S101: Pre-define the abnormal detection of the trigger parameters as a global interrupt event;

[0069] S102: Based on global interrupt events, predefine interrupt priorities;

[0070] S103: Based on the preset interrupt priority, the interrupt program is pre-mapped with the response execution item; wherein, the response execution item includes at least: robot shutdown, water valve closure, and abnormal information warning.

[0071] Specifically, this application pre-configures water flow detection data as a trigger parameter and defines it as a global interrupt event to ensure that abnormal electrode cap detachment (such as abnormal water flow) can be identified in real time and monitored throughout the process. By pre-setting interrupt priorities and mapping response execution items, protective actions such as shutdown, valve closure, and alarm can be quickly executed according to priority when an abnormality occurs, avoiding water leakage that contaminates the vehicle body and damages production line equipment. The overall design forms a complete closed loop from interrupt pre-configuration and event definition to action mapping. This design improves the accuracy and response speed of monitoring, enhances the safety of fault handling, and reduces the complexity of system configuration.

[0072] For example, during the robot's main program initialization, abnormal states of water flow detection data (such as flow interruption or low flow) are defined as global interrupt events. The priority of these interrupt events is then preset to level 7, higher than the interrupt priority of regular welding processes, ensuring priority response to anomalies. The interrupt program is then bound to three response execution items: robot shutdown, cooling water valve closure, and operator screen alarm, completing the global interrupt pre-configuration. When the electrode cap falls off, causing cooling water leakage and abnormal water flow detection data, the system immediately identifies the global interrupt event, triggers the interrupt program at priority level 7, and automatically executes actions such as stopping the robot (to prevent continued welding from damaging the equipment), closing the cooling water valve (to prevent water leakage from contaminating the robot body and production line equipment), and displaying a "Electrode cap fallen off, cooling water abnormal" warning message on the operator screen. After receiving the warning, maintenance personnel replace and reset the electrode cap and investigate the abnormal water flow problem.

[0073] In one specific embodiment, S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority, specifically including:

[0074] S201: When the water flow detection data is less than the set value and remains so for a first time (e.g., 2s), it is determined that the trigger parameter detection result meets the global interrupt condition, and an interrupt signal instruction is generated based on the determination result.

[0075] S202: Based on the interrupt signal instruction, obtain the response execution item corresponding to the interrupt priority;

[0076] S203: The interrupt program responds to the interrupt signal instruction and executes the preset response execution items; the execution of the preset response execution items includes at least: issuing a robot stop instruction, stopping the automatic operation of the program, closing the cooling water valve, displaying abnormal information warnings, and recording the breakpoint data of the program before the interruption; the breakpoint data includes at least: program sequence number, position coordinates, and motion state; the abnormal information warnings include: electrode cap detachment warning and water flow abnormality warning.

[0077] Specifically, this application avoids false triggering caused by instantaneous fluctuations in water flow by using a dual constraint of a water flow threshold and a first preset time, thus improving the accuracy of anomaly detection. Through a layered design of anomaly detection, interrupt command generation, response item retrieval, and protection action execution, the interrupt response process is standardized and orderly. This ensures that when the trigger parameters meet the interruption conditions, protection actions such as robot shutdown, valve closure, and alarm activation are quickly executed according to preset priorities, fundamentally preventing cooling water leakage, vehicle body contamination, and line equipment damage caused by electrode cap detachment. Simultaneously, the addition of a breakpoint data recording function provides data support for accurate resumption of work after subsequent fault troubleshooting. This design, while achieving rapid anomaly identification and safe handling, also ensures efficient production recovery. Compared to conventional monitoring methods, it significantly improves anomaly detection accuracy, fault handling standardization, and production recovery convenience.

[0078] In one specific embodiment, S3: Based on the execution result of the response execution item, confirm the abnormal information warning, and determine whether to proceed to the next step based on the confirmation result, specifically including:

[0079] S301: Detect whether the first data status has returned to normal; wherein, the first data status includes electrode cap installation status, water flow status, and cooling water valve status;

[0080] S302: If the first data status is normal, confirm that the abnormal information warning is in a reset state and generate a line reset permission command;

[0081] S303: Generates interrupt activation instructions based on the line body reset enable instruction;

[0082] S304: If the first data status is detected as abnormal, the abnormal information warning is confirmed as an abnormal status, and a line body reset prohibition command is generated.

[0083] Specifically, this application achieves fully automated safety verification before fault recovery by performing multi-dimensional detection of the electrode cap status, water flow status, and cooling water valve status after abnormal handling, avoiding the risk of misoperation caused by relying solely on manual confirmation; reset is only allowed and an interrupt program activation command is generated when all statuses have returned to normal, while reset is prohibited when the status is abnormal. Overall, this design can effectively prevent secondary damage caused by restarting the equipment before it is fully repaired, further improving the safety of the production line reset process.

[0084] For example

[0085] To illustrate again with an automotive welding production line robot, when an electrode cap falls off, causing abnormal water flow and triggering protective actions such as shutting down valves, the system enters step S3 to check and confirm multiple states. If the maintenance personnel have reinstalled the electrode cap, the water flow has returned to normal, and the cooling water valve is in a safe state, the system determines that all first data states are normal, sets the abnormal warning to a reset state, and allows the line to reset, while generating an interrupt program activation command. If abnormal water flow or an electrode cap not being installed properly is still detected, the system determines it to be an abnormal state and prohibits the line from resetting, preventing the equipment from operating with damage and ensuring that the production line can only resume production under completely safe conditions.

[0086] In one specific embodiment, S4: If the abnormal information warning is confirmed to be in a reset state, then a preset strategy is used to activate the interrupt routine, specifically including:

[0087] S401: If the abnormal information warning is confirmed to be in a reset state, then generate an interrupt program activation instruction;

[0088] S402: Based on the interrupt program activation instruction, clear the abnormal information warning and reactivate the robot's global interrupt program, while starting real-time detection of real-time trigger parameters;

[0089] S403: In response to the robot's global interrupt program activation operation, obtain the breakpoint data of the program before the interruption;

[0090] S404: Based on breakpoint data, trigger the verification rule, and determine whether to generate enable information based on the verification result.

[0091] Specifically, this application activates the interrupt program through a preset strategy during the abnormal reset phase, achieving precise clearing of abnormal warnings and reactivation of the global interrupt program. This ensures rapid recovery of monitoring functions after fault repair. Furthermore, by retrieving breakpoint data and triggering safety verification rules, it verifies key information such as robot position and trigger parameter status before resuming work. Only when the verification passes is enable information generated, avoiding secondary faults caused by blindly resuming work when breakpoint data is abnormal or equipment status is not up to standard. The advantages of this design are that it further improves the accuracy and efficiency of production line recovery and strengthens the safety of resuming work through multi-layer verification. Compared with the conventional reset method that only clears alarms, it has significantly improved in terms of intelligence, safety, and reliability of resuming work.

[0092] Furthermore, S404: Based on breakpoint data, triggering verification rules, and determining whether to generate enable information based on the verification result, specifically includes:

[0093] In response to the robot resetting to the program position before the interruption, a verification instruction is generated.

[0094] Based on the verification command, verify whether the water flow, cooling water valve status, and robot operating status are all in a normal state;

[0095] If the verification result is normal, the robot will power on according to the enable signal sent by the PLC and reset to the program position before the interruption based on the breakpoint data to continue running.

[0096] Understandably, this application performs multi-dimensional safety checks based on breakpoint data before resuming work. By simultaneously checking water flow, valve status, and robot operating status, it ensures that the robot is only allowed to power on and run when all conditions are normal. This avoids secondary faults and equipment damage caused by unrecovered status, mismatched positions, or abnormal signals. It achieves intelligent resumption control with precise breakpoint recovery, multiple safety checks, and PLC linkage enablement, greatly improving the safety performance of production line resumption.

[0097] In another embodiment, see Figures 2 to 6 The electrode cap detachment monitoring method shown includes:

[0098] S100, declare a global robot interruption;

[0099] S200: Add water flow detection to the background program. If an abnormality is detected, close the cooling water valve and trigger an interrupt signal to enter the interrupt program. The robot will stop moving and display an alarm message.

[0100] S300, awaiting confirmation and adjustment from maintenance personnel, and restoration of the electrode cap installation status;

[0101] After S400 resets the alarm, the robot returns to execute the subroutine that was executed before the interruption.

[0102] Furthermore, step S100 includes:

[0103] S110. Associate the event with the interrupt procedure;

[0104] S120, Define the interrupt priority.

[0105] Further, in step S200, water flow detection is added to the background program. Upon an anomaly, the cooling water valve is closed, an interrupt signal is triggered, the interrupt routine is entered, the robot stops moving, and alarm information is displayed, including:

[0106] S210. Declare a global interrupt in the main program;

[0107] S220: Monitor the water flow signal in the background program. If an abnormality is detected, close the cooling water valve and trigger an interrupt signal to enter the interrupt program.

[0108] S230: The interrupt program executes the robot stop command, terminates the automatic operation of the program, and displays alarm information.

[0109] Furthermore, step S400 includes:

[0110] S410: Reactivate the interrupt routine and return to execute the subroutine before the interrupt.

[0111] S420. After pressing the reset button, the robot will continue to execute motion commands after power-on.

[0112] The beneficial effects of this invention are:

[0113] 1. The method for detecting electrode cap detachment uses a background system program to monitor water flow status in real time. When the electrode cap detaches, the water flow will become abnormal, triggering an interrupt signal and entering an interrupt program to immediately stop the robot's operation, thus avoiding damage to the equipment and tooling caused by the electrode cap detachment.

[0114] 2. After the maintenance personnel adjust and confirm that the electrode cap installation status has been restored, the system can automatically return to the program position before the interruption without manual program jump, thus reducing unnecessary downtime and impact accidents caused by operational errors.

[0115] On the other hand, an electrode cap detachment monitoring system is provided, including:

[0116] A configuration module is used to pre-configure global interruption conditions for the robot, associate global interruption conditions with trigger parameters, and preset interruption priorities based on the detection results of the trigger parameters; the trigger parameters include at least: water flow detection data;

[0117] The invocation module is used to retrieve and execute the corresponding response execution item according to the interrupt priority when the trigger parameter detection result meets the global interrupt condition;

[0118] The confirmation module is configured to confirm abnormal information warnings based on the execution results of the response execution project, and determine whether to enter the strategy module based on the confirmation result;

[0119] The strategy module is configured to activate the interrupt routine using a preset strategy if the abnormal information warning is confirmed to be in a reset state.

[0120] On the other hand, this application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method.

[0121] On the other hand, this application provides a computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the method described herein.

[0122] On the other hand, this application provides a simulation platform, including:

[0123] An electronic device for implementing the steps of the method;

[0124] A processor that runs a program, and when the program runs, it executes the steps of the method from data output by the electronic device.

[0125] A storage medium for storing a program that, when run, executes the steps of the method on data output from an electronic device.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for monitoring electrode cap detachment, characterized in that, include: S1: Pre-configure the robot's global interruption conditions, associate the global interruption conditions with the trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; The triggering parameters include at least: water flow detection data; S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority; S3: Based on the execution result of the response execution item, confirm the abnormal information warning, and determine whether to proceed to S4 based on the confirmed result; S4: If the abnormal information warning is confirmed to be in a reset state, the interrupt program will be activated using the preset strategy.

2. The electrode cap detachment monitoring method according to claim 1, characterized in that, S1: Pre-configure the robot's global interruption conditions, associate the global interruption conditions with the trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; The triggering parameters include at least: water flow detection data, specifically including: S101: Pre-define the abnormal detection of the trigger parameters as a global interrupt event; S102: Based on global interrupt events, predefine interrupt priorities; S103: Based on the preset interrupt priority, the interrupt program is pre-mapped with the response execution item; wherein, the response execution item includes at least: robot shutdown, water valve closure, and abnormal information warning.

3. The electrode cap detachment monitoring method according to claim 2, characterized in that, S2: When the trigger parameter detection result meets the global interrupt condition, the corresponding response execution item is obtained and executed according to the interrupt priority, specifically including: S201: When the water flow detection data is less than the set value and remains so for the first time, it is determined that the trigger parameter detection result meets the global interrupt condition, and an interrupt signal instruction is generated based on the determination result. S202: Based on the interrupt signal instruction, obtain the response execution item corresponding to the interrupt priority; S203: The interrupt program responds to the interrupt signal instruction and executes the preset response execution items; the execution of the preset response execution items includes at least: issuing a robot stop instruction, stopping the automatic operation of the program, closing the cooling water valve, displaying abnormal information warnings, and recording the breakpoint data of the program before the interruption; the breakpoint data includes at least: program sequence number, position coordinates, and motion state; the abnormal information warnings include: electrode cap detachment warning and water flow abnormality warning.

4. The electrode cap detachment monitoring method according to claim 3, characterized in that, S3: Based on the execution results of the response execution item, confirm the abnormal information warning, and determine whether to proceed to the next step based on the confirmed result. Specifically, this includes: S301: Detect whether the first data status has returned to normal; wherein, the first data status includes electrode cap installation status, water flow status, and cooling water valve status; S302: If the first data status is normal, confirm that the abnormal information warning is in a reset state and generate a line reset permission command; S303: Generates interrupt activation instructions based on the line body reset enable instruction; S304: If the first data status is detected as abnormal, the abnormal information warning is confirmed as an abnormal status, and a line body reset prohibition command is generated.

5. The electrode cap detachment monitoring method according to claim 4, characterized in that, S4: If the error message indicates a reset state, the interrupt routine will be activated using a preset strategy, specifically including: S401: If the abnormal information warning is confirmed to be in a reset state, then generate an interrupt program activation instruction; S402: Based on the interrupt program activation instruction, clear the abnormal information warning and reactivate the robot's global interrupt program, while starting real-time detection of real-time trigger parameters; S403: In response to the robot's global interrupt program activation operation, obtain the breakpoint data of the program before the interruption; S404: Based on breakpoint data, trigger the verification rule, and determine whether to generate enable information based on the verification result.

6. The electrode cap detachment monitoring method according to claim 5, characterized in that, S404: Based on breakpoint data, trigger the verification rule, and determine whether to generate enable information based on the verification result, specifically including: In response to the robot resetting to the program position before the interruption, a verification instruction is generated. Based on the verification command, verify whether the water flow, cooling water valve status, and robot operating status are all in a normal state; If all verification results are normal, the robot will power on according to the enable signal sent by the PLC and continue running based on the breakpoint data to the program position before the interruption.

7. An electrode cap detachment monitoring system, characterized in that, include: The configuration module is used to pre-configure the robot's global interruption conditions, associate the global interruption conditions with trigger parameters, and preset the interruption priority based on the detection results of the trigger parameters; The triggering parameters include at least: water flow detection data; The invocation module is used to retrieve and execute the corresponding response execution item according to the interrupt priority when the trigger parameter detection result meets the global interrupt condition; The confirmation module is configured to confirm abnormal information warnings based on the execution results of the response execution project, and determine whether to enter the strategy module based on the confirmation result; The strategy module is configured to activate the interrupt routine using a preset strategy if the abnormal information warning is confirmed to be in a reset state.

8. An electronic device, comprising: The system comprises a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; characterized in that the memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the method described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The device stores a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of the method as described in any one of claims 1 to 6.

10. A simulation platform, characterized in that, include: An electronic device for implementing the steps of the method according to any one of claims 1 to 6; A processor that runs a program that, when the program is running, performs the steps of the method according to any one of claims 1 to 6 from data output by an electronic device. A storage medium for storing a program that, when run, performs the steps of the method according to any one of claims 1 to 6 on data output from an electronic device.