Method, device and equipment for detecting wool clusters on surface of carbon fiber tow and medium
Through an automated detection system, image processing technology is used to monitor the hair masses on the surface of carbon fiber tows in real time, solving the problem of low manual monitoring efficiency, realizing the timely identification and processing of hair masses, optimizing production processes, and improving product quality.
Patent Information
- Application Number
- CN202411694605.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-14
AI Technical Summary
During the carbon fiber production process, broken carbon fiber wire causes wool balls to accumulate on the surface of the yarn, affecting production and product quality, and low manual monitoring efficiency.
A method of detecting hair mass on the surface of carbon fiber tow is adopted. By obtaining the image of carbon fiber tow, grayscale conversion and mean filtering are performed, areas that meet the threshold value are extracted, complementary collection is calculated, and communication domain analysis and width screening are performed to determine whether hair mass appears.
An automated detection system is realized to monitor the condition of hair masses on the surface of carbon fiber tows in real time, ensure timely identification and treatment of hair masses, optimize production processes, and improve product quality.
Smart Images

Figure CN119624906A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of carbon fiber production, and in particular to a method, device, equipment and medium for detecting hair balls on the surface of carbon fiber tows. Background Art
[0002] During the production process of carbon fiber, carbon fiber breakage may occur. Broken fibers will accumulate on the surface of the carbon fiber yarn to form fuzz, affecting the normal production of carbon fiber and the quality of the carbon fiber yarn.
[0003] When the hair balls on the surface of the yarn accumulate to a certain size, they need to be cleaned in time. Due to the high speed of yarn delivery in the carbon fiber production line, it is impossible to achieve 100% status monitoring by manual labor, and mistakes are prone to occur.
[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for detecting hair balls on the surface of a carbon fiber tow, thereby effectively solving the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is: a method for detecting hair balls on the surface of carbon fiber tows, comprising the following steps: Acquire an image of a carbon fiber tow and perform grayscale conversion to obtain a grayscale image; Performing mean filtering on the grayscale image to obtain a filtered image; Extracting areas that meet the threshold in the grayscale image and the filtered image respectively by using the grayscale value threshold, and calculating the complement of the two areas; Performing connected domain analysis on the complement set to obtain a region set; The width of each connected area in the area set is screened, and if it is greater than a set value, it is determined that a hairball occurs.
[0007] Furthermore, when the mean filtering is performed on the grayscale image, the window area size of the filter is set to 1*Height, where Height is the height of the grayscale image.
[0008] Furthermore, the gray value threshold is [1, 100].
[0009] Furthermore, the screening of the width of each connected region in the region set includes: Extracting the region in the grayscale image that meets the threshold value by using the grayscale value threshold value, recording it as Region1, and performing segmentation and connected domain processing; Calculate the average value of the widths of all regions in Region1, recorded as Meanwidth; Determine whether the width of each connected area in the area set is greater than 3*Meanwidth; If so, it is determined that a hairball has occurred.
[0010] Furthermore, before performing the connected domain analysis on the complement set, the complement set is firstly expanded and then eroded.
[0011] The present invention also includes a device for detecting hair balls on the surface of a carbon fiber tow, using the above method, the detection device comprising: An acquisition unit is used to acquire an image of the carbon fiber tow and perform grayscale conversion to obtain a grayscale image; A filtering unit, used for performing mean filtering on the grayscale image to obtain a filtered image; An extraction unit, used to extract the areas meeting the threshold in the grayscale image and the filtered image respectively according to the grayscale value threshold, and calculate the complement of the two areas; A connectivity unit, used for performing connectivity domain analysis on the complement set to obtain a region set; The detection unit is used to screen the width of each connected area in the area set, and if the width is greater than a set value, it is determined that a hairball appears.
[0012] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described above is implemented.
[0013] The present invention also includes a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.
[0014] The beneficial effects of the present invention are as follows: the present invention uses an automated detection system to monitor the condition of hair balls on the surface of carbon fiber tows in real time, ensuring that hair balls can be immediately identified and processed when they accumulate, and by collecting and analyzing detection data, helps identify the causes of hair balls in production, optimizes production processes, and improves product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 is a flow chart of the method of the present invention; Figure 2 is a schematic diagram of a grayscale image; Figure 3 is a schematic diagram of the filtered image; Figure 4 It is a schematic diagram of extracting regions from a grayscale image; Figure 5 It is a schematic diagram of extracting the area of the filtered image; Figure 6 It is a schematic diagram of the complement of two regions; Figure 7 is a schematic diagram of the regional collection; Figure 8 A schematic diagram for determining the presence of hairballs; Fig. 9 It is a structural schematic diagram of the device of the present invention; Fig.10 It is a schematic diagram of the structure of the computer device of the present invention. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0018] like Figure 1 As shown: A method for detecting hair balls on the surface of a carbon fiber tow comprises the following steps: Obtain an image of the carbon fiber tow and perform grayscale conversion to obtain a grayscale image. The grayscale image is as follows: Figure 2 As shown; Perform mean filtering on the grayscale image to obtain a filtered image. The filtered image is as follows: Figure 3 As shown; The grayscale value threshold is used to extract the areas that meet the threshold in the grayscale image and the filtered image. Figure 4 As shown, the area that meets the threshold is extracted from the filtered image. Figure 5 As shown, and the complement of the two regions is calculated. The complement of the two regions is calculated as Figure 6 As shown; Perform connected domain analysis on the complement set to obtain a region set. The obtained region set is as follows: Figure 7 As shown; The width of each connected area in the area set is screened. If it is greater than the set value, it is judged that a hairball appears. The image where the hairball appears is as follows Figure 8 shown.
[0019] Use a high-resolution industrial camera to obtain an image of the carbon fiber tow and perform grayscale conversion to obtain a grayscale image. Ensure that the exposure time and focal length of the camera are set reasonably to obtain a clear image, and perform mean filtering on the grayscale image to remove noise and smooth the image. You can consider adjusting the window size of the filter and dynamically adjust it according to different production environments to optimize the filtering effect. By setting the grayscale value threshold, extract the areas that meet the threshold in the grayscale image and the filtered image respectively, and calculate the complement of the two areas; perform connected domain analysis on the complement to obtain a region set; screen the width of each connected area in the region set, and if it is greater than the set value, it is judged that a hairball has appeared.
[0020] Through the automated detection system, the condition of hair balls on the surface of carbon fiber tows is monitored in real time to ensure that they can be immediately identified and processed when they accumulate. By collecting and analyzing the detection data, it helps to identify the cause of hair balls in production, optimize the production process and improve product quality.
[0021] In this embodiment, when mean filtering is performed on the grayscale image, the window area size of the filter is set to 1*Height, where Height is the height of the grayscale image.
[0022] Since the carbon fiber yarns in the image are vertical, the use of vertical mean filtering can effectively remove noise while maintaining important structures in the image. This window setting can better capture the longitudinal characteristics of the carbon fiber tows and avoid affecting the detection of hair balls due to lateral noise interference. Regardless of the specific height of the grayscale image, this setting can be used for filtering, which improves the versatility of the solution.
[0023] The gray value threshold is [1, 100].
[0024] By selecting this range, we can ensure that the detected area is mainly the characteristics of yarn or wool balls, reduce interference with other irrelevant areas, and optimize subsequent analysis. The clear threshold range simplifies the subsequent region extraction and complement calculation steps, making the overall algorithm structure clearer and more efficient.
[0025] As a preferred embodiment of the above, screening the width of each connected region in the region set includes: The grayscale image is extracted by using the grayscale value threshold, which is recorded as Region1, and the connected domain is segmented. Calculate the average width of all regions in Region1, recorded as Meanwidth; Determine whether the width of each connected area in the area set is greater than 3*Meanwidth; If so, it is determined that a hairball has occurred.
[0026] The grayscale value threshold is used to extract the region Region1 in the grayscale image that meets the threshold, and the average width of all regions in Region1 is calculated. Since most of the regions extracted from the grayscale image are yarn regions, and a small number of regions may have hair balls, the average width of all regions in Region1 is calculated, and this average is close to the average width of the yarn. Then, the judgment is made by using a 3-fold width threshold to ensure that only larger regions that are more likely to be hair balls are focused on, reducing false detections. This relative width judgment method enables the solution to adapt to carbon fiber tows of different batches and specifications, ensuring stable detection under different production conditions. This screening strategy ensures the flexibility and efficiency of the system by setting the relative width, thereby more effectively monitoring and managing hair ball problems in the carbon fiber production process.
[0027] Before the connected domain analysis is performed on the complement set, the complement set is firstly expanded and then eroded.
[0028] The dilation operation can fill small holes and cracks, enhance the connectivity of the region, and help better identify and analyze the hairball region. The subsequent erosion operation can effectively remove the noise that may be introduced after the dilation, ensure that the detection results are more accurate, and reduce false detections. Through these two morphological operations, the important features in the image can be improved, making the subsequent connected domain analysis more effective and highlighting the morphological characteristics of the hairball.
[0029] like Fig. 9 As shown, this embodiment also includes a carbon fiber tow surface hair ball detection device, using the above method, the detection device includes: An acquisition unit is used to acquire an image of the carbon fiber tow and perform grayscale conversion to obtain a grayscale image; A filtering unit, used for performing mean filtering on the grayscale image to obtain a filtered image; An extraction unit, used to extract the areas meeting the threshold in the grayscale image and the filtered image respectively through the grayscale value threshold, and calculate the complement of the two areas; Connected unit, used to perform connected domain analysis on the complement set to obtain a set of regions; The detection unit is used to screen the width of each connected area in the area set, and if it is greater than a set value, it is determined that a hairball appears.
[0030] The functions of each unit in the detection device cooperate with each other to improve the efficiency and accuracy of the overall detection, reduce manual intervention, reduce operating errors, improve the stability of the production line, and be able to promptly detect and deal with hair ball problems to ensure the continuity of carbon fiber production and product quality.
[0031] See also Fig.10A computer device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program executable by the processor 410, and when the computer program is executed by the processor 410, the above method is executed.
[0032] The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.
[0033] Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0034] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0035] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0036] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0037] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0038] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0039] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0040] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0041] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A method for detecting hair balls on the surface of carbon fiber tows, characterized in that: The steps include: Acquire an image of a carbon fiber tow and perform grayscale conversion to obtain a grayscale image; Performing mean filtering on the grayscale image to obtain a filtered image; Extracting areas that meet the threshold in the grayscale image and the filtered image respectively by using the grayscale value threshold, and calculating the complement of the two areas; Performing connected domain analysis on the complement set to obtain a region set; The width of each connected area in the area set is screened, and if it is greater than a set value, it is determined that a hairball occurs.
2. The method for detecting hair pellets on the surface of carbon fiber tows according to claim 1, characterized in that: When the grayscale image is subjected to mean filtering, the window area size of the filter is set to 1*Height, where Height is the height of the grayscale image.
3. The method for detecting hair pellets on the surface of carbon fiber tows according to claim 1, characterized in that: The gray value threshold is [1, 100].
4. The method for detecting hair pellets on the surface of carbon fiber tows according to claim 1, characterized in that: The screening of the width of each connected region in the region set includes: Extracting the region in the grayscale image that meets the threshold value by using the grayscale value threshold value, recording it as Region1, and performing segmentation and connected domain processing; Calculate the average value of the widths of all regions in Region1, recorded as Meanwidth; Determine whether the width of each connected area in the area set is greater than 3*Meanwidth; If so, it is determined that a hairball has occurred.
5. The method for detecting hair pellets on the surface of carbon fiber tows according to claim 1, characterized in that: Before performing the connected domain analysis on the complement set, the complement set is firstly expanded and then eroded.
6. A device for detecting hair balls on the surface of carbon fiber tows, characterized in that: Using the method according to any one of claims 1 to 5, the detection device comprises: An acquisition unit is used to acquire an image of the carbon fiber tow and perform grayscale conversion to obtain a grayscale image; A filtering unit, used for performing mean filtering on the grayscale image to obtain a filtered image; An extraction unit, used to extract the areas meeting the threshold in the grayscale image and the filtered image respectively according to the grayscale value threshold, and calculate the complement of the two areas; A connectivity unit, used for performing connectivity domain analysis on the complement set to obtain a region set; The detection unit is used to screen the width of each connected area in the area set, and if the width is greater than a set value, it is determined that a hairball appears.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.