Plate production line digital twinning construction method and system
By acquiring images and sensor data from the production line, performing target extraction and anomaly identification, generating abnormal pictures, and updating the digital twin model, it solves the problem of non-professionals being unable to understand the abnormal status of the equipment, and improves response capabilities and production line management efficiency.
Patent Information
- Application Number
- CN202411084904.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-08-08
AI Technical Summary
In the existing technology, when digital twin models are used for equipment monitoring, non-professionals cannot specifically understand the abnormal status of the equipment, resulting in low response capabilities and processing efficiency.
By acquiring images and sensor data from the production line, target extraction and anomaly identification are performed, abnormal pictures are generated, and the digital twin model is updated to ensure that the model accurately reflects the abnormal status of the equipment.
It improves the response ability and processing efficiency of non-professionals to abnormal situations, improves the monitoring and management capabilities of the production line, optimizes the production process, reduces costs and enhances safety.
Smart Images

Figure CN118607267A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and system for constructing a digital twin of a panel production line. Background Art
[0002] Data twin models can monitor the status of physical systems in real time and provide the latest operational information, helping operators stay informed about the operational status of production lines or equipment. However, existing technologies typically display monitoring data through simulated production lines and utilize user interfaces for data display and analysis. When data anomalies occur, the system issues an alarm. However, these anomaly alerts alone prevent professionals from deeply analyzing the data and identifying specific abnormal equipment conditions. Non-professionals can only understand the presence of abnormal data without a detailed understanding of the abnormal equipment status, which reduces their ability to respond to and handle abnormal situations efficiently. This limitation can lead to delays in equipment maintenance and troubleshooting, impacting overall production efficiency. Summary of the Invention
[0003] The main purpose of the embodiments of the present invention is to provide a method and system for constructing a digital twin of a panel production line, aiming to solve the problem in related technologies that when using digital twin models for equipment monitoring, non-professionals can only know that there is abnormal data but cannot specifically understand the abnormal status of the equipment, which reduces the non-professionals' response ability and processing efficiency to abnormal situations.
[0004] In a first aspect, an embodiment of the present invention provides a method for constructing a digital twin of a panel production line, comprising:
[0005] Obtaining a first image corresponding to a first target plate obtained on a target production line and a second image corresponding to a second target plate obtained on the target production line, and obtaining first sensor data corresponding to data detection performed by a plurality of initial sensors in the target production line;
[0006] Performing target extraction on the first image to obtain first target information and performing target extraction on the second image to obtain second target information, and determining first abnormality information corresponding to a target component based on the first target information and the second target information;
[0007] Performing abnormal data identification on the first sensor data to obtain second sensor data, and filtering the data from the initial sensor data based on the second sensor data to obtain second abnormal information;
[0008] Determining a corresponding abnormal device in the target production line according to the first abnormal information and the second abnormal information;
[0009] generating an abnormal image corresponding to the abnormal device according to the first abnormal information and the second abnormal information;
[0010] A digital twin of the target production line is constructed based on the abnormal image to obtain a real state model corresponding to the target production line.
[0011] In a second aspect, an embodiment of the present invention provides a digital twin construction system for a panel production line, including:
[0012] a data acquisition module, configured to obtain a first image corresponding to a first target plate obtained on a target production line and a second image corresponding to a second target plate obtained on the target production line, and obtain first sensor data corresponding to data detection performed by a plurality of initial sensors on the target production line;
[0013] an abnormality recognition module, configured to perform target extraction on the first image to obtain first target information and perform target extraction on the second image to obtain second target information, and determine first abnormality information corresponding to a target component based on the first target information and the second target information;
[0014] an abnormality screening module, configured to identify abnormal data on the first sensor data to obtain second sensor data, and to screen the initial sensor data based on the second sensor data to obtain second abnormality information;
[0015] an equipment determination module, configured to determine a corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information;
[0016] an image generation module, configured to generate an abnormal image corresponding to the abnormal device according to the first abnormal information and the second abnormal information;
[0017] A model construction module is used to construct a digital twin of the target production line based on the abnormal image to obtain a real state model corresponding to the target production line.
[0018] An embodiment of the present invention provides a method and system for constructing a digital twin of a panel production line. The method comprises: acquiring a first image corresponding to a first target panel and a second image corresponding to a second target panel in a target production line; collecting first sensor data from multiple initial sensors in the target production line; performing target extraction on the first image to obtain first target information; and performing target extraction on the second image to obtain second target information. Based on the first target information and the second target information, first abnormality information of the target component is determined. Abnormal data identification is then performed on the first sensor data to obtain second sensor data. The initial sensor data is then filtered based on the second sensor data to obtain second abnormality information. Based on the first and second abnormality information, abnormal equipment in the target production line is identified, abnormal images reflecting the abnormal state are generated, and these abnormal images are used to update the digital twin model of the production line. A digital twin model is then constructed based on the updated abnormal images to obtain a true state model, ensuring that the true state model accurately reflects the actual operating state and abnormal conditions of the target production line. This constructed true state model facilitates real-time monitoring and management of the production line by non-professionals. By integrating image and sensor data, this method can accurately identify equipment abnormalities, improving the efficiency of fault detection and maintenance. Accurate digital twin models enhance production management, helping to optimize production processes, reduce costs, and enhance safety. Updated digital twin models allow non-professionals to more clearly understand equipment anomalies, thereby improving their ability to respond and handle them more efficiently. This approach also effectively addresses the issue of non-professionals lacking a detailed understanding of equipment anomalies when using digital twin models for equipment monitoring, thereby improving overall production line monitoring and management capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0020] Figure 1 A schematic diagram of a process for constructing a digital twin of a panel production line provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of the module structure of a digital twin construction system for a panel production line provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort shall fall within the scope of protection of the present invention.
[0023] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.
[0024] It should be understood that the terms used in this specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0025] Embodiments of the present invention provide a method and system for constructing a digital twin of a panel production line. The method can be applied to a terminal device, such as a tablet computer, laptop computer, desktop computer, personal digital assistant, or wearable device. The terminal device can also be a server or a server cluster.
[0026] The following embodiments of the present invention are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.
[0027] Please refer to Figure 1 , Figure 1 A schematic flow chart of a method for constructing a digital twin of a panel production line provided in an embodiment of the present invention.
[0028] like Figure 1 As shown, the panel production line digital twin construction method includes steps S101 to S106.
[0029] Step S101: obtaining a first image corresponding to a first target plate obtained on a target production line and a second image corresponding to a second target plate obtained on the target production line, and obtaining first sensor data corresponding to data detection performed by multiple initial sensors in the target production line.
[0030] For example, a camera or image acquisition device needs to be installed on the target production line to ensure that the camera is positioned correctly so as to capture the target plate obtained on the target production line, thereby obtaining a first image corresponding to the first target plate produced at the current moment and a second image corresponding to the second target plate produced at the previous moment or the next moment.
[0031] Exemplarily, multiple initial sensors (such as temperature sensors, pressure sensors, displacement sensors, etc.) are installed in the target production line, and then different equipment on the target production line is monitored by the multiple initial sensors to obtain corresponding first sensor data under the multiple initial sensors.
[0032] For example, the operating parameters and status of various types of plate processing equipment (cutting saws, edge banding machines, drilling machines, robots, automatic roller lines, transfer lines, belt lines) on the target production line and the data of the currently executed order production tasks (plate size, order, processing technology) are obtained through multiple initial sensors, that is, the corresponding first sensor data is obtained, and then the first sensor data corresponding to the data detection of multiple initial sensors in the target production line is obtained through the corresponding interface.
[0033] It should be noted that after obtaining the first sensor data, the first image and the second image, all the collected data need to be stored in the database, so that big data processing tools can be used to clean, analyze and model, to provide support for the subsequent creation of the real state model. Furthermore, the digital twin construction system of the panel production line also includes a data storage module for obtaining the first sensor data, the first image and the second image, and all the collected data need to be stored in the database, so that big data processing tools can be used to clean, analyze and model.
[0034] In addition, after obtaining the first sensor data, the first image, and the second image, the above data need to be cleaned and analyzed to provide support for subsequent abnormal information identification.
[0035] Step S102: performing target extraction on the first image to obtain first target information and performing target extraction on the second image to obtain second target information, and determining first abnormality information corresponding to the target component according to the first target information and the second target information.
[0036] For example, a contour detection algorithm (such as findContours in OpenCV) is used to identify and extract the contour of the target in the first image, and then image segmentation techniques (such as threshold segmentation and region growing) are used to separate the target from the background to obtain first target information. Similarly, a contour detection algorithm (such as findContours in OpenCV) is used to identify and extract the contour of the target in the second image, and then image segmentation techniques (such as threshold segmentation and region growing) are used to separate the target from the background to obtain second target information.
[0037] Exemplarily, when there is an abnormality in the target component, the same target will exist in the same position in the first image and the second image, and then the first contour information and first position information of the first target information in the first image are determined, and the second contour information and second position information of the second target information in the second image are determined, and then the first distance information between the first position information and the second position information is calculated, and the second distance information between the first contour information and the second contour information is compared, and then the first distance information and the second distance information are fused to obtain the target distance information, so that when the target distance information is less than the preset distance, it is determined that there is an abnormality in the target component, and the abnormal position corresponding to the target component is determined according to the first target information and the second target information, and then the abnormal position is determined as the first abnormal information corresponding to the target component.
[0038] In some embodiments, the target extraction on the first image to obtain first target information and the target extraction on the second image to obtain second target information include: grayscale processing on the first image to obtain a first grayscale image, and denoising processing on the first grayscale image to obtain a first denoised image; performing consistency calculation on the first grayscale image and the first denoised image to determine first related information corresponding to different processing when adjacent coordinates in the first image; obtaining first adjacent pixel information corresponding to any first pixel information in the first grayscale image, and determining second related information corresponding to the same processing when different coordinates in the first image are determined based on the first pixel information and the first adjacent pixel information; determining first association information between adjacent pixels in the first image based on the first related information and the second related information; constructing a first fuzzy parameter based on the first association information, and performing pixel clustering on the first grayscale image based on the first fuzzy parameter to obtain a first clustering result; A clustering result is used to extract the target from the first image to obtain the first target information; grayscale processing is performed on the second image to obtain a second grayscale image, and noise reduction processing is performed on the second grayscale image to obtain a second noise reduction image; consistency calculation is performed on the second grayscale image and the second noise reduction image to determine the third related information corresponding to different processing when adjacent coordinates in the second image; second adjacent pixel information corresponding to any second pixel information in the second grayscale image is obtained, and fourth related information corresponding to the same processing when different coordinates in the second image are determined based on the second pixel information and the second adjacent pixel information; second association information between adjacent pixels in the second image is determined based on the third related information and the fourth related information; second fuzzy parameters are constructed based on the second association information, and pixels of the second grayscale image are clustered based on the second fuzzy parameters to obtain a second clustering result; target extraction is performed on the second image based on the second clustering result to obtain the second target information.
[0039] Exemplarily, a grayscale formula is used to grayscale the first image to obtain a first grayscale image, and a noise reduction algorithm (such as Gaussian filtering, median filtering, etc.) is used to reduce noise and interference in the image to obtain a clearer first denoised image. A first pixel difference is then calculated between any pixel in the first grayscale image and its adjacent pixel in the first denoised image, and normalization is then performed using the maximum value of the grayscale interval. If the first pixel difference between any pixel in the first grayscale image and its adjacent pixel in the first denoised image is larger, the corresponding consistency result is smaller, i.e., the first relevant information is smaller; if the first pixel difference between any pixel in the first grayscale image and its adjacent pixel in the first denoised image is smaller, the corresponding consistency result is larger, i.e., the first relevant information is larger.
[0040] Exemplarily, the first adjacent pixel information corresponding to any first pixel information in the first grayscale image is obtained, and the difference between the pixel value corresponding to the first pixel information and the pixel value corresponding to each first adjacent pixel information is calculated to obtain the second pixel difference, and then the second pixel difference is normalized using the maximum value of the grayscale interval. If the second pixel difference between the first adjacent pixel information corresponding to any first pixel information in the first grayscale image is larger, the corresponding adjacent correlation is smaller, that is, the second related information is smaller; if the second pixel difference between the first adjacent pixel information corresponding to any first pixel information in the first grayscale image is smaller, the corresponding adjacent correlation is larger, that is, the second related information is larger.
[0041] For example, the first relevant information and the second relevant information are weighted averaged to obtain first association information between adjacent pixels in the first image. A first fuzzy parameter required for clustering is then defined based on the first association information. The first fuzzy parameter is then used to cluster pixels in the first grayscale image to obtain a first clustering result. Based on the first clustering result, the target region in the image is identified and extracted. For example, contour detection, region labeling, or other techniques can be used to extract the first target information from the first clustering result.
[0042] Exemplarily, the second image is grayscaled using a grayscale formula to obtain a second grayscale image, and a noise reduction algorithm (such as Gaussian filtering, median filtering, etc.) is used to reduce noise and interference in the image to obtain a clearer second denoised image. A third pixel difference is then calculated between any pixel in the second grayscale image and its adjacent pixel in the second denoised image, and normalization is then performed using the maximum value of the grayscale interval. If the third pixel difference between any pixel in the second grayscale image and its adjacent pixel in the second denoised image is larger, the corresponding consistency result is smaller, i.e., the third related information is smaller; if the third pixel difference between any pixel in the second grayscale image and its adjacent pixel in the second denoised image is smaller, the corresponding consistency result is larger, i.e., the third related information is larger.
[0043] Exemplarily, the second adjacent pixel information corresponding to any second pixel information in the second grayscale image is obtained, and the difference between the pixel value corresponding to the second pixel information and the pixel value corresponding to each second adjacent pixel information is calculated to obtain a fourth pixel difference, and then the fourth pixel difference is normalized using the maximum value of the grayscale interval. If the fourth pixel difference between the second adjacent pixel information corresponding to any second pixel information in the second grayscale image is larger, the corresponding adjacent correlation is smaller, that is, the fourth related information is smaller; if the fourth pixel difference between the second adjacent pixel information corresponding to any second pixel information in the second grayscale image is smaller, the corresponding adjacent correlation is larger, that is, the fourth related information is larger.
[0044] For example, a weighted average of the third and fourth related information is performed to obtain second association information between adjacent pixels in the second image. A second fuzzy parameter required for clustering is then defined based on the second association information. The second fuzzy parameter is then used to cluster pixels in the second grayscale image to obtain a second clustering result. Based on the second clustering result, the target region in the image is identified and extracted. For example, contour detection, region labeling, or other techniques can be used to extract the second target information from the second clustering result.
[0045] Specifically, by comparing the consistency of the original grayscale image and the denoised image, the denoising effect can be evaluated, helping to adjust the denoising algorithm to better preserve the target information. Analyzing the correlation between pixels and their neighbors helps identify structural features and changes in the image. This is crucial for edge detection and feature extraction in object detection and image segmentation. Constructing fuzzy parameters based on the first correlation information for pixel clustering helps address blurred boundaries and overlapping areas in the image, thereby improving the accuracy and robustness of object extraction.
[0046] In some embodiments, constructing a first fuzzy parameter based on the first association information, and performing pixel clustering on the first grayscale image based on the first fuzzy parameter to obtain a first clustering result includes: determining a first cluster center, calculating first distance information between the first adjacent pixel information and the first cluster center; calculating a first pixel difference between the first adjacent pixel information and the first pixel information; fusing the first distance information, the first pixel difference, and the first association information to determine the first fuzzy parameter corresponding to the first cluster center; determining a first correlation degree between the first pixel information and the first cluster center based on the first fuzzy parameter; updating the first cluster center based on the first correlation degree until the updated first cluster center meets a first preset condition; performing pixel clustering on the first grayscale image based on the updated first cluster center to obtain the first clustering result; wherein the first correlation degree is obtained according to the following formula:
[0047]
[0048] in, represents the first correlation degree between the first pixel information m1 and the first cluster center n1, represents the number of clusters of the first cluster center, represents the pixel value corresponding to the first pixel information m1, represents the pixel value corresponding to the first cluster center n1, represents the pixel value corresponding to the first cluster center t, represents the first fuzzy parameter between the first cluster center n1 and the first pixel information m1, Represents the first blur parameter between the first cluster center t and the first pixel information m1.
[0049] For example, a first cluster center is selected. Random selection, a K-means++ algorithm, or other heuristic methods can be used to initialize the location of the first cluster center. Typically, the first cluster center should cover different areas in the image to better capture the characteristics of the image, thereby collecting information about its neighboring pixels for each pixel. This information typically includes the pixel's grayscale value or other characteristics.
[0050] For example, the distance between each adjacent pixel and the current cluster center is calculated. This distance can be Euclidean distance, Manhattan distance, or other suitable distance metrics. This distance information is used to measure the proximity of each pixel to the cluster center. For each adjacent pixel, the first pixel difference between its grayscale value and that of its center pixel (or reference pixel) is calculated. This first pixel difference reflects the grayscale difference between the pixels.
[0051] For example, the first distance information, the first pixel difference, and the first association information are fused using weighted averaging, linear combination, or other fusion techniques to obtain a first fuzzy parameter for data clustering. The first fuzzy parameter is then used to calculate a first association degree of each pixel to the first cluster center. The first association degree reflects the degree to which the pixel belongs to a first cluster center. The first association degree can be obtained according to the following formula:
[0052]
[0053] in, represents the first correlation degree between the first pixel information m1 and the first cluster center n1, represents the number of clusters of the first cluster center, represents the pixel value corresponding to the first pixel information m1, Represents the pixel value corresponding to the first cluster center n1, represents the pixel value corresponding to the first cluster center t, represents the first fuzzy parameter between the first cluster center n1 and the first pixel information m1, Represents the first fuzzy parameter between the first cluster center t and the first pixel information m1.
[0054] This formula introduces a first fuzzy parameter, enabling the clustering algorithm to adapt to image characteristics. For example, the first association degree between pixels and cluster centers can be dynamically adjusted based on changes in image content, increasing the algorithm's flexibility. Furthermore, using the first fuzzy parameter to calculate the first association degree between pixels and cluster centers can improve both flexibility and accuracy of clustering.
[0055] Exemplarily, the position of the first cluster center is updated based on the calculated first correlation degree for each pixel. The updating method may include recalculating a weighted average of each first cluster center, where the weight is determined by the first correlation degree, thereby checking whether the updated first cluster center meets preset conditions, such as whether a significant change has occurred or whether a specified number of iterations has been reached. If the conditions are met, the updating process is terminated; otherwise, the iteration continues.
[0056] Exemplarily, the updated first clustering center is used to perform pixel clustering on the entire first image, and each pixel is then assigned to the cluster corresponding to the first clustering center that is closest to it, thereby generating a first clustering result based on the pixel assignment.
[0057] Specifically, by calculating the distance between adjacent pixel information and the cluster center, as well as the pixel difference, the location of the cluster center can be determined more accurately. This method takes into account the influence of neighboring pixels and helps find a cluster center that is more consistent with the image data. By fusing distance information, pixel difference, and association information to determine the fuzzy parameters, the first degree of association can be adjusted more finely, enhancing the flexibility of clustering. This optimization can handle fuzzy boundaries and overlapping areas in the image, improving the accuracy of clustering. In particular, in the case of uneven pixel distribution or the presence of noise, it can better reflect the actual category of the pixel. This can effectively improve the accuracy of the clustering results.
[0058] In some embodiments, constructing a second fuzzy parameter based on the second association information, and performing pixel clustering on the second grayscale image based on the second fuzzy parameter to obtain a second clustering result includes: determining a second cluster center, calculating second distance information between the second adjacent pixel information and the second cluster center; calculating a second pixel difference between the second adjacent pixel information and the second pixel information; fusing the second distance information, the second pixel difference, and the second association information to determine the second fuzzy parameter corresponding to the second cluster center; determining a second correlation degree between the second pixel information and the second cluster center based on the second fuzzy parameter; updating the second cluster center based on the second correlation degree until the updated second cluster center meets a second preset condition; performing pixel clustering on the second grayscale image based on the updated second cluster center to obtain the second clustering result; wherein the second correlation degree is obtained according to the following formula:
[0059]
[0060] in, represents the second correlation degree between the second pixel information m2 and the second cluster center n2, P represents the number of clusters of the second cluster center, represents the pixel value corresponding to the second pixel information m2, represents the pixel value corresponding to the second cluster center n2, represents the pixel value corresponding to the second cluster center L, represents the second fuzzy parameter between the second cluster center n2 and the second pixel information m2, Represents the second blur parameter between the second cluster center L and the second pixel information m2.
[0061] For example, a second cluster center is selected. Random selection, a K-means++ algorithm, or other heuristic methods can be used to initialize the location of the second cluster center. Typically, the second cluster center should cover different areas in the image to better capture the characteristics of the image, thereby collecting information about its neighboring pixels for each pixel. This information typically includes the pixel's grayscale value or other characteristics.
[0062] For example, the distance between each adjacent pixel and the second cluster center is calculated. This distance can be Euclidean distance, Manhattan distance, or other suitable distance metrics. The distance information is used to measure the proximity of each pixel to the cluster center. For each adjacent pixel, a second pixel difference is calculated between its grayscale value and that of its center pixel (or reference pixel). This second pixel difference reflects the grayscale difference between the pixels.
[0063] For example, the second distance information, the second pixel difference, and the second association information are fused using weighted averaging, linear combination, or other fusion techniques to obtain a second fuzzy parameter for data clustering. The second fuzzy parameter is then used to calculate a second association degree of each pixel to the second cluster center. The second association degree reflects the degree to which the pixel belongs to a certain second cluster center. The second association degree can be obtained according to the following formula:
[0064]
[0065] in, represents the second correlation degree between the second pixel information m2 and the second cluster center n2, P represents the number of clusters of the second cluster center, represents the pixel value corresponding to the second pixel information m2, Represents the pixel value corresponding to the second cluster center n2, Represents the pixel value corresponding to the second cluster center L, represents the second fuzzy parameter between the second cluster center n2 and the second pixel information m2, Represents the second fuzzy parameter between the second cluster center L and the second pixel information m2.
[0066] By introducing a second fuzzy parameter, this formula enables the clustering algorithm to adapt to image characteristics. For example, the second association degree between a pixel and the second cluster center can be dynamically adjusted based on changes in image content, increasing the algorithm's flexibility. Furthermore, using the second fuzzy parameter to calculate the second association degree between a pixel and the second cluster center can improve both the flexibility and accuracy of clustering.
[0067] Exemplarily, the positions of the second cluster centers are updated based on the calculated second correlation degree for each pixel. The updating method may include recalculating a weighted average of each second cluster center, where the weight is determined by the second correlation degree, thereby checking whether the updated second cluster centers meet preset conditions, such as whether a significant change has occurred or whether a specified number of iterations has been reached. If the conditions are met, the updating process is terminated; otherwise, the iterations continue.
[0068] Illustratively, the updated second clustering center is used to perform pixel clustering on the entire second image, and each pixel is assigned to the cluster corresponding to the second clustering center that is closest to it, thereby generating a second clustering result based on the pixel assignment.
[0069] Specifically, by calculating the distance between adjacent pixel information and the cluster center, as well as the pixel difference, the location of the cluster center can be more accurately determined. This method takes into account the influence of neighboring pixels and helps find cluster centers that are more consistent with the image data. By fusing distance information, pixel difference, and association information to determine the fuzzy parameters, the second degree of association can be more finely adjusted, enhancing the flexibility of clustering. This optimization can handle fuzzy boundaries and overlapping areas in the image, improving clustering accuracy. In particular, it can better reflect the actual category of the pixels in the presence of uneven pixel distribution or noise. This can effectively improve the accuracy of clustering results.
[0070] In some embodiments, determining the first abnormal information corresponding to the target component based on the first target information and the second target information includes: determining the first position information corresponding to the first target information in the first image, and determining the second position information corresponding to the second target information in the second image; aligning the first image and the second image to obtain an alignment rule; processing the first position information and the second position information according to the alignment rule to obtain third position information and fourth position information; determining the proportion of identical information based on the third position information and the fourth position information, and determining the first abnormal information corresponding to the target component based on the proportion of identical information.
[0071] Exemplarily, the coordinate system calibration is used to determine first position information of the first target information in the first image. Similarly, the coordinate system calibration is used to determine second position information of the second target information in the first image.
[0072] For example, a feature point matching method (such as SIFT, SURF, or ORB) is used to find corresponding feature points in the first and second images. The feature point matching results are then used to calculate the transformation matrix for image alignment. Common transformations include affine transformations and perspective transformations. The transformation matrix can be calculated using the least squares method or the RANSAC algorithm.
[0073] Exemplarily, the first and second images are aligned according to the calculated transformation matrix. The aligned images ensure that the same object is in the same spatial position in the different images. Then, based on the alignment rule (transformation matrix), the first position information is transformed into a fixed coordinate system to obtain third position information. Similarly, the second position information is transformed into the fixed coordinate system to obtain fourth position information.
[0074] For example, the third and fourth position information are compared to determine the degree of overlap. The area of the overlapping region, the matching rate, and other factors can be calculated. Based on the matching and comparison results, the percentage of identical information can be calculated. This percentage represents the proportion of identical information between the first and second target information. If the percentage of identical information exceeds a certain threshold, it may indicate an anomaly in the target component, leading to the presence of the same anomaly in different target sheets. The first anomaly could be a missing, misaligned, or deformed target component, leading to the presence of the same anomaly in different target sheets.
[0075] Specifically, by determining the first position information of the first target information in the first image and the second position information of the second target information in the second image, the target object can be effectively identified and located, providing a reliable basis for subsequent analysis. By aligning the first and second images, visual discrepancies caused by differences in perspective, position, or scale can be eliminated. The aligned images ensure that the same target is in the corresponding position, avoiding misjudgments due to positional variations. This enhances the credibility of subsequent analysis results. Applying alignment rules to process the position information allows for clear comparison of the first and second position information, enabling effective comparison. The resulting third and fourth position information will be more consistent, reducing potential alignment errors. Finally, based on the proportion of identical information, the target object's status can be quantitatively analyzed. This quantitative information helps assess the similarity and overlap between targets, facilitating further decision-making.
[0076] Step S103: performing abnormal data identification on the first sensor data to obtain second sensor data, and filtering the initial sensor data based on the second sensor data to obtain second abnormal information.
[0077] Exemplarily, a machine learning method, such as an isolation forest, a clustering-based method, or a density-based method, is used to identify abnormal data in the first sensor data to obtain the second sensor data. Thus, a target sensor corresponding to the second sensor data is determined from the initial sensor data, and then a monitoring location corresponding to the target sensor and a monitoring device corresponding to the monitoring location are obtained, thereby determining the monitoring location and the monitoring device as the second abnormal information.
[0078] In some embodiments, the performing abnormal data identification on the first sensor data to obtain the second sensor data includes: determining a normal sequence and an abnormal sequence corresponding to the initial sensor, and determining a window length; segmenting the normal sequence, the abnormal sequence, and the first sensor data according to the window length to obtain a first number of segments, a second number of segments, and a third number of segments, respectively; determining the minimum value of the first number of segments, the second number of segments, and the third number of segments as a target number of segments; determining a target sequence length according to the target number of segments and the window length, and obtaining first sequence information corresponding to the target sequence length from the normal sequence, obtaining second sequence information corresponding to the target sequence length from the abnormal sequence, and obtaining third sequence information corresponding to the target sequence length from the first sensor data; calculating first distance information between the first sequence information and the second sequence information, and determining an abnormality threshold based on the first distance information; calculating second distance information between the third sequence information and the first sequence information and the second sequence information, and performing abnormal value judgment on the first sensor data based on the second distance information and the abnormality threshold to determine the second sensor data.
[0079] Exemplarily, the sensor historical data is analyzed to obtain normal sequences and abnormal sequences corresponding to the initial sensor, and the window length is set based on the frequency of the sensor data and the time scale of the desired analysis. The window length may depend on the sampling frequency of the data and the duration of the pattern to be analyzed.
[0080] Exemplarily, the normal sequence, abnormal sequence and first sensor data are segmented using the set window length to obtain the first number of segments corresponding to the normal sequence, the second number of segments corresponding to the abnormal sequence and the third number of segments corresponding to the first sensor data, and then the minimum value among the first number of segments, the second number of segments and the third number of segments is determined and set as the target number of segments.
[0081] Exemplarily, the target sequence length is obtained by multiplying the target number of segments and the window length, and then data blocks that meet the target sequence length are extracted from the normal sequence, the abnormal sequence and the first sensor data according to the target sequence length, thereby obtaining the first sequence information corresponding to the normal sequence, the second sequence information corresponding to the abnormal sequence, and the third sequence information corresponding to the first sensor data.
[0082] For example, a distance metric, such as Euclidean distance or cosine similarity, is calculated between data blocks in the normal and abnormal sequences. Specifically, first distance information is calculated between the first and second sequence information. This first distance information can help determine the degree of difference between the abnormal and normal sequences. The minimum value of the first distance information is then determined as the abnormality threshold.
[0083] Exemplarily, the distance information between the third sequence information and the first sequence information is calculated, and the distance information between the third sequence information and the second sequence information is calculated, and the maximum value of the distance information is obtained as the second distance information. When the second distance information is greater than the abnormal threshold, it is determined that the sequence information when the second distance information is obtained is the first sequence information, and the third sequence information is determined to be a normal sequence; when it is determined that the sequence information when the second distance information is obtained is the second sequence information, the third sequence information is determined to be an abnormal sequence, and then when the third sequence information is an abnormal sequence, the abnormal sequence is determined to be the second sensor data.
[0084] Specifically, to avoid misjudgments due to inconsistent data lengths, the lengths of all data sequences should be consistent. By setting a reasonable window length, the normal sequence, abnormal sequence, and second sensor data are uniformly segmented to ensure that they are compared and analyzed at the same data length. Based on the characteristics of the actual data and analysis requirements, the target sequence length is calculated, and sequence information with the same length is extracted from the normal sequence, abnormal sequence, and second sensor data. This ensures that all data blocks are compared under the same analysis conditions, reducing the impact of length differences on anomaly judgment results. Thus, by comparing the first sensor data with the normal and abnormal sequences, deviations from the normal and abnormal sequences can be accurately identified, thereby better identifying anomalies.
[0085] Step S104: Determine the corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information.
[0086] Exemplarily, the first abnormality information and the second abnormality information are integrated with relevant data of the equipment in the target production line (such as equipment number, location, function, etc.), so as to determine the abnormal equipment corresponding to the first abnormality information and the second abnormality information from the target production line.
[0087] In some embodiments, determining the corresponding abnormal equipment in the target production line based on the first abnormal information and the second abnormal information includes: obtaining a first abnormal position corresponding to the target component based on the first abnormal information; obtaining a second abnormal position corresponding to abnormal sensor monitoring from the second abnormal information; and determining the corresponding abnormal equipment in the target production line based on the first abnormal position and the second abnormal position.
[0088] Exemplarily, a first abnormal location of the target component is extracted from the first abnormality information. Typically, the first abnormal location can be a description of the location of the abnormality in the target component or the relative position of the target component in the target production line that caused the abnormality. For example, if the first abnormality information indicates an abnormal location of a component on the target production line, this location can be a specific station or position number.
[0089] For example, the second abnormality location during monitoring by the abnormality sensor is extracted from the second abnormality information. This second abnormality location is usually related to the area monitored by the abnormality sensor, and may include the specific location or monitoring area of the abnormality sensor.
[0090] For example, a layout diagram or equipment distribution map of the target production line is obtained. This includes the physical location of equipment, component locations, and sensor distribution. The first abnormal location is matched with the production line layout to determine the specific location of the component in the target production line. Based on the component number or location description, the exact location of the component in the target production line is then identified. The second abnormal location is then matched with the sensor locations in the production line layout to confirm the area or location monitored by the abnormal sensor.
[0091] For example, the abnormal device is identified based on the correspondence between the first abnormal location and the second abnormal location. For example, suppose the first abnormal location is a certain position on the production line, and the second abnormal location is an adjacent sensor-monitored area. Combining these two locations, the specific location of the abnormal device can be inferred.
[0092] Specifically, accurate positioning of abnormal equipment reduces unnecessary inspections and attempts, thereby reducing manpower and time costs while reducing unnecessary spare parts replacement costs and lowering maintenance costs. Through automated abnormality identification and positioning, the uncertainty of human factors is reduced, and the reliability and stability of the entire system are improved, thereby helping industrial enterprises improve production efficiency, reduce costs, and ensure product quality and equipment safety.
[0093] Step S105: Generate an abnormal image corresponding to the abnormal device according to the first abnormal information and the second abnormal information.
[0094] Exemplarily, the first abnormality information is used to perform an abnormality type query according to the mapping table, thereby determining the first abnormality type corresponding to the target component, and then generating a first abnormality image corresponding to the target component according to the first abnormality type.
[0095] Exemplarily, the second abnormality information is classified according to the machine learning model to obtain the monitoring component corresponding to the abnormal sensor, and then the second abnormality type corresponding to the monitoring component is determined, and then the second abnormality image corresponding to the monitoring component is generated according to the second abnormality type.
[0096] In some embodiments, generating an abnormal picture corresponding to the abnormal device based on the first abnormal information and the second abnormal information includes: determining the target abnormal position corresponding to the first image or the second image based on the proportion of the same information, and determining the first abnormal type corresponding to the abnormal device based on the target abnormal position; performing abnormality classification on the second sensor data to obtain the second abnormal type corresponding to the abnormal device; determining a normal picture corresponding to the abnormal device, adjusting the normal picture based on the first abnormal type and the second abnormal type, and obtaining the abnormal picture corresponding to the abnormal device.
[0097] For example, the target anomaly location is determined based on the proportion of identical information. It is assumed that the area or location with the same information proportion is more likely to be the key location of the anomaly, and this area or location is marked as the target anomaly location. The target anomaly location is then mapped to the device, and the anomaly at this location is analyzed to determine the first anomaly type. For example, if the target anomaly location is on a component, the anomaly type (e.g., mechanical failure, electrical problem, etc.) can be determined based on the component's function and status.
[0098] For example, a classification algorithm or rule is used to classify anomalies in sensor data into different types. A machine learning model (e.g., decision tree, random forest) or a rule-based classification method can be used to identify the anomaly type (e.g., overheating, vibration abnormality, etc.). Based on the classification results, a second anomaly type of the abnormal device is determined.
[0099] For example, a normal image corresponding to the device is determined as the reference image. The normal image should clearly show the internal state or appearance of the device under normal conditions. The normal image is then adjusted based on the first and second abnormality types, for example, by marking abnormal areas on the normal image. Color markers and selection tools can be used to add features of the abnormality type (such as cracks, discoloration, and warning signs) to the normal image to simulate the abnormal condition. Details in the normal image can then be adjusted, for example, by adding noise, changing colors, or adding icons, to more realistically reflect the abnormal condition. The resulting processed image is then an abnormal image, reflecting the internal state or appearance of the device under specific abnormal conditions.
[0100] Specifically, by analyzing the abnormality type and adjusting the normal image, the generated abnormal image can intuitively display the abnormal status of the equipment, thereby ensuring that non-professionals have a clear understanding of the fault situation. This provides support for the subsequent solution to the problem that when using data twin models for equipment monitoring in related technologies, non-professionals can only know that there is abnormal data but cannot specifically understand the abnormal status of the equipment, which reduces the non-professionals' response ability and processing efficiency to abnormal situations.
[0101] Step S106: construct a digital twin of the target production line based on the abnormal image to obtain a real state model corresponding to the target production line.
[0102] For example, the abnormal images are carefully analyzed to identify the equipment and abnormal parts in the images. Based on the information in the abnormal images, 3D models of the equipment are then created using 3D modeling software. These 3D models represent the appearance and structure of the equipment in its abnormal state. A basic model of the target production line is established within the digital twin platform, including 3D models of all equipment, components, and the production environment. The 3D models created from the abnormal images are then integrated into the digital twin model of the target production line. This step involves replacing the abnormal equipment models with the production line model to reflect the actual abnormal situation.
[0103] For example, the device location and position corresponding to the abnormal image is found in the digital twin model. The corresponding device component in the target production line's digital twin model is replaced with the 3D model created from the abnormal image. This replacement step enables the digital twin model to accurately display the abnormal state. By replacing the device model, the digital twin model of the target production line is updated to a realistic model that reflects the abnormal state.
[0104] For example, based on process, equipment, and panel size data, a model library of panels and equipment corresponding to the target production line can be constructed. Next, a graphical database is used to effectively mark the relationships between models in the model library, thereby forming a 3D model library and model integration module that facilitates rapid retrieval and reuse. This process maps the processed data with the digital twin model to enable simulation analysis of the entire panel production process. At the same time, the equipment part and position corresponding to the abnormal image are determined. Based on this, the 3D model created from the abnormal image is used to replace the corresponding equipment component in the digital twin model of the target production line. Through this replacement step, the digital twin model can accurately display the abnormal status of the equipment. This update will enable the digital twin model of the target production line to more realistically reflect the actual situation.
[0105] In some embodiments, the digital twin of the target production line is constructed based on the abnormal image to obtain a real state model corresponding to the target production line, including: obtaining initial digital models corresponding to all target devices in the target production line, and obtaining normal digital models corresponding to the abnormal devices from the initial digital models; correcting the normal digital models of the abnormal devices based on the abnormal image to obtain target digital models corresponding to the abnormal devices; initially building the target production line based on the initial digital model to obtain an initial state model corresponding to the target production line; and displaying the target digital model at the position corresponding to the abnormal device in the target production line to obtain the real state model corresponding to the target production line.
[0106] For example, detailed data on all target equipment in the target production line is obtained, including its size, shape, components, and functions. Initial digital models of all equipment are then created or imported using computer-aided design (CAD) software or 3D modeling tools. Ensure that the models reflect the appearance and structure of the equipment in normal working condition.
[0107] For example, a normal digital model corresponding to the abnormal device is extracted from the created initial digital model. The abnormal image is then carefully analyzed to identify specific features of the abnormal device in an abnormal state, such as cracks, deformation, and component damage. Based on these features in the abnormal image, the normal digital model is modified. This includes adding or adjusting abnormal features to the model to accurately reflect the abnormal state of the device. For example, 3D modeling software can be used to modify the digital model, for example, by adding defects or changing color or shape to simulate abnormal conditions.
[0108] For example, in the digital twin model of the target production line initially constructed, the location of the abnormal equipment is found, and then the corrected target digital model (reflecting the abnormal state) is replaced with the abnormal equipment location in the target production line, and it is ensured that the target digital model is correctly displayed in the production line model and can accurately represent the abnormal state, and then the digital twin model of the production line including the target digital model of the abnormal equipment is integrated into a complete real state model.
[0109] Specifically, by extracting the normal digital model of the abnormal device from the initial digital model and then correcting it based on the abnormal image, the device fault or anomaly can be accurately identified and located. This helps quickly and accurately identify problem points in the production line. With this precise digital model, maintenance personnel or non-professionals can more quickly understand the specific condition of the abnormal device and develop more effective maintenance plans. This reduces troubleshooting time and improves troubleshooting efficiency. It also enables real-time monitoring of the production line status, promptly identifying and addressing potential problems, and improving production line stability and efficiency. This can significantly improve production line operational efficiency, troubleshooting speed, and maintenance quality, while also reducing operating costs.
[0110] An embodiment of the present invention provides a method and system for constructing a digital twin of a panel production line. The method comprises: acquiring a first image corresponding to a first target panel and a second image corresponding to a second target panel in a target production line; collecting first sensor data from multiple initial sensors in the target production line; performing target extraction on the first image to obtain first target information; and performing target extraction on the second image to obtain second target information. Based on the first target information and the second target information, first abnormality information of the target component is determined. Abnormal data identification is then performed on the first sensor data to obtain second sensor data. The initial sensor data is then filtered based on the second sensor data to obtain second abnormality information. Based on the first and second abnormality information, abnormal equipment in the target production line is identified, abnormal images reflecting the abnormal state are generated, and these abnormal images are used to update the digital twin model of the production line. A digital twin model is then constructed based on the updated abnormal images to obtain a true state model, ensuring that the true state model accurately reflects the actual operating state and abnormal conditions of the target production line. This constructed true state model facilitates real-time monitoring and management of the production line by non-professionals. By integrating image and sensor data, this method can accurately identify equipment abnormalities, improving the efficiency of fault detection and maintenance. Accurate digital twin models enhance production management, helping to optimize production processes, reduce costs, and enhance safety. Updated digital twin models allow non-professionals to more clearly understand equipment anomalies, thereby improving their ability to respond and handle them more efficiently. This approach also effectively addresses the issue of non-professionals lacking a detailed understanding of equipment anomalies when using digital twin models for equipment monitoring, thereby improving overall production line monitoring and management capabilities.
[0111] See also Figure 2 , Figure 2A digital twin construction system 200 for a panel production line provided in an embodiment of the present application includes a data acquisition module 201, an anomaly recognition module 202, an anomaly screening module 203, an equipment determination module 204, an image generation module 205, and a model construction module 206, wherein the data acquisition module 201 is used to obtain a first image corresponding to a first target plate obtained under a target production line and a second image corresponding to a second target plate obtained under the target production line, and obtain first sensor data corresponding to data detection by multiple initial sensors in the target production line; the anomaly recognition module 202 is used to perform target extraction on the first image to obtain first target information and perform target extraction on the second image to obtain second target information information, and determines the first abnormal information corresponding to the target component according to the first target information and the second target information; an abnormal screening module 203 is used to identify the abnormal data of the first sensor data to obtain the second sensor data, and screen from the initial sensor according to the second sensor data to obtain the second abnormal information; an equipment determination module 204 is used to determine the corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information; an image generation module 205 is used to generate an abnormal picture corresponding to the abnormal equipment according to the first abnormal information and the second abnormal information; a model construction module 206 is used to construct a digital twin of the target production line according to the abnormal picture to obtain a real state model corresponding to the target production line.
[0112] In some embodiments, during the process of extracting the target from the first image to obtain the first target information and extracting the target from the second image to obtain the second target information, the abnormality identification module 202 executes:
[0113] performing grayscale processing on the first image to obtain a first grayscale image, and performing noise reduction processing on the first grayscale image to obtain a first noise-reduced image;
[0114] performing consistency calculation based on the first grayscale image and the first denoised image to determine first relevant information corresponding to different processing when adjacent coordinates in the first image are processed;
[0115] Obtaining first adjacent pixel information corresponding to any first pixel information in the first grayscale image, and determining second related information corresponding to the same processing at different coordinates in the first image based on the first pixel information and the first adjacent pixel information;
[0116] determining first association information between adjacent pixels in the first image according to the first relevant information and the second relevant information;
[0117] constructing a first fuzzy parameter according to the first association information, and performing pixel clustering on the first grayscale image according to the first fuzzy parameter to obtain a first clustering result;
[0118] performing target extraction on the first image according to the first clustering result to obtain the first target information;
[0119] performing grayscale processing on the second image to obtain a second grayscale image, and performing noise reduction processing on the second grayscale image to obtain a second noise-reduced image;
[0120] performing consistency calculation based on the second grayscale image and the second denoised image to determine third related information corresponding to different processing when adjacent coordinates in the second image are processed;
[0121] Obtaining second adjacent pixel information corresponding to any second pixel information in the second grayscale image, and determining fourth related information corresponding to the same processing at different coordinates in the second image based on the second pixel information and the second adjacent pixel information;
[0122] determining second association information between adjacent pixels in the second image according to the third relevant information and the fourth relevant information;
[0123] constructing a second fuzzy parameter according to the second association information, and performing pixel clustering on the second grayscale image according to the second fuzzy parameter to obtain a second clustering result;
[0124] Perform target extraction on the second image according to the second clustering result to obtain the second target information.
[0125] In some embodiments, the abnormality identification module 202, in the process of constructing the first fuzzy parameter according to the first association information and performing pixel clustering on the first grayscale image according to the first fuzzy parameter to obtain the first clustering result, executes:
[0126] Determine a first cluster center, and calculate first distance information between the first adjacent pixel information and the first cluster center;
[0127] Calculating a first pixel difference between the first adjacent pixel information and the first pixel information;
[0128] fusing the first distance information, the first pixel difference, and the first association information to determine the first fuzzy parameter corresponding to the first cluster center;
[0129] determining a first correlation degree between the first pixel information and the first cluster center according to the first fuzzy parameter;
[0130] Updating the first cluster center according to the first correlation degree until the updated first cluster center meets a first preset condition;
[0131] performing pixel clustering on the first grayscale image according to the updated first cluster center to obtain the first clustering result;
[0132] The first correlation degree is obtained according to the following formula:
[0133]
[0134] in, represents the first correlation degree between the first pixel information m1 and the first cluster center n1, represents the number of clusters of the first cluster center, represents the pixel value corresponding to the first pixel information m1, represents the pixel value corresponding to the first cluster center n1, represents the pixel value corresponding to the first cluster center t, represents the first fuzzy parameter between the first cluster center n1 and the first pixel information m1, Represents the first blur parameter between the first cluster center t and the first pixel information m1.
[0135] In some embodiments, the abnormality identification module 202, in the process of constructing the second fuzzy parameter according to the second association information and performing pixel clustering on the second grayscale image according to the second fuzzy parameter to obtain the second clustering result, executes:
[0136] Determine a second cluster center, and calculate second distance information between the second adjacent pixel information and the second cluster center;
[0137] Calculating a second pixel difference between the second adjacent pixel information and the second pixel information;
[0138] fusing the second distance information, the second pixel difference, and the second association information to determine the second fuzzy parameter corresponding to the second cluster center;
[0139] determining a second degree of association between the second pixel information and the second cluster center according to the second fuzzy parameter;
[0140] Updating the second cluster center according to the second association degree until the updated second cluster center meets a second preset condition;
[0141] performing pixel clustering on the second grayscale image according to the updated second cluster center to obtain the second clustering result;
[0142] The second correlation degree is obtained according to the following formula:
[0143]
[0144] in, represents the second correlation degree between the second pixel information m2 and the second cluster center n2, P represents the number of clusters of the second cluster center, represents the pixel value corresponding to the second pixel information m2, represents the pixel value corresponding to the second cluster center n2, represents the pixel value corresponding to the second cluster center L, represents the second fuzzy parameter between the second cluster center n2 and the second pixel information m2, Represents the second blur parameter between the second cluster center L and the second pixel information m2.
[0145] In some embodiments, during the process of determining the first abnormality information corresponding to the target component according to the first target information and the second target information, the abnormality identification module 202 performs:
[0146] Determining first position information corresponding to the first target information in the first image, and determining second position information corresponding to the second target information in the second image;
[0147] Performing image alignment on the first image and the second image to obtain an alignment rule;
[0148] Performing data processing on the first position information and the second position information according to the alignment rule to obtain third position information and fourth position information;
[0149] The proportion of identical information is determined according to the third position information and the fourth position information, and the first abnormal information corresponding to the target component is determined according to the proportion of identical information.
[0150] In some embodiments, during the process of identifying abnormal data on the first sensor data to obtain the second sensor data, the abnormality screening module 203 performs:
[0151] Determining a normal sequence and an abnormal sequence corresponding to the initial sensor, and determining a window length;
[0152] Segmenting the normal sequence, the abnormal sequence, and the first sensor data according to the window length to obtain a first number of segments, a second number of segments, and a third number of segments respectively;
[0153] determining a minimum value among the first number of segments, the second number of segments, and the third number of segments to be set as a target number of segments;
[0154] determining a target sequence length according to the target segment number and the window length, and obtaining first sequence information corresponding to the target sequence length from the normal sequence, obtaining second sequence information corresponding to the target sequence length from the abnormal sequence, and obtaining third sequence information corresponding to the target sequence length from the first sensor data;
[0155] calculating first distance information between the first sequence information and the second sequence information, and determining an abnormality threshold according to the first distance information;
[0156] Calculate second distance information between the third sequence information and the first sequence information and the second sequence information, and perform abnormal value judgment on the first sensor data according to the second distance information and the abnormal threshold to determine the second sensor data.
[0157] In some embodiments, during the process of determining the corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information, the equipment determination module 204 executes:
[0158] Obtaining a first abnormal position corresponding to the target component according to the first abnormal information;
[0159] Obtaining a second abnormal position corresponding to monitoring by the abnormal sensor from the second abnormal information;
[0160] The corresponding abnormal device in the target production line is determined according to the first abnormal position and the second abnormal position.
[0161] In some implementations, during the process of generating the abnormal image corresponding to the abnormal device according to the first abnormal information and the second abnormal information, the image generation module 205 performs:
[0162] Determine a target abnormal position corresponding to the first image or the second image according to the proportion of the same information, and determine a first abnormality type corresponding to the abnormal device according to the target abnormal position;
[0163] Performing abnormality classification on the second sensor data to obtain a second abnormality type corresponding to the abnormal device;
[0164] A normal picture corresponding to the abnormal device is determined, and the normal picture is adjusted according to the first abnormality type and the second abnormality type to obtain the abnormal picture corresponding to the abnormal device.
[0165] In some embodiments, during the process of constructing a digital twin of the target production line based on the abnormal image and obtaining a real state model corresponding to the target production line, the model construction module 206 executes:
[0166] Obtaining initial digital models corresponding to all target devices in the target production line, and obtaining normal digital models corresponding to the abnormal devices from the initial digital models;
[0167] Correcting the normal digital model of the abnormal device according to the abnormal image to obtain a target digital model corresponding to the abnormal device;
[0168] Initially constructing the target production line according to the initial digital model to obtain an initial state model corresponding to the target production line;
[0169] The target digital model is displayed at a position corresponding to the abnormal equipment in the target production line to obtain the real state model corresponding to the target production line.
[0170] In some embodiments, the panel production line digital twin construction system 200 can be applied to terminal equipment.
[0171] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the panel production line digital twin construction system 200 described above can refer to the corresponding process in the aforementioned panel production line digital twin construction method embodiment, and will not be repeated here.
[0172] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any method for constructing a digital twin of a panel production line provided in the description of the embodiment of the present invention.
[0173] The storage medium may be an internal storage unit of the terminal device in the aforementioned embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc.
[0174] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the methods, systems, and devices disclosed above may be implemented as software, firmware, hardware, or any combination thereof. In hardware embodiments, the division between functional modules / units described above does not necessarily correspond to the division between physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is well known to those skilled in the art, the term computer storage media encompasses both volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0175] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system that includes a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or system. In the absence of further limitations, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system that includes the element.
[0176] The serial numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope of protection of the claims.
Claims
1. A method for constructing a digital twin of a panel production line, characterized in that: The method comprises: Obtaining a first image corresponding to a first target plate obtained under a target production line and a second image corresponding to a second target plate obtained under the target production line, and obtaining first sensor data corresponding to data detection by a plurality of initial sensors in the target production line; Performing target extraction on the first image to obtain first target information and performing target extraction on the second image to obtain second target information, and determining first abnormal information corresponding to a target component according to the first target information and the second target information; Performing abnormal data identification on the first sensor data to obtain second sensor data, and screening from the initial sensor data according to the second sensor data to obtain second abnormal information; Determine the corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information; Generate an abnormal picture corresponding to the abnormal device according to the first abnormal information and the second abnormal information; A digital twin of the target production line is constructed according to the abnormal image to obtain a real state model corresponding to the target production line.
2. The method according to claim 1, characterized in that: The step of extracting a target from the first image to obtain first target information and extracting a target from the second image to obtain second target information comprises: Performing grayscale processing on the first image to obtain a first grayscale image, and performing noise reduction processing on the first grayscale image to obtain a first noise-reduced image; Performing consistency calculation on the first grayscale image and the first denoised image to determine first related information corresponding to different processing when adjacent coordinates in the first image are processed; Obtaining first adjacent pixel information corresponding to any first pixel information in the first grayscale image, and determining second related information corresponding to the same processing at different coordinates in the first image according to the first pixel information and the first adjacent pixel information; Determine first association information between adjacent pixels in the first image according to the first relevant information and the second relevant information; constructing a first fuzzy parameter according to the first association information, and performing pixel clustering on the first grayscale image according to the first fuzzy parameter to obtain a first clustering result; Extracting a target from the first image according to the first clustering result to obtain the first target information; Performing grayscale processing on the second image to obtain a second grayscale image, and performing noise reduction processing on the second grayscale image to obtain a second noise-reduced image; performing consistency calculation on the second grayscale image and the second denoised image to determine third related information corresponding to different processing when adjacent coordinates in the second image are processed; Obtaining second adjacent pixel information corresponding to any second pixel information in the second grayscale image, and determining fourth related information corresponding to the same processing at different coordinates in the second image according to the second pixel information and the second adjacent pixel information; Determine second association information between adjacent pixels in the second image according to the third relevant information and the fourth relevant information; constructing a second fuzzy parameter according to the second association information, and performing pixel clustering on the second grayscale image according to the second fuzzy parameter to obtain a second clustering result; Perform target extraction on the second image according to the second clustering result to obtain the second target information.
3. The method according to claim 2, characterized in that The constructing a first fuzzy parameter according to the first association information, and performing pixel clustering on the first grayscale image according to the first fuzzy parameter to obtain a first clustering result includes: Determine a first cluster center, and calculate first distance information between the first adjacent pixel information and the first cluster center; Calculating a first pixel difference between the first adjacent pixel information and the first pixel information; Determine the first fuzzy parameter corresponding to the first cluster center by fusing the first distance information, the first pixel difference and the first association information; Determining a first degree of association between the first pixel information and the first cluster center according to the first fuzzy parameter; Updating the first cluster center according to the first association degree until the updated first cluster center meets a first preset condition; Performing pixel clustering on the first grayscale image according to the updated first cluster center to obtain the first clustering result; The first correlation degree is obtained according to the following formula: ; in, represents the first degree of association between the first pixel information m1 and the first cluster center n1, represents the number of clusters of the first cluster center, represents the pixel value corresponding to the first pixel information m1, represents the pixel value corresponding to the first cluster center n1, represents the pixel value corresponding to the first cluster center t, represents the first fuzzy parameter between the first cluster center n1 and the first pixel information m1, Represents the first blur parameter between the first cluster center t and the first pixel information m1.
4. The method according to claim 2, characterized in that: The constructing a second fuzzy parameter according to the second association information, and performing pixel clustering on the second grayscale image according to the second fuzzy parameter to obtain a second clustering result includes: Determine a second cluster center, and calculate second distance information between the second adjacent pixel information and the second cluster center; Calculating a second pixel difference between the second adjacent pixel information and the second pixel information; Determine the second fuzzy parameter corresponding to the second cluster center by fusing the second distance information, the second pixel difference and the second association information; determining a second degree of association between the second pixel information and the second cluster center according to the second fuzzy parameter; Updating the second cluster center according to the second association degree until the updated second cluster center meets a second preset condition; Performing pixel clustering on the second grayscale image according to the updated second cluster center to obtain the second clustering result; The second correlation degree is obtained according to the following formula: ; in, represents the second correlation degree between the second pixel information m2 and the second cluster center n2, P represents the number of clusters of the second cluster center, represents the pixel value corresponding to the second pixel information m2, represents the pixel value corresponding to the second cluster center n2, represents the pixel value corresponding to the second cluster center L, represents the second fuzzy parameter between the second cluster center n2 and the second pixel information m2, Represents the second blur parameter between the second cluster center L and the second pixel information m2.
5. The method according to claim 1, characterized in that The determining, according to the first target information and the second target information, first abnormal information corresponding to the target component includes: Determine first position information corresponding to the first target information in the first image, and determine second position information corresponding to the second target information in the second image; Performing image alignment on the first image and the second image to obtain an alignment rule; Performing data processing on the first position information and the second position information according to the alignment rule to obtain third position information and fourth position information; The proportion of identical information is determined according to the third position information and the fourth position information, and the first abnormal information corresponding to the target component is determined according to the proportion of identical information.
6. The method according to claim 1, characterized in that The performing abnormal data identification on the first sensor data to obtain second sensor data includes: Determine a normal sequence and an abnormal sequence corresponding to the initial sensor, and determine a window length; Segmenting the normal sequence, the abnormal sequence, and the first sensor data according to the window length to obtain a first number of segments, a second number of segments, and a third number of segments; Determine a minimum value among the first segment number, the second segment number, and the third segment number and set it as a target segment number; Determine a target sequence length according to the target segment number and the window length, and obtain first sequence information corresponding to the target sequence length from the normal sequence, obtain second sequence information corresponding to the target sequence length from the abnormal sequence, and obtain third sequence information corresponding to the target sequence length from the first sensor data; Calculating first distance information between the first sequence information and the second sequence information, and determining an abnormality threshold according to the first distance information; The second distance information between the third sequence information and the first sequence information and the second sequence information is calculated, and an abnormal value judgment is performed on the first sensor data according to the second distance information and the abnormal threshold to determine the second sensor data.
7. The method according to claim 1, characterized in that The determining the corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information includes: Obtaining a first abnormal position corresponding to the target component according to the first abnormal information; Obtaining a second abnormal position corresponding to monitoring by the abnormal sensor from the second abnormal information; The abnormal device corresponding to the target production line is determined according to the first abnormal position and the second abnormal position.
8. The method according to claim 5, characterized in that The generating an abnormal picture corresponding to the abnormal device according to the first abnormal information and the second abnormal information includes: Determine a target abnormal position corresponding to the first image or the second image according to the proportion of the same information, and determine a first abnormal type corresponding to the abnormal device according to the target abnormal position; Performing abnormal classification on the second sensor data to obtain a second abnormal type corresponding to the abnormal device; Determine a normal picture corresponding to the abnormal device, adjust the normal picture according to the first abnormal type and the second abnormal type, and obtain the abnormal picture corresponding to the abnormal device.
9. The method according to claim 1, characterized in that: The step of constructing a digital twin of the target production line according to the abnormal image to obtain a real state model corresponding to the target production line includes: Obtaining initial digital models corresponding to all target devices in the target production line, and obtaining normal digital models corresponding to the abnormal devices from the initial digital models; Correcting the normal digital model of the abnormal device according to the abnormal image to obtain a target digital model corresponding to the abnormal device; Initially construct the target production line according to the initial digital model to obtain an initial state model corresponding to the target production line; The target digital model is displayed at a position corresponding to the abnormal equipment in the target production line to obtain the real state model corresponding to the target production line.
10. A digital twin construction system for a panel production line, characterized in that: include: A data acquisition module, used to obtain a first image corresponding to a first target plate obtained under a target production line and a second image corresponding to a second target plate obtained under the target production line, and obtain first sensor data corresponding to data detection by a plurality of initial sensors in the target production line; an abnormality identification module, configured to extract a target from the first image to obtain first target information and to extract a target from the second image to obtain second target information, and to determine first abnormality information corresponding to a target component according to the first target information and the second target information; an abnormality screening module, used for performing abnormal data identification on the first sensor data to obtain second sensor data, and screening from the initial sensor data according to the second sensor data to obtain second abnormality information; An equipment determination module, configured to determine a corresponding abnormal equipment in the target production line according to the first abnormal information and the second abnormal information; An image generation module, configured to generate an abnormal image corresponding to the abnormal device according to the first abnormal information and the second abnormal information; A model building module is used to build a digital twin of the target production line according to the abnormal image to obtain a real state model corresponding to the target production line.
Citation Information
Patent Citations
Digital twinning construction method and system based on WEB configuration
CN118296682A
Digital twin modeling method and system for assembling a robotic teleoperation environment
US20230230312A1
Cited By
Data management method and system for intelligent plate processing factory
CN118628988A
Control method and system for civil explosive manufacturing plant based on Lora system
CN120143762A
