A pelletizer melt anomaly detection method and system based on autoencoder

By enhancing the processing of the pelletizer data and designing the autoencoder structure, the melt anomaly detection error function is established, which realizes the automatic and real-time detection of melt anomalies in the pelletizer and solves the problem of low reliability and low efficiency in the existing technology. problems, improving detection accuracy and production efficiency.

CN117994571BActive Publication Date: 2024-09-13NANJING TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410036716.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2024-09-13
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

Existing melt anomaly detection methods have low reliability, slow response speed, and low efficiency. They cannot achieve real-time monitoring and rapid response, and cannot fully utilize the advantages of modern automation and intelligent technologies.

Method used

By enhancing the processing of pelletizer data samples, designing the autoencoder structure and establishing an error function, an error function for pelletizer melt anomaly detection is constructed based on the regularization loss function. The model obtained through iterative training can monitor the pelletizer melt in real time. body status and detect abnormalities in time.

Benefits of technology

It improves the accuracy and efficiency of melt anomaly detection, reduces reliance on manual monitoring, improves production efficiency and product quality, and enhances the adaptability and reliability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117994571B
    Figure CN117994571B
Patent Text Reader

Abstract

The present invention discloses a pelletizer melt anomaly detection method and system based on an autoencoder, which relates to the field of artificial intelligence deep learning technology, including collecting pelletizer data samples and performing enhancement processing on the samples; designing an autoencoder structure and establishing an autoencoder error function; constructing a pelletizer melt anomaly detection error function based on a regularization loss function; iteratively training the autoencoder through enhanced processed samples, and using the trained autoencoder as a pelletizer melt anomaly detection model to detect the pelletizer melt state. The method of the present invention improves the accuracy and efficiency of anomaly detection by designing an autoencoder structure and establishing a corresponding error function; by constructing a pelletizer melt anomaly detection error function based on a regularization loss function, the stability and reliability of the model in practical applications are improved; and by iteratively training the autoencoder through enhanced processed samples, production efficiency and product quality are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence deep learning technology, and in particular to a pelletizer melt anomaly detection method and system based on an autoencoder. Background Art

[0002] In the field of polyester chip production, the role of pelletizer is crucial. It integrates key processes such as polyester melt extrusion and drawing, cooling, pelletizing and drying. However, melt abnormality, especially in the extrusion and drawing link, has always been the main problem restricting the efficiency of pelletizer and product quality. Melt abnormality usually manifests itself as melt shaking, banding and hanging. Hanging is the most serious abnormal form, which may cause melt accumulation in the guide groove. In severe cases, it needs to be shut down for processing. These abnormalities are mainly caused by upstream process parameter fluctuations, casting head blockage or abnormal vibration of equipment. At present, the melt abnormality monitoring method commonly used in the industry is video monitoring, and the operator identifies the abnormality by observing the monitoring screen. However, this method has obvious shortcomings. First, the reliability and accuracy of manual monitoring are poor and easily affected by human factors; second, the response speed is slow, and real-time monitoring and rapid response cannot be achieved; finally, this method is labor-intensive, inefficient, and cannot fully utilize the advantages of modern automation and intelligent technology.

[0003] In the present invention, the collected pelletizer data samples are enhanced to improve the representativeness and diversity of the data, an autoencoder structure is designed, and a corresponding error function is established. This structure can effectively learn and extract the key features of the melt state. The melt anomaly detection error function constructed based on the regularized loss function can more accurately identify the melt anomaly state. The autoencoder is iteratively trained, and the obtained model can monitor the pelletizer melt state in real time and detect anomalies in time. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is: the existing melt anomaly detection method has low reliability, slow response and low efficiency, and how to realize the melt anomaly detection in the polyester chip production process.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a method for detecting a pelletizer melt anomaly based on an autoencoder, comprising collecting pelletizer data samples and performing enhancement processing on the samples; designing an autoencoder structure and establishing an autoencoder error function; constructing a pelletizer melt anomaly detection error function based on a regularized loss function; iteratively training the autoencoder with enhanced samples, and using the trained autoencoder as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

[0007] As a preferred solution of the pelletizer melt anomaly detection method based on autoencoder described in the present invention, wherein: the pelletizer data sample includes images of different time periods selected by monitoring when the pelletizer is running as positive samples of the data set; images containing melt anomalies are extracted from the pelletizer melt hanging accident as negative samples of the data set.

[0008] As a preferred solution of the pelletizer melt anomaly detection method based on autoencoder described in the present invention, the enhancement processing includes randomly changing the image brightness within ±20%, randomly changing the image contrast within ±20%, randomly changing the image saturation within ±20%, and randomly changing the image rotation within ±3° in each round of training iteration.

[0009] As a preferred solution of the pelletizer melt anomaly detection method based on the autoencoder of the present invention, the autoencoder structure includes: the autoencoder decodes the input image and inputs it to the input layer through feature extraction, the hidden layer is trained to learn parameters, and the output layer reconstructs the fused image through feature fusion after output by the encoder; the activation function of the hidden layer is set, which is expressed as:

[0010] ReLU(x)=max(0,x)

[0011] Among them, ReLU(x) is the nonlinear activation function of the hidden layer.

[0012] As a preferred solution of the pelletizer melt anomaly detection method based on the autoencoder of the present invention, wherein: the establishment of the autoencoder error function includes processing the distance error and the average value error of the outlier image; the distance error includes the calculated mean error of the Euler distance between the output image of the actual image based on the multi-layer convolutional neural network and the reconstructed image of the autoencoder, expressed as:

[0013]

[0014]

[0015] Among them, Loss1(i) is the distance error of the i-th layer image, N is the number of elements in the single-layer image in the output image of the actual image after the multi-layer convolutional neural network, Output1 is the output image of the actual image after the multi-layer convolutional neural network, Output2 is the reconstructed image of the autoencoder, j is the image sequence, Loss1 is the calculated mean error of the distance error, and M is the number of network layers of Output1; the average value error of the outlier image includes the square of the difference image between the output image of the actual image based on the multi-layer convolutional neural network and the reconstructed image of the autoencoder, and the average value of the pixels of the outlier image after dimensional compression and bilinear interpolation amplification, which is expressed as:

[0016]

[0017] Among them, Diff_image(i) is the square of the difference image between the output image of the actual image of the i-th layer after the multi-layer convolutional neural network and the reconstructed image of the autoencoder, the outlier image after dimensional compression and bilinear interpolation amplification, Loss2 is the mean error of Diff_image(i), and G is the number of elements in the Diff_image(i) image.

[0018] As a preferred solution of the pelletizer melt anomaly detection method based on the autoencoder described in the present invention, wherein: the construction of the pelletizer melt anomaly detection error function includes introducing a regularized loss function R_loss α (w) is expressed as:

[0019]

[0020] Among them, K is the number of weights in the entire network, w k is the value corresponding to the kth weight, and α is an adjustable parameter; the pelletizer melt anomaly detection error function is constructed as follows:

[0021] Loss = Loss1 + Loss2 + R_loss α (w)

[0022] Among them, Loss is the pelletizer melt anomaly detection error function.

[0023] As a preferred solution of the pelletizer melt anomaly detection method based on autoencoder described in the present invention, the iterative training includes setting training parameters through an Adam optimizer through enhanced pelletizer data samples, training the autoencoder structure, and using the trained autoencoder as a pelletizer melt anomaly detection model. The Loss2 value calculated by Diff_image(i) is used as the basis for image anomaly judgment to detect the pelletizer melt state.

[0024] Another object of the present invention is to provide a pelletizer melt anomaly detection system based on an autoencoder, which can iteratively train the autoencoder through enhanced processed samples. The trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state, thereby solving the problem of low reliability of current melt anomaly detection technology.

[0025] As a preferred solution of the pelletizer melt anomaly detection system based on the autoencoder described in the present invention, it includes: a data acquisition module, an autoencoder construction module, an error analysis module, and an anomaly detection module; the data acquisition module is used to collect pelletizer data samples and enhance the samples; the autoencoder construction module is used to design the autoencoder structure and establish the autoencoder error function; the error analysis module is used to construct a pelletizer melt anomaly detection error function based on the regularization loss function; the anomaly detection module is used to iteratively train the autoencoder through the enhanced processed samples, and the trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

[0026] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a step of a pelletizer melt anomaly detection method based on an autoencoder.

[0027] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a pelletizer melt anomaly detection method based on an autoencoder.

[0028] The beneficial effects of the present invention are as follows: the pelletizer melt anomaly detection method based on the autoencoder provided by the present invention can simulate different operating environments and conditions by collecting pelletizer image data under normal operation and abnormal conditions, and enhancing these images, thereby improving the adaptability of the model to the actual working environment; by designing the autoencoder structure and establishing the corresponding error function, the key features in the pelletizer image data can be effectively learned and extracted, and the accuracy and efficiency of anomaly detection are improved; by constructing a pelletizer melt anomaly detection error function based on a regularized loss function, the model is prevented from overfitting, the generalization ability of the model is improved, and the stability and reliability of the model in practical applications are improved; by iteratively training the autoencoder with enhanced processed samples, automatic and real-time detection of pelletizer melt anomalies is achieved, which greatly reduces the dependence on manual monitoring and improves production efficiency and product quality. The present invention achieves better effects in terms of adaptability, reliability and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0030] Figure 1An overall flow chart of a pelletizer melt anomaly detection method based on an autoencoder provided for the first embodiment of the present invention.

[0031] Figure 2 An autoencoder structure diagram of a pelletizer melt anomaly detection method based on an autoencoder provided in the second embodiment of the present invention.

[0032] Figure 3 An iterative curve diagram of an autoencoder training process of a pelletizer melt anomaly detection method based on an autoencoder provided in the second embodiment of the present invention.

[0033] Figure 4 An outlier value distribution diagram of a pelletizer melt anomaly detection method based on an autoencoder provided in the second embodiment of the present invention.

[0034] Figure 5 A normal melt diagram showing the contrast effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0035] Figure 6 A 0.477 error heat map showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0036] Figure 7 FIG1 is a general abnormal melt diagram showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0037] Figure 8 An 8.257-point error heat map showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0038] Fig. 9 FIG2 is a general abnormal melt diagram showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0039] Fig.10 A 22.807-point error heat map showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0040] Fig.11 A small-scale severely abnormal melt diagram showing the contrast effect from normal to severely abnormal of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0041] Fig.12 A 42.623-point error heat map showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0042] Fig.13 A large area of ​​severely abnormal melt diagram showing the contrast effect from normal to severely abnormal of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0043] Fig.14 A 55.159-point error heat map showing the comparison effect from normal to severe abnormality of a pelletizer melt abnormality detection method based on an autoencoder provided in the second embodiment of the present invention.

[0044] Fig.15 An overall flow chart of a pelletizer melt anomaly detection system based on an autoencoder provided in the third embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0046] Example 1

[0047] Reference Figure 1 , as an embodiment of the present invention, provides a pelletizer melt abnormality detection method based on an autoencoder, comprising:

[0048] S1: Collect pelletizer data samples and perform enhancement processing on the samples.

[0049] Furthermore, the pelletizer data samples include images selected from different time periods during the operation of the pelletizer as positive samples of the data set; and images containing melt anomalies extracted from the pelletizer melt hanging accident as negative samples of the data set.

[0050] It should be noted that the enhancement processing includes randomly changing the image brightness within ±20%, the image contrast within ±20%, the image saturation within ±20%, and the image rotation within ±3° in each training iteration.

[0051] It should also be noted that the pelletizer data samples obtained are 558 images from different time periods selected during the normal operation of the pelletizer as positive samples of the data set, and 510 images containing melt anomalies were extracted from the pelletizer melt hanging accident as negative samples of the data set. These samples include images of the pelletizer during normal operation (positive samples) and abnormal images in the melt hanging accident (negative samples). Positive samples help the model learn the image features of the pelletizer under normal operation, while negative samples allow the model to recognize the features of melt anomalies. The combined use of positive and negative samples improves the model's ability to recognize abnormal states, thereby improving the accuracy of detection. Enhanced processing includes random processing of image brightness, contrast, saturation and rotation. Change, the application of this data augmentation technology enables the model to be trained on more diverse data, enhancing the generalization ability of the model. For example, by adjusting the brightness and contrast, the model can better adapt to image recognition under different lighting conditions; rotation change makes the model more robust to changes in image direction. These enhancement processing methods make the model more reliable and adaptable in practical applications. In each round of training iteration, enhancement processing is applied to data samples. This iterative training method allows the model to gradually learn and adapt to the complexity of the data, thereby improving its ability to recognize abnormal states. During the iterative training process, the model continuously adjusts its parameters to minimize errors, which helps to improve the model's prediction accuracy for new data.

[0052] S2: Design the autoencoder structure and establish the autoencoder error function.

[0053] Furthermore, the autoencoder structure includes the following steps: the autoencoder decodes the input image and inputs it to the input layer through feature extraction, the hidden layer learns parameters through training, and the output layer reconstructs the fused image through feature fusion by the encoder after the output; the activation function of the hidden layer is set, which is expressed as:

[0054] ReLU(x)=max(0,x)

[0055] Among them, ReLU(x) is the nonlinear activation function of the hidden layer.

[0056] It should be noted that establishing the autoencoder error function includes processing the distance error and the average value error of the outlier image; the distance error includes the calculated average error of the Euler distance between the output image of the actual image based on the multi-layer convolutional neural network and the autoencoder reconstructed image, which is expressed as:

[0057]

[0058]

[0059] Among them, Loss1(i) is the distance error of the i-th layer image, N is the number of elements in the single-layer image in the output image of the actual image after the multi-layer convolutional neural network, that is, 64*64, Output1 is the output image of the actual image after the multi-layer convolutional neural network, Output2 is the reconstructed image of the autoencoder, j is the image sequence, Loss1 is the calculated mean error of the distance error, M is the number of network layers of Output1, that is, 128; the average value error of the outlier image includes the square of the difference image between the output image of the actual image based on the multi-layer convolutional neural network and the reconstructed image of the autoencoder, and the average value of the pixels of the outlier image after dimensional compression and bilinear interpolation amplification, which is expressed as:

[0060]

[0061] Among them, Diff_image(i) is the square of the difference image between the output image of the actual image of the i-th layer after the multi-layer convolutional neural network and the reconstructed image of the autoencoder, the outlier image after dimensional compression and bilinear interpolation amplification, Loss2 is the mean error of Diff_image(i), and G is the number of elements in the Diff_image(i) image, that is, 256*256.

[0062] It should also be noted that the autoencoder is a neural network for unsupervised learning. It decodes the input image to the input layer through feature extraction, then learns parameters through the hidden layer, and finally the output layer outputs the reconstructed image after feature fusion. This structure enables the autoencoder to effectively learn the high-level features of the data, and has a significant effect on tasks such as image reconstruction, noise reduction or anomaly detection. The activation function of the hidden layer is a nonlinear transformation in the neural network, which determines how the network converts input information into output. Selecting a suitable activation function is crucial to the learning ability and performance of the model. In the present invention, the selection and optimization of the activation function helps to improve the ability of the autoencoder to process images, so that it can better capture and represent complex patterns and features in the image. The error function is a key indicator to measure the difference between the output of the autoencoder and the actual image. The error function in the present invention includes a distance error and an outlier image mean error. The distance error evaluates the reconstruction effect of the model by calculating the Euler distance between the actual image and the image reconstructed by the autoencoder. The outlier image mean error focuses on the difference between the reconstructed image and the actual image, which helps to identify abnormal areas in the image. The design of these error functions enables the autoencoder to reconstruct images and detect anomalies more accurately.

[0063] S3: Constructing pelletizer melt anomaly detection error function based on regularized loss function.

[0064] Furthermore, constructing the pelletizer melt anomaly detection error function includes introducing the regularization loss function R_loss α (w) is expressed as:

[0065]

[0066] Among them, K is the number of weights in the entire network, w k is the value corresponding to the kth weight, and α is an adjustable parameter; the pelletizer melt anomaly detection error function is constructed as follows:

[0067] Loss = Loss1 + Loss2 + R_loss α (w)

[0068] Among them, Loss is the pelletizer melt anomaly detection error function.

[0069] It should be noted that regularization is a commonly used technique in machine learning, which is used to reduce overfitting of models and improve the generalization ability of models. In the present invention, the regularization loss function constrains the network weights to help the model avoid overfitting of specific samples while learning data features, which helps to improve the stability and accuracy of the model when processing unseen data. In the regularization loss function, α is an adjustable parameter used to control the degree of influence of the regularization term. By adjusting the value of α, the relationship between fitting the model and preventing overfitting can be balanced, so as to find the optimal balance between model complexity and generalization ability. It combines the regularization loss function with the needs specific to pelletizer melt anomaly detection. The function is designed to accurately identify and quantify melt anomalies, thereby improving the operating efficiency and product quality of the pelletizer. By accurately calculating the error of the melt anomaly, potential production problems can be discovered and handled in a timely manner, reducing production interruptions and material waste.

[0070] S4: The autoencoder is iteratively trained through the enhanced processed samples, and the trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

[0071] Furthermore, the iterative training includes training the autoencoder structure through the enhanced processed pelletizer data samples and setting the training parameters through the Adam optimizer. The trained autoencoder is used as a pelletizer melt anomaly detection model, and the Loss2 value calculated by Diff_image(i) is used as the basis for image anomaly judgment to detect the pelletizer melt state.

[0072] It should be noted that iterative training is a commonly used training method in machine learning, which minimizes errors by repeatedly adjusting model parameters. In the present invention, iterative training is used to optimize the autoencoder structure to ensure that the model can accurately recognize and reconstruct the input image data, which helps to improve the stability and accuracy of the model when processing unseen data. Data enhancement is a technology that improves the generalization ability of the model. By transforming the original data (such as adjusting brightness, contrast, saturation and rotation, etc.), new data samples are generated. This method can increase the diversity of data and reduce the model's dependence on specific sample features, thereby improving the generalization ability of the model. The Adam optimizer is an efficient gradient descent method that combines momentum and adaptive learning rate. Rate), the Adam optimizer can automatically adjust the learning rate according to the errors of the model, speed up the training process and improve the convergence speed of the model. By using enhanced processed data samples and iterative training methods, combined with the Adam optimizer and the autoencoder structure, an efficient and accurate melt anomaly detection method is provided for the pelletizer, which not only improves the operating stability and product quality of the pelletizer, but also helps to reduce production costs and improve production efficiency. Through the application of deep learning technology, the present invention has important practical application value and broad market prospects in the polyester chip production process.

[0073] Example 2

[0074] Reference Figure 2-Figure 14 , which is an embodiment of the present invention, provides a pelletizer melt anomaly detection method based on an autoencoder. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0075] First, in step 1, pelletizer data samples are collected and enhanced.

[0076] Referring to Table 1, the pelletizer data samples obtained are 558 images at different time periods selected from the monitoring when the pelletizer is operating normally as the positive samples of the data set, and 510 images containing melt anomalies extracted from the pelletizer melt hanging accident as the negative samples of the data set. These samples are divided into training set, validation set and test set.

[0077] Table 1 Dataset partition table

[0078] Data Testing Positive Sample Negative samples total Training set 391(70%) 0 391 Validation set 83(15%) 100 183 Test Set 84(15%) 410 494 total 558 510 1068

[0079] The sample enhancement processing includes randomly changing the image brightness within ±20% in each round of training iteration; randomly changing the image contrast within ±20%; randomly changing the image saturation within ±20%; and randomly changing the image rotation within ±3°.

[0080] Step 2: Design the autoencoder structure and establish the autoencoder error function.

[0081] The structure diagram of the autoencoder is as follows Figure 2 As shown in the figure, the autoencoder decodes the input image into the input layer through feature extraction, allows the hidden layer to learn parameters through training, and reconstructs the fused image through feature fusion after the output of the output layer.

[0082] Step 3: Construct the pelletizer melt anomaly detection error function based on the regularized loss function.

[0083] Step 4: Iteratively train the autoencoder using the enhanced pelletizer data samples until the pelletizer melt anomaly detection error function is minimized, and use the trained autoencoder as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

[0084] The autoencoder is optimized using the Adam optimizer. The basic training parameters include the network initialization method is Xavier; the Epoch is 250, i.e., 250 rounds of iterations; the Batch size is 1; the number of iterations is 97750, i.e., 391 images, and the iterations are 250 times; the learning rate is 1e-4 for the first 210 Epochs; 1e-5 for the next 40 Epochs; and the network parameters to be trained are 2981616.

[0085] In the HLOCON-22.11 version, the autoencoder is trained using the enhanced pelletizer data samples. The training process iteration curve of the training results is shown in the figure below: Figure 3 As shown in the figure, the results show that the network converges quickly in the first 100 epochs and decreases to around 0.08 at the end of training. The total training time is 32 minutes and 54 seconds, with a total of 97,750 iterations. The network training efficiency can meet the needs of actual industrial applications.

[0086] refer to Figure 4 The Loss2 value calculated from the Diff_image image is used as the basis for judging image abnormalities. In the constructed dataset, the highest abnormal value (Loss2 value) of normal images is 0.477 points, and the lowest abnormal value of abnormal images is 8.257 points. The middle value of 3.89 points is taken as the normal-abnormal classification threshold.

[0087] Referring to Table 2, the training and verification results of the confusing data show that the prediction accuracy of the AE network for both normal and abnormal images is 100%.

[0088] Table 2 Obfuscated data verification results

[0089]

[0090] refer to Figure 5-Figure 14By comparing the effect diagrams of pelletizer melt from normal to severe abnormality, it is found that the color of the area in the error heat map represents the degree of abnormality of the area. The redder the color of the area (the higher the temperature), the greater the autoencoder reconstruction error in this area, that is, the more severe the abnormality. Figure 6 and Figure 8 It can be seen from the comparison that for the normal melt image with the highest outlier value and the general abnormal melt image with the lowest outlier value, the outlier values ​​given by the autoencoder are quite different, indicating that the network has a good distinction between "normal" and "abnormal" and has a high sensitivity to melt abnormalities. At the same time, the maximum outlier value of the normal melt image is only 0.477, indicating that the reconstruction error of the network is small. Fig.10 , Fig.12 and Fig.14 From the comparison, we can see that although they all belong to melt anomalies, due to the different degrees of anomalies, the error images obtained by the autoencoder also have obvious differences, and the high-temperature area is basically consistent with the actual anomaly area, which verifies the positioning ability of the network. As the melt anomaly continues to worsen, the "high temperature" area in the error heat map continues to increase, and the calculated anomaly score Loss2 is also constantly improving. The two show a relatively obvious positive correlation, which verifies the autoencoder's ability to distinguish the size of the anomaly.

[0091] Example 3

[0092] Reference Fig.15 , as an embodiment of the present invention, provides a pelletizer melt anomaly detection system based on an autoencoder, including a data acquisition module, an autoencoder construction module, an error analysis module, and an anomaly detection module.

[0093] The data acquisition module is used to collect pelletizer data samples and enhance the samples; the autoencoder construction module is used to design the autoencoder structure and establish the autoencoder error function; the error analysis module is used to construct the pelletizer melt anomaly detection error function based on the regularized loss function; the anomaly detection module is used to iteratively train the autoencoder through the enhanced samples, and the trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

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

[0095] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0096] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0097] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

[0098] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A pelletizer melt anomaly detection method based on an autoencoder, characterized in that: include: Collect pelletizer data samples and perform enhancement processing on the samples; Design the autoencoder structure and establish the autoencoder error function; The pelletizer melt anomaly detection error function is constructed based on the regularized loss function; The autoencoder is iteratively trained through enhanced samples, and the trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state; The pelletizer data sample includes images of different time periods selected during the operation of the pelletizer as positive samples of the data set; In the pelletizer melt hanging accident, images containing melt anomalies were extracted as negative samples of the data set; The autoencoder structure includes: the autoencoder decodes the input image to the input layer through feature extraction, allows the hidden layer to learn parameters through training, and reconstructs the fused image through feature fusion after the output of the output layer; Set the activation function of the hidden layer, expressed as: ReLU(x)=max(0,x) Among them, ReLU(x) is the nonlinear activation function of the hidden layer; Building the autoencoder error function includes processing distance error and outlier image mean error; The distance error includes the calculated mean error of the Euler distance between the output image of the actual image based on the multi-layer convolutional neural network and the reconstructed image of the autoencoder, which is expressed as: Among them, Loss1(i) is the distance error of the i-th layer image, N is the number of elements in the single-layer image in the output image after the actual image passes through the multi-layer convolutional neural network, Output1 is the output image after the actual image passes through the multi-layer convolutional neural network, Output2 is the reconstructed image of the autoencoder, j is the image sequence, Loss1 is the calculated mean error of the distance error, and M is the number of network layers of Output1; The average error of the outlier image includes the square of the difference image between the output image of the actual image based on the multi-layer convolutional neural network and the image reconstructed by the autoencoder, and the average pixel value of the outlier image after dimensional compression and bilinear interpolation amplification, which is expressed as: Where Diff_image(i) is the square of the difference image between the output image of the actual image of the i-th layer after multi-layer convolutional neural network and the image reconstructed by the autoencoder, the outlier image after dimension compression and bilinear interpolation amplification, Loss2 is the mean error of Diff_image(i), and G is the number of elements in the Diff_image(i) image; Constructing the pelletizer melt anomaly detection error function includes introducing the regularization loss function R_loss α (w) is expressed as: Among them, K is the number of weights in the entire network, w k is the value corresponding to the kth weight, and α is an adjustable parameter; The pelletizer melt anomaly detection error function is constructed as: Loss=Loss1+Loss2+R_loss α (w) Among them, Loss is the pelletizer melt anomaly detection error function.

2. The pelletizer melt anomaly detection method based on an autoencoder according to claim 1, characterized in that: The enhancement process includes randomly changing the image brightness within ±20%, randomly changing the image contrast within ±20%, randomly changing the image saturation within ±20%, and randomly changing the image rotation within ±3° in each round of training iteration.

3. The pelletizer melt anomaly detection method based on an autoencoder according to claim 1, characterized in that: The iterative training includes setting training parameters through the Adam optimizer through the pelletizer data samples that have been enhanced, training the autoencoder structure, using the trained autoencoder as a pelletizer melt anomaly detection model, and using the Loss2 value calculated by Diff_image(i) as the basis for image anomaly judgment to detect the pelletizer melt state.

4. A system using the pelletizer melt anomaly detection method based on an autoencoder as claimed in any one of claims 1 to 3, characterized in that: It includes data acquisition module, autoencoder construction module, error analysis module and anomaly detection module; The data acquisition module is used to collect pelletizer data samples and perform enhancement processing on the samples; The autoencoder building module is used to design the autoencoder structure and establish the autoencoder error function; The error analysis module is used to construct a pelletizer melt anomaly detection error function based on a regularized loss function; The anomaly detection module is used to iteratively train the autoencoder through enhanced processed samples, and the trained autoencoder is used as a pelletizer melt anomaly detection model to detect the pelletizer melt state.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the pelletizer melt abnormality detection method based on the autoencoder described in any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the pelletizer melt anomaly detection method based on an autoencoder according to any one of claims 1 to 3 are implemented.