Metallic foreign matter detection and classification method and system in nonwoven fabric production line
By combining metal detectors and X-ray detectors, a two-dimensional magnetic field map is generated and image analysis is performed to identify and classify metallic foreign objects in nonwoven fabrics. This solves the problem of inaccurate identification of metallic foreign objects in existing technologies, achieving efficient and accurate detection and classification, and reducing production costs and downtime.
Patent Information
- Application Number
- CN202311103883.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-08-30
AI Technical Summary
Existing technologies cannot accurately identify the type and location of metallic foreign objects in nonwoven fabric production, leading to frequent production line shutdowns, increased production costs, and reduced production efficiency.
By combining a metal detector and an X-ray detector, a two-dimensional magnetic field map is generated using magnetic field data to mark areas where metal foreign objects may exist. The X-ray detector is used to scan and acquire image data, and object recognition and shape feature analysis are performed based on the image data to distinguish broken needles from other metal foreign objects.
It improves the accuracy and efficiency of metal foreign object detection, reduces production line downtime, lowers operating costs, and ensures product quality and safety.
Smart Images

Figure CN117007674B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of nonwoven fabric production and testing technology, and in particular to a method and system for detecting and classifying metallic foreign objects in a nonwoven fabric production line. Background Technology
[0002] During the production of nonwoven fabrics, equipment malfunctions or wear can cause broken needles and other metallic foreign objects to fall into the product and become mixed in. This not only affects product quality but may also pose a threat to personal safety. Therefore, detecting broken needles and other metallic foreign objects in nonwoven fabrics is a crucial part of product quality control.
[0003] The main existing detection technology is the metal detector, which detects the presence of metal by sensing changes in the magnetic field generated by metallic foreign objects in materials. It has the advantages of high speed and low cost, making it suitable for large-scale, real-time screening. While this method can detect the presence of metallic objects to a certain extent, it cannot accurately identify the specific type and location of the metallic foreign object. Especially when faced with different types of metallic foreign objects such as broken needles and other metal fragments, it cannot effectively distinguish between them. This means that once the metal detector detects a foreign object, regardless of whether it is a broken needle, the production line needs to be stopped for manual inspection and cleaning, which undoubtedly increases production costs and reduces production efficiency.
[0004] To overcome these challenges, researchers attempted to use X-ray detection technology. X-rays can penetrate textiles and provide information about the internal structure of nonwoven fabrics, allowing for precise location and identification of metallic foreign objects. Furthermore, X-rays can distinguish between different material types, thus enabling more accurate identification of whether the foreign object is a broken needle or another type of metallic object. However, X-ray equipment has high operating costs, and frequent use can cause wear and tear, increasing maintenance and replacement costs.
[0005] Therefore, how to effectively reduce production line downtime and operating costs while ensuring testing accuracy, so as to improve production efficiency and safety, is an urgent problem to be solved in the field of nonwoven fabric production. Summary of the Invention
[0006] To address the aforementioned problems in the existing technology, this invention provides a method and system for detecting and classifying metallic foreign objects in a nonwoven fabric production line.
[0007] To achieve the above objectives, the present invention provides the following solution:
[0008] A method for detecting and classifying metallic foreign objects in a nonwoven fabric production line, comprising:
[0009] A metal detector is used to collect magnetic field data in real time during the nonwoven fabric production process;
[0010] The magnetic field data is normalized, and a two-dimensional magnetic field map is generated based on the normalized magnetic field data. Each cell in the two-dimensional magnetic field map corresponds to a scanning point, and the value in each cell is the magnetic field strength of the scanning point corresponding to that cell. The magnitude of the magnetic field strength is represented by color gradation.
[0011] When there is a situation in the two-dimensional magnetic field map where the magnetic field strength is greater than a first set threshold, a mark is made at the corresponding position on the two-dimensional magnetic field map to obtain a marked area;
[0012] An X-ray detector is activated and used to scan the marked area to obtain image data; the image data includes information about the internal structure of the marked area.
[0013] Based on the image data, object recognition and extraction are performed to obtain the shape features of the object;
[0014] The aspect ratio of an object is determined based on its shape characteristics, and the type of the object is determined based on the relationship between the aspect ratio and a second set threshold.
[0015] Optionally, object recognition and extraction are performed based on the image data to obtain the shape features of the object, specifically including:
[0016] The image data is preprocessed to obtain a preprocessed image;
[0017] The Canny operator is used to identify and extract object edges in the preprocessed image;
[0018] The object's shape features are obtained by performing graphic analysis or image segmentation on the object's edges.
[0019] Optionally, the preprocessing includes noise reduction and image enhancement.
[0020] Optionally, the aspect ratio of the object is determined based on its shape features, specifically including:
[0021] The object is selected using a bounding box based on its shape features to obtain the object's bounding box.
[0022] Calculate the length and width of the object's bounding box, and determine the aspect ratio of the object based on the length and width of the object's bounding box.
[0023] Optionally, the type of the object is determined based on the relationship between the aspect ratio of the object and a second preset threshold, specifically including:
[0024] When the aspect ratio of the object is greater than the second set threshold, the object is determined to be a broken needle.
[0025] When the aspect ratio of the object is less than or equal to the second set threshold, the object is determined to be a metallic foreign object other than a broken needle.
[0026] Optionally, the method further includes:
[0027] When the object is a broken needle, a warning signal and a stop signal are generated, and the position of the object is visualized.
[0028] When the object is a metallic foreign object other than a broken needle, the position information of the object is recorded and a cleaning signal is generated.
[0029] A metal foreign object detection and classification system for a nonwoven fabric production line, the system comprising: a metal detector, an X-ray detector, and a computer;
[0030] Both the metal detector and the X-ray detector are connected to the computer;
[0031] The metal detector is used to collect magnetic field data in real time during the nonwoven fabric production process;
[0032] The X-ray detector scans the marked area to obtain image data; the image data includes internal structural information of the marked area.
[0033] The computer is used to obtain metal foreign object detection and classification results by using the magnetic field data and image data as the data basis and employing the metal foreign object detection and classification method provided above in the nonwoven fabric production line; the computer is also used to generate control signals for the metal detector and the X-ray detector to control the opening and closing of the metal detector and the X-ray detector; the computer is also used to generate processing signals based on the metal foreign object detection and classification results; the processing signals include warning signals, shutdown signals, and cleaning signals.
[0034] Optionally, the X-ray detector includes: a shielding box, a linear array detector, and an X-ray source;
[0035] The linear array detector and the X-ray source are respectively located on both sides of the nonwoven fabric production line, and both the linear array detector and the X-ray source are placed in the shielding box.
[0036] Optionally, the system further includes: a data acquisition module; the data acquisition module is connected to both the computer and the linear array detector.
[0037] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0038] This invention employs a detection and classification strategy combining metal detectors and X-ray equipment, which improves detection accuracy and production efficiency. Specifically, the invention utilizes a computer-based automatic identification and classification method for metallic foreign objects, along with processing decisions based on this classification. This aims to achieve automated control of the production line, effectively reducing downtime, lowering operating costs, ensuring product quality and safety, and ultimately improving both production efficiency and safety. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 A flowchart of the method for detecting and classifying metallic foreign objects in a nonwoven fabric production line provided by the present invention;
[0041] Figure 2 This is a schematic diagram of the structure of the metal foreign object detection and classification system in the nonwoven fabric production line provided by the present invention;
[0042] Figure 3 This is a basic flowchart for the detection and classification of metal foreign objects in a nonwoven fabric production line provided in this embodiment of the invention.
[0043] Figure label:
[0044] 1-Metal detector, 2-X-ray detector, 21-Shielding box, 22-Linear array detector, 23-X-ray source, 3-Computer, 4-Acquisition module. Detailed Implementation
[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] The purpose of this invention is to provide a method and system for detecting and classifying metal foreign objects in a nonwoven fabric production line, which can effectively reduce production line downtime and operating costs while ensuring detection accuracy, thereby improving production efficiency and safety.
[0047] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0048] like Figure 1 As shown, the method for detecting and classifying metallic foreign objects in a nonwoven fabric production line provided by the present invention includes:
[0049] Step 100: Use a metal detector to collect magnetic field data in real time during the nonwoven fabric production process.
[0050] Step 101: Normalize the magnetic field data and generate a two-dimensional magnetic field map based on the normalized data. This two-dimensional magnetic field map can be understood as a two-dimensional array or matrix, where each cell corresponds to a scan point, and the value of the cell is the magnetic field strength at that scan point. The magnetic field strength can be represented by color levels (grayscale), with larger values (or darker colors) indicating higher magnetic field strength.
[0051] Step 102: When a magnetic field strength in the two-dimensional magnetic field map exceeds the first preset threshold (i.e., it is considered that a metallic foreign object may be present), a mark is made at the corresponding location on the two-dimensional magnetic field map to obtain the marked area. The first preset threshold can be set according to actual detection needs.
[0052] Step 103: Turn on the X-ray detector and scan the marked area using the X-ray detector to obtain image data. The image data includes information about the internal structure of the marked area. This information includes the shape, size, and location of any possible metallic foreign objects.
[0053] Step 104: Perform object recognition and extraction based on image data to obtain the shape features of the object.
[0054] In practical applications, this step can be implemented as follows:
[0055] Step 1041: Preprocess the image data to obtain the preprocessed image.
[0056] Step 1042: Use the Canny operator to identify and extract object edges in the preprocessed image.
[0057] Step 1043: Perform graphic analysis or image segmentation on the object's edges to obtain the object's shape features.
[0058] Step 105: Determine the aspect ratio of the object based on its shape features, and determine the object type based on the relationship between the aspect ratio and the second set threshold.
[0059] In practical applications, this step can be implemented as follows:
[0060] Step 1051: Select objects using bounding boxes based on their shape features to obtain object bounding boxes.
[0061] Step 1052: Calculate the length and width of the object's bounding box, and determine the object's aspect ratio based on the length and width of the bounding box. The aspect ratio is defined as AspectRatio: AspectRatio = l / w, where l is the length of the bounding box and w is the width of the bounding box.
[0062] Step 1053: When the aspect ratio of the object is greater than the second set threshold (e.g., 3), the object is determined to be a broken needle.
[0063] Step 1054: When the aspect ratio of the object is less than or equal to the second set threshold, the object is determined to be a metallic foreign object other than a broken needle.
[0064] To further achieve automated control of the production line, this invention generates different automated control signals based on different detection and classification results, as follows:
[0065] (1) When the object is a broken needle, a warning signal and a stop signal are generated, and the position of the object is visualized.
[0066] (2) When the object is a metal foreign object other than a broken needle, record the object's position information and generate a cleaning signal.
[0067] Furthermore, the present invention also provides a system for detecting and classifying metallic foreign objects in a nonwoven fabric production line, such as... Figure 2 As shown, the system includes a metal detector 1, an X-ray detector 2, and a computer 3. The X-ray detector 2 includes a shielding box 21, a linear array detector 22, and an X-ray source 23. The linear array detector 22 and the X-ray source 23 are respectively located on both sides of the nonwoven fabric production line, and both the linear array detector 22 and the X-ray source 23 are housed within the shielding box 21.
[0068] Both metal detector 1 and X-ray detector 2 are connected to computer 3. Metal detector 1 is used to collect magnetic field data in real time during the nonwoven fabric production process. X-ray detector 2 scans the marked area to obtain image data. Computer 3 uses the magnetic field data and image data as a basis to obtain the metal foreign object detection and classification results using the aforementioned method for metal foreign object detection and classification in the nonwoven fabric production line. Computer 3 is also used to generate control signals for metal detector 1 and X-ray detector 2 to control their opening and closing. Computer 3 is also used to generate processing signals based on the metal foreign object detection and classification results. Processing signals include warning signals, stop signals, and cleaning signals.
[0069] Furthermore, to ensure the real-time performance and accuracy of the collected data, the system provided by this invention also includes a data acquisition module 4. The data acquisition module 4 is connected to both the computer 3 and the linear array detector 22.
[0070] The following describes the process of detecting and classifying metallic foreign objects in a nonwoven fabric production line, using the specific structure of the system provided by this invention as an implementation architecture. In this embodiment, this process is implemented in the following steps:
[0071] Step 1, Preliminary Screening: After the production line starts, computer 3 automatically activates metal detector 1 to perform a large-scale preliminary screening of the nonwoven fabric according to the set scanning frequency and range. During the scanning process, metal detector 1 continuously collects magnetic field data and converts this data into a two-dimensional magnetic field map through normalization processing. Metal detector 1 continuously monitors and updates the magnetic field map. Once the magnetic field strength of a certain area exceeds a set threshold (i.e., the first set threshold), it is considered that a metallic foreign object may be present. At this time, computer 3 will mark the corresponding position on the two-dimensional magnetic field map. All magnetic field data and marking information are stored in real time. This data can be used not only for the subsequent X-ray inspection stage but also as historical data for later analysis and optimization.
[0072] Step 2, X-ray Detection and Broken Needle Identification: When metal detector 1 marks areas on the two-dimensional magnetic field map where metal foreign objects may exist (i.e., the marked areas are obtained), X-ray detector 2 is automatically activated to begin in-depth inspection of these marked areas. After activation, X-ray detector 2 scans the marked areas, collecting image data of X-rays penetrating the nonwoven fabric. The acquired image data is first preprocessed, including noise reduction and image enhancement, to ensure that the edges of objects in the image are clear. Then, the edge detection algorithm—the Canny operator—is applied to identify and extract the edges of objects in the image. The shape features of each individual object are determined through shape analysis or image segmentation techniques, and each identified object is represented using a bounding box. The length l and width w of the bounding box are calculated to obtain the aspect ratio.
[0073] Step 3, Processing Decision: Upon receiving the X-ray detection feedback signal, computer 3 will automatically make a processing decision. If the aspect ratio of the object is greater than the second preset threshold, it is identified as a broken needle. Computer 3 will immediately issue a warning signal, stop the machine, and transmit the location information of the broken needle to the operator through a visual interface for processing. If the aspect ratio of the object is less than or equal to the second preset threshold, it is identified as another type of metallic foreign object. Computer 3 will automatically record its location information and send a cleaning signal. After production is completed, the operator can perform further cleaning and processing based on these markings. This processing strategy avoids unnecessary production downtime and ensures product quality and safety. In this embodiment, the value of the second preset threshold is determined to be 3 based on practical experience as the basis for classifying broken needles and other metallic impurities.
[0074] In practical applications, before detecting and classifying metallic foreign objects in nonwoven fabric production lines, the following operations can be performed:
[0075] 1) After starting, perform system initialization.
[0076] 2) Determine if system parameter settings are complete. When system parameter settings are complete, enter the system parameter dialog box and determine whether to save the parameters. If yes, configure the parameters; otherwise, do not save the parameters.
[0077] 3) After configuring the parameters, determine whether to start detection. If yes, execute the metal foreign object detection and classification method for nonwoven fabric production lines provided by this invention; otherwise, do not perform any processing. This operation process is as follows: Figure 3 As shown, Figure 3 In the text, Y indicates yes, and N indicates no.
[0078] Based on the above description, the solution provided by the present invention has the following advantages compared to the prior art:
[0079] 1. High Efficiency: This invention employs a combination strategy of metal detectors and X-ray detectors. By combining broad preliminary screening with targeted in-depth inspection, the speed of metal foreign object detection can be greatly improved, accelerating the production process and thus increasing overall production efficiency. Furthermore, this invention utilizes automated and intelligent processing decisions, reducing manual operation time and costs.
[0080] 2. High Precision: This invention employs advanced image processing and analysis techniques, such as image preprocessing, edge detection, and shape analysis, which can more accurately identify and extract the features of metallic foreign objects. In particular, the broken needle identification strategy using aspect ratio analysis can not only distinguish broken needles from other metallic foreign objects but also accurately locate their positions, thereby greatly improving the accuracy of identification.
[0081] 3. High Safety: The processing decision-making method employed in this invention adopts differentiated handling strategies for detected metal foreign objects. For metal foreign objects such as broken needles that could significantly impact production, the computer immediately issues a warning signal, stopping the production line and preventing potential quality problems and equipment damage. For other metal foreign objects, their location information is marked and recorded, allowing for cleanup and disposal after production, avoiding unnecessary production downtime. This ensures product quality and safety while reducing production and equipment operating costs.
[0082] In addition to using magnetic field-based metal detectors, metal detection techniques based on principles such as electromagnetic induction, resistivity measurement, or ultrasonic reflection can also be considered during the metal detection phase. For example, electromagnetic induction detectors can detect metallic foreign objects by measuring changes in the magnetic field caused by the metal. Ultrasonic detectors can detect them by measuring the reflection characteristics of ultrasonic waves by the metal. These alternatives can also effectively detect metallic foreign objects in nonwoven fabrics.
[0083] In the broken needle identification stage, in addition to edge detection and shape analysis-based algorithms, Support Vector Machines (SVMs) can also be considered. For example, more edge and texture features can be extracted using methods such as Sobel and Laplacian, or global features can be extracted using methods such as color histograms, Haralick textures, and HOG (Histogram of Oriented Gradients). Then, all the extracted features are combined into a feature vector. This feature vector will be used as input to the SVM model. After training on a labeled training dataset, the SVM model can learn how to distinguish the feature vectors of broken needles from those of other objects. For a new image, the same preprocessing and feature extraction steps are performed first, and then the resulting feature vector is input into the SVM model. The SVM will predict whether the object is a broken needle or not. If the SVM predicts that the object is a broken needle, the system will immediately issue a warning signal and transmit the location information of the broken needle to the operator for processing. If the SVM predicts that the object is another type of metallic foreign object, the system will record its location information and issue a cleaning signal. This method leverages the powerful classification capabilities of SVM to accurately identify broken needles in nonwoven fabrics, thereby ensuring the safety and efficiency of the production line.
[0084] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0085] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for detecting and classifying metallic foreign objects in a nonwoven fabric production line, characterized in that, include: A metal detector is used to collect magnetic field data in real time during the nonwoven fabric production process; The magnetic field data is normalized, and a two-dimensional magnetic field map is generated based on the normalized magnetic field data. Each cell in the two-dimensional magnetic field map corresponds to a scanning point, and the value in each cell is the magnetic field strength of the scanning point corresponding to that cell. The magnitude of the magnetic field strength is represented by color gradation. When there is a situation in the two-dimensional magnetic field map where the magnetic field strength is greater than a first set threshold, a mark is made at the corresponding position on the two-dimensional magnetic field map to obtain a marked area; It stores magnetic field data and marking information in real time. The stored data is not only used for subsequent X-ray detection, but also as historical data for later analysis and optimization. An X-ray detector is activated and used to scan the marked area to obtain image data; the image data includes information about the internal structure of the marked area. Based on the image data, object recognition and extraction are performed to obtain the shape features of the object; The aspect ratio of an object is determined based on its shape characteristics, and the type of the object is determined based on the relationship between the aspect ratio and a second set threshold. When the object is a broken needle, a warning signal and a stop signal are generated, and the position of the object is visualized. When the object is a metallic foreign object other than a broken needle, the object's position information is recorded and a cleaning signal is generated; after production is completed, the operator performs further cleaning and processing based on the marking information.
2. The method for detecting and classifying metallic foreign objects in a nonwoven fabric production line according to claim 1, characterized in that, Based on the image data, object recognition and extraction are performed to obtain the shape features of the object, specifically including: The image data is preprocessed to obtain a preprocessed image; The Canny operator is used to identify and extract object edges in the preprocessed image; The object's shape features are obtained by performing graphic analysis or image segmentation on the object's edges.
3. The method for detecting and classifying metallic foreign objects in a nonwoven fabric production line according to claim 2, characterized in that, The preprocessing includes noise reduction and image enhancement.
4. The method for detecting and classifying metallic foreign objects in a nonwoven fabric production line according to claim 1, characterized in that, Determining the aspect ratio of an object based on its shape features specifically includes: The object is selected using a bounding box based on its shape features to obtain the object's bounding box. Calculate the length and width of the object's bounding box, and determine the aspect ratio of the object based on the length and width of the object's bounding box.
5. The method for detecting and classifying metallic foreign objects in a nonwoven fabric production line according to claim 1, characterized in that, The object's category is determined based on the relationship between its aspect ratio and a second preset threshold, specifically including: When the aspect ratio of the object is greater than the second set threshold, the object is determined to be a broken needle. When the aspect ratio of the object is less than or equal to the second set threshold, the object is determined to be a metallic foreign object other than a broken needle.
6. A metal foreign object detection and classification system for a nonwoven fabric production line, characterized in that, The system includes: a metal detector, an X-ray detector, and a computer; Both the metal detector and the X-ray detector are connected to the computer; The metal detector is used to collect magnetic field data in real time during the nonwoven fabric production process; The X-ray detector scans the marked area to obtain image data; the image data includes internal structural information of the marked area. The computer is used to obtain metal foreign object detection and classification results by employing the metal foreign object detection and classification method in the nonwoven fabric production line as described in any one of claims 1-5, based on the magnetic field data and the image data; the computer is also used to generate control signals for the metal detector and the X-ray detector to control the opening and closing of the metal detector and the X-ray detector; the computer is also used to generate processing signals based on the metal foreign object detection and classification results; the processing signals include warning signals, shutdown signals, and cleaning signals.
7. The metal foreign object detection and classification system in a nonwoven fabric production line according to claim 6, characterized in that, The X-ray detector includes: a shielding box, a linear array detector, and an X-ray source; The linear array detector and the X-ray source are respectively located on both sides of the nonwoven fabric production line, and both the linear array detector and the X-ray source are placed in the shielding box.
8. The metal foreign object detection and classification system in a nonwoven fabric production line according to claim 7, characterized in that, The system further includes: an acquisition module; the acquisition module is connected to the computer and the linear array detector respectively.
Citation Information
Patent Citations
Needle detecting machine for cloth
CN106758108A
Mine robot belt foreign matter monitoring method based on image processing
CN116309402A
Device for inspecting foreign substance
JP2008268035A
Machine table detecting metal debris in clothes
TWM561799U
