Fault early warning method and device for production equipment, storage medium and program product

By collecting and analyzing image data and environmental data of production equipment, and calculating outliers, the problem of low fault judgment accuracy caused by limited sensor installation is solved and higher fault judgment accuracy is achieved.

CN118760116APending Publication Date: 2024-10-11CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410822363.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The accuracy of fault judgment of production equipment in the existing technology is low, mainly due to the limited installation of sensors, which results in insufficient data collection and affects the accuracy of fault judgment.

Method used

By collecting image data and environmental data in the production process of production equipment, the first abnormal value of the image data and the second abnormal value of the environmental data are calculated, and the abnormal value of the equipment fault is calculated by combining the two to perform fault judgment.

Benefits of technology

It improves the accuracy of equipment fault judgment, ensures the breadth of data collection, and improves the accuracy of data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760116A_ABST
    Figure CN118760116A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a fault early warning method and device for production equipment, a storage medium and a program product. The method comprises the following steps: collecting production product image data in a production process of production equipment; calculating a first abnormal value based on the image data, and judging whether the first abnormal value is greater than a preset product abnormal threshold value or not; if the first abnormal value is greater than a preset product abnormal threshold value, continuously collecting environmental data of the production equipment in the production process, and calculating a second abnormal value based on the environmental data; calculating and acquiring an equipment fault abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value; judging whether the equipment fault abnormal value is greater than or equal to a preset equipment fault threshold value; and if the equipment fault abnormal value is greater than or equal to a preset equipment fault threshold value, judging that the production equipment has an equipment fault, and performing fault early warning. The method is used for achieving the effect of improving the fault judgment accuracy of the production equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a fault warning method, equipment, storage medium and program product for production equipment. Background Art

[0002] With the development of big data, big data related technologies have been widely used in many fields. In the field of industrial production, the performance of production equipment can be analyzed by obtaining relevant data in the industrial production process and combining big data technology.

[0003] In the prior art, operating sensors are installed on production equipment to collect relevant data during the operation of the production equipment, and big data analysis is used to analyze the operation status of the production equipment and monitor equipment failures.

[0004] Since the installation of operating sensors in production equipment is limited, there are equipment components in actual applications that cannot be detected by operating sensors. From the perspective of data collection and detection of the equipment itself, there is insufficient data collection, which reduces the accuracy of equipment failure judgment during data analysis and affects the accuracy of equipment failure judgment. Summary of the invention

[0005] The embodiments of the present application provide a fault warning method, equipment, storage medium and program product for production equipment, so as to achieve the technical effect of improving the accuracy of equipment fault judgment.

[0006] In a first aspect, an embodiment of the present application provides a fault warning method for production equipment, comprising:

[0007] Collect product image data during the production process of production equipment;

[0008] Calculating a first abnormal value based on the image data, and determining whether the first abnormal value is greater than a preset product abnormality threshold;

[0009] If the first abnormal value is greater than the preset product abnormality threshold, continue to collect environmental data of the production equipment during the production process, and calculate the second abnormal value based on the environmental data;

[0010] Calculate and obtain an equipment failure abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value;

[0011] Determine whether the device failure abnormality value is greater than or equal to a preset device failure threshold;

[0012] If the equipment failure abnormal value is greater than or equal to the preset equipment failure threshold, it is determined that the production equipment has an equipment failure and a fault warning is issued.

[0013] In a possible implementation, collecting product image data during the production process of a production device includes:

[0014] Based on a preset time interval, collect production images and finished product images of production products in production equipment;

[0015] Performing pixel processing based on the production image and the corresponding finished product image, and respectively acquiring a first pixel set corresponding to the production image and a second pixel set corresponding to the finished product image as image data;

[0016] Collect environmental data of production equipment during the production process, including:

[0017] Based on a preset time interval, environmental data of the production equipment during the production process is collected; wherein the environmental data includes: at least one of ambient temperature, ambient humidity and gas concentration.

[0018] In a possible implementation, calculating a first outlier based on image data includes:

[0019] Based on the first pixel set and the second pixel set, a pixel difference between each pair of corresponding pixel points of the production image and the finished product image is calculated; wherein there is a one-to-one correspondence between the pixel points in the first pixel set and the second pixel set, and a pixel point pair is formed;

[0020] Determine whether the pixel difference of each pixel pair is greater than a preset pixel threshold;

[0021] If the pixel difference is greater than the preset pixel threshold, adding the pixel point pair whose pixel difference is greater than the preset pixel threshold to the third pixel set;

[0022] A first outlier calculation is performed based on the third pixel set and the image data.

[0023] In a possible implementation, performing a first outlier calculation based on the third pixel set and the image data includes:

[0024] Determine a pixel point pair as a central pixel point pair based on the third pixel set;

[0025] Based on the central pixel pair, the distance between each other pixel pair and the central pixel pair is calculated, and the relative distance between each other pixel pair is determined;

[0026] determining the length and width of the produced product based on the image data of the produced product;

[0027] The first outlier is calculated and determined based on the relative distance of each other pixel pair, the pixel difference, the length and the width of the produced product.

[0028] In a possible implementation, calculating the second outlier based on the environmental data includes:

[0029] Determine the number of types of environmental data based on the environmental data; and the value corresponding to each type of environmental data at each time node within a preset time interval;

[0030] Based on the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data in each time node, and the duration of the preset time interval, the second abnormal value is calculated and determined.

[0031] In a possible implementation, calculating and acquiring a device fault abnormal value corresponding to the production device based on the first abnormal value and the second abnormal value includes:

[0032] A result obtained by dividing the first abnormal value by the second abnormal value is calculated and determined as the equipment failure abnormal value.

[0033] In a second aspect, an embodiment of the present application provides a fault warning device for production equipment, comprising:

[0034] The first acquisition module is used to collect image data of products produced during the production process of the production equipment;

[0035] A first processing module, configured to calculate a first abnormal value based on the image data, and determine whether the first abnormal value is greater than a preset product abnormality threshold;

[0036] A second acquisition module is used to continue to collect environmental data of the production equipment during the production process when the first abnormal value is greater than a preset product abnormality threshold, and calculate a second abnormal value based on the environmental data;

[0037] A second processing module, configured to calculate and obtain an equipment fault abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value;

[0038] A first determination module is used to determine whether the equipment failure abnormality value is greater than or equal to a preset equipment failure threshold;

[0039] The second determination module is used to determine that there is an equipment failure in the production equipment and issue a fault warning when the equipment failure abnormal value is greater than or equal to a preset equipment failure threshold.

[0040] In a possible implementation manner, the first acquisition module is further configured to:

[0041] Based on a preset time interval, collect production images and finished product images of production products in production equipment;

[0042] Performing pixel processing based on the production image and the corresponding finished product image, and respectively acquiring a first pixel set corresponding to the production image and a second pixel set corresponding to the finished product image as image data;

[0043] Collect environmental data of production equipment during the production process, including:

[0044] Based on a preset time interval, environmental data of the production equipment during the production process is collected; wherein the environmental data includes: at least one of ambient temperature, ambient humidity and gas concentration.

[0045] In a possible implementation manner, the first processing module is further configured to:

[0046] Based on the first pixel set and the second pixel set, a pixel difference between each pair of corresponding pixel points of the production image and the finished product image is calculated; wherein there is a one-to-one correspondence between the pixel points in the first pixel set and the second pixel set, and a pixel point pair is formed;

[0047] Determine whether the pixel difference of each pixel pair is greater than a preset pixel threshold;

[0048] If the pixel difference is greater than the preset pixel threshold, adding the pixel point pair whose pixel difference is greater than the preset pixel threshold to the third pixel set;

[0049] A first outlier calculation is performed based on the third pixel set and the image data.

[0050] In a possible implementation manner, the first processing module is further configured to:

[0051] Determine a pixel point pair as a central pixel point pair based on the third pixel set;

[0052] Based on the central pixel pair, the distance between each other pixel pair and the central pixel pair is calculated, and the relative distance between each other pixel pair is determined;

[0053] determining the length and width of the produced product based on the image data of the produced product;

[0054] The first outlier is calculated and determined based on the relative distance of each other pixel pair, the pixel difference, the length and the width of the produced product.

[0055] In a possible implementation manner, the second acquisition module is further used to:

[0056] Determine the number of types of environmental data based on the environmental data; and the value corresponding to each type of environmental data at each time node within a preset time interval;

[0057] Based on the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data in each time node, and the duration of the preset time interval, the second abnormal value is calculated and determined.

[0058] In a possible implementation manner, the second processing module is further used for:

[0059] A result obtained by dividing the first abnormal value by the second abnormal value is calculated and determined as the equipment failure abnormal value.

[0060] In a third aspect, an embodiment of the present application provides a fault warning device for production equipment, including: a memory, a processor;

[0061] Memory stores computer-executable instructions;

[0062] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0063] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0064] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0065] The fault warning method, equipment, storage medium and program product of production equipment provided in the embodiment of the present application collect environmental data during the operation of the equipment and image data of related production products; calculate a first abnormal value based on the image data of the product, and when the first abnormal value exceeds the preset product abnormal threshold, calculate a second abnormal value corresponding to the environmental data; and calculate the equipment fault abnormal value based on the first abnormal value and the second abnormal value; thereby judging the equipment fault based on the equipment fault abnormal value. A comprehensive analysis is performed in combination with the image data related to the production products and the environmental data corresponding to the production equipment, and equipment fault judgment is performed at the production product level and the production environment level, which ensures the extensiveness of data collection while improving the accuracy of data analysis, thereby achieving the technical effect of improving the accuracy of equipment fault judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0067] Figure 1 Schematic diagram of the process of the fault warning method of the production equipment provided in the embodiment of the present application Figure 1 ;

[0068] Figure 2 A schematic diagram of the structure of a fault warning system for production equipment provided in an embodiment of the present application;

[0069] Figure 3 The process diagram of the failure of the production equipment and the police incident provided for the embodiment of the invention Figure 2 ;

[0070] Figure 4 Schematic diagram of the process of the fault warning method of the production equipment provided in the embodiment of the present application Figure 3 ;

[0071] Figure 5 A schematic diagram of the structure of a fault warning device for production equipment provided in this application;

[0072] Figure 6 Hardware structure diagram of the fault warning device for production equipment provided in this application.

[0073] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0074] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0075] In the prior art, a large number of operation sensors are installed on the production equipment to collect the operation data of the production equipment; and the operation status of the production equipment is analyzed through big data analysis technology, so as to monitor and warn the failure of the production equipment. Since the installation of operation sensors in production equipment is limited, there are equipment components that cannot be detected by operation sensors in actual applications; from the level of data collection and detection of the equipment itself, there is insufficient data collection, which reduces the accuracy of equipment failure judgment during data analysis, thereby affecting the accuracy of equipment failure judgment.

[0076] In response to the above problems, the fault warning method for production equipment provided by this application can judge equipment faults at the production product level and the production environment level, while ensuring the extensiveness of data collection, improving the accuracy of data analysis, thereby improving the accuracy of equipment fault judgment. The specific method is mainly to collect environmental data during the operation of the equipment and image data of related production products; calculate the first abnormal value based on the image data of the product, and when the first abnormal value exceeds the preset product abnormality threshold, calculate the second abnormal value corresponding to the environmental data; and calculate the equipment fault abnormal value based on the first abnormal value and the second abnormal value; thus, the technical means of judging equipment faults based on equipment fault abnormal values ​​solves the technical problem of low accuracy in judging production equipment faults in the prior art.

[0077] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0078] Figure 1 Schematic diagram of the process of the fault warning method of the production equipment provided in the embodiment of the present application Figure 1 .like Figure 1 As shown, the method includes:

[0079] S101, collecting product image data during the production process of production equipment.

[0080] Optionally, a specific implementation method of collecting product image data may be:

[0081] Based on a preset time interval, collect production images and finished product images of production products in production equipment;

[0082] Pixelation processing is performed based on the production image and the corresponding finished product image, and a first pixel set corresponding to the production image and a second pixel set corresponding to the finished product image are respectively obtained as image data.

[0083] In this embodiment, the image data collection can be performed by installing a product production image collection component at the output end of the production line corresponding to the production product to achieve preliminary collection of the image data of the production product.

[0084] Among them, one implementation method of pixelating the production image and the finished product image may be:

[0085] The pixel values ​​of each pixel point of the production image and the finished product image are extracted based on the image processing software, and are determined as a first pixel set and a second pixel set. In this embodiment, the pixel value extraction method can be: using pixel value extraction software, such as: Image Magick, Pillow, OpenCV, GNU Image Processing Program (GIMP) or Adobe Image Processing Software (Adobe Photoshop).

[0086] S102: Calculate a first abnormal value based on the image data, and determine whether the first abnormal value is greater than a preset product abnormality threshold.

[0087] In this embodiment, the first abnormal value is used to characterize the difference between the production product produced by the production equipment and the finished product. When the first abnormal value is less than or equal to the preset product abnormality threshold, it indicates that the production equipment is currently in normal operation.

[0088] In this embodiment, the calculation of the first abnormal value can be based on historical data or sample data to build a product production judgment model, and the image data is imported into the product production judgment model to calculate the first abnormal value.

[0089] S103: If the first abnormal value is greater than a preset product abnormality threshold, continue to collect environmental data of the production equipment during the production process, and calculate a second abnormal value based on the environmental data.

[0090] In this embodiment, environmental data is obtained during the product production process through an environmental data collection terminal installed around the production equipment or on the production equipment.

[0091] Optionally, a specific implementation method of environmental data collection may be:

[0092] Based on a preset time interval, environmental data of the production equipment during the production process is collected; wherein the environmental data includes: at least one of ambient temperature, ambient humidity and gas concentration.

[0093] In this embodiment, the calculation of the second abnormal value can be based on historical data or sample data to build an environmental abnormality judgment model, and the environmental data is imported into the environmental abnormality judgment model to calculate the second abnormal value.

[0094] S104. Calculate and obtain an equipment failure abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value.

[0095] In this embodiment, the calculation of the equipment fault abnormal value is implemented based on the equipment fault judgment value calculation strategy. The design of the equipment fault judgment value calculation strategy is determined based on the product production judgment model corresponding to the first abnormal value and the environmental abnormality judgment model corresponding to the second abnormal value.

[0096] S105: Determine whether the device failure abnormality value is greater than or equal to a preset device failure threshold.

[0097] In this embodiment, when the equipment failure abnormal value is less than the preset equipment failure threshold, it indicates that there is no failure problem in the current production equipment, and there is no need to perform a failure warning.

[0098] S106. If the equipment failure abnormal value is greater than or equal to the preset equipment failure threshold, it is determined that the production equipment has an equipment failure, and a fault warning is issued.

[0099] For example, Figure 2 A fault warning system for production equipment provided in an embodiment of the present application comprises: a data acquisition module, a product production judgment module, an environmental anomaly judgment module, an equipment fault judgment module, an equipment fault warning module and a control module.

[0100] The data acquisition module is used to collect image data of the produced products through the product production image acquisition component, and at the same time obtain environmental data during the product production process through the environmental data acquisition terminal.

[0101] The product production judgment module is used to construct a product production judgment model, and import the acquired image data of the produced products into the product production judgment model to calculate the product abnormal value.

[0102] The environmental anomaly module is used to build an environmental anomaly judgment model, and import the acquired environmental data into the environmental anomaly judgment model to calculate the environmental anomaly value.

[0103] The equipment fault judgment module is used to import the calculated first abnormal value and second abnormal value into the equipment fault judgment value calculation strategy to calculate the equipment fault abnormal value.

[0104] The equipment failure warning module is used to determine whether the equipment has failed based on the calculated equipment failure abnormal value, and to issue an equipment failure warning based on the equipment failure judgment result.

[0105] The control module is used to control the operation of the data acquisition module, product production judgment module, environmental anomaly judgment module, equipment fault judgment module and equipment fault early warning module.

[0106] The fault warning method for production equipment provided in the embodiment of the present application collects environmental data during the operation of the equipment and image data of related production products; calculates a first abnormal value based on the image data of the product, and when the first abnormal value exceeds a preset product abnormal threshold, calculates a second abnormal value corresponding to the environmental data; and calculates the equipment fault abnormal value based on the first abnormal value and the second abnormal value; thereby judging the equipment fault based on the equipment fault abnormal value. A comprehensive analysis is performed in combination with the image data related to the production products and the environmental data corresponding to the production equipment, and equipment fault judgment is performed at the production product level and the production environment level, which ensures the extensiveness of data collection while improving the accuracy of data analysis, thereby achieving the technical effect of improving the accuracy of equipment fault judgment.

[0107] Figure 3 The process diagram of the failure of the production equipment and the police incident provided for the embodiment of the invention Figure 2 In the above Figure 1 Based on the embodiment shown, Figure 3 As shown, a specific implementation method of calculating the first abnormal value in the above step S102 includes:

[0108] S301. Calculate the pixel difference between each pair of corresponding pixels in the production image and the finished product image based on the first pixel set and the second pixel set.

[0109] In this embodiment, there is a one-to-one correspondence between the pixels in the first pixel set and the second pixel set, and they form a pixel pair.

[0110] In this embodiment, it should be noted that the pixel value of each pixel point of the production image and the pixel value of each pixel point of the finished image are acquired under the same scale and the same original camera. Therefore, there is a one-to-one correspondence between the pixel points in the production image and the pixel points in the finished image, and the corresponding pixel points can form a pixel pair.

[0111] S302: Determine whether the pixel difference of each pixel pair is greater than a preset pixel threshold.

[0112] In this embodiment, the pixel difference can be obtained using a simple subtraction operation. The pixel difference is used to characterize the difference between the production image and the finished product image. When the pixel difference exceeds the preset rubber and plastic threshold, it indicates that this pixel pair can be used to characterize the image difference; if the pixel difference does not exceed the preset pixel threshold, it indicates that the pixel pair is not representative and cannot be used to characterize the image difference.

[0113] S303: If the pixel difference is greater than the preset pixel threshold, add the pixel point pairs whose pixel difference is greater than the preset pixel threshold to the third pixel set.

[0114] In this embodiment, the third pixel set stores all pixel pairs in the production image and the finished product image whose pixel difference exceeds a preset pixel threshold.

[0115] Exemplarily, this embodiment obtains grayscale images corresponding to the production image and the finished product image based on OpenCV; determines the grayscale values ​​in the two grayscale images at the same coordinates; calculates the absolute value of the difference between the two grayscale values, and determines it as the pixel difference between the pixel points at the same coordinates of the production image and the finished product image; determines whether the pixel difference exceeds a preset pixel threshold, and if so, determines the two pixel points corresponding to the pixel difference as a pixel pair, and adds the pixel pair to the third pixel set.

[0116] S304: Determine a pixel point pair as a central pixel point pair based on the third pixel set.

[0117] In this embodiment, the central pixel pair is any pixel pair in the third pixel set, and the central pixel pair can be determined by random selection. The central pixel pair is a suspected central pixel pair, which does not mean that the central pixel pair is the actual pixel center, but is only used as a reference value for random selection.

[0118] S305: Calculate the distance between each other pixel pair and the central pixel pair based on the central pixel pair, and determine the distance as the relative distance of each other pixel pair.

[0119] In this embodiment, the relative distance between the pixel pairs is related to the distance between the coordinates of the pixel pairs in the production image or the finished product image.

[0120] Exemplarily, the production image and the finished product image are two images of the same size and resolution, and the pixel pair is a combination of two pixels in the same coordinates in the two images. In the third pixel set, the relative distance between other pixel pairs and the central pixel pair can be calculated based on the original coordinate values ​​of the two pixel pairs, thereby obtaining the relative distance between the two pixel pairs.

[0121] S306: Determine the length and width of the product based on the image data of the product.

[0122] In this embodiment, the length and width of the manufactured product may be acquired based on product information of the manufactured product or based on image data.

[0123] For example, if the length and width of a manufactured product are to be obtained based on image data, the scale and resolution corresponding to the production image or the finished product image are first obtained; and the image size corresponding to the manufactured product is obtained according to the image measurement method, and calculation is performed based on the image size, scale and resolution to obtain the length and width of the manufactured product.

[0124] S307: Calculate and determine a first abnormal value based on the relative distance of each other pixel pair, the pixel difference, and the length and width of the produced product.

[0125] In this embodiment, the extreme of the first abnormal value is determined by constructing an environmental abnormality judgment model, wherein the formula (1) corresponding to the environmental abnormality judgment model is:

[0126]

[0127] Wherein, min() is the minimum value of substituting any pixel pair in the third pixel set into the formula in brackets, n is the number of pixel pairs, c is i is the pixel value of the corresponding pixel in the i-th pixel pair, c′ i is the pixel value of the corresponding pixel in the finished image in the i-th pixel pair, J i is the distance between the ith pixel pair and the center pixel pair, L is the length of the product, and D is the width of the product.

[0128] In this embodiment, after calculating the first abnormal value, it is necessary to compare the first abnormal value with the preset product abnormality threshold to determine whether it is necessary to calculate the second abnormal value. The preset product abnormality threshold can be obtained by: performing model training based on preset sample data, building an environmental abnormality judgment model, and determining the preset product abnormality threshold by manual selection.

[0129] Exemplarily, the preset sample data is 5000 sets of image data and the product category corresponding to each set of image data, where the product categories include: high-quality products and low-quality products. The product abnormality value is calculated based on the 5000 sets of image data and the environmental abnormality judgment model, each set of data corresponds to a product abnormality value, and each product abnormality value corresponds to a product category; a product abnormality value is determined as the preset product abnormality threshold through the distinction point between high-quality products and low-quality products.

[0130] In this embodiment, by obtaining a production image and a finished product image of a production product, and using the difference between the images to obtain the corresponding pixel difference, the pixel point pairs whose pixel difference can be used to characterize the image difference are determined as a third pixel set; a first abnormal value is calculated based on the third pixel set and the length and width of the production product, a judgment is made based on the first abnormal value, and when the first abnormal value is less than a preset product abnormality threshold, it is determined that the current production equipment is in a supporting operation state; thereby, equipment failure monitoring is performed based on the level of production products.

[0131] Figure 4 Schematic diagram of the process of the fault warning method of the production equipment provided in the embodiment of the present application Figure 2 In the above Figure 1and Figure 3 Based on the embodiment shown, Figure 4 As shown, a specific implementation method of calculating the second abnormal value in step S103 and calculating the equipment failure abnormal value in step S105 includes:

[0132] S401, determining the number of types of environmental data based on environmental data; and the value corresponding to each type of environmental data at each time node within a preset time interval.

[0133] In this embodiment, the number of types of environmental data indicates the type of environmental data used for early warning of production equipment failure, including at least one of ambient temperature, ambient humidity, and gas concentration. Each type of environmental data is collected comprehensively in chronological order and can be used to characterize the changing trends of various environmental data during the operation of the production equipment.

[0134] For example, the types of environmental data collected include: ambient temperature, ambient humidity, oxygen concentration, carbon dioxide concentration, and hydrogen sulfide concentration; and are stored in the environmental data list in the form of a dictionary. The unit value used for each gas is consistent, and the unit value of the data obtained at different time points is also consistent.

[0135] S402, calculate and determine the second abnormal value based on the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data in each time node, and the duration of the preset time interval.

[0136] In this embodiment, an environmental anomaly judgment model is first constructed, and the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data at each time node, and the duration of the preset time interval are input into the environmental anomaly judgment model to obtain the calculated second anomaly value.

[0137] Among them, the construction formula of the environmental anomaly judgment model is formula (2) and (3), specifically:

[0138]

[0139] Among them, m is the type of production environment data, T is the duration of the preset time interval, dt is the time integral, and y jt is the value of the j-th environmental data type at time t, is the preset standard data of the jth environmental data type at time t, k j is the preset weight of the jth environmental data type.

[0140] S403: Calculate a result obtained by dividing the first abnormal value by the second abnormal value, and determine the result as an equipment failure abnormal value.

[0141] In this embodiment, the calculation formula (4) of the equipment fault abnormal value can be obtained based on the calculation formula of the first abnormal value and the second abnormal value, which is specifically:

[0142]

[0143] Where Z represents the device failure abnormal value, min() is the minimum value of any pixel pair in the third pixel set substituted into the formula in brackets, n is the number of pixel pairs, c i is the pixel value of the corresponding pixel in the i-th pixel pair, c i ′ is the pixel value of the corresponding pixel in the finished image in the i-th pixel pair, J i is the distance between the ith pixel pair and the center pixel pair, L is the length of the product, and D is the width of the product. m is the type of production environment data, T is the duration of the preset time interval, dt is the time integral, and y jt is the value of the j-th environmental data type at time t, is the preset standard data of the jth environmental data type at time t, k j is the preset weight of the jth environmental data type.

[0144] In this embodiment, the preset weight corresponding to each type of environmental data and the preset device failure threshold value may be determined as follows:

[0145] 5000 sets of preset image data and preset environmental data are obtained, and each set of data is manually judged for equipment failure. The preset image data and preset environmental data are substituted into formula (4) to calculate the equipment failure abnormal value. The calculated equipment failure abnormal value and fault classification result are imported into the fitting software, and the preset weight of the jth preset environmental data type that meets the judgment accuracy and the value of the equipment failure abnormal threshold are output.

[0146] In this embodiment, by collecting environmental data, calculating the second abnormal value based on the preset weight of each environmental data and the preset standard value of each environmental data, and calculating the equipment failure abnormal value based on the first abnormal value and the second abnormal value, the fault monitoring and early warning of the production equipment are realized based on the production products and the production environment, thereby improving the accuracy of the production equipment fault judgment.

[0147] Figure 5 A schematic diagram of the structure of the fault warning device for the production equipment provided in this application, such as Figure 5 As shown, the fault warning device 50 for production equipment provided in this embodiment includes:

[0148] The first acquisition module 501 is used to collect image data of products produced during the production process of the production equipment;

[0149] A first processing module 502 is used to calculate a first abnormal value based on the image data, and determine whether the first abnormal value is greater than a preset product abnormality threshold;

[0150] The second acquisition module 503 is used to continue to collect environmental data of the production equipment during the production process and calculate the second abnormal value based on the environmental data when the first abnormal value is greater than the preset product abnormality threshold;

[0151] The second processing module 504 is used to calculate and obtain an equipment fault abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value;

[0152] The first determination module 505 is used to determine whether the device failure abnormality value is greater than or equal to a preset device failure threshold;

[0153] The second determination module 506 is used to determine that there is an equipment failure in the production equipment and issue a fault warning when the equipment failure abnormality value is greater than or equal to a preset equipment failure threshold.

[0154] In a possible implementation, the first acquisition module 501 is further configured to:

[0155] Based on a preset time interval, collect production images and finished product images of production products in production equipment;

[0156] Performing pixel processing based on the production image and the corresponding finished product image, and respectively acquiring a first pixel set corresponding to the production image and a second pixel set corresponding to the finished product image as image data;

[0157] Collect environmental data of production equipment during the production process, including:

[0158] Based on a preset time interval, environmental data of the production equipment during the production process is collected; wherein the environmental data includes: at least one of ambient temperature, ambient humidity and gas concentration.

[0159] In a possible implementation, the first processing module 502 is further configured to:

[0160] Based on the first pixel set and the second pixel set, a pixel difference between each pair of corresponding pixel points of the production image and the finished product image is calculated; wherein there is a one-to-one correspondence between the pixel points in the first pixel set and the second pixel set, and a pixel point pair is formed;

[0161] Determine whether the pixel difference of each pixel pair is greater than a preset pixel threshold;

[0162] If the pixel difference is greater than the preset pixel threshold, adding the pixel point pair whose pixel difference is greater than the preset pixel threshold to the third pixel set;

[0163] A first outlier calculation is performed based on the third pixel set and the image data.

[0164] In a possible implementation, the first processing module 502 is further configured to:

[0165] Determine a pixel point pair as a central pixel point pair based on the third pixel set;

[0166] Based on the central pixel pair, the distance between each other pixel pair and the central pixel pair is calculated, and the relative distance between each other pixel pair is determined;

[0167] determining the length and width of the produced product based on the image data of the produced product;

[0168] The first outlier is calculated and determined based on the relative distance of each other pixel pair, the pixel difference, the length and the width of the produced product.

[0169] In a possible implementation, the second acquisition module 503 is further configured to:

[0170] Determine the number of types of environmental data based on the environmental data; and the value corresponding to each type of environmental data at each time node within a preset time interval;

[0171] Based on the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data in each time node, and the duration of the preset time interval, the second abnormal value is calculated and determined.

[0172] In a possible implementation, the second processing module 504 is further configured to:

[0173] A result obtained by dividing the first abnormal value by the second abnormal value is calculated and determined as the equipment failure abnormal value.

[0174] The fault warning device for production equipment provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.

[0175] Figure 6 The hardware structure diagram of the fault warning device of the production equipment provided in this application. Figure 6 As shown, the fault warning device 60 of the production equipment provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device 60 also includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus 604.

[0176] In a specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, so that at least one processor 601 executes the above method.

[0177] The specific implementation process of the processor 601 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0178] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0179] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0180] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0181] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0182] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0183] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0184] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0185] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0186] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0187] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0188] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0189] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0190] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A fault early warning method for production equipment, characterized in that: include: Collect product image data during the production process of production equipment; Calculating a first abnormal value based on the image data, and determining whether the first abnormal value is greater than a preset product abnormality threshold; If the first abnormal value is greater than the preset product abnormality threshold, continue to collect environmental data of the production equipment during the production process, and calculate the second abnormal value based on the environmental data; Calculate and obtain an equipment failure abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value; Determine whether the device failure abnormality value is greater than or equal to a preset device failure threshold; If the equipment failure abnormal value is greater than or equal to a preset equipment failure threshold, it is determined that the production equipment has an equipment failure, and a failure warning is issued.

2. The method according to claim 1, characterized in that The collecting of product image data during the production process of the production equipment includes: Based on a preset time interval, collecting production images and finished product images of the production products in the production equipment; Performing pixelation processing based on the production image and the corresponding finished product image, and respectively acquiring a first pixel set corresponding to the production image and a second pixel set corresponding to the finished product image as the image data; The collecting of environmental data of the production equipment during the production process includes: Based on the preset time interval, environmental data of the production equipment during the production process is collected; wherein the environmental data includes: at least one of ambient temperature, ambient humidity and gas concentration.

3. The method according to claim 2, characterized in that The calculating of the first outlier value based on the image data comprises: Based on the first pixel set and the second pixel set, calculating the pixel difference between each pair of corresponding pixel points in the production image and the finished product image; wherein there is a one-to-one correspondence between the pixel points in the first pixel set and the second pixel set, and they form a pixel point pair; Determine whether the pixel difference of each of the pixel pairs is greater than a preset pixel threshold; If the pixel difference is greater than a preset pixel threshold, adding the pixel point pair whose pixel difference is greater than the preset pixel threshold to a third pixel set; A first outlier calculation is performed based on the third pixel set and the image data.

4. The method according to claim 3, characterized in that The first outlier calculation based on the third pixel set and the image data includes: Determine a pixel point pair as a central pixel point pair based on the third pixel set; Based on the central pixel pair, the distance between each other pixel pair and the central pixel pair is calculated, and determined as the relative distance of each other pixel pair; determining a length and a width of the production product based on the image data of the production product; A first abnormal value is calculated and determined based on the relative distance of each other pixel pair, the pixel difference, the length and the width of the produced product.

5. The method according to claim 4, characterized in that The calculating of the second abnormal value based on the environmental data comprises: Determine the number of types of the environmental data based on the environmental data; and the value corresponding to each type of environmental data at each time node within the preset time interval; The second abnormal value is calculated and determined based on the preset standard value of each type of environmental data, the preset weight of each type of environmental data, the value corresponding to each type of environmental data in each time node, and the duration of the preset time interval.

6. The method according to claim 5, characterized in that The calculating and acquiring the equipment fault abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value includes: A result obtained by dividing the first abnormal value by the second abnormal value is calculated and determined as the equipment failure abnormal value.

7. A fault warning device for production equipment, characterized in that: include: The first acquisition module is used to collect image data of products produced during the production process of the production equipment; A first processing module, configured to calculate a first abnormal value based on the image data, and determine whether the first abnormal value is greater than a preset product abnormality threshold; A second acquisition module, configured to continue to collect environmental data of the production equipment during the production process and calculate a second abnormal value based on the environmental data when the first abnormal value is greater than a preset product abnormality threshold; A second processing module, configured to calculate and obtain an equipment fault abnormal value corresponding to the production equipment based on the first abnormal value and the second abnormal value; A first determination module is used to determine whether the device failure abnormality value is greater than or equal to a preset device failure threshold; The second determination module is used to determine that there is an equipment failure in the production equipment and issue a fault warning when the equipment failure abnormal value is greater than or equal to a preset equipment failure threshold.

8. A fault warning device for production equipment, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.

Citation Information

Cited By

  • Abnormality reminding method and device based on odor, equipment, medium and program product

    CN119375430A