Industrial robot data collection method, device, electronic equipment and medium
By obtaining the number of maintenance times and fault levels of the welding robot, and analyzing its operating cycle and vibration conditions, the problem of low efficiency in fault monitoring of welding robots in the existing technology is solved, and timely discovery and prevention of welding robot faults are achieved.
Patent Information
- Application Number
- CN202410842832.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-27
AI Technical Summary
It is difficult to realize real-time monitoring of welding robot faults with existing technology, resulting in reduced welding quality and economic losses, and failure to detect faults in a timely manner.
By obtaining the number of maintenance times and fault levels of the welding robot, the normal operating cycle and the threshold value of the number of welding times are determined, the three-axis vibration value and joint rotation angle value are obtained, the operation situation is analyzed, and abnormalities and faults are discovered in a timely manner.
It improves the monitoring efficiency of welding robots, detects faults in time, reduces the possibility of faults, and improves welding quality and equipment reliability.
Smart Images

Figure CN118372293B
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial robots, and in particular to an industrial robot data acquisition method, device, electronic equipment and medium. Background Art
[0002] Industrial robots are widely used in industries such as industry and transportation. They are multi-joint manipulators or multi-degree-of-freedom machine devices that can achieve various industrial processing and manufacturing functions by relying on their own power and control capabilities. Among them, welding robots are widely used.
[0003] Since welding robots are composed of multiple joints, multiple joints work together during welding operations. However, when an industrial robot has an abnormality or failure, the welding quality will be reduced or even the welding will fail, causing economic losses. The welding robot will produce slight vibrations during welding operations, but when an abnormality or failure occurs, the vibration will be aggravated. At present, relevant staff usually inspect and maintain the welding robot regularly to reduce the probability of failure or abnormality. Real-time monitoring cannot be achieved. This method is inefficient and cannot detect the occurrence of faults in time. Summary of the invention
[0004] In order to improve the monitoring efficiency of welding robots, the present application provides an industrial robot data collection method, device, electronic equipment and medium.
[0005] In a first aspect, the present application provides an industrial robot data collection method, which adopts the following technical solution:
[0006] An industrial robot data collection method, comprising:
[0007] Obtain the number of inspections of the welding robot and the fault level of each historical fault;
[0008] Determine a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level;
[0009] Obtaining a current time, a first last maintenance time, and the number of welds after the first last maintenance time, and determining a first time interval based on the current time and the first last maintenance time;
[0010] If the first time interval reaches the first current normal operation cycle, and the number of welding times reaches the welding number threshold, then start to obtain the three-axis vibration value of the welding end of the welding robot during the welding process;
[0011] The angle values of the joints of the welding robot on the corresponding rotation planes are obtained based on the three-axis vibration values.
[0012] By adopting the above technical solution, after the number of overhauls and fault levels of the welding robot are obtained, since the number of overhauls and the fault level of the fault can both characterize the working state and performance attenuation of the welding robot, and the working state and fault level affect the normal operating cycle of the welding robot after the most recent overhaul and the normal welding number threshold, therefore, the first current normal operating cycle and the welding number threshold can be determined according to the number of overhauls and the fault level, and the first time interval from the first last overhaul time to the current time of the welding robot is determined. If the first time interval reaches the first current normal operating cycle and the number of weldings reaches the welding number threshold, it means that the possibility of the welding robot failing or abnormal after this increases, and the possibility of the welding robot's stability decreasing during the welding process increases. The three-axis vibration value of the welding end of the welding robot is obtained, so as to facilitate monitoring the stability and vibration of the welding robot, and then the angle value of the rotating surface corresponding to the joint is obtained according to the three-axis vibration value, so as to facilitate analysis of the operation of the welding robot according to the three-axis vibration value and the angle value, timely discover abnormalities and faults, and improve the monitoring effect.
[0013] In another possible implementation, determining the first current normal operation cycle and the welding number threshold based on the maintenance number and the fault level includes:
[0014] determining an average fault level based on the fault levels;
[0015] Determine a first score based on the number of inspections, the average fault level, and respective corresponding first weights;
[0016] Determine a target score interval in which the first score is located from a plurality of preset score intervals, each preset score interval corresponding to a preset normal operating cycle and a preset welding number threshold;
[0017] The preset normal operation cycle and the preset welding number threshold of the target score interval are determined as the first current normal operation cycle and the welding number threshold.
[0018] In another possible implementation, the acquiring the angle values of the joints of the welding robot on the corresponding rotation plane based on the three-axis vibration values includes:
[0019] Determine the vibration value variances corresponding to the three axes based on the three-axis vibration values;
[0020] If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, then the associated joint corresponding to the target axis is determined;
[0021] The angle value of the associated joint on the corresponding rotation plane during the welding process is obtained.
[0022] In another possible implementation manner, the historical fault corresponds to a joint where the historical fault occurs, and the method further includes:
[0023] Determine an average fault level of each joint and a number of fault occurrences of each joint based on the historical faults;
[0024] Determine a second score for each joint based on the average fault level, the number of fault occurrences, and the respective corresponding second weights;
[0025] determining a second current normal operating cycle for each joint based on the second score;
[0026] Obtaining the second last inspection time of each joint and the current time when each joint was last inspected, and determining the second time interval of each joint;
[0027] If there is a target joint whose second time interval reaches the corresponding second current normal operation cycle, the angle value of the target joint on the corresponding rotation plane is obtained.
[0028] In another possible implementation, the method further includes:
[0029] Draw an angle change graph of the angle changing over time based on the angle value;
[0030] Determine at least one closed area formed by a preset angle variation graph and the angle variation graph, wherein the preset angle variation graph is an angle variation graph of the associated joint changing over time during normal operation;
[0031] calculating a sum of the areas of the at least one closed region of each associated joint;
[0032] determining a third score for each associated joint based on the sum of the areas, the number of enclosed regions, and the respective corresponding coefficients;
[0033] The associated joint with the largest third score is determined as the faulty joint.
[0034] In another possible implementation, the method further includes:
[0035] Calculating the similarity between the angle change graph of the faulty joint and a plurality of preset fault angle change graphs, each preset fault angle change graph is an angle change graph of the joint when a fault occurs in the joint, and each angle change graph corresponds to a preset fault;
[0036] Determine the preset fault corresponding to the preset fault angle change graph with the highest similarity as the target fault of the faulty joint;
[0037] Output prompt information based on the faulty joint and the target fault.
[0038] In another possible implementation, the method further includes:
[0039] If there is no target axis whose vibration value variance reaches the preset variance threshold, then continue to determine the vibration value variances corresponding to the three axes of each welding process;
[0040] Determine a variation trend graph of the vibration value variance corresponding to each of the three axes, and determine whether there is an abnormal axis based on the variation trend graph;
[0041] If the abnormal axis exists, the associated joint of the abnormal axis is determined, and the angle value of the associated joint of the abnormal axis on the corresponding rotation plane is obtained.
[0042] In a second aspect, the present application provides an industrial robot data acquisition device, which adopts the following technical solution:
[0043] An industrial robot data acquisition device, comprising:
[0044] A data acquisition module is used to obtain the number of inspections of the welding robot and the fault level of each historical fault;
[0045] A first determination module, configured to determine a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level;
[0046] A second determination module is used to obtain a current time, a first last maintenance time, and the number of welding times after the first last maintenance time, and determine a first time interval based on the current time and the first last maintenance time;
[0047] A vibration value acquisition module, configured to start acquiring the triaxial vibration value of the welding end of the welding robot during the welding process when the first time interval reaches the first current normal operation cycle and the number of welding times reaches the welding number threshold;
[0048] The first angle value acquisition module is used to acquire the angle value of the joint of the welding robot on the corresponding rotation plane based on the three-axis vibration value.
[0049] By adopting the above technical solution, after the data acquisition module obtains the number of overhauls and fault levels of the welding robot, since the number of overhauls and the fault level of the fault can both characterize the working state and performance attenuation degree of the welding robot, and the working state and fault level affect the normal operating cycle and the normal welding number threshold of the welding robot after the most recent overhaul, the first determination module can determine the first current normal operating cycle and the welding number threshold according to the number of overhauls and the fault level, and the second determination module determines the first time interval from the first last overhaul time to the current time of the welding robot. If the first time interval reaches the first current normal operating cycle and the welding number reaches the welding number threshold, it means that the possibility of the welding robot failing or abnormal after this increases, and the possibility of the welding robot's stability decreasing during the welding process increases. The vibration value acquisition module obtains the three-axis vibration value of the welding end of the welding robot, so as to facilitate monitoring the stability and vibration of the welding robot. The first angle value acquisition module then obtains the angle value of the rotating surface corresponding to the joint according to the three-axis vibration value, so as to facilitate analyzing the operation of the welding robot according to the three-axis vibration value and the angle value, timely discovering abnormalities and faults, and improving the monitoring effect.
[0050] In another possible implementation, when the first determination module determines the first current normal operation cycle and the welding number threshold based on the maintenance number and the fault level, it is specifically used to:
[0051] determining an average fault level based on the fault levels;
[0052] Determine a first score based on the number of inspections, the average fault level, and respective corresponding first weights;
[0053] Determine a target score interval in which the first score is located from a plurality of preset score intervals, each preset score interval corresponding to a preset normal operating cycle and a preset welding number threshold;
[0054] The preset normal operation cycle and the preset welding number threshold of the target score interval are determined as the first current normal operation cycle and the welding number threshold.
[0055] In another possible implementation, when the first angle value acquisition module acquires the angle value of the joint of the welding robot on the corresponding rotation plane based on the three-axis vibration value, it is specifically used to:
[0056] Determine the vibration value variances corresponding to the three axes based on the three-axis vibration values;
[0057] If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, then the associated joint corresponding to the target axis is determined;
[0058] The angle value of the associated joint on the corresponding rotation plane during the welding process is obtained.
[0059] In another possible implementation, the historical fault corresponds to a joint where the historical fault occurs, and the device further includes:
[0060] A third determination module is used to determine the average fault level of each joint and the number of fault occurrences of each joint based on the historical faults;
[0061] A first score determination module, configured to determine a second score for each joint based on the average fault level, the number of fault occurrences, and the respective corresponding second weights;
[0062] an operation cycle determination module, configured to determine a second current normal operation cycle of each joint based on the second score;
[0063] a fourth determination module, for obtaining a second last maintenance time and a current time when each joint was last maintained, and determining a second time interval for each joint;
[0064] The second angle value acquisition module is used to acquire the angle value of the target joint on the corresponding rotation plane when there is a target joint whose second time interval reaches the corresponding second current normal operation cycle.
[0065] In another possible implementation, the device further includes:
[0066] A drawing module, used for drawing an angle change diagram of the angle changing over time based on the angle value;
[0067] A closed area determination module, used to determine at least one closed area formed by a preset angle change graph and the angle change graph, wherein the preset angle change graph is an angle change graph of the associated joint changing over time during normal operation;
[0068] An area calculation module, used for calculating the sum of the areas of the at least one closed area of each associated joint;
[0069] A second score determination module, configured to determine a third score for each associated joint based on the area sum, the number of closed areas, and the respective corresponding coefficients;
[0070] The faulty joint determining module is used to determine the associated joint with the largest third score as the faulty joint.
[0071] In another possible implementation, the device further includes:
[0072] A similarity calculation module, used for calculating the similarity between the angle change graph of the faulty joint and a plurality of preset fault angle change graphs, each preset fault angle change graph is an angle change graph of the joint when a fault occurs in the joint, and each angle change graph corresponds to a preset fault;
[0073] A target fault determination module, used to determine the preset fault corresponding to the preset fault angle change diagram with the highest similarity as the target fault of the faulty joint;
[0074] The output module is used to output prompt information based on the faulty joint and the target fault.
[0075] In another possible implementation, the device further includes:
[0076] A variance determination module, for continuing to determine the vibration value variances corresponding to the three axes of each welding process when there is no target axis whose vibration value variance reaches a preset variance threshold;
[0077] A judgment module, used to determine a variation trend diagram of the vibration value variance corresponding to each of the three axes, and judge whether there is an abnormal axis based on the variation trend diagram;
[0078] The third angle value acquisition module is used to determine the associated joint of the abnormal axis when the abnormal axis exists, and to acquire the angle value of the associated joint of the abnormal axis on the corresponding rotation plane.
[0079] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0080] An electronic device, comprising:
[0081] at least one processor;
[0082] Memory;
[0083] At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and at least one is configured to: execute an industrial robot data acquisition method shown in any possible implementation of the first aspect.
[0084] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0085] A computer-readable storage medium, when the computer program is executed in a computer, enables the computer to execute the industrial robot data collection method described in any one of the first aspects.
[0086] In summary, the present application includes at least one of the following beneficial technical effects:
[0087] After obtaining the number of overhauls and fault levels of the welding robot, since the number of overhauls and the fault level of the fault can both characterize the working state and performance degradation of the welding robot, and the working state and fault level affect the normal operating cycle of the welding robot after the most recent overhaul and the normal welding number threshold, the first current normal operating cycle and the welding number threshold can be determined according to the number of overhauls and the fault level, and the first time interval from the last overhaul time to the current time of the welding robot is determined. If the first time interval reaches the first current normal operating cycle and the number of weldings reaches the welding number threshold, it means that the possibility of the welding robot failing or abnormal after this increases, and the possibility of the welding robot's stability decreasing during the welding process increases. The three-axis vibration value of the welding end of the welding robot is obtained, so as to facilitate monitoring the stability and vibration of the welding robot's operation, and then the angle value of the rotating surface corresponding to the joint is obtained according to the three-axis vibration value, so as to facilitate analysis of the operation of the welding robot according to the three-axis vibration value and the angle value, timely discover abnormalities and faults, and improve the monitoring effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 It is a flow chart of an industrial robot data collection method according to an embodiment of the present application.
[0089] Figure 2 It is a specific flow chart of determining the first current normal operation cycle and welding number threshold in an embodiment of the present application.
[0090] Figure 3 It is a schematic diagram of a specific process of obtaining angle values based on three-axis vibration values in an embodiment of the present application.
[0091] Figure 4 It is a schematic diagram of a specific process for obtaining the angle value of the target joint in an embodiment of the present application.
[0092] Figure 5 It is a schematic diagram of a specific process for determining a faulty joint in an embodiment of the present application.
[0093] Figure 6 It is an example diagram of the angle change diagram and the preset angle change diagram in the embodiment of the present application.
[0094] Figure 7 It is a structural schematic diagram of an industrial robot data acquisition device according to an embodiment of the present application.
[0095] Figure 8 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0096] The present application is further described in detail below in conjunction with the accompanying drawings.
[0097] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0098] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0099] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0100] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0101] The embodiment of the present application provides an industrial robot data collection method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this. Figure 1 As shown, the method includes step S101, step S102, step S103, step S104 and step S105, wherein:
[0102] S101, obtaining the number of inspections of the welding robot and the fault level of each historical fault.
[0103] For the embodiment of the present application, each time the staff inspects the welding robot, they can store the inspection times of the welding robot in the local storage medium of the electronic device through input devices such as keyboard and mouse. Each welding robot has a specific number corresponding to it, and by establishing a corresponding relationship between the number and the inspection times and storing them, it is convenient for the electronic device to obtain the inspection times.
[0104] Similarly, after each failure of the welding robot, the staff can store the specific failure that occurred in the local storage medium of the electronic device. Each failure corresponds to a failure level, and the failure level of each failure can be divided by the staff according to the severity of the failure. The staff can store the failure level corresponding to each failure in the local storage medium of the electronic device. When the staff stores the failure of the welding robot, the fault level is automatically searched and stored. The electronic device can call the local storage medium to obtain the failure level of each failure.
[0105] S102, determining a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level.
[0106] For the embodiment of the present application, the number of overhauls of the welding robot and the fault level of the faults that have occurred can both characterize the working state and performance degradation of the welding robot. The more overhauls, the longer the use time, the worse the working state, and the higher the performance degradation. On the contrary, the better the working state, the lower the performance degradation. The working state and the fault level affect the normal operating cycle of the welding robot after the most recent overhaul and the normal welding number threshold, that is, the number of overhauls and the fault level are related to the first current normal operating cycle and the welding number threshold of the welding robot. Therefore, the first current normal operating cycle and the welding number threshold can be determined according to the number of overhauls and the fault level.
[0107] S103, obtaining the current time, the first last maintenance time, and the number of welding times after the first last maintenance time, and determining a first time interval based on the current time and the first last maintenance time.
[0108] For the embodiment of the present application, when the staff stores the maintenance status of each maintenance in the local storage medium inside the electronic device, each maintenance corresponds to the maintenance time, so the electronic device can obtain the first last maintenance time from the local storage medium. After the welding robot completes welding each time, each welding operation corresponds to the welding time, and the electronic device accumulates the number of welding times, and then combines the first last maintenance time to screen and determine the number of maintenance times of the welding robot after the first last maintenance time. The electronic device can obtain the current time through the local clock chip or the cloud server. After obtaining the current time and the first last maintenance time, the electronic device can determine the first time interval by subtracting the first last maintenance time from the current time.
[0109] S104: If the first time interval reaches the first current normal operation cycle and the number of welding times reaches the welding number threshold, start to obtain the three-axis vibration value of the welding end of the welding robot during the welding process.
[0110] For the embodiment of the present application, when the first time interval reaches the first current normal operating cycle and the number of welds reaches the welding number threshold, it means that the possibility of the welding robot failing or abnormality increasing thereafter, and the possibility of the welding robot reducing stability during the welding process increasing. In order to monitor the stability of the welding robot's operation, the electronic device obtains the three-axis vibration value of the welding end of the welding robot.
[0111] Specifically, the staff can set up a vibration sensor at the welding end to monitor the vibration value of the three axes of the welding end. The vibration sensor is connected to the electronic equipment through wires or wirelessly. The three axes are x-axis, y-axis and z-axis. The x-axis and y-axis can be defined as two mutually perpendicular axes moving on the horizontal plane, and the z-axis is the axis moving in the vertical direction. The three-axis vibration value can characterize the stability of the welding robot during welding operation. The larger the vibration value, the lower the stability, and vice versa.
[0112] S105, obtaining angle values of the joints of the welding robot on corresponding rotation planes based on the three-axis vibration values.
[0113] For the embodiment of the present application, the vibration of the welding end is related to each joint of the welding robot. During the welding operation, each joint rotates in coordination with each other. An angle sensor can be set on the rotating surface corresponding to each joint to collect the angle change of the joint rotation during the welding process. The angle sensor is connected to the electronic device through a wire or wirelessly. Therefore, the angle value of the joint of the welding robot on the corresponding rotating surface is obtained based on the three-axis vibration value, which is more accurate for analyzing the stability and operating status of the welding robot.
[0114] In a possible implementation of the embodiment of the present application, in step S102, the first current normal operation cycle and the welding number threshold are determined based on the maintenance number and the fault level, specifically including steps S1021, S1022, S1023 and S1024. Figure 2 As shown,
[0115] S1021, determining an average fault level based on the fault levels.
[0116] For the embodiment of the present application, the electronic device sums up the fault levels of all faults and calculates the average value to obtain the average fault level. Assuming that the fault levels are set to five levels from low to high according to the severity, namely one to five, the average fault level of welding robot a is 3.
[0117] S1022: Determine a first score based on the number of maintenance times, the average fault level, and the first weights corresponding to each.
[0118] For the embodiment of the present application, the number of overhauls and the average fault level are the most important factors affecting the first current normal operation cycle and the welding number threshold, and the degree of influence is different. Therefore, different first weights are set for the number of overhauls and the average fault level. Assume that the first weight of the number of overhauls is 0.6, and the first weight of the average fault level is 0.4. Assuming that the number of overhauls of welding robot a is 6, taking step S1021 as an example, the first score of the welding robot is 6×0.6+3×0.4=4.8. It should be noted that the first weight can be adaptively adjusted or modified according to actual conditions and needs.
[0119] S1023: Determine a target score interval in which the first score is located from a plurality of preset score intervals.
[0120] Each preset score interval corresponds to a preset normal operation cycle and a preset welding number threshold.
[0121] For the embodiment of the present application, the staff can set a plurality of preset score intervals in advance, and set the preset normal operation cycle and preset welding number threshold of each preset score interval according to the actual situation and experiment, and then store them in the local storage medium of the electronic device. Assuming that there are three preset score intervals, namely (0, 3], (3, 6] and (6, +∞], the preset normal operation cycle and preset welding number threshold corresponding to the three preset score intervals are (0, 3] corresponding to 240 hours (h) and 1000 times; (3, 6] corresponding to 120 hours (h) and 500 times; (6, +∞] corresponding to 60 hours (h) and 250 times. In other embodiments, the number of preset score intervals can be more than three, and the size of each interval can be modified according to the actual situation and needs. After the electronic device determines the first score, it can obtain multiple preset score intervals to determine the target score interval where the first score is located. Taking step S1022 as an example, the electronic device determines that the target score interval of welding robot a is (3, 6].
[0122] S1024: Determine a preset normal operation cycle and a preset welding number threshold in the target score interval as a first current normal operation cycle and welding number threshold.
[0123] For the embodiment of the present application, after the electronic device determines the target score interval, the preset normal operation cycle and the preset welding number of the target score interval are determined as the first current normal operation cycle and the welding number threshold. Taking step S1023 as an example, the electronic device determines (3, 6] corresponding to 120 hours (h) and 500 times as the first current normal operation cycle and welding number threshold of the welding robot a.
[0124] A possible implementation of the embodiment of the present application is that in step S105, the angle value of the joint of the welding robot on the corresponding rotation plane is obtained based on the three-axis vibration value, which specifically includes step S1051, step S1052 and step S1053. Figure 3 As shown,
[0125] S1051, determining the vibration value variances corresponding to the three axes respectively based on the three-axis vibration values.
[0126] For the embodiment of the present application, the electronic device obtains the three-axis vibration value of the welding end and waits until a welding operation is completed. The electronic device calculates the three-axis vibration value obtained this time through the variance calculation formula to obtain the vibration value variance corresponding to each of the three axes. The vibration value variance represents the vibration stability in the directions of the three axes.
[0127] S1052: If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, determine the associated joint corresponding to the target axis.
[0128] For the embodiment of the present application, the larger the variance of the vibration value, the more severe the axial vibration, and the more unstable the operation of the welding robot. Therefore, a preset variance threshold is set. If the variance of the vibration value of a certain axis reaches the preset variance threshold, it means that the vibration of the axis is too severe, which means that the welding robot has a fault. The joints corresponding to different axial vibrations are different, that is, each axial vibration corresponds to an associated joint. For example, the associated joint corresponding to the z-axis vibration is a joint that rotates in the vertical plane. The staff can set the association relationship of the associated joints corresponding to each axial vibration in advance and store it in the local storage medium in the electronic device. After the electronic device determines the target axis, it can determine the associated joint based on the association relationship.
[0129] S1053, obtaining the angle value of the associated joint on the corresponding rotation plane during the welding process.
[0130] For the embodiment of the present application, since an angle sensor is provided on each joint, after determining the associated joint, the electronic device can obtain the angle value of the associated joint during the welding process, thereby knowing the angle change of the associated joint during the welding process, and then facilitating the analysis of whether the associated joint has a fault.
[0131] In a possible implementation of the embodiment of the present application, the historical fault corresponds to the joint where the historical fault is located, and the method further includes steps S1, S2, S3, S4 and S5, wherein step S1 can be performed after step S101, such as Figure 4 As shown,
[0132] S1, determine the average fault level of each joint and the number of fault occurrences of each joint based on historical faults.
[0133] For the embodiment of the present application, the failures of the welding robot mainly occur at the joints. Therefore, the historical failures correspond to the joints where they are located. The electronic device determines the number of historical failures that have occurred in each joint by classification. Since the historical failures correspond to failure levels, the electronic device can determine the average failure level of each joint through the average value calculation formula.
[0134] S2, determining a second score for each joint based on the average fault level, the number of fault occurrences, and the respective corresponding second weights.
[0135] For the embodiment of the present application, the average fault level and the number of fault occurrences are both important factors affecting the joint operation status and health decay, and the degree of influence of the two is different. Therefore, different second weights are set for the average fault level and the number of fault occurrences. Assuming that the second weight of the average fault level is 0.7 and the second weight of the number of fault occurrences is 0.3, assuming that the average fault level of a joint of welding robot a is 3.5, the electronic device determines that the second score of the joint is 3.5×0.7+4×0.3=3.65. It should be known that the second weights of the two can be adaptively adjusted or modified according to actual conditions and needs.
[0136] S3, determining a second current normal operating cycle of each joint based on the second score.
[0137] For the embodiment of the present application, the higher the second score, the lower the joint stability and the worse the running state attenuation, the shorter the second current normal operating cycle, and vice versa. Similarly, the staff can set multiple preset score intervals in the electronic device according to the calculation method of the second score, and associate different preset normal operating cycles with each preset score interval through experiments or calculations. The electronic device determines the preset score interval where the second score is located to determine the second current normal operating cycle. The second score can also be multiplied by a specific coefficient to calculate the second current normal operating cycle of each joint.
[0138] S4, obtaining the second last maintenance time of each joint and the current time when the joint was last maintained, and determining the second time interval of each joint.
[0139] For the embodiment of the present application, the staff will store the inspection time in the local storage medium of the electronic device after inspecting each joint separately, so the electronic device can obtain the second last inspection time of each joint from the local storage medium. The electronic device can obtain the current time through the local clock chip or cloud server, and after obtaining the current time and the second last inspection time, the electronic device can determine the second time interval by subtracting the second last inspection time from the current time.
[0140] S5: If there is a target joint whose second time interval reaches the corresponding second current normal operation cycle, then obtain the angle value of the target joint on the corresponding rotation plane.
[0141] For the embodiment of the present application, when the second time interval of a joint reaches the corresponding second current normal operating cycle, it means that the possibility of failure of the joint increases, and the joint is the target joint. The electronic device obtains the angle value of the target joint on the corresponding rotation plane, so as to better monitor the working condition of the joint and promptly detect failure of the joint. When the second time interval of the target joint does not reach the corresponding second current normal operating cycle, the angle sensor on the target joint can be in the off state. When the second time interval reaches the corresponding second current normal operating cycle, the electronic device sends a command to the angle sensor to control the angle sensor to turn on and collect the angle value.
[0142] In a possible implementation manner of the embodiment of the present application, the method further includes step Sa, step Sb, step Sc, step Sd and step Se, wherein step Sa may be performed after step S105, such as Figure 5 As shown,
[0143] Sa, plot the angle change graph of the angle over time based on the angle value.
[0144] For the embodiments of the present application, a coordinate system in which angles change over time may be pre-stored in the electronic device. When the electronic device obtains the angle value of the associated joint, the angle value is mapped to the coordinate system to form multiple coordinates, and then the lines are connected in sequence to draw a graph of the angle changes over time.
[0145] Sb, determining at least one closed area formed by the preset angle change graph and the angle change graph.
[0146] Among them, the preset angle change diagram is an angle change diagram in which the angle of the associated joint changes with time during normal operation.
[0147] For the embodiment of the present application, due to the vibration in the target axis, the angle change diagram cannot coincide with the preset angle change diagram, and the angle change at the joint rebounds slightly and then gradually increases or decreases to the target angle, or fails to reach the target angle. In addition, the actual angle change caused by the vibration is not linear, such as Figure 6 As shown, when the angle change diagram overlaps with the preset angle change diagram, at least one closed area will be formed, and the closed area can reflect the vibration size and the possibility and severity of failure at the joint.
[0148] Sc, calculate the sum of the areas of at least one enclosed region of each associated joint.
[0149] For the embodiment of the present application, after the closed area is formed, the electronic device counts the number of pixels in each closed area, and then sums the number of pixels in all closed areas. It is more convenient to characterize the total area of the closed areas by the number of pixels.
[0150] Sd, the third score of each associated joint is determined based on the sum of the areas, the number of enclosed regions, and their respective corresponding coefficients.
[0151] For the embodiments of the present application, the total area and the number of closed areas are both key factors that affect the possibility of failure of the associated joint, and the degree of influence is different. Therefore, different coefficients are set for the total area and the number of closed areas. Assume that the coefficient corresponding to the number of pixels is 0.02, and the coefficient corresponding to the number of closed areas is 0.6. Assuming that the total area of the closed areas of an associated joint is 2500 pixels and the number of closed areas is 120, the third score of the associated joint is 2500×0.02+120×0.6=122. The third score represents the possibility of failure of the associated joint. The higher the third score, the greater the possibility.
[0152] Se, the associated joint with the third largest score is determined as the faulty joint.
[0153] For the embodiment of the present application, assuming that there are three associated joints corresponding to the z-axis vibration, after the electronic device calculates the third scores of the three associated joints respectively, since the fault at the faulty joint is more obvious, the abnormal movement of the faulty joint affects the movement of other associated joints, but compared with the faulty joint, the abnormal movement of other associated joints is smaller than that of the faulty joint, so the third score corresponding to the faulty joint is higher. Therefore, it is most accurate and convenient to determine the associated joint with the largest third score as the faulty joint.
[0154] In a possible implementation manner of the embodiment of the present application, the method further includes step 1, step 2 and step 3, wherein step 1 may be performed after step Sa, wherein:
[0155] Step 1: Calculate the similarity between the angle change graph of the faulty joint and a plurality of preset fault angle change graphs.
[0156] Among them, each preset fault angle change diagram is an angle change diagram of the joint when a fault occurs in the joint, and each angle change diagram corresponds to a preset fault.
[0157] Step 2: determine the preset fault corresponding to the preset fault angle change graph with the highest similarity as the target fault of the faulty joint.
[0158] Step three: output prompt information based on the fault joint and the target fault.
[0159] For the embodiments of the present application, the similarity can be calculated by the structural similarity metric (SSIM). It can also be calculated by cosine similarity, that is, the angle change graph and the preset fault angle change graph are represented as vectors, and the similarity of the two images is characterized by calculating the cosine distance between the vectors. The first similarity can also be calculated by a histogram. The first similarity can also be calculated by other methods, which are not limited here. After determining the similarity, the preset fault corresponding to the preset fault angle change graph with the highest similarity has the highest probability of belonging to the fault of the faulty joint. Therefore, the preset fault of the preset angle change graph with the highest similarity can be determined as the target fault of the faulty joint.
[0160] Each welding robot has a corresponding number, and the joints on the welding robot also have corresponding numbers. Therefore, the number of the welding robot is combined with the number of the faulty joint, and the combined number and the target fault, such as "servo motor fault" and "gear fault", are output. Specifically, the electronic device can send a text message containing the combined code and the target fault to the terminal device of the staff, so that the staff can know the faulty robot and joint and the specific fault in time, which is convenient for the staff to prepare.
[0161] In a possible implementation manner of the embodiment of the present application, the method further includes step 4, step 5 and step 6, wherein step 4 may be performed after step S1051, wherein:
[0162] Step 4: If there is no target axis whose vibration value variance reaches the preset variance threshold, then continue to determine the vibration value variances corresponding to the three axes of each welding process.
[0163] For the embodiment of the present application, after completing a welding operation, if the electronic device determines that there is no target axis whose vibration value variance reaches the preset variance threshold, it will continue to determine the vibration value variance corresponding to each of the three axes of each welding process to monitor the running stability of the welding robot. The implementation method of determining the vibration value variance can refer to the above embodiment and will not be repeated here.
[0164] Step 5: determine the variation trend graph of the vibration value variance corresponding to each of the three axes, and determine whether there is an abnormal axis based on the variation trend graph.
[0165] For the embodiment of the present application, a coordinate system in which the vibration value variance changes with the number of welding times is pre-stored in the electronic device. The electronic device determines the vibration value variance of the three axes after each welding is completed, and maps the vibration value variance of the three axes in the coordinate system respectively, thereby determining the change trend graph of the vibration value variance corresponding to each of the three axes. According to the change trend graph, it can be determined whether there is an abnormal axis.
[0166] Specifically, the electronic device performs linear fitting or nonlinear fitting based on the scattered points on the change trend graph to obtain the slope or the slope of the tangent at each point on the curve. If the slope is too large or the slope of the tangent at each point on the curve changes too much, it means that the axial vibration is more severe, and then it means that the axial vibration is abnormal. In this way, the abnormal axis among the three axes can be determined.
[0167] Step six: if there is an abnormal axis, determine the associated joint of the abnormal axis, and obtain the angle value of the associated joint of the abnormal axis on the corresponding rotation plane.
[0168] For the embodiment of the present application, after the electronic device determines that there is an abnormal axis, it determines the associated joints of the abnormal axis and obtains the angle values of the associated joints of the abnormal axis on the corresponding rotation plane, thereby monitoring the movement of the associated joints to facilitate timely detection when the associated joints move abnormally or fail.
[0169] The above embodiment introduces an industrial robot data acquisition method from the perspective of method flow, and the following embodiment introduces an industrial robot data acquisition device from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.
[0170] The present application embodiment provides an industrial robot data acquisition device 20, such as Figure 7 As shown, the industrial robot data acquisition device 20 may specifically include:
[0171] The data acquisition module 201 is used to obtain the number of inspections of the welding robot and the fault level of each historical fault;
[0172] A first determination module 202 is used to determine a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level;
[0173] A second determination module 203 is used to obtain the current time, the first last maintenance time, and the number of welding times after the first last maintenance time, and determine the first time interval based on the current time and the first last maintenance time;
[0174] The vibration value acquisition module 204 is used to start acquiring the triaxial vibration value of the welding end of the welding robot during the welding process when the first time interval reaches the first current normal operation cycle and the number of welding times reaches the welding number threshold;
[0175] The first angle value acquisition module 205 is used to acquire the angle value of the joint of the welding robot on the corresponding rotation plane based on the three-axis vibration value.
[0176] An industrial robot data acquisition device 20 is disclosed in the embodiment of the present application, wherein after the data acquisition module 201 acquires the number of overhauls and fault levels of the welding robot, since the number of overhauls and the fault levels of the faults that have occurred can both characterize the working state and the degree of performance degradation of the welding robot, and the working state and the fault level affect the normal operating cycle and the normal welding number threshold of the welding robot after the most recent overhaul, the first determination module 202 can determine the first current normal operating cycle and the welding number threshold according to the number of overhauls and the fault level, and the second determination module 203 determines the first current normal operating cycle and the welding number threshold of the welding robot from the first last overhaul time to the current time. A time interval, if the first time interval reaches the first current normal operation cycle, and the number of welding times reaches the welding number threshold, it means that the possibility of failure or abnormality of the welding robot will increase thereafter, and the possibility of reduced stability of the welding robot during the welding process will increase. The vibration value acquisition module 204 acquires the three-axis vibration value of the welding end of the welding robot, so as to facilitate monitoring the stability and vibration of the welding robot. The first angle value acquisition module 205 then acquires the angle value of the rotating surface corresponding to the joint according to the three-axis vibration value, so as to facilitate analysis of the operation of the welding robot according to the three-axis vibration value and the angle value, timely discover anomalies and failures, and improve the monitoring effect.
[0177] In a possible implementation of the embodiment of the present application, when the first determination module 202 determines the first current normal operation cycle and the welding number threshold based on the maintenance number and the fault level, it is specifically used to:
[0178] determining an average fault level based on the fault levels;
[0179] Determine a first score based on the number of maintenance times, the average fault level, and the first weights corresponding to each;
[0180] Determine a target score interval where the first score is located from a plurality of preset score intervals, each preset score interval corresponding to a preset normal operating cycle and a preset welding number threshold;
[0181] The preset normal operation cycle and the preset welding number threshold of the target score interval are determined as the first current normal operation cycle and welding number threshold.
[0182] In a possible implementation of the embodiment of the present application, when the first angle value acquisition module 205 acquires the angle value of the joint of the welding robot on the corresponding rotation plane based on the three-axis vibration value, it is specifically used to:
[0183] Determine the vibration value variance corresponding to each of the three axes based on the three-axis vibration value;
[0184] If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, then the associated joint corresponding to the target axis is determined;
[0185] Get the angle value of the associated joint on the corresponding rotation plane during the welding process.
[0186] In a possible implementation manner of the embodiment of the present application, the historical fault corresponds to the joint where the historical fault occurs, and the device 20 further includes:
[0187] A third determination module is used to determine the average fault level of each joint and the number of fault occurrences of each joint based on historical faults;
[0188] A first score determination module, used to determine a second score for each joint based on an average fault level, a number of fault occurrences, and respective corresponding second weights;
[0189] an operation cycle determination module, configured to determine a second current normal operation cycle of each joint based on the second score;
[0190] a fourth determination module, for obtaining a second last maintenance time and a current time when each joint was last maintained, and determining a second time interval for each joint;
[0191] The second angle value acquisition module is used to acquire the angle value of the target joint on the corresponding rotation plane when there is a target joint whose second time interval reaches the corresponding second current normal operation cycle.
[0192] In a possible implementation of the embodiment of the present application, the device 20 further includes:
[0193] A drawing module, used for drawing an angle change diagram of the angle changing with time based on the angle value;
[0194] A closed area determination module, used to determine at least one closed area formed by a preset angle change graph and an angle change graph, wherein the preset angle change graph is an angle change graph of an associated joint changing over time during normal operation;
[0195] An area calculation module, used for calculating the sum of the areas of at least one closed area of each associated joint;
[0196] a second score determination module, configured to determine a third score for each associated joint based on the sum of the areas, the number of closed regions, and the respective corresponding coefficients;
[0197] The faulty joint determination module is used to determine the associated joint with the largest third score as the faulty joint.
[0198] In a possible implementation of the embodiment of the present application, the device 20 further includes:
[0199] A similarity calculation module is used to calculate the similarity between the angle change diagram of the faulty joint and a plurality of preset fault angle change diagrams, each preset fault angle change diagram is an angle change diagram of the joint when a fault occurs in the joint, and each angle change diagram corresponds to a preset fault;
[0200] A target fault determination module, used to determine the preset fault corresponding to the preset fault angle change diagram with the highest similarity as the target fault of the faulty joint;
[0201] The output module is used to output prompt information based on the faulty joint and the target fault.
[0202] In a possible implementation of the embodiment of the present application, the device 20 further includes:
[0203] A variance determination module, for continuing to determine the vibration value variances corresponding to the three axes of each welding process when there is no target axis whose vibration value variance reaches a preset variance threshold;
[0204] A judgment module, used to determine the variation trend graph of the vibration value variance corresponding to each of the three axes, and judge whether there is an abnormal axis based on the variation trend graph;
[0205] The third angle value acquisition module is used to determine the associated joint of the abnormal axis when there is an abnormal axis, and to obtain the angle value of the associated joint of the abnormal axis on the corresponding rotation plane.
[0206] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the industrial robot data acquisition device 20 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0207] An electronic device is provided in an embodiment of the present application, such as Figure 8 As shown, Figure 8 The electronic device 30 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation on the embodiments of the present application.
[0208] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0209] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.
[0210] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0211] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0212] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 8 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0213] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment. Compared with the related art, after obtaining the number of overhauls and fault levels of the welding robot in the embodiment of the present application, since the number of overhauls and the fault level of the fault can both characterize the working state and performance attenuation degree of the welding robot, and the working state and fault level affect the normal operating cycle and normal welding number threshold of the welding robot after the most recent overhaul, the first current normal operating cycle and welding number threshold can be determined according to the number of overhauls and the fault level, and the first time interval from the first last overhaul time to the current time of the welding robot is determined. If the first time interval reaches the first current normal operating cycle and the number of weldings reaches the welding number threshold, it means that the possibility of the welding robot failing or abnormal after this increases, and the possibility of the welding robot's stability decreasing during the welding process increases. The three-axis vibration value of the welding end of the welding robot is obtained, so as to facilitate monitoring the stability and vibration of the welding robot, and then the angle value of the rotating surface corresponding to the joint is obtained according to the three-axis vibration value, so as to facilitate analysis of the operation of the welding robot according to the three-axis vibration value and the angle value, timely discover abnormalities and faults, and improve the monitoring effect.
[0214] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0215] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for collecting data of an industrial robot, characterized in that: include: Obtain the number of inspections of the welding robot and the fault level of each historical fault; Determine a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level; Obtaining a current time, a first last maintenance time, and the number of welds after the first last maintenance time, and determining a first time interval based on the current time and the first last maintenance time; If the first time interval reaches the first current normal operation cycle, and the number of welding times reaches the welding number threshold, then start to obtain the three-axis vibration value of the welding end of the welding robot during the welding process; Acquire angle values of the joints of the welding robot on corresponding rotation planes based on the three-axis vibration values; The determining of the first current normal operation cycle and the welding number threshold based on the maintenance number and the fault level includes: determining an average fault level based on the fault levels; Determine a first score based on the number of inspections, the average fault level, and respective corresponding first weights; Determine a target score interval in which the first score is located from a plurality of preset score intervals, each preset score interval corresponding to a preset normal operating cycle and a preset welding number threshold; Determine a preset normal operation cycle and a preset welding number threshold of the target score interval as the first current normal operation cycle and the welding number threshold; The step of obtaining angle values of the joints of the welding robot on corresponding rotation planes based on the three-axis vibration values includes: Determine the vibration value variances corresponding to the three axes based on the three-axis vibration values; If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, then the associated joint corresponding to the target axis is determined; The angle value of the associated joint on the corresponding rotation plane during the welding process is obtained.
2. The industrial robot data collection method according to claim 1, characterized in that: The joint corresponding to the historical fault, the method further comprises: Determine an average fault level of each joint and a number of fault occurrences of each joint based on the historical faults; Determine a second score for each joint based on the average fault level, the number of fault occurrences, and the respective corresponding second weights; determining a second current normal operating cycle for each joint based on the second score; Obtaining the second last inspection time of each joint and the current time when each joint was last inspected, and determining the second time interval of each joint; If there is a target joint whose second time interval reaches the corresponding second current normal operation cycle, the angle value of the target joint on the corresponding rotation plane is obtained.
3. The industrial robot data collection method according to claim 1, characterized in that: The method further comprises: Draw an angle change graph of the angle changing over time based on the angle value; Determine at least one closed area formed by a preset angle variation graph and the angle variation graph, wherein the preset angle variation graph is an angle variation graph of the associated joint changing over time during normal operation; calculating a sum of the areas of the at least one closed region of each associated joint; determining a third score for each associated joint based on the sum of the areas, the number of enclosed regions, and the respective corresponding coefficients; The associated joint with the largest third score is determined as the faulty joint.
4. The industrial robot data collection method according to claim 3, characterized in that: The method further comprises: Calculating the similarity between the angle change graph of the faulty joint and a plurality of preset fault angle change graphs, each preset fault angle change graph is an angle change graph of the joint when a fault occurs in the joint, and each angle change graph corresponds to a preset fault; Determine the preset fault corresponding to the preset fault angle change graph with the highest similarity as the target fault of the faulty joint; Output prompt information based on the faulty joint and the target fault.
5. The industrial robot data collection method according to claim 1, characterized in that: The method further comprises: If there is no target axis whose vibration value variance reaches the preset variance threshold, then continue to determine the vibration value variances corresponding to the three axes of each welding process; Determine a variation trend graph of the vibration value variance corresponding to each of the three axes, and determine whether there is an abnormal axis based on the variation trend graph; If the abnormal axis exists, the associated joint of the abnormal axis is determined, and the angle value of the associated joint of the abnormal axis on the corresponding rotation plane is obtained.
6. An industrial robot data acquisition device, characterized in that: include: A data acquisition module is used to obtain the number of inspections of the welding robot and the fault level of each historical fault; A first determination module, configured to determine a first current normal operation cycle and a welding number threshold based on the maintenance number and the fault level; A second determination module is used to obtain a current time, a first last maintenance time, and the number of welding times after the first last maintenance time, and determine a first time interval based on the current time and the first last maintenance time; A vibration value acquisition module, configured to start acquiring the triaxial vibration value of the welding end of the welding robot during the welding process when the first time interval reaches the first current normal operation cycle and the number of welding times reaches the welding number threshold; A first angle value acquisition module, used to acquire angle values of the joints of the welding robot on corresponding rotation planes based on the three-axis vibration values; When the first determination module determines the first current normal operation cycle and the welding number threshold based on the maintenance number and the fault level, it is specifically used to: determining an average fault level based on the fault levels; Determine a first score based on the number of inspections, the average fault level, and respective corresponding first weights; Determine a target score interval in which the first score is located from a plurality of preset score intervals, each preset score interval corresponding to a preset normal operating cycle and a preset welding number threshold; Determine a preset normal operation cycle and a preset welding number threshold of the target score interval as the first current normal operation cycle and the welding number threshold; When the first angle value acquisition module acquires the angle value of the joint of the welding robot on the corresponding rotation plane based on the three-axis vibration value, it is specifically used to: Determine the vibration value variances corresponding to the three axes based on the three-axis vibration values; If there is a target axis among the three axes whose vibration value variance reaches a preset variance threshold, then the associated joint corresponding to the target axis is determined; The angle value of the associated joint on the corresponding rotation plane during the welding process is obtained.
7. An electronic device, characterized in that: It includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and is configured to be executed by the at least one processor, and the at least one application is used to execute an industrial robot data acquisition method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute the industrial robot data collection method according to any one of claims 1 to 5.
