Video analysis-based twin-screw compounding extrusion monitoring method and system

The video analysis-based twin-screw compounding extrusion monitoring method solves the problem of image clarity degradation in high-temperature, oily, and dusty environments, enabling real-time and precise monitoring of the twin-screw extruder feeding process, thereby improving the stability of the production process and the consistency of product quality.

CN123182162APending Publication Date: 2026-11-27CHANGZHOU JWELL INTELLIGENT CHEM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611698367.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing machine vision-based twin-screw extrusion feeding monitoring solutions suffer significant image clarity degradation in high-temperature volatile oil fumes and material dust environments, resulting in blurred particle outlines and inaccurate particle size identification. This leads to insufficient stability and accuracy of the monitoring system, making it unable to capture instantaneous fluctuations in raw material particle size in real time. Furthermore, traditional monitoring methods are costly and difficult to maintain, making them unsuitable for widespread adoption in small and medium-sized compounding production workshops.

Method used

A video analytics-based twin-screw compounding extrusion monitoring method is adopted. Video data from the feed port is collected by a visual sensor, foreground extraction and particle segmentation are performed, oil fume and dust interference are identified, similarity thresholds are adaptively adjusted, particle outlines are corrected by texture registration using a template library, and the mean and standard deviation of particle size are calculated to achieve real-time monitoring and anomaly alarm.

Benefits of technology

Accurately identify particle outlines and calculate particle size distribution in high-temperature, oily, and dusty environments to achieve automated and high-precision monitoring of compounding and extrusion states, improve production process stability and product quality consistency, and reduce the lag and misjudgment rate of manual inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182162A_ABST
    Figure CN123182162A_ABST
Patent Text Reader

Abstract

The application provides a twin-screw compounding extrusion monitoring method and system based on video analysis, and relates to the technical field of monitoring; the application can realize real-time monitoring of the raw material particle state in the feeding process of a twin-screw extruder, effectively overcome the interference of high-temperature oil smoke or dust on image acquisition, accurately identify the particle contour and calculate the particle size distribution, and thus realize automatic, high-precision monitoring and abnormal alarm of the compounding extrusion state, significantly improve the stability of the production process and the consistency of product quality, and greatly reduce the hysteresis and misjudgment rate of manual inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of monitoring technology, and in particular to a twin-screw compounding extrusion monitoring method and system based on video analytics. Background Technology

[0002] Existing machine vision-based twin-screw extrusion feeding monitoring solutions mostly calibrate algorithm parameters in an ideal, interference-free laboratory environment. When directly applied to actual extrusion workshops filled with high-temperature volatile oil fumes and material dust, they are prone to significant degradation in image clarity and blurry, broken particle outlines. Conventional fixed-threshold image segmentation algorithms often result in a large number of missed particles and distorted outline extraction, leading to extremely large deviations in the calculated particle size data. This makes it completely unsuitable for accurately determining the mixing status, and the stability and accuracy of the monitoring system after actual deployment fall far short of industrial production requirements.

[0003] Traditional monitoring methods have limitations and are often lagging behind: Current feeding status control in twin-screw compounding production largely relies on manual periodic inspections or offline sampling tests, which cannot capture instantaneous fluctuations in raw material particle size in real time. Often, it is only when problems such as abnormal melt pressure or substandard product mechanical properties occur in the subsequent mixing section that the abnormality at the feeding end can be traced back. By this time, defective products have already been produced, resulting in waste of raw materials, energy consumption, and labor time. Some monitoring solutions that use online sensors such as near-infrared and ultrasonic sensors are expensive to operate, difficult to maintain, and cannot intuitively reflect the actual distribution of particles at the feeding port, making it difficult to promote on a large scale in small and medium-sized compounding production workshops.

[0004] Most existing monitoring solutions rely solely on macroscopic parameters such as feed speed and total feed rate to determine the feeding status. They cannot identify hidden anomalies such as poor uniformity of raw material particle size or localized agglomeration of large particles. These anomalies do not directly change the total feed rate, but they can severely disrupt the shearing and mixing effect within the twin-screw extruder, ultimately leading to large fluctuations in batch product performance and poor batch-to-batch consistency, which in the long term affects product yield and production profitability.

[0005] Therefore, it is necessary to provide a video analytics-based twin-screw compounding extrusion monitoring method and system to solve the above-mentioned technical problems. Summary of the Invention

[0006] To address the aforementioned technical problems, this invention provides a video analytics-based twin-screw compounding extrusion monitoring method and system to solve the problems of insufficient environmental adaptability, lagging and limited monitoring methods in existing monitoring technologies.

[0007] The video analytics-based twin-screw compounding extrusion monitoring method provided by this invention includes the following steps:

[0008] S1. Video data of raw material particles at the feed port of the twin-screw extruder is acquired by a vision sensor, and the foreground of the current video frame image in the video data is extracted. Each independent particle in the foreground area is segmented to obtain the contour mask of each particle.

[0009] S2. When the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on image clarity exceeds the preset deviation threshold range, retrieve the reduced similarity threshold range corresponding to the deviation threshold.

[0010] S3. Using the reduced similarity threshold range, retrieve and extract video frame image samples from the pre-built template library that meet the preset limit conditions for global scene similarity with the current video frame image.

[0011] S4. Extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks.

[0012] S5. For the obtained modified contour mask of each particle, calculate the equivalent particle size of each particle, and calculate the mean particle size and standard deviation of particle size of all particles in the current video frame image.

[0013] S6. Compare the average particle size and standard deviation of particle size with the preset reference range of average particle size and reference threshold of standard deviation of particle size, including: when the average particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current mixing status is determined to be qualified; otherwise, it is determined to be unqualified and an alarm signal is output.

[0014] Preferably, step S1 specifically includes:

[0015] S101. By installing a vision sensor at a preset position directly above or to the side of the feed port of a twin-screw extruder, video stream data of raw material particles at the feed port is continuously collected at a preset frame rate.

[0016] S102. For the current video frame image in the acquired video stream data, the foreground is extracted by background subtraction or frame difference method to obtain the foreground region in the current video frame image.

[0017] S103. Perform connected component analysis and morphological processing on the foreground region to segment each independent particle in the foreground region and obtain the contour mask of each particle.

[0018] Preferably, step S2 specifically includes:

[0019] S201. Evaluate the image clarity of the current video frame and identify the degree of interference to image clarity caused by high-temperature volatile oil fumes or material dust in the extrusion workshop.

[0020] S202. The interference level identified by the evaluation is compared with the preset deviation threshold range to determine whether the interference level exceeds the preset deviation threshold range. When it is determined that the interference level exceeds the preset deviation threshold range, the image degradation level corresponding to the current interference level is determined, wherein the degradation level includes mild, moderate and severe.

[0021] S203. Based on the determined image degradation level, retrieve the reduced similarity threshold segment corresponding to the deviation threshold.

[0022] Preferably, step S3 specifically includes:

[0023] S301. Collect historical video frame images of the feed port of the twin-screw extruder in advance under interference-free standard conditions, perform particle annotation and texture feature extraction on the historical video frame images, and construct a template library;

[0024] S302. Based on the current video frame image and the reduced similarity threshold segment, calculate the global scene similarity between the current video frame image and each historical video frame image in the template library.

[0025] S303. Using the reduced similarity threshold range as the retrieval condition, select video frame image samples from the template library whose global scene similarity meets the preset limit conditions.

[0026] Preferably, step S4 specifically includes:

[0027] S401. Spatial registration is performed between the obtained contour mask of each particle and the corresponding particle region in the selected video frame image sample to obtain the registered texture features.

[0028] S402. Using the registered texture features, the contour mask boundaries of particles in the current video frame that are affected by high-temperature volatile oil fumes or material dust are corrected to obtain the corrected contour mask of each particle.

[0029] Preferably, step S5 specifically includes:

[0030] S501. Based on the modified contour mask of each particle, calculate the equivalent particle size of each particle for each modified contour mask, where the equivalent particle size includes the area equivalent diameter.

[0031] S502. Calculate the mean particle size and standard deviation of all particles in the current video frame image.

[0032] Preferably, step S6 specifically includes:

[0033] S601. Compare the statistical average particle size with the preset average particle size reference range to determine whether the average particle size falls within the average particle size reference range, and obtain the average particle size judgment result.

[0034] S602. Compare the statistical standard deviation of particle size with the preset reference threshold for standard deviation of particle size to determine whether the standard deviation of particle size does not exceed the reference threshold for standard deviation of particle size, and obtain the judgment result of standard deviation of particle size.

[0035] S603. Based on the combined results of the average particle size and the standard deviation of particle size, if the average particle size falls within the reference range of the average particle size and the standard deviation of particle size does not exceed the reference threshold of the standard deviation of particle size, the current blending status is determined to be qualified; otherwise, the current blending status is determined to be unqualified and an alarm notification is generated.

[0036] A video analytics-based twin-screw compounding extrusion monitoring system includes:

[0037] The video acquisition module is used to acquire video data of raw material particles at the feed port of the twin-screw extruder through a vision sensor, extract the foreground from the current video frame image in the video data, segment each independent particle in the foreground area, and obtain the contour mask of each particle.

[0038] The interference adaptation module is used to identify when the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on the image clarity exceeds the preset deviation threshold range. Based on the positive correlation between the degree of interference and the degree of image degradation, it retrieves the reduced similarity threshold range corresponding to the deviation threshold.

[0039] The template retrieval module is used to retrieve and extract video frame image samples whose global scene similarity with the current video frame image meets the preset limit conditions from the template library constructed by historical video frame images collected under interference-free standard conditions, using a reduced similarity threshold range.

[0040] The contour correction module is used to extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks.

[0041] The particle size statistics module is used to calculate the equivalent particle size of each particle based on the obtained modified contour mask, and to calculate the mean and standard deviation of particle size of all particles in the current video frame image.

[0042] The status determination module is used to compare the average particle size and the standard deviation of particle size with the preset reference range of average particle size and the reference threshold of standard deviation of particle size, respectively. The process includes: when the average particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current blending status is determined to be qualified; otherwise, it is determined to be unqualified and an alarm signal is output.

[0043] Compared with related technologies, the video analysis-based twin-screw compounding extrusion monitoring method and system provided by this invention has the following advantages:

[0044] This invention integrates visual foreground extraction with image extraction and detection. By adaptive threshold adjustment for oil fume and dust interference, standard template texture registration to correct particle contours, and dual-dimensional blending state determination based on particle size mean and standard deviation, it can monitor the state of raw material particles in real time during the feeding process of a twin-screw extruder. It effectively overcomes the interference of high-temperature oil fume or dust on image acquisition, accurately identifies particle contours and calculates particle size distribution, thereby achieving automated, high-precision monitoring and anomaly alarm of blending and extrusion state. This significantly improves the stability of the production process and the consistency of product quality, and greatly reduces the lag and misjudgment rate of manual inspection. Attached Figure Description

[0045] Figure 1 This is a flowchart of the video analysis-based twin-screw compounding extrusion monitoring method of the present invention;

[0046] Figure 2 This is a system module diagram of the video analysis-based twin-screw compounding extrusion monitoring system of the present invention. Detailed Implementation

[0047] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0048] Example 1

[0049] like Figure 1 As shown, the video analytics-based twin-screw compounding extrusion monitoring method includes the following steps:

[0050] S1. Video data of raw material particles at the feed port of the twin-screw extruder is acquired by a vision sensor, and the foreground of the current video frame image in the video data is extracted. Each independent particle in the foreground area is segmented to obtain the contour mask of each particle.

[0051] S2. When the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on image clarity exceeds the preset deviation threshold range, retrieve the reduced similarity threshold range corresponding to the deviation threshold.

[0052] S3. Using the reduced similarity threshold range, retrieve and extract video frame image samples whose global scene similarity with the current video frame image meets the preset limit conditions from the template library constructed by historical video frame images collected under interference-free standard conditions.

[0053] S4. Extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks.

[0054] S5. For the obtained modified contour mask of each particle, calculate the equivalent particle size of each particle, and calculate the mean particle size and standard deviation of particle size of all particles in the current video frame image.

[0055] S6. Compare the average particle size and standard deviation of particle size with the preset reference range of average particle size and reference threshold of standard deviation of particle size, including: when the average particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current mixing status is determined to be qualified; otherwise, it is determined to be unqualified and an alarm signal is output.

[0056] In the specific implementation process, step S1 specifically includes:

[0057] S101. By using a vision sensor installed at a preset position directly above or to the side of the feed port of a twin-screw extruder, video stream data of raw material particles at the feed port is continuously collected at a preset frame rate.

[0058] Specifically, it is positioned directly above the feed inlet of a twin-screw extruder.

[0059] S102. Foreground extraction is performed on the current video frame image in the acquired video stream data using background subtraction or frame difference method to obtain the foreground region in the current video frame image.

[0060] Specifically, in the background subtraction method, 30-50 frames of images are acquired when the equipment is unloaded and no material passes through the feed port. After registration of each frame, the average value is calculated by pixel to form a reference background image. The absolute value of the grayscale difference between the corresponding pixels in the current frame and the reference background image is used as a difference image. Pixels in the difference image whose absolute grayscale difference value is greater than a preset grayscale difference threshold are marked as foreground candidate pixels, and the remaining pixels are marked as background. The "preset grayscale difference threshold" here is used to determine the degree of change of the current frame relative to the reference background. When using the frame difference method, the absolute value of the grayscale difference between corresponding pixels in two adjacent frames is calculated, and the grayscale difference threshold with the same meaning is used to extract the foreground candidate region that has changed.

[0061] S103. Perform connected component analysis and morphological processing on the foreground region to segment each independent particle in the foreground region and obtain the contour mask of each particle.

[0062] Specifically, the foreground candidate region is binarized to form a binary image for subsequent connected component analysis. In this embodiment, when background subtraction is used, the binarization object is the difference image generated between the current frame and the reference background image, rather than the original image of the current frame without difference. The grayscale difference threshold is used for foreground extraction from the difference image, and the grayscale binarization threshold is used to map the grayscale difference of the difference image to the foreground or background. In the implementation, the two can share the same value or be set separately, but their objects and uses should be distinguished. Subsequently, connected component analysis is performed on the binary image to remove background reflective areas with an area larger than the preset maximum area and an irregularly extended shape; those with an area exceeding the limit but with a complete outline and can be determined as a single particle are retained and submitted to subsequent steps for verification; then, morphological closing operations are used to fill small holes and connect local broken edges, and opening operations are used to remove isolated noise points, outputting an initial particle outline mask. In this embodiment, the difference threshold can be set to 75, the minimum area threshold can be set to 15 pixels, and the maximum area threshold can be set to 2800 pixels. These values ​​should be calibrated in conjunction with camera exposure, field of view, and particle size, and are not fixed values ​​applicable to all production lines.

[0063] In the specific implementation process, step S2 specifically includes:

[0064] S201. Evaluate the image clarity of the current video frame and identify the degree of interference caused by high-temperature volatile oil fumes or material dust in the extrusion workshop on image clarity.

[0065] Specifically, the sharpness interference of the current video frame is quantified. First, the sum of the absolute values ​​of the horizontal and vertical gradients of the grayscale image within the effective feed area of ​​the current frame is calculated as an edge gradient index. Second, the effective area is divided into multiple local windows, and the difference between the maximum and minimum grayscale values ​​of each window is calculated. The average of the window results is then used as a local contrast index. Third, the absolute difference between the average grayscale of the effective area of ​​the current frame and the average grayscale of the corresponding area of ​​the interference-free reference frame is calculated as a global grayscale offset index. The three indices are normalized and truncated to 0-100 points using pre-calibrated reference upper limits. Among these, higher edge gradients and local contrast indicate a clearer image. Therefore, their normalized sharpness is calculated first, and then (100 - normalized sharpness) is used as the corresponding edge degradation score and contrast degradation score. That is, the lower the edge gradient or local contrast, the higher the degradation score. A larger global grayscale offset indicates stronger interference from oil fumes and dust. Its normalized value is directly used as the grayscale offset score. That is, the larger the grayscale offset, the higher the degradation score. The three degradation scores can be multiplied by preset weights and then summed to obtain the interference level from 0 to 100. Example weights are 40%, 35%, and 25%. The reference upper limit and weights are determined and kept consistent during the same production line debugging phase to facilitate comparison between different video frames.

[0066] In this embodiment, the edge degradation score is 60 points, the contrast degradation score is 65 points, and the grayscale shift score is 58 points, calculated as described above. Therefore, the interference score is 60×0.4+65×0.35+58×0.25=61.25 points, which is rounded down to 61 points.

[0067] S202. The interference level identified by the evaluation is compared with the preset deviation threshold range to determine whether the interference level exceeds the preset deviation threshold range. When the interference level is determined to exceed the preset deviation threshold range, the image degradation level corresponding to the current interference level is determined, wherein the degradation level includes mild, moderate and severe.

[0068] Specifically, the interference level is divided into non-overlapping ranges. For example, 0-30 points indicate no significant interference, points above 30 but not higher than 50 indicate mild interference, points above 50 but not higher than 75 indicate moderate interference, and points above 75 indicate severe interference. If the interference level falls exactly at the boundary of a range, it is assigned to a unique level according to the "above / not higher" rule to avoid level overlap. The current interference level is compared with these ranges to determine the image degradation level.

[0069] In this embodiment, when an extrusion workshop is producing high-temperature engineering plastics, it identifies that the current interference score is 61 points. It directly compares the score with the preset deviation threshold range. The comparison shows that 61 points fall within the range of 50-75 points, so the current image degradation level is automatically determined to be moderate.

[0070] S203. Based on the determined image degradation level, retrieve the reduced similarity threshold segment corresponding to the deviation threshold.

[0071] Specifically, a pre-established correspondence between image degradation levels and template retrieval similarity threshold ranges is established. For example, 90%–95% is used for no significant interference, 82%–88% for slight interference, 72%–78% for moderate interference, and 63%–70% for severe interference. After determining the degradation level of the current frame's interference, the corresponding threshold range is read for candidate template retrieval. The above range is an exemplary configuration and can be set after testing the retrieval recall and false match rate using labeled verification frames. It should be noted that lowering the threshold is only used to expand the candidate retrieval range and does not mean that a template match can be directly considered successful after lowering the threshold. Registration quality and matching reliability checks still need to be performed subsequently.

[0072] In this embodiment, after determining that the current image degradation level is moderate, the similarity threshold range of 72%-78% is automatically retrieved to replace the default threshold of 90%-95% in the original state without interference. This is so that when searching the template library later, standard samples that match the current blurred scene can be successfully filtered out, and the problem of not being able to find effective samples will not occur due to the decrease in image clarity.

[0073] In the specific implementation process, step S3 specifically includes:

[0074] S301. Collect historical video frame images of the feed port of the twin-screw extruder in advance under standard conditions without interference, perform particle annotation and texture feature extraction on the historical video frame images, and construct a template library.

[0075] Specifically, under conditions of low oil fume and dust, clean lenses, and clear imaging, standard video frames covering different feeding flow rates, particle distributions, and lighting conditions are collected to establish a template library. Annotation in the template library can be performed using a stratified sampling method: first, representative frames covering different operating conditions are selected, and annotators mark the particle regions and outlines; then, a second annotator reviews the sampling results, and samples with outline differences exceeding the preset pixel tolerance undergo negotiated review; the remaining frames can generate candidate outlines using confirmed annotation rules, and the sampling results undergo manual quality control. Each template entry must at least store the standard frame, the fixed structural features of the feeding port, the candidate particle regions, the particle outlines, and texture description information. This method does not require repeated manual fine-tuning of all particles in each frame, while controlling annotation consistency through review and tolerance rules.

[0076] In this embodiment, approximately 1200 frames of standard particle images at different feeding speeds are first acquired. Then, representative frames are selected layer by layer according to feeding speed, particle distribution, and lighting conditions for fine annotation and verification. Other frames are considered as unannotated candidate frames, which are then automatically generated as candidate contours and subjected to sampling quality checks before being included in the template library. Frames that fail to meet the preset annotation consistency requirements are not included in the standard templates used for contour correction.

[0077] S302. Based on the current video frame image and the reduced similarity threshold segment, calculate the global scene similarity between the current video frame image and each historical video frame image in the template library.

[0078] Specifically, the effective area of ​​the feed port, visible in both the current frame and the template frame, is first defined, and the image is converted to grayscale. This area is then divided into fixed-size image blocks, and texture statistics such as contrast, energy, and homogeneity of the gray-level co-occurrence matrix are calculated for each block. The statistics of each image block are then summarized to form a fixed-length global texture feature vector. The same image preprocessing, region division, and feature calculation parameters are applied to both the current frame and the template frame. The cosine similarity between the two vectors is then calculated, and the result is mapped to a score of 0-100. If the effective area of ​​the current frame is too small or the image quality is insufficient to extract stable features, the frame is marked as low reliability and is not directly used for template registration.

[0079] In this embodiment, after feature extraction, the current frame is compared with several standard frames in the template library to obtain a similarity score. During retrieval, candidate frames are first filtered according to the threshold range corresponding to the current degradation level, and then sorted from high to low similarity. The similarity score is an exemplary result calculated from the actual image, without presuming that all the highest-scoring samples must be concentrated in the same narrow interval, nor is a fixed top 20 samples a necessary condition.

[0080] S303. Using the reduced similarity threshold range as the retrieval condition, select video frame image samples from the template library whose global scene similarity meets the preset limit conditions.

[0081] Specifically, template frames whose similarity falls within the current degradation level threshold range are first selected as the first candidate set. These are then sorted by similarity from highest to lowest, and usable samples are selected based on registration quality. To ensure sufficient reference samples for subsequent processing, 8 frames are set as the lower reference limit for the number of candidate samples, and 20 frames as the upper reference limit: if the number of candidates exceeds the upper limit, samples that rank higher and pass the registration quality check are retained; if the number of candidates is lower than the lower limit, the similarity range can be gradually expanded within a pre-defined maximum expansion range, and a new search can be conducted. If the expanded range is still insufficient to reach the lower limit, or if none of the candidate frames pass the registration quality check, the current frame is marked as unreliable for correction, no deterministic granularity determination based on this frame is output, and a prompt to check the image acquisition conditions is given.

[0082] In this embodiment, the current frame has moderate interference, and the initial search range is 72-78 points. After searching the template library, 12 candidate frames falling into this range are obtained. Among them, 9 frames pass the subsequent registration quality check, and these 9 frames are used as usable reference samples. This embodiment is only used to illustrate the candidate selection logic. The actual number of candidates and the similarity distribution are determined by the content of the template library and the current frame image.

[0083] In the specific implementation process, step S4 specifically includes:

[0084] S401. Spatial registration is performed between the obtained contour masks of each particle and the corresponding particle regions in the selected video frame image samples to obtain the registered texture features.

[0085] Specifically, the corner / edge features of the feed port edge, bolt holes, or other fixed mechanical structures are first extracted from the current frame and the template frame. Feature descriptor matching is used, and erroneous matching points are eliminated using a random sampling consistency method. Homography or affine transformation is estimated to map the two frames to the same coordinate system. After global registration, local texture descriptors and contour shape features are extracted within each current particle candidate region and its neighborhood. The descriptor distance, shape overlap rate, and center position deviation between candidate regions are calculated and sorted according to a preset comprehensive cost. A correspondence is established only when the cost difference between the best and second-best candidates reaches a preset discrimination threshold, and the local overlap rate and position deviation both meet the specified conditions. Regions that do not meet the conditions are not forcibly matched and are processed for low reliability.

[0086] In this embodiment, the global coordinate transformation is first completed using the fixed mechanical structure of the feeding port. Then, local candidate regions in the standard template are searched one by one for each candidate region of particles in the current frame. If a candidate region in the current frame and the unique candidate region in the template meet the threshold conditions in terms of local texture, contour shape and positional relationship, a match is established. If the scores of multiple candidate regions are close, the one-to-one correspondence is not confirmed to avoid making incorrect matches based solely on the center coordinates.

[0087] S402. Using the registered texture features, the contour mask boundaries of particles in the current video frame that are affected by high-temperature volatile oil fumes or material dust are corrected to obtain the corrected contour mask of each particle.

[0088] Specifically, contour correction does not rely on manual frame-by-frame judgment, but is performed based on the registered standard contour and image evidence from the current frame. Pixels with continuous gradient edges near the current contour boundary and a distance less than the preset boundary tolerance after registration with the standard contour are retained as boundary candidates. For regions with gaps in the current boundary but continuous boundaries in the standard contour at the registration position, and where the local gradient of the current image is consistent with the direction of the adjacent boundary, missing boundaries can be filled. Isolated protrusions exceeding the allowable deviation of the standard contour and lacking corresponding image edge support can be discarded. For adhered regions, splitting is only performed along the boundary if there is a valley line / edge supporting the boundary in the distance transformation or local gradient of the current image, and this boundary matches the particle gap after template registration. If sufficient image evidence is lacking, automatic splitting is not performed, and the region is marked as low reliability. Boundary tolerance, gradient threshold, and minimum boundary saliency are calibrated using standard verification images.

[0089] In this embodiment, if three particles in the current frame form a connected component due to oil fumes, the single center point of this connected component will not be directly matched with the three center points in the template. Instead, global registration is first performed based on a fixed structure, and then distance transformation is calculated within the connected component to detect possible particle boundaries such as local depressions and gradient valleys. These boundaries are compared with the gaps between registered particles in the template. Only when two boundaries that match the gap positions in the template and are supported by image edges are detected will the connected component be split into three candidate particles and local matching will be verified separately. Otherwise, it will be retained as an adhesion region that cannot be reliably separated and will not be used as three independent particles in particle size statistics to avoid distorted particle size calculations due to fictitious particle boundaries.

[0090] In the specific implementation process, step S5 specifically includes:

[0091] S501. Based on the modified contour mask of each particle, calculate the equivalent particle size of each particle for each modified contour mask, wherein the equivalent particle size includes the area equivalent diameter.

[0092] Specifically, the process begins by counting the total number of white pixels within the contour mask after correcting a single particle. Combined with a pre-calibrated conversion factor for the actual physical size of each pixel, the actual projected area of ​​the particle is directly calculated. Then, the equivalent diameter is derived using the area formula of a circle, thus obtaining the particle's equivalent diameter. The pre-calibration of the conversion factor for the actual physical size of each pixel involves: placing a standard square calibration block with known precise physical dimensions, such as a high-precision metal block with a side length of 50 mm, flat on the actual shooting plane of the camera at the feed inlet, ensuring the calibration block is completely within the camera's clear imaging range; next, capturing a clear image of the calibration block, directly counting the total horizontal and vertical pixels occupied by the calibration block in the image, and taking the average of these two pixel values ​​as the pixel side length of the calibration block; finally, dividing the actual physical side length of the calibration block by the statistically obtained pixel side length yields the actual physical size corresponding to a single pixel, such as 50 mm corresponding to 500 pixels, with a conversion factor of 0.1 mm / pixel.

[0093] In this embodiment, 1760 effective pixels (exemplary value) are obtained within a certain modified particle contour mask. The pre-calibrated conversion factor is 1 cm of actual length for every 100 pixels. The area corresponding to a single pixel is calculated to be 0.0001 square centimeters. Finally, the projected area of ​​the particle is 0.176 square centimeters, and the equivalent diameter of the area is approximately 4.73 mm.

[0094] S502. Calculate the mean particle size and standard deviation of all particles in the current video frame image.

[0095] Specifically, iterate through all particles in the current video frame that have completed the equivalent particle size calculation, take the arithmetic mean of all particle size values ​​to obtain the mean particle size of the current frame, and then take the square root of the sum of the squares of the differences between the particle size of each individual particle and the mean, divided by the total number of particles, to obtain the standard deviation of the particle size.

[0096] In this embodiment, a total of 126 effective particles were counted in the current frame. The equivalent particle size of all particles ranged from 3.2 mm to 6.1 mm. The calculated average particle size was 4.62 mm, and the standard deviation of the particle size was 0.31 mm.

[0097] In the specific implementation process, step S6 specifically includes:

[0098] S601. Compare the statistical average particle size with the preset average particle size reference range to determine whether the average particle size falls within the average particle size reference range, and obtain the average particle size judgment result.

[0099] Specifically, the average particle size of the current frame obtained in step S5 is compared with the pre-set reference range of average particle size to determine whether the overall average size of the current particles falls within the range allowed by the process, and a clear qualified / unqualified judgment result is output.

[0100] In this embodiment, the process requirement for a certain modified PP product is to set the average particle size reference range to 4.2-5.0 mm. The average particle size of the current frame is 4.62 mm. After direct comparison with the reference range, the result of the average particle size dimension is determined to be qualified, confirming that the overall average size of the current feed fully meets the process standard.

[0101] S602. Compare the statistical particle size standard deviation with the preset particle size standard deviation reference threshold, determine whether the particle size standard deviation does not exceed the particle size standard deviation reference threshold, and obtain the particle size standard deviation judgment result.

[0102] Specifically, the standard deviation of the particle size in the current frame is statistically obtained and compared with the pre-set reference threshold for the standard deviation of particle size to determine whether the particle size dispersion of all particles is controlled within the upper limit allowed by the process, and output the qualified / unqualified judgment result.

[0103] In this embodiment, the reference threshold for the standard deviation of particle size required by the process requirements of the corresponding product is set to 0.5 mm. The standard deviation of particle size in the current frame is 0.31 mm. After direct comparison with the reference threshold, the result of the standard deviation of particle size is determined to be qualified, confirming that the particle size dispersion of the current feed is completely within the controllable range and there is no abnormal situation of local large particle clustering.

[0104] S603. Based on the combined results of the average particle size and the standard deviation of particle size, if the average particle size falls within the reference range of the average particle size and the standard deviation of particle size does not exceed the reference threshold of the standard deviation of particle size, the current blending status is determined to be qualified; otherwise, the current blending status is determined to be unqualified and an alarm notification is generated.

[0105] Specifically, the system reads the two judgment results from the first two steps simultaneously. Only when the average particle size falls within the reference range and the standard deviation of the particle size does not exceed the reference threshold is the current blending state determined to be qualified, and no alarm is triggered. The system then continues to enter the monitoring loop of the next frame. If either condition is not met, the blending state is directly determined to be unqualified, and an alarm notification is pushed.

[0106] In this embodiment, during a certain production process, the feeder briefly jammed and mixed in a small amount of large particle agglomerates larger than 6.5 mm. The statistically obtained average particle size was 4.9 mm (still within the acceptable range of 4.2-5.0 mm), but the standard deviation of particle size soared to 0.72 mm, exceeding the reference threshold of 0.5 mm. Based on the comprehensive judgment, the current mixing status was deemed unqualified, and an alarm notification was immediately triggered in the workshop.

[0107] Example 2

[0108] like Figure 2 As shown, the video analytics-based twin-screw compounding extrusion monitoring system specifically includes:

[0109] The video acquisition module is used to acquire video data of raw material particles at the feed port of the twin-screw extruder through a vision sensor, extract the foreground from the current video frame image in the video data, segment each independent particle in the foreground area, and obtain the contour mask of each particle.

[0110] The interference adaptation module is used to identify when the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on the image clarity exceeds the preset deviation threshold range. Based on the positive correlation between the degree of interference and the degree of image degradation, it retrieves the reduced similarity threshold range corresponding to the deviation threshold.

[0111] The template retrieval module is used to retrieve and extract video frame image samples whose global scene similarity with the current video frame image meets the preset limit conditions from the template library constructed by historical video frame images collected under interference-free standard conditions, using a reduced similarity threshold range.

[0112] The contour correction module is used to extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks.

[0113] The particle size statistics module is used to calculate the equivalent particle size of each particle based on the obtained modified contour mask, and to calculate the mean and standard deviation of particle size of all particles in the current video frame image.

[0114] The status determination module is used to compare the average particle size and the standard deviation of particle size with the preset reference range of average particle size and the reference threshold of standard deviation of particle size, respectively. The process includes: when the average particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current blending status is determined to be qualified; otherwise, it is determined to be unqualified and an alarm signal is output.

[0115] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0116] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0117] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

Claims

1. A video analytics-based monitoring method for twin-screw compounding extrusion, characterized in that, Includes the following steps: S1. Video data of raw material particles at the feed port of the twin-screw extruder is acquired by a vision sensor, and the foreground of the current video frame image in the video data is extracted. Each independent particle in the foreground area is segmented to obtain the contour mask of each particle. S2. When the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on image clarity exceeds the preset deviation threshold range, retrieve the reduced similarity threshold range corresponding to the deviation threshold. S3. Using the reduced similarity threshold range, retrieve and extract video frame image samples from the pre-built template library that meet the preset limit conditions for global scene similarity with the current video frame image. S4. Extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks. S5. For the obtained modified contour mask of each particle, calculate the equivalent particle size of each particle, and calculate the mean particle size and standard deviation of particle size of all particles in the current video frame image. S6. Compare the mean particle size and standard deviation of particle size with the preset reference range of mean particle size and reference threshold of standard deviation of particle size, including: when the mean particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current blending state is determined to be qualified. Otherwise, it is judged as unqualified and an alarm signal is output.

2. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S1 step specifically includes: S101. By installing a vision sensor at a preset position directly above or to the side of the feed port of a twin-screw extruder, video stream data of raw material particles at the feed port is continuously collected at a preset frame rate. S102. For the current video frame image in the acquired video stream data, the foreground is extracted by background subtraction or frame difference method to obtain the foreground region in the current video frame image. S103. Perform connected component analysis and morphological processing on the foreground region to segment each independent particle in the foreground region and obtain the contour mask of each particle.

3. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S2 step specifically includes: S201. Evaluate the image clarity of the current video frame and identify the degree of interference to image clarity caused by high-temperature volatile oil fumes or material dust in the extrusion workshop. S202. The interference level identified by the evaluation is compared with the preset deviation threshold range to determine whether the interference level exceeds the preset deviation threshold range. When it is determined that the interference level exceeds the preset deviation threshold range, the image degradation level corresponding to the current interference level is determined, wherein the degradation level includes mild, moderate and severe. S203. Based on the determined image degradation level, retrieve the reduced similarity threshold segment corresponding to the deviation threshold.

4. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S3 step specifically includes: S301. Collect historical video frame images of the feed port of the twin-screw extruder in advance under interference-free standard conditions, perform particle annotation and texture feature extraction on the historical video frame images, and construct a template library; S302. Based on the current video frame image and the reduced similarity threshold segment, calculate the global scene similarity between the current video frame image and each historical video frame image in the template library. S303. Using the reduced similarity threshold range as the retrieval condition, select video frame image samples from the template library whose global scene similarity meets the preset limit conditions.

5. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S4 step specifically includes: S401. Spatial registration is performed between the obtained contour mask of each particle and the corresponding particle region in the selected video frame image sample to obtain the registered texture features. S402. Using the registered texture features, the contour mask boundaries of particles in the current video frame that are affected by high-temperature volatile oil fumes or material dust are corrected to obtain the corrected contour mask of each particle.

6. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S5 step specifically includes: S501. Based on the modified contour mask of each particle, calculate the equivalent particle size of each particle for each modified contour mask, where the equivalent particle size includes the area equivalent diameter. S502. Calculate the mean particle size and standard deviation of all particles in the current video frame image.

7. The video analysis-based twin-screw compounding extrusion monitoring method according to claim 1, characterized in that, The S6 step specifically includes: S601. Compare the statistical average particle size with the preset average particle size reference range to determine whether the average particle size falls within the average particle size reference range, and obtain the average particle size judgment result. S602. Compare the statistical standard deviation of particle size with the preset reference threshold for standard deviation of particle size to determine whether the standard deviation of particle size does not exceed the reference threshold for standard deviation of particle size, and obtain the determination result of standard deviation of particle size. S603. Based on the combined results of the average particle size and the standard deviation of particle size, if the average particle size falls within the reference range of the average particle size and the standard deviation of particle size does not exceed the reference threshold of the standard deviation of particle size, the current blending status is determined to be qualified; otherwise, the current blending status is determined to be unqualified and an alarm notification is generated.

8. A video analytics-based twin-screw compounding extrusion monitoring system, employing the video analytics-based twin-screw compounding extrusion monitoring method according to any one of claims 1-7, characterized in that, The monitoring system includes: The video acquisition module is used to acquire video data of raw material particles at the feed port of the twin-screw extruder through a vision sensor, extract the foreground from the current video frame image in the video data, segment each independent particle in the foreground area, and obtain the contour mask of each particle. The interference adaptation module is used to identify when the interference of high-temperature volatile oil fumes or material dust in the extrusion workshop on the image clarity exceeds the preset deviation threshold range. Based on the positive correlation between the degree of interference and the degree of image degradation, it retrieves the reduced similarity threshold range corresponding to the deviation threshold. The template retrieval module is used to retrieve and extract video frame image samples whose global scene similarity with the current video frame image meets the preset limit conditions from the template library constructed by historical video frame images collected under interference-free standard conditions, using a reduced similarity threshold range. The contour correction module is used to extract texture features from the retrieved video frame image samples, spatially register the obtained particle contour masks with the corresponding particle regions in the video frame image samples, and correct the contour mask boundaries to obtain the corrected particle contour masks. The particle size statistics module is used to calculate the equivalent particle size of each particle based on the obtained modified contour mask, and to calculate the mean and standard deviation of particle size of all particles in the current video frame image. The status determination module is used to compare the average particle size and the standard deviation of particle size with the preset reference range of average particle size and the reference threshold of standard deviation of particle size, respectively. The process includes: when the average particle size falls within the reference range and the standard deviation of particle size does not exceed the reference threshold, the current blending status is determined to be qualified; otherwise, it is determined to be unqualified and an alarm signal is output.