Full-automatic filling and tail sealing machine and method thereof

By collecting data through the camera and using deep learning technology to determine the positioning of small-diameter hoses, it solves the positioning problem of the filling and sealing machine when processing small-diameter hoses, and improves product quality and production efficiency.

CN118735892APending Publication Date: 2024-10-01ZHEJIANG JIEDU INTELLIGENT MASCH TECH CO LTD
View PDF 17 Cites 0 Cited by

Patent Information

Application Number
CN202410880590.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing filling and sealing machines are difficult to accurately position when processing small-diameter hoses, resulting in deviations during the filling and sealing processes, which may lead to material leakage and product quality problems, limiting the scope of application of the equipment.

Method used

A camera is used to obtain the positioning image and motion text data of the hose to be sealed, deep learning technology is used to extract feature vectors, a classifier is used to determine whether the hose is positioned normally, and operating parameters are monitored and adjusted in real time to ensure the stability of the production process and product quality. .

Benefits of technology

It achieves precise positioning and filling control of small-diameter hoses, reduces material leakage, improves product quality and production efficiency, and expands the applicable scope of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735892A_ABST
    Figure CN118735892A_ABST
Patent Text Reader

Abstract

The invention relates to the field of filling and tail-sealing machines, and particularly discloses a full-automatic filling and tail-sealing machine and a method thereof.The full-automatic filling and tail-sealing machine comprises the steps that firstly, a positioning image, collected by a camera, of a to-be-sealed hose and motion text data of the to-be-sealed hose in a hose cup are obtained, then feature extraction and correlation analysis are conducted on the positioning image and the motion text data through the deep learning technology, and finally the positioning image and the motion text data are obtained; and finally, whether the hose to be sealed can be normally positioned or not is judged through a classifier, so that the positioning condition of the hose is monitored in real time, problems are found in time, measures are taken, and the stability of the production process and the product quality are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of filling and sealing machines, and more specifically, to a fully automatic filling and sealing machine and a method thereof. Background Art

[0002] The filling and sealing machine is an automated equipment used to fill liquid or powder products and perform sealing operations. It includes a filling system and a sealing system, which can effectively complete the filling and sealing of products, improve production efficiency and ensure product quality. The filling and sealing machine is suitable for the filling and sealing needs of plastic pipes and aluminum-plastic composite pipes in industries such as medicine, food, cosmetics and daily chemicals. It can accurately inject various pastes, pastes, high-viscosity fluids and other materials into the hose, complete the heating and sealing of the hose, print the batch number and production date, and other operations.

[0003] In actual operation, due to the different diameters of the hoses, some smaller diameter hoses cannot be accurately positioned when placed in the tube cup. In addition, when the indexing turntable rotates quickly, the small diameter hose will shake inside the tube cup, resulting in deviations during the filling and sealing process, which may cause the tail seal position to shift, causing some hoses to leak, affecting product quality. This may result in the inability to sell a batch of products normally, resulting in a waste of resources, and also limiting its scope of application.

[0004] Therefore, a fully automatic filling and sealing machine and method thereof are desired. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a fully automatic filling and sealing machine and method thereof, which first obtains the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera, and then uses deep learning technology to perform feature extraction and correlation analysis on the two, and finally uses a classifier to determine whether the hose to be sealed can be positioned normally, and then monitors the positioning of the hose in real time, finds problems in time and takes measures to ensure the stability of the production process and product quality.

[0006] According to one aspect of the present application, a fully automatic filling and sealing machine is provided, comprising:

[0007] The filling and sealing machine hose data acquisition module is used to acquire the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera;

[0008] A filling and sealing machine hose data extraction module is used to extract the hose positioning enhanced spatial attention feature vector and the hose motion semantic multi-scale association feature vector from the positioning image of the hose to be sealed acquired by the camera and the motion text data of the hose to be sealed in the tube cup;

[0009] The module for determining the positioning of the hose to be sealed is used to determine whether the hose to be sealed can be positioned normally based on the spatial attention feature vector of the positioning enhancement of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics.

[0010] According to another aspect of the present application, a fully automatic filling and sealing machine method is provided, which includes:

[0011] Acquire the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera;

[0012] Extracting the positioning enhanced spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics from the positioning image of the hose to be sealed acquired by the camera and the motion text data of the hose to be sealed in the tube cup;

[0013] Based on the positioning enhanced spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics, it is determined whether the hose to be sealed can be positioned normally.

[0014] Compared with the prior art, the present application provides a fully automatic filling and sealing machine and method thereof, which first obtains the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by a camera, and then uses deep learning technology to perform feature extraction and correlation analysis on the two. Finally, a classifier is used to determine whether the hose to be sealed can be positioned normally, and then the positioning of the hose is monitored in real time, problems are discovered in time and measures are taken to ensure the stability of the production process and product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0016] Figure 1 4 is a block diagram of a fully automatic filling and sealing machine according to an embodiment of the present application.

[0017] Figure 2 The block diagram is a data extraction module for the hose of the filling and sealing machine in the fully automatic filling and sealing machine according to an embodiment of the present application.

[0018] Figure 3 The block diagram is a unit for extracting features of an image of a tube to be sealed in a fully automatic filling and sealing machine according to an embodiment of the present application.

[0019] Figure 4The block diagram is a module for determining the positioning of a hose to be sealed in a fully automatic filling and sealing machine according to an embodiment of the present application.

[0020] Figure 5 The figure is a flow chart of a fully automatic filling and sealing machine method according to an embodiment of the present application.

[0021] Figure 6 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0023] Figure 1 FIG. 1 is a block diagram of a fully automatic filling and sealing machine according to an embodiment of the present application. Figure 1 As shown, according to the embodiment of the present application, the fully automatic filling and sealing machine 100 includes: a filling and sealing machine hose data acquisition module 110, which is used to acquire the positioning image of the hose to be sealed and the motion text data of the hose to be sealed in the tube cup collected by the camera; a filling and sealing machine hose data extraction module 120, which is used to extract the positioning enhanced spatial attention feature vector of the hose to be sealed and the hose motion semantic multi-scale association feature vector from the positioning image of the hose to be sealed and the motion text data of the hose to be sealed in the tube cup; a hose positioning judgment module 130 for judging whether the hose to be sealed can be normally positioned based on the positioning enhanced spatial attention feature vector of the hose to be sealed and the hose motion semantic multi-scale association feature vector.

[0024] In the above-mentioned fully automatic filling and sealing machine 100, the filling and sealing machine hose data acquisition module 110 is used to obtain the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera. It should be understood that the filling and sealing machine is an automated equipment dedicated to accurately filling liquid or powder products into the hose and performing sealing and sealing operations. The equipment integrates the filling system and the sealing system, effectively improving the production efficiency and ensuring the high quality of the product. It is widely used in industries such as medicine, food, cosmetics and daily chemicals, and is suitable for the filling and sealing needs of various plastic pipes and aluminum-plastic composite pipes. During operation, due to the difference in the diameter size of the hose, the hose with a smaller diameter may not be accurately positioned when placed in the tube cup. In addition, when the indexing turntable rotates at high speed, the small diameter hose may shake inside, which will cause deviations during the filling and sealing process. This situation may cause the offset of the sealing position, or even cause some hoses to leak, thereby affecting the quality of the product. Therefore, the technical solution of the present application obtains the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera, and combines it with deep learning technology to judge whether the hose to be sealed can be positioned normally. By monitoring the position of the hose in real time, the problem can be detected and solved in time to ensure the stability of the production process and product quality.

[0025] Specifically, by capturing the positioning image of the hose through the camera, the machine can accurately identify the position and direction of the hose in the filling device. These images include not only the position information of the hose, but may also involve details such as the posture and shape of the hose. The accurate acquisition of the positioning image is the basis for ensuring that the hose enters the packaging stage correctly during the filling and sealing process. By analyzing the movement text data of the hose in the tube cup, information about the hose speed, acceleration, movement direction, etc. can be obtained. These data not only help to adjust the operating parameters of the filling and sealing machine in real time, but also are used to correlate with whether the hose is correctly positioned in the tube cup. By accurately capturing and analyzing this data, the machine can accurately perform filling and sealing operations to ensure that each hose can be filled and closed in a predetermined manner, thereby ensuring product quality and improving production efficiency.

[0026] In the above-mentioned fully automatic filling and sealing machine 100, the filling and sealing machine hose data extraction module 120 is used to extract the hose positioning enhanced spatial attention feature vector and the hose motion semantic multi-scale association feature vector from the positioning image of the hose to be sealed collected by the camera and the motion text data of the hose to be sealed in the tube cup. It should be understood that extracting the hose positioning enhanced spatial attention feature vector and the hose motion semantic multi-scale association feature vector from the positioning image and motion text data of the hose to be sealed collected by the camera is the basis for realizing the precise control of the fully automatic filling and sealing machine. These feature vectors not only provide detailed information about the position and motion state of the hose, but also integrate visual information and motion data through advanced data processing algorithms to provide an accurate basis for machine intelligent decision-making. Through these technical means, the fully automatic filling and sealing machine can realize real-time monitoring and precise control of the hose filling process, thereby improving production efficiency, reducing waste, and ensuring the consistency and stability of product quality.

[0027] Figure 2 FIG. 1 is a block diagram of a data extraction module for a hose of a filling and sealing machine in a fully automatic filling and sealing machine according to an embodiment of the present application. Figure 2 As shown, in a specific embodiment of the present application, the filling and sealing machine hose data extraction module 120 includes: a hose positioning image feature extraction unit 121 for extracting features from the positioning image of the hose to be sealed acquired by the camera to obtain the hose positioning enhanced spatial attention feature vector to be sealed; a hose motion text data feature extraction unit 122 for extracting features from the motion text data of the hose to be sealed in the tube cup to obtain the hose motion semantic multi-scale association feature vector.

[0028] It should be understood that the positioning image feature extraction can accurately capture the position and posture information of the hose. The positioning image obtained by the camera is a visual reflection of the hose in the machine workspace, but these images are usually high-dimensional and complex data. The feature extraction process uses computer vision algorithms, such as feature point detection and descriptor extraction, edge detection, region segmentation and other technologies, to abstract the key information in the image and convert it into a mathematical feature vector. Among them, the positioning image feature extraction can also improve the image quality through enhancement technologies such as image enhancement, denoising, edge enhancement, etc., and further improve the positioning accuracy and reliability. This is crucial for accurately identifying and locating the hose under changing lighting conditions and complex backgrounds.

[0029] Furthermore, the motion trajectory and state information of the hose during the assembly process are crucial to ensuring the assembly quality. The motion text data obtained by sensors or encoders include dynamic information such as the position, velocity, acceleration, and relative position relationship of the hose with other assembly components. Although these data are raw time series information, they contain the motion semantics of the hose during the assembly process, that is, the purpose and intention of the motion.

[0030] Figure 3 FIG. 1 is a block diagram of a unit for extracting features of an image of a tube to be sealed in a fully automatic filling and sealing machine according to an embodiment of the present application. Figure 3 As shown, in a specific embodiment of the present application, the positioning image feature extraction unit 121 of the hose to be sealed includes: a positioning image pixel enhancement subunit 1211, which is used to pass the positioning image of the hose to be sealed collected by the camera through a hose positioning pixel enhancement generator to obtain a hose positioning pixel enhanced image to be sealed; a hose positioning pixel enhancement feature encoding subunit 1212, which is used to feature encode the hose positioning pixel enhanced image to obtain the hose positioning enhancement spatial attention feature vector.

[0031] It should be understood that the positioning image of the hose to be sealed is the real-time visual data captured by the camera during the assembly or filling process. These images may be affected by lighting conditions, background interference or the resolution limitation of the camera itself, resulting in unclear and inaccurate boundaries, contours or details of the hose in the image. The role of the positioning pixel enhancement generator of the hose to be sealed is to enhance and optimize the original image through image processing technology, so that key information such as the position and shape of the hose is clearer and more reliable. The positioning pixel enhancement generator can use a variety of image processing algorithms and techniques. For example, image enhancement methods such as contrast enhancement, histogram equalization or local enhancement technology can be applied to enhance the edges and details of the hose to make it more clearly visible in the image. In addition, edge detection algorithms such as Canny edge detection can be used to accurately locate the boundaries of the hose and improve the accuracy of positioning. These processing steps can not only improve the visual effect of the hose image, but also eliminate background noise and interference, so as to better highlight the position and state of the hose to be sealed in the assembly or filling device. Specifically, the positioning image of the hose to be sealed acquired by the camera is passed through an image intensifier based on a generative adversarial network to obtain a pixel-enhanced positioning image of the hose to be sealed.

[0032] Furthermore, pixel-enhanced images of the hose to be sealed are usually obtained through image processing technology. These images have been enhanced to make the position, shape and boundary of the hose clearer and more accurate. However, these enhanced images are still high-dimensional data, containing a lot of visual information and details. The process of feature encoding is to convert these complex image data into compact and informative feature vectors. The purpose of feature encoding is to reduce the complexity of the data while retaining key visual features.

[0033] In a specific embodiment of the present application, the hose positioning pixel enhancement feature encoding subunit 1212 includes: obtaining the hose positioning enhanced spatial attention feature map for the hose positioning to be sealed by using the hose positioning enhanced feature encoder for the hose positioning to be sealed using the spatial attention mechanism; and downsampling the hose positioning enhanced spatial attention feature map for the hose positioning to be sealed to obtain the hose positioning enhanced spatial attention feature vector for the hose positioning to be sealed.

[0034] It should be understood that the introduction of the spatial attention mechanism allows the system to focus more on important areas and features when processing images. The position and posture information of the hose to be sealed during the assembly process is crucial to the correct assembly result. Therefore, combining the spatial attention mechanism in the feature encoding process can enable the encoder to pay more attention to the key areas of the hose, such as the positioning area of ​​the hose, thereby improving the accuracy and stability of feature extraction. The encoder for the enhanced feature of the hose to be sealed can effectively capture the dynamic changes and positional relationships of the hose in three-dimensional space using the spatial attention mechanism. This mechanism may include spatial pyramid pooling or an attention mechanism model based on the attention mechanism, which can adaptively adjust the accuracy and range of feature extraction according to the position and scale of the hose in the image. In this way, even in a complex environment, the key spatial features of the hose, such as geometric shape, surface texture, etc., can be effectively extracted. Specifically, based on the convolutional coding part of the feature encoder for enhancing the positioning of the hose to be sealed using the spatial attention mechanism, the pixel enhanced image of the positioning of the hose to be sealed is subjected to deep convolutional coding to obtain an initial convolutional feature map; the initial convolutional feature map is input into the spatial attention part of the feature encoder for enhancing the positioning of the hose to be sealed using the spatial attention mechanism to obtain a spatial attention map; the spatial attention map is activated by the Softmax function to obtain a spatial attention feature map; the spatial attention feature map and the initial convolutional feature map are multiplied by the position points to obtain the enhanced spatial attention feature map of the positioning of the hose to be sealed. More specifically, the initial convolutional feature map is input into the spatial attention part of the convolutional neural network model to obtain the spatial attention map, including: performing average pooling and maximum pooling along the channel dimension on the initial convolutional feature map to obtain an average feature matrix and a maximum feature matrix; cascading and channel-adjusting the average feature matrix and the maximum feature matrix to obtain a channel feature matrix; and convolutionally coding the channel feature matrix using the convolutional layer of the spatial attention feature map to obtain the spatial attention map.

[0035] Furthermore, considering that the spatial attention feature map for positioning the hose to be sealed usually has a high resolution and dimension, this reflects the level of detail in image processing and feature extraction. However, in practical applications, high-dimensional data not only increases the computational cost, but may also lead to problems such as decreased processing speed and increased resource consumption. Therefore, the resolution of the image can be effectively reduced by downsampling, thereby reducing the amount of data and simplifying the complexity of subsequent processing steps. Here, the downsampling process can be implemented by a variety of methods, such as average pooling, maximum pooling, or simple downsampling techniques. These methods reduce the image resolution to a reasonable level while retaining the important features of the image based on a certain sampling rate or filter size. For example, through the pooling operation, the most significant features of each area can be extracted from the feature map, thereby representing the key positions and features of the hose in a smaller spatial range.

[0036] In a specific embodiment of the present application, the hose motion text data feature extraction unit 122 includes: passing the motion text data of the hose to be sealed in the tube cup through a hose to be sealed motion text semantic encoder to obtain a plurality of hose to be sealed motion text semantic feature vectors; passing the plurality of hose to be sealed motion text semantic feature vectors through a hose to be sealed motion text multi-scale feature extractor to obtain the hose motion semantic multi-scale correlation feature vector.

[0037] It should be understood that the motion text data of the hose to be sealed in the tube cup may include motion parameters such as the position, speed, acceleration, etc. of the hose, as well as a description of the motion state related to other environmental factors (such as fluid pressure, temperature change, etc.). These data are usually collected in real time by sensors (such as accelerometers, pressure sensors, etc.), reflecting the dynamic behavior of the hose during assembly or filling. The role of the motion text semantic encoder of the hose to be sealed is to convert these multi-dimensional motion text data into higher-level semantic feature vectors. These vectors are not just numerical representations, but through deep learning techniques such as recurrent neural networks, long short-term memory networks, or Transformer models, the motion data is linked to the semantics and motion patterns behind it. For example, the encoder can capture periodicity, rhythmicity, or abnormal changes in the motion of the hose, which are features that cannot be fully expressed by a single numerical value. Specifically, the motion text data of the hose to be sealed in the tube cup is segmented to obtain a word sequence; the embedding layer of the semantic encoder of the motion text of the hose to be sealed is used to map each word in the word sequence into a word embedding vector to obtain a sequence of word embedding vectors; the converter-based Bert model of the semantic encoder of the motion text of the hose to be sealed is used to perform global context semantic encoding on the sequence of word embedding vectors to obtain multiple semantic feature vectors of the motion text of the hose to be sealed.

[0038] Furthermore, the multi-scale feature extractor is able to capture various key features in the motion of the hose from different time windows or frequencies. The motion of the hose during the assembly or filling process often involves changes in multiple time scales, such as instantaneous rapid movement, periodic repetitive actions, or long-term stable motion. Through the multi-scale feature extractor, the motion patterns and semantic information at these different scales can be considered simultaneously, thereby forming a more comprehensive and comprehensive feature representation. In a specific embodiment of the present application, the multi-scale feature extractor for the motion text of the hose to be sealed includes: a first convolutional layer, a second convolutional layer parallel to the first convolutional layer, and a cascade layer connected to the first convolutional layer and the second convolutional layer, wherein the first convolutional layer uses a one-dimensional convolutional kernel with a first scale, and the second convolutional layer uses a one-dimensional convolutional kernel with a second scale.

[0039] In the above-mentioned fully automatic filling and sealing machine 100, the positioning judgment module 130 of the hose to be sealed is used to judge whether the hose to be sealed can be positioned normally based on the spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics. It should be understood that the spatial attention feature vector of the hose to be sealed provides an accurate description of the position and posture of the hose in the image space. These feature vectors can capture the key features of the hose positioning through the processing of the spatial attention mechanism, which is used to accurately position the hose in the visual system. This information is crucial to ensure the correct position of the hose during assembly or filling, especially in operations that require high-precision alignment, such as liquid filling or part assembly. The multi-scale association feature vector of the hose motion semantics provides a multi-dimensional analysis of the hose motion behavior. By analyzing the motion patterns and dynamic characteristics of the hose at multiple time scales, it can be judged whether the hose is correctly positioned by the hose acceleration, and whether there is abnormal or irregular motion behavior. This analysis capability is based on advanced data processing technologies, such as multi-scale feature extraction and time series analysis, as well as the prediction and comparison capabilities of machine learning models for motion patterns. This allows the system to adjust the control strategy of the assembly or filling equipment in real time to ensure stable positioning and correct operation of the hose.

[0040] Figure 4 FIG. 1 is a block diagram of a positioning judgment module for a tube to be sealed in a fully automatic filling and sealing machine according to an embodiment of the present application. Figure 4As shown, in a specific embodiment of the present application, the to-be-sealed hose positioning judgment module 130 includes: a hose positioning feature fusion unit 131, which is used to fuse the to-be-sealed hose positioning enhanced spatial attention feature vector and the hose motion semantic multi-scale association feature vector to obtain a to-be-sealed hose positioning abnormality judgment feature vector; a hose positioning feature optimization unit 132, which is used to perform forward interactive exploration of the to-be-sealed hose positioning abnormality judgment feature vector based on the feature interaction domain to obtain an optimized to-be-sealed hose positioning abnormality judgment feature vector; a hose positioning abnormality judgment classification unit 133, which is used to pass the optimized to-be-sealed hose positioning abnormality judgment feature vector through a classifier, and the classifier is used to judge whether the to-be-sealed hose can be positioned normally.

[0041] It should be understood that the spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics are extracted from the visual positioning and motion behavior analysis respectively. These vectors may have different dimensions and representations, such as spatial coordinates and posture parameters, as well as temporal features such as motion frequency and acceleration. The information extracted from the two types of feature vectors is fused. This may involve the splicing, weighting or more complex neural network structures of features, such as fusion attention mechanisms or joint learning models. The goal is to integrate information from different sources to form a more comprehensive and higher-level feature representation. The comprehensive use of the fusion technology of the spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics can significantly improve the perception of the position and motion state of the hose by the automated assembly system. This comprehensive analysis not only improves the system's sensitivity to abnormal situations in the assembly process, but also helps to improve production efficiency and product quality, thereby promoting the application and development of industrial automation technology in complex task processing.

[0042] Further, the feature vector for judging abnormal positioning of the hose to be sealed is subjected to forward interactive exploration based on the feature interaction domain to obtain an optimized feature vector for judging abnormal positioning of the hose to be sealed, including: multiplying the feature vector for judging abnormal positioning of the hose to be sealed with the classification weight matrix of the classifier to obtain a first feature vector for judging abnormal positioning of the hose to be sealed; using the concat function to process the feature vector for judging abnormal positioning of the hose to be sealed and the first feature vector for judging abnormal positioning of the hose to be sealed to obtain a second feature vector for judging abnormal positioning of the hose to be sealed; adding the feature vector for judging abnormal positioning of the hose to be sealed and the first feature vector for judging abnormal positioning of the hose to be sealed by position to obtain a third feature vector for judging abnormal positioning of the hose to be sealed; multiplying the first weight matrix by the second feature vector for judging abnormal positioning of the hose to be sealed and adding the first bias vector, and then passing the result through the sigmoid function to obtain a first activation value; The second weight matrix is ​​multiplied by the third intermediate hose to be sealed positioning abnormality judgment feature vector and then added with the second bias vector, and then passed through the sigmoid function to obtain a second activation value; the mean of the first activation value and the second activation value is calculated to obtain the activation mean; the difference between one and the activation mean is calculated, and the difference is used as the first weighting coefficient and the activation mean is used as the second weighting coefficient, and the second intermediate hose to be sealed positioning abnormality judgment feature vector and the hose to be sealed positioning abnormality judgment feature vector are weighted by position to obtain a fourth intermediate hose to be sealed positioning abnormality judgment feature vector; each eigenvalue of the backward anchor reference vector is subjected to an exponential operation with a natural constant as the base to obtain a fifth intermediate hose to be sealed positioning abnormality judgment feature vector; the fourth intermediate hose to be sealed positioning abnormality judgment feature vector is subtracted by the fifth intermediate hose to be sealed positioning abnormality judgment feature vector according to position, and then passed through the ReLU function to obtain an optimized hose to be sealed positioning abnormality judgment feature vector.

[0043] In particular, the feature vector for judging abnormal positioning of the hose to be sealed is generated by two different data sources, namely, visual image data (positioning image of the hose to be sealed) and text data (text data of the movement of the hose to be sealed in the tube cup). These two data types may have different distribution characteristics in nature. The image data is processed by a pixel enhancement generator and a spatial attention feature encoder, while the text data is processed by a semantic encoder and a multi-scale feature extractor. These different feature extraction methods may lead to inconsistent distribution of feature vectors in the feature space. The spatial attention mechanism may capture different importance in different areas of the image, which may lead to uneven distribution of feature vectors for judging abnormal positioning of the hose to be sealed in the feature space. Multi-scale feature extraction of text data may capture different levels of semantic information at different scales, and these features of different scales may conflict or be inconsistent when fused. That is, the overall feature distribution of the feature vector for judging abnormal positioning of the hose to be sealed has poor manifold geometric consistency. When the feature vector for judging abnormal positioning of the hose to be sealed is inconsistently distributed in the feature space, it may be difficult for the classifier to accurately learn the boundary between normal positioning and abnormal positioning, especially in areas with sparse distribution in the feature space. This may lead to deviations in the prediction of the classifier in these areas, affecting the accuracy of the classification results. Based on this, the feature vector for abnormal positioning judgment of the hose to be sealed is explored based on the forward interaction domain of the feature interaction domain to obtain the optimized feature vector for abnormal positioning judgment of the hose to be sealed.

[0044] Among them, the feature vector of abnormal positioning judgment of the hose to be sealed is subjected to forward interactive exploration based on the feature interaction domain to obtain the optimized feature vector of abnormal positioning judgment of the hose to be sealed, including: the feature vector of abnormal positioning judgment of the hose to be sealed is subjected to forward interactive exploration based on the feature interaction domain according to the following optimization formula, wherein the optimization formula is:

[0045]

[0046] Among them, v c represents the abnormal positioning feature vector of the hose to be sealed, M represents the classification weight matrix of the classifier, represents matrix multiplication, concat represents the cascade function, V r is the backward anchor reference vector, W1 represents the first weight matrix, b1 represents the first bias vector, t1 represents the first activation value, W2 represents the second weight matrix, b2 represents the second bias vector, t2 represents the second activation value, sigmoid represents the logistic function, ReLU represents the linear rectification function, exp represents the natural exponential function, and V' represents the feature vector for optimizing the abnormal positioning of the hose to be sealed.

[0047] That is, in the technical solution of the present application, the overall feature distribution of the feature vector for judging the abnormal positioning of the hose to be sealed is poor in manifold geometric consistency, which leads to a long-range distribution regression deviation across classifiers when it is classified by the classifier, affecting the accuracy of the classification result. Therefore, in the technical solution of the present application, the feature vector for judging the abnormal positioning of the hose to be sealed is explored based on the feature interaction domain, and the classification weight matrix of the classifier is used to perform an auxiliary description of the attribute distribution of the feature vector for judging the abnormal positioning of the hose to be sealed, so as to support the descriptiveness of the different distance feature descriptions of the classification weight matrix of the classifier for the improved feature vector for judging the abnormal positioning of the hose to be sealed to the class probability of the preset classification, wherein the backward anchor reference vector is used as an offset and activated by an activation operation to maintain the reinforcement of the distribution description dependency with a positive effect, so that the overall attribute distribution of the feature vector for judging the abnormal positioning of the hose to be sealed can be significantly improved, thereby reducing the class probability distribution regression deviation of the feature vector for judging the abnormal positioning of the hose to be sealed when passing through the classifier, so as to improve the accuracy of the classification result.

[0048] Furthermore, the optimized feature vector contains multi-dimensional information from visual positioning and motion behavior analysis. This information may include the spatial position, posture, shape characteristics of the hose, and dynamic characteristics such as the frequency and speed of the movement. The goal of optimizing the feature vector is to improve the recognition ability and classification effect of the features while maintaining the richness of information, so that the classifier can effectively learn the patterns and abnormal situations of hose positioning from it. By learning the feature patterns in historical data, the classifier can identify the characteristics of normal and abnormal positioning of the hose. For example, typical positioning deviation patterns or abnormal posture changes can be identified to determine whether the hose is in the correct position and posture, thereby ensuring efficiency and quality control in the production process.

[0049] In summary, the embodiment of the present application first obtains the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera, and then uses deep learning technology to perform feature extraction and correlation analysis on the two. Finally, a classifier is used to determine whether the hose to be sealed can be positioned normally, and then the positioning of the hose is monitored in real time, problems are discovered in time and measures are taken to ensure the stability of the production process and product quality.

[0050] As described above, the fully automatic filling and sealing machine 100 according to the embodiment of the present application can be implemented in various terminal devices. In one example, the fully automatic filling and sealing machine 100 can be integrated into the terminal device as a software module and / or a hardware module. For example, the fully automatic filling and sealing machine 100 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the fully automatic filling and sealing machine 100 can also be one of the many hardware modules of the terminal device.

[0051] Alternatively, in another example, the fully automatic filling and sealing machine 100 and the terminal device may also be separate devices, and the fully automatic filling and sealing machine 100 may be connected to the terminal device via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.

[0052] Figure 5 Flow chart of the fully automatic filling and sealing machine method according to the embodiment of the present application. Figure 5 As shown, according to the fully automatic filling and sealing machine method of the embodiment of the present application, it includes: S110, acquiring the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera; S120, extracting the positioning enhanced spatial attention feature vector of the hose to be sealed and the hose movement semantic multi-scale association feature vector from the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup; S130, judging whether the hose to be sealed can be positioned normally based on the positioning enhanced spatial attention feature vector of the hose to be sealed and the hose movement semantic multi-scale association feature vector.

[0053] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned fully automatic filling and sealing machine method have been referred to above. Figures 1 to 4 The description of the fully automatic filling and sealing machine has been described in detail, and therefore, its repeated description will be omitted.

[0054] Below, reference Figure 6 To describe an electronic device according to an embodiment of the present application.

[0055] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned fully automatic filling and sealing machine method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0056] See also Figure 6 , Figure 6 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0057] The processor 11 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in the embodiment of the present application; the memory 12 can be implemented in the form of a read-only memory (Read Only Memory, ROM), a static storage device, a dynamic storage device or a random access memory (Random Access Memory, RAM), etc.

[0058] The memory 12 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 12, and the processor 11 is called to execute the fully automatic filling and sealing machine method of the embodiment of this application;

[0059] Input / output interface 13, used to implement information input and output;

[0060] The communication interface 14 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0061] A bus 15 that transmits information between the various components of the device (e.g., the processor 11, the memory 12, the input / output interface 13, and the communication interface 14);

[0062] The processor 11 , the memory 12 , the input / output interface 13 and the communication interface 14 are connected to each other in communication within the device via a bus 15 .

[0063] The embodiment of the present application further provides a storage medium, which is a computer-readable storage medium, and the storage medium stores a computer program, which implements the above-mentioned fully automatic filling and sealing machine method when executed by a processor.

[0064] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0065] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0066] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0067] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0068] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0069] The terms "first", "second", "third", "fourth", etc. (if any) in the specification 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.

[0070] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0071] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0073] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit 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 application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs. The preferred embodiment of the embodiment of the present application is described above with reference to the accompanying drawings, and the scope of rights of the embodiment of the present application is not limited thereto. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall be within the scope of rights of the embodiments of the present application.

Claims

1. A fully automatic filling and sealing machine, characterized in that: include: The filling and sealing machine hose data acquisition module is used to acquire the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera; A filling and sealing machine hose data extraction module is used to extract the hose positioning enhanced spatial attention feature vector and the hose motion semantic multi-scale association feature vector from the positioning image of the hose to be sealed acquired by the camera and the motion text data of the hose to be sealed in the tube cup; The module for determining the positioning of the hose to be sealed is used to determine whether the hose to be sealed can be positioned normally based on the spatial attention feature vector of the positioning enhancement of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics.

2. The fully automatic filling and sealing machine according to claim 1 is characterized in that: The filling and sealing machine hose data extraction module includes: A positioning image feature extraction unit for the hose to be sealed, used for extracting features from the positioning image of the hose to be sealed acquired by the camera to obtain a spatial attention feature vector for the positioning enhancement of the hose to be sealed; The hose motion text data feature extraction unit is used to extract features from the motion text data of the hose to be sealed in the tube cup to obtain the hose motion semantic multi-scale correlation feature vector.

3. The fully automatic filling and sealing machine according to claim 2 is characterized in that: The positioning image feature extraction unit of the hose to be sealed comprises: A positioning image pixel enhancement subunit, used for passing the positioning image of the hose to be sealed collected by the camera through the hose positioning pixel enhancement generator to obtain a hose positioning pixel enhancement image to be sealed; The hose positioning pixel enhancement feature encoding subunit is used to perform feature encoding on the hose positioning pixel enhancement image to be sealed to obtain the hose positioning enhancement spatial attention feature vector to be sealed.

4. The fully automatic filling and sealing machine according to claim 3 is characterized in that: The hose positioning pixel enhancement feature encoding subunit comprises: The to-be-sealed hose positioning pixel enhancement image is passed through the to-be-sealed hose positioning enhancement feature encoder using a spatial attention mechanism to obtain a to-be-sealed hose positioning enhancement spatial attention feature map; The to-be-sealed hose positioning enhanced spatial attention feature map is downsampled to obtain the to-be-sealed hose positioning enhanced spatial attention feature vector.

5. The fully automatic filling and sealing machine according to claim 4 is characterized in that: The hose motion text data feature extraction unit comprises: The motion text data of the hose to be sealed in the tube cup is passed through a hose to be sealed motion text semantic encoder to obtain a plurality of hose to be sealed motion text semantic feature vectors; The plurality of semantic feature vectors of the motion texts of the hose to be sealed are passed through a multi-scale feature extractor of the motion texts of the hose to be sealed to obtain the multi-scale associated feature vector of the hose motion semantics.

6. The fully automatic filling and sealing machine according to claim 5, characterized in that: The multi-scale feature extractor for the motion text of the hose to be sealed includes: a first convolution layer, a second convolution layer parallel to the first convolution layer, and a cascade layer connected to the first convolution layer and the second convolution layer, wherein the first convolution layer uses a one-dimensional convolution kernel with a first scale, and the second convolution layer uses a one-dimensional convolution kernel with a second scale.

7. The fully automatic filling and sealing machine according to claim 6, characterized in that: The positioning judgment module of the hose to be sealed includes: A hose positioning feature fusion unit, used for fusing the hose positioning enhanced spatial attention feature vector to be sealed and the hose motion semantic multi-scale association feature vector to obtain a hose positioning abnormality judgment feature vector to be sealed; A hose positioning feature optimization unit is used to perform forward interactive exploration on the feature vector for judging abnormal positioning of the hose to be sealed based on the feature interaction domain to obtain an optimized feature vector for judging abnormal positioning of the hose to be sealed; The hose positioning abnormality judgment classification unit is used to pass the optimized hose positioning abnormality judgment feature vector to a classifier, and the classifier is used to judge whether the hose to be sealed can be positioned normally.

8. The fully automatic filling and sealing machine according to claim 7, characterized in that: The hose positioning feature optimization unit comprises: Multiplying the abnormal positioning feature vector of the hose to be sealed by the classification weight matrix of the classifier to obtain the abnormal positioning feature vector of the first intermediate hose to be sealed; Using a concat function, the positioning abnormality judgment feature vector of the hose to be sealed and the first intermediate hose to be sealed positioning abnormality judgment feature vector are processed to obtain a second intermediate hose to be sealed positioning abnormality judgment feature vector; The positioning abnormality judgment feature vector of the hose to be sealed and the first intermediate hose to be sealed are added according to their positions to obtain a third intermediate hose to be sealed positioning abnormality judgment feature vector; The first weight matrix is ​​multiplied by the second intermediate hose to be sealed positioning abnormality judgment feature vector and then added with the first bias vector and passed through the sigmoid function to obtain a first activation value; The second weight matrix is ​​multiplied by the third feature vector for determining the abnormal positioning of the middle hose to be sealed and then added with the second bias vector, and then the result is passed through a sigmoid function to obtain a second activation value; Calculating a mean of the first activation value and the second activation value to obtain an activation mean; Calculate a difference value minus the activation mean, use the difference value as a first weighting coefficient and the activation mean value as a second weighting coefficient, and weight the second intermediate hose to be sealed positioning abnormality judgment feature vector and the hose to be sealed positioning abnormality judgment feature vector according to position to obtain a fourth intermediate hose to be sealed positioning abnormality judgment feature vector; Performing an exponential operation with a natural constant as the base on each eigenvalue of the backward anchor reference vector to obtain a fifth intermediate hose to be sealed tail positioning abnormality judgment eigenvector; The fourth intermediate hose to be sealed positioning abnormality judgment feature vector is subtracted from the fifth intermediate hose to be sealed positioning abnormality judgment feature vector according to position, and then the feature vector is passed through the ReLU function to obtain an optimized hose to be sealed positioning abnormality judgment feature vector.

9. A fully automatic filling and sealing machine method, characterized in that: include: Acquire the positioning image of the hose to be sealed and the movement text data of the hose to be sealed in the tube cup collected by the camera; Extracting the positioning enhanced spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics from the positioning image of the hose to be sealed acquired by the camera and the motion text data of the hose to be sealed in the tube cup; Based on the positioning enhanced spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics, it is determined whether the hose to be sealed can be positioned normally.

10. The fully automatic filling and sealing machine method according to claim 9, characterized in that: Extracting the positioning enhanced spatial attention feature vector of the hose to be sealed and the multi-scale association feature vector of the hose motion semantics from the positioning image of the hose to be sealed acquired by the camera and the motion text data of the hose to be sealed in the tube cup, including: Performing feature extraction on the positioning image of the hose to be sealed acquired by the camera to obtain a spatial attention feature vector for positioning enhancement of the hose to be sealed; Feature extraction is performed on the motion text data of the hose to be sealed in the tube cup to obtain a multi-scale associated feature vector of the hose motion semantics.

Citation Information

Patent Citations

  • Defect detection method and device of display panel, storage medium and electronic equipment

    CN115439395A

  • No-reference image quality determination method, system and equipment based on self-supervised learning

    CN117094973A

  • Intelligent system and method for silkworm breeding

    CN117253192A

  • Digital country application system and method based on Internet of Things

    CN118014519A

  • Traffic intelligent management system and method based on Internet of Things

    CN118212768A