Gluing method and control system
Deep learning technology and the D-LKA network model are used to automatically judge and optimize the image of the material after gluing, solving problems such as distortion, missing glue, and broken glue in the automatic gluing system, and achieving controllable quality of material gluing. Improved performance and efficiency.
Patent Information
- Application Number
- CN202410848495.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-29
AI Technical Summary
The existing automatic gluing system has problems such as distortion, missing glue, and glue breakage during the material gluing process, resulting in uncontrollable gluing quality, and the process relies on manual adjustment, which is time-consuming and labor-intensive, and lacks unified standards.
Using image acquisition and deep learning technology, the D-LKA network model is used to extract and compare features of the material's gluing images, automatically judge the gluing quality, classify the reasons for failure, and optimize the gluing parameters to achieve automatic re-gluing. .
It realizes the unmanned process of gluing materials, ensures 100% controllability of gluing quality, saves manpower and materials, and improves gluing efficiency and quality.
Smart Images

Figure CN118864797A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of material gluing, and in particular to a gluing method and a control system. Background Art
[0002] At present, in the material processing process of air conditioner production, some materials need to be glued to ensure that the materials can be effectively bonded to each other in the air conditioner production process. In order to efficiently complete the gluing of materials, the existing gluing technology is to realize automatic gluing of materials through a gluing system.
[0003] However, due to differences in the types of materials, the positions of materials, and the concentration and quantity of glue, the existing automatic gluing systems may cause problems such as crooked gluing, missed gluing, inadequate gluing, and broken glue when gluing materials. At this time, it is necessary to manually check the gluing of each material, screen out the materials with unqualified gluing, and then adjust the position of the materials according to the types of materials, set the corresponding glue concentration and quantity, and re-glue the materials. This process needs to be repeated to ensure the gluing quality of all materials. However, since this process involves human factors and has great uncertainty, it cannot guarantee that the gluing quality of each material is 100% controllable, and the completion of this process requires a lot of time and manpower. In addition, when re-gluing materials, the setting of glue concentration and quantity is done manually based on experience, and it is impossible to form a unified set of standards.
[0004] Therefore, the prior art needs to be further developed. Summary of the invention
[0005] The purpose of the present invention is to overcome the above technical deficiencies and provide a gluing method and control system to solve the technical problem of uncontrollable quality of gluing materials in related technologies.
[0006] In order to achieve the above technical objectives, the present invention adopts the following technical scheme: a gluing method is provided, including: collecting images of materials after the initial gluing is completed; inputting the images of the materials after the initial gluing into a preset comparison model to obtain a normalized image; performing feature extraction on the normalized image to obtain surface state characteristics of the materials after the initial gluing is completed; comparing the surface state characteristics of the materials after the initial gluing with the qualified surface state characteristics of the gluing in the preset comparison model to determine whether the initial gluing of the materials is qualified; if the initial gluing of the materials is unqualified, classifying the reasons for the unqualified gluing based on the surface state characteristics of the unqualified materials; optimizing the gluing parameters based on the reasons for the unqualified gluing to obtain optimized gluing parameters; and re-gluing the unqualified materials using the optimized gluing parameters.
[0007] Furthermore, the method for obtaining a normalized image includes: rotating, flipping, scaling and pixel-adjusting the image after the initial gluing of the material to obtain a standard image; mapping the pixel value of the standard image to a preset range by linear scaling to obtain a normalized image.
[0008] Furthermore, a method for extracting features from the normalized image to obtain surface state features of the material after the initial gluing is completed includes: capturing local features of the normalized image based on an adaptive sampling grid in the D-LKA model, and adjusting the shape and position of the convolution kernel through a large-kernel convolution combination to aggregate the global information of the normalized image, thereby obtaining surface state features of the material after the initial gluing is completed.
[0009] Furthermore, the surface state characteristics of the material after the initial gluing include the location, shape and color of the glue.
[0010] Furthermore, the preset comparison model includes: a convolutional layer, a SA attention mechanism, a pooling layer, and a fully connected layer, wherein the convolutional layer and the SA attention mechanism are used to obtain the texture, shape, and structure information of the normalized image and represent it as a high-dimensional feature space, the pooling layer is used to reduce the spatial resolution of the normalized image, and the fully connected layer is used to deeply learn and extract the surface state features of the input normalized image.
[0011] Furthermore, the gluing method also includes: assigning different importance parameters to the texture, shape and structure information of the normalized image through the SA attention mechanism.
[0012] Furthermore, the reasons for unqualified gluing include: crooked gluing, missed gluing, insufficient gluing, excessive glue and broken glue.
[0013] Furthermore, the method for obtaining optimized gluing parameters also includes: using the D-LKA model to compare the surface state characteristics of unqualified materials with the surface state characteristics of qualified gluing in the preset comparison model to obtain the unqualified characteristics of the cause of unqualified gluing; based on the cause of unqualified gluing, adjusting the initial gluing parameters, and outputting optimized gluing parameters; wherein, if the cause of unqualified gluing is crooked gluing or broken glue, then after clearing the glue that has been applied, gluing is performed again based on the initial gluing parameters; if the cause of unqualified gluing is omission, then gluing is performed again based on the initial gluing parameters; if the cause of unqualified gluing is insufficient gluing or excessive glue, then comparing the surface state characteristics of the unqualified material with the surface state characteristics of qualified gluing in the preset comparison model to obtain the corresponding optimized gluing parameters, and after clearing the glue that has been applied, gluing is performed again based on the optimized gluing parameters.
[0014] Furthermore, the gluing parameters include: gluing temperature, gluing time, glue concentration and glue quantity.
[0015] A gluing control system, the gluing control system includes: an acquisition unit, the acquisition unit is used to acquire images after the initial gluing of the material is completed; a data processing unit, the data processing unit is used to input the images after the initial gluing of the material into a preset comparison model to obtain a normalized image; a feature extraction unit, the feature extraction unit is used to extract features from the normalized image to obtain surface state characteristics of the material after the initial gluing; a judgment unit, the judgment unit is used to compare the surface state characteristics of the material after the initial gluing with the qualified surface state characteristics of the gluing in the preset comparison model to determine whether the initial gluing of the material is qualified; a classification unit, the classification unit is used to classify the reasons for unqualified gluing based on the surface state characteristics of unqualified materials; an optimization unit, the optimization unit is used to optimize the gluing parameters based on the reasons for unqualified gluing to obtain optimized gluing parameters; a gluing unit, the gluing unit is used to re-glue the unqualified material using the optimized gluing parameters.
[0016] A computer-readable storage medium stores a program for implementing a gluing method, and the program for implementing the gluing method is executed by a processor to implement the steps of the gluing method.
[0017] Beneficial effects:
[0018] By integrating large convolution kernels and SA attention mechanisms, we build a D-LKA network model. In a 5G network environment, we automatically judge the gluing status of materials through message queue transmission, and screen out materials with unqualified gluing. We analyze the materials through the D-LKA network model, optimize the gluing parameters, and automatically transmit them to the automatic gluing system, thus realizing the unmanned operation of the entire gluing process, saving a lot of manpower and materials, and effectively improving the quality of gluing materials, ensuring that the gluing quality of each material is 100% controllable. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of the gluing method used in Example 1 of the present invention;
[0020] Figure 2 It is a structural schematic diagram of a glue application control system used in an embodiment of the present invention;
[0021] Figure 3 It is a flow chart of the gluing method adopted in Example 2 of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] Embodiment 1:
[0024] According to an embodiment of the present invention, a method for applying glue is provided. Figure 1 ,include:
[0025] S100 collects images of materials after the initial gluing process;
[0026] S200 inputs the image of the material after the initial gluing into the preset comparison model to obtain a normalized image;
[0027] S300 performs feature extraction on the normalized image to obtain surface state features of the material after the initial gluing is completed;
[0028] S400 compares the surface state characteristics of the material after the initial gluing with the qualified surface state characteristics of the gluing in the preset comparison model to determine whether the initial gluing of the material is qualified;
[0029] S500 If the material fails to meet the initial gluing requirements, the reasons for the failure to meet the gluing requirements are classified based on the surface characteristics of the failed material;
[0030] S600 optimizes the gluing parameters based on the reasons for the gluing failure to obtain optimized gluing parameters;
[0031] S700 uses the optimized gluing parameters to re-glue the unqualified materials.
[0032] By adopting the above method, the gluing condition of the material is automatically judged through a preset comparison model, the material with unqualified gluing is screened out, and the material with unqualified gluing is analyzed, and its corresponding gluing parameters are optimized and automatically transmitted to the gluing unit, thus realizing the unmanned operation of the entire material gluing process, saving a lot of manpower and materials, and effectively improving the quality of material gluing, ensuring that the gluing quality of each material is 100% controllable, and solving the technical problem of uncontrollable quality of material gluing in related technologies.
[0033] Specifically, the preset comparison model is a D-LKA network model.
[0034] It should be noted, however, that the construction process of the D-LKA network model includes: designing and building a D-LKA neural network model, which includes convolutional layers, SA attention mechanisms, pooling layers, fully connected layers, etc. D-LKA is designed to be able to fully understand contextual information within the receptive field while adapting to different data patterns.
[0035] In practice, the image data after the initial gluing of the material refers to the image of the material after gluing obtained by taking a photo with a high-precision camera. These images are used to input the D-LKA network model for automatic judgment. The image can show the surface features of the material after gluing, such as the location or shape of the glue, color and other information.
[0036] In the gluing method of this embodiment, see Figure 1 , the method for obtaining a normalized image includes: rotating, flipping, scaling, and pixel adjustment of the image of the material after the initial gluing to obtain a standard image; mapping the pixel values of the standard image to a preset range by linear scaling to obtain a normalized image. In this way, normalizing the image after the initial gluing of the material helps to eliminate the brightness and contrast differences between different images, making it easier for the model to learn the common features of the image, and helping to accelerate the training process of the model, because neural networks can more easily process input data with a consistent range. In addition, image normalization also helps to improve the robustness of the model to image features.
[0037] Specifically, since the surface state of the material after gluing may be affected by many factors, the use of data enhancement technology can increase the diversity of data and improve the robustness of the model. Data enhancement operations may include: obtaining material images at different angles by random rotation; obtaining different conditions of the material in the horizontal or vertical direction by random flipping; obtaining material images of different sizes by random scaling; and obtaining material images under different lighting conditions by adjusting brightness and contrast.
[0038] In the gluing method of this embodiment, see Figure 1 The method for extracting features from the normalized image to obtain surface state features of the material after the initial gluing is completed includes: capturing local features of the normalized image based on an adaptive sampling grid in a D-LKA model, and adjusting the shape and position of the convolution kernel through a large-kernel convolution combination to aggregate global information of the normalized image, thereby obtaining surface state features of the material after the initial gluing is completed.
[0039] Specifically, the D-LKA network model is used to process and analyze image data to extract feature information such as the position and shape of the material after gluing. The image preprocessing method specifically refers to image normalization, which maps the pixel values of the image to a specific range, usually [0,1] or [-1,1], by linear scaling. The D-LKA method is used to learn features of the preprocessed image. D-LKA uses a combination of large kernel convolutions to adaptively adjust the shape and position of the convolution kernel to better capture the unstructured features of the surface of the material after gluing. The SA attention mechanism will give different importance to different parts of the image based on the results of D-LKA in order to better focus on areas where problems may exist.
[0040] In the gluing method of this embodiment, see Figure 1 The surface characteristics of the material after the initial gluing include the position, shape and color of the glue. In this way, the position and shape of the glue can be used to determine whether the position and range of the gluing meet the requirements, and the color of the glue can be used to determine whether the amount of glue is sufficient.
[0041] In the gluing method of this embodiment, see Figure 1 The preset contrast model includes: a convolutional layer, an SA attention mechanism, a pooling layer and a fully connected layer, wherein the convolutional layer and the SA attention mechanism are used to obtain the texture, shape and structure information of the normalized image and represent it as a high-dimensional feature space, the pooling layer is used to reduce the spatial resolution of the normalized image, and the fully connected layer is used to deeply learn and extract the surface state features of the input normalized image.
[0042] In specific practice, a D-LKA neural network model is designed and constructed, which includes convolutional layers, SA attention mechanisms, pooling layers, fully connected layers, etc. D-LKA is designed to be able to fully understand contextual information within the receptive field while adapting to different data patterns; the preprocessed image data is input into the D-LKA network, and the output of each layer is calculated layer by layer through the forward propagation process of the network. The SA attention mechanism helps the network focus on important areas in the image and learn more discriminative features; in the convolutional layers and attention mechanisms, the network learns to extract feature maps of the image. These feature maps capture information such as texture, shape, and structure in the image and represent them as a high-dimensional feature space; pooling operations are performed to reduce the spatial resolution of the feature map, reduce the amount of calculation, and extract higher-level abstract features; the pooled feature map is input into the fully connected layer to learn higher-level semantic information. These layers help map the extracted features to the final output.
[0043] In the gluing method of this embodiment, see Figure 1The gluing method also includes: assigning different importance parameters to the texture, shape and structure information of the normalized image through the SA attention mechanism. In this way, the SA attention mechanism helps the network focus on important areas in the image and learn more discriminative features.
[0044] In the gluing method of this embodiment, see Figure 1 The reasons for unqualified gluing include: crooked gluing, missed gluing, insufficient gluing, excessive glue and broken glue.
[0045] In specific practice, the D-LKA network model can not only judge whether the material gluing is qualified, but also the judgment result is not limited to binary. At the same time, it classifies the reasons for unqualified gluing again, as follows: qualified gluing image sample: label is 0; unqualified gluing image sample:
[0046] (1) Crooked: label is 1;
[0047] (2) Missed: label is 2;
[0048] (3) Insufficient: label is 3;
[0049] (4) Too much glue: label is 4;
[0050] (5) Glue breaking: label is 5;
[0051] In the gluing method of this embodiment, see Figure 1 The method for obtaining optimized gluing parameters also includes: using the D-LKA model to compare the surface state characteristics of unqualified materials with the surface state characteristics of qualified glue in the preset comparison model to obtain the unqualified characteristics of the cause of unqualified gluing; based on the cause of unqualified gluing, adjusting the initial gluing parameters, and outputting optimized gluing parameters; wherein, if the cause of unqualified gluing is crooked gluing or broken glue, then after clearing the glue that has been applied, gluing is performed again based on the initial gluing parameters; if the cause of unqualified gluing is missed gluing, then gluing is performed again based on the initial gluing parameters; if the cause of unqualified gluing is insufficient gluing or too much glue, then comparing the surface state characteristics of the unqualified material with the surface state characteristics of qualified glue in the preset comparison model to obtain the corresponding optimized gluing parameters, and after clearing the glue that has been applied, gluing is performed again based on the optimized gluing parameters.
[0052] Specifically, in practice, when a material needs to be re-glued, the D-LKA model will analyze the surface features of the material that needs to be re-glued, and based on previous learning, analyze how the material went from "unqualified gluing" to "qualified gluing", and then output the gluing parameters corresponding to the "qualified gluing" of the material. Under the 5G network, the optimized parameters are sent to the automatic gluing system through a message queue, and the system will re-gluing according to the optimized gluing parameters to ensure the gluing quality of the material.
[0053] In practice, if the model output result is 0, it indicates that the material is qualified for gluing. If the model output result is non-zero, the material needs to be re-glued. Among them, if the output result is 1, 2 or 5, it indicates that the material is unqualified for gluing due to crooked gluing, missed gluing or broken gluing. At this time, for crooked gluing and broken gluing, the glue that has been applied needs to be cleared, and then re-sent to the automatic gluing system for re-gluing according to the originally set gluing parameters; and for missed gluing, it only needs to be re-sent to the automatic gluing system for re-gluing according to the originally set gluing parameters. If the output result is 3 or 4, it indicates that the reason why the material is unqualified for gluing is insufficient gluing or too much glue. At this time, since the D-LKA network model has learned the image data with labels 0, 3, and 4 and their corresponding gluing parameter data, through back propagation, the loss between the image data with labels 3 or 4 and their corresponding gluing parameter data and the image data with labels 0 and their corresponding gluing parameter data is obtained. Based on the loss, the optimized gluing parameters corresponding to labels 3 or 4 are obtained, and they are sent to the automatic gluing system through the data transmission method of the message queue to modify the gluing parameters. After removing the glue that has been applied, the unqualified material is sent to the automatic gluing system for secondary gluing.
[0054] In the gluing method of this embodiment, see Figure 1 , the gluing parameters include: gluing temperature, gluing time, glue concentration and glue quantity. In this way, the D-LKA model learns the gluing characteristics of qualified and unqualified materials and their corresponding gluing parameters, such as gluing temperature, gluing time, glue concentration and glue quantity.
[0055] The present embodiment provides a gluing control system, which includes: an acquisition unit, which is used to acquire images of materials after initial gluing; a data processing unit, which is used to input images of materials after initial gluing into a preset comparison model to obtain a normalized image; a feature extraction unit, which is used to perform feature extraction on the normalized image to obtain surface state characteristics of the materials after initial gluing; a judgment unit, which is used to compare surface state characteristics of the materials after initial gluing with surface state characteristics of qualified gluing in the preset comparison model to determine whether the initial gluing of the materials is qualified; a classification unit, which is used to classify reasons for unqualified gluing based on surface state characteristics of unqualified materials; an optimization unit, which is used to optimize gluing parameters based on the reasons for unqualified gluing to obtain optimized gluing parameters; and a gluing unit, which is used to re-glue unqualified materials using the optimized gluing parameters.
[0056] With the above settings, a network model combining large convolution kernels and SA attention mechanism is adopted, so that the gluing control system can fully understand the contextual information within the receptive field, and can also use deformable convolution to adapt to different data patterns. Therefore, it can automatically judge the materials after gluing, screen out materials with unqualified gluing quality, and realize unmanned screening of material gluing conditions; at the same time, through the D-LKA network model, in addition to realizing automatic judgment of the gluing conditions of materials, it can also learn the various parameters required for gluing of various materials well. When the material needs to be glued again, the model can optimize the various gluing parameters according to the characteristics of the material, and realize the precise setting of the gluing parameters; and, by using the information transmission method of the message queue and combining with 5G technology, the various parameters required for re-gluing of the material can be automatically transmitted to the automatic gluing system within milliseconds, so as to realize the automation of parameter adjustment of the automatic gluing system.
[0057] This embodiment provides a computer-readable storage medium, on which a program for implementing the gluing method is stored. The program for implementing the gluing method is executed by a processor to implement the steps of the gluing method.
[0058] Embodiment 2:
[0059] See also Figure 2 This embodiment provides a gluing method, including:
[0060] S1 data collection and preparation, where data collection includes image data collection and glue parameter data collection.
[0061] Specifically, image data refers to images of materials after gluing, which are obtained by taking photos with a high-precision camera. These images are used to input the D-LKA network model for automatic judgment. The images can show the surface features of the materials after gluing, such as the location or shape of the glue, color and other information.
[0062] Specifically, the gluing parameter data includes the various parameters required for gluing materials, including gluing temperature, gluing time, glue concentration, and glue quantity. These parameters are the control parameters in the gluing process of materials, and the D-LKA network model is used to learn the various parameters required for gluing various materials.
[0063] In practice, during the data collection phase, we collect image data of various materials (of different lengths, widths, and heights) after gluing, including qualified and unqualified ones, and the corresponding gluing parameters. We ensure that the data set can cover various situations that may be encountered in the production environment, such as different lighting conditions, angles, material shapes, placements, etc. We ensure the diversity and representativeness of the data set to improve the generalization ability of the model.
[0064] It should be noted that the glue application method of this embodiment also includes assigning a corresponding label to each image sample. In this case, the label can be binary, indicating whether the glue application is qualified. The accuracy of the label data is crucial for training the model.
[0065] Among them, the training model methods include: data partitioning, that is, dividing the entire data set into training set, validation set and test set. Usually, most of the data is used for training, a small part is used to verify the performance of the model, and the test set is used to finally evaluate the generalization performance of the model; data enhancement, because the surface state of the material after gluing may be affected by many factors, the use of data enhancement technology can increase the diversity of the data and improve the robustness of the model. Data enhancement operations can include:
[0066] 1. Random rotation: material images at different angles.
[0067] 2. Random flipping: different situations of materials in horizontal or vertical directions.
[0068] 3. Random scaling: material images of different sizes.
[0069] 4. Brightness and contrast adjustment: material images under different lighting conditions.
[0070] S2 Image analysis and preprocessing: Specifically, in this embodiment, the D-LKA network model is used to process and analyze the image data to extract characteristic information such as the position and shape of the material after gluing.
[0071] The image preprocessing method is image normalization. This method maps the pixel values of the image to a specific range, usually [0,1] or [-1,1], by linear scaling. This helps eliminate the brightness and contrast differences between different images, making it easier for the model to learn the common features of the image. This helps speed up the model training process because the neural network can more easily process input data with a consistent range. In addition, image normalization also helps improve the robustness of the model to image features.
[0072] S3 feature learning and attention mechanism uses the D-LKA method to learn features of preprocessed images. D-LKA uses a combination of large kernel convolutions to adaptively adjust the shape and position of the convolution kernel to better capture the unstructured features of the surface of the material after gluing. The SA attention mechanism will give different importance to different parts of the image based on the results of D-LKA, so as to better focus on areas where there may be problems.
[0073] S4 judgment and screening: based on the analysis results of the D-LKA method, determine whether the gluing of the material meets the requirements.
[0074] S5 Optimize Gluing Parameters: The D-LKA model learns the gluing characteristics of qualified and unqualified materials and their corresponding gluing parameters, such as gluing temperature, gluing time, glue concentration, and glue quantity. When the material needs to be re-glued, the D-LKA model will analyze the surface characteristics of the material that needs to be re-glued. Based on previous learning, it will analyze how the material went from "unqualified gluing" to "qualified gluing", and then output the gluing parameters corresponding to the "qualified gluing" of the material. Under the 5G network, the optimized parameters are sent to the automatic gluing system through a message queue. The system will re-glue according to the optimized gluing parameters to ensure the gluing quality of the material.
[0075] Specifically, the D-LKA network model can not only judge whether the material gluing is qualified, but also the judgment result is not limited to binary. At the same time, it classifies the reasons for unqualified gluing again, as follows: qualified gluing image sample: label is 0; unqualified gluing image sample:
[0076] (1) Crooked: label is 1;
[0077] (2) Missed: label is 2;
[0078] (3) Insufficient: label is 3;
[0079] (4) Too much glue: label is 4;
[0080] (5) Glue breaking: label is 5;
[0081] If the model output result is 0, it means that the material is qualified for gluing. If the model output result is non-zero, the material needs to be re-glued. Figure 3 As shown, if the output result is 1, 2 or 5, it indicates that the reason for the unqualified gluing of the material is crooked, missed or broken glue. At this time, for the crooked and broken glue, the glue that has been applied needs to be cleared, and then it is retransmitted to the automatic gluing system for re-gluing according to the originally set gluing parameters; and for the missed glue, it only needs to be retransmitted to the automatic gluing system for re-gluing according to the originally set gluing parameters. If the output result is 3 or 4, it indicates that the reason for the unqualified gluing of the material is insufficient glue or too much glue. At this time, since the D-LKA network model has learned the image data with labels 0, 3 and 4 and their corresponding gluing parameter data, through back propagation, the loss between the image data with labels 3 or 4 and their corresponding gluing parameter data and the image data with labels 0 and their corresponding gluing parameter data is obtained. Based on the loss, the optimized gluing parameters corresponding to labels 3 or 4 are obtained, and they are sent to the automatic gluing system through the data transmission method of the message queue to modify the gluing parameters. After the glue has been removed, the unqualified materials are sent to the automatic gluing system for secondary gluing.
[0082] In specific practice, the detailed process of the D-LKA network model includes:
[0083] (1) Data input: processed image data and its corresponding gluing parameter data;
[0084] (2) Building a D-LKA network model:
[0085] Design and build the D-LKA neural network model, which includes convolutional layers, SA attention mechanism, pooling layers, fully connected layers, etc. D-LKA is designed to fully understand contextual information within the receptive field while adapting to different data modes;
[0086] (3) Forward propagation: The preprocessed image data is input into the D-LKA network, and the output of each layer is calculated layer by layer through the forward propagation process of the network. The SA attention mechanism helps the network focus on important areas in the image and learn more discriminative features;
[0087] (4) Feature map extraction: In the convolutional layers and attention mechanisms, the network learns to extract feature maps of the image. These feature maps capture information such as texture, shape, and structure in the image and represent it as a high-dimensional feature space;
[0088] (5) Pooling: Pooling is performed to reduce the spatial resolution of the feature map, reduce the amount of computation, and extract higher-level abstract features;
[0089] (6) Fully connected layers: The pooled feature maps are fed into fully connected layers to learn higher-level semantic information. These layers help map the extracted features to the final output.
[0090] (7) Loss function calculation: Use label information to calculate the loss between the network output and the true label;
[0091] (8) Backpropagation and optimization: Through the backpropagation algorithm, the contribution of each layer to the loss is calculated and the network parameters are updated to minimize the loss function. Optimization algorithms such as stochastic gradient descent (SGD) or its variants are used to adjust the network weights;
[0092] (9) Repeated training: The above steps will be iterated multiple times on the training data set to continuously optimize the network weights and improve model performance;
[0093] (10) Feature learning results: The final model learns features that can effectively identify the surface state of the material after gluing. These features are learned through weights and parameters in the network hierarchy, allowing the model to automatically judge the image of the material after gluing.
[0094] The gluing method of this embodiment realizes unmanned judgment on the gluing result of the automatic gluing system through the D-LKA network model; and at the same time, it can analyze the reasons for unqualified gluing and give corresponding solutions, especially for the two points of insufficient gluing and excessive glue. The gluing parameters can be re-optimized through the D-LKA network model and transmitted to the automatic gluing system through the message queue to modify the gluing parameters and re-glue the unqualified material.
[0095] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0096] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0097] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0098] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0099] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A gluing method, characterized in that: include: Collect images of the material after the initial gluing process; Input the image of the material after the initial gluing into the preset comparison model to obtain a normalized image; Performing feature extraction on the normalized image to obtain surface state features of the material after the initial gluing is completed; Compare the surface state characteristics of the material after the initial gluing with the qualified surface state characteristics of the gluing in the preset comparison model to determine whether the material is qualified after the initial gluing; If the material fails to meet the requirements for initial gluing, the reasons for the failure are classified based on the surface characteristics of the failed material; Optimizing the gluing parameters based on the reasons for the gluing failure to obtain optimized gluing parameters; Use the optimized gluing parameters to re-glue the unqualified materials.
2. The gluing method according to claim 1, characterized in that: The method for obtaining a normalized image comprises: Rotate, flip, scale and adjust the pixels of the image of the material after the initial gluing to obtain a standard image; The pixel values of the standard image are mapped to a preset range by linear scaling to obtain a normalized image.
3. The gluing method according to claim 1, characterized in that: The method for extracting features from the normalized image to obtain surface state features of the material after the initial gluing is completed includes: capturing local features of the normalized image based on an adaptive sampling grid in a D-LKA model, and adjusting the shape and position of the convolution kernel through a large-kernel convolution combination to aggregate global information of the normalized image, thereby obtaining surface state features of the material after the initial gluing is completed.
4. The gluing method according to claim 1, characterized in that: The surface state characteristics of the material after the initial gluing include the position, shape and color of the glue.
5. The gluing method according to claim 1, characterized in that: The preset contrast model includes: a convolutional layer, an SA attention mechanism, a pooling layer and a fully connected layer, wherein the convolutional layer and the SA attention mechanism are used to obtain the texture, shape and structure information of the normalized image and represent it as a high-dimensional feature space, the pooling layer is used to reduce the spatial resolution of the normalized image, and the fully connected layer is used to deeply learn and extract the surface state features of the input normalized image.
6. The gluing method according to claim 5, characterized in that: The gluing method also includes: assigning different importance parameters to the texture, shape and structure information of the normalized image through the SA attention mechanism.
7. The gluing method according to claim 1, characterized in that: The reasons for unqualified gluing include: crooked gluing, missed gluing, insufficient gluing, excessive glue and broken glue.
8. The gluing method according to claim 7, characterized in that: The method for optimizing the gluing parameters also includes: Using the D-LKA model, the surface state characteristics of the unqualified material are compared with the surface state characteristics of the qualified gluing in the preset comparison model to obtain the reasons for the unqualified gluing; Based on the reasons for the failure of gluing, the initial gluing parameters are adjusted and the optimized gluing parameters are output; among them, If the reason for the failure of gluing is crooked or broken glue, the glue applied should be cleared and glued again based on the initial gluing parameters; If the reason for the failure of gluing is omission, gluing shall be repeated based on the initial gluing parameters; If the reason for the unqualified gluing is insufficient gluing or excessive glue, the surface state characteristics of the unqualified material are compared with the surface state characteristics of the qualified gluing in the preset comparison model to obtain the corresponding optimized gluing parameters. After clearing the glue that has been applied, glue is applied again based on the optimized gluing parameters.
9. The gluing method according to claim 8, characterized in that: The gluing parameters include: gluing temperature, gluing time, glue concentration and glue quantity.
10. A glue control system, characterized in that: The glue control system comprises: A collection unit, the collection unit is used to collect images of the material after the initial gluing is completed; A data processing unit, the data processing unit is used to input the image of the material after the initial gluing is completed into a preset comparison model to obtain a normalized image; A feature extraction unit, the feature extraction unit is used to extract features from the normalized image to obtain surface state features of the material after the initial gluing is completed; A judgment unit, the judgment unit is used to compare the surface state characteristics of the material after the initial gluing with the qualified surface state characteristics of the gluing in the preset comparison model, to judge whether the initial gluing of the material is qualified; A classification unit, the classification unit is used to classify the reasons for the unqualified gluing based on the surface state characteristics of the unqualified material; An optimization unit, the optimization unit is used to optimize the gluing parameters based on the reasons for the gluing failure to obtain optimized gluing parameters; The gluing unit is used to re-glue the unqualified material using the optimized gluing parameters.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the gluing method, and the program for implementing the gluing method is executed by a processor to implement the steps of the gluing method as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Multifunctional intelligent industrial control system and control method
CN117193226A
Silicon wafer drying improvement method and device based on D-LKA network model
CN117781661A
